1 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
3 * electric.el (electric-indent-post-self-insert-function):
4 Don't auto-indent for indent-to-left-margin, it's too often
7 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
9 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
10 spaces if the frame was resized, so that the full visible buffer
11 serves as canvas for strokes.
13 2011-01-16 Glenn Morris <rgm@gnu.org>
15 * info-xref.el (info-xref-docstrings): Replace cl function.
16 Also skip directories.
18 2011-01-16 Kevin Ryde <user42@zip.com.au>
20 * info-xref.el: Version 3.
21 (info-xref-check, info-xref-check-all): Move commentary details
22 into docstrings for better visibility.
23 Use compilation-mode for the results buffer.
24 (info-xref-output, info-xref-output-error, info-xref-with-output)
25 (info-xref-filename, info-xref-in-progress):
26 New internals for this.
27 (info-xref-check-list, info-xref-check-buffer)
28 (info-xref-check-all-custom): Use those.
29 (info-xref-output-buffer): Rename from info-xref-results-buffer.
30 (info-xref-output-heading): Rename from info-xref-filename-heading.
31 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
32 (info-xref-filename-heading): Move to output managing section.
33 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
34 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
35 (info-xref-subfile-p): Move to generic section with those two.
36 (info-xref-check-node): New function split from
37 info-xref-check-buffer, shared by info-xref-docstrings.
38 (info-xref-goto-node-p): Move to a checking section with that func.
39 (info-xref-unavail): New counter.
40 (info-xref-check-node): Use it.
41 (info-xref-with-output): Show count of unavailables at end of output.
42 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
43 symlinks. Exclude .texi files. Exclude Emacs backup files.
44 (info-xref-check-all-custom): Fix quietening viper-mode and
45 gnus-registry-install -- use setq not let so as not to unbind
48 2011-01-16 Juri Linkov <juri@jurta.org>
50 * isearch.el (isearch-abort): Don't quit if search has
51 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
53 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
55 * files.el (backup-buffer): Make last-resort backup file in
58 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
59 make it with permission 700.
61 2011-01-15 Kenichi Handa <handa@m17n.org>
63 * mail/rmailmm.el (rmail-mime-insert-header):
64 Set rmail-mime-coding-system to a cons whose car is the last coding
65 system used to decode the header.
66 (rmail-mime-find-header-encoding): New function.
67 (rmail-mime-insert-decoded-text):
68 Override rmail-mime-coding-system if it is a cons.
69 (rmail-show-mime): If only a header part was decoded, find the
70 coding system while ignoring mm-charset-override-alist.
72 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
74 * subr.el (event-start, event-end): Doc fix (Bug#7826).
76 2011-01-15 Kenichi Handa <handa@m17n.org>
78 * mail/rmailmm.el (rmail-mime-next-item)
79 (rmail-mime-previous-item): Delete them.
80 (rmail-mime-shown-mode): Recursively call for children.
81 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
83 (rmail-mime-raw-mode): Recursively call for children.
84 (rmail-mode-map): Change mapping of tab and backtab to
85 forward-button and backward-button respectively.
86 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
88 (rmail-mime-update-tagline): New function.
89 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
90 body display is changed.
91 (rmail-mime-toggle-button): Rename from rmail-mime-image.
92 (rmail-mime-image): Delete this button type.
93 (rmail-mime-toggle): New button type.
94 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
95 body display is changed. Change the save button label to "Save".
96 Don't process show/hide button here.
97 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
98 the body display is changed. Unconditionally call
99 rmail-mime-insert for children.
100 (rmail-mime-handle): Update `display' vector of the just inserted
102 (rmail-mime-process): If mail-header-parse-content-type returns
103 nil, use "text/plain" as the fallback type.
104 (rmail-mime-insert): For raw-mode, recursively call
105 rmail-mim-insert for children.
106 (rmail-mime): Handle the case that the current buffer is not rmail
107 buffer (e.g. in summary buffer).
109 2011-01-15 Kenichi Handa <handa@m17n.org>
111 * mail/rmailmm.el (rmail-mime-next-item)
112 (rmail-mime-previous-item): Skip the body of a non-multipart
113 entity if a tagline is shown.
115 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
117 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
118 (tmm-prompt): Simplify.
119 (tmm-add-prompt): Remove unused var `win'.
121 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
122 to minor mode which used nil accidentally to mean "turn off".
124 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
126 * net/tramp-sh.el (tramp-find-inline-compress)
127 (tramp-get-inline-coding): Quote command after pipe symbol for
128 local calls under W32. (Bug#6784)
130 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
132 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
133 only when running under W32.
135 2011-01-15 Eli Zaretskii <eliz@gnu.org>
137 * progmodes/grep.el (grep-compute-defaults): Quote the program
138 file name after the pipe symbol in Grep templates. (Bug#6784)
139 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
141 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
143 * buff-menu.el (Buffer-menu-buffer-list): New var.
144 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
145 restricted buffer list is not lost on revert (Bug#7749).
147 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
149 * net/ldap.el (ldap-search-internal): Discard stderr output.
151 2011-01-15 Eli Zaretskii <eliz@gnu.org>
153 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
155 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
157 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
159 2011-01-15 Kenichi Handa <handa@m17n.org>
161 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
162 part as a plain text.
163 (rmail-mime-process-multipart): Set the default content-type to
164 nil for unknown multipart subtypes (bug#7651).
166 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
168 * hexl.el (hexl-mode-old-*): Remove.
169 (hexl-mode--old-var-vals): New var to replace them.
170 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
171 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
172 Use them to set local vars (bug#7846).
173 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
174 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
175 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
177 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
178 (smerge-resolve--normalize-re): New var.
179 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
180 (smerge-resolve): Use them.
181 * newcomment.el (comment-only-p): New function.
182 (comment-or-uncomment-region): Use it.
184 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
186 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
187 table, get the value before switching to the output buffer. (Bug#7733)
189 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
191 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
193 2011-01-14 Kim F. Storm <storm@cua.dk>
195 * emulation/cua-base.el (cua--init-keymaps):
196 Remap exchange-point-and-mark in cua-global-keymap.
198 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
200 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
203 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
205 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
207 (easy-menu-create-menu, easy-menu-convert-item-1):
208 Use :label rather than nil for labels. Use `case'.
209 Add :enable as alias for :active.
210 (easy-menu-binding): Obey :label.
212 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
214 Use run-mode-hooks for major mode hooks (bug#513).
215 * textmodes/reftex-toc.el (reftex-toc-mode-map):
216 Rename from reftex-toc-map.
217 (reftex-toc-mode): Use define-derived-mode.
218 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
219 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
220 Rename from reftex-select-(label|bib)-map. Move init into declaration.
221 (reftex-select-label-mode, reftex-select-bib-mode):
222 Use define-derived-mode.
223 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
224 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
225 Move init into delcaration.
226 (reftex-index-mode, reftex-index-phrases-mode):
227 Use define-derived-mode.
228 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
229 speedbar-syntax-table. Move init into declaration.
230 (speedbar-mode-map): Rename from speedbar-key-map.
231 Move init into declaration.
232 (speedbar-file-key-map): Move init into declaration.
233 (speedbar-mode): Use define-derived-mode.
234 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
235 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
236 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
237 (chart-face-list): Move initialization into declaration.
238 (chart-mode): Use define-derived-mode.
239 * calculator.el (calculator-mode-map): Move init into declaration.
240 (calculator-mode): Use define-derived-mode.
242 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
243 work for nested comments.
245 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
246 (prolog-use-prolog-tokenizer-flag): Change default when
247 syntax-propertize can be used.
248 (prolog-syntax-propertize-function): New var.
249 (prolog-mode-variables): Move make-local-variable into `set'.
250 Don't make comment-column local since we don't set it.
251 Set comment-add (as it was in previous prolog.el). Use dolist.
252 Set syntax-propertize-function.
253 (prolog-mode, prolog-inferior-mode):
254 Call prolog(-inferior)-menu directly, not through the mode-hook.
255 (prolog-buffer-module, prolog-indent-level)
256 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
257 (prolog-comment-limits, prolog-goto-comment-column):
258 Use line-(end|beginning)-position.
259 (prolog-build-prolog-command): Tighten up regexp.
260 (prolog-consult-compile): Move make-local-variable into `set'.
261 (prolog-consult-compile-filter, prolog-goto-next-paren)
262 (prolog-help-on-predicate, prolog-clause-info)
263 (prolog-mark-predicate): Don't let+setq.
264 (prolog-indent-line): Use indent-line-to.
265 Only call prolog-goto-comment-column if necessary.
266 (prolog-indent-level): Use bobp.
267 (prolog-first-pos-on-line): Remove, not used any more.
268 (prolog-in-string-or-comment): Use syntax-ppss if available.
269 (prolog-help-on-predicate): Use read-string.
270 (prolog-goto-predicate-info): Simplify.
271 (prolog-read-predicate): Use `default' rather than `initial'.
272 (prolog-temporary-file): Use make-temp-file to close a security hole.
273 (prolog-toggle-sicstus-sd): New command.
274 (prolog-electric-underscore, prolog-variables-to-anonymous):
275 Use dynamic-scoping as it was meant.
276 (prolog-menu): Move menu definitions to top-level.
277 Use a toggle-button for Sicstus's source debugger.
278 Change "Code" to the more usual "Prolog", and hence change "Prolog"
280 (prolog-inferior-menu): Reuse prolog-menu's help menu.
281 Move other menu definition to top-level.
283 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
285 * doc-view.el (doc-view-open-text): Use meaningful text buffer
286 name. Keep original document's directory as default-directory
288 (doc-view-initiate-display): Fall back to normal mode when
289 doc-view-mode cannot be enabled, also when extracting the document
290 text into a separate buffer (bug#6446).
292 * simple.el (shell-command): Don't error out if shell command
293 buffer contains text with non-nil read-only property when erasing
296 2011-01-13 Kim F. Storm <storm@cua.dk>
298 * ido.el (ido-may-cache-directory): Move "too-big" check later.
299 (ido-next-match, ido-prev-match): Fix stray reordering of matching
300 items when cycling through the matches.
302 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
304 * dired-x.el (dired-omit-verbose): New defcustom that allows
305 disabling the omit messages.
306 (dired-omit-expunge): Use it.
308 2011-01-13 Christian Ohler <ohler@gnu.org>
310 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
312 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
314 * font-lock.el (font-lock-verbose): Default to nil.
316 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
318 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
319 (compose-mail): New arg RETURN-ACTION.
320 (compose-mail-other-window, compose-mail-other-frame): Likewise.
322 * mail/sendmail.el (mail-return-action): New var.
323 (mail-mode): Make it buffer-local.
324 (mail-bury): Obey it. Move special Rmail window handling to
326 (mail, mail-setup): New arg RETURN-ACTION.
327 (sendmail-user-agent-compose): Move from simple.el.
329 * mail/rmail.el (rmail-mail-return): New function.
330 (rmail-start-mail): Pass it to compose-mail.
332 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
334 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
335 menus. Add menu item for customize-themes.
337 * cus-theme.el (customize-themes):
338 * emacs-lisp/package.el (package--list-packages):
339 Use switch-to-buffer.
341 2011-01-11 Johan Bockgård <bojohan@gnu.org>
343 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
345 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
347 * progmodes/prolog.el: Fix up coding convention and such.
348 (prolog-indent-width): Use the same default as in
349 previous prolog.el rather than tab-width which depends on which buffer
350 is current when the file is loaded.
351 (prolog-electric-newline-flag): Only enable if electric-indent-mode
353 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
354 (prolog-known-systems): Remove.
355 (prolog-mode-syntax-table, prolog-inferior-mode-map):
356 Move initialization into declaration.
357 (prolog-mode-map): Move initialization into declaration.
358 Remove system-specific mode-map vars, since they referred to the same
360 (prolog-mode-variables): Obey the user's preference w.r.t
361 adaptive-fill-mode. Prefer symbol-value to `eval'.
362 (prolog-mode-keybindings-edit): Add compatibility bindings.
363 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
364 (mercury-mode-map): New var.
365 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
366 (prolog-ensure-process, prolog-process-insert-string)
367 (prolog-consult-compile): Use with-current-buffer.
368 (prolog-guess-fill-prefix): Simplify data flow.
369 (prolog-replace-in-string): New function to use instead of
371 (prolog-enable-sicstus-sd): Don't abuse `eval'.
372 (prolog-uncomment-region): Use `uncomment-region' when available.
373 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
374 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
375 of int-to-char and char-to-int.
376 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
378 2011-01-11 Stefan Bruda <stefan@bruda.ca>
380 * progmodes/prolog.el: Replace by a whole new file.
382 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
384 * subr.el (eval-after-load): Fix timing for features (bug#7769).
385 (declare-function, undefined, insert-for-yank)
386 (replace-regexp-in-string): Follow checkdoc's recommendations.
388 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
390 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
391 refreshing the diary buffer.
393 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
395 * allout.el: Add 2011 to the file copyright.
396 (allout-encrypt-string): Prevent encryption from adding an extra
397 newline at the end of the topic body.
398 (allout-version): Increment to 2.3.
400 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
402 * net/dbus.el (dbus-unregister-service): Complete doc.
403 Fix call of dbus-error signal.
404 (dbus-register-property): Use `dont-register' keyword.
406 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
408 * net/dbus.el (dbus-unregister-service): Translate returned
409 integer into a symbol.
410 (dbus-register-property): Use `dbus-register-service' to do the
413 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
415 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
416 Suggested by Joakim Verona.
418 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
420 * wid-edit.el (visibility): Replace :on-image and :off-image
421 widget properties with :on-glyph and :off-glyph, for consistency
422 with the `visibility' widget.
423 (widget-toggle-value-create, widget-visibility-value-create):
424 Merge into a single function `widget-toggle-value-create'.
426 * cus-edit.el (custom-variable-value-create, custom-visibility)
427 (custom-face-edit-value-create, custom-face-value-create):
428 Replace :on-image and :off-image widget properties with :on-glyph and
429 :off-glyph, for consistency with the `visibility' widget.
431 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
433 * net/ldap.el (ldap-search-internal): Don't use eval.
435 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
437 * subr.el (read-char-choice): Use read-key.
439 * custom.el (custom-safe-themes): Rename from
440 custom-safe-theme-files. Add :risky tag.
441 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
442 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
444 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
446 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
447 from Search and add a label to Undo.
449 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
450 inappropriate buttons and adding :vert-only tags.
452 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
453 removal of Help tool-bar button. Remove Undo button for space.
455 * info.el (info-tool-bar-map): Add :vert-only tags.
457 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
459 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
460 image backend support. Either of them is fine.
462 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
464 * subr.el (y-or-n-p): Doc fix.
466 * custom.el (custom-safe-theme-files): New defcustom.
467 (custom-theme-load-confirm): New function.
468 (load-theme): Load theme using `load', confirming with
469 custom-theme-load-confirm if necessary.
471 * subr.el (read-char-choice): New function, factored out from
472 dired-query and hack-local-variables-confirm.
474 * dired-aux.el (dired-query):
475 * files.el (hack-local-variables-confirm): Use it.
477 * dired-aux.el (dired-compress-file):
478 * files.el (abort-if-file-too-large, find-alternate-file)
479 (set-visited-file-name, write-file, backup-buffer)
480 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
481 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
482 Use new format string args for y-or-n-p and yes-or-no-p.
484 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
486 * progmodes/compile.el (compilation-error-regexp-alist-alist)
487 [gcc-include]: Tighten file name match, add match for column
489 [gnu]: Remove unused group.
491 2011-01-08 Glenn Morris <rgm@gnu.org>
493 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
495 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
497 2011-01-07 Sam Steingold <sds@gnu.org>
499 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
500 the `explicit-shell-file-name' because that is the
501 non-interactive shell.
503 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
505 * subr.el (y-or-n-p): Accept format string args.
507 2011-01-07 Glenn Morris <rgm@gnu.org>
509 * Makefile.in (EMACSOPT): Add --no-site-lisp.
511 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
513 * allout.el (allout-back-to-current-heading): Ensure return to
514 the visible containing topic, rather than a collapsed one.
515 (allout-view-change-hook): Remove hook that was deprecated long ago.
516 (allout-exposure-change-hook): Remove documentation remarks
517 concerning removed allout-view-change-hook.
518 (allout-flag-region): Remove invocation of and documentation
519 remarks concerning allout-view-change-hook.
521 2011-01-06 Glenn Morris <rgm@gnu.org>
523 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
524 (vc-bzr-annotate-extract-revision-at-line):
525 Handle authors with embedded spaces. (Bug#7792)
527 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
529 * doc-view.el (doc-view-image-width): New variable.
530 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
531 backend for PNG images, and do dynamic rescaling instead of
532 reconverting the whole doc.
534 2011-01-05 Glenn Morris <rgm@gnu.org>
536 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
538 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
540 * allout.el: Reconcile with changes in line movement behavior for
541 long text lines that cross more than a single physical window
542 line, ie when truncate-lines is nil.
543 (allout-next-visible-heading): Provide for change in line-move
544 behavior on long lines when truncate-lines is nil. In that case,
545 line-move can wind up on the same textual line when it moves to
546 the next window line, and moving to the bullet position after the
547 move yields zero advancement. Add logic to detect and compensate
548 for the lack of progress.
549 (allout-current-topic-collapsed-p): move-end-of-line respect for
550 field boundaries is different when operating with body lines
551 shorter than window width versus ones greater than window width,
552 which can yield false negatives in this function. Avoid
553 difference by applying move-end-of-line while field-text-motion is
556 2011-01-04 Glenn Morris <rgm@gnu.org>
558 * textmodes/rst.el (rst-compile-toolsets):
559 Add pdf and s5 to option alist.
561 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
563 * net/dbus.el (dbus-register-property): Add optional parameter
564 dont-register-service. Updated docstring accordingly.
566 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
568 * textmodes/rst.el (rst-compile-pdf-preview)
569 (rst-compile-slides-preview): Remove extra line.
571 2011-01-04 Glenn Morris <rgm@gnu.org>
573 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
574 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
575 default to `prog' without a .py extension.
576 (rst-compile-pdf-preview, rst-compile-slides-preview):
577 Use program names from rst-compile-toolsets, rather than hard-coding.
578 (rst-portable-mark-active-p): Fix presumed typo.
580 2011-01-02 Eli Zaretskii <eliz@gnu.org>
582 * term/w32-win.el (dynamic-library-alist): Set up correctly for
583 libpng versions both before and after 1.4.0. (Bug#7716)
585 2011-01-02 Eli Zaretskii <eliz@gnu.org>
587 * time.el (display-time-mode): Mention display-time-interval in
588 the doc string. (Bug#7713)
590 2011-01-02 Kenichi Handa <handa@m17n.org>
592 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
593 condition-case and return an error message string if something
595 (rmail-show-mime): Adjust for the above change. Insert the
596 header by rmail-mime-insert-header.
598 2011-01-02 Kenichi Handa <handa@m17n.org>
600 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
601 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
602 (rmail-mime-mbox-buffer)
603 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
604 (rmail-mime-entity): Argument changed. All codes handling an
605 entity object are changed.
606 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
608 (rmail-mime-entity-children, rmail-mime-entity-handler)
609 (rmail-mime-entity-tagline): New functions.
610 (rmail-mime-message-p): New function.
611 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
612 (rmail-mime-entity-segment, rmail-mime-next-item)
613 (rmail-mime-previous-item, rmail-mime-shown-mode)
614 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
615 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
616 (rmail-mime-insert-tagline, rmail-mime-insert-header):
618 (rmail-mime-text-handler): Call rmail-mime-insert-text.
619 (rmail-mime-insert-decoded-text): New function.
620 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
621 (rmail-mime-insert-image): Argument changed. Caller changed.
622 (rmail-mime-image): Call rmail-mime-toggle-hidden.
623 (rmail-mime-set-bulk-data): New funciton.
624 (rmail-mime-insert-bulk): Argument changed.
625 (rmail-mime-multipart-handler): Return t.
626 (rmail-mime-process-multipart): Argument changed.
627 Handle "multipart/alternative" here.
628 (rmail-mime-process): Argument changed.
629 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
630 (rmail-mime-insert): Argument changed. Handle raw display mode.
631 (rmail-mime): Argument changed. Handle toggling of raw display
633 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
634 rmail-mime-view-buffer.
635 (rmail-insert-mime-forwarded-message): Likewise.
636 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
638 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
639 non-nil, handle the header in rmail-show-mime-function.
641 2011-01-02 Leo <sdl.web@gmail.com>
643 * help-fns.el (describe-variable): Fix previous change.
645 2011-01-02 Juri Linkov <juri@jurta.org>
647 * isearch.el (isearch-lazy-highlight-error): New variable.
648 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
649 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
650 to the current value of `isearch-error' (Bug#7468).
652 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
654 * help-fns.el (describe-variable): Don't emit trailing whitespace
657 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
659 * textmodes/rst.el (rst-compile-pdf-preview)
660 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
662 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
664 * emulation/edt-mapper.el: Override mapping of function keys so
665 that the later call to read-key-sequence works.
667 2011-01-02 Eli Zaretskii <eliz@gnu.org>
669 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
670 Unix EOLs. (Bug#7589)
672 2011-01-02 Leo <sdl.web@gmail.com>
674 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
675 if point is not behind eshell-last-output-end (Bug#7585).
677 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
679 * files.el (file-local-variables-alist):
680 Make permanent-local (bug#7767).
682 2011-01-02 Glenn Morris <rgm@gnu.org>
684 * version.el (emacs-copyright): Set short copyright year to 2011.
686 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
688 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
689 an existing temp buffer. (Bug#7746)
691 2011-01-02 Glenn Morris <rgm@gnu.org>
693 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
694 multiple addresses. (Bug#7760)
696 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
698 * allout.el (allout-auto-fill): Do not infinitely recurse - use
699 do-auto-fill if everything points back to allout-auto-fill.
700 (allout-mode-deactivate-hook): Declare obsolete, in favor of
701 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
703 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
705 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
708 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
710 * doc-view.el (doc-view-set-doc-type): New function refactored
712 (doc-view-fallback-mode): New function.
713 (doc-view-mode): Use it.
714 (doc-view-mode-maybe): New function that checks if doc-view-mode
715 can be used and falls back to the next best mode otherwise.
717 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
718 DVI, OpenDocument, and MS Office files.
720 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
722 * emacs-lisp/rx.el (rx-syntax): Fix typo.
724 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
726 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
727 on a copy of auto-mode-alist, because that deletes with side
730 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
732 * doc-view.el (doc-view-mode, doc-view-toggle-display):
733 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
734 fallback instead of hard coding fundamental mode.
736 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
738 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
739 Office) files also for searching.
741 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
743 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
744 Office) files. Not yet enabled via auto-mode-list.
745 (doc-view-unoconv-program): New custom variable.
746 (doc-view-mode-p): Handle new odf document type.
747 (doc-view-odf->pdf): New conversion function.
748 (doc-view-convert-current-doc): Call it for odf files.
749 (doc-view-mode): Recognize newly supported file extensions.
751 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
753 * net/tramp.el (tramp-default-method-alist)
754 (tramp-default-user-alist)
755 (tramp-local-host-regexp, tramp-prefix-domain-format)
756 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
763 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
764 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
766 2010-12-29 Karl Fogel <kfogel@red-bean.com>
768 * saveplace.el (save-place-alist-to-file): Save list sorted and
769 pretty-printed, so that it is mergeable by line-based text merging,
770 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
772 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
774 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
775 (allout-mode): Argument "toggle" => "force".
776 Refine the docstring.
777 Remove special provisions for reactivation, besides the 'force'
779 Consolidate layout provisions coce directly into the activation
780 condition branch, now that we've removed those provisions.
781 (allout-unload-function): Explicitly activate the mode before
782 deactivating, if it's initially deactivated.
783 (allout-set-buffer-multibyte): Properly prevent byte-compiler
784 warnings for version of function used only where
785 set-buffer-multibyte is unavailable.
787 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
789 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
790 are handled by the menu-bar entries. As before, don't use
791 :visibile to avoid changing the tool-bar.
793 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
795 * net/secrets.el (secrets-delete-alias): New defun.
797 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
799 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
800 methods, otherwise ~/.ssh/config would be ignored.
802 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
804 * emacs-lisp/rx.el: Make it a superset of sregex.
805 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
806 of args, add `regex' alias.
807 (rx-info): Add arg to distinguish head and standalone forms.
808 (rx-check, rx-form): Pass the corresponding arg.
810 (rx-repeat): Make it work for any number of args.
811 (rx-syntax): Make it accept syntax chars as is.
812 * obsolete/sregex.el: Move from emacs-lisp/.
813 * emacs-lisp/re-builder.el: Remove sregex support.
814 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
816 2010-12-25 Eli Zaretskii <eliz@gnu.org>
818 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
819 PRIMARY first, then the clipboard. (Bug#7699)
821 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
823 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
826 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
828 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
829 .emacs.elc (Bug#7530).
831 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
832 image spec (Bug#7480).
834 2010-12-21 Daiki Ueno <ueno@unixuser.org>
836 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
837 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
840 2010-12-20 Leo <sdl.web@gmail.com>
842 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
843 always be performed (Bug#7680).
845 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
847 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
848 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
851 * color.el: Move from gnus/.
853 * vc/diff.el (diff-better-file-name): Function deleted.
854 abbreviating file names causes problems with shell-quote-argument.
855 (diff-no-select): Just use expand-file-name.
857 * tool-bar.el (tool-bar--image-expression): New function.
858 (tool-bar-local-item, tool-bar--image-exp): Use it.
859 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
860 Use :enable instead of :visible to avoid changing the tool-bar
861 configuration unnecessarily.
863 * info.el (info-tool-bar-map): Add separators.
865 2010-12-17 Ken Brown <kbrown@cornell.edu>
867 * loadup.el: Use version numbers in Cygwin build.
869 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
871 * ido.el (ido-file-internal): Ask for confirmation before
872 overwriting an existing file (Bug#1238).
874 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
876 * tool-bar.el (tool-bar-setup): Add separators.
878 * menu-bar.el (featurep): Use menu-bar-separator.
880 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
882 Migrate allout encryption provisions from pgg to epg.
884 * allout.el (allout-toggle-current-subtree-encryption)
885 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
886 defaulting policy and other changes. Change fetch-pass to keymode-cue,
887 for simpler universal argument interpretation.
888 (allout-toggle-subtree-encryption): Adjust docstring to describe
889 changed encryption provisions. Change fetch-pass to keymode-cue, for
890 simpler universal argument interpretation. Remove provisions for
891 handling key type and identity - they'll all be within
892 allout-encrypt-string or epg/epg or even contained all the way in gpg.
893 (allout-encrypt-string): Include keymode-cue, for optionally prompting
894 for keypair recipients (universal argument > 1) and, in addition,
895 associating the specified recipients with the outline (universal
896 argument > 4) using a file local variable setting for
897 'epa-file-encrypt-to'.
898 Require epa, for recipients handling.
899 Change how regexp filtering elements are named.
900 Describe the problem with caching of incorrect symmetric-decryption
902 Use the epa-passphrase-callback-function, in case the user is using
904 Support saving of the selected keypair recipients when invoked with a
906 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
908 Establish epg-context with armoring and default epg-protocol.
909 Remove all passphrase cache, verification, and hinting code.
910 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
911 No longer used, delete.
912 (allout-mode): Adjust docstring to describe changed encryption
913 provisions. Describe the problem with caching of incorrect
914 symmetric-decryption keys.
915 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
916 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
917 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
918 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
921 2010-12-16 Daiki Ueno <ueno@unixuser.org>
923 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
924 key selection prompt; make 'silent as default (Bug#7487).
926 2010-12-16 Leo <sdl.web@gmail.com>
928 * eshell/eshell.el (eshell-directory-name):
929 Use locate-user-emacs-file (Bug#7578).
931 2010-12-15 Glenn Morris <rgm@gnu.org>
933 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
935 2010-12-15 Jari Aalto <jari.aalto@cante.net>
936 Scott Evans <gse@antisleep.com>
938 * rect.el (rectange--default-line-number-format)
939 (rectangle-number-line-callback): New functions.
940 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
942 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
944 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
945 Delete unused variables.
946 (move-to-column-force): Remove function obsolete since 21.2.
948 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
950 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
951 (tramp-handle-insert-file-contents): Do not set permanent-local
954 * net/tramp-cache.el (tramp-persistency-file-name):
955 Use `locate-user-emacs-file' if fboundp.
957 * net/tramp-sh.el (tramp-methods): Add "ksu".
958 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
961 2010-12-14 Glenn Morris <rgm@gnu.org>
963 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
964 (find-tag-marker-ring): Declare.
965 (js-find-symbol): Require etags.
967 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
969 (mail-alias-file): Don't autoload. Doc fix.
970 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
971 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
972 Mark as obsolete, and risky.
973 (mail-setup): Simplify.
975 * mail/mailalias.el (build-mail-aliases): Make it interactive.
976 * mail/sendmail.el (build-mail-aliases): Update autoload.
978 * dired.el (dired-trivial-filenames, dired-chown-program)
979 (dired-auto-revert-buffer): Remove autoload cookies.
980 * mail/sendmail.el (mail-recover-1): Require 'dired.
982 * dired.el (dired-subdir-switches, dired-chown-program)
983 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
984 Make into defcustoms.
985 (dired-chown-program): Simplify initialization.
987 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
989 2010-12-13 Romain Francoise <romain@orebokech.com>
991 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
993 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
995 * net/netrc.el (netrc-point-at-eol): Remove the unused
996 netrc-point-at-old and netrc-bound-and-true-p bindings.
997 (netrc-parse): Cache the netrc contents.
999 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1001 * subr.el (posn-col-row): Evaluate header-line-format in the
1002 context of the POSITION window's buffer.
1004 2010-12-13 Glenn Morris <rgm@gnu.org>
1006 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1007 (with-silent-modifications): Doc fixes.
1009 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1011 * net/tramp.el (tramp-action-password, tramp-process-actions):
1012 Revert previous from. Use `save-restriction'.
1014 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1016 * calendar/diary-lib.el (diary-list-sexp-entries):
1017 Handle case of no newline at end of file. (Bug#7536)
1019 2010-12-13 Glenn Morris <rgm@gnu.org>
1021 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1023 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1025 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1026 (tramp-process-actions): Do not widen.
1028 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1029 Protect buffer-modified value. (Bug#7557)
1031 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1033 * log-edit.el (log-edit-changelog-entries):
1034 Regexp quote filename. (Bug#7505)
1036 2010-12-13 Tom Breton <tehom@panix.com>
1038 * cus-edit.el (custom-save-all):
1039 Bind print-length and print-level to nil. (Bug#7581)
1041 2010-12-13 Glenn Morris <rgm@gnu.org>
1043 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1044 Run hooks to update menu contents. (Bug#7586)
1046 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1047 file names, for the sake of MS Windows. (Bug#7588)
1049 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1051 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1052 empty lines without a leading space.
1054 2010-12-13 Leo <sdl.web@gmail.com>
1056 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1057 while mapping over marks (Bug#6810).
1059 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1061 * image-dired.el (image-dired-db-file)
1062 (image-dired-temp-image-file, image-dired-gallery-dir)
1063 (image-dired-temp-rotate-image-file): Set default values relative
1064 to image-dired-dir (Bug#7518).
1066 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1068 * format.el (format-decode-run-method): Pass args FROM and TO, not
1069 point-min and point-max, to shell-command-on-region (Bug#7488).
1071 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1073 * frame.el (blink-cursor-mode): Make default t for ns.
1075 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1077 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1079 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1081 * comint.el (comint-dynamic-list-input-ring)
1082 (comint-dynamic-complete-filename)
1083 (comint-replace-by-expanded-filename)
1084 (comint-dynamic-simple-complete)
1085 (comint-dynamic-list-filename-completions)
1086 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1088 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1091 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1093 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1096 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1098 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1101 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1103 * files.el (file-relative-name): Handle UNC file names on
1104 DOS/Windows. (Bug#4674)
1106 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1108 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1109 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1110 (epg-context-set-passphrase-callback): Mention that the callback
1111 is not called when used with GnuPG 2.x.
1113 2010-12-13 Glenn Morris <rgm@gnu.org>
1115 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1116 Ensure ps-footer-font-size-internal is initialized.
1117 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1119 2010-12-13 Kenichi Handa <handa@m17n.org>
1121 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1122 within condition-case.
1123 (rmail-show-mime): Don't use condition-case.
1124 (rmail-search-mime-message): New function.
1125 (rmail-search-mime-message-function): Set to
1126 rmail-search-mime-message.
1128 2010-12-13 Leo <sdl.web@gmail.com>
1130 * ido.el (ido-common-initialization): New function. (bug#3274)
1132 (ido-completing-read): Call it.
1134 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1136 * bookmark.el (bookmark-name-from-full-record): Rename back to
1137 this original name from `bookmark-name-from-record' reverting part
1138 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1139 As Drew Adams pointed out, there was no reason to cause churn for
1140 third-party callers.
1142 2010-12-12 Alan Mackenzie <acm@muc.de>
1144 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1145 template arglist, check that the current language supports this.
1147 2010-12-11 Glenn Morris <rgm@gnu.org>
1149 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1150 state of the file matches. (Bug#7544)
1151 (vc-bzr-register, vc-bzr-checkin)
1152 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1153 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1155 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1157 2010-12-11 Karel Klíč <kklic@redhat.com>
1159 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1161 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1163 Derive from prog-mode, use derived-mode-p, and fix up various
1164 minor style issues in lisp/progmodes.
1166 * progmodes/vhdl-mode.el (vhdl-mode):
1167 * progmodes/verilog-mode.el (verilog-mode):
1168 * progmodes/vera-mode.el (vera-mode):
1169 * progmodes/sql.el (sql-mode):
1170 * progmodes/scheme.el (scheme-mode):
1171 * progmodes/perl-mode.el (perl-mode):
1172 * progmodes/octave-inf.el (inferior-octave-mode):
1173 * progmodes/autoconf.el (autoconf-mode):
1174 * progmodes/m4-mode.el (m4-mode):
1175 * progmodes/inf-lisp.el (inferior-lisp-mode):
1176 * progmodes/idlwave.el (idlwave-mode):
1177 * progmodes/icon.el (icon-mode):
1178 * progmodes/idlw-help.el (idlwave-help-mode):
1179 * progmodes/dcl-mode.el (dcl-mode):
1180 * progmodes/idlw-shell.el (idlwave-shell-mode):
1181 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1182 (ebrowse-member-mode, ebrowse-electric-position-mode):
1183 Use define-derived-mode.
1185 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1186 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1187 (xscheme-debugger-mode-p, xscheme-send-string-1):
1188 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1189 (tcl-load-file, tcl-restart-with-file):
1190 * progmodes/ps-mode.el (ps-run-running):
1191 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1192 * progmodes/js.el (js--get-all-known-symbols):
1193 * progmodes/inf-lisp.el (inferior-lisp-proc):
1194 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1195 (idlwave-template, idlwave-update-buffer-routine-info)
1196 (idlwave-update-current-buffer-info)
1197 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1198 (idlwave-scan-class-info, idlwave-fix-keywords)
1199 (idlwave-list-buffer-load-path-shadows):
1200 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1201 (idlwave-toolbar-remove):
1202 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1203 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1204 (idlwave-shell-menu-def):
1205 * progmodes/idlw-complete-structtag.el
1206 (idlwave-prepare-structure-tag-completion):
1207 * progmodes/gud.el (gud-set-buffer):
1208 * progmodes/f90.el (f90-backslash-not-special):
1209 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1211 * progmodes/xscheme.el (xscheme-start)
1212 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1213 * progmodes/which-func.el (which-function):
1214 * progmodes/vhdl-mode.el (vhdl-set-style):
1215 * progmodes/verilog-mode.el (verilog-set-compile-command)
1216 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1217 (verilog-set-define, verilog-auto-reeval-locals):
1218 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1219 * progmodes/simula.el (simula-mode):
1220 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1221 * progmodes/python.el (python-check, python-mode):
1222 * progmodes/prolog.el (prolog-mode-variables):
1223 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1224 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1225 * progmodes/delphi.el (delphi-mode):
1226 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1227 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1228 (c-font-lock-init): Move make-local-variable to their setq.
1230 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1231 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1233 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1234 (sh-set-shell): Don't set require-final-newline since it's already done
1236 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1237 since we never set it.
1238 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1239 Use read-string and standard prompt.
1240 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1241 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1242 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1243 (meta-common-mode-map): Rename from meta-mode-map.
1244 Remove C-m binding, which is a user preference, not mode specific.
1245 (meta-common-mode): New major mode; replace meta-common-initialization.
1246 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1247 around with font-lock.
1248 * progmodes/etags.el (select-tags-table-mode):
1249 Derive from special-mode.
1250 * progmodes/octave-mod.el (octave-mode):
1251 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1252 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1253 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1254 Let define-derived-mode do its job.
1255 * progmodes/cpp.el (cpp-edit-mode-map):
1256 Move initialization into declaration.
1257 (cpp-edit-mode): Use define-derived-mode.
1258 (cpp-edit-load): Use derived-mode-p.
1259 * progmodes/mixal-mode.el (mixal-mode):
1260 * progmodes/f90.el (f90-mode):
1261 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1262 require-final-newline since prog-mode does it already.
1263 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1264 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1265 * progmodes/antlr-mode.el: Require cc-mode upfront.
1266 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1268 (antlr-directory-dependencies, antlr-show-makefile-rules):
1270 (antlr-language-option): Don't assume point-min==1.
1271 (antlr-mode): Use define-derived-mode.
1272 * progmodes/ada-mode.el: Use derived-mode-p.
1273 (ada-mode): Use define-derived-mode.
1274 Use hack-local-variables-hook.
1276 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1278 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1279 (texinfo-mode): Don't disable adaptive-fill-mode.
1280 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1281 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1282 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1283 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1284 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1285 (texinfo-insert-@quotation, texinfo-insert-@samp)
1286 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1287 (texinfo-insert-@uref): Use define-skeleton.
1288 (texinfo-insert-@-with-arg): Delete.
1290 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1292 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1293 nil, do quote archive member names. (Bug#6144)
1295 2010-12-10 Glenn Morris <rgm@gnu.org>
1297 * files.el (diff-no-select): Declare.
1299 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1300 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1302 * comint.el (comint-input-ring-file-name): Doc fix.
1304 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1306 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1308 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1309 Use them instead of `nil' and `>', respectively.
1310 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1312 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1313 and menu-bar-positive-p instead of `nil' and `>', respectively.
1316 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1318 * whitespace.el (whitespace-newline-mode): Code fix.
1320 2010-12-09 Glenn Morris <rgm@gnu.org>
1322 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1323 Rename functions without commas, update callers.
1325 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1327 * whitespace.el (whitespace-cleanup-region):
1328 Clean up spaces before tabs. (Bug#7582)
1330 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1332 * bookmark.el: Adjust parameter names and doc strings to resolve
1333 confusion over whether "bookmark" meant a bookmark name or a
1334 bookmark record. Along the way, shorten one function's name for
1335 similar reasons. (Issue #7548)
1336 (bookmark-name-from-record): New name for
1337 `bookmark-name-from-full-record'. All callers changed.
1338 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1339 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1340 (bookmark-get-annotation, bookmark-set-annotation)
1341 (bookmark-get-filename, bookmark-set-filename)
1342 (bookmark-get-position, bookmark-set-position)
1343 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1344 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1345 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1346 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1347 Rename `bookmark' parameter to `bookmark-name-or-record', to
1348 clearly show its role, and shorten or adjust doc strings accordingly.
1349 (bookmark-set-name): Same, and pass the parameter directly to
1350 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1351 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1352 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1353 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1354 and in some cases shorten doc string accordingly.
1355 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1356 and `new-name', and adjust an internal variable to avoid confusion.
1357 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1358 parameter in doc string.
1360 2010-12-08 Glenn Morris <rgm@gnu.org>
1362 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1363 from gdb's history file. (Bug#7575)
1365 * mail/emacsbug.el (report-emacs-bug):
1366 Try to handle some other mail clients.
1368 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1370 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1371 Use string-prefix-p.
1372 (file-name-version-regexp): New var.
1373 (file-name-sans-versions):
1374 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1375 (jka-compr-get-compression-info): Use dolist.
1376 (jka-compr-compression-info-list): Don't bother specifying
1377 version/backup regexps.
1379 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1381 * simple.el (just-one-space): Make argument n default to 1 if
1384 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * electric.el (electric-indent-post-self-insert-function):
1387 Delete trailing newlines even if we don't reindent.
1389 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * minibuffer.el (completion-at-point): Remove the `arg'.
1392 * bindings.el (complete-symbol): Move back from minibuffer.el.
1394 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1396 * simple.el (just-one-space): Delete newlines for negative arg.
1398 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1401 (ansi-color-filter-apply): Simplify.
1402 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1404 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1406 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1408 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1410 * dired.el (dired-use-ls-dired): Set default to a special
1411 "unspecified" value.
1412 (dired-insert-directory): When called the first time, check
1413 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1415 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1417 * replace.el: Add "collect" feature to occur.
1418 (occur-collect-regexp-history): New var.
1419 (occur-read-primary-args): Return a replace string for nlines,
1421 (occur): Extend the meaning of nlines.
1423 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1426 (which-func-update-1): Distinguish symbols from strings.
1427 (which-function): Stay within 80 columns.
1429 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1433 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1435 (comment-style): Use comment-styles's docs to describe values.
1437 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1439 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1440 and ns-show-prefs (Bug#7535).
1442 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1443 bindings (Bug#7535).
1445 2010-12-03 Glenn Morris <rgm@gnu.org>
1447 * nxml/nxml-mode.el: Require rng-nxml.
1448 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1449 Remove declarations.
1451 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1452 * nxml/rng-nxml.el, nxml/rng-valid.el:
1453 Remove leading `*' from defcustom docs.
1455 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1456 (normal-top-level-add-to-load-path, tty-handle-args):
1457 Convert comments to basic doc-strings.
1459 * net/browse-url.el (browse-url-url-at-point)
1460 (browse-url-default-browser): Remove autoload cookies.
1462 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1463 Remove more undefined cl functions.
1465 * vc/diff.el (diff-sentinel): Make new arguments optional.
1466 * ibuf-ext.el (diff-sentinel): Update declaration.
1468 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1470 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1471 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1472 (epg-context-set-passphrase-callback): Mention that the callback
1473 is not called when used with GnuPG 2.x.
1475 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1477 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1478 (tramp-file-name-port): Check also for `tramp-default-port'.
1479 (tramp-get-connection-name): New defun.
1480 (tramp-get-connection-process): Use it.
1481 (tramp-debug-message): Extend function exclude list.
1482 (tramp-drop-volume-letter): Fix doc string.
1484 * net/tramp-cmds.el: Remove solved todo item.
1488 * net/tramp-gvfs.el:
1490 * net/tramp-imap.el:
1491 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1492 and `tramp-default-user-alist', respectively.
1494 * net/tramp-gw.el (tramp-gw-open-connection):
1495 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1497 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1498 `tramp-file-name-port'.
1500 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1501 and "psftp". Exchange "%k" marker with options.
1502 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1503 Compute size of link target.
1504 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1505 `tramp-current-*' up due to gateway methods. Optimze computing of
1506 copy arguments. Use `tramp-get-connection-name' and
1507 `tramp-get-connection-buffer'. Improve debug messages.
1508 (tramp-compute-multi-hops): Remove port determination.
1509 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1511 * net/trampver.el: Update release number.
1513 2010-12-02 Glenn Morris <rgm@gnu.org>
1515 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1516 Avoid infinite loop over windows. (Bug#7492)
1518 * progmodes/flymake.el (flymake-check-file-limit):
1519 Allow nil to mean "no limit".
1520 (flymake-check-patch-master-file-buffer): Update for above change.
1521 Allow a .tex file-name extension to be optional.
1522 (flymake-master-tex-init): Also match \include statements.
1524 2010-11-30 Sam Steingold <sds@gnu.org>
1526 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1527 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1528 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1529 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1530 define-derived-mode').
1531 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1532 users who want to call `nxml-parent-document-set'.
1534 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1536 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1537 stand-alone lines, since that is handled by log-edit-match-to-eoh
1540 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1542 * dired.el (dired-get-filename): Replace backslashes with slashes
1543 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1544 * locate.el (locate-default-make-command-line): Don't consider
1545 drive letter and root directory part of
1546 `directory-listing-before-filename-regexp'. (Bug#7308)
1547 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1549 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1552 of :smie-open/close-alist.
1553 (smie-next-sexp): Make it accept a "start token" as argument.
1554 (smie-indent-keyword): Be careful not to misidentify tokens that span
1555 more than one line, as empty lines. Add argument `token'.
1557 2010-11-27 Kenichi Handa <handa@m17n.org>
1559 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1560 multipart subtypes, insert all as usual.
1562 * mail/rmail.el: Require rfc2047.
1564 2010-11-27 Kenichi Handa <handa@m17n.org>
1566 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1567 (rmail-mime-entity-disposition)
1568 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1569 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1570 (rmail-mime-save): Handle the case that the button's `data' is a
1572 (rmail-mime-insert-text): New function.
1573 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1574 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1575 (rmail-mime-insert-bulk): New function mostly copied from the old
1576 rmail-mime-bulk-handler.
1577 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1578 (rmail-mime-process-multipart): New function mostly copied from
1579 the old rmail-mime-multipart-handler.
1580 (rmail-mime-show): Just call rmail-mime-process.
1581 (rmail-mime-process): New function mostly copied from the old
1583 (rmail-mime-insert-multipart, rmail-mime-parse)
1584 (rmail-mime-insert, rmail-show-mime)
1585 (rmail-insert-mime-forwarded-message)
1586 (rmail-insert-mime-resent-message): New functions.
1587 (rmail-insert-mime-forwarded-message-function): Set to
1588 rmail-insert-mime-forwarded-message.
1589 (rmail-insert-mime-resent-message-function): Set to
1590 rmail-insert-mime-resent-message.
1592 * mail/rmailsum.el: Require rfc2047.
1593 (rmail-header-summary): Handle multiline Subject: field.
1594 (rmail-summary-line-decoder): Change the default to
1595 rfc2047-decode-string.
1597 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1598 (rmail-mime-feature): Change the default to `rmailmm'.
1599 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1600 (rmail-display-labels): Likewise.
1601 (rmail-show-message-1): Check rmail-enable-mime, and use
1602 rmail-show-mime-function for a MIME message. Decode the headers
1603 according to RFC2047.
1605 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1607 * progmodes/which-func.el (which-func-imenu-joiner-function):
1608 Return a string, as expected.
1609 (which-function-mode): Make sure we stop any previous timer before
1612 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1614 * net/tramp.el (tramp-default-method-alist)
1615 (tramp-default-user-alist, tramp-default-proxies-alist):
1616 Adapt custom options type. (Bug#7445)
1618 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1620 * progmodes/python.el: Add Ipython support (Bug#5390).
1621 (python-shell-prompt-alist)
1622 (python-shell-continuation-prompt-alist): New options.
1623 (python--set-prompt-regexp): New function.
1624 (inferior-python-mode, run-python, python-shell):
1625 Require ansi-color. Use python--set-prompt-regexp to set the comint
1626 prompt based on the Python interpreter.
1627 (python--prompt-regexp): New var.
1628 (python-check-comint-prompt)
1629 (python-comint-output-filter-function): Use it.
1630 (run-python): Use a pipe (Bug#5694).
1632 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1634 * progmodes/python.el (run-python): Doc fix.
1635 (python-keep-current-directory-in-path): New var (Bug#7454).
1637 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1639 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1640 Prompt user before actually printing.
1642 2010-11-27 Glenn Morris <rgm@gnu.org>
1644 * startup.el (package-enable-at-startup, package-initialize):
1645 Remove unnecessary declarations.
1647 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1649 * international/characters.el (glyphless-char-display-control):
1650 Exclude newline and TAB from the c0-control group.
1652 2010-11-27 Glenn Morris <rgm@gnu.org>
1654 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1655 (expand-mail-aliases): Remove unnecessary autoload.
1657 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1659 * shell.el (shell-dir-cookie-re): Move definition before use.
1661 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1662 Replace undefined CL functions.
1664 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1666 * simple.el (prog-mode): Set bidi-paragraph-direction to
1669 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1671 2010-11-26 Glenn Morris <rgm@gnu.org>
1673 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1674 diary-outlook-formats can be sensitive to calendar-date-style.
1675 (diary-outlook-formats): Simplify the default setting.
1676 (diary-from-outlook-internal): Pass subject and body as arguments.
1677 Use dolist rather than dotimes. Don't save the diary buffer.
1678 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1679 Pass subject and body as explicit arguments to the -internal function.
1681 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1683 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1684 parsing them. This makes mailto:...?subject=foo\nbar work.
1686 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1688 * vc/diff.el (diff): Fix last change.
1690 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1692 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1693 (pcase--dontcare-upats): New var.
1694 (pcase-let, pcase-let*): Generate better code.
1695 Accept the same bodies as `let'.
1696 (pcase-dolist): New macro.
1697 (pcase--trivial-upat-p): New helper function.
1698 (pcase--expand): Strip leading "(let nil" if any.
1700 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1702 * mail/mailclient.el (browse-url): Require.
1703 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1704 use the external browser function to send the mail (bug#7469).
1706 * net/browse-url.el (browse-url-browser-function): Revert the
1707 default back to the previous value, since the new value broke
1709 (browse-url-mailto-function): New variable for mailto: URLs.
1710 (browse-url): Use the new variable for mailto: URLs.
1712 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1714 * eshell/esh-cmd.el (eshell-parse-command):
1715 * eshell/esh-arg.el (eshell-parse-arguments):
1716 * eshell/em-script.el (eshell-source-file):
1717 Use with-silent-modifications.
1719 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1721 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1722 for a merge location.
1724 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1725 (vc-bzr-merge-branch): Always prompt.
1726 (vc-bzr-async-command): Use the full branch filename.
1728 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * shell.el (shell): Use current-buffer by default if it's already
1731 a shell mode buffer and its process is dead.
1732 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1734 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1736 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1737 Mention that the keywords should be comma separated.
1739 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1741 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1742 Accept optional prefix arg meaning to prompt for a command.
1743 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1744 prefix arg meaning to prompt for a command.
1745 (vc-pull): Alias for vc-update.
1747 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1748 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1749 (vc-bzr-merge-branch): New functions, implementing merge-branch
1750 and pull operations.
1752 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1754 * Makefile.in: Fix up last merge.
1756 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1757 (diff-sentinel): Get them as arguments instead.
1758 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1759 (diff-file-local-copy, diff-better-file-name): New funs.
1760 (diff-no-select): Rename from diff-into-buffer.
1761 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1762 Prefer closures to buffer-local variables.
1763 (diff): Adjust accordingly.
1764 (diff-buffer-with-file): Move from files.el.
1765 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1766 (diff-buffer-internal): Remove.
1767 (diff-buffer-buffer): Remove.
1768 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1769 the buffer name used, and so as not to mess up windows and frames.
1771 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1773 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1774 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1775 (diff-buffer-with-file): Use it.
1776 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1779 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1781 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1782 \ref's or \pageref's value as default instead of initial input.
1784 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1786 * files.el (backup-by-copying-when-mismatch): The default value is
1789 * startup.el (normal-top-level):
1790 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1791 `backup-by-copying-when-mismatch'.
1793 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1795 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1797 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1799 * progmodes/python.el (python-font-lock-keywords):
1800 Highlight top-level augmented assignments (Bug#6445).
1802 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1804 * term/ns-win.el (ns-right-control-modifier)
1805 (ns-right-command-modifier): Defvar them.
1807 * cus-start.el (all): Add ns-right-control-modifier and
1808 ns-right-command-modifier (Bug#7458).
1810 2010-11-20 Glenn Morris <rgm@gnu.org>
1812 * emacs-lisp/authors.el (authors-ignored-files)
1813 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1815 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1817 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1818 (report-emacs-bug-parse-query-results)
1819 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1820 keywords used for querying the bug database to show them in the
1821 existing bugs buffer.
1823 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1825 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1827 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1829 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1831 * international/characters.el (glyphless-char-display-control):
1832 Make it a defcustom, with update-glyphless-char-display as its
1834 (top level): Don't call update-glyphless-char-display.
1836 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1838 Sync with Tramp 2.2.0.
1840 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1841 `file-remote-p' (due to compatibility).
1843 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1844 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1846 * net/trampver.el: Update release number.
1848 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1850 * faces.el (glyphless-char): Define value for `pc'.
1852 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1854 Implemented a bug querying mechanism.
1855 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1856 (report-emacs-bug-create-existing-bugs-buffer)
1857 (report-emacs-bug-parse-query-results)
1858 (report-emacs-bug-query-existing-bugs): New functions.
1860 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1862 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1863 a \ref{} or \pageref{} macro, then use its value as initial input.
1865 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1867 * calc/calc-units.el (math-build-units-table-buffer):
1868 calc/README: Mention that the TeX specific units won't use the
1869 `tex' prefix in TeX mode.
1870 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1871 prefix for units in TeX mode.
1873 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * simple.el (kill-new, kill-append, kill-region):
1876 * comint.el (comint-kill-region): Make the yank-handler argument
1879 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1882 that are both openers (resp. closers) and something else.
1883 (smie-grammar): Loosen definition of valid values.
1884 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1885 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1886 (smie-indent-after-keyword): Adjust users.
1887 (smie-indent-keyword): Don't indent empty lines.
1889 * vc-hg.el (vc-hg-program): New var.
1890 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1891 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1893 2010-11-18 Glenn Morris <rgm@gnu.org>
1895 * emacs-lisp/autoload.el (autoload-find-destination): The function
1896 coding-system-eol-type may return non-numeric values. (Bug#7414)
1898 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1900 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1902 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1904 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1906 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1908 * textmodes/picture.el (picture-mouse-set-point): Don't use
1909 posn-col-row; explicitly compute the motion based on the posn at
1910 the window-start (Bug#7390).
1912 2010-11-18 Glenn Morris <rgm@gnu.org>
1914 * novice.el (disabled-command-function):
1915 Fix 2009-11-15 change. (Bug#7384)
1917 2010-11-18 Glenn Morris <rgm@gnu.org>
1919 * calendar/calendar.el (diary-iso-date-forms): Make elements
1920 mutually exclusive. (Bug#7377)
1922 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1925 when filling the remaining "unconstrained" values.
1927 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1932 * files.el (safe-local-variable-p): Gracefully handle errors.
1934 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1935 Use smie-indent-virtual when indenting relative to an opener.
1936 (smie-rule-separator): Use smie-rule-parent.
1937 (smie-indent-keyword): Consult rules, even for openers at bol.
1938 (smie-indent-comment-close): Try to align closer's content.
1940 2010-11-18 Glenn Morris <rgm@gnu.org>
1942 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1944 2010-11-18 Glenn Morris <rgm@gnu.org>
1946 * printing.el (pr-menu-bind): Doc fix.
1948 * speedbar.el (speedbar-toggle-images): Doc fix.
1950 * progmodes/python.el (python-shell): Doc fix.
1952 * wid-edit.el (widget-field-use-before-change)
1953 (widget-use-overlay-change): Doc fixes.
1955 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1957 Minor cleanup to improve style.
1958 * textmodes/rst.el (rst-update-section): Use point-marker.
1959 (rst-get-decoration): Eliminate unneeded assignment.
1960 (rst-promote-region, rst-straighten-decorations)
1961 (rst-section-tree, rst-adjust): Use point-marker.
1962 (rst-toc-mode-mouse-goto): Avoid setq.
1963 (rst-shift-region-guts, rst-shift-region-left)
1964 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1965 (rst-convert-bullets-to-enumeration): Use copy-marker.
1967 * minibuffer.el (completion-fail-discreetly): New var.
1968 (completion--do-completion): Use it.
1970 * electric.el (electric-pair-pairs): New var.
1971 (electric-pair-post-self-insert-function): Use it.
1972 (electric-layout-post-self-insert-function): Don't insert a before
1973 newline unless it's actually needed.
1975 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * progmodes/python.el (run-python): Explain why we remove the current
1978 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1980 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1982 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1985 (octave-mode-map): Don't bind ;, SPC, and LF.
1986 (octave-auto-indent, octave-auto-newline): Remove.
1987 (electric-layout-rules): Declare.
1988 (octave-mode): Set electric-layout-rules.
1989 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1990 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1991 (octave-electric-space): Remove.
1993 * electric.el (electric-layout-mode): New minor mode.
1994 (electric--after-char-pos): New function.
1995 (electric-indent-post-self-insert-function): Use it.
1996 (electric-layout-rules): New var.
1997 (electric-layout-post-self-insert-function): New function.
1998 (electric-indent-mode): Make them interact better.
2000 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2003 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2004 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2006 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2008 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2009 Make sure to check inside the word (Bug#6761).
2011 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2013 * startup.el (command-line): If the cursorColor resource is set,
2014 change the cursor face-spec (Bug#7392).
2016 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2018 The main features of the following allout.el changes are:
2019 - implement user customization for the allout key bindings
2020 - add a customization control by which the user can inhibit use of
2021 a trailing Ctrl-H, so by default it's reserved for use with
2022 describe-prefix-bindings
2023 - adapt to new version of called-interactively-p, while
2024 maintaining backwards compatibility with old version
2025 - fix hotspot navigation so i works properly with meta-modified keys
2027 * allout.el (allout-keybindings, allout-bind-keys)
2028 (allout-keybindings-binding, allout-prefixed-keybindings)
2029 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2030 (allout-keybindings-list, allout-mode-map-adjustments)
2031 (allout-setup-mode-map): Establish allout-mode keymaps as user
2032 customizable settings, and also establish a customizable setting which
2033 regulates whether or not a trailing control-h is reserved for use with
2034 describe-prefix-bindings - and inhibit it by default, so that control-h
2035 *is* reserved for describe-prefix-bindings unless the user changes it.
2037 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2038 and accurately between modified and unmodified events, and handle
2039 modified events more comprehensively.
2041 * allout.el (allout-substring-no-properties):
2042 Alias to use or provide version of `substring-no-properties'.
2043 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2045 * allout.el (allout-next-single-char-property-change):
2046 Alias to use or provide version of `next-single-char-property-change'.
2047 (allout-annotate-hidden, allout-hide-by-annotation):
2048 Use `allout-next-single-char-property-change'.
2050 * allout.el (allout-select-safe-coding-system):
2051 Alias to use or provide version of `select-safe-coding-system'.
2052 (allout-toggle-subtree-encryption):
2053 Use `allout-select-safe-coding-system'.
2055 * allout.el (allout-set-buffer-multibyte):
2056 Alias to use or provide version of `set-buffer-multibyte'.
2057 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2059 * allout.el (allout-called-interactively-p): Macro for using the
2060 different versions of called-interactively-p identically, depending on
2061 the subroutine's argument signature.
2062 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2063 Use `(interactive "p")' instead of `(called-interactively-p)'.
2065 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2066 (allout-previous-visible-heading, allout-forward-current-level)
2067 (allout-backward-current-level, allout-show-children):
2068 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2070 * allout.el (allout-before-change-handler):
2071 Exempt edits to the (overlaid) character after the allout outline
2072 bullet from edit confirmation prompt.
2074 * allout.el (allout-add-resumptions):
2075 Ensure that it respects correct buffer for keybindings.
2077 * allout.el (allout-beginning-of-line):
2078 Use `allout-previous-single-char-property-change' alias for the sake of
2079 diverse compatibility.
2081 * allout.el (allout-end-of-line):
2082 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2084 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2086 * frame.el (frame-notice-user-settings): Don't clobber other
2087 user-set parameters when calling face-set-after-frame-default in
2088 response to background-color parameter (Bug#7373).
2090 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2092 * international/characters.el (glyphless-char-display-control):
2093 Rename from glyphless-char-control; all users changed. Doc fix.
2094 Signal an error if display method is not one of the recognized
2097 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2099 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2100 (tramp-compat-line-end-position): Remove them.
2102 * net/tramp.el (tramp-parse-rhosts-group)
2103 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2104 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2105 (tramp-parse-netrc-group, tramp-parse-putty-group)
2106 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2107 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2108 (tramp-sh-handle-file-selinux-context)
2109 (tramp-sh-handle-file-name-all-completions)
2110 (tramp-sh-handle-insert-directory)
2111 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2112 (tramp-wait-for-output, tramp-send-command-and-read)
2113 * net/tramp-smb.el (tramp-smb-read-file-entry)
2114 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2116 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2118 (tramp-remote-coding-commands): Add an alternative using "base64
2119 -d -i". This is needed for older base64 versions from GNU
2120 coreutils. Reported by Klaus Reichl
2121 <Klaus.Reichl@thalesgroup.com>.
2123 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2125 * simple.el (count-words-region): New function.
2127 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2129 * shell.el (shell-dir-cookie-re): New custom variable.
2130 (shell-dir-cookie-watcher): New function.
2132 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2133 and compilation-mode (bug#7350).
2135 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2136 highlight when one of them is empty.
2138 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2140 (skeleton-newline): New function.
2141 (skeleton-internal-1): Use it.
2143 * simple.el (open-line): `newline' may strip trailing space.
2145 2010-11-12 Kevin Ryde <user42@zip.com.au>
2147 * international/mule-cmds.el (princ-list): Use mapc.
2149 2010-11-12 Glenn Morris <rgm@gnu.org>
2151 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2152 Use it to replace all instances of "*Compile-Log*"
2154 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2159 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * progmodes/modula2.el: Use SMIE and skeleton.
2162 (m2-mode-syntax-table): (*..*) can be nested.
2163 Add //...\n. Fix paren syntax.
2164 (m2-mode-map): Remove LF and TAB bindings.
2165 (m2-indent): Add safety property.
2166 (m2-smie-grammar): New var.
2167 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2168 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2169 (m2-mode): Use define-derived-mode.
2170 (m2-newline, m2-tab): Remove.
2171 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2172 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2173 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2174 (m2-import): Use define-skeleton.
2176 2010-11-11 Glenn Morris <rgm@gnu.org>
2178 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2180 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2181 (ls-lisp-verbosity): Add custom :set-after property.
2182 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2183 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2184 (ls-lisp-insert-directory): Update caller.
2185 (ls-lisp-set-options): New function.
2186 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2189 * play/landmark.el (lm-prompt-for-move):
2190 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2192 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2194 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2195 (idlwave-study-twins): Prefix dynamic local variable `name'.
2196 (idlwave-routine-twin-compare): Update for above change.
2198 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2199 Prefix dynamic local variables `name', `kwd', and `link'.
2200 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2201 * progmodes/idlw-complete-structtag.el
2202 (idlwave-complete-structure-tag-help):
2203 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2204 (idlwave-complete-sysvar-tag-help)
2205 (idlwave-complete-class-structure-tag-help):
2206 Update for above name changes.
2208 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2210 * net/browse-url.el (browse-url-browser-function): Change the
2211 default to use `browse-url-mail' on mailto: URLs.
2213 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2215 * emacs-lisp/package.el (package-read-all-archive-contents):
2216 Reset package-archive-contents to nil before re-reading.
2218 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2220 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2221 already found as misspellings by (flyspell-large-region), just
2222 do highlighting (bug#7322).
2224 2010-11-10 Glenn Morris <rgm@gnu.org>
2226 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2228 * emulation/edt.el (edt-with-position): New macro.
2229 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2230 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2231 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2233 * emulation/tpu-extras.el (tpu-with-position): New macro.
2234 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2236 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2238 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2239 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2240 (texinfo-master-menu, texinfo-insert-node-lines)
2241 (texinfo-multiple-files-update):
2242 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2243 Use line-beginning-position.
2245 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2246 No recent Emacs supports system-type `emx'.
2248 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2249 (ada-command-separator, ada-default-prj-properties)
2250 (ada-find-any-references): Update for above name change.
2252 * dirtrack.el (dirtrack-directory-function)
2253 (dirtrack-canonicalize-function):
2254 * filecache.el (file-cache-completion-ignore-case)
2255 (file-cache-case-fold-search, file-cache-ignore-case):
2256 * term.el (serial-port-is-file-p): Cosmetic change.
2258 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2259 Remove non-existent `windows-95' system-type.
2260 * dired.el (dired-chown-program): Remove non-existent `linux'
2263 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2264 (ping-program-options): Remove non-existent `linux' system-type.
2266 * startup.el (package-initialize): Update declaration.
2268 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2269 (ls-lisp-handle-switches): Use time-less-p.
2270 (ls-lisp-format-time): Use float-time.
2272 * textmodes/remember.el (remember-time-to-seconds): Remove.
2273 (remember-store-in-mailbox): Use float-time.
2275 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2277 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2278 never a real function.
2279 (with-no-warnings): Remove compat stub, now unused.
2280 (time-less-p): Doc fix.
2281 (time-to-number-of-days): Simplify.
2283 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2285 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2286 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2287 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2288 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2289 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2291 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2292 (eshell-shuffle-files, eshell-shorthand-tar-command)
2293 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2294 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2295 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2296 Prefix dynamic local variable `matches'.
2298 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2299 Prefix dynamic local variable `skeleton'.
2301 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2303 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2304 in mail buffer; make yank-action always a command that yanks original
2307 2010-11-09 Glenn Morris <rgm@gnu.org>
2309 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2311 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2313 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2314 completion field (bug#7211).
2316 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2317 Fix handling of backslash escapes.
2318 (python-quote-syntax): Adjust accordingly.
2320 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2322 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2323 (vc-mtn-workfile-branch): Adjust to new output format.
2325 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2327 * international/mule-cmds.el (princ-list): Mark as obsolete.
2329 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2331 * emacs-lisp/smie.el: New package.
2333 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2335 * files.el (backup-by-copying-when-mismatch):
2336 Set `permanent-local' property.
2338 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2339 `permanent-local' property for `backup-by-copying-when-mismatch'.
2341 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2343 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2345 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2347 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2348 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2349 AUTOINOUT for SV style multidimensional arrays, bug294.
2350 Reported by Eric Mastromarchi.
2351 (verilog-preprocess): Use with-current-buffer and
2352 font-lock-fontify-buffer to cleanup style issues.
2354 2010-11-09 Glenn Morris <rgm@gnu.org>
2356 * locate.el (locate, locate-mode): Doc fixes.
2358 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2360 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2361 user for confirmation.
2362 (server-force-stop): Use it.
2363 (server-start): Use server-force-stop for kill-emacs-hook, to
2364 avoid user interaction while killing Emacs.
2366 2010-11-09 Glenn Morris <rgm@gnu.org>
2368 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2369 (meta-indent-line): Simplify.
2371 * vc/emerge.el (emerge-line-number-in-buf):
2372 * textmodes/ispell.el (ispell-region):
2373 * textmodes/fill.el (current-fill-column):
2374 * progmodes/xscheme.el (xscheme-send-current-line):
2375 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2376 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2377 * progmodes/sh-script.el (sh-handle-prev-do):
2378 * progmodes/meta-mode.el (meta-indent-line):
2379 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2381 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2382 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2383 * progmodes/fortran.el (fortran-looking-at-if-then):
2384 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2385 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2386 (cperl-find-pods-heres):
2387 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2388 * net/quickurl.el (quickurl-list-insert):
2389 * net/ldap.el (ldap-search-internal):
2390 * net/eudc.el (eudc-expand-inline):
2391 * mail/sendmail.el (sendmail-send-it):
2392 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2393 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2394 (viper-brac-function):
2395 * calc/calc-yank.el (calc-do-grab-region):
2396 * calc/calc-keypd.el (calc-keypad-press):
2397 * term.el (term-move-columns, term-insert-spaces):
2398 * speedbar.el (speedbar-highlight-one-tag-line):
2399 * simple.el (current-word):
2400 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2401 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2403 * hippie-exp.el (he-line-beg):
2404 * epa.el (epa--marked-keys):
2405 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2406 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2407 (dired-relist-entry):
2408 * buff-menu.el (Buffer-menu-buffer):
2409 * array.el (current-line):
2410 * allout.el (allout-resolve-xref)
2411 (allout-latex-verbatim-quote-curr-line):
2412 Replace yet more uses of end-of-line etc with line-end-position, etc.
2414 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2416 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2417 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2418 (checkdoc-syntax-table): Initialize in the declaration.
2419 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2420 the mode on unconditionally.
2422 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2423 (extent-end-position, extent-start-position): Remove setf method for
2424 non-existing functions (bug#7319).
2426 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2429 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2430 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2431 (smie-prec2->grammar): Rename from smie-prec2-levels.
2432 (smie-grammar): Rename from smie-op-levels.
2433 (smie-indent--hanging-p): Rename from smie-hanging-p.
2434 (smie-rule-hanging-p): New alias.
2435 (smie-indent--bolp): Rename from smie-bolp.
2436 (smie-indent--hanging-p): New alias.
2437 (smie--token): New dynamically bound variable.
2438 (smie-indent--parent): New function.
2439 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2440 (smie-rule-next-p): Rename from smie-next-p.
2441 (smie-rule-prev-p): Rename from smie-prev-p.
2442 (smie-rule-sibling-p, smie-rule-parent)
2443 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2444 (smie-rule-separator-outdent): New var.
2445 (smie-indent--rule): Merge with smie-indent--column.
2446 (smie-indent-forward-token, smie-indent-backward-token):
2447 Also recognize close parens.
2448 (smie-indent-keyword): Don't use smie-indent--column any more.
2449 (smie-indent-after-keyword): Ignore closers by default.
2450 (smie-indent-line): Use with-demoted-errors.
2451 * progmodes/octave-mod.el (octave-smie-grammar):
2452 Rename from octave-smie-op-levels.
2453 (octave-smie-rules): Adjust to new behavior.
2454 * progmodes/prolog.el (prolog-smie-grammar):
2455 Rename from prolog-smie-op-levels.
2457 2010-11-07 Glenn Morris <rgm@gnu.org>
2459 * eshell/esh-util.el (subst-char-in-string)
2460 (directory-files-and-attributes): These compatibility definitions are
2461 not needed on any version of Emacs since at least 21.4.
2463 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2464 (verilog-get-end-of-line): Remove.
2465 (verilog-within-string, verilog-re-search-forward-substr)
2466 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2467 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2468 Use point-at-bol, point-at-eol.
2469 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2471 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2472 (electric-pascal-terminate-line, pascal-set-auto-comments)
2473 (pascal-indent-paramlist, pascal-indent-declaration)
2474 (pascal-get-lineup-indent, pascal-func-completion)
2475 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2476 Use point-at-bol, point-at-eol.
2477 * progmodes/flymake.el (flymake-line-beginning-position)
2478 (flymake-line-end-position): Remove.
2479 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2480 * eshell/esh-util.el (line-end-position, line-beginning-position):
2481 Remove compat definitions.
2483 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2485 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2486 Use line-end-position.
2488 * emacs-lisp/chart.el (chart-zap-chars):
2489 * play/decipher.el (decipher-set-map):
2490 * progmodes/ada-mode.el (ada-get-current-indent)
2491 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2492 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2493 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2494 (ada-get-all-references):
2495 * progmodes/cperl-mode.el (cperl-electric-paren)
2496 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2497 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2498 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2499 (cperl-word-at-point-hard):
2500 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2501 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2502 (idlwave-shell-display-line):
2503 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2504 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2505 * progmodes/js.el (js--re-search-forward-inner)
2506 (js--re-search-backward-inner):
2507 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2508 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2509 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2510 * textmodes/flyspell.el (flyspell-process-localwords):
2511 * textmodes/ispell.el (ispell-buffer-local-parsing)
2512 (ispell-buffer-local-dict, ispell-buffer-local-words):
2513 Use point-at-bol and point-at-eol.
2515 * speedbar.el (speedbar-generic-item-info)
2516 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2517 (speedbar-add-indicator, speedbar-check-vc-this-line)
2518 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2519 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2520 Replace more uses of end-of-line etc with line-end-position.
2522 2010-11-06 Glenn Morris <rgm@gnu.org>
2524 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2525 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2526 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2527 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2528 (texinfo-multiple-files-update):
2529 * textmodes/table.el (table--probe-cell-left-up)
2530 (table--probe-cell-right-bottom):
2531 * textmodes/picture.el (picture-tab-search):
2532 * textmodes/page-ext.el (pages-copy-header-and-position)
2533 (pages-directory-for-addresses):
2534 * progmodes/vera-mode.el (vera-get-offset):
2535 * progmodes/simula.el (simula-calculate-indent):
2536 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2537 * progmodes/prolog.el (end-of-prolog-clause):
2538 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2539 * progmodes/icon.el (indent-icon-exp):
2540 * progmodes/etags.el (tag-re-match-p):
2541 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2542 * progmodes/ebnf2ps.el (ebnf-begin-file):
2543 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2544 (dcl-save-local-variable):
2545 * play/life.el (life-setup):
2546 * play/gametree.el (gametree-looking-at-ply):
2547 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2548 * mail/sendmail.el (mail-mode-auto-fill):
2549 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2550 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2551 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2552 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2553 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2554 * type-break.el (type-break-file-keystroke-count):
2555 * term.el (term-replace-by-expanded-history-before-point)
2556 (term-skip-prompt, term-extract-string):
2557 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2558 (speedbar-contract-line, speedbar-toggle-line-expansion)
2559 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2560 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2561 * sort.el (sort-skip-fields):
2562 * skeleton.el (skeleton-internal-list):
2563 * simple.el (line-move-finish, line-move-to-column):
2564 * shell.el (shell-forward-command):
2565 * misc.el (copy-from-above-command):
2566 * makesum.el (double-column):
2567 * ebuff-menu.el (electric-buffer-update-highlight):
2568 * dired.el (dired-move-to-end-of-filename):
2569 * dframe.el (dframe-popup-kludge):
2570 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2571 * arc-mode.el (archive-get-lineno):
2572 Use line-end-position and line-beginning-position.
2574 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2575 (idlwave-study-twins): Prefix dynamic local `class'.
2576 (idlwave-routine-twin-compare): Update for above name change.
2578 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2579 Use boundp tests to silence compiler. Update for changed name of
2580 bytecomp-filename variable.
2582 * emulation/viper-cmd.el (viper-read-string-with-history):
2583 Prefix dynamic local `initial'.
2584 (viper-minibuffer-standard-hook): Update for above name change.
2586 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2587 (elint-init-form): Update for above name change.
2589 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2590 local variables `cbeg' and `cend' a prefix.
2591 (mail-extr-voodoo): Update for above name change.
2593 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2594 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2595 (reftex-toc-promote-action): Doc fix.
2597 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2598 `prompt', `data' a prefix.
2599 (reftex-select-post-command-hook, reftex-select-callback)
2600 (reftex-select-mouse-accept, reftex-select-read-cite):
2601 Update for above name changes.
2603 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2604 `refstyle' to reftex-refstyle.
2605 (reftex-offer-label-menu): Update for above name change.
2606 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2607 `refstyle' name change.
2609 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2610 with with-current-buffer.
2611 (diff, template): Give dynamic local variables a prefix.
2612 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2613 (emerge-line-number-in-buf): Update for above name change.
2614 (emerge-combine-versions-internal): Rename local `template' to
2615 emerge-combine-template.
2616 (emerge-combine-versions-edit): Update for above name change.
2618 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2620 * textmodes/reftex-cite.el
2621 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2622 entries with whitespace after \bibitem.
2623 (reftex-create-bibtex-file): Match entries containing numbers and
2624 symbol constituents. Make sure that entries with whitespace at
2625 various places are found.
2627 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2629 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2631 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2633 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2635 2010-11-05 Glenn Morris <rgm@gnu.org>
2637 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2638 (woman2-roff-buffer): Give local variable `request' a prefix.
2639 (woman0-macro): Rename argument `request' in the same way.
2640 (woman-request): New name for `request' dynamic variable.
2641 (woman-unquote, woman-forward-arg): Update for above name change.
2642 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2643 (woman1-unquote): New name for `unquote' dynamic variable.
2644 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2645 (woman-translations): Rename from `translations'. No longer global.
2646 (woman2-tr, woman-translate): Update for above name change.
2647 (woman-translate): Check for bound variable.
2648 (woman2-roff-buffer): Give local variable `translations' a prefix.
2650 * play/doctor.el: Give all local variables a prefix. Update callers.
2651 (doc$, doctor-put-meaning): Use backquote.
2653 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2654 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2656 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2657 variables bytes, ptr, op a prefix.
2658 (disassemble-offset): Update for above change.
2660 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2662 * emacs-lisp/package.el (package-unpack): Remove no-op.
2663 (package--builtins, package--dir): Doc fix.
2664 (package-activate-1, package-activate, package-install)
2665 (package-compute-transaction): Fix error message.
2666 (package-delete): Use delete-directory. Omit system packages.
2667 (package-initialize): Set package-alist to nil first.
2668 (package-menu-mark-delete, package-menu-mark-install): Don't add
2669 symbols that are inconsistent with the package state.
2670 (package-menu-execute): Perform deletions and installations as
2671 single batch operations.
2673 2010-11-03 Glenn Morris <rgm@gnu.org>
2675 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2676 (props): Remove unnecessary declaration.
2678 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2679 set-process-query-on-exit-flag.
2681 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2682 (reftex-toc-do-promote): Remove unused local `mpos'.
2683 (reftex-toc-restore-region): Make `mpos' local to this function.
2685 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2687 * play/landmark.el (lm-losing-threshold): Correct spelling.
2688 (lm-human-plays): Use new name.
2690 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2691 (gomoku-human-plays): Use new name.
2693 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2694 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2695 (gomoku-score-trans-table, gomoku-winning-threshold)
2696 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2698 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2700 * emacs-lisp/package.el: Don't put built-in packages in
2701 package-alist, to avoid loading inefficiencies.
2702 (package-built-in-p): Make VERSION optional, and treat it as a
2703 minimum acceptable version.
2704 (package-activate): Search separately for built-in packages.
2705 Emit a warning if a dependency fails.
2706 (define-package): Handle most common case, where there is no
2707 obsolete package, first.
2708 (package-compute-transaction): Print required version in error.
2709 (package--initialized): New variable.
2710 (list-packages): Use it.
2711 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2712 built-in packages in packages-alist; keep it separate.
2713 Set package--initialized.
2714 (describe-package): Avoid activating packages as a side-effect.
2715 Search separately for built-in packages.
2716 (describe-package-1): Handle the case where an elpa package is
2717 simultaneously built-in and available/installed.
2718 (package-installed-p, package--generate-package-list):
2719 Search separately for built-in packages.
2720 (package-load-descriptor): Doc fix.
2722 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2725 Handle __DATA__ and __END__.
2727 2010-11-02 Noah Friedman <friedman@splode.com>
2729 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2730 nil, do not ask to recompile files that are not already compiled,
2731 and do not recompile them.
2733 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2735 * emacs-lisp/package.el (package-initialize): Ensure that
2736 obsoleted built-in packages are not in package-activated-list
2738 (describe-package-1): Make the "installed" status override
2741 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2743 * subr.el (version-separator, version-regexp-alist): Remove '*'
2745 (version-list-<=, version<=, version=): Doc fix.
2747 2010-11-01 Kenichi Handa <handa@m17n.org>
2749 * faces.el (glyphless-char): Inherit underline for tty.
2751 2010-11-01 Kenichi Handa <handa@m17n.org>
2753 Implement various display methods for glyphless characters.
2755 * international/characters.el (char-acronym-table): New variable.
2756 (glyphless-char-control): New variable.
2757 (update-glyphless-char-display): New funciton.
2759 * faces.el (glyphless-char): New face.
2761 2010-11-01 Glenn Morris <rgm@gnu.org>
2763 * calendar/holidays.el (general-holidays, oriental-holidays)
2764 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2765 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2766 the definitions of their targets.
2768 * emacs-lisp/smie.el (smie): New custom group.
2769 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2771 * faces.el (xw-defined-colors, x-setup-function-keys):
2772 * mouse-sel.el (x-select-text):
2773 * term/w32console.el (x-setup-function-keys): Update declarations.
2775 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2777 * textmodes/ispell.el (comment-add): Declare.
2779 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2782 * info.el (finder-keywords-hash, package-alist): Declare.
2784 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2786 * finder.el (finder-compile-keywords): Don't use intern-soft,
2787 since package names may not yet exist in the obarray.
2789 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2791 * vc/vc-arch.el (vc-arch-checkin):
2792 * vc/vc-cvs.el (vc-cvs-checkin):
2793 * vc/vc-mtn.el (vc-mtn-checkin):
2794 * vc/vc-rcs.el (vc-rcs-checkin):
2795 * vc/vc-sccs.el (vc-sccs-checkin):
2796 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2797 since 2010-04-21 commit by Stefan Monnier.
2799 2010-11-01 Glenn Morris <rgm@gnu.org>
2801 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2803 * startup.el (package-enable-at-startup, package-initialize):
2806 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2809 2010-10-31 Julien Danjou <julien@danjou.info>
2811 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2812 (byte-recompile-directory):
2813 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2814 Use `byte-recompile-file'.
2816 2010-10-31 Glenn Morris <rgm@gnu.org>
2818 * cus-start.el: Handle standard values via a keyword.
2819 Only set version property if specified.
2820 (cursor-in-non-selected-windows, menu-bar-mode)
2821 (tool-bar-mode, show-trailing-whitespace):
2822 Do not specify standard values.
2823 (transient-mark-mode, temporary-file-directory): Use :standard.
2825 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2827 * term/x-win.el (x-get-selection-value): New function that gets
2828 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2830 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2833 preserve owner and group when editing files. (Bug#7289)
2835 2010-10-31 Glenn Morris <rgm@gnu.org>
2837 * speedbar.el (speedbar-mode):
2838 * play/fortune.el (fortune-in-buffer, fortune):
2839 * play/gomoku.el (gomoku-mode):
2840 * play/landmark.el (lm-mode):
2841 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2842 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2844 * select.el (x-selection): Mark it as an obsolete alias.
2846 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2848 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2849 major-mode (bug#7284).
2851 2010-10-31 Glenn Morris <rgm@gnu.org>
2853 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2854 rather than just an unused variable that inherits from the real one.
2856 2010-10-31 Alan Mackenzie <acm@muc.de>
2858 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2859 This fixes bug #7185.
2861 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2863 * startup.el (command-line): Search for package directories, and
2864 don't load package.el if none are found.
2866 * emacs-lisp/package.el (describe-package, list-packages):
2867 Call package-initialize if it has not been called yet.
2869 2010-10-30 Alan Mackenzie <acm@muc.de>
2871 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2872 which fontifies the tail of an enum.
2873 (c-basic-matchers-after): Insert a call to the above new function.
2874 This fixes bug #7264.
2876 2010-10-30 Glenn Morris <rgm@gnu.org>
2878 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2879 tool-bar-mode, transient-mark-mode. (Bug#7306)
2880 Include the :set property in the dumped Emacs.
2882 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2884 SMIE: change indent rules format, improve smie-setup.
2885 * emacs-lisp/smie.el (smie-precs-precedence-table)
2886 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2887 Mark them pure so the tables gets built at compile time.
2888 (smie-bnf-precedence-table): Store the closer-alist in the table.
2889 (smie-prec2-levels): Preserve the closer-alist.
2890 (smie-blink-matching-open): Be more forgiving in case of indentation.
2891 (smie-hanging-p): Rename from smie-indent--hanging-p.
2892 (smie-bolp): Rename from smie-indent--bolp.
2893 (smie--parent, smie--after): New dynamic vars.
2894 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2895 (smie-indent-rules): Remove.
2896 (smie-indent--offset-rule): Remove fun.
2897 (smie-rules-function): New var.
2898 (smie-indent--rule): New fun.
2899 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2900 (smie-indent-exps): Use it.
2901 (smie-setup): Setup paren blinking; add keyword args for token
2902 functions; extract closer-alist from op-levels.
2903 (smie-indent-debug-log): Remove var.
2904 (smie-indent-debug): Remove fun.
2905 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2906 (prolog-smie-rules): New fun to replace it.
2907 (prolog-mode-variables): Simplify.
2908 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2909 it's setup automatically.
2910 (octave-smie-indent-rules): Remove.
2911 (octave-smie-rules): New fun to replace it.
2912 (octave-mode): Simplify.
2914 2010-10-29 Glenn Morris <rgm@gnu.org>
2916 * files.el (temporary-file-directory): Remove (already defined in C).
2917 * cus-start.el: Add temporary-file-directory.
2919 * abbrev.el (abbrev-mode):
2920 * composite.el (auto-composition-mode):
2921 * menu-bar.el (menu-bar-mode):
2922 * simple.el (transient-mark-mode):
2923 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2924 that they do not define the associated variables twice.
2925 * simple.el (transient-mark-mode): Remove defvar.
2926 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2927 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2928 Handle multiple groups, and also custom-delayed-init-variables.
2929 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2931 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2934 (pcase-if): Add one minor optimization.
2935 (pcase-split-equal): Rename from pcase-split-eq.
2936 (pcase-split-member): Rename from pcase-split-memq.
2937 (pcase-u1): Add strings to the member optimization.
2938 Add `guard' variant of predicates.
2939 (pcase-q1): Add string patterns.
2941 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2945 2010-10-28 Glenn Morris <rgm@gnu.org>
2947 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2948 Move menu-bar related settings to ../menu-bar.el.
2949 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2950 Move ns-specific settings here from term/ns-win.el.
2952 * simple.el (x-selection-owner-p): Remove unused declaration.
2954 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2956 * minibuffer.el (completion-cycling): New var (bug#7266).
2957 (minibuffer-complete, completion--do-completion):
2958 Use completion--flush-all-sorted-completions.
2959 (minibuffer-complete): Only cycle if completion-cycling is set.
2960 (completion--flush-all-sorted-completions): Unset completion-cycling.
2961 (minibuffer-force-complete): Set completion-cycling.
2962 (completion-all-sorted-completions): Move declaration before first use.
2964 2010-10-28 Leo <sdl.web@gmail.com>
2966 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2967 which changes the order of matches seen by users (bug#7231).
2969 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2971 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2972 Don't confuse -omega as "-o mega".
2974 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2977 (log-edit-author): New dynamic var.
2978 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2979 to return the author if different from committer.
2980 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2982 * play/landmark.el: Adjust commenting convention.
2983 (lm-nil-score): Rename from nil-score.
2984 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2985 (OOOOscore): Move into a let in lm-score-trans-table.
2986 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2988 * electric.el (electric-indent-chars): Autoload.
2989 * progmodes/octave-mod.el (octave-mode):
2990 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2991 (ruby-mode-abbrev-table): Merge initialization and declaration.
2993 2010-10-27 Glenn Morris <rgm@gnu.org>
2995 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2998 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3000 * term/ns-win.el: Restore require of cl when compiling.
3001 (menu-bar-final-items): Remove non-existent `windows' menu.
3002 (ns-handle-nxopen): Optionally handle the temp-case.
3003 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3004 (ns-insert-file, ns-find-file): Use `pop'.
3006 2010-10-26 Glenn Morris <rgm@gnu.org>
3008 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3010 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3012 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3014 * term/common-win.el (x-setup-function-keys): Remove most of the
3015 keymappings. Comment on the remaining ones.
3017 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3019 * server.el (server-port): New option. (Bug#854)
3020 (server-start): Use server-port.
3022 2010-10-26 Glenn Morris <rgm@gnu.org>
3024 * term/ns-win.el (ns-version-string): Remove unused declaration.
3025 (ns-invocation-args): Change to x-invocation-args.
3026 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3027 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3028 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3029 Use x-invocation-args instead of ns-invocation-args.
3030 (ns-initialize-window-system, handle-args-function-alist):
3031 Use x-handle-args instead of ns-handle-args.
3032 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3033 * startup.el (command-line-ns-option-alist): Replace
3034 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3035 ns-handle-iconic with the x- equivalents.
3037 * term/common-win.el (x-select-enable-clipboard):
3038 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3040 * term/ns-win.el: No need to require cl when compiling.
3041 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3042 (xw-defined-colors): Use the common-win definitions.
3043 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3044 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3045 * term/common-win.el (x-select-text, x-alternatives-map)
3046 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3047 * loadup.el [ns]: Load common-win.
3049 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3051 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3052 recipients; expand mail aliases (Bug#7280).
3054 2010-10-25 Glenn Morris <rgm@gnu.org>
3056 * term/common-win.el (x-handle-switch): Simplify with pop.
3057 Optionally handle numeric switches.
3058 (x-handle-numeric-switch): Just call x-handle-switch.
3059 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3060 (x-handle-name-switch, x-handle-display, x-handle-args):
3063 * term/ns-win.el: Do not require easymenu.
3064 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3065 <spell>: Move adjustments to menu-bar.el.
3066 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3067 <separator-undo, spell>: Move ns-win's adjustments here.
3068 * loadup.el [ns]: Do not load easymenu.
3070 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3072 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3075 * startup.el (fancy-startup-tail): Instead of using inline images,
3076 refer to image files from etc/.
3078 * wid-edit.el (checkbox): Likewise.
3079 (widget-image-find): Center image specs.
3081 2010-10-24 Glenn Morris <rgm@gnu.org>
3083 * term/ns-win.el (x-select-text): Doc fix.
3084 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3085 (x-select-text): Move to term/common-win.
3086 * term/w32-win.el (xw-defined-colors): Move to common-win.
3087 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3088 (x-setup-function-keys, x-select-text): Move to common-win.
3089 * term/common-win.el (x-select-text, x-alternatives-map)
3090 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3093 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3095 * net/mairix.el (mairix-searches-mode-map):
3096 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3098 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3100 * verilog-mode.el (verilog-directive-re): Make this variable
3101 auto-built for efficiency of execution and updating.
3102 (verilog-extended-complete-re): Support 'pure' fucntion & task
3103 declarations (these have no bodies).
3104 (verilog-beg-of-statement): General cleanup to enable support of
3105 'pure' fucntion & task declarations (these have no bodies).
3106 These efforts together fix Verilog bug210 from veripool; which was also
3107 noticed by Steve Pearlmutter.
3108 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3109 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3110 Support `elsif. Reported by Shankar Giri.
3111 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3112 attribute handling for lining up declarations and assignments.
3113 (verilog-beg-of-statement-1): Fix issue where continued declaration
3114 is indented differently if it is after a begin..end clock.
3115 (verilog-in-attribute-p, verilog-skip-backward-comments)
3116 (verilog-skip-forward-comment-p): Support proper treatment of
3117 attributes by indent code. Reported by Jeff Steele.
3118 (verilog-in-directive-p): Fix comment to correctly describe function.
3119 (verilog-backward-up-list, verilog-in-struct-region-p)
3120 (verilog-backward-token, verilog-in-struct-p)
3121 (verilog-in-coverage-p, verilog-do-indent)
3122 (verilog-pretty-declarations): Use verilog-backward-up-list as
3123 wrapper around backward-up-list inorder to properly skip comments.
3124 Reported by David Rogoff.
3125 (verilog-property-re, verilog-endcomment-reason-re)
3126 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3127 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3128 of if). Reported by Max Bjurling and
3129 (verilog-calc-1): Fix for clocking block in modport
3130 declaration. Reported by Brian Hunter.
3132 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3134 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3135 (verilog-gate-keywords, verilog-read-sub-decls)
3136 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3137 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3138 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3139 (verilog-read-decls): Fix spaces in V2K module parameters causing
3140 mis-identification as interfaces, bug287.
3141 (verilog-read-decls): Fix not treating "parameter string" as a
3142 parameter in AUTOINSTPARAM.
3143 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3144 treating `elsif similar to `endif inside AUTOSENSE.
3145 (verilog-do-indent): Implement correct automatic or static task or
3146 function end comment highlight. Reported by Steve Pearlmutter.
3147 (verilog-font-lock-keywords-2): Fix highlighting of single
3148 character pins, bug264. Reported by Michael Laajanen.
3149 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3150 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3151 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3152 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3153 (verilog-pretty-expr): Fix interactive arguments, bug272.
3154 Reported by Mark Johnson.
3155 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3156 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3157 bug269. Suggested by Gary Delp.
3158 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3159 (verilog-preprocessor, verilog-set-compile-command):
3160 Create verilog-preprocess and verilog-preprocessor to show
3161 preprocessed output.
3162 (verilog-get-beg-of-line, verilog-get-end-of-line)
3163 (verilog-modi-file-or-buffer, verilog-modi-name)
3164 (verilog-modi-point, verilog-within-string): Move defmacro's
3165 before first use to avoid warning. Reported by Steve Pearlmutter.
3166 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3167 (verilog-colorize-region, verilog-highlight-buffer)
3168 (verilog-highlight-includes, verilog-highlight-modules)
3169 (verilog-highlight-region, verilog-mode): Rename colorize to
3170 highlight to match other packages. Disable module highlighting,
3171 as received speed complaints, reenable for experimentation only
3172 using new verilog-highlight-modules.
3173 (verilog-read-decls): Fix regexp stack overflow in very large
3174 AUTO_TEMPLATEs, bug250.
3175 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3176 (verilog-scan): Create verilog-save-buffer-state to standardize
3177 making insignificant changes that shouldn't call hooks.
3178 (verilog-save-no-change-functions, verilog-save-scan-cache)
3179 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3180 Create verilog-save-no-change-functions to wrap verilog-scan
3181 preservation, and fix to work with nested preserved calls.
3182 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3183 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3184 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3185 (verilog-submit-bug-report): Update variable list to be complete.
3186 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3187 breaking on-the-fly font-locking.
3188 (verilog-colorize-buffer, verilog-colorize-include-files)
3189 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3190 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3191 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3192 AUTOINST cell instance name, middle mouse button now finds-file on
3193 it. Suggested by Brad Dobbie.
3194 (verilog-alw-get-temps, verilog-auto-reset)
3195 (verilog-auto-sense-sigs, verilog-read-always-signals)
3196 (verilog-read-always-signals-recurse): Fix loop indexes being
3197 AUTORESET. AUTORESET now assumes any variables in the
3198 initialization section of a for() should be ignored.
3199 Reported by Dan Dever.
3200 (verilog-error-font-lock-keywords)
3201 (verilog-error-regexp-emacs-alist)
3202 (verilog-error-regexp-xemacs-alist): Fix error detection of
3203 Cadence HAL, reported by David Asher. Repair drift between the
3204 three similar error variables.
3205 (verilog-modi-lookup, verilog-modi-lookup-cache)
3206 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3207 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3208 Fix slow verilog-auto expansion on very large files.
3209 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3210 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3211 "{1*2{...". Broke in last revision.
3212 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3213 submodule connections with replications "{#{a},#{b}}".
3215 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3217 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3218 Fix typo in docstring.
3220 2010-10-24 Kenichi Handa <handa@m17n.org>
3222 * face-remap.el (text-scale-adjust): Call read-event with a proper
3225 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3227 * emacs-lisp/unsafep.el: Don't mark functions that display
3228 messages as safe. Suggested by Johan Bockgård.
3230 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3232 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3233 Turn comments into docstrings.
3235 * minibuffer.el (completion--replace): Move point where it belongs
3236 when there's a common suffix (bug#7215).
3238 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3240 Merge read-color and facemenu-read-color (Bug#7242).
3242 * faces.el (read-color): Use the completion code from
3243 facemenu-read-color. Require match in completion. Doc fix.
3245 * facemenu.el (facemenu-read-color): Alias for read-color.
3246 (facemenu-set-foreground, facemenu-set-background):
3249 * frame.el (set-background-color, set-foreground-color)
3250 (set-cursor-color, set-mouse-color, set-border-color):
3253 2010-10-24 Leo <sdl.web@gmail.com>
3255 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3256 argument of delete-file and delete-directory (Bug#7011).
3258 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3260 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3263 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3265 * emacs-lisp/package.el (package--generate-package-list): Make the
3266 *Packages* buffer read-only.
3268 2010-10-24 Alan Mackenzie <acm@muc.de>
3270 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3271 result of `c-beginning-of-decl-1' between invocations of a lambda
3272 function (Bug #7265).
3274 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3276 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3277 executable is not available on the system (Bug#7268).
3279 2010-10-24 Glenn Morris <rgm@gnu.org>
3281 * select.el (selection-coding-system, next-selection-coding-system):
3282 Sync doc with C versions.
3284 * w32-vars.el (x-select-enable-clipboard):
3285 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3286 * term/common-win.el (x-select-enable-clipboard): Move here.
3288 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3289 definition of C variable.
3291 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3292 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3293 Don't redefine things that are defined in C.
3294 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3295 (show-trailing-whitespace, auto-hscroll-mode)
3296 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3297 Set up the appropriate custom properties.
3299 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3302 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3303 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3304 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3305 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3307 2010-10-23 Glenn Morris <rgm@gnu.org>
3309 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3312 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3313 Sync docs with C version.
3315 * term/ns-win.el (xw-defined-colors):
3316 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3318 * term/pc-win.el (x-select-enable-clipboard):
3319 * term/x-win.el (x-select-enable-clipboard):
3320 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3322 * comint.el (comint-password-prompt-regexp): Make it less vague.
3325 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3327 * help.el (finder-by-keyword): Remove unnecessary autoload.
3329 2010-10-22 Glenn Morris <rgm@gnu.org>
3331 * loadup.el: Unconditionally load float-sup.
3332 * paren.el (show-paren-delay):
3333 * emacs-lisp/float-sup.el:
3334 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3335 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3336 (lazy-lock-stealth-verbose): Assume float support.
3337 * ps-print.el: Assume float support on Emacs.
3338 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3339 Remove non-float branch.
3341 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3342 src/Makefile no longer being pre-processed.
3344 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3346 * emacs-lisp/find-func.el (find-library): Use test-completion.
3348 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3350 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3352 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3354 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3355 space in stat format string.
3356 (tramp-send-command): Unset $PS1 when using here documents, in
3357 order not to get several prompts.
3358 (tramp-get-inline-coding): Return `nil' in case of errors.
3360 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3362 * hexl.el (hexl-mode, hexl-mode-exit):
3363 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3364 (hexl-revert-buffer-function): New function.
3365 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3367 2010-10-19 Alan Mackenzie <acm@muc.de>
3369 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3370 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3371 that these keywords aren't wrongly matched as identifiers.
3373 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3374 setting of c-new-BEG and c-new-END from c-before-change to
3375 c-after-change. (Bug#7181)
3377 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3379 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3382 * custom.el (custom-theme-set-variables): Likewise.
3383 (load-theme): Add custom-theme-set-faces and
3384 custom-theme-set-variables to safe-functions while loading.
3385 (custom-enabled-themes): Mark as risky.
3387 2010-10-18 Julien Danjou <julien@danjou.info>
3389 * bindings.el: Remove end dashes in default mode-line-format.
3391 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3393 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3394 to delete-forward-char.
3396 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3397 deletechar, and hence delete-forward-char.
3399 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * repeat.el (repeat): Use read-key (bug#6256).
3403 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3405 * emacs-lisp/unsafep.el: Don't mark functions that display
3406 messages as safe. Suggested by Johan Bockgård.
3408 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3410 * minibuffer.el (completion--replace): Move point where it belongs
3411 when there's a common suffix (bug#7215).
3413 2010-10-19 Kenichi Handa <handa@m17n.org>
3415 * international/characters.el: Add category '|' (word breakable)
3416 to fullwidth characters.
3418 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3420 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3421 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3422 order to make stat results a float. Patch by Andreas Schwab
3423 <schwab@linux-m68k.org>.
3425 2010-10-18 Julien Danjou <julien@danjou.info>
3427 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3428 hidden by `make-pointer-invisible'.
3430 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * files.el (locate-file-completion-table): Strip non-matching elements
3433 before checking length of list (bug#7238).
3435 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3437 * custom.el (custom-theme-set-variables): Mark as a safe function.
3438 (load-theme): Check forms using unsafep.
3440 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3442 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3444 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3445 Fix aspell data file searching (bug#7230).
3447 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3449 * cus-theme.el (custom-theme--migrate-settings): New var.
3450 (customize-create-theme): Allow editing the `user' theme.
3451 (custom-theme-add-variable, custom-theme-add-var-1)
3452 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3453 to the front of each variable or face widget.
3454 (custom-theme-write): Save theme settings in the correct order.
3455 Optionally, remove saved settings from user customizations.
3456 (custom-theme-write-variables, custom-theme-write-faces):
3457 Save only the checked widgets.
3458 (customize-themes): Add a link for migrating custom settings.
3460 * custom.el (custom-declare-theme, provide-theme):
3461 Use custom-theme-name-valid-p.
3462 (custom-theme-name-valid-p): Remove checks that are now
3463 unnecessary since themes no longer obey load-path.
3465 * cus-edit.el (custom-variable-value-create): For the simple
3466 style, hide documentation string when hidden.
3468 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3470 * cus-edit.el (custom-variable, custom-face): Combine the
3471 :inhibit-magic and :display-style properties into a single
3472 :custom-style property.
3473 (custom-toggle-hide-variable, custom-toggle-hide-face):
3474 New functions. If hiding an edited value, save it to :shown-value.
3475 (custom-variable-value-create, custom-face-value-create): Use them.
3476 (custom-magic-reset): Allow magic property to be unset.
3478 * custom.el: Custom themes no longer use load-path.
3479 (custom-theme-load-path): New option. Change built-in theme
3481 (custom-enabled-themes): Add custom-theme-load-path dependency.
3482 (custom-theme--load-path): New function.
3483 (load-theme, custom-available-themes): Use it.
3485 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3486 (customize-themes): Link to custom-theme-load-path variable.
3487 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3488 :custom-style property.
3490 * themes/*.el: Moved to etc/.
3492 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3494 * textmodes/reftex-cite.el
3495 (reftex-extract-bib-entries-from-thebibliography): Do not move
3496 point when searching for \bibitem entries. Match entries with
3497 spaces or tabs in front of arguments.
3499 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3501 * cus-theme.el (customize-create-theme): Delete overlays after
3502 erasing. If given a THEME arg, display only the faces of that arg
3503 instead of custom-theme--listed-faces.
3504 (custom-theme-variable-menu, custom-theme-variable-action)
3505 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3506 (custom-theme-add-variable, custom-theme-add-face): Apply value
3507 from the theme settings, instead of the current value.
3508 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3509 (custom-theme-visit-theme): Allow calling outside theme buffers.
3510 (custom-theme-merge-theme): Don't enable the theme when merging.
3511 (custom-theme-write-variables, custom-theme-write-faces): Use the
3512 :shown-value properties to save buffer values, not global ones.
3513 (customize-themes): Display a warning about user customizations.
3515 * cus-edit.el (custom-variable-value-create)
3516 (custom-face-value-create): Obey new special properties
3517 :shown-value and :inhibit-magic.
3519 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3521 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3522 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3525 2010-10-14 Kenichi Handa <handa@m17n.org>
3527 * mail/rmail.el (rmail-show-message-1): Catch an error of
3528 base64-decode-region and just show an error message (bug#7165).
3530 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3531 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3532 a font-spec (bug#7197).
3534 2010-10-14 Glenn Morris <rgm@gnu.org>
3536 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3538 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3540 * international/mule.el (define-coding-system):
3541 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3542 * composite.el (compose-region): Fix typo in docstring.
3544 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3546 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3547 only after checking the theme-face property.
3549 * faces.el (face-spec-reset-face): Reset all attributes in one
3550 single call to set-face-attribute.
3551 (face-spec-match-p): Make it a defsubst.
3552 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3553 (x-create-frame-with-faces, tty-create-frame-with-faces)
3554 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3555 frame-set-background-mode, since they are recomputed immediately
3556 afterwards in face-set-after-frame-default.
3557 (face-set-after-frame-default): Minor optimization.
3558 (cursor): Provide non-trivial defface spec.
3560 * custom.el (custom-theme-recalc-face): Simplify.
3562 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3564 * calc/calc-alg.el (math-var): Rename from `var'.
3565 (math-is-polynomial, math-is-poly-rec): Replace `var'
3568 * calc/calcalg2.el (math-var): Rename from `var'.
3569 (calcFunc-table, math-scan-for-limits): Replace `var'
3572 2010-10-13 Glenn Morris <rgm@gnu.org>
3574 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3576 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3578 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3580 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3582 * net/tls.el (tls-program): Remove spurious %s from openssl.
3583 (tls-starttls-switches): Remove starttls hack.
3584 (open-tls-stream): Ditto.
3585 (tls-find-starttls-argument): Ditto.
3587 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3589 * image.el (image-library-alist): Declare as obsolete alias.
3590 (image-type-available-p): Use `dynamic-library-alist'.
3592 * term/w32-win.el (dynamic-library-alist):
3593 Use instead of `image-library-alist'.
3595 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3597 * subr.el (last): Make it faster. (Bug#7174)
3599 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3601 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3603 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3605 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3606 (describe-theme-1): Extract doc from unloaded themes.
3608 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3610 * themes/tango-theme.el:
3611 * themes/tango-dark-theme.el:
3612 * themes/wheatgrass-theme.el: New files.
3614 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3616 * cus-theme.el (describe-theme, customize-themes)
3617 (custom-theme-save): New commands.
3618 (custom-new-theme-mode-map): Bind C-x C-s.
3619 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3620 (customize-create-theme): New optional arg THEME.
3621 (custom-theme-revert): Use it.
3622 (custom-theme-visit-theme): Remove dead code.
3623 (custom-theme-merge-theme): Use custom-available-themes.
3624 (custom-theme-write): Make interactive.
3625 (custom-theme-write): Use custom-theme-name-valid-p.
3626 (describe-theme-1, custom-theme-choose-revert)
3627 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3629 (custom-theme-allow-multiple-selections): New option.
3630 (custom-theme-choose-mode): New major mode.
3632 * custom.el (custom-theme-set-variables): Remove dead code.
3633 Obey custom--inhibit-theme-enable.
3634 (custom--inhibit-theme-enable): New var.
3635 (provide-theme): Obey it.
3636 (load-theme): Replace load with manual read/eval, in order to
3637 check for correctness. Use custom-theme-name-valid-p.
3638 (custom-theme-name-valid-p): New function.
3639 (custom-available-themes): Use it.
3641 * cus-edit.el (custom--initialize-widget-variables): New function.
3642 (Custom-mode): Use it.
3644 * cus-face.el (custom-theme-set-faces): Remove dead code.
3645 Obey custom--inhibit-theme-enable.
3647 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3649 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3651 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3653 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3655 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3656 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3657 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3659 * cus-start.el (all): ns-right-alternate-modifier is new.
3661 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * emacs-lisp/lisp.el (lisp-completion-at-point):
3664 Use emacs-lisp-mode-syntax-table for the whole function.
3666 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3668 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3669 instead of font-lock-mode before adding keywords.
3670 Remove hi-lock-mode off code. Remove inhibit hack.
3671 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3672 non-nil; removed hook inhibit hack.
3674 2010-10-12 Glenn Morris <rgm@gnu.org>
3676 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3677 (load-path-shadows-find): ... to this.
3678 (list-load-path-shadows): Update for above change.
3680 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3682 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3684 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3685 Fix comment for declare-function.
3687 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3689 * custom.el (custom-fix-face-spec): New function; code moved from
3690 custom-face-edit-fix-value.
3691 (custom-push-theme): Use it when checking if a face has been
3692 changed outside customize.
3693 (custom-available-themes): New function.
3694 (load-theme): Use it.
3696 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3698 * custom.el (custom-push-theme): Cleanup (use cond).
3699 (disable-theme): Recompute the saved-face property.
3700 (custom-theme-recalc-face): Follow face alias before setting prop.
3702 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3703 New variables, containing checkbox images.
3705 * startup.el (fancy-startup-tail):
3706 * wid-edit.el (checkbox): Use them.
3708 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3710 * shell.el (shell-mode-map):
3711 * progmodes/modula2.el (m2-mode-map):
3712 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3713 * play/mpuz.el (mpuz-mode-map):
3714 * play/landmark.el (lm-mode-map):
3715 * play/decipher.el (decipher-mode-map):
3716 * play/5x5.el (5x5-mode-map):
3717 * net/telnet.el (telnet-mode-map):
3718 * net/quickurl.el (quickurl-list-mode-map):
3719 * net/mairix.el (mairix-searches-mode-map):
3720 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3721 * net/dig.el (dig-mode-map):
3722 * mail/mspools.el (mspools-mode-map):
3723 * hexl.el (hexl-mode-map):
3724 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3725 (wordstar-C-o-map, wordstar-C-q-map):
3726 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3727 * emacs-lisp/chart.el (chart-map):
3728 * edmacro.el (edmacro-mode-map):
3729 * erc/erc-list.el (erc-list-menu-mode-map):
3730 * array.el (array-mode-map): Declare and define in one step.
3732 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3734 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3736 * epa.el (epa-passphrase-callback-function): Display filename
3737 passed as the 3rd arg.
3738 * epa-file.el (epa-file-passphrase-callback-function):
3739 Pass filename to epa-passphrase-callback-function.
3741 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3743 * cus-edit.el (custom-face-widget-to-spec)
3744 (custom-face-get-current-spec, custom-face-state): New functions.
3745 (custom-face-set, custom-face-mark-to-save)
3746 (custom-face-value-create, custom-face-state-set): Use them.
3748 * cus-theme.el (custom-theme--listed-faces): New var.
3749 (customize-create-theme): Use *Custom Theme* as the buffer name.
3750 Set revert-buffer-function. Optional arg BUFFER. Insert all
3751 faces listed in custom-theme--listed-faces.
3752 (custom-theme-revert): New function.
3753 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3755 (custom-theme-write): Prompt for theme name if empty.
3756 (custom-theme-write-variables): Use dolist.
3757 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3759 2010-10-09 Alan Mackenzie <acm@muc.de>
3761 Enhance fontification of declarators to take account of the
3762 presence/absence of "typedef".
3764 * cc-engine.el (c-forward-type): New &optional param
3766 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3767 presence of either or both of a "struct"-like keyword and "typedef".
3769 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3770 fontification of declarators which follow a "}".
3771 (c-font-lock-declarations): Fontify declarators according to the
3772 presence/absence of "typedef".
3774 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3776 (c-typedef-decl-key): New lang variable built from
3777 c-typedef-decl-kwds.
3779 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3781 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3782 since that's too annoying. Move the filter groups commands to
3785 * epa.el (epa-passphrase-callback-function): Say what we're
3786 querying the password for.
3788 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3789 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3791 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3793 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3794 (custom-magic-value-create): Pad button tags with spaces.
3795 (custom-face-edit): New variable.
3796 (custom-face-value-create): Determine whether to use the usual
3797 face editor here, instead of using custom-face-selected.
3798 Pass face defaults to custom-face-edit widget.
3799 (custom-face-selected, custom-display-unselected): Delete widgets.
3800 (custom-display-unselected-match): Function removed.
3801 (custom-face-set, custom-face-mark-to-save):
3802 Accept custom-face-edit widgets as the direct widget child.
3804 * wid-edit.el (widget--completing-widget): New var.
3805 (widget-default-complete): Bind it when doing completion.
3806 (widget-string-complete, widget-file-complete): Use it.
3808 2010-10-09 Glenn Morris <rgm@gnu.org>
3810 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3811 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3812 (holiday-hebrew-misc): Small simplifications.
3814 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3816 * net/browse-url.el: Don't require thingatpt, term, dired,
3817 executable, or w3-auto when compiling.
3818 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3820 (browse-url-text-emacs): Require term.
3822 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3824 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3826 2010-10-08 Glenn Morris <rgm@gnu.org>
3828 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3830 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3831 (shadows-compare-text-p): Make it an obsolete alias for...
3832 (load-path-shadows-compare-text): ... new name.
3833 (find-emacs-lisp-shadows): Update for above name change.
3834 (load-path-shadows-same-file-or-nonexistent): New name for the old
3835 shadow-same-file-or-nonexistent.
3837 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3839 * minibuffer.el (completion--some, completion--do-completion)
3840 (minibuffer-complete-and-exit, minibuffer-completion-help)
3841 (completion-basic-try-completion)
3842 (completion-basic-all-completions)
3843 (completion-pcm--find-all-completions): Use lexical-let to
3844 avoid some false matches in variable completion (Bug#7056)
3846 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3848 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3850 2010-10-08 Leo <sdl.web@gmail.com>
3852 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3853 return non-nil if the file exists (Bug#7090).
3855 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3857 * minibuffer.el (completion--replace):
3858 Better preserve markers (bug#7138).
3860 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3862 * server.el (server-process-filter): Doc fix.
3864 2010-10-08 Drew Adams <drew.adams@oracle.com>
3866 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3868 2010-10-08 Glenn Morris <rgm@gnu.org>
3870 * vc/ediff-wind.el (ediff-setup-control-frame):
3871 * vc/ediff-ptch.el (ediff-default-backup-extension):
3872 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3873 (ediff-exec-process): Remove system-types emx, windows-95.
3875 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3877 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3879 * cus-edit.el (custom-variable, custom-face): Doc fix.
3880 (custom-face-edit): Add value-create attribute.
3881 (custom-face-edit-value-create)
3882 (custom-face-edit-value-visibility-action): New functions.
3883 Hide unused face attributes by default, and add a visibility toggle.
3884 (custom-face-edit-deactivate): Show empty values with shadow face.
3885 (custom-face-selected): Only use this for face specs with default
3887 (custom-face-value-create): Cleanup.
3889 * wid-edit.el (widget-checklist-value-create): Use dolist.
3890 (widget-checklist-match-find): Make second arg optional.
3892 2010-10-07 Glenn Morris <rgm@gnu.org>
3894 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3897 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3898 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3899 load-path-shadows-mode, update references.
3900 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3901 Rename variable and button.
3902 (list-load-path-shadows): Update button caller.
3904 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3907 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3908 (smie-merge-prec2s): Handle those new entries.
3909 (smie-prec2-levels): Only set precedence to nil for actual
3911 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3912 that is now unnecessary.
3914 2010-10-07 Miles Bader <miles@gnu.org>
3916 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3918 2010-10-07 Glenn Morris <rgm@gnu.org>
3920 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3921 (mail-position-on-field): Remove declarations.
3922 (mail-position-on-field): Autoload it.
3923 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3924 and mail-header-end. Don't require sendmail.
3926 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3927 (shadow-mode): New mode.
3928 (shadow-find-file): New button.
3929 (list-load-path-shadows): Use shadow-mode and buttons.
3931 * iimage.el (iimage-version): Remove.
3932 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3933 Turn into defcustoms.
3934 (iimage-mode-map): Give it a doc string.
3936 * calendar/appt.el (appt-activate): Give a warning rather than an error
3937 if there is no diary-file.
3939 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3941 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3942 Use `tramp-handle-find-backup-file-name'.
3944 2010-10-06 Glenn Morris <rgm@gnu.org>
3946 * font-core.el (font-lock-defaults-alist): Remove variable.
3947 (font-lock-mode): Doc fix.
3948 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3949 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3950 (font-lock-set-defaults): Doc fix.
3951 Do not consult font-lock-defaults-alist.
3953 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3955 * emacs-lisp/cl.el: No longer provide cl-19.
3957 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3959 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3960 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3961 New defuns, taken from tramp-smb.el.
3962 (tramp-coding-system-change-eol-conversion)
3963 (tramp-set-process-query-on-exit-flag): Remove.
3965 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3966 (tramp-compat-coding-system-change-eol-conversion)
3967 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3970 * net/tramp-gvfs.el:
3971 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3972 by `tramp-compat-set-process-query-on-exit-flag'.
3974 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3975 Use `tramp-handle-directory-files-and-attributes',
3976 `tramp-handle-file-exists-p' and
3977 `tramp-handle-file-newer-than-file-p'.
3978 (tramp-imap-handle-file-exists-p)
3979 (tramp-imap-handle-file-executable-p)
3980 (tramp-imap-handle-file-readable-p)
3981 (tramp-imap-handle-directory-files-and-attributes)
3982 (tramp-imap-handle-file-newer-than-file-p): Remove.
3984 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3985 by `tramp-compat-set-process-query-on-exit-flag' and
3986 `tramp-coding-system-change-eol-conversion' by
3987 `tramp-compat-coding-system-change-eol-conversion'.
3989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3990 Use `tramp-handle-directory-files-and-attributes',
3991 `tramp-handle-file-exists-p' and
3992 `tramp-handle-file-newer-than-file-p'.
3993 (tramp-smb-handle-directory-files-and-attributes)
3994 (tramp-smb-handle-file-exists-p)
3995 (tramp-smb-handle-file-newer-than-file-p): Remove.
3996 (tramp-smb-maybe-open-connection):
3997 Replace `tramp-set-process-query-on-exit-flag' by
3998 `tramp-compat-set-process-query-on-exit-flag'.
4000 2010-10-05 Glenn Morris <rgm@gnu.org>
4002 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4004 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4006 Continue reorganization of load dependencies. (Bug#7156)
4008 * net/tramp.el (tramp-handle-file-local-copy-hook)
4009 (tramp-delete-temp-file-function): Move down.
4010 (tramp-exists-file-name-handler): Move up.
4011 (tramp-register-file-name-handlers): Simplify autoload.
4012 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4013 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4014 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4015 (tramp-handle-file-name-completion)
4016 (tramp-handle-file-name-directory)
4017 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4018 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4019 (tramp-handle-find-backup-file-name)
4020 (tramp-handle-insert-file-contents, tramp-handle-load)
4021 (tramp-handle-substitute-in-file-name)
4022 (tramp-handle-unhandled-file-name-directory)
4023 (tramp-mode-string-to-int, tramp-local-host-p)
4024 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4026 * net/tramp-gvfs.el (top):
4027 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4029 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4030 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4032 2010-10-04 Glenn Morris <rgm@gnu.org>
4034 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4035 (appt-activate): Give status messages.
4037 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4039 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4040 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4041 `gnutls-negotiate' (formerly `starttls-negotiate').
4042 Remove trivial wrapper `starttls-open-stream'.
4044 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4046 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4047 log-outgoing commands.
4048 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4049 to create a buffer local revert-buffer-function variable.
4050 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4051 revert-buffer-function lambda.
4053 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4055 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4056 `gnutls-boot'. Make TYPE the only required parameter.
4057 Allow TRUSTFILES and KEYFILES to be lists.
4058 (open-ssl-stream): Use it.
4060 2010-10-03 Glenn Morris <rgm@gnu.org>
4062 * subr.el (directory-sep-char): Remove obsolete variable.
4063 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4066 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4067 * vc/vc.el (vc-static-header-alist): Doc fix.
4068 * vc/vc-cvs.el (vc-cvs-header):
4069 * vc/vc-rcs.el (vc-rcs-header):
4070 * vc/vc-sccs.el (vc-sccs-header):
4071 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4072 * obsolete/vc-mcvs.el (vc-mcvs-header):
4073 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4076 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4078 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4079 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4081 2010-10-03 Glenn Morris <rgm@gnu.org>
4083 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4085 * textmodes/rst.el (rst-font-lock-keywords-function):
4088 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4090 * printing.el: Drop Emacs 20 code.
4092 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4093 without having used appt.el already).
4095 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4096 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4097 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4099 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4100 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4102 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4103 (charset-width, find-charset-region, chars-in-region, forward-point)
4104 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4105 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4106 Remove compatibility cruft (none of these are used by ps*.el).
4108 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4110 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4112 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4114 * server.el (server-process-filter, server-return-error):
4115 Give emacsclient time to shut down after receiving an error string.
4117 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4119 * files.el (remote-file-name-inhibit-cache): New defcustom.
4121 * time.el (display-time-file-nonempty-p):
4122 Use `remote-file-name-inhibit-cache'.
4124 * net/tramp.el (tramp-completion-reread-directory-timeout):
4127 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4128 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4129 `remote-file-name-inhibit-cache'. Check also for an integer
4130 value. Add/increase counter when `tramp-verbose' >= 10.
4131 (tramp-set-file-property): Add/increase counter when
4132 `tramp-verbose' >= 10.
4134 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4135 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4136 (tramp-bug): Set tramp-autoload cookie. Report all interned
4137 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4138 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4139 characters only in strings.
4141 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4142 to backward compatibility.
4144 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4145 (tramp-handle-file-name-all-completions)
4146 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4147 (tramp-open-connection-setup-interactive-shell):
4148 Call `tramp-cleanup-connection' directly.
4150 2010-10-02 Glenn Morris <rgm@gnu.org>
4152 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4154 * subr.el (char-bytes): Remove obsolete function.
4156 * isearch.el (isearch-return-char): Remove obsolete function.
4158 * mouse.el: No longer provide mldrag.
4159 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4160 Remove obsolete aliases.
4162 * comint.el (comint-kill-output): Remove obsolete alias.
4164 * composite.el (decompose-composite-char): Remove obsolete function.
4165 * ps-def.el (decompose-composite-char): Remove unused function.
4167 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4169 * outline.el (outline-visible): Remove obsolete function.
4171 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4172 * faces.el (internal-find-face, internal-get-face)
4173 (frame-update-faces, frame-update-face-colors)
4174 (x-frob-font-weight, x-frob-font-slant)
4175 (internal-frob-font-weight, internal-frob-font-slant)
4176 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4177 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4178 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4180 * emulation/viper-util.el (viper-get-face):
4181 * obsolete/lucid.el (find-face, get-face): Use facep.
4182 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4183 Remove unused functions.
4184 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4186 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4187 delete tempfile if interrupted during compilation.
4189 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4191 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4193 (tls-program): Add --insecure to be consistent with the defaults from
4194 openssl s_client. Now all three commands are insecure.
4196 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4198 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4199 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4200 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4202 2010-10-01 Glenn Morris <rgm@gnu.org>
4204 * obsolete/sc.el: Remove file.
4206 * files.el (temporary-file-directory): On darwin, also try
4207 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4209 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4211 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4212 Let's not break compatibility gratuitously, shall we?
4214 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4216 * net/tls.el (tls-starttls-switches): New variable.
4217 (tls-find-starttls-argument): Use it.
4218 (open-tls-stream): Ditto.
4220 * net/netrc.el (netrc-credentials): Return the value of the "default"
4222 (netrc-machine): Ditto.
4224 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4226 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4228 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4230 * server.el (server-start): Don't write pid to the authentication file.
4231 (server-create-tty-frame): Don't send pid.
4232 (server-process-filter): Send pid at the start of every connection.
4234 2010-09-30 Glenn Morris <rgm@gnu.org>
4236 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4237 (show-all-diary-entries): Remove obsolete function aliases.
4239 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4240 Remove options, obsolete since 22.1.
4241 (appt-display-format, appt-display-message):
4242 Remove backwards-compatibility code.
4243 (appt-check): No longer check appt-issue-message.
4244 (appt-make-list): No longer autoload it. Doc fix. No longer
4245 activate the package.
4247 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4249 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4250 (starttls-negotiate): Just call boot, and let the handshake be
4251 triggered from the read loop.
4253 2010-09-29 Glenn Morris <rgm@gnu.org>
4255 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4256 not displaying the diary.
4257 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4258 * calendar/appt.el (appt-check): No longer need to kill diary.
4260 * calendar/diary-lib.el (diary-list-entries): Move the
4261 "Preparing..." message entirely here.
4262 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4263 messages to diary-list-entries.
4264 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4265 diary-display-function.
4267 * calendar/diary-lib.el (diary-include-other-diary-files):
4268 Trap some recursive includes.
4270 * calendar/appt.el (appt-activate): Check diary file.
4272 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4274 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4277 * calendar/time-date.el: No need to require cl for Emacs 21.
4279 2010-09-28 Glenn Morris <rgm@gnu.org>
4281 * calendar/appt.el (appt-check): Minor simplification.
4283 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4285 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4288 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4290 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4291 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4293 2010-09-27 Kenichi Handa <handa@m17n.org>
4295 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4298 2010-09-27 Kenichi Handa <handa@m17n.org>
4300 * international/mule.el (define-coding-system): Docstring fixed.
4302 * international/mule-diag.el (describe-character-set): Use princ
4303 with proper print-length and print-level instead of insert.
4305 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4307 * window.el (walk-windows): Doc fix (bug#7105).
4309 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * emacs-lisp/float-sup.el (e): Remove.
4313 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4315 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4317 (starttls-negotiate): Use it.
4319 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4321 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4324 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4328 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4330 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4332 * net/netrc.el (netrc-store-data): New function.
4334 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4336 * net/gnutls.el: GnuTLS glue code to set up a connection.
4338 2010-09-25 Julien Danjou <julien@danjou.info>
4340 * notifications.el: Call dbus-register-signal only if it is bound.
4342 2010-09-25 Glenn Morris <rgm@gnu.org>
4344 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4345 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4346 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4347 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4348 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4349 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4350 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4351 * eshell/esh-util.el, eshell/esh-var.el:
4352 Remove leading `*' from docs of faces and defcustoms.
4354 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4356 * eshell/em-ls.el (eshell-ls-archive-regexp):
4357 * eshell/esh-util.el (eshell-tar-regexp):
4358 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4359 * info.el (Info-suffix-list):
4360 * international/mule.el (auto-coding-alist):
4361 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4362 * progmodes/etags.el (tags-compression-info-list):
4363 Support xz compression.
4365 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4367 * files.el (get-free-disk-space): Don't assume the "df" output
4368 columns line up (Bug#6995).
4370 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4372 * finder.el (finder-unknown-keywords):
4373 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4374 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4376 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4378 * server.el (server-start): Revert part of 2010-08-08 change. Using
4379 address 127.0.0.1 for local host is now done in Fmake_network_process.
4381 2010-09-24 Glenn Morris <rgm@gnu.org>
4383 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4384 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4385 * textmodes/css-mode.el, textmodes/dns-mode.el:
4386 Move autoloaded auto-mode-alist entries to files.el.
4387 * files.el (auto-mode-alist): Move entries here.
4389 2010-09-23 Glenn Morris <rgm@gnu.org>
4391 * isearch.el (isearch-lazy-highlight-cleanup)
4392 (isearch-lazy-highlight-initial-delay)
4393 (isearch-lazy-highlight-interval)
4394 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4395 * net/net-utils.el (ipconfig-program-options):
4396 Move aliases to options before the associated definitions.
4398 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * newcomment.el (comment-normalize-vars): Better test validity of
4403 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4406 (float-e): New name for `e'.
4407 (degrees-to-radians, radians-to-degrees):
4408 * calendar/solar.el (solar-longitude):
4409 * calculator.el (calculator-registers, calculator-funcall):
4410 * textmodes/artist.el (artist-spray-random-points):
4411 * play/bubbles.el (bubbles--initialize-images): Use new names.
4413 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4415 Update to CEDET 1.0's version of EIEIO.
4417 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4419 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4420 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4421 (class-precedence-list): If class is nil, return nil.
4422 (eieio-generic-call): If class of first input arg is nil, don't
4423 look up static methods, and do check for primary methods.
4424 (initialize-instance): See if the default needs to be evaluated
4425 during the constructor.
4426 (eieio-perform-slot-validation-for-default): Don't do the check
4427 for values that will eventually be evaluated.
4428 (eieio-eval-default-p): New function.
4429 (eieio-default-eval-maybe): Use it.
4431 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4433 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4434 method-invocation-order.
4435 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4436 (eieio-class-precedence-dfs): Compute class precedence list using
4438 (eieio-class-precedence-bfs): Compute class precedence list using
4440 (eieio-class-precedence-c3): Compute class precedence list using
4442 (class-precedence-list): New function.
4443 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4444 (inconsistent-class-hierarchy): New error symbol.
4445 (call-next-method): Stow the replacement argument list for future
4446 call-next-method invocations.
4448 2010-09-23 Glenn Morris <rgm@gnu.org>
4450 * calendar/appt.el (appt-check): If not displaying the diary,
4451 use (diary 1) to only get the entries we need.
4452 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4453 that it is in day order. (Bug#7019)
4455 * calendar/appt.el (appt-check): Rather than showing the diary,
4456 just turn off invisible display, and only if needed.
4458 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4460 2010-09-23 Glenn Morris <rgm@gnu.org>
4462 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4463 (byte-compile-defvar, byte-compile-cl-warn):
4464 Start warnings with lower-case, like the majority.
4466 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4468 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4470 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4471 * files.el (auto-mode-alist): Move ld-script entries here, further down
4474 * vc/add-log.el: Don't require timezone when compiling.
4475 (timezone-make-date-sortable): Autoload it.
4476 (change-log-sortable-date-at): Don't require timezone.
4477 Use `ignore-errors'.
4479 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4480 Move alias before definition, so it does not need autoloading.
4482 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4483 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4484 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4485 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4486 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4487 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4488 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4489 * textmodes/tex-mode.el, textmodes/two-column.el:
4490 Remove leading `*' from docs of defcustoms etc.
4492 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4494 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4496 2010-09-22 Dan Christensen <jdc@uwo.ca>
4498 * calendar/time-date.el (date-to-time): Try using parse-time-string
4499 first before using the slower timezone-make-date-arpa-standard.
4501 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4503 * calendar/time-date.el (format-seconds): Comment fix.
4505 2010-09-22 Glenn Morris <rgm@gnu.org>
4507 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4508 is not automatically buffer-local.
4510 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4513 (smie-indent-comment): Be more careful with comment-start-skip.
4514 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4515 (smie-indent-functions): Use them.
4517 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4519 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4521 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4523 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4524 tool-bar-position. Don't modify frame parameters here.
4525 (menu-bar-options-save): Add tool-bar-position.
4527 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4529 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4531 * textmodes/reftex-parse.el (reftex-what-macro)
4532 (reftex-context-substring): Let-bind forward-sexp-function to nil
4533 since we don't need/want to treat \begin...\end as a block (bug#7053).
4535 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4537 * simple.el (blink-matching-open): Use syntax-class.
4539 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4540 Set invisibility spec for pascal's outline mode.
4541 (pascal-outline-change): Clean up calling convention.
4542 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4544 * progmodes/prolog.el (prolog-smie-forward-token)
4545 (prolog-smie-backward-token): New functions.
4546 (prolog-mode-variables): Use them to parse "!," correctly.
4547 Set up smie-blink-matching for ".".
4549 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4551 (ispell-region, ispell-process-line): Update users.
4553 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4556 * textmodes/ispell.el: Fix commenting convention.
4557 (ispell-parse-output): Simplify, use push.
4558 (ispell-region): Use match-string-no-properties.
4559 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4560 (ispell-minor-mode): Use define-minor-mode.
4561 (ispell-message): Remove unused var `skip-regexp'.
4562 (ispell-add-per-file-word-list): Use dynamic let-binding.
4563 Try and use the proper comment marker.
4565 * mail/sendmail.el: Fix commenting convention.
4566 (sendmail-send-it): Use line-beginning-position.
4568 * help-fns.el (describe-variable): Add original value, if applicable.
4570 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4572 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4574 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4576 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4579 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4580 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4581 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4582 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4583 something like "." can also be a closer.
4584 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4585 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4586 Rename internal functions to use "--". Update callers.
4588 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4590 * fringe.el (fringe-styles): New var.
4591 (fringe-mode, fringe-query-style): Use it.
4593 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4595 * progmodes/sql.el: Version 2.8
4596 (sql-login-params): Update widget structure; changes still needed.
4597 (sql-product-alist): Add :list-all and :list-table features for
4598 SQLite, Postgres and MySQL products.
4599 (sql-redirect): Handle default value.
4600 (sql-execute, sql-execute-feature): New functions.
4601 (sql-read-table-name): New function.
4602 (sql-list-all, sql-list-table): New functions. User API.
4603 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4604 for above functions.
4605 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4606 for above functions.
4607 (sql-postgres-login-params): Add user and database defaults.
4608 (sql-buffer-live-p): Bug fix.
4609 (sql-product-history): New variable.
4610 (sql-read-product): New function. Use it.
4611 (sql-set-product, sql-product-interactive): Use it.
4612 (sql-connection-history): New variable.
4613 (sql-read-connection): New function. Use it.
4614 (sql-connect): New function.
4615 (sql-for-each-login): Redesign function interface.
4616 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4617 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4618 (sql-comint): Check for program. Existing live buffer.
4619 (sql-comint-postgres): Add port parameter.
4621 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4623 * emacs-lisp/warnings.el: Fix commenting convention.
4624 (display-warning): Use special mode and make the buffer read-only.
4626 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4628 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4629 empty string when it follows a repeated or optional pattern.
4631 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4633 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4634 (indent-region): Use indent-according-to-mode.
4636 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4638 * fringe.el (fringe-mode): Doc fix.
4640 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4642 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4643 refreshing the preview buffer.
4645 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4647 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4648 (latex-syntax-propertize-rules): New consts; replace
4649 tex-font-lock-syntactic-keywords.
4650 (tex-env-mark, latex-env-before-change): New functions.
4651 (latex-electric-env-pair-mode): New minor mode.
4652 (tex-font-lock-verb): Change arguments; do move point.
4653 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4654 representation as a form of comment.
4655 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4656 (doctex-syntax-propertize-rules): New const; replaces
4657 doctex-font-lock-syntactic-keywords.
4658 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4660 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4661 (fortran-make-syntax-propertize-function): New function; replaces
4662 fortran-font-lock-syntactic-keywords.
4663 (fortran-mode): Use it.
4664 (fortran-line-length): Use it. Improve interactive spec.
4666 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4667 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4668 when adding surrounding \(..\).
4670 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4672 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4674 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4675 Use with-current-buffer.
4677 * isearch.el (isearch-face): Rename from `isearch'.
4678 (isearch-highlight): Use new name.
4680 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4682 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4683 5, for `half' width fringes. (Bug#6933)
4685 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4688 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4690 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4692 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4694 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4695 in calculating new frame position. Add more space between new and
4696 parent on the left (Bug#7048).
4698 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4700 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4703 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4705 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4707 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4708 obsolete alias for x-selection-value.
4710 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4712 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4714 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4717 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4719 * net/tramp-compat.el (tramp-compat-with-temp-message)
4720 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4721 (tramp-compat-process-put): New defuns.
4723 * net/tramp.el (top):
4724 * net/tramp-gvfs.el (top):
4725 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4727 * net/tramp.el (tramp-progress-reporter-update):
4728 Use `tramp-compat-funcall'.
4730 * net/tramp.el (tramp-process-actions):
4731 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4732 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4733 (tramp-get-remote-stat, tramp-get-remote-readlink):
4734 Use `tramp-compat-with-temp-message'.
4736 * net/tramp-sh.el (top): Require 'cl.
4737 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4738 (tramp-open-connection-setup-interactive-shell):
4739 Use `tramp-compat-process-put'.
4741 2010-09-15 Alan Mackenzie <acm@muc.de>
4743 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4745 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4747 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4750 `lexical' for warnings related to lexical scoping.
4751 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4752 global vars which don't have a prefix and could hence affect lexical
4753 scoping in unrelated files.
4755 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4757 * net/imap.el: Revert back to version
4758 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4761 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4763 * obsolete/old-whitespace.el (whitespace-unload-function):
4764 Explicitly pass `obarray' to `unintern' to avoid a warning.
4766 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4768 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4769 Add `when' argument. Update callers.
4771 * subr.el (unintern): Declare the obarray arg mandatory.
4773 2010-09-14 Glenn Morris <rgm@gnu.org>
4775 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4778 * calendar/diary-lib.el (diary-included-files): New variable.
4779 (diary-list-entries): Maybe initialize diary-included-files.
4780 (diary-include-other-diary-files): Append to diary-included-files.
4781 * calendar/appt.el (appt-update-list): Also check the members of
4782 diary-included-files. (Bug#6999)
4783 (appt-check): Doc fix.
4785 2010-09-14 David Reitter <david.reitter@gmail.com>
4787 * simple.el (line-move-visual): Do not truncate goal column to
4788 integer size. (Bug#7020)
4790 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * repeat.el (repeat): Allow repeating when the last event is a click.
4793 Suggested by Drew Adams (bug#6256).
4795 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4797 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4798 Replace setting HGRCPATH to "" by some less invasive --config options.
4800 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * font-lock.el (font-lock-beginning-of-syntax-function):
4805 2010-09-14 Glenn Morris <rgm@gnu.org>
4807 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4808 and tool-bar modes. (Bug#6211)
4809 (menu-bar-mode): Move setting of standard-value after the
4810 minor-mode definition, otherwise it seems to have no effect.
4812 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4814 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4815 Fix typo. (Bug#6976)
4817 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4819 * whitespace.el: Allow cleaning up blanks without blank
4820 visualization (Bug#6651). Adjust help window for
4821 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4822 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4823 (whitespace-style): Add new value 'face. Adjust docstring.
4824 (whitespace-space, whitespace-hspace, whitespace-tab):
4825 Adjust foreground property face.
4826 (whitespace-line-column): Adjust docstring and type declaration.
4827 (whitespace-style-value-list, whitespace-toggle-option-alist)
4828 (whitespace-help-text): Adjust const initialization.
4829 (whitespace-toggle-options, global-whitespace-toggle-options):
4831 (whitespace-display-window, whitespace-interactive-char)
4832 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4833 (whitespace-help-scroll): New fun.
4835 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4837 * calendar/time-date.el (format-seconds): Comment fix.
4839 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4841 * progmodes/sql.el: Version 2.7.
4842 (sql-buffer-live-p): Improve detection.
4843 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4844 (sql-set-sqli-buffer): Use it.
4845 (sql-product-interactive): Run `sql-set-sqli-hook'.
4846 (sql-rename-buffer): Code cleanup.
4847 (sql-redirect, sql-redirect-value): New functions. More to come.
4849 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4851 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.
4852 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4853 (TRAMP_SRC): New macro.
4854 ($(lisp)/net/tramp-loaddefs.el): New target.
4856 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4858 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4860 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4862 * net/tramp.el (top): Don't show loading message. Require just
4863 'tramp-compat, everything else is required there.
4864 Use `ignore-errors' where appropriate.
4865 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4866 (tramp-terminal-type, tramp-end-of-output)
4867 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4868 (tramp-completion-function-alist-ssh)
4869 (tramp-completion-function-alist-telnet)
4870 (tramp-completion-function-alist-su)
4871 (tramp-completion-function-alist-putty, tramp-remote-path)
4872 (tramp-remote-process-environment, tramp-sh-extra-args)
4873 (tramp-actions-before-shell, tramp-uudecode)
4874 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4875 (tramp-perl-file-attributes)
4876 (tramp-perl-directory-files-and-attributes)
4877 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4878 (tramp-perl-encode, tramp-perl-decode)
4879 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4880 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4881 (tramp-handle-make-symbolic-link, tramp-handle-load)
4882 (tramp-handle-file-name-as-directory)
4883 (tramp-handle-file-name-directory)
4884 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4885 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4886 (tramp-do-file-attributes-with-ls)
4887 (tramp-do-file-attributes-with-perl)
4888 (tramp-do-file-attributes-with-stat)
4889 (tramp-handle-set-visited-file-modtime)
4890 (tramp-handle-verify-visited-file-modtime)
4891 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4892 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4893 (tramp-handle-file-selinux-context)
4894 (tramp-handle-set-file-selinux-context)
4895 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4896 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4897 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4898 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4899 (tramp-handle-file-ownership-preserved-p)
4900 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4901 (tramp-handle-directory-files-and-attributes)
4902 (tramp-do-directory-files-and-attributes-with-perl)
4903 (tramp-do-directory-files-and-attributes-with-stat)
4904 (tramp-handle-file-name-all-completions)
4905 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4906 (tramp-handle-copy-file, tramp-handle-copy-directory)
4907 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4908 (tramp-do-copy-or-rename-file-via-buffer)
4909 (tramp-do-copy-or-rename-file-directly)
4910 (tramp-do-copy-or-rename-file-out-of-band)
4911 (tramp-handle-make-directory, tramp-handle-delete-directory)
4912 (tramp-handle-delete-file)
4913 (tramp-handle-dired-recursive-delete-directory)
4914 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4915 (tramp-handle-insert-directory)
4916 (tramp-handle-unhandled-file-name-directory)
4917 (tramp-handle-expand-file-name)
4918 (tramp-handle-substitute-in-file-name)
4919 (tramp-handle-executable-find, tramp-process-sentinel)
4920 (tramp-handle-start-file-process, tramp-handle-process-file)
4921 (tramp-handle-call-process-region, tramp-handle-shell-command)
4922 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4923 (tramp-handle-insert-file-contents)
4924 (tramp-handle-insert-file-contents-literally)
4925 (tramp-handle-find-backup-file-name)
4926 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4927 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4928 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4929 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4930 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4931 (tramp-find-file-exists-command, tramp-open-shell)
4932 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4933 (tramp-open-connection-setup-interactive-shell)
4934 (tramp-local-coding-commands, tramp-remote-coding-commands)
4935 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4936 (tramp-inline-compress-commands, tramp-find-inline-compress)
4937 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4938 (tramp-send-command, tramp-wait-for-output)
4939 (tramp-send-command-and-check, tramp-barf-unless-okay)
4940 (tramp-send-command-and-read, tramp-mode-string-to-int)
4941 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4942 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4943 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4944 (tramp-method-out-of-band-p, tramp-local-host-p)
4945 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4946 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4947 (tramp-get-test-command, tramp-get-test-nt-command)
4948 (tramp-get-file-exists-command, tramp-get-remote-ln)
4949 (tramp-get-remote-perl, tramp-get-remote-stat)
4950 (tramp-get-remote-readlink, tramp-get-remote-trash)
4951 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4952 (tramp-get-local-uid, tramp-get-local-gid)
4953 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4955 (tramp-methods, tramp-default-method-alist)
4956 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4957 Move initialization to tramp-sh.el.
4958 (tramp-temp-name-prefix): Make it a defconst.
4959 (tramp-dissect-file-name): Don't check anymore for multi-hop
4961 (tramp-debug-outline-regexp): Add a docstring.
4962 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4963 (tramp-get-debug-buffer): Use it.
4965 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4966 initialization forms.
4967 (tramp-set-connection-property): Don't protect `tramp-message'
4968 call, it isn't necessary any longer.
4969 (tramp-dump-connection-properties): Use `ignore-errors'.
4971 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4972 'password-cache and 'auth-source.
4974 * net/tramp-gvfs.el (top):
4975 * net/tramp-smb.el (top): Require 'tramp-sh.
4977 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4979 * net/tramp-sh.el: New file, derived from tramp.el.
4980 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4981 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4982 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4983 Use `ignore-errors' where appropriate.
4984 (tramp-sh-file-name-handler-alist): Rename from
4985 `tramp-file-name-handler-alist'.
4986 (tramp-send-command-and-check): Return t or nil. Remove all
4987 `zerop' checks, where called.
4988 (tramp-handle-set-file-modes)
4989 (tramp-do-copy-or-rename-file-directly)
4990 (tramp-handle-delete-directory, tramp-handle-delete-file)
4991 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4992 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4993 (tramp-get-remote-ln): Set tramp-autoload cookie.
4995 * net/tramp-fish.el: Remove file.
4997 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4999 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5000 buffer-file-name to avoid file-locking. (Bug#7026)
5002 2010-09-13 Julien Danjou <julien@danjou.info>
5004 * notifications.el (notifications-notify): Add support for
5005 image-path and sound-name.
5006 (notifications-specification-version): Add this variable.
5008 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5012 2010-09-12 Leo <sdl.web@gmail.com>
5014 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5015 (rcirc-completion-start): New variables.
5016 (rcirc-nick-completions): Rename to rcirc-completions.
5017 (rcirc-nick-completion-start-offset): Delete.
5018 (rcirc-completion-at-point): New function for constructing
5019 completion data for both nicks and irc commands. Add to
5020 completion-at-point-functions in rcirc mode.
5021 (rcirc-complete): Rename from rcirc-nick-complete; use
5022 rcirc-completion-at-point.
5023 (defun-rcirc-command): Update rcirc-client-commands.
5025 2010-09-11 Glenn Morris <rgm@gnu.org>
5027 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5028 atomically, to avoid parallel build errors. (Bug#4196)
5030 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5032 * progmodes/sql.el: Version 2.6
5033 (sql-dialect): Synonym for "sql-product".
5034 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5035 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5036 Set "sql-buffer" to buffer name not buffer object so multiple sql
5037 interactive buffers work properly. Reverts misguided changes in
5039 (sql-comint): Make sure different buffer name is used if "*SQL*"
5040 buffer is for a different product.
5041 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5043 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5044 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5045 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5046 Accept new buffer name or prompt for one.
5047 (sql-port): Default to zero.
5048 (sql-comint-mysql): Handle "sql-port" as a numeric.
5049 (sql-port-history): Delete unused variable.
5050 (sql-get-login): Default "sql-port" to a number.
5051 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5052 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5053 "sqlite3" executables.
5054 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5055 (sql-buffer-live-p): New function.
5056 (sql-mode-menu, sql-send-string): Use it.
5057 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5059 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5060 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5062 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5064 * net/netrc.el (netrc-credentials): New convenience function.
5066 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5068 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5069 to replace texinfo-font-lock-syntactic-keywords.
5070 (texinfo-mode): Use it.
5072 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5073 Use syntax-propertize-function.
5075 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5076 replace sgml-font-lock-syntactic-keywords.
5077 (sgml-mode): Use it.
5079 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5080 since we don't use it.
5082 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5084 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5086 (vhdl-fontify-buffer): Adjust.
5088 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5089 replace tcl-font-lock-syntactic-keywords.
5092 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5093 replace simula-font-lock-syntactic-keywords.
5094 (simula-mode): Use it.
5096 * progmodes/sh-script.el (sh-st-symbol): Remove.
5097 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5098 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5099 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5100 (sh-font-lock-paren): Set syntax-multiline.
5101 (sh-font-lock-syntactic-keywords): Remove.
5102 (sh-syntax-propertize-function): New function to replace it.
5105 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5106 Define while compiling.
5107 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5108 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5109 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5110 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5111 (ruby-here-doc-end-syntax): Only define when
5112 syntax-propertize is not available.
5113 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5115 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5116 (electric-indent-chars): Silence bytecompiler.
5117 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5118 electric-indent-chars.
5120 * progmodes/python.el (python-syntax-propertize-function): New var to
5121 replace python-font-lock-syntactic-keywords.
5122 (python-mode): Use it.
5123 (python-quote-syntax): Simplify and adjust to new use.
5125 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5126 replace perl-font-lock-syntactic-keywords.
5127 (perl-syntax-propertize-special-constructs): New fun to replace
5128 perl-font-lock-special-syntactic-constructs.
5129 (perl-font-lock-syntactic-face-function): New fun.
5130 (perl-mode): Use it.
5132 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5133 to replace octave-font-lock-close-quotes.
5134 (octave-syntax-propertize-function): New function to replace
5135 octave-font-lock-syntactic-keywords.
5136 (octave-mode): Use it.
5138 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5139 replaces mixal-font-lock-syntactic-keywords.
5140 (mixal-mode): Use it.
5142 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5143 New var; replaces makefile-font-lock-syntactic-keywords.
5144 (makefile-mode): Use it.
5145 (makefile-imake-mode): Adjust.
5147 * progmodes/js.el (js--regexp-literal): Define while compiling.
5148 (js-syntax-propertize-function): New var; replaces
5149 js-font-lock-syntactic-keywords.
5152 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5153 replaces gdb-script-font-lock-syntactic-keywords.
5154 (gdb-script-mode): Use it.
5156 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5157 (fortran--font-lock-syntactic-keywords): New var.
5158 (fortran-line-length): Update syntax-propertize-function and
5159 fortran--font-lock-syntactic-keywords.
5161 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5163 * progmodes/cfengine.el (cfengine-mode):
5164 Use syntax-propertize-function.
5165 (cfengine-font-lock-syntactic-keywords): Remove.
5167 * progmodes/autoconf.el (autoconf-mode):
5168 Use syntax-propertize-function.
5169 (autoconf-font-lock-syntactic-keywords): Remove.
5171 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5172 (ada-after-change-function, ada-initialize-syntax-table-properties)
5173 (ada-handle-syntax-table-properties): Only define when
5174 syntax-propertize is not available.
5175 (ada-mode): Use syntax-propertize-function.
5177 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5178 (font-lock-fontify-syntactic-keywords-region): Move handling of
5179 font-lock-syntactically-fontified to...
5180 (font-lock-default-fontify-region): ...here.
5181 Let syntax-propertize-function take precedence.
5182 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5184 * emacs-lisp/syntax.el (syntax-propertize-function)
5185 (syntax-propertize-chunk-size, syntax-propertize--done)
5186 (syntax-propertize-extend-region-functions): New vars.
5187 (syntax-propertize-wholelines, syntax-propertize-multiline)
5188 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5189 (syntax-propertize): New functions.
5190 (syntax-propertize-rules): New macro.
5191 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5192 (syntax-ppss): Call syntax-propertize.
5194 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5196 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5198 * textmodes/ispell.el (ispell-init-process): Improve comments.
5199 XEmacs compatibility changes regarding (add-hook) 'local option
5200 and (set-process-query-on-exit-flag).
5202 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5204 * net/tramp-cache.el (tramp-parse-connection-properties):
5205 Set tramp-autoload cookie.
5207 2010-09-09 Glenn Morris <rgm@gnu.org>
5209 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5210 (imagemagick-register-types): Doc fix.
5212 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5214 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5216 * progmodes/js.el (require): Require is already "eval-and-compile".
5217 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5218 (js--re-search-backward): Use js--re-search-forward.
5220 * progmodes/fortran.el (fortran-line-length): Don't recompute
5221 syntactic keywords redundantly a second time.
5223 * progmodes/ada-mode.el: Replace "(set '" with setq.
5224 (ada-mode): Simplify.
5225 (ada-create-case-exception, ada-adjust-case-interactive)
5226 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5227 (ada-search-ignore-string-comment, ada-move-to-start)
5228 (ada-move-to-end): Use with-syntax-table.
5230 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5231 (font-lock-unfontify-region, font-lock-default-fontify-region):
5232 Update usage correspondingly.
5233 (font-lock-fontify-syntactic-keywords-region):
5234 Set parse-sexp-lookup-properties buffer-locally here.
5235 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5237 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5239 2010-09-08 Glenn Morris <rgm@gnu.org>
5241 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5242 Error if not compiled with -DBYTE_CODE_METER.
5244 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5245 Ignore dir-locals-file.
5247 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5249 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5251 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5252 for the `gnu' messages.
5253 (compilation-set-skip-threshold): New command.
5254 (compilation-start): Use \' rather than $.
5255 (compilation-forget-errors): Use clrhash.
5257 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5259 * textmodes/ispell.el (ispell-valid-dictionary-list):
5262 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5264 Migrate to Tramp 2.2. Rearrange load dependencies.
5265 (Bug#1529, Bug#5448, Bug#5705)
5267 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5268 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5269 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5271 * net/tramp.el (top): Remove all other tramp-* loads except
5272 tramp-compat.el. Remove all changes to tramp-unload-hook for
5273 other tramp-* packages. Rearrange defun order. Change calls of
5274 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5275 `tramp-compat-octal-to-decimal' to new function names.
5276 (tramp-terminal-type, tramp-initial-end-of-output)
5277 (tramp-methods, tramp-foreign-file-name-handler-alist)
5278 (tramp-tramp-file-p, tramp-completion-mode-p)
5279 (tramp-send-command-and-check, tramp-get-remote-path)
5280 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5281 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5282 (with-file-property, with-connection-property): Move to
5284 (tramp-local-call-process, tramp-decimal-to-octal)
5285 (tramp-octal-to-decimal): Move to tramp-compat.el.
5286 (tramp-handle-shell-command): Do not require 'shell.
5287 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5289 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5291 * net/tramp-cache.el (top): Require 'tramp. Add to
5292 `tramp-unload-hook'.
5293 (tramp-cache-data, tramp-get-file-property)
5294 (tramp-set-file-property, tramp-flush-file-property)
5295 (tramp-flush-directory-property, tramp-get-connection-property)
5296 (tramp-set-connection-property, tramp-flush-connection-property)
5297 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5299 (with-file-property, with-connection-property): New defuns, moved
5301 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5304 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5305 (tramp-version): Set tramp-autoload cookie.
5307 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5308 changes to tramp-unload-hook for other tramp-* packages. Add to
5309 `tramp-unload-hook'.
5310 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5311 (tramp-compat-call-process): New defuns, moved from tramp.el.
5313 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5314 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5315 Add to `tramp-unload-hook'. Change call of
5316 `tramp-compat-decimal-to-octal' to new function name.
5317 (tramp-fish-method): Make it a defconst.
5318 (tramp-fish-file-name-p): Make it a defsubst.
5319 (tramp-fish-method, tramp-fish-file-name-handler)
5320 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5322 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5323 `tramp-foreign-file-name-handler-alist'. Add to
5324 `tramp-unload-hook'.
5325 (tramp-ftp-method): Make it a defconst.
5326 (tramp-ftp-file-name-p): Make it a defsubst.
5327 (tramp-ftp-method, tramp-ftp-file-name-handler)
5328 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5330 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5331 `tramp-foreign-file-name-handler-alist'. Add to
5332 `tramp-unload-hook'. Change checks, whether package can be
5334 (tramp-gvfs-file-name-p): Make it a defsubst.
5335 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5336 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5337 (tramp-gvfs-handle-file-directory-p): New defun.
5338 (tramp-gvfs-file-name-handler-alist): Use it.
5340 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5341 `tramp-foreign-file-name-handler-alist'. Add to
5342 `tramp-unload-hook'.
5343 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5344 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5346 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5347 (tramp-gw-open-connection): Set tramp-autoload cookie.
5349 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5350 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5351 Add to `tramp-unload-hook'. Change checks, whether package can be
5353 (tramp-imap-file-name-p): Make it a defsubst.
5354 (tramp-imap-method, tramp-imaps-method)
5355 (tramp-imap-file-name-handler)
5356 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5358 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5359 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5360 Add to `tramp-unload-hook'. Change checks, whether package can be
5361 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5363 (tramp-smb-tunnel-method): Make it a defconst.
5364 (tramp-smb-file-name-p): Make it a defsubst.
5365 (tramp-smb-method, tramp-smb-file-name-handler)
5366 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5368 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5369 (tramp-uuencode-region): Set tramp-autoload cookie.
5371 * net/trampver.el (top) Add to `tramp-unload-hook'.
5372 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5373 cookie. Update release number.
5375 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5377 * textmodes/ispell.el (ispell-start-process): Make sure original
5378 arg list is properly initialized (Bug#6993, Bug#6994).
5380 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5382 * files.el (directory-abbrev-alist): Use \` as default regexp.
5384 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5385 chars like - or ] (bug#6984).
5386 (rx-any-condense-range): Explode 2-char ranges.
5388 2010-09-06 Glenn Morris <rgm@gnu.org>
5390 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5392 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * textmodes/bibtex.el:
5395 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5397 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5399 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5400 since no callers use it.
5401 (imap-message-get): Ditto.
5402 (imap-message-put): Ditto.
5403 (imap-mailbox-map): Ditto.
5404 (imap-mailbox-put): Ditto.
5405 (imap-mailbox-get): Ditto.
5406 (imap-mailbox-get): Revert last change for this function.
5408 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5410 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5411 callers to use `imap-fetch' instead. According to the comments, this
5412 should be safe, since all other IMAP clients use the 1:* syntax.
5413 (imap-enable-exchange-bug-workaround): Remove.
5414 (imap-debug): Remove -- doesn't seem very useful.
5416 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418 * net/imap.el (imap-log): New convenience function used throughout
5419 instead of repeating the same code all over the place.
5421 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5423 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5424 when mouse-drag-copy-region is non-nil (Bug#6956).
5426 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5428 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5429 Improve regexps (Bug#6987).
5430 (dired-sort-toggle): Search more robustly for -t flag.
5432 * files.el (get-free-disk-space): Search more robustly for
5433 "available" column. Suggested by Ehud Karni
5434 <ehud@unix.mvs.co.il>.
5436 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5438 * international/uni-bidi.el:
5439 * international/uni-category.el:
5440 * international/uni-combining.el:
5441 * international/uni-decimal.el:
5442 * international/uni-mirrored.el:
5443 * international/uni-name.el: Regenerate.
5445 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5447 * electric.el (electric-indent-post-self-insert-function):
5448 Don't reindent with a sloppy indentation function.
5450 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5451 border case in change-log-mode.
5453 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5455 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5456 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5457 Recognize leading tab in gcc-include regexp. Ignore names with
5458 leading "from" or "in" in gnu regexp (Bug#6937).
5460 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5462 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5463 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5464 (ispell-start-process): Avoid setq and simplify logic.
5465 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5466 (kill-buffer-hook): Don't use it globally with code that uses
5467 expand-file-name since that may call kill-buffer via
5468 code_conversion_restore.
5470 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5472 * emacs-lisp/package.el (package-directory-list): Only call
5473 file-name-nondirectory on a string.
5475 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5477 * emacs-lisp/package.el (package--download-one-archive):
5478 Ensure that archive-contents is valid before saving it.
5479 (package-activate-1, package-mark-obsolete, define-package)
5480 (package-compute-transaction, package-list-maybe-add): Use push.
5482 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5484 Use SMIE's blink-paren for octave-mode.
5485 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5486 Backslashes do not escape single-quotes, single-quotes do.
5487 (octave-block-else-regexp, octave-block-end-regexp)
5488 (octave-block-match-alist): Remove.
5489 (octave-smie-bnf-table): New var, with old content.
5490 (octave-smie-op-levels): Use it.
5491 (octave-smie-closer-alist): New var.
5492 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5493 (octave-blink-matching-block-open): Remove.
5494 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5495 (octave-electric-space): Let self-insert-command run expand-abbrev and
5498 * electric.el (electricity): New group.
5499 (electric-indent-chars): New var.
5500 (electric-indent-post-self-insert-function): New fun.
5501 (electric-indent-mode): New minor mode.
5502 (electric-pair-skip-self): New custom.
5503 (electric-pair-post-self-insert-function): New function.
5504 (electric-pair-mode): New minor mode.
5506 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5507 calcAlg-blink-matching-open.
5508 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5509 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5510 Use the new blink-matching-check-function.
5512 Provide blink-matching support to SMIE.
5513 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5514 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5515 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5517 * simple.el (newline): Fix last change to properly remove itself from
5520 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * simple.el (newline): Eliminate optimization.
5523 Use post-self-insert-hook to set hard-newline and things before
5524 running post-self-insert-hook.
5525 (blink-matching-check-mismatch): New function.
5526 (blink-matching-check-function): New variable.
5527 (blink-matching-open): Use them.
5528 Skip back forward over prefix chars skipped by forward-sexp.
5529 Don't check if the parens are backslash escaped.
5530 (blink-paren-post-self-insert-function): Check backslash escaping here.
5532 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5534 * emacs-lisp/package.el (package-menu-mode-map):
5535 Change package-menu-revert bindings to revert-buffer.
5536 (package-menu-mode): Set revert-buffer-function.
5537 (package-menu-revert): Doc fix.
5539 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5541 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5542 `default-directory' unless using Ispell per-directory personal
5543 dictionaries and not in a mini-buffer under XEmacs.
5544 (kill-buffer-hook): Do not kill ispell process on exit when
5545 `ispell-process-directory' is "~/". (Bug#6143)
5547 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5549 * simple.el (kill-new): Call interprogram-cut-function with only
5552 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5553 Remove cut buffer from error message.
5555 * term/x-win.el (x-select-text):
5556 * term/pc-win.el (x-selection-value):
5557 * term/ns-win.el (x-selection-value):
5558 * eshell/em-term.el:
5559 * w32-fns.el (x-get-selection-value):
5560 * mouse-sel.el (mouse-sel-set-selection-function):
5561 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5563 * term/x-win.el: Update documentation for x-last-selected-text-*.
5564 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5565 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5566 (x-select-text): Remove argument PUSH, update documentation.
5567 Remove cut-buffer code.
5568 (x-selection-value-internal): Was previously x-selection-value.
5569 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5570 Update documentation, remove cut-buffer code.
5571 Call x-selection-value-internal.
5572 (x-clipboard-yank): Call x-selection-value-internal.
5573 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5575 * term/pc-win.el (x-last-selected-text):
5576 x-cut-buffer-or-selection-value renamed to x-selection-value
5577 (x-select-text): Remove argument PUSH, update documentation.
5579 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5580 x-cut-buffer-or-selection-value renamed to x-selection-value
5581 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5582 (x-select-text): Remove argument PUSH, update documentation.
5584 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5586 * w32-fns.el (x-last-selected-text):
5587 x-cut-buffer-or-selection-value renamed to x-selection-value.
5588 (x-cut-buffer-max): Remove.
5589 (x-select-text): Remove argument PUSH, update documentation.
5591 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5593 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5595 * mouse-sel.el (mouse-sel-get-selection-function):
5596 x-cut-buffer-or-selection-value renamed to x-selection-value.
5597 (x-select-text): Remove optional push.
5599 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * simple.el (blink-paren-function): Move from C to here.
5602 (blink-paren-post-self-insert-function): New function.
5603 (post-self-insert-hook): Use it.
5605 * emacs-lisp/pcase.el (pcase-split-memq):
5606 Fix overenthusiastic optimisation.
5607 (pcase-u1): Handle the case of a lambda pred.
5609 2010-08-31 Kenichi Handa <handa@m17n.org>
5611 * international/mule-cmds.el (standard-display-european-internal):
5612 Setup standard-display-table for 8-bit characters by storing 8-bit
5613 characters in the element vector.
5615 * disp-table.el (standard-display-8bit):
5616 Setup standard-display-table for 8-bit characters by storing 8-bit
5617 characters in the element vector.
5618 (standard-display-european): Likewise.
5620 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5622 * textmodes/nroff-mode.el (nroff-view): New command.
5623 (nroff-mode-map): Bind it to C-c C-c.
5625 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5627 * emacs-lisp/smie.el (smie-down-list): New command.
5629 Remove old indentation and navigation code on octave-mode.
5630 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5631 smie-down-list rather than add a binding for octave-down-block.
5632 (octave-mark-block, octave-blink-matching-block-open):
5633 Rely on forward-sexp-function.
5634 (octave-fill-paragraph): Don't narrow, so you can use
5635 indent-according-to-mode.
5636 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5637 (octave-in-block-p, octave-re-search-forward-kw)
5638 (octave-re-search-backward-kw, octave-indent-calculate)
5639 (octave-end-as-array-index-p, octave-block-end-offset)
5640 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5641 (octave-down-block, octave-backward-up-block, octave-up-block)
5642 (octave-before-magic-comment-p, octave-indent-line): Remove.
5644 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5646 * emacs-lisp/package.el (package--read-archive-file): Just use
5647 `read', to avoid copying an additional string.
5648 (package-menu-mode): Set header-line-format here.
5649 (package-menu-refresh, package-menu-revert): Signal an error if
5650 not in the Package Menu.
5651 (package-menu-package-list): New var.
5652 (package--generate-package-list): Operate on the current buffer;
5653 don't assume that it is *Packages*, since the user may rename it.
5654 Allow persistent package listings and sort keys using
5655 package-menu-package-list and package-menu-package-sort-key.
5656 (package-menu--version-predicate): Fix version calculation.
5657 (package-menu-sort-by-column): Don't select the window.
5658 (package--list-packages): Create the *Packages* buffer.
5659 Set package-menu-package-list-key.
5660 (list-packages): Sorting by status is now the default.
5661 (package-buffer-info): Use match-string-no-properties.
5662 (define-package): Add a &rest argument for future proofing, but
5664 (package-install-from-buffer, package-install-buffer-internal):
5665 Merge into a single function, package-install-from-buffer.
5666 (package-install-file): Change caller.
5668 * finder.el: Load finder-inf using `require'.
5669 (finder-list-matches): Sorting by status is now the default.
5670 (finder-compile-keywords): Simpify printing.
5672 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5674 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5675 (octave-mode-map): Remove special bindings for forward/backward-block
5676 and octave-backward-up-block. Use smie-close-block.
5677 (octave-continuation-marker-regexp): New var.
5678 (octave-continuation-regexp): Use it.
5679 (octave-operator-table, octave-smie-op-levels)
5680 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5681 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5682 (octave-mode): Use SMIE.
5683 (octave-close-block): Delete.
5685 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5687 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5688 CLIPBOARD, not in PRIMARY. (Bug#6944)
5690 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5692 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5694 (smie-indent-column): Allow indirection through variables.
5696 * composite.el (save-buffer-state): Delete, unused.
5697 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5698 (font-lock-default-fontify-region): Use with-syntax-table.
5699 * jit-lock.el (with-buffer-unmodified): Remove.
5700 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5702 Use `declare' in defmacros.
5703 * window.el (save-selected-window):
5704 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5705 * progmodes/python.el (def-python-skeleton):
5706 * net/dbus.el (dbus-ignore-errors):
5707 * jka-cmpr-hook.el (with-auto-compression-mode):
5708 * international/mule.el (with-category-table):
5709 * emacs-lisp/timer.el (with-timeout):
5710 * emacs-lisp/lisp-mnt.el (lm-with-file):
5711 * emacs-lisp/eieio.el (with-slots):
5712 * emacs-lisp/easymenu.el (easy-menu-define):
5713 * emacs-lisp/debug.el (debugger-env-macro):
5714 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5715 (Multiple-value-call, Multiple-value-prog1):
5716 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5717 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5718 edebug rule to definition.
5719 * emacs-lisp/lisp-mode.el (save-selected-window)
5720 (with-current-buffer, combine-after-change-calls)
5721 (with-output-to-string, with-temp-file, with-temp-buffer)
5722 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5723 (dolist, dotimes, when, unless):
5724 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5726 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5728 * finder.el: Require `package'.
5729 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5730 (finder-package-info): Var deleted.
5731 (finder-keywords-hash, finder--builtins-alist): New vars.
5732 (finder-compile-keywords): Compute package--builtins and
5733 finder-keywords-hash instead of finder-keywords-hash, respecting
5734 the "Package" header.
5735 (finder-unknown-keywords, finder-list-matches):
5736 Use finder-keywords-hash and package--list-packages.
5737 (finder-mode): Don't set font-lock-defaults.
5738 (finder-exit): We don't use "*Finder-package*" and "*Finder
5739 Category*" buffers anymore.
5741 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5742 (package--builtins): Set default value to nil.
5743 (package-initialize): Load precomputed value of package--builtins
5745 (package-alist, package-compute-transaction)
5746 (package-download-transaction): Improve docstring.
5747 (package-read-all-archive-contents): Do not change
5748 package--builtins here.
5749 (list-packages): Make package-list-packages an alias for this.
5750 Sort by status by default.
5751 (package--list-packages): Add optional PACKAGES arg.
5752 (describe-package-1): Use font-lock-face property. For built-in
5753 packages, insert file commentary.
5754 (package--generate-package-list): Rename from
5755 package-list-packages-internal; all callers changed. Add optional
5756 PACKAGES arg. Add alphabetical sort fallbacks.
5757 (package-menu--version-predicate, package-menu--status-predicate)
5758 (package-menu--description-predicate)
5759 (package-menu--name-predicate): New functions.
5761 * info.el (Info-finder-find-node): Search package-alist instead of
5762 finder-package-info.
5764 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5766 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5768 (version-to-list): Handle versions like "10.3d".
5770 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5773 (macroexp-accumulate): Use `declare'.
5775 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5777 * whitespace.el (whitespace-style): Adjust type declaration.
5779 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5781 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5782 empty argument to gvfs-copy.
5784 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5786 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5787 handle new TRASH arg of `delete-file'.
5789 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5791 * net/tramp.el (tramp-handle-insert-directory): Don't use
5792 `forward-word', its default syntax could be changed.
5794 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5795 Michael Albinus <michael.albinus@gmx.de>
5797 Implement compression for inline methods.
5799 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5800 (tramp-copy-size-limit): Allow also nil.
5801 (tramp-inline-compress-commands): New defconst.
5802 (tramp-find-inline-compress, tramp-get-inline-compress)
5803 (tramp-get-inline-coding): New defuns.
5804 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5805 replaced by `tramp-get-inline-coding'.
5806 (tramp-handle-file-local-copy, tramp-handle-write-region)
5807 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5809 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5811 Detect ssh 'ControlMaster' argument automatically in some cases.
5813 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5814 (tramp-default-method): Use it.
5816 2010-08-26 Karel Klíč <kklic@redhat.com>
5818 * net/tramp.el (tramp-file-name-for-operation):
5819 Add file-selinux-context.
5821 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5823 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5825 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5827 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5830 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5832 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5833 (js-paren-indent-offset, js-square-indent-offset)
5834 (js-curly-indent-offset): New options.
5835 (js--proper-indentation): Use them.
5837 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5839 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5840 instead of inspecting font-lock properties (Bug#6916).
5842 2010-08-26 David Reitter <david.reitter@gmail.com>
5844 * server.el (server-visit-files): Run pre-command-hook and
5845 post-command-hook for each buffer while it is current (Bug#6910).
5846 (server-execute): Do not run hooks here.
5848 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5850 Sync with Tramp 2.1.19.
5852 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5853 (tramp-reporter-dump-variable, tramp-load-report-modules)
5854 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5855 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5857 * net/tramp-compat.el (top): Do not autoload
5858 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5859 only when `start-file-process' is not bound.
5860 (byte-compile-not-obsolete-vars): Define if not bound.
5861 (tramp-compat-funcall): New defmacro.
5862 (tramp-compat-line-beginning-position)
5863 (tramp-compat-line-end-position)
5864 (tramp-compat-temporary-file-directory)
5865 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5866 (tramp-compat-copy-file, tramp-compat-copy-directory)
5867 (tramp-compat-delete-file, tramp-compat-delete-directory)
5868 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5870 (tramp-advice-file-expand-wildcards): Do not use
5871 `tramp-handle-file-remote-p'.
5872 (tramp-compat-make-temp-file): Simplify fallback implementation.
5873 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5874 (tramp-compat-copy-tree): Remove function.
5875 (tramp-compat-delete-file): New defun.
5876 (tramp-compat-delete-directory): Provide implementation for older
5878 (tramp-compat-file-attributes): Handle only
5879 `wrong-number-of-arguments' error.
5881 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5882 Add PRESERVE_SELINUX_CONTEXT.
5883 (tramp-fish-handle-delete-file): Add TRASH arg.
5884 (tramp-fish-handle-directory-files-and-attributes):
5885 Do not use `tramp-fish-handle-file-attributes.
5886 (tramp-fish-handle-file-local-copy)
5887 (tramp-fish-handle-insert-file-contents)
5888 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5890 * net/tramp-gvfs.el (top): Require url-util.
5891 (tramp-gvfs-mount-point): Remove.
5892 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5893 and `set-file-selinux-context'.
5894 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5895 (tramp-gvfs-handle-file-selinux-context)
5896 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5897 (with-tramp-dbus-call-method): Format trace message.
5898 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5899 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5900 Implement backup call, when operation on local files fails.
5901 Use progress reporter. Flush properties of changed files.
5902 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5903 Use `tramp-compat-delete-file'.
5904 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5905 (tramp-gvfs-handle-make-directory): Make more traces.
5906 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5907 (tramp-gvfs-url-file-name): Hexify file name in url.
5908 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5909 into account for the resulting file name.
5910 (tramp-gvfs-handler-askquestion): Preserve current message, in
5911 order to let progress reporter continue afterwards. (Bug#6257)
5912 Return dummy mountpoint, when the answer is "no".
5913 See `tramp-gvfs-maybe-open-connection'.
5914 (tramp-gvfs-handler-mounted-unmounted)
5915 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5916 attribute "default_location". Set "prefix" property.
5917 Handle default-location.
5918 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5919 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5920 exists. Raise an error, if not (due to a corresponding answer
5921 "no" in interactive questions, for example).
5922 Use `tramp-compat-funcall'.
5924 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5925 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5926 (tramp-imap-do-copy-or-rename-file)
5927 (tramp-imap-handle-insert-file-contents)
5928 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5929 (tramp-imap-handle-delete-file): Add TRASH arg.
5931 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5932 Add PRESERVE-SELINUX-CONTEXT.
5933 (tramp-smb-handle-copy-file)
5934 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5935 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5936 Use `with-progress-reporter'.
5937 (tramp-smb-handle-delete-file): Add TRASH arg.
5939 * net/tramp.el (tramp-methods): Move hostname to the end in all
5940 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5942 (tramp-verbose): Describe verbose level 9.
5943 (tramp-completion-function-alist)
5944 (tramp-file-name-regexp, tramp-chunksize)
5945 (tramp-local-coding-commands, tramp-remote-coding-commands)
5946 (with-connection-property, tramp-completion-mode-p)
5947 (tramp-action-process-alive, tramp-action-out-of-band)
5948 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5949 (tramp-exists-file-name-handler): Fix docstring.
5950 (tramp-remote-process-environment): Use `format' instead of
5951 `concat'. Protect version string by apostroph.
5952 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5954 (tramp-file-name-regexp-unified)
5955 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5956 not regard the volume letter as remote filename. (Bug#5447)
5957 (tramp-perl-file-attributes)
5958 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5959 (tramp-vc-registered-read-file-names): Read input as
5960 here-document, otherwise the command could exceed maximum length
5962 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5963 `set-file-selinux-context'.
5964 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5965 backtrace functions.
5966 (tramp-error-with-buffer): Don't show the connection buffer when
5967 we are in completion mode.
5968 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5969 (tramp-handle-file-selinux-context)
5970 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5971 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5973 (with-progress-reporter): New defmacro.
5974 (tramp-debug-outline-regexp): New defconst.
5975 (top, tramp-rfn-eshadow-setup-minibuffer)
5976 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5977 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5978 (tramp-completion-mode-p, tramp-check-for-regexp)
5979 (tramp-open-connection-setup-interactive-shell)
5980 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5981 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5982 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5983 Use `tramp-compat-funcall'.
5984 (tramp-handle-make-symbolic-link): Flush file properties.
5985 (tramp-handle-load, tramp-handle-file-local-copy)
5986 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5987 (tramp-handle-vc-registered, tramp-maybe-send-script)
5988 (tramp-find-shell): Use `with-progress-reporter'.
5989 (tramp-do-file-attributes-with-stat): Add space in format string,
5990 in order to work around a bug in pdksh. Reported by Gilles Pion
5992 (tramp-handle-verify-visited-file-modtime): Do not send a command
5993 when the connection is not established.
5994 (tramp-handle-set-file-times): Simplify the check for utc.
5995 (tramp-handle-directory-files-and-attributes)
5996 (tramp-get-remote-path): Use `copy-tree'.
5997 (tramp-completion-handle-file-name-all-completions): Ensure, that
5998 non remote files are still checked. Oops.
5999 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6000 Handle PRESERVE-SELINUX-CONTEXT.
6001 (tramp-do-copy-or-rename-file): Add progress reporter.
6002 (tramp-do-copy-or-rename-file-directly): Do not use
6003 `tramp-handle-file-remote-p'.
6004 (tramp-do-copy-or-rename-file-out-of-band):
6005 Use `tramp-compat-delete-directory'.
6006 (tramp-do-copy-or-rename-file-out-of-band)
6007 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6008 Use `format-spec-make'.
6009 (tramp-handle-delete-file): Add TRASH arg.
6010 (tramp-handle-dired-uncache): Flush directory cache, not only file
6012 (tramp-handle-expand-file-name)
6013 (tramp-completion-handle-file-name-all-completions)
6014 (tramp-completion-handle-file-name-completion):
6015 Use `tramp-connectable-p'.
6016 (tramp-handle-start-file-process): Set connection property "vec".
6017 Use it, in order to invalidate file caches. Check only for
6018 `remote-tty' process property.
6019 Implement tty setting. (Bug#4604, Bug#6360)
6020 (tramp-file-name-for-operation): Add `call-process-region' and
6021 `set-file-selinux-context'.
6022 (tramp-find-foreign-file-name-handler)
6023 (tramp-advice-make-auto-save-file-name)
6024 (tramp-set-auto-save-file-modes): Remove superfluous check for
6025 `stringp'. This is done inside `tramp-tramp-file-p'.
6026 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6027 operations when we are in completion mode. This gives the user
6028 the chance to correct the file name in the minibuffer.
6029 (tramp-completion-mode-p): Use `non-essential'.
6030 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6031 compatibility: Use `completion-ignore-case' if
6032 `read-file-name-completion-ignore-case' does not exist.
6033 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6034 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6036 (tramp-action-password): Hide password prompt before next run.
6037 (tramp-process-actions): Widen connection buffer for the trace.
6038 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6039 process property. Trace stty settings if `tramp-verbose' >= 9.
6040 Apply workaround for IRIX64 bug. Move argument of last
6041 `tramp-send-command' where it belongs to.
6042 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6043 front of `login-args'.
6044 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6045 on "/dev/null" instead of "/".
6046 (tramp-get-ls-command-with-dired): Make test for "--dired"
6048 (tramp-set-auto-save-file-modes): Adapt version check.
6049 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6050 (tramp-handle-process-file): Call the program in a subshell, in
6051 order to preserve working directory.
6052 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6053 `tramp-remote-sh' from `tramp-methods'.
6054 (tramp-get-ls-command): Make test for "--color=never" stronger.
6055 (tramp-check-for-regexp): Use (forward-line 1).
6057 * net/trampver.el: Update release number.
6059 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6061 * help.el (help-map): Bind `C-h P' to describe-package.
6063 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6065 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6066 when downloading archives.
6067 (describe-package-1): Add package commentary.
6068 (package-install-button-action): New function.
6069 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6070 (package-menu-view-commentary): Function removed.
6071 (package-list-packages-internal): Hide the `package' package too.
6073 2010-08-25 Kenichi Handa <handa@m17n.org>
6075 * language/misc-lang.el ("Arabic"): New language environment.
6076 Setup composition-function-table for Arabic characters.
6078 * international/fontset.el (setup-default-fontset): Fix typo for
6079 arabic OTF spec (fini->fina).
6081 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6083 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6086 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6088 * whitespace.el: Allow cleaning up blanks without blank
6089 visualization (Bug#6651). Adjust help window for
6090 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6091 instead of whitespace-line-column (from EmacsWiki). New version
6093 (whitespace-style): Add new value 'face. Adjust docstring.
6094 (whitespace-space, whitespace-hspace, whitespace-tab):
6095 Adjust foreground property face.
6096 (whitespace-line-column): Adjust docstring and type declaration.
6097 (whitespace-style-value-list, whitespace-toggle-option-alist)
6098 (whitespace-help-text): Adjust const initialization.
6099 (whitespace-toggle-options, global-whitespace-toggle-options):
6101 (whitespace-display-window, whitespace-interactive-char)
6102 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6103 (whitespace-help-scroll): New fun.
6105 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6107 * emacs-lisp/package.el (list-packages): Alias for
6108 package-list-packages.
6110 2010-08-24 Kevin Ryde <user42@zip.com.au>
6112 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6115 * progmodes/ruby-mode.el (ruby): Add defgroup.
6117 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6119 * progmodes/python.el: Add Ipython support (Bug#5390).
6120 (python-shell-prompt-alist)
6121 (python-shell-continuation-prompt-alist): New options.
6122 (python--set-prompt-regexp): New function.
6123 (inferior-python-mode, run-python, python-shell):
6124 Require ansi-color. Use python--set-prompt-regexp to set the comint
6125 prompt based on the Python interpreter.
6126 (python--prompt-regexp): New var.
6127 (python-check-comint-prompt)
6128 (python-comint-output-filter-function): Use it.
6129 (run-python): Use a pipe (Bug#5694).
6131 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6133 * progmodes/python.el (python-send-region): Send a different
6134 Python command if Ipython is in use.
6135 (python-check-version): Use a Python command to find the version.
6137 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6139 * mouse.el (mouse-yank-primary): Avoid setting primary when
6140 deactivating the mark (Bug#6872).
6142 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6144 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6145 with "else" (Bug#3991).
6147 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6149 * net/dbus.el: Accept UNIX domain sockets as bus address.
6150 (top): Don't initialize `dbus-registered-objects-table' anymore,
6151 this is done in dbusbind,c.
6152 (dbus-check-event): Adapt test for bus.
6153 (dbus-return-values-table, dbus-unregister-service)
6154 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6157 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6159 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6161 2010-08-22 Juri Linkov <juri@jurta.org>
6163 * simple.el (read-extended-command): New function with the logic
6164 for `completing-read' moved to Elisp from `execute-extended-command'.
6165 Use `function-called-at-point' in `minibuffer-default-add-function'
6166 to get a command name for M-n (bug#5364, bug#5214).
6168 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6170 * startup.el (command-line-1): Issue warning for ignored arguments
6171 --unibyte, etc (Bug#6886).
6173 2010-08-22 Leo <sdl.web@gmail.com>
6175 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6176 (ignore, bright, dim, keyword): Split list of nicknames before
6177 passing to rcirc-add-or-remove (Bug#6894).
6179 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6181 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6183 2010-08-22 Leo <sdl.web@gmail.com>
6185 Fix buffer-list rename&refresh after killing a buffer in ido.
6186 * ido.el: Revert Óscar's.
6187 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6188 Remember the buffers at head, rather than their name.
6189 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6191 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6192 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6195 extra backslash added to each line (bug#6890).
6197 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6201 2010-08-22 Glenn Morris <rgm@gnu.org>
6203 * menu-bar.el (menu-bar-games-menu): Add landmark.
6205 2010-08-22 Glenn Morris <rgm@gnu.org>
6207 * align.el (align-regexp): Make group and spacing arguments
6208 use the interactive defaults when non-interactive. (Bug#6698)
6210 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6211 expansion, so as not to need sendmail.
6212 (mail-text-start): Remove declaration.
6213 (rmail-retry-failure): Require sendmail.
6215 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6217 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6219 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6221 * progmodes/flymake.el (flymake-start-syntax-check-process):
6222 Use `start-file-process' in order to let it run also on remote hosts.
6224 2010-08-22 Kenichi Handa <handa@m17n.org>
6226 * files.el: Add `word-wrap' as safe local variable.
6228 2010-08-22 Glenn Morris <rgm@gnu.org>
6230 * woman.el (woman-translate): Case matters. (Bug#6849)
6232 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6234 * simple.el (kill-region): Doc fix (Bug#6787).
6236 2010-08-22 Glenn Morris <rgm@gnu.org>
6238 * calendar/diary-lib.el (diary-header-line-format):
6239 Fit it to the window, not the frame.
6241 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6243 * subr.el (ignore-errors): Add debug declaration.
6245 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6247 * whitespace.el (whitespace-color-off): Remove post-command-hook
6250 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6254 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6256 * cus-edit.el (custom-group-value-create): Add extra newline
6257 before end line (Bug#6876).
6259 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6261 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6262 when extending it. Before killing on the second click, check if
6263 the buffer is the correct one. Doc fix.
6264 (mouse-secondary-save-then-kill): Allow usage without first
6265 calling mouse-start-secondary, by defaulting to point. Don't save
6266 an empty secondary selection. Doc fix.
6268 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6270 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6271 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6273 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6274 Adjust initialization.
6275 (whitespace-bob-marker, whitespace-eob-marker)
6276 (whitespace-buffer-changed): New vars.
6277 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6278 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6279 (whitespace-post-command-hook, whitespace-display-char-on):
6281 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6282 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6284 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * files.el (locate-file-completion-table): Only list the .el and .elc
6287 extensions if there's no other choice (bug#5955).
6289 * facemenu.el (facemenu-self-insert-data): New var.
6290 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6292 (facemenu-add-face): Use them.
6294 * simple.el (blink-matching-open): Obey forward-sexp-function.
6296 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6298 * simple.el (prog-mode-map): New var.
6299 (prog-indent-sexp): New command.
6301 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6303 * progmodes/prolog.el (smie): Require.
6305 * emacs-lisp/smie.el (smie-default-backward-token)
6306 (smie-default-forward-token): Strip properties.
6307 (smie-next-sexp): Be more careful with associative operators.
6308 (smie-forward-sexp-command): Generalize.
6309 (smie-backward-sexp-command): Simplify.
6310 (smie-closer-alist): New var.
6311 (smie-close-block): New command.
6312 (smie-indent-debug-log): New var.
6313 (smie-indent-offset-rule): Add a few more cases.
6314 (smie-indent-column): New function.
6315 (smie-indent-after-keyword): Use it.
6316 (smie-indent-keyword): Use it.
6317 Fix up the opener code's point position.
6318 (smie-indent-comment): Only applies at BOL.
6319 (smie-indent-debug): New command.
6321 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6322 declarations that are useful before running the macro.
6324 2010-08-18 Joakim Verona <joakim@verona.se>
6326 * image.el (imagemagick-types-inhibit): New variable.
6327 (imagemagick-register-types): New function.
6328 * image-mode.el (image-transform-properties): New function.
6329 (image-transform-set-scale, image-transform-fit-to-height)
6330 (image-transform-set-rotation, image-transform-set-resize)
6331 (image-transform-fit-to-width, image-transform-fit-to-height):
6333 (image-toggle-display-image): Support image transforms.
6335 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6337 * image.el (create-animated-image): Don't add heuristic mask to image
6340 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6342 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6343 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6345 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6349 Font-lock '...' strings, plus various simplifications and fixes.
6350 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6351 (octave-font-lock-close-quotes): New function.
6352 (octave-font-lock-syntactic-keywords): New var.
6353 (octave-mode): Use it. Set beginning-of-defun-function.
6354 (octave-mode-map): Don't override the <foo>-defun commands.
6355 (octave-mode-menu): Pass it directly to easy-menu-define;
6356 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6357 (octave-block-match-alist): Fix up last change so that
6358 octave-close-block uses the more specific keyword.
6359 (info-lookup-mode): Silence byte-compiler.
6360 (octave-beginning-of-defun): Not interactive any more.
6362 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6363 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6364 (octave-completion-at-point-function): Make sure point is within
6366 (octave-reindent-then-newline-and-indent):
6367 Use reindent-then-newline-and-indent.
6368 (octave-add-octave-menu): Remove.
6370 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6372 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6373 (report-emacs-bug-can-use-xdg-email): New functions.
6374 (report-emacs-bug): Set can-xdg-email to result of
6375 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6376 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6379 * net/browse-url.el (browse-url-default-browser): Add cond
6380 for browse-url-xdg-open.
6381 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6383 2010-08-17 Glenn Morris <rgm@gnu.org>
6385 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6386 (c-fontify-recorded-types-and-refs): Define for compiler.
6387 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6390 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6393 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6395 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6397 (tramp-handle-process-file): Call the program in a subshell, in
6398 order to preserve working directory.
6399 (tramp-action-password): Hide password prompt before next run.
6400 (tramp-process-actions): Widen connection buffer for the trace.
6402 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6404 * net/rcirc.el (rcirc-log-process-buffers): New option.
6405 (rcirc-print): Use it.
6406 (rcirc-generate-log-filename): New function.
6407 (rcirc-log-filename-function): Change default to
6408 rcirc-generate-log-filename (Bug#6828).
6410 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6412 * simple.el (deactivate-mark): If select-active-regions is `only',
6413 only set selection for temporarily active regions.
6415 * cus-start.el: Change defcustom for select-active-regions.
6417 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6419 * mouse.el (mouse--drag-set-mark-and-point): New function.
6420 (mouse-drag-track): Use LOCATION arg to push-mark.
6421 Use mouse--drag-set-mark-and-point to take click-count into
6422 consideration when updating point and mark (Bug#6840).
6424 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6426 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6427 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6429 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6431 * font-lock.el (lisp-font-lock-keywords-2):
6432 Add combine-after-change-calls, condition-case-no-debug,
6433 with-demoted-errors, and with-silent-modifications (Bug#6025).
6435 2010-08-14 Kevin Ryde <user42@zip.com.au>
6437 * emacs-lisp/copyright.el (copyright-update-year)
6438 (copyright-update): Temporary switch-to-buffer to ensure the
6439 buffer change being queried is visible (Bug#5394).
6441 2010-08-14 Tom Tromey <tromey@redhat.com>
6443 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6446 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6448 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6451 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6453 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6454 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6455 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6456 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6457 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6458 Call menu-bar-set-tool-bar-position.
6460 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6462 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6463 comment style (bug#6834).
6464 * progmodes/scheme.el (scheme-mode-syntax-table):
6465 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6466 "b" flag in "' 14b" syntax.
6468 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6469 for (un)commenting the region and performing completion.
6470 (octave-mode-menu): Use standard commands for help and completion.
6471 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6472 (octave-mode): Use define-derived-mode.
6473 Set completion-at-point-functions and don't set columns.
6474 Don't disable adaptive-fill-regexp.
6475 (octave-describe-major-mode, octave-comment-region)
6476 (octave-uncomment-region, octave-comment-indent)
6477 (octave-indent-for-comment): Remove.
6478 (octave-indent-calculate): Rename from calculate-octave-indent.
6479 (octave-indent-line, octave-fill-paragraph): Update caller.
6480 (octave-initialize-completions): No need to make an alist.
6481 (octave-completion-at-point-function): New function.
6482 (octave-complete-symbol): Use it.
6483 (octave-insert-defun): Use define-skeleton.
6485 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6486 (octave-mode-map): Use comment-dwim (bug#6829).
6488 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6490 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6491 indentation of inserted comment.
6493 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6495 * faces.el (region): Add type gtk that uses gtk colors.
6497 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6498 Handle theme-name change.
6500 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6502 * progmodes/sql.el: Version 2.5
6503 (sql-product-alist): Add :prompt-cont-regexp property for several
6505 (sql-prompt-cont-regexp): New variable.
6506 (sql-output-newline-count, sql-output-by-send):
6507 New variables. Record number of newlines in input text.
6508 (sql-send-string): Handle multiple filters and count newlines.
6509 (sql-send-magic-terminator): Count terminator newline.
6510 (sql-interactive-remove-continuation-prompt): Filters output to
6511 remove continuation prompts; one for each newline.
6512 (sql-interactive-mode): Set up new variables, prompt regexp and
6514 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6515 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6517 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6519 * emacs-lisp/pcase.el: New file.
6521 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6523 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6524 as here-document, otherwise the command could exceed maximum
6525 length of command line.
6526 (tramp-handle-vc-registered): Call script accordingly.
6527 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6529 2010-08-10 Kenichi Handa <handa@m17n.org>
6531 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6534 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6536 * emacs-lisp/package.el (package-version-split)
6537 (package--version-first-nonzero, package-version-compare):
6539 (package-directory-list, package-load-all-descriptors)
6540 (package--built-in, package-activate, define-package)
6541 (package-installed-p, package-compute-transaction)
6542 (package-read-all-archive-contents)
6543 (package--add-to-archive-contents, package-buffer-info)
6544 (package-tar-file-info, package-list-packages-internal):
6545 Use version-to-list and version-list-*.
6547 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6548 Use version-to-list.
6549 (package-upload-buffer-internal): Use version-list-<=.
6551 2010-08-09 Kenichi Handa <handa@m17n.org>
6553 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6556 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6558 * tutorial.el (tutorial--default-keys): C-d is now bound to
6559 delete-forward-char (Bug#6826).
6561 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6562 for `double' value of mouse-1-click-follows-link (Bug#6807).
6564 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6566 * replace.el (replace-highlight): Bind isearch-forward and
6567 isearch-error, ensuring that highlighting is updated if the user
6568 switches the search direction (Bug#6808).
6570 * isearch.el (isearch-lazy-highlight-forward): New var.
6571 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6572 (isearch-lazy-highlight-update): Use it.
6574 2010-08-08 Kenichi Handa <handa@m17n.org>
6576 * international/mule.el (define-charset): Store NAME as :base property.
6577 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6578 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6579 current priority. Force using the designation of the specific
6580 charset by adding `charset' text property. Improve the whole algorithm.
6582 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6584 * emulation/pc-select.el (pc-selection-mode-hook)
6585 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6586 (pc-selection-mode): Fix typos in docstrings.
6588 2010-08-08 Kenichi Handa <handa@m17n.org>
6590 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6591 ctext-non-standard-encodings-alist here.
6593 * international/mule.el (ctext-non-standard-encodings-alist):
6594 Add "koi8-r" and "microsoft-cp1251".
6595 (ctext-standard-encodings): New variable.
6596 (ctext-non-standard-encodings-table): List only elements for
6597 non-standard encodings.
6598 (ctext-pre-write-conversion): Adjust for the above change.
6599 Check ctext-standard-encodings.
6601 * international/mule-conf.el (compound-text): Doc fix.
6602 (ctext-no-compositions): Doc fix.
6603 (compound-text-with-extensions): Doc fix.
6605 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6607 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6609 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6611 * progmodes/which-func.el (which-func-format): Split help-echo text
6612 into lines, like other mode-line tooltips.
6614 * server.el (server-start): When using TCP sockets, force IPv4
6615 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6617 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6621 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6623 * term.el (term-delimiter-argument-list): Reflow docstring.
6624 (term-read-input-ring, term-write-input-ring, term-send-input)
6625 (term-bol, term-erase-in-display, serial-supported-or-barf):
6626 Fix typos in docstrings.
6628 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6630 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6632 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6634 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6636 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6638 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6639 Fix typo in docstring (bug#6747).
6641 2010-08-08 Leo <sdl.web@gmail.com>
6643 * eshell/esh-io.el (eshell-get-target): Better detection of
6644 read-only file (Bug#6762).
6646 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6648 * align.el (align-default-spacing): Doc fix.
6649 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6651 2010-08-08 Stephen Peters <speters@itasoftware.com>
6653 * calendar/icalendar.el
6654 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6655 (icalendar--get-weekday-numbers): New.
6656 (icalendar--convert-recurring-to-diary): Handle multiple byday
6657 values in weekly rules. (Bug#6766)
6659 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6661 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6662 (icalendar--create-uid, icalendar-export-region)
6663 (icalendar--parse-summary-and-rest): Code formatting.
6665 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6667 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6668 to italicize headers.
6669 (calc-highlight-selections-with-faces): New variable.
6670 (calc-selected-face, calc-nonselected-face): New faces.
6672 * calc/calccomp.el (math-comp-highlight-string): Use
6673 `calc-highlight-selections-with-faces' to determine how to highlight
6676 * calc/calc-sel.el (calc-show-selections): Change message to when
6677 using faces to highlight selections.
6679 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6681 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6682 Add SQLite 3 keywords, functions and datatypes.
6683 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6686 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6688 * simple.el (select-active-regions): Move to keyboard.c.
6689 (deactivate-mark): Used saved-region-selection.
6690 (select-active-region): Function removed.
6691 (activate-mark, set-mark, push-mark-command)
6692 (handle-shift-selection): Don't call it.
6693 (keyboard-quit): Avoid adding the region to the window selection.
6695 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6696 select-active-regions implementation.
6697 (mouse-yank-at-click): Doc fix.
6699 * cus-start.el: Add custom declaration for select-active-regions.
6701 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6703 * simple.el (delete-forward-char): Doc fix.
6705 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6706 after reading the tutorial.
6708 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6710 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6711 Fix for the case that a C style comment has its delimiters alone on
6712 their respective lines.
6714 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6716 * net/tramp.el (tramp-handle-start-file-process): Set connection
6718 (tramp-process-sentinel): Use it for flushing the cache.
6719 We cannot do it via the process buffer, the buffer could be deleted
6720 already when running the sentinel.
6722 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6724 * comint.el (comint-mode): Make directory tracking functions
6725 functional on remote files. (Bug#6764)
6727 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6729 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6731 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6733 * emacs-lisp/find-gc.el (find-gc-source-files):
6734 Rename unexec.c => unexcoff.c.
6736 * emacs-lisp/authors.el (authors-fixed-entries):
6737 Rename unexec.c => unexcoff.c.
6739 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6741 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6742 cache, not only file cache.
6743 (tramp-process-sentinel): New defun.
6744 (tramp-handle-start-file-process): Use it, in order to invalidate
6747 2010-08-03 Leo <sdl.web@gmail.com>
6749 * server.el (server-start): Simplify loop.
6751 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * frame.el (screen-height, screen-width, set-screen-width)
6754 (set-screen-height): Remove ancient compatibility aliases.
6756 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6757 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6759 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6760 that change current buffer.
6762 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6764 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6765 beginning of the string. Use `string-match-p'. (Bug#6765)
6767 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6769 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6771 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6773 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6774 (package--builtins): Tweak descriptions.
6775 (package-print-package): Upcase descriptions if necessary.
6776 Show all built-in packages in font-lock-builtin-face.
6777 (package-list-packages-internal): Omit "emacs" package.
6778 Show status of built-in packages as "built-in".
6780 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6782 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6783 before killing to preserve the primary selection (Bug#6701).
6785 * term/x-win.el (x-select-text): Doc fix.
6787 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6789 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6790 (objc-font-lock-extra-types):
6791 * progmodes/cc-mode.el (c-basic-common-init):
6792 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6793 (c++-make-template-syntax-table)
6794 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6795 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6796 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6797 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6798 * progmodes/cc-fonts.el (c-make-inverse-face)
6799 (c-basic-matchers-after):
6800 * progmodes/cc-engine.el (c-forward-keyword-clause)
6801 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6802 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6803 (c-guess-continued-construct, c-guess-basic-syntax):
6804 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6805 The above functions were modified or created.
6807 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6809 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6811 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6813 * files.el (bidi-paragraph-direction): Define safe local values.
6815 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6816 language-info-alist. Remove outdated FIXME in a comment.
6818 2010-07-31 Alan Mackenzie <acm@muc.de>
6820 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6821 Auto-fill broken in C/C++ modes.
6823 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6825 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6826 (menu-bar-showhide-tool-bar-menu-customize-disable)
6827 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6828 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6829 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6830 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6831 make a menu for Options => toolbar that can move it.
6833 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6835 * emacs-lisp/package-x.el (package--make-rss-entry):
6836 (package-maint-add-news-item, package--update-news)
6837 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6839 * emacs-lisp/package.el (package-archive-url): Rename from
6841 (package-install): Doc fix.
6842 (package-download-single, package-download-tar, package-install)
6843 (package-menu-view-commentary): Callers changed.
6845 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6847 * net/tramp.el (tramp-handle-start-file-process): Check only for
6848 `remote-tty' process property.
6849 (tramp-open-shell): Don't check for tty.
6850 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6853 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6856 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6858 * emacs-lisp/package.el (package-load-list, package-archives)
6859 (package-archive-contents, package-user-dir)
6860 (package-directory-list, package--builtins, package-alist)
6861 (package-activated-list, package-obsolete-alist): Mark as risky.
6863 2010-07-28 Phil Hagelberg <phil@evri.com>
6865 Add support for non-default package repositories.
6866 * emacs-lisp/package.el (package-archive-base): Var deleted.
6867 (package-archives): New variable.
6868 (package-archive-contents): Doc fix.
6869 (package-load-descriptor): Do nothing if descriptor file is missing.
6870 (package--write-file-no-coding): New function.
6871 (package-unpack-single): Use it.
6872 (package-archive-id): New function.
6873 (package-download-single, package-download-tar)
6874 (package-menu-view-commentary): Use it.
6875 (package-installed-p): Make second argument optional.
6876 (package-read-all-archive-contents): New function.
6877 (package-initialize): Use it.
6878 (package-read-archive-contents): Add ARCHIVE argument.
6879 (package--add-to-archive-contents): New function.
6880 (package-install): Don't call package-read-archive-contents.
6881 (package--download-one-archive): Store archive file in a
6882 subdirectory of package-user-dir.
6883 (package-menu-execute): Remove spurious line movement.
6885 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6887 * cus-start.el (tool-bar-style): Add text-image-horiz.
6889 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6891 * progmodes/gud.el (gud-common-init): Check for remoteness of
6892 `file', and not of `default-directory'.
6894 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6896 * net/tramp.el (tramp-methods): Move hostname to the end in all
6897 ssh `tramp-login-args'.
6898 (tramp-verbose): Describe verbose level 9.
6899 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6900 (tramp-open-connection-setup-interactive-shell): Trace stty
6901 settings if `tramp-verbose' >= 9.
6902 (tramp-handle-start-file-process): Implement tty setting.
6903 (Bug#4604, Bug#6360)
6905 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6906 `tramp-verbose' to 9.
6908 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6910 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6911 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6912 Remove references to package `lisp-re' (bug#4369).
6914 2010-07-27 Tom Tromey <tromey@redhat.com>
6916 * progmodes/js.el (js-mode):
6917 * progmodes/make-mode.el (makefile-mode):
6918 * progmodes/simula.el (simula-mode):
6919 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6921 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6923 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6925 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6926 (display-time-world-buffer-name, display-time-world-mode-map):
6927 Fix typos in docstrings.
6929 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6931 * image-mode.el (image-display-size): New function.
6932 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6933 (image-mode-fit-frame): Use it (Bug#6639).
6935 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6937 * dired.el (dired-buffers-for-dir): Handle list values of
6938 dired-directory (Bug#6636).
6940 2010-07-26 Sam Steingold <sds@gnu.org>
6942 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6943 Do not call `x-get-selection' the second time, reuse the value.
6945 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6947 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6948 which consist of control chars only. Suggested by Richard Stallman.
6950 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6952 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6953 exists before passing an error to find-file-not-found-functions
6956 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6958 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6959 Remove leading nil element, adjust values.
6960 (tetris-shapes, tetris-shape-scores):
6961 Change representation of shapes and remove some redundancy.
6962 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6963 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6964 Adjust for working with new representation of shapes.
6965 (tetris-shape-rotations): New function.
6966 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6967 (tetris-rotate-prev, tetris-rotate-next):
6968 Adjust for working with the new version of tetris-test-shape.
6970 2010-07-23 Markus Triska <markus.triska@gmx.at>
6972 * progmodes/ps-mode.el: Use comint (bug#5954).
6973 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6974 (ps-mode-other-newline): Simplify.
6975 (ps-run-mode): Derive from comint-mode instead of
6976 fundamental-mode, yielding input history etc.
6977 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6978 (ps-run-send-string): Adapt for comint-mode.
6979 (ps-run-newline): Remove now unneeded function.
6981 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6983 * net/tramp.el (tramp-methods): Move hostname to the end in all
6984 plink `tramp-login-args'.
6986 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6988 * net/tramp.el (tramp-open-shell): New defun.
6989 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6992 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6994 * net/tramp.el (tramp-file-name-regexp-unified)
6995 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6996 not regard the volume letter as remote filename. (Bug#5447)
6998 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7000 * custom.el (custom-declare-variable): Give a clearer error message
7001 when the docstring is missing (bug#6476).
7003 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7005 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7006 (sql-login-params): New widget definition.
7007 (sql-oracle-login-params, sql-mysql-login-params)
7008 (sql-solid-login-params, sql-sybase-login-params)
7009 (sql-informix-login-params, sql-ingres-login-params)
7010 (sql-ms-login-params, sql-postgres-login-params)
7011 (sql-interbase-login-params, sql-db2-login-params)
7012 (sql-linter-login-params): Use it.
7013 (sql-sqlite-login-params): Use it; Define "database" parameter as
7015 (sql-sqlite-program): Change to "sqlite3".
7016 (sql-comint-sqlite): Make sure database name is complete.
7017 (sql-for-each-login): New function.
7018 (sql-connect, sql-save-connection): Use it.
7019 (sql-get-login-ext): New function.
7020 (sql-get-login): Use it.
7021 (sql-make-alternate-buffer-name): Handle :file parameters.
7023 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7025 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7026 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7028 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7030 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7032 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7034 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7036 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7038 * net/tramp.el (tramp-get-ls-command)
7039 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7042 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7044 * progmodes/sql.el: Version 2.3.
7045 (sql-connection-alist): Change keys from symbols to strings;
7046 enhanced the widget definition.
7047 (sql-mode-menu): Add submenu to select connections.
7048 (sql-interactive-mode-menu): Add "Save Connection" item.
7049 (sql-add-product): Fix menu item.
7050 (sql-get-product-feature): Improved error handling.
7051 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7052 (sql-make-alternate-buffer-name): Simplified.
7053 (sql-product-interactive): Handle missing product.
7054 (sql-connect): Support string keys, minor improvements.
7055 (sql-save-connection): New function.
7056 (sql-connection-menu-filter): New function.
7058 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7060 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7061 (tramp-open-connection-setup-interactive-shell):
7062 Apply workaround for IRIX64 bug. Move argument of last
7063 `tramp-send-command' where it belongs to.
7065 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7067 * net/tramp.el (tramp-perl-file-attributes)
7068 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7069 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7070 front of `login-args'.
7072 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7074 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7075 Set `show-trailing-whitespace' to nil.
7076 (display-time-world-display): Simplify.
7078 2010-07-18 Alan Mackenzie <acm@muc.de>
7080 Enhance `c-file-style' in file/directory local variables.
7081 * progmodes/cc-mode.el (c-count-cfss): New function.
7082 (c-before-hack-hook): Call `c-set-style' differently according to
7083 whether c-file-style was set in file or directory local
7086 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7088 * progmodes/sql.el: Version 2.2.
7089 (sql-product, sql-user, sql-database, sql-server, sql-port):
7090 Use defcustom :safe keyword rather than putting safe-local-variable
7092 (sql-password): Use defcustom :risky keyword rather than putting
7093 risky-local-variable property.
7094 (sql-oracle-login-params, sql-sqlite-login-params)
7095 (sql-solid-login-params, sql-sybase-login-params)
7096 (sql-informix-login-params, sql-ingres-login-params)
7097 (sql-ms-login-params, sql-postgres-login-params)
7098 (sql-interbase-login-params, sql-db2-login-params)
7099 (sql-linter-login-params): Add `port' option.
7100 (sql-get-product-feature): Add NO-INDIRECT parameter.
7101 (sql-comint-oracle, sql-comint-sybase)
7102 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7103 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7104 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7105 (sql-comint-linter): Rename sql-connect-* functions to
7107 (sql-product-alist, sql-mode-menu): Rename as above and
7108 :sqli-connect-func to :sqli-comint-func.
7109 (sql-connection): New variable.
7110 (sql-interactive-mode): Set it.
7111 (sql-connection-alist): New variable.
7112 (sql-connect): New function.
7113 (sql--alt-buffer-part, sql--alt-if-not-empty)
7114 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7116 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7118 * image-mode.el (image-bookmark-make-record): Do not set context
7119 in an image (Bug#6650).
7121 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7123 * simple.el (select-active-region): New function.
7124 (push-mark-command, set-mark, activate-mark)
7125 (handle-shift-selection): Use it.
7126 (deactivate-mark): Don't check for size of region.
7128 * mouse.el (mouse-drag-track): Use select-active-region.
7130 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7132 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7135 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7137 * term/x-win.el (x-select-enable-primary): Change default to nil.
7138 (x-select-enable-clipboard): Add :version keyword.
7140 * mouse.el (mouse-drag-copy-region):
7141 * simple.el (select-active-regions): Likewise.
7143 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7145 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7146 (vc-coding-system-for-diff): Use it to decide whether to inherit
7147 from the file the EOL format for reading the diffs of that file.
7150 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7152 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7153 unibyte, so compressed attachments are not compressed again.
7155 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7157 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7158 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7159 (tramp-find-shell): Simplify setting connection property.
7160 (tramp-get-ls-command): Make test for "--color=never" stronger.
7162 2010-07-15 Simon South <ssouth@member.fsf.org>
7164 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7165 blocks within record declarations (i.e. variant parts) correctly.
7167 2010-07-15 Simon South <ssouth@member.fsf.org>
7169 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7170 over literal tokens when parsing so newlines aren't "absorbed" by
7171 single-line comments. Corrects the indentation of case blocks
7172 that have a comment on the first line.
7174 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7176 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7177 by Drew Adams (Bug#5504).
7179 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7181 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7182 now that Unicode is used (Bug#6594).
7184 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7186 * term/x-win.el (x-select-enable-clipboard): Default to t.
7187 (x-initialize-window-system): Don't overwrite Paste menu item.
7189 * simple.el (select-active-regions): Default to t.
7190 (push-mark-command): Don't overwrite primary with empty string.
7192 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7193 (mouse-drag-copy-region): Default to nil.
7195 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7196 Cut/Copy/Paste menu bar items.
7198 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7200 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7201 Patch applied by Karl Fogel.
7203 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7204 and `bookmark-current-buffer' if they have been already set in
7205 another buffer (e.g gnus-art).
7207 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7208 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7210 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7212 * bookmark.el (bookmark-make-record-default): Allow unneeded
7213 information to be omitted from the record.
7215 Adjust declarations and calls:
7217 * info.el (bookmark-make-record-default): Adjust declaration.
7218 (Info-bookmark-make-record): Adjust call.
7220 * woman.el (bookmark-make-record-default): Adjust declaration.
7221 (woman-bookmark-make-record): Adjust call.
7223 * man.el (bookmark-make-record-default): Adjust declaration.
7224 (Man-bookmark-make-record): Adjust call.
7226 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7228 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7230 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7232 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7233 This is also from Thierry Volpiatto's patch in bug #6444. However,
7234 because it was extraneous to the functional change in that patch,
7235 and causes a re-indendation, I am committing it separately.
7237 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7239 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7240 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7241 Patch applied by Karl Fogel (Bug#6444).
7243 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7245 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7247 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7249 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7250 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7251 (ns-alternatives-map): Change S-tab binding to backtab
7254 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7257 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7259 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7262 * language/tv-util.el (tai-viet-re): Remove format.
7264 2010-07-12 Kenichi Handa <handa@m17n.org>
7266 * language/hebrew.el: Remove no-byte-compile declaration.
7267 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7268 composition-function-table for 3-character looking back.
7269 (hebrew-font-get-precomposed): New function.
7270 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7272 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7274 * mouse.el (mouse-drag-track): Handle select-active-regions
7277 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7279 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7280 empty argument to gvfs-copy.
7282 2010-07-10 Glenn Morris <rgm@gnu.org>
7284 * calendar/calendar.el (calendar-week-end-day): New function.
7285 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7286 Respect calendar-week-start-day. (Bug#6606)
7287 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7288 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7289 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7290 respect calendar-week-start-day.
7292 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7294 * simple.el (use-region-p): Doc fix (Bug#6607).
7296 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7299 Add regexps for cucumber and ruby.
7301 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7303 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7304 (epa-file-insert-file-contents): Hack to prevent
7305 find-file from opening empty buffer when decryption failed
7308 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7310 * textmodes/ispell.el (ispell-alternate-dictionary):
7311 Use file-readable-p.
7312 Return nil if no word-list is found at default locations.
7313 (ispell-complete-word-dict): Default to nil.
7314 (ispell-command-loop): Use 'word-list' when using lookup-words.
7315 (lookup-words): Use ispell-complete-word-dict or
7316 ispell-alternate-dictionary. Check for word-list availability
7317 and handle errors if needed with better messages (Bug#6539).
7318 (ispell-complete-word): Use ispell-complete-word-dict or
7319 ispell-alternate-dictionary.
7321 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7323 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7324 builtins (BufferError, BytesWarning, WindowsError; callables
7325 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7327 2010-07-07 Glenn Morris <rgm@gnu.org>
7329 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7330 (zone-shift-left): Ignore intangibility, and any errors from
7332 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7333 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7334 deleting, and copying text properties.
7335 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7336 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7337 to point-max is hard.
7338 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7339 (zone-fill-out-screen): Ignore intangibility.
7341 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7343 * menu-bar.el (menu-bar-mode):
7344 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7347 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7348 word/line selection (Bug#6565).
7350 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7352 * net/dbus.el (dbus-send-signal): Declare function.
7354 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7356 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7357 (dbus-register-property): New optional argument EMITS-SIGNAL.
7358 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7360 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7362 * mouse.el (mouse-drag-overlay): Variable deleted.
7363 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7364 (mouse--remap-link-click-p): New function.
7365 (mouse-drag-track): Handle dragging by using temporary Transient
7366 Mark mode, instead of a special overlay.
7367 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7370 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7373 2010-07-02 Juri Linkov <juri@jurta.org>
7375 * autoinsert.el (auto-insert-alist): Fix readability
7376 by using dotted pair notation for lambda.
7378 2010-07-02 Juri Linkov <juri@jurta.org>
7380 * faces.el (read-face-name): Rename arg `string-describing-default'
7381 to `default'. Doc fix. Display the default value in quotes
7382 in the prompt. With empty input, return the `default' arg,
7383 unless the default value is a string (in which case return nil).
7384 (describe-face): Replace the string `default' arg of `read-face-name'
7385 with the symbol `default'.
7387 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7389 * emulation/viper-cmd.el (viper-delete-backward-char)
7390 (viper-del-backward-char-in-insert)
7391 (viper-del-backward-char-in-replace, viper-change)
7392 (viper-backward-indent): Replace delete-backward-char with
7393 delete-char (Bug#6552).
7395 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7397 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7399 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7401 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7402 argument passed to frame-creation-function (Bug#5378).
7404 * faces.el (x-handle-named-frame-geometry)
7405 (x-handle-reverse-video, x-create-frame-with-faces)
7406 (face-set-after-frame-default, tty-create-frame-with-faces):
7407 Don't separately consult default-frame-alist. It is now passed as the
7410 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7412 * startup.el (command-line): Don't call tool-bar-setup in a
7415 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7417 * ruler-mode.el (ruler--save-header-line-format): New fun.
7418 (ruler-mode): Use it as a setter function, so as not to overwrite
7419 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7421 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7423 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7424 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7425 (vc-log-outgoing): Use it.
7426 (vc-diff-internal): Set diff-vc-backend.
7428 * vc/diff-mode.el (diff-vc-backend): New var.
7430 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7432 * dynamic-setting.el (font-setting-change-default-font):
7433 Remove call to message.
7435 2010-06-28 Kenichi Handa <handa@m17n.org>
7437 * international/quail.el (quail-insert-kbd-layout): Fix the
7438 showing of untranslated characters.
7440 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7442 * simple.el (delete-active-region): New option.
7443 (delete-backward-char): Implement in Lisp.
7444 (delete-forward-char): New command.
7446 * mouse.el (mouse-region-delete-keys): Deleted.
7447 (mouse-show-mark): Simplify.
7449 * bindings.el (global-map): Bind delete and DEL, the former to
7450 delete-forward-char.
7452 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7454 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7455 (ruby-mode): Bind indent-line-function (Bug#5119).
7457 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7459 * startup.el (command-line): Recognize "0" X resource value.
7461 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7463 * startup.el (command-line): Use X resources to set the value of
7464 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7466 * menu-bar.el (menu-bar-mode):
7467 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7468 Set init-value to t.
7470 * frame.el (frame-notice-user-settings): Don't change
7471 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7472 vice versa (Bug#2249).
7474 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7476 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7478 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7480 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7481 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7483 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7484 default directories are expanded (Bug#6143).
7486 2010-06-24 Juri Linkov <juri@jurta.org>
7488 * minibuffer.el (completions-format): Change default from nil to
7489 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7491 2010-06-24 Juri Linkov <juri@jurta.org>
7493 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7494 buffer-locally to lambda that re-runs the vc diff command.
7497 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7499 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7500 echo area is in use (Bug#3412).
7502 2010-06-22 Glenn Morris <rgm@gnu.org>
7504 * textmodes/texinfmt.el (texinfo-format-region)
7505 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7506 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7507 (texinfo-format-option, texinfo-noindent):
7508 Use line-beginning-position and line-end-position.
7510 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7511 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7512 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7515 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7517 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7518 forward-line fallout.
7520 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7522 * mouse.el (mouse-appearance-menu): Add docstring.
7524 * help.el (describe-key): Print up-event using key-description.
7526 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7528 * net/zeroconf.el (zeroconf-resolve-service)
7529 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7530 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7532 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7534 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7536 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7538 Avoid displaying files with a nil state in vc-dir.
7539 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7540 cases that cause insertion.
7541 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7544 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7546 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7548 2010-06-29 Leo <sdl.web@gmail.com>
7550 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7552 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7554 * generic-x.el (bat-generic-mode): Fix regexp for command line
7555 switches (Bug#5719).
7557 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7559 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7560 of nconc to avoid pure storage error (Bug#6239).
7562 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7564 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7565 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7566 bindings of bookmark-automatically-show-annotations (Bug#6515).
7568 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7570 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7571 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7573 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7575 * comint.el (make-comint, make-comint-in-buffer): Mention return
7576 value in the docstrings. (Bug#6498)
7578 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7580 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7581 since it is not present when using some non-default switches.
7583 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7585 * simple.el (compose-mail): Fix doc string to refer to
7586 `compose-mail-user-agent-warnings', instead of to the
7587 nonexistent `compose-mail-check-user-agent'.
7589 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7591 Fix an indentation bug:
7593 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7594 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7597 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7598 (c-clear->-pair-props-if-match-before): now return t when they've
7599 cleared properties, nil otherwise.
7600 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7601 by taking account of the existing value.
7603 * progmodes/cc-defs.el
7604 (c-clear-char-property-with-value-function): Fix this to clear the
7605 property rather than overwriting it with nil.
7607 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7609 * emacs-lisp/package.el (package-print-package): Add link to
7610 package description via describe-package.
7611 (describe-package-1): List package requirements. Add button to
7612 perform installation.
7613 (package-menu-describe-package): New command.
7615 * help-mode.el (help-package): New button type.
7617 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7619 * emacs-lisp/package.el: Move package-list-packages binding to
7621 (describe-package, describe-package-1, package--dir): New funs.
7622 (package-activate-1): Use package--dir.
7624 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7626 * help-mode.el (help-package-def): New button type.
7628 * menu-bar.el: Move package-list-packages binding here from
7631 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7633 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7635 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * emacs-lisp/edebug.el (edebug-read-list):
7638 Phase out old-style backquotes.
7640 2010-06-17 Juri Linkov <juri@jurta.org>
7642 * help-mode.el (help-mode): Set buffer-local variable
7643 revert-buffer-function to help-mode-revert-buffer.
7644 (help-mode-revert-buffer): New function.
7646 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7647 before popping to "*info*" (like in other Info functions).
7648 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7649 old-history-forward. Pop to old-buffer-name or "*info*" to
7650 recreate the killed buffer. Set Info-history-forward from
7651 old-history-forward.
7652 (Info-breadcrumbs-depth): Add :group and :version.
7654 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7656 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7658 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7660 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7661 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7663 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7665 * emacs-lisp/package.el (package-menu-mode-map):
7666 Move initialization into declaration.
7668 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7670 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7672 * emacs-lisp/package.el (package-archive-base): Point to
7674 (package-enable, package-load-list): New defcustoms.
7675 (package-user-dir, package-directory-list): Turn into defcustoms.
7676 Don't include package-user-dir in package-directory-list.
7677 (package--builtins-base): Don't include Emacs as a "package".
7678 (package-subdirectory-regexp): New var.
7679 (package-load-all-descriptors, package-compute-transaction)
7680 (package-download-transaction): Obey package-load-list.
7681 (package-activate-1): Rename from package-do-activate.
7682 (package-list-packages-internal): Check package-load-list.
7683 (package-load-descriptor, package-generate-autoloads)
7684 (package-unpack, package-unpack-single)
7685 (package--read-archive-file, package-delete):
7686 Use expand-file-name.
7688 * emacs-lisp/package-x.el: New file. Package uploading
7689 functionality split out from package.el.
7691 * startup.el (command-line): Load packages after reading init file.
7693 2010-06-17 Tom Tromey <tromey@redhat.com>
7695 * emacs-lisp/package.el: New file.
7697 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7699 Fix vc-annotate for renamed files when using Git.
7700 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7701 ls-files. Doe not pass the object as a file name to cat-file, it
7703 (vc-git-annotate-command): Pass the file name using -- to avoid
7704 ambiguity with the revision.
7705 (vc-git-previous-revision): Pass a relative file name.
7707 2010-06-22 Glenn Morris <rgm@gnu.org>
7709 * progmodes/js.el (js-mode-map): Use standard capitalization and
7710 ellipses for menu entries.
7712 * wid-edit.el (widget-complete): Doc fix.
7714 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7716 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7718 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7720 Fix annotating other revisions for renamed files in vc-annotate.
7721 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7722 VC backend. Use it when non-nil.
7723 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7726 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7727 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7728 Do not pass the file name to the 'previous-revision call when we
7729 don't want a file diff. (Bug#6489)
7731 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7733 Fix finding revisions for renamed files in vc-annotate.
7734 * vc/vc.el (vc-find-revision): Add an optional argument for
7735 the VC backend. Use it when non-nil.
7736 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7737 backend to vc-find-revision. (Bug#6487)
7739 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7741 Fix reading file names in Git annotate buffers.
7742 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7743 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7745 2010-06-20 Alan Mackenzie <acm@muc.de>
7747 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7748 in file local variables, set it first.
7750 2010-06-19 Glenn Morris <rgm@gnu.org>
7752 * descr-text.el (describe-char-unicode-data): Insert separating
7753 space when needed. (Bug#6422)
7755 * progmodes/idlwave.el (idlwave-action-and-binding):
7756 Fix typo in 2009-12-03 change. (Bug#6450)
7758 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7760 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7761 handling for `lambda' (misunderstanding).
7763 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7765 * calc/calc-poly.el (math-accum-factors): Make sure that
7766 constants aren't distributed after they are factored out.
7768 2010-06-16 Juri Linkov <juri@jurta.org>
7770 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7771 `list-colors-print'. (Bug#6332)
7773 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7775 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7777 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7778 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7780 * font-lock.el (font-lock-major-mode): Rename from
7781 font-lock-mode-major-mode to distinguish it from
7782 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7783 (font-lock-set-defaults):
7784 * font-core.el (font-lock-default-function): Adjust users.
7785 (font-lock-mode): Don't set it at all.
7787 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7789 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7791 2010-06-16 Glenn Morris <rgm@gnu.org>
7793 * calendar/appt.el (appt-time-msg-list): Doc fix.
7794 (appt-check): Let-bind appt-warn-time.
7795 (appt-add): Make the 3rd argument optional.
7796 Simplify argument names. Doc fix. Check for integer WARNTIME.
7797 Only add WARNTIME to the output list if non-nil.
7799 2010-06-16 Ivan Kanis <apple@kanis.eu>
7801 * calendar/appt.el (appt-check): Let the 3rd element of
7802 appt-time-msg-list specify the warning time.
7803 (appt-add): Add new argument with the warning time. (Bug#5176)
7805 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7807 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7808 older than version 1.6. (Bug#6361)
7810 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7812 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7813 used by cl-do-arglist. (Bug#6408)
7815 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7817 * textmodes/ispell.el (ispell-dictionary-base-alist):
7818 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7819 Suggested by Rolando Pereira (bug#6434).
7821 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7823 * facemenu.el (list-colors-sort): Doc fix.
7825 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7827 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7829 2010-06-14 Juri Linkov <juri@jurta.org>
7831 Add sort option `list-colors-sort'. (Bug#6332)
7832 * facemenu.el (color-rgb-to-hsv): New function.
7833 (list-colors-sort): New defcustom.
7834 (list-colors-sort-key): New function.
7835 (list-colors-display): Doc fix. Sort list according to the option
7837 (list-colors-print): Add HSV values to `help-echo' property of
7840 2010-06-14 Juri Linkov <juri@jurta.org>
7842 * compare-w.el: Move to the "vc" subdirectory.
7844 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7846 * image-mode.el (image-mode-map): Remap left-char and right-char.
7848 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7850 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7852 * term/common-win.el (x-colors): Add all the color names defined
7853 in rgb.txt (Bug#6332).
7855 * facemenu.el (list-colors-print): Don't print extra names if it
7856 will overflow the window width.
7858 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7861 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7863 * files.el (make-directory): Doc fix (bug#6396).
7865 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7867 * net/tramp.el (tramp-remote-process-environment): Protect version
7868 string by apostroph.
7869 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7871 (tramp-file-name-for-operation): Add `call-process-region'.
7872 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7874 * net/tramp-compat.el (top): Do not autoload
7875 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7876 only when `start-file-process' is not bound.
7877 (tramp-advice-file-expand-wildcards): Do not use
7878 `tramp-handle-file-remote-p'.
7879 (tramp-compat-make-temp-file): Handle the case, that
7880 `make-temp-file' has no third argument EXTENSION.
7882 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7884 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7886 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7888 2010-06-11 Juri Linkov <juri@jurta.org>
7890 * finder.el (finder-known-keywords): Add keyword "vc"
7891 for version control.
7893 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7894 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7895 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7896 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7898 2010-06-11 Juri Linkov <juri@jurta.org>
7900 Move version control related files to the "vc" subdirectory.
7901 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7902 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7903 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7904 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7905 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7906 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7907 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7908 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7909 Move files to the "vc" subdirectory.
7911 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7913 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7916 2010-06-11 Stephen Eglen <stephen@gnu.org>
7918 * shell.el: Bind `shell-resync-dirs' to M-RET.
7920 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7922 * notifications.el: Move file from lisp/net, because it is
7923 supposed to talk locally to the user.
7925 2010-06-10 Julien Danjou <julien@danjou.info>
7927 * net/notifications.el (notifications-on-action-signal)
7928 (notifications-on-closed-signal): Pass notification id as first
7929 argument to the callback functions. Add docstrings.
7930 (notifications-notify): Fix docstring.
7932 2010-06-10 Glenn Morris <rgm@gnu.org>
7934 * emacs-lisp/authors.el (authors-ignored-files)
7935 (authors-valid-file-names): Add some files.
7937 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7939 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7940 merge conflict, giving preference to the emacs-23 version of the code.
7942 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7944 * emacs-lisp/advice.el (ad-compile-function):
7945 Define warning-suppress-types before we let-bind it (bug#6275).
7947 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7948 declare it, make it buffer-local and permanent-local (bug#6324).
7949 (vc-resynch-window): Adjust name.
7950 * vc-hooks.el (vc-find-file-hook): Adjust name.
7952 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7954 * net/notifications.el (notifications-notify): Fix docstring.
7956 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7958 Update to Unicode 6.0.0 beta.
7959 * international/charprop.el: Update copyright.
7960 * international/mule-cmds.el (ucs-names): Update character ranges.
7961 * international/uni-bidi.el:
7962 * international/uni-category.el:
7963 * international/uni-combining.el:
7964 * international/uni-comment.el:
7965 * international/uni-decimal.el:
7966 * international/uni-decomposition.el:
7967 * international/uni-digit.el:
7968 * international/uni-lowercase.el:
7969 * international/uni-mirrored.el:
7970 * international/uni-name.el:
7971 * international/uni-numeric.el:
7972 * international/uni-old-name.el:
7973 * international/uni-titlecase.el:
7974 * international/uni-uppercase.el: Regenerate.
7976 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7978 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7979 (smie-precs-precedence-table): Fix typo in docstring.
7981 * vc-mtn.el (log-edit-extract-headers): Declare function.
7983 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7985 * net/notifications.el (dbus-register-signal): Declare function.
7986 (notifications-notify): Fix typos and reflow docstring.
7988 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7990 Improve VC create/retrieve tag/branch.
7991 * vc.el (vc-create-tag): Do not read the directory name for VCs
7992 with repository revision granularity. Adjust the tag/branch
7993 prompt. Reset VC properties.
7994 (vc-retrieve-tag): Do not read the directory name for VCs
7995 with repository revision granularity. Reset VC properties.
7997 2010-06-09 Julien Danjou <julien@danjou.info>
7999 * net/notifications.el: New file.
8001 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8003 Add optional support for resetting VC properties.
8004 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8005 call vc-file-clearprops when true.
8006 (vc-resynch-buffer): Add new optional argument, pass it down.
8007 (vc-resynch-buffers-in-directory): Likewise.
8009 Improve support for special markup in the VC commit message.
8010 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8011 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8012 * vc-git.el (vc-git-checkin):
8013 * vc-bzr.el (vc-bzr-checkin): Likewise.
8015 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8017 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8018 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8020 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8022 * iimage.el: Remove images as soon as the underlying text is modified.
8023 (iimage-modification-hook): New function.
8024 (iimage-mode-buffer): Use it.
8026 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8028 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8029 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8030 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8031 (smie-indent-keyword): Add handling of open-paren keywords.
8032 (smie-indent-comment-continue): Don't assume comment-continue.
8034 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8036 * window.el (pop-to-buffer): Remove the conditional that
8037 compares new-window and old-window, so it will reselect
8038 the selected window unconditionally.
8039 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8041 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * emacs-lisp/smie.el (smie-indent-offset-after)
8044 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8045 (smie-indent-after-keyword): Use them.
8046 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8047 (smie-indent-keyword): Tweak the black magic.
8048 (smie-indent-comment-continue): Strip comment-continue before use.
8049 (smie-indent-functions): Indent comments before keywords.
8051 2010-06-06 Juri Linkov <juri@jurta.org>
8053 * isearch.el (isearch-lazy-highlight-search): Fix looping
8054 by checking for empty match. This syncs this loop with the
8055 similar loop in `isearch-search'. (Bug#6362)
8057 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8059 * net/dbus.el (dbus-register-method): Declare function.
8060 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8061 (dbus-introspect): Doc fix.
8062 (dbus-event-bus-name, dbus-introspect-get-interface)
8063 (dbus-introspect-get-argument): Reflow docstrings.
8065 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8067 vc-log-incoming/vc-log-outgoing fixes for Git.
8068 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8069 incoming/outgoing logs.
8070 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8071 instead of vc-git-compute-remote.
8072 (vc-git-compute-remote): Remove.
8074 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8076 * term/common-win.el (x-colors): Add "dark green" and "dark
8077 turquoise" (Bug#6332).
8079 2010-06-04 Juri Linkov <juri@jurta.org>
8081 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8082 Instead of setting `replace' to t and replacing the same string
8083 with itself, don't do certain actions when
8084 kill-do-not-save-duplicates is non-nil and string is equal to car
8085 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8086 interprogram-paste strings to kill-ring, and don't push the input
8087 argument `string' to kill-ring.
8088 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8090 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8092 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8094 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8096 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8097 (tramp-gvfs-handler-mounted-unmounted)
8098 (tramp-gvfs-connection-mounted-p): Handle default-location.
8100 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8101 move files to trash.
8103 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8105 * international/mule-cmds.el (nonascii-insert-offset)
8106 (nonascii-translation-table): Add obsolescence information.
8108 * international/mule.el (make-translation-table-from-vector): Doc fix.
8110 2010-06-03 Glenn Morris <rgm@gnu.org>
8112 * desktop.el (desktop-clear-preserve-buffers):
8113 Add "*Warnings*" buffer. (Bug#6336)
8115 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8117 vc-log-incoming/vc-log-outgoing improvements for Git.
8118 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8120 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8122 Add bindings for vc-log-incoming and vc-log-outgoing.
8123 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8124 and vc-log-outgoing.
8125 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8126 and vc-log-outgoing.
8128 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8130 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8131 (rcirc-handler-366): Always sort nicknames.
8133 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8135 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8137 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8139 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8141 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8143 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8144 (rcirc-sort-nicknames-join): Avoid setq.
8146 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8148 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8149 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8150 (rcirc-handler-366): Use them.
8152 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8154 Split smie-indent-calculate into more manageable chunks.
8155 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8156 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8157 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8158 (smie-indent-exps): Extract from smie-indent-calculate.
8159 (smie-indent-functions): New var.
8160 (smie-indent-functions): Use them.
8162 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8164 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8165 (smie-indent-calculate): Simplify and cleanup.
8167 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8169 * net/tramp-gvfs.el (top): Require url-util.
8170 (tramp-gvfs-mount-point): Remove.
8171 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8173 (with-tramp-dbus-call-method): Format trace message.
8174 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8175 Implement backup call, when operation on local files fails.
8176 Use progress reporter. Flush properties of changed files.
8177 (tramp-gvfs-handle-make-directory): Make more traces.
8178 (tramp-gvfs-url-file-name): Hexify file name in url.
8179 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8180 into account for the resulting file name.
8181 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8182 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8183 (tramp-gvfs-handler-mounted-unmounted)
8184 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8185 attribute "default_location". Set "prefix" property.
8186 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8187 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8188 exists. Raise an error, if not (due to a corresponding answer
8189 "no" in interactive questions, for example).
8191 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8193 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8195 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8197 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8200 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8202 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8203 * vc-git.el (vc-git-compute-remote): New function.
8204 (vc-git-log-outgoing): Use it instead of hard coding a value.
8205 (vc-git-log-incoming): New function.
8207 Improve state updating for VC tag commands.
8208 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8209 to update the state of all buffers in the directory.
8211 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8213 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8215 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8216 `file-directory-p' to the filename part rather than to the whole text.
8218 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8220 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8222 2010-05-31 Drew Adams <drew.adams@oracle.com>
8224 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8226 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8228 * subr.el (momentary-string-display): Just use read-event to read
8229 the exit event (Bug#6238).
8231 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8233 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8235 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8237 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8238 Suggested by Eli Zaretskii <eliz@gnu.org>.
8240 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8242 * minibuffer.el (completion-file-name-table): Don't return a boundary
8243 past the end of `string' (bug#6299).
8244 (completion--file-name-table): Delegate to completion-file-name-table
8245 for the `boundaries' case.
8247 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8249 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8252 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8253 `path-separator', but maintain compatibility with Emacs 20.2.
8255 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8257 * server.el (server-process-filter): Receive parent-id argument
8259 (server-create-window-system-frame): New arg. Pass parent-id as
8262 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8264 Bidi-sensitive word movement with arrow keys.
8265 * subr.el (right-arrow-command, left-arrow-command): Move to
8268 * bindings.el (right-char, left-char): Move from subr.el and
8269 rename from right-arrow-command and left-arrow-command.
8270 (right-word, left-word): New functions.
8271 (global-map) <right>: Bind to right-char.
8272 (global-map) <left>: Bind to left-char.
8273 (global-map) <C-right>: Bind to right-word.
8274 (global-map) <C-left>: Bind to left-word.
8276 * ls-lisp.el (ls-lisp-classify-file): New function.
8277 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8278 (ls-lisp-classify): Call ls-lisp-classify-file.
8279 (insert-directory): Remove blanks from switches.
8281 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8283 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8284 (ansi-color-drop-regexp): New constant.
8285 (ansi-color-apply, ansi-color-filter-region)
8286 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8287 (ansi-color-apply): Build string list before calling concat.
8289 2010-05-28 Juri Linkov <juri@jurta.org>
8291 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8292 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8295 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8297 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8298 to ignored backtrace functions.
8299 (with-progress-reporter): Expand docstring.
8300 (tramp-handle-delete-file): Implement TRASH argument.
8301 (tramp-get-remote-trash): New defun.
8303 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8305 * net/tramp-compat.el (tramp-compat-delete-file):
8306 Use `symbol-value' for backward compatibility.
8308 * net/tramp.el (tramp-handle-make-symbolic-link)
8310 (tramp-do-copy-or-rename-file-via-buffer)
8311 (tramp-do-copy-or-rename-file-directly)
8312 (tramp-do-copy-or-rename-file-out-of-band)
8313 (tramp-handle-process-file, tramp-handle-call-process-region)
8314 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8315 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8316 (tramp-delete-temp-file-function): Use `delete-file' instead
8317 of `tramp-compat-delete-file'.
8319 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8320 (tramp-fish-handle-make-symbolic-link)
8321 (tramp-fish-handle-process-file): Use `delete-file' instead
8322 of `tramp-compat-delete-file'.
8324 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8325 Use `delete-file' instead of `tramp-compat-delete-file'.
8327 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8328 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8329 `tramp-compat-delete-file'.
8331 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8332 Use `delete-file' instead of `tramp-compat-delete-file'.
8334 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8335 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8336 (tramp-smb-handle-write-region): Use `delete-file' instead of
8337 `tramp-compat-delete-file'.
8338 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8340 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8342 * dired.el (dired-delete-file): New arg TRASH.
8343 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8344 (dired-do-flagged-delete, dired-do-delete): Use trash.
8346 * speedbar.el (speedbar-item-delete): Allow trashing.
8348 * files.el (delete-directory): New arg TRASH.
8350 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8351 (ange-ftp-rename-remote-to-remote)
8352 (ange-ftp-rename-local-to-remote)
8353 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8354 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8356 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8359 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8360 handle new TRASH arg of `delete-file'.
8362 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8363 (tramp-handle-make-symbolic-link, tramp-handle-load)
8364 (tramp-do-copy-or-rename-file-via-buffer)
8365 (tramp-do-copy-or-rename-file-directly)
8366 (tramp-do-copy-or-rename-file-out-of-band)
8367 (tramp-handle-process-file, tramp-handle-call-process-region)
8368 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8369 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8370 (tramp-delete-temp-file-function): Use null TRASH arg in
8371 tramp-compat-delete-file call.
8373 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8374 (tramp-fish-handle-delete-file)
8375 (tramp-fish-handle-make-symbolic-link)
8376 (tramp-fish-handle-process-file): Use null TRASH arg in
8377 `tramp-compat-delete-file' call.
8379 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8380 arg in `tramp-compat-delete-file' call.
8382 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8383 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8384 `tramp-compat-delete-file' call.
8386 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8387 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8388 `tramp-compat-delete-file' call.
8390 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8391 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8392 (tramp-smb-handle-write-region): Use null TRASH arg in
8393 tramp-compat-delete-file call.
8394 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8395 (tramp-smb-handle-delete-file): Rename arg.
8397 * diff.el (diff-sentinel):
8398 * epg.el (epg--make-temp-file, epg-decrypt-string)
8399 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8400 * jka-compr.el (jka-compr-partial-uncompress)
8401 (jka-compr-call-process, jka-compr-write-region):
8402 * server.el (server-sentinel): Remove optional arg from
8403 delete-file, reverting 2010-05-03 change.
8405 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8407 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8408 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8410 2010-05-27 Kenichi Handa <handa@m17n.org>
8412 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8413 element of GSTRING is nil.
8415 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8417 * emacs-lisp/smie.el (smie-forward-token-function)
8418 (smie-backward-token-function): New vars.
8419 (smie-backward-sexp, smie-forward-sexp)
8420 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8421 (smie-default-backward-token): Rename from smie-backward-token and
8423 (smie-default-forward-token): Rename from smie-forward-token and
8425 (smie-next-sexp): Handle nil results from next-token.
8426 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8428 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8430 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8431 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8433 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8435 * htmlfontify.el (hfy-face-resolve-face): New function.
8436 (hfy-face-to-style): Use it (Bug#6279).
8438 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8440 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8441 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8443 2010-05-26 Glenn Morris <rgm@gnu.org>
8445 * emulation/edt.el (edt-load-keys): Use locate-library.
8447 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8449 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8450 (log-edit-changelog-entries): Doc fix.
8451 (log-edit-changelog-insert-entries): Args changed.
8452 Rename relative filenames in ChangeLog entries. Delete tabs.
8453 (log-edit-insert-changelog-entries): Reorganize return value of
8454 `log-edit-changelog-entries' to pass filenames to
8455 log-edit-changelog-insert-entries.
8457 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8459 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8460 `image-dired-dired-insert-marked-thumbs' to
8461 `image-dired-dired-toggle-marked-thumbs'.
8463 * image-dired.el: Require cl when compiling.
8464 (image-dired-dired-toggle-marked-thumbs): Rename from
8465 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8466 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8467 to 'no-dir. Skip files whose names don't match
8468 `image-file-name-regexp'. When file has a thumbnail overlay,
8469 delete it. (Bug#5270)
8471 2010-05-25 Juri Linkov <juri@jurta.org>
8473 * image-mode.el (image-mode): Add image-after-revert-hook to
8475 (image-after-revert-hook): New function. (Bug#5669)
8477 2010-05-25 Juri Linkov <juri@jurta.org>
8479 * image.el (image-animated-p): When delay between animated images
8480 is 0, set it to 10 (0.1 sec). (Bug#6258)
8482 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8484 * net/tramp.el (tramp-handle-insert-directory): Don't use
8485 `forward-word', its default syntax could be changed.
8487 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8489 * net/tramp.el (tramp-progress-reporter-update): New defun.
8490 (with-progress-reporter): Use it.
8491 (tramp-process-actions):
8492 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8493 Preserve current message, in order to let progress reporter continue
8494 afterwards. (Bug#6257)
8496 2010-05-25 Glenn Morris <rgm@gnu.org>
8498 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8501 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8503 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8504 (rcirc-default-full-name): Change to "unknown".
8505 (rcirc-user-name-history): Add variable.
8507 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8508 Jonathan Rockway <jon@jrock.us>
8510 * net/rcirc.el (rcirc-server-alist): Add :pass.
8511 (rcirc): When prompting for connection parameters, also prompt for
8512 username and password.
8513 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8514 value to server when connecting.
8516 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8518 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8519 (smie-merge-prec2s): Pass the tables as separate args.
8520 (smie-bnf-precedence-table): Adjust call accordingly.
8521 (smie-prec2-levels): Set levels at the end.
8523 Replace Lisp calls to delete-backward-char by delete-char.
8524 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8525 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8526 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8527 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8528 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8529 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8530 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8531 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8532 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8533 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8534 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8535 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8536 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8537 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8538 delete-backward-char by calls to delete-char.
8540 2010-05-25 Kenichi Handa <handa@m17n.org>
8542 * language/hebrew.el (hebrew-shape-gstring): New function.
8543 Register it in composition-function-table for all Hebrew combining
8546 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8548 * epa.el (epa--select-keys): Don't explicitly delete the window since
8549 that can fail (e.g. sole window in frame). Use dedication instead.
8551 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8553 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8555 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8557 * image.el (image-refresh): Define as an alias for image-flush.
8559 * image-mode.el (image-toggle-display-image): Caller changed.
8561 2010-05-21 Juri Linkov <juri@jurta.org>
8563 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8564 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8565 whitespace, call wildcard-to-regexp on substrings and concat them
8566 with "\\|". (Bug#6114)
8568 2010-05-21 Alan Mackenzie <acm@muc.de>
8570 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8571 Replace parameter `here' with `here-' and `here-plus', which sandwich
8572 any pertinent CPP construct.
8573 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8574 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8575 CPP construct from taking part in the scanning.
8577 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8579 * net/tramp.el (tramp-do-copy-or-rename-file)
8580 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8581 Tune `with-progress-reporter' messages.
8582 (tramp-handle-vc-registered):
8583 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8584 (tramp-fish-handle-insert-file-contents)
8585 (tramp-fish-maybe-open-connection):
8586 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8587 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8588 (tramp-imap-handle-insert-file-contents)
8589 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8591 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8593 * add-log.el (change-log-font-lock-keywords):
8594 Highlight all authors in multi-author entries.
8596 * smerge-mode.el (smerge-refine-ignore-whitespace)
8597 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8598 Fix typos in docstrings.
8599 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8601 2010-05-21 Glenn Morris <rgm@gnu.org>
8603 * progmodes/fortran.el (fortran-mode):
8604 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8606 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8607 having a relative path in src/Makefile.in.
8609 2010-05-20 Kevin Ryde <user42@zip.com.au>
8611 * help-mode.el (help-make-xrefs): For Info node links turn
8612 newlines into spaces. Link node names with newlines are matched
8613 by help-xref-info-regexp and buttonized, this change ensures they
8614 can be followed successfully with RET. (Bug#6206)
8616 2010-05-20 Juri Linkov <juri@jurta.org>
8618 * locate.el (locate): Use pop-to-buffer instead of
8619 switch-to-buffer-other-window. (Bug#6204)
8621 2010-05-20 Juri Linkov <juri@jurta.org>
8623 * replace.el (replace-highlight): Fix lazy-highlighting
8624 for `M-s w str M-% str RET'.
8626 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8628 * isearch.el (isearch-yank-word-or-char): Pull next subword
8629 when `subword-mode' is activated. (Bug#6220)
8631 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8633 * isearch.el (isearch-update-post-hook): New hook.
8634 (isearch-update): Use the new hook. (Bug#6225)
8636 2010-05-20 Juri Linkov <juri@jurta.org>
8638 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8639 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8642 2010-05-20 Juri Linkov <juri@jurta.org>
8644 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8647 2010-05-20 Juri Linkov <juri@jurta.org>
8649 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8650 FILE-NAME to read from the minibuffer when called interactively
8651 with prefix argument instead of using buffer-file-name.
8652 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8654 * dired.el: Update autoloads.
8656 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8658 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8659 nxml-finish-element, for consistency with SGML mode.
8661 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8664 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8666 * composite.el: Require cl when compiling.
8667 (reference-point-alist, compose-gstring-for-graphic)
8668 (compose-gstring-for-terminal): Fix typos in docstrings.
8670 2010-05-19 Juri Linkov <juri@jurta.org>
8672 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8673 set-window-parameter.
8675 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8677 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8679 (tramp-maybe-open-connection): Use it.
8681 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8683 * simple.el (move-end-of-line): Make sure we are at line beginning
8684 before backing up to end of previous line.
8686 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8688 * password-cache.el (password-cache-remove): Fix docstring.
8690 * net/secrets.el: Autoload the widget functions.
8691 (secrets-search-items, secrets-create-item)
8692 (secrets-get-attributes, secrets-expand-item): Attributes will be
8693 stored on the password database without leading ":", as all other
8695 (secrets-mode): Fix docstring.
8696 (secrets-show-secrets): Provide it as autoloaded command only when
8697 D-Bus support is available. Check existence of Secret Service API.
8699 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8701 * indent.el (indent-region): Deactivate region (bug#6200).
8703 2010-05-19 Glenn Morris <rgm@gnu.org>
8705 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8707 2010-05-19 Kenichi Handa <handa@m17n.org>
8709 * composite.el: Register compose-gstring-for-graphic in
8710 composition-function-table only for combining characters (Mn, Mc, Me).
8712 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8714 * calc/calc-trail.el (calc-trail-isearch-forward)
8715 (calc-trail-isearch-backward): Ensure that the new window
8716 point is set correctly.
8718 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8720 * subr.el (read-quoted-char): Resolve modifiers after key
8721 remapping (bug#6212).
8723 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8725 Add visualization code for secrets.
8726 * net/secrets.el (secrets-mode): New major mode.
8727 (secrets-show-secrets, secrets-show-collections)
8728 (secrets-expand-collection, secrets-expand-item)
8729 (secrets-tree-widget-after-toggle-function)
8730 (secrets-tree-widget-show-password): New defuns.
8732 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8734 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8735 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8736 handled in smie-next-sexp.
8737 (smie-indent-calculate): Provide a starting indentation (so the
8738 recursion is well-founded ;-).
8740 Fix handling of non-associative equal levels.
8741 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8742 when it's not needed.
8743 (smie-op-left, smie-op-right): New functions.
8744 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8745 Better handle equal levels to distinguish the associative case from
8746 the "multi-keyword construct" case.
8747 (smie-backward-sexp, smie-forward-sexp): Use it.
8749 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8751 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8753 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8754 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8756 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8758 Provide a simple generic indentation engine and use it for Prolog.
8759 * emacs-lisp/smie.el: New file.
8760 * progmodes/prolog.el (prolog-smie-op-levels)
8761 (prolog-smie-indent-rules): New var.
8762 (prolog-mode-variables): Use them to configure SMIE.
8763 (prolog-indent-line, prolog-indent-level): Remove.
8765 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8767 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8768 order before computing the averages.
8770 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8772 * calc/calc-vec.el (calc-histogram):
8773 (calcFunc-histogram): Allow vectors as inputs.
8774 (math-vector-avg): New function.
8776 * calc/calc-ext.el (math-group-float): Have the number of digits
8777 being grouped depend on the radix (Bug#6189).
8779 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8781 * version.el (emacs-copyright, emacs-version): Don't define here,
8782 now that emacs.c defines it.
8784 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8786 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8787 "Describe Language Environment" menu item.
8789 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8791 Bidi-sensitive movement with arrow keys.
8792 * subr.el (right-arrow-command, left-arrow-command): New functions.
8794 * bindings.el (global-map): Bind them to right and left arrow keys.
8796 Don't override standard definition of convert-standard-filename.
8797 * files.el (convert-standard-filename):
8798 Call w32-convert-standard-filename and dos-convert-standard-filename on
8799 the corresponding systems.
8801 * w32-fns.el (w32-convert-standard-filename): Rename from
8802 convert-standard-filename. Doc fix.
8804 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8805 (convert-standard-filename): Don't defalias.
8806 (register-name-alist, make-register, register-value)
8807 (set-register-value, intdos): Obsolete aliases for the
8808 corresponding dos-* functions and variables.
8809 (dos-intdos): Add a doc string.
8811 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8813 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8814 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8815 (math-compose-tex-func):
8816 * calc/calccomp.el (math-compose-expr):
8817 * calc/calc-ext.el (math-format-flat-expr-fancy):
8818 * calc/calc-store.el (calc-read-var-name):
8819 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8821 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8822 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8823 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8824 (math-standard-units): Add units.
8826 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * progmodes/asm-mode.el (asm-mode):
8829 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8831 * pcomplete.el (pcomplete-completions-at-point): New function,
8832 extracted from pcomplete-std-complete.
8833 (pcomplete-std-complete): Use it.
8835 2010-05-15 Glenn Morris <rgm@gnu.org>
8837 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8838 Remove references to CVS, RCS and Old directories.
8840 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8842 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8845 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8847 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8848 (sh-mode-syntax-table): Give it a default value instead.
8849 (sh-header-marker): Make buffer-local.
8850 (sh-mode): Move make-local-variable to the corresponding setq.
8851 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8852 Use complete-with-action.
8854 * simple.el (prog-mode): New (abstract) major mode.
8855 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8856 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8858 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8860 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8861 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8862 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8863 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8864 (sql-escape-newlines-filter, sql-input-sender)
8865 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8867 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8869 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8871 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8872 latex-open-block and C-c / to latex-close-block.
8874 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8875 and C-c C-e to sgml-close-tag.
8877 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8879 * net/tramp.el (with-progress-reporter): Create reporter object
8880 only when the message would be displayed. Handle nested calls.
8881 (tramp-handle-load, tramp-handle-file-local-copy)
8882 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8883 (tramp-maybe-send-script, tramp-find-shell):
8884 Use `with-progress-reporter'.
8885 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8888 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8889 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8890 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8891 Use `with-progress-reporter'.
8893 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8895 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8896 process everytime when spellchecking from the minibuffer (bug#6143).
8898 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8900 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8902 * dos-fns.el: Add "dos-" prefix for namespace control.
8903 (convert-standard-filename): Define as alias for
8904 dos-convert-standard-filename but only if applicable.
8906 2010-05-12 Alan Mackenzie <acm@muc.de>
8908 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8909 Push the mark at the start of these functions when appropriate.
8911 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8913 * minibuffer.el (completion-cycle-threshold): New custom var.
8914 (completion--do-completion): Use it.
8915 (minibuffer-complete): Use cycling if appropriate.
8917 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8919 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8920 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8922 2010-05-11 Juri Linkov <juri@jurta.org>
8924 * scroll-all.el (scroll-all-check-to-scroll):
8925 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8927 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * iimage.el (iimage-mode-map): Move initialization into declaration.
8930 (iimage-mode-buffer): Use with-silent-modifications.
8931 Simplify calling convention. Adjust callers.
8932 (iimage-mode): Don't run hook redundantly.
8934 * minibuffer.el (completion-pcm--pattern->regex):
8935 Fix last change (bug#6160).
8937 2010-05-10 Juri Linkov <juri@jurta.org>
8939 Remove nodes visited during Isearch from the Info history.
8940 * info.el (Info-isearch-initial-history)
8941 (Info-isearch-initial-history-list): New variables.
8942 (Info-isearch-start): Record initial values of
8943 Info-isearch-initial-history and Info-isearch-initial-history-list.
8944 Add Info-isearch-end to isearch-mode-end-hook.
8945 (Info-isearch-end): New function.
8947 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8949 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8950 format string, in order to work around a bug in pdksh.
8951 Reported by Gilles Pion <gpion@lfdj.com>.
8952 (tramp-handle-verify-visited-file-modtime): Do not send a command
8953 when the connection is not established.
8954 (tramp-handle-set-file-times): Simplify the check for utc.
8956 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8958 Fix use of `filter-buffer-substring' (rework previous change).
8959 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8960 (cua-repeat-replace-region):
8961 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8962 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8963 (cua-cut-region-to-global-mark): Use it.
8965 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8967 * progmodes/sql.el: Version 2.1.
8968 (sql-product-alist): Redesign structure of product info.
8969 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8970 (sql-port, sql-port-history): New variables.
8971 (sql-interactive-product): New variable.
8972 (sql-send-terminator): New variable.
8973 (sql-imenu-generic-expression): Add "Types" imenu entry.
8974 (sql-oracle-login-params, sql-sqlite-login-params)
8975 (sql-mysql-login-params, sql-solid-login-params)
8976 (sql-sybase-login-params, sql-informix-login-params)
8977 (sql-ingres-login-params, sql-ms-login-params)
8978 (sql-postgres-login-params, sql-interbase-login-params)
8979 (sql-db2-login-params, sql-linter-login-params)
8980 (sql-oracle-scan-on): New variables.
8981 (sql-mode-map): Add C-c C-i to start interactive mode.
8982 (sql-mode-menu): Update existing menu entries.
8983 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8984 (sql-mode-oracle-font-lock-keywords)
8985 (sql-mode-postgres-font-lock-keywords)
8986 (sql-mode-ms-font-lock-keywords)
8987 (sql-mode-sybase-font-lock-keywords)
8988 (sql-mode-informix-font-lock-keywords)
8989 (sql-mode-interbase-font-lock-keywords)
8990 (sql-mode-ingres-font-lock-keywords)
8991 (sql-mode-solid-font-lock-keywords)
8992 (sql-mode-mysql-font-lock-keywords)
8993 (sql-mode-sqlite-font-lock-keywords)
8994 (sql-mode-db2-font-lock-keywords)
8995 (sql-mode-linter-font-lock-keywords): Update initialization to
8996 reduce run-time complexity.
8997 (sql-add-product, sql-del-product): New functions.
8998 (sql-set-product-feature, sql-get-product-feature): New functions.
8999 (sql-product-font-lock): Update product API.
9000 (sql-add-product-keywords): New function.
9001 (sql-highlight-product): Update product API.
9002 (sql-help-list-products): New function.
9003 (sql-help): Dynamically lists free and non-free products.
9004 (sql-get-login): Correct bug in handling history and added
9006 (sql-copy-column): Copy without properties.
9007 (sqli-input-sender): Apply filters to SQLi input.
9008 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9009 Implement as a filter.
9010 (sql-escape-newlines-filter): Implement as a filter.
9011 (sql-remove-tabs-filter): New function.
9012 (sql-send-magic-terminator): New function.
9013 (sql-send-string): Implement magic terminator.
9014 (sql-send-region): Use `sql-send-string'.
9015 (sql-interactive-mode): Use product API.
9016 (sql-product-interactive): Use product API.
9017 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9018 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9019 (sql-db2, sql-linter): Use `sql-product-interactive'.
9020 (sql-connect): New function.
9021 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9022 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9023 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9024 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9027 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9029 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9030 New custom variable.
9031 (completion-pcm--string->pattern): Use it.
9032 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9033 Make it handle any symbol as `any'.
9034 (completion-pcm--merge-completions): Extract common suffix for the new
9035 `prefix' symbol as well.
9036 (completion-substring--all-completions): Use the new `prefix' symbol.
9038 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9040 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9042 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9043 (tramp-compat-funcall): New defmacro.
9044 (tramp-compat-line-beginning-position)
9045 (tramp-compat-line-end-position)
9046 (tramp-compat-temporary-file-directory)
9047 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9048 (tramp-compat-copy-file, tramp-compat-copy-directory)
9049 (tramp-compat-delete-file, tramp-compat-delete-directory)
9050 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9051 * net/tramp.el (top, with-progress-reporter)
9052 (tramp-rfn-eshadow-setup-minibuffer)
9053 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9054 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9055 (tramp-completion-mode-p, tramp-check-for-regexp)
9056 (tramp-open-connection-setup-interactive-shell)
9057 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9058 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9059 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9060 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9061 (tramp-reporter-dump-variable, tramp-load-report-modules)
9062 (tramp-append-tramp-buffers)
9063 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9065 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9067 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9070 buffer-modtime. Adjust users.
9072 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9074 * international/mule.el (auto-coding-alist): Only purecopy
9075 car of each item, not the whole list (Bug#6083).
9077 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9079 * progmodes/js.el (js-mode): Make paragraph variables local before
9080 calling c-setup-paragraph-variables (Bug#6071).
9082 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9084 * composite.el (compose-region, reference-point-alist): Fix typos
9087 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9089 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9090 gnuplot's "set" command.
9092 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9094 * abbrev.el (last-abbrev-text): Doc fix.
9095 (abbrev-prefix-mark): Don't escape parenthesis.
9097 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9099 * composite.el (find-composition): Doc fix.
9101 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9103 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9104 (sql-oracle-program, sql-sqlite-options)
9105 (sql-query-placeholders-and-send): Doc fixes.
9106 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9107 (sql-imenu-generic-expression, sql-buffer)
9108 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9109 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9110 (sql-mode-sybase-font-lock-keywords)
9111 (sql-mode-informix-font-lock-keywords)
9112 (sql-mode-interbase-font-lock-keywords)
9113 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9114 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9115 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9116 (sql-product-feature, sql-highlight-product)
9117 (comint-line-beginning-position, sql-rename-buffer)
9118 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9119 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9120 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9121 Fix typos in docstrings.
9123 2010-05-08 Juri Linkov <juri@jurta.org>
9125 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9126 property instead of `invisible' and `after-string' (bug#5998).
9128 2010-05-08 Juri Linkov <juri@jurta.org>
9130 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9132 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9134 * filecache.el (file-cache-add-directory-list)
9135 (file-cache-add-directory-recursively): Fix typos in docstrings.
9137 2010-05-08 Kenichi Handa <handa@m17n.org>
9139 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9140 (gujarati-composable-pattern): Fix typo.
9142 2010-05-08 Kenichi Handa <handa@m17n.org>
9144 * language/indian.el (oriya-composable-pattern)
9145 (tamil-composable-pattern, malayalam-composable-pattern):
9146 Add two-part vowels to "v" (vowel sign).
9148 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9150 * files.el (copy-directory): Handle symlinks (Bug#5982).
9152 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9154 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9155 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9158 2010-05-08 Glenn Morris <rgm@gnu.org>
9160 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9162 * minibuffer.el (completion-at-point): Doc fix.
9164 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9166 * electric.el (Electric-command-loop): Minor tweak.
9168 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9169 better with dedicated windows.
9171 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9173 * Version 23.2 released.
9175 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9176 Stefan Monnier <monnier@iro.umontreal.ca>
9178 Highlight vendor specific properties.
9179 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9180 (css-proprietary-property): New face.
9181 (css-font-lock-keywords): Use them.
9183 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9185 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9187 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9190 * files.el (auto-mode-alist): Remove redundant entries.
9192 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9193 * simple.el (auto-save-mode): Move from files.el.
9194 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9196 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9198 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9200 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9202 * mail/binhex.el (binhex-decode-region-internal)
9203 * mail/uudecode.el (uudecode-decode-region-internal)
9204 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9205 (dns-read-type, dns-query)
9206 * pgg-parse.el (pgg-parse-armor)
9207 * pgg.el (pgg-verify-region)
9208 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9211 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9213 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9215 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9217 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9218 * emulation/cua-base.el (cua-repeat-replace-region):
9219 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9220 (cua-cut-region-to-global-mark):
9221 Remove text properties with `set-text-properties'.
9223 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9225 * net/tramp.el (top, with-progress-reporter):
9226 Use `symbol-function' inside `funcall'.
9228 * net/tramp-compat.el (tramp-compat-file-attributes)
9229 (tramp-compat-delete-file, tramp-compat-delete-directory):
9230 Handle only `wrong-number-of-arguments' error.
9232 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9233 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9236 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9238 * minibuffer.el (completion--sreverse, completion--common-suffix):
9240 (completion-pcm--merge-completions): Extract common suffix when safe.
9242 * emacs-lisp/easy-mmode.el (define-minor-mode):
9243 Make :variable more flexible.
9244 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9246 2010-05-05 Juri Linkov <juri@jurta.org>
9248 Add `slow' and `history' tags to the desktop data.
9250 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9251 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9252 (Info-finder-find-node): Require `finder.el' to be able
9253 to restore node from the desktop.
9254 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9255 data `Info-history' and `slow' tag in the assoc list.
9256 (Info-restore-desktop-buffer): Don't restore nodes with the
9257 `slow' tag. Restore `Info-history'.
9259 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9261 Add FORCE argument to `delete-file'.
9263 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9264 forcing to delete the temporary file.
9265 (ange-ftp-delete-file): Add FORCE arg.
9266 (ange-ftp-rename-remote-to-remote)
9267 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9268 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9269 Force file deletion.
9271 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9273 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9274 (tramp-handle-make-symbolic-link, tramp-handle-load)
9275 (tramp-do-copy-or-rename-file-via-buffer)
9276 (tramp-do-copy-or-rename-file-directly)
9277 (tramp-do-copy-or-rename-file-out-of-band)
9278 (tramp-handle-process-file, tramp-handle-call-process-region)
9279 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9280 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9281 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9283 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9284 (tramp-fish-handle-make-symbolic-link)
9285 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9287 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9288 Use `tramp-compat-delete-file'.
9290 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9291 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9293 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9294 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9296 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9297 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9298 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9299 Use `tramp-compat-delete-file'.
9301 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * subr.el (add-minor-mode): Use push.
9305 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9306 * emulation/edt.el (edt-select-mode): Simplify.
9308 Use define-minor-mode in more cases.
9309 * term/tvi970.el (tvi970-set-keypad-mode):
9310 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9311 (normal-erase-is-backspace-mode):
9312 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9313 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9314 (get-scroll-bar-mode): New function.
9315 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9317 Use define-minor-mode for less obvious cases.
9318 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9319 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9320 * international/iso-ascii.el (iso-ascii-mode):
9321 * frame.el (auto-raise-mode, auto-lower-mode):
9322 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9324 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9326 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9327 in order to see error messages for failed logins.
9329 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9331 * diff.el (diff-sentinel):
9333 * epg.el (epg--make-temp-file, epg-decrypt-string)
9334 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9336 * jka-compr.el (jka-compr-partial-uncompress)
9337 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9339 * server.el (server-sentinel): Use delete-file's new FORCE arg
9342 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9344 Use define-minor-mode where applicable.
9345 * view.el (view-mode):
9346 * type-break.el (type-break-query-mode)
9347 (type-break-mode-line-message-mode):
9348 * textmodes/reftex.el (reftex-mode):
9349 * term/vt100.el (vt100-wide-mode):
9350 * tar-mode.el (tar-subfile-mode):
9351 * savehist.el (savehist-mode):
9352 * ibuf-ext.el (ibuffer-auto-mode):
9353 * composite.el (auto-composition-mode):
9354 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9355 Use define-minor-mode.
9356 (vhdl-mode): Use static mode-line format.
9357 (vhdl-mode-line-update): Delete.
9358 (vhdl-create-mode-menu, vhdl-activate-customizations)
9359 (vhdl-hs-minor-mode): Don't bother calling it.
9361 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9363 * simple.el (with-wrapper-hook): Move.
9364 (buffer-substring-filters): Mark obsolete.
9365 (filter-buffer-substring-functions): New variable.
9366 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9368 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9369 Michael Albinus <michael.albinus@gmx.de>
9371 Implement compression for inline methods.
9373 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9374 (tramp-copy-size-limit): Allow also nil.
9375 (tramp-inline-compress-commands): New defconst.
9376 (tramp-find-inline-compress, tramp-get-inline-compress)
9377 (tramp-get-inline-coding): New defuns.
9378 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9379 replaced by `tramp-get-inline-coding'.
9380 (tramp-handle-file-local-copy, tramp-handle-write-region)
9381 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9383 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9385 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9386 Remove unused functions.
9388 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9389 Set find-tag-default-function as a variable rather than a property.
9391 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9392 * progmodes/etags.el (tags-completion-at-point-function):
9393 Remove left over interactive spec. Add autoloading stub.
9394 (complete-tag): Use tags-completion-at-point-function.
9396 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9398 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9400 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9402 * ido.el (ido-init-completion-maps): Remove C-v binding.
9403 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9405 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9407 * minibuffer.el (tags-completion-at-point-function): New function.
9408 (completion-at-point-functions): Use it.
9410 * progmodes/etags.el (complete-tag): Revert last change.
9412 2010-04-29 Alan Mackenzie <acm@muc.de>
9414 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9415 off-by-one error (in end of macro position).
9417 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9420 firefox is absent. Don't autoload.
9421 (browse-url-galeon-program): Don't autoload.
9423 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9425 * bindings.el (complete-symbol): Move into minibuffer.el.
9427 * minibuffer.el (complete-tag): Move from etags.el. If tags
9428 completion cannot be performed, return nil instead of signalling
9430 (completion-at-point): Make it an alias for complete-symbol.
9431 (complete-symbol): Move from bindings.el, and replace with the
9432 body of completion-at-point.
9434 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9436 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9438 * net/tramp.el (tramp-remote-selinux-p): New defun.
9439 (tramp-handle-file-selinux-context)
9440 (tramp-handle-set-file-selinux-context): Use it.
9442 2010-04-28 Sam Steingold <sds@gnu.org>
9444 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9445 `safe-local-variable' if the value is a string or a symbol with
9446 the property `bug-reference-url-format'.
9448 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9450 * progmodes/bug-reference.el (bug-reference-url-format):
9451 Revert 2010-04-27 change due to security risk.
9453 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9455 Make it possible to locally disable a globally enabled mode.
9456 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9457 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9458 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9459 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9460 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9461 that subsequent hooks get a chance to disable it.
9463 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9465 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9466 Avoid re-enabling a minor mode after the user turned the minor mode
9467 off if MODE-enable-in-buffers is run twice (typically once from
9468 fundamental-mode's after-change-major-mode-hook and a second time from
9469 run-mode-hook's own after-change-major-mode-hook).
9471 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9473 2010-04-27 Sam Steingold <sds@gnu.org>
9475 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9476 `safe-local-variable' if the value is a string or a function, as
9477 documented and implemented on 2010-04-02.
9479 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9481 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9482 when method is 'kill.
9484 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9486 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9487 condition in default directory check.
9488 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9489 Kill ispell process when killing its associated buffer.
9491 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9493 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9494 but we aren't using it.
9496 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9498 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9499 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9501 2010-04-24 Glenn Morris <rgm@gnu.org>
9503 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9504 Ignore VCS-ignore files, and deleted nextstep preferences files.
9505 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9506 (authors-ambiguous-files): New list.
9507 (authors-valid-file-names): Add some deleted files.
9508 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9509 (authors-disambiguate-file-name): New function. (Bug#5501)
9510 (authors-canonical-file-name): Doc fix.
9511 Don't warn about obsolete files.
9512 (authors-canonical-file-name, authors-scan-el):
9513 Use authors-disambiguate-file-name.
9515 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9516 Add autoload cookies.
9517 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9518 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9519 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9520 They have definitions / compiler macros in cl.el.
9521 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9522 Replace manual autoloads with generated ones.
9523 (htmlfontify-unload-rgb-file): Remove autoload.
9524 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9526 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9529 (byte-compile-setq-default): Optimize for the
9530 single-var case and don't call byte-compile-form in this case to avoid
9531 inf-loop with byte-compile-set-default.
9533 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9535 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9537 Implement SELINUX backends.
9539 * net/tramp.el (tramp-file-name-handler-alist):
9540 Add `file-selinux-context' and `set-file-selinux-context'.
9541 (tramp-handle-file-selinux-context)
9542 (tramp-handle-set-file-selinux-context): New defuns.
9543 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9544 Handle PRESERVE-SELINUX-CONTEXT.
9546 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9547 Add `file-selinux-context' and `set-file-selinux-context'.
9548 (tramp-gvfs-handle-file-selinux-context)
9549 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9550 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9552 * net/ange-ftp.el (ange-ftp-copy-file):
9553 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9554 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9555 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9556 Add PRESERVE-SELINUX-CONTEXT.
9558 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9560 Synchronize with Tramp repository.
9562 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9563 (tramp-action-process-alive, tramp-action-out-of-band)
9564 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9565 (tramp-exists-file-name-handler): Fix docstring.
9566 (with-progress-reporter): New defmacro.
9567 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9568 (tramp-maybe-open-connection): Use it.
9570 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9572 Detect ssh 'ControlMaster' argument automatically in some cases.
9574 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9575 (tramp-default-method): Use it.
9577 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9579 * net/tramp.el (tramp-handle-copy-file): Add new optional
9580 parameter `preserve-selinux-context'.
9581 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9583 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9585 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9586 Ensure, that non remote files are still checked. Oops.
9588 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9592 * icomplete.el (icomplete-completions): Use `non-essential'.
9594 * net/tramp.el (tramp-connectable-p): New defun.
9595 (tramp-handle-expand-file-name)
9596 (tramp-completion-handle-file-name-all-completions)
9597 (tramp-completion-handle-file-name-completion): Use it.
9599 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9601 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9603 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9605 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9607 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9609 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9612 * info.el (info-tool-bar-map): Add labels.
9614 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9616 * cus-edit.el (custom-commands): Add labels for tool bar.
9617 (custom-buffer-create-internal, Custom-mode): Adjust for
9618 labels in custom-commands.
9620 * dynamic-setting.el: Renamed from font-setting.el.
9622 2010-04-21 John Wiegley <jwiegley@gmail.com>
9624 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9625 toggles the use of virtual buffers.
9626 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9627 (ido-toggle-virtual-buffers): New function.
9629 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9631 Use `define-derived-mode'; fix window selection; doc fixes.
9632 * play/tetris.el (tetris, tetris-update-speed-function)
9633 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9634 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9635 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9636 (tetris-pause-game): Fix typos in docstrings.
9637 (tetris-mode-map, tetris-null-map):
9638 Move initialization into declaration.
9639 (tetris-mode): Define with `define-derived-mode';
9640 set show-trailing-whitespace to nil.
9641 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9643 2010-04-21 Karel Klíč <kklic@redhat.com>
9645 * files.el (backup-buffer): Handle SELinux context, and return it
9646 if a backup was made by renaming.
9647 (backup-buffer-copy): Set SELinux context to the target file.
9648 (basic-save-buffer): Set SELinux context of the newly written file.
9649 (basic-save-buffer-1): Now it also returns any SELinux context.
9650 (basic-save-buffer-2): Set SELinux context of the newly created file,
9652 * net/tramp.el (tramp-file-name-for-operation):
9653 Add file-selinux-context.
9655 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9657 Make the log-edit comments use RFC822 format throughout.
9659 * vc.el (vc-checkin, vc-modify-change-comment):
9660 Adjust to new vc-start/finish-logentry.
9661 (vc-find-conflicted-file): New command.
9662 (vc-transfer-file): Adjust to new vc-checkin.
9663 (vc-next-action): Improve scoping.
9665 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9666 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9668 * vc-git.el (vc-git-log-edit-mode): Remove.
9669 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9670 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9672 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9673 (vc-start-logentry): Remove argument `extra'.
9674 (vc-finish-logentry): Remove extra args.
9676 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9677 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9678 (vc-bzr-conflicted-files): New function.
9680 * log-edit.el (log-edit-extra-flags)
9681 (log-edit-before-checkin-process): Remove.
9682 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9683 (log-edit-headers-alist): New var.
9684 (log-edit-header-contents-regexp): New const.
9685 (log-edit-match-to-eoh): New function.
9686 (log-edit-font-lock-keywords): Use them.
9687 (log-edit): Insert a "Summary:" header as default.
9688 (log-edit-mode): Mark font-lock rules as case-insensitive.
9689 (log-edit-done): Cleanup headers.
9690 (log-view-process-buffer): Remove.
9691 (log-edit-extract-headers): New function to replace it.
9693 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9695 * subr.el (default-direction-reversed): Remove obsolescence info.
9697 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9702 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9703 I.e. include text after point in the completion region.
9704 Also, return nil when we're not after/in a symbol.
9706 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9707 default enable-multibyte-characters.
9709 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * international/mule.el: Help the user choose a valid coding-system.
9712 (read-buffer-file-coding-system): New function.
9713 (set-buffer-file-coding-system): Use it. Prompt the user if the
9714 coding-system cannot encode all the chars.
9716 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9717 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9718 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9719 Don't use *vc-bzr-shelve*.
9721 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9723 Fix the version number for added files.
9724 * vc-hg.el (vc-hg-working-revision): Check if the file is
9725 registered after hg parent fails (Bug#5961).
9727 2010-04-19 Glenn Morris <rgm@gnu.org>
9729 * htmlfontify.el (htmlfontify-buffer)
9730 (htmlfontify-copy-and-link-dir): Autoload entry points.
9732 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9734 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9735 name relative to the project root (Bug#5960).
9737 2010-04-19 Glenn Morris <rgm@gnu.org>
9739 * vc-git.el (vc-git-print-log): Doc fix.
9741 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9743 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9745 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9747 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9748 default settings (Bug#5928).
9750 2010-04-19 Glenn Morris <rgm@gnu.org>
9752 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9754 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9756 2010-04-19 Kenichi Handa <handa@m17n.org>
9758 * language/indian.el (malayalam-composable-pattern): Fix previous
9759 change (add U+0D4D "SIGN VIRAMA").
9760 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9761 (tamil-composable-pattern): Fix typo in the regexp.
9762 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9763 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9764 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9766 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9768 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9769 paragraph-separate (Bug#5821).
9771 2010-04-19 Juri Linkov <juri@jurta.org>
9773 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9775 * info.el (Info-find-node-2): Comment out code that skips
9777 (Info-mouse-follow-link): New command.
9778 (Info-link-keymap): New keymap.
9779 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9780 Return a string with links instead of inserting breadcrumbs
9782 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9783 Instead of putting the `invisible' text property over the Info
9784 header, make an overlay over the Info header with the `invisible'
9785 property and `after-string' set to the string returned by
9788 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9790 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9791 Reported by monkey@sandpframing.com.
9793 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9796 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9797 available in the "keyseq cache" any more.
9799 * custom.el (defcustom): Add edebug spec.
9801 2010-04-18 Juri Linkov <juri@jurta.org>
9803 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9805 * view.el (view-file, view-buffer): Move test for special mode-class
9806 from view-file to view-buffer.
9808 * tar-mode.el (tar-extract): Turn if's into one cond
9809 like in arc-mode.el.
9811 2010-04-18 Juri Linkov <juri@jurta.org>
9813 Add 7z archive format support (bug#5475).
9815 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9816 (archive-7z-extract): New defcustom.
9817 (archive-find-type): Add magic string for 7z.
9818 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9819 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9820 `buffer' arg of `call-process'.
9821 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9822 call the function `archive-7z-extract' with the variable
9823 `archive-7z-extract' let-bound to `archive-zip-extract'.
9824 (archive-7z-summarize, archive-7z-extract): New functions.
9826 * international/mule.el (auto-coding-alist):
9827 * files.el (auto-mode-alist): Add 7z file extension.
9829 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * loadup.el: Setup hash-cons for pure data.
9833 Fix duplicate entries in cedet's loaddefs.el files.
9834 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9835 Should make most file-local generated-autoload-file unnecessary.
9836 (print-readably): Silence warnings.
9837 (autoload-find-destination): Take load-name as an arg to make sure
9838 it's the same as the one that will be in the file.
9839 (autoload-generate-file-autoloads): Adjust to above changes.
9840 Try to make the dataflow a bit simpler.
9842 * cvs-status.el (cvs-refontify): Remove unused.
9844 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9846 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9848 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9849 twos-complement mode.
9851 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9853 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9854 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9855 (calc-inverse): Add "Option" to message, as appropriate.
9856 (calc-hyperbolic): Add "Option" to message, as appropriate.
9857 (calc-option, calc-is-option): New functions.
9859 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9860 (calc-option-prefix-help): New function.
9862 * calc/calc-misc.el (calc-help): Add "Option" entry.
9864 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9865 (calc-option-flag): New variable.
9866 (calc-do): Set `calc-option-flag to nil.
9867 (calc-set-mode-line): Add "Opt " as appropriate.
9869 2010-04-16 Juri Linkov <juri@jurta.org>
9871 Move scrolling commands from simple.el to window.el
9872 because their primitives are implemented in window.c.
9874 * simple.el (scroll-error-top-bottom)
9875 (scroll-up-command, scroll-down-command, scroll-up-line)
9876 (scroll-down-line, scroll-other-window-down)
9877 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9878 * window.el (scroll-error-top-bottom)
9879 (scroll-up-command, scroll-down-command, scroll-up-line)
9880 (scroll-down-line, scroll-other-window-down)
9881 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9882 Move from simple.el to window.el because their primitives are
9883 implemented in window.c.
9885 2010-04-16 Juri Linkov <juri@jurta.org>
9887 * isearch.el (isearch-lookup-scroll-key): Check both
9888 `isearch-scroll' and `scroll-command' properties.
9889 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9891 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9893 * simple.el (scroll-up-command, scroll-down-command)
9894 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9896 2010-04-15 Juri Linkov <juri@jurta.org>
9898 * simple.el (scroll-up-command, scroll-down-command)
9899 (scroll-up-line, scroll-down-line): Put `scroll-command'
9900 property on the these symbols. Remove them from
9901 `scroll-preserve-screen-position-commands'.
9903 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9904 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9905 Remove it from `scroll-preserve-screen-position-commands'.
9907 * isearch.el (isearch-allow-scroll): Doc fix.
9909 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9911 * net/tramp.el (tramp-error-with-buffer): Don't show the
9912 connection buffer when we are in completion mode.
9913 (tramp-file-name-handler): Catch the error for some operations
9914 when we are in completion mode. This gives the user the chance to
9915 correct the file name in the minibuffer.
9917 2010-04-15 Glenn Morris <rgm@gnu.org>
9919 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9921 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9923 Simplify by using `define-derived-mode'.
9924 * info.el (Info-mode):
9925 * calendar/todo-mode.el (todo-mode):
9926 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9927 (gomoku-mode-map): Move initialization into declaration.
9929 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9932 * ido.el (ido-file-name-all-completions-1):
9933 * minibuffer.el (minibuffer-completion-help):
9934 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9936 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * simple.el (non-essential): New var.
9940 Add a new field `location' to bookmarks for non-file bookmarks.
9941 * bookmark.el (bookmark-location): Use the new field, if present.
9942 (bookmark-insert-location): Undo last change, not needed any more.
9943 * man.el (Man-bookmark-make-record):
9944 * woman.el (woman-bookmark-make-record): Add `location' field.
9946 2010-04-14 Juri Linkov <juri@jurta.org>
9948 * simple.el (scroll-error-top-bottom): New defcustom.
9949 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9951 * emulation/pc-select.el (pc-select-override-scroll-error):
9952 Obsolete in favor of `scroll-error-top-bottom'.
9954 2010-04-14 Juri Linkov <juri@jurta.org>
9956 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9957 `scroll-up-command' and `M-v' to `scroll-down-command'.
9959 * emulation/cua-rect.el (cua--init-rectangles):
9960 * forms.el (forms--change-commands):
9961 * image-mode.el (image-mode-map):
9962 Remap scroll-down-command and scroll-up-command
9963 in addition to scroll-down and scroll-up.
9965 2010-04-14 Juri Linkov <juri@jurta.org>
9967 * mwheel.el (scroll-preserve-screen-position-commands):
9968 Add mwheel-scroll to this list of commands.
9970 * simple.el (scroll-preserve-screen-position-commands):
9971 Add scroll-up-command, scroll-down-command, scroll-up-line,
9972 scroll-down-line to this list of commands.
9974 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9976 * obsolete/complete.el: Move from lisp/complete.el.
9978 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9980 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9981 to the minor mode function now turns the mode ON unconditionally.
9983 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * vc-dir.el (vc-dir-kill-line): New command.
9986 (vc-dir-mode-map): Bind it to C-k.
9988 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9990 * woman.el: Add bookmark declarations to silence the compiler.
9991 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9992 step to compatibility between man and woman bookmarks.
9993 Adjust for Man-default-bookmark-title renaming.
9994 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9996 * man.el: Add bookmark declarations to silence the compiler.
9997 (Man-name-local-regexp): Make it match NAME as well.
9998 (Man-getpage-in-background): Return the buffer.
9999 (Man-notify-when-ready): Use `case'.
10000 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10001 Don't hardcode "NAME". Simplify.
10002 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10003 Rename from Man-bookmark-make-record.
10004 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10005 we have the actual man-args. Use Man-getpage-in-background rather
10006 than `man' since the arg is already processed. Let bookmark.el do the
10007 window handling. Only wait for the relevant process.
10008 Don't forget to autoload.
10010 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10012 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10014 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10016 (woman-mode): Setup bookmark support.
10018 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10019 (man-bookmark-jump): New functions.
10020 (Man-mode): Setup bookmark support.
10022 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10024 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10025 recognize ssh-keygen prompt (Bug#2817).
10027 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10029 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10031 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10033 Synchronize with Tramp repository.
10035 * net/tramp.el (tramp-completion-function-alist)
10036 (tramp-file-name-regexp, tramp-chunksize)
10037 (tramp-local-coding-commands, tramp-remote-coding-commands):
10039 (tramp-remote-process-environment): Use `format' instead of `concat'.
10040 (tramp-handle-directory-files-and-attributes)
10041 (tramp-get-remote-path): Use `copy-tree'.
10042 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10043 compatibility: Use `completion-ignore-case' if
10044 `read-file-name-completion-ignore-case' does not exist.
10045 (tramp-do-copy-or-rename-file-directly): Do not use
10046 `tramp-handle-file-remote-p'.
10047 (tramp-do-copy-or-rename-file-out-of-band):
10048 Use `tramp-compat-delete-directory'.
10049 (tramp-do-copy-or-rename-file-out-of-band)
10050 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10051 Use `format-spec-make'.
10052 (tramp-find-foreign-file-name-handler)
10053 (tramp-advice-make-auto-save-file-name)
10054 (tramp-set-auto-save-file-modes): Remove superfluous check for
10055 `stringp'. This is done inside `tramp-tramp-file-p'.
10056 (tramp-debug-outline-regexp): New defconst.
10057 (tramp-get-debug-buffer): Use it.
10058 (tramp-check-for-regexp): Use (forward-line 1).
10059 (tramp-set-auto-save-file-modes): Adapt version check.
10061 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10062 Wrap call of `featurep' for 2nd argument.
10063 (tramp-compat-make-temp-file): Simplify fallback implementation.
10064 (tramp-compat-copy-tree): Remove function.
10065 (tramp-compat-delete-directory): Provide implementation for older
10068 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10069 Do not use `tramp-fish-handle-file-attributes.
10071 * net/trampver.el: Update release number.
10073 2010-04-10 Glenn Morris <rgm@gnu.org>
10075 * progmodes/compile.el (compilation-save-buffers-predicate):
10076 Add missing :version tag.
10078 2010-04-09 Sam Steingold <sds@gnu.org>
10080 * progmodes/compile.el (compilation-save-buffers-predicate):
10081 Remove the "autoload" cookie.
10083 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10084 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10085 and `bug-reference-prog-mode' can be used in hooks directly.
10087 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10089 Add --author support to git commit.
10090 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10091 (vc-git-log-edit-mode): New minor mode.
10092 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10095 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10097 * vc-hooks.el, vc-git.el: Improve documentation comments.
10099 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10101 Fix some of the problems in defsubst* (bug#5728).
10102 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10103 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10105 2010-04-07 Sam Steingold <sds@gnu.org>
10107 * progmodes/compile.el (compilation-save-buffers-predicate):
10108 New custom variable.
10109 (compile, recompile): Pass it to `save-some-buffers'.
10111 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10113 * wid-edit.el (widget-choose): Move cursor to the second line of
10114 the buffer (Bug#5695).
10116 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10118 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10119 * vc.el (vc-print-log-setup-buttons): New function split out from
10120 vc-print-log-internal.
10121 (vc-log-internal-common): New function, a parametrized version of
10122 vc-print-log-internal.
10123 (vc-print-log-internal): Just call vc-log-internal-common with the
10125 (vc-incoming-outgoing-internal):
10126 (vc-log-incoming, vc-log-outgoing): New functions.
10127 (vc-log-view-type): New permanent local variable.
10129 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10131 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10132 of the dynamic bound vc-short-log.
10133 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10135 * vc-git.el (vc-git-log-outgoing): New function.
10136 (vc-git-log-view-mode): Use vc-log-view-type instead
10137 of the dynamic bound vc-short-log.
10139 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10140 of the dynamic bound vc-short-log. Highlight the tag.
10141 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10142 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10143 (vc-hg-incoming-mode): Remove.
10144 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10146 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10148 Fix default-directory for vc-root-diff.
10149 * vc.el (vc-root-diff): Bind default-directory to the root
10150 directory for the diff command.
10152 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10154 * progmodes/verilog-mode.el (verilog-forward-sexp):
10155 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10156 word keywords, suggested by Steve Pearlmutter.
10157 (verilog-pretty-declarations): Support lineup of declarations in
10159 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10160 fix bug for /* / comments.
10161 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10162 Speed up and simplfy as this is never called with a bound.
10163 (verilog-pretty-declarations): Enhance to line up declarations
10164 inside a parameter list, suggested by Alan Morgan.
10165 (verilog-pretty-expr): Tune assignment regular expression match
10166 string for corner cases; also use markers instead of character
10167 number as indent changes the later.
10169 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10171 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10172 as missing keyword.
10173 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10174 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10175 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10176 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10178 (verilog-keywords):
10179 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10180 1800-2009 keywords, including "global.".
10182 2010-04-06 John Wiegley <jwiegley@gmail.com>
10184 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10185 appearing in buffer list (if a live buffer name matched a recentf
10186 file basename). Should use uniquify to offer a real solution.
10188 2010-04-06 John Wiegley <jwiegley@gmail.com>
10190 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10191 comment to code, and add a :version tag.
10192 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10194 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10196 Enable recentf-mode if using virtual buffers.
10197 * ido.el (recentf-list): Declare for byte-compiler.
10198 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10199 (ido-make-buffer-list): Simplify.
10200 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10202 2010-04-05 Juri Linkov <juri@jurta.org>
10204 Scrolling commands which scroll a line instead of full screen.
10205 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10207 * simple.el (scroll-up-line, scroll-down-line): New commands.
10208 Put property isearch-scroll=t on them.
10210 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10213 2010-04-05 Juri Linkov <juri@jurta.org>
10215 Scrolling commands which do not signal errors at top/bottom.
10216 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10218 * simple.el (scroll-up-command, scroll-down-command): New commands.
10219 Put property isearch-scroll=t on them.
10221 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10222 `scroll-down-command' and [next] from `scroll-up' to
10223 `scroll-up-command'.
10225 * emulation/cua-base.el: Put property CUA=move on
10226 `scroll-up-command' and `scroll-down-command'.
10227 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10228 and `scroll-down-command' to `cua-scroll-down'.
10230 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10232 * help.el (describe-mode): Return nil.
10234 2010-04-04 John Wiegley <jwiegley@gmail.com>
10236 * ido.el (ido-use-virtual-buffers): New variable to indicate
10237 whether "virtual buffer" support is enabled for IDO.
10238 (ido-virtual): Face used to indicate virtual buffers in the list.
10239 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10240 exists, but a virtual buffer of that name does (which would be why
10241 it was in the list), recreate the buffer by reopening the file.
10242 (ido-make-buffer-list): If virtual buffers are being used, call
10243 `ido-add-virtual-buffers-to-list' before the make list hook.
10244 (ido-virtual-buffers): New variable which contains a copy of the
10245 current contents of the `recentf-list', albeit pared down for the
10246 sake of speed, and with proper faces applied.
10247 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10248 create a list of "virtual buffers" to present to the user in
10249 addition to the currently open set. Note that this logic could
10250 get rather slow if that list is too large. With the default
10251 `recentf-max-saved-items' of 200, there is little speed penalty.
10253 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * font-lock.el: Require CL when compiling.
10256 (font-lock-turn-on-thing-lock): Use `case'.
10258 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10260 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10263 2010-04-02 Juri Linkov <juri@jurta.org>
10265 * ehelp.el (electric-help-orig-major-mode):
10266 New buffer-local variable.
10267 (electric-help-mode): Set it to original major-mode. Doc fix.
10268 (with-electric-help): Use `electric-help-orig-major-mode' instead
10269 of (default-value 'major-mode). Doc fix.
10270 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10272 2010-04-02 Sam Steingold <sds@gnu.org>
10274 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10275 `vc-hg-command' with a list of flags.
10277 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10278 Also accept "patch" and "RFE".
10279 (bug-reference-fontify): `bug-reference-url-format' can also be a
10280 function to be able to handle the bug kind.
10281 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10283 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10285 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10286 value to fboundp, it may not be a symbol.
10288 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10290 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10292 2010-03-31 Juri Linkov <juri@jurta.org>
10294 * simple.el (next-line, previous-line): Re-throw a signal
10295 with `signal' instead of using `ding'.
10296 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10298 2010-03-31 Juri Linkov <juri@jurta.org>
10300 * simple.el (keyboard-escape-quit): Raise deselecting the active
10301 region higher than exiting the minibuffer.
10302 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10304 2010-03-31 Juri Linkov <juri@jurta.org>
10306 * image.el (image-animated-p): Use `image-metadata' instead of
10307 `image-extension-data'. Get GIF extenstion data from metadata
10308 property `extension-data'.
10310 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10312 * simple.el (append-to-buffer): Simplify.
10314 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10316 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10317 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10319 2010-03-31 Kenichi Handa <handa@m17n.org>
10321 * language/sinhala.el (composition-function-table): Fix regexp for
10322 the new Unicode specification.
10324 * language/indian.el (devanagari-composable-pattern)
10325 (tamil-composable-pattern, kannada-composable-pattern)
10326 (malayalam-composable-pattern): Adjust for the new Unicode
10328 (bengali-composable-pattern, gurmukhi-composable-pattern)
10329 (gujarati-composable-pattern, oriya-composable-pattern)
10330 (telugu-composable-pattern): New variables to cope with the new
10331 Unicode specification. Use them in composition-function-table.
10333 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10335 Make tmm-menubar work for the Buffers menu again (bug#5726).
10336 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10337 vectors rather than cons cells, as used in menu-bar-update-buffers.
10339 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10341 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10342 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10343 electric punctuation for "{}();,:" (Bug#5586).
10345 * mail/sendmail.el (mail-default-directory): Doc fix.
10347 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10349 * mail/sendmail.el (mail-default-directory): Doc fix.
10351 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10353 * subr.el (version-regexp-alist, version-to-list)
10354 (version-list-<, version-list-=, version-list-<=)
10355 (version-list-not-zero, version<, version<=, version=): Doc fix.
10358 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10360 * vc.el (vc-root-diff): Doc fix.
10362 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10364 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10366 * simple.el (append-to-buffer): Fix last change.
10368 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10370 * simple.el (append-to-buffer): Ensure that point is preserved if
10371 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10374 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10376 * files.el (auto-mode-case-fold): Change default to t.
10378 2010-03-30 Juri Linkov <juri@jurta.org>
10380 * dired-x.el (dired-omit-mode): Doc fix.
10382 2010-03-30 Juri Linkov <juri@jurta.org>
10384 * replace.el (occur-accumulate-lines): Move occur-engine related
10385 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10386 to be located after `occur-engine'.
10388 2010-03-30 Juri Linkov <juri@jurta.org>
10390 Make occur handle multi-line matches cleanly with context.
10391 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10393 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10394 (occur-engine): Add local variables `ret', `prev-after-lines',
10395 `prev-lines'. Use more arguments for `occur-context-lines'.
10396 Set first elem of its returned list to `data', and the second elem
10397 to `prev-after-lines'. Don't print the separator line.
10398 In the end, print remaining context after-lines.
10399 (occur-context-lines): Add new arguments `begpt', `endpt',
10400 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10401 after-lines of the previous match with before-lines of the
10402 current match and not overlap them. Return a list with two
10403 values: the output line and the list of context after-lines.
10405 2010-03-30 Juri Linkov <juri@jurta.org>
10407 * replace.el (occur-accumulate-lines): Fix a bug where the first
10408 context line at the beginning of the buffer was missing.
10410 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10412 * files.el: Make bidi-display-reordering safe variable for boolean
10415 2010-03-29 Phil Hagelberg <phil@evri.com>
10416 Chong Yidong <cyd@stupidchicken.com>
10418 * subr.el: Extend progress reporters to perform "spinning".
10419 (progress-reporter-update, progress-reporter-do-update):
10420 Handle non-numeric value arguments.
10421 (progress-reporter--pulse-characters): New var.
10423 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10425 * progmodes/compile.el (compilation-start): Fix regexp detection
10426 of initial cd command (Bug#5771).
10428 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10430 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10432 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10434 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10435 * progmodes/gdb-mi.el: Restore.
10436 * progmodes/gdb-ui.el: Remove.
10437 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10439 2010-03-25 Glenn Morris <rgm@gnu.org>
10441 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10442 all dired buffers, even tramp ones. (Bug#5755)
10444 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10446 Add "union tags" in mpc.el.
10447 * mpc.el: Remove backward compatibility code.
10448 (mpc-browser-tags): Change default.
10449 (mpc--find-memoize-union-tags): New var.
10450 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10451 (mpc-cmd-find): Handle the case where the playlist does not exist.
10453 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10454 (mpc-cmd-add): Use mpc-cmd-flush.
10455 (mpc-tagbrowser-tag-name): New fun.
10456 (mpc-tagbrowser-buf): Use it.
10457 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10459 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10463 Use replace-regexp-in-string.
10464 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10465 (makefile-imake-mode-syntax-table): Move init into defvar.
10466 (makefile-mode): Use define-derived-mode.
10468 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10469 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10470 not be present any more.
10472 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10474 * faces.el (set-face-attribute): Fix typo in docstring.
10475 (face-valid-attribute-values): Reflow docstring.
10477 2010-03-24 Glenn Morris <rgm@gnu.org>
10479 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10481 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10483 * indent.el (indent-for-tab-command): Doc fix.
10485 2010-03-24 Alan Mackenzie <acm@muc.de>
10487 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10488 Fix off-by-one error. Fixes bug #5747.
10490 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10492 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10493 (image-dired-read-comment): Doc fix.
10495 * json.el (json-object-type, json-array-type, json-key-type)
10496 (json-false, json-null, json-read-number):
10497 * minibuffer.el (completion-in-region-functions):
10498 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10499 (cal-tex-cursor-week):
10500 * emacs-lisp/trace.el (trace-function):
10501 * eshell/em-basic.el (eshell/printnl):
10502 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10503 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10504 * obsolete/levents.el (allocate-event, event-key, event-object)
10505 (event-point, event-process, event-timestamp, event-to-character)
10506 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10507 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10508 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10509 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10510 (reftex-highlight-selection): Fix typos in docstrings.
10512 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10514 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10516 2010-03-24 Glenn Morris <rgm@gnu.org>
10518 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10519 2008-02-13 without comment; mark it obsolete.
10520 (rmail-highlight-headers): Use rmail-highlight-face once more.
10522 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10524 * woman.el (woman2-process-escapes): Only consume the newline if
10525 the filler character is on a line by itself (Bug#5729).
10527 2010-03-24 Kenichi Handa <handa@m17n.org>
10529 * language/indian.el (devanagari-composable-pattern): Add more
10532 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10534 * net/trampver.el: Update release number.
10536 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10538 * net/tramp.el (tramp-find-executable):
10539 Use `tramp-get-connection-buffer'. Make the regexp for checking
10540 output of "wc -l" more robust.
10541 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10542 (tramp-open-connection-setup-interactive-shell): Remove workaround
10543 for OpenSolaris bug, it is not needed anymore.
10545 2010-03-24 Glenn Morris <rgm@gnu.org>
10547 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10549 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10551 * files.el (auto-mode-alist): Accept more verilog file patterns.
10553 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10555 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10557 2010-03-24 Glenn Morris <rgm@gnu.org>
10559 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10560 log-edit-before-checkin-process.
10562 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10564 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10566 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10567 (log-view-process-buffer, log-edit-extra-flags): Declare.
10569 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10571 2010-03-23 Sam Steingold <sds@gnu.org>
10573 Fix bug#5620: recalculate all markers on compilation buffer
10574 modifications, not on file modifications.
10575 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10576 variable: the buffer modification time, for buffers not associated with
10578 (compilation-mode): Create it.
10579 (compilation-filter): Update it.
10580 (compilation-next-error-function): Use it instead of
10581 `visited-file-modtime' for timestamp.
10583 2010-03-23 Juri Linkov <juri@jurta.org>
10585 Implement Occur multi-line matches.
10586 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10588 * replace.el (occur): Doc fix.
10589 (occur-engine): Set `begpt' to the beginning of the first line.
10590 Set `endpt' to the end of the last match line. At first, count
10591 line numbers between `origpt' and `begpt'. Split out code from
10592 `out-line' variable to new let-bindings `match-prefix' and
10593 `match-str'. In `out-line' add non-numeric prefix to all
10594 non-first lines of multi-line matches. Finally, count lines
10595 between `begpt' and `endpt' and add to `lines'.
10597 2010-03-23 Juri Linkov <juri@jurta.org>
10599 * replace.el (occur-accumulate-lines, occur-engine):
10600 Use `occur-engine-line' instead of duplicate code.
10601 (occur-engine-line): New function created from duplicate code
10602 in `occur-accumulate-lines' and `occur-engine'.
10604 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10605 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10607 2010-03-23 Juri Linkov <juri@jurta.org>
10609 * finder.el: Remove TODO tasks.
10611 * info.el (Info-finder-find-node): Add node "all"
10612 with all package info. Handle a list of multiple keywords
10613 separated by comma.
10614 (info-finder): In interactive use with a prefix argument,
10615 use `completing-read-multiple' to read a list of keywords
10616 separated by comma.
10618 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10620 Add a new completion style `substring'.
10621 * minibuffer.el (completion-basic--pattern): New function.
10622 (completion-basic-try-completion, completion-basic-all-completions):
10624 (completion-substring--all-completions)
10625 (completion-substring-try-completion)
10626 (completion-substring-all-completions): New functions.
10627 (completion-styles-alist): New style `substring'.
10629 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10631 Get rid of .elc files after removal of the corresponding .el.
10632 * Makefile.in (compile-clean): New target.
10633 (compile-main): Use it.
10635 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10637 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10638 don't do make there. When compiling with separate object dir, there
10639 is no Makefile there.
10641 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10643 Get rid of the ELCFILES abomination, again.
10644 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10645 (all, compile): Don't call compile-last.
10646 (compile-main): Build the "elcfiles" list dynamically.
10647 (compile-targets): New (internal) target.
10649 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10651 * Makefile.in (top_srcdir): Define.
10652 (abs_top_builddir): Define.
10653 (srcdir): Don't append `/..'.
10654 (EMACS): Use ${abs_top_builddir}.
10655 (all, compile, compile-always, compile-last): Don't set emacswd.
10656 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10658 (lisp): Use $(srcdir) instead of @srcdir@.
10660 2010-03-21 Juri Linkov <juri@jurta.org>
10662 Fix message of multi-line occur regexps and multi-buffer header lines.
10663 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10665 * replace.el (occur-1): Don't display regexp if it is longer
10666 than window-width. Use `query-replace-descr' to display regexp.
10667 (occur-engine): Don't display regexp in the buffer header for
10668 multi-buffer occur. Display a separate header line with total
10669 match count and regexp for multi-buffer occur.
10670 Use `query-replace-descr' to display regexp.
10672 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10674 * net/secrets.el: Fix parenthesis.
10675 (secrets-enabled): Fix parenthesis.
10677 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10679 Use more relative file and directory names.
10680 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10681 (setwins, setwins_almost, setwins_for_subdirs):
10682 Don't `cd'; output relative names.
10683 (all, compile, compile-always, compile-last): Set emacswd.
10684 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10685 Just cd to the lisp source dir so we can use relative file names.
10687 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10689 2010-03-20 Glenn Morris <rgm@gnu.org>
10691 * textmodes/rst.el: Use faces for font-lock customization, and make the
10692 old -face variables obsolete.
10693 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10694 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10695 (rst-block-face, rst-external-face, rst-definition-face)
10696 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10697 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10699 (rst-font-lock-keywords-function): Update for above changes.
10701 2010-03-20 Juri Linkov <juri@jurta.org>
10704 * obsolete/s-region.el: Move to obsolete.
10706 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10708 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10710 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10712 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10714 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10716 Add special markup processing for commit logs.
10717 * log-edit.el (log-edit-extra-flags): New variable.
10718 (log-edit): Add new argument MODE. Use that mode when non-nil
10719 instead of the log-view-mode.
10720 (log-view-process-buffer): New function.
10722 * vc.el: Document that the checkin method takes optional
10723 arguments. Document new backend specific method: log-view-mode.
10724 (vc-default-log-edit-mode): New function.
10725 (vc-checkin): Use a backend specific log-view-mode.
10726 Pass extra arguments to the checkin method.
10727 (vc-modify-change-comment): Pass a dummy extra argument.
10729 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10731 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10732 (vc-finish-logentry): Process the log buffer before passing it
10733 down. Pass log-edit-extra-flags.
10735 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10737 (log-edit-extra-flags, log-edit-before-checkin-process):
10740 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10742 (log-edit-extra-flags, log-edit-before-checkin-process):
10744 (vc-hg-log-edit-mode): New derived mode.
10746 * vc-arch.el (vc-arch-checkin):
10747 * vc-cvs.el (vc-cvs-checkin):
10748 * vc-git.el (vc-git-checkin):
10749 * vc-mtn.el (vc-mtn-checkin):
10750 * vc-rcs.el (vc-rcs-checkin):
10751 * vc-sccs.el (vc-sccs-checkin):
10752 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10754 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10759 2010-03-19 Glenn Morris <rgm@gnu.org>
10761 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10763 2010-03-18 Glenn Morris <rgm@gnu.org>
10765 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10767 * replace.el (query-replace-history): Give it a doc string.
10768 (map-query-replace-regexp): Use query-replace-from-history-variable
10769 and query-replace-to-history-variable.
10771 * mail/hashcash.el (declare-function): Remove duplicate definition.
10773 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10774 Make it an obsolete alias for report-emacs-bug-address.
10775 (message-strip-special-text-properties): Declare.
10776 (report-emacs-bug): Remove test for a pretest bug address.
10777 Combine message-mode-specific code.
10779 * mail/supercite.el: Don't require sendmail.
10780 (mh-in-header-p): Declare rather than using with-no-warnings.
10781 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10782 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10784 * calendar/cal-french.el: Convert to utf-8.
10786 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10789 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10791 * net/secrets.el (secrets-enabled): New variable. Use it instead
10794 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10796 * net/secrets.el (top): Register the D-Bus signals only when the
10797 service "org.freedesktop.secrets" can be pinged.
10798 Provide subfeature `enabled'.
10800 2010-03-14 Juri Linkov <juri@jurta.org>
10802 Add finder unknown keywords.
10804 * finder.el (finder-unknown-keywords): New function.
10806 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10807 to create a Finder node with unknown keywords.
10809 2010-03-14 Juri Linkov <juri@jurta.org>
10811 * finder.el (finder-compile-keywords): Replace `princ' with
10812 `prin1' on a list of symbols interned from keyword strings.
10814 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10815 a comma, then split keywords using a comma and optional whitespace.
10816 Otherwise, split by whitespace.
10824 * progmodes/mixal-mode.el: Fix keywords.
10826 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10828 * Makefile.in (ELCFILES): Add net/secrets.elc.
10830 * net/secrets.el: New file.
10832 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10834 * facemenu.el (list-colors-display, list-colors-print): New arg
10835 callback. Use it to allow selecting colors.
10837 * wid-edit.el (widget-image-insert): Insert image prop even if the
10838 current display is non-graphic.
10839 (widget-field-value-set): New fun.
10840 (editable-field): Use it.
10841 (widget-field-value-get): Clean up unused var.
10842 (widget-color-value-create, widget-color--choose-action):
10843 New funs. Allow using list-colors-display to choose color.
10845 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10847 * cus-edit.el: Resort topmost custom groups.
10848 (custom-buffer-sort-alphabetically): Default to t.
10849 (customize-apropos): Use apropos-parse-pattern.
10850 (custom-search-field): New var.
10851 (custom-buffer-create-internal): Add custom-apropos search field.
10852 (custom-add-parent-links): Don't display parent doc.
10853 (custom-group-value-create): Don't sort top-level custom group.
10854 (custom-magic-value-create): Show visibility button before option name.
10856 (custom-variable-state): New fun, from custom-variable-state-set.
10857 (custom-variable-state-set): Use it.
10858 (custom-group-value-create): Hide options with standard values
10859 using the :hidden-states property. Use progress reporter.
10861 (custom-show): Simplify.
10862 (custom-visibility): Disable images by default.
10863 (custom-variable): New property :hidden-states.
10864 (custom-variable-value-create): Enable images for
10865 custom-visibility widgets. Use :hidden-states property to
10866 determine initial visibility.
10868 * wid-edit.el (widget-image-find): Give images center ascent.
10869 (visibility): Add :on-image and :off-image properties.
10870 (widget-visibility-value-create): Use them.
10872 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10874 * cus-edit.el (processes): Remove from development group.
10875 (oop, hypermedia): Delete group.
10876 (comm): Promote to top-level group.
10878 * net/browse-url.el (browse-url):
10879 * net/xesam.el (xesam):
10880 * net/tramp.el (tramp):
10881 * net/goto-addr.el (goto-address):
10882 * net/ange-ftp.el (ange-ftp): Put in comm group.
10884 * view.el (view): Remove from editing group.
10886 * uniquify.el (uniquify): Put in files group.
10888 * net/browse-url.el (browse-url):
10889 * ps-print.el (postscript): Put in external group.
10891 * cus-edit.el (outlines):
10892 * textmodes/text-mode.el (text-mode-hook):
10893 * textmodes/table.el (table):
10894 * textmodes/picture.el (picture):
10895 * outline.el (outlines): Put in wp group.
10897 * nxml/nxml-mode.el (nxml): Remove from wp group.
10899 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10901 * mail/metamail.el (metamail): Remove from hypermedia group.
10903 * cus-edit.el (abbrev):
10904 * whitespace.el (whitespace):
10905 * vcursor.el (vcursor):
10906 * reveal.el (reveal):
10907 * hl-line.el (hl-line): Put in convenience group.
10909 * epg-config.el (epg): Put in data group.
10911 * emulation/pc-select.el (pc-select): Put in emulations group.
10913 * calculator.el (calculator): Put in applications group.
10915 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10917 Add .dir-locals.el support for file-less buffers.
10918 * files.el (hack-local-variables): Split out code to apply local
10919 variable settings ...
10920 (hack-local-variables-apply): ... here. New function.
10921 (hack-dir-local-variables): Use the default directory for when the
10922 buffer does not have an associated file.
10923 (hack-dir-local-variables-non-file-buffer): New function.
10924 * diff-mode.el (diff-mode):
10925 * vc-annotate.el (vc-annotate-mode):
10926 * vc-dir.el (vc-dir-mode):
10927 * log-edit.el (log-edit-mode):
10928 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10930 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10932 Add support for shelving snapshots and for showing shelves.
10933 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10934 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10936 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10937 (vc-bzr-extra-menu-map): Map them.
10939 2010-03-11 Glenn Morris <rgm@gnu.org>
10941 * cus-edit.el (customize-changed-options-previous-release):
10944 * image.el (image-animate-max-time): Fix :version tag.
10946 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10950 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10952 * vc-git.el (vc-git-revision-table): Include remote branches.
10954 2010-03-10 Kim F. Storm <storm@cua.dk>
10956 Animated image API.
10957 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10959 * image.el (image-animate-max-time): New defcustom.
10960 (image-animated-types): New defconst.
10961 (create-animated-image, image-animate-timer)
10962 (image-animate-start, image-animate-stop, image-animate-timeout)
10963 (image-animated-p): New functions.
10965 * image-mode.el (image-toggle-display-image):
10966 Replace `create-image' with `create-animated-image'.
10968 2010-03-09 Miles Bader <miles@gnu.org>
10970 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10971 instead of "format:"; this ensures that the output is
10972 newline-terminated.
10974 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10976 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10977 that all errors are caught, and that the return value is always a
10980 2010-03-08 Kenichi Handa <handa@m17n.org>
10982 * language/misc-lang.el (windows-1256): New coding system.
10983 (cp1256): New alias of windows-1256 (bug#5690).
10985 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10987 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10988 call to rfc822-bad-address. (Bug#5692)
10990 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10992 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10993 Use vc-git-root as default directory for revision path (Bug#5657).
10995 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10997 * calculator.el (calculator): Don't bind split-window-keep-point
11000 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * vc-git.el: Re-flow to fit into 80 columns.
11003 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11004 Remove spurious `quote' element in each case alternative.
11005 (vc-git-show-log-entry): Use prog1.
11006 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11008 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11010 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11012 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11014 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11015 definition, not the name (Bug#5481).
11017 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11019 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11020 argument with a local variable. (Bug#5670)
11022 2010-03-02 Juri Linkov <juri@jurta.org>
11024 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11026 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11028 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11029 error when FILENAME and NEWNAME are existing remote directories.
11031 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11032 parameter DIR-FLAG.
11034 2010-03-02 Glenn Morris <rgm@gnu.org>
11036 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11037 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11039 2010-03-01 Kenichi Handa <handa@m17n.org>
11041 * language/burmese.el (burmese-composable-pattern): Rename from
11042 myanmar-composable-pattern.
11044 * international/characters.el (script-list):
11045 * international/fontset.el (script-representative-chars):
11046 Change myanmar to burmese.
11047 (otf-script-alist): Likewise.
11048 (setup-default-fontset): Likewise. Re-fix :otf spec.
11050 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11052 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11054 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11056 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11058 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11060 * net/tramp.el (tramp-handle-write-region): START can be a string.
11061 Take care in the checks. Reported by Dan Davison
11062 <davison@stats.ox.ac.uk>.
11064 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11066 * net/dbus.el (dbus-introspect, dbus-get-property)
11067 (dbus-set-property, dbus-get-all-properties):
11068 Use `dbus-call-method' when noninteractive. (Bug#5645)
11070 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11072 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11073 * emacs-lisp/elint.el (elint-add-required-env):
11074 * calendar/icalendar.el (icalendar--add-diary-entry):
11075 * calc/calcalg2.el (math-tracing-integral):
11076 * files.el (recover-session-finish): Use with-current-buffer
11077 instead of save-excursion.
11079 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11081 Fix in-buffer completion when after-change-functions modify the buffer.
11082 * minibuffer.el (completion--replace): New function.
11083 (completion--do-completion): Use it and use relative movement.
11085 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11087 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11089 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11091 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11092 Allow the characters _<> in the stack entry (Bug#5653).
11094 2010-02-26 Kenichi Handa <handa@m17n.org>
11096 * language/burmese.el: Fix entries in composition-function-table.
11097 (myanmar-composable-pattern): New variable.
11099 * international/fontset.el (setup-default-fontset): Add an entry
11102 * international/characters.el (script-list): Add Myanmar
11105 2010-02-26 Glenn Morris <rgm@gnu.org>
11107 * custom.el (custom-initialize-delay): Doc fix.
11109 * mail/sendmail.el (send-mail-function): Autoload the call
11110 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11112 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11114 * files.el (hack-local-variables-filter): For eval forms, also
11115 check safe-local-variable-p (Bug#5636).
11117 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11119 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11120 setting the modes by `ignore-errors'. It might fail, for example
11121 if the file is not owned by the user but the group.
11122 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11124 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11126 * files.el (directory-listing-before-filename-regexp):
11127 Use stricter matching for iso-style dates, to avoid false matches with
11128 date-like filenames (Bug#5597).
11130 * htmlfontify.el (htmlfontify): Doc fix.
11132 * eshell/eshell.el (eshell): Doc fix.
11134 * startup.el (fancy-about-screen): In mode-line, apply
11135 mode-line-buffer-id face only to the buffer name (Bug#5613).
11137 2010-02-20 Kevin Ryde <user42@zip.com.au>
11139 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11140 In `watcom' anchor regexp to start of line, to avoid slowness
11143 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11145 * subr.el (remove-yank-excluded-properties): Explain in a comment
11146 why `category' property is removed.
11148 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11150 * isearch.el (isearch-update-post-hook, isearch-update):
11151 Revert 2010-02-17 change.
11153 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11155 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11156 (icalendar--convert-weekly-to-ical)
11157 (icalendar--convert-yearly-to-ical)
11158 (icalendar--convert-block-to-ical)
11159 (icalendar--convert-cyclic-to-ical)
11160 (icalendar--convert-anniversary-to-ical): Take care of time
11161 specifications where hour has 1-digit only (Bug#5549).
11163 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11165 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11166 of disassemble output in GDB 7.1.
11168 2010-02-19 Glenn Morris <rgm@gnu.org>
11170 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11171 property. (Bug#5593)
11173 2010-02-18 Sam Steingold <sds@gnu.org>
11175 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11177 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11179 Use abbreviated file names in bookmarks (bug#5591).
11180 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11181 calls to expand-file-name.
11182 (bookmark-relocate): Use abbreviated file names in bookmarks.
11183 (bookmark-load): Use abbreviated file names in messages.
11185 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11187 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11188 expand "." and "..". Reported by Thierry Volpiatto
11189 <thierry.volpiatto@gmail.com>.
11191 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11193 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11194 permissions of the temporary file to "0600". In case the remote
11195 file has no read permissions for the owner, there might be
11196 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11198 22010-02-18 Glenn Morris <rgm@gnu.org>
11200 * emacs-lisp/authors.el (authors-renamed-files-alist):
11201 Add entries for INSTALL.CVS.
11203 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11205 * vc-bzr.el: Fix typo in Known Bugs section.
11207 * isearch.el (isearch-update-post-hook): New hook.
11208 (isearch-update): Use the new hook.
11210 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11212 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11213 Fix errors in copying directories.
11214 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11215 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11216 (tramp-handle-delete-file)
11217 (tramp-handle-dired-recursive-delete-directory)
11218 (tramp-handle-write-region): Flush also the cache for the upper
11221 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11223 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11225 * cus-edit.el (hardware): Doc fix.
11227 * man.el (man): Add to external custom group.
11229 * delim-col.el (columns): Move to wp custom group.
11231 * doc-view.el (doc-view): Add to data custom group.
11233 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11235 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11236 by ispell-parse-output (Bug#5575).
11238 2010-02-16 Kenichi Handa <handa@m17n.org>
11240 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11241 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11242 (skkdic-convert): Use `euc-japan' coding system for writing.
11244 2010-02-16 Glenn Morris <rgm@gnu.org>
11246 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11247 tex-main-file before using it. (Bug#5562)
11249 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11252 warnings, since it is annoying for the user to see them each time he
11255 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11257 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11258 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11259 instead of PROC for caching "first-password-request". Otherwise,
11260 new processes would not profit from passwords already entered.
11262 * net/tramp-cache.el (tramp-dump-connection-properties):
11263 Don't save "first-password-request" property.
11265 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11267 * outline.el (outline-head-from-level):
11268 * simple.el (with-wrapper-hook):
11269 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11270 (elint-defun, elint-buffer-env, elint-top-form-logged)
11271 (elint-unbound-variable):
11272 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11273 Fix typos in docstrings.
11275 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11277 * files.el (insert-directory): When WILDCARD-REGEXP and
11278 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11279 whole directory. (Bug#5551)
11281 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11282 dired's alignment sanity. (Bug#5516)
11284 2010-02-14 Juri Linkov <juri@jurta.org>
11286 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11287 Remove remaining ^H with their preceding chars. (Bug#5566)
11289 2010-02-13 Glenn Morris <rgm@gnu.org>
11291 * simple.el (transpose-subr): Give it a doc-string.
11293 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11296 2010-02-12 Juri Linkov <juri@jurta.org>
11298 * arc-mode.el (archive-unique-fname): Make directories for nested
11299 archives. (Bug#5540)
11301 2010-02-12 Juri Linkov <juri@jurta.org>
11303 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11305 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11307 * subr.el (copy-overlay): Handle deleted overlays.
11309 * man.el (Man-completion-table): Don't signal an error if we can't run
11310 manual-program (bug#4056).
11312 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11314 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11316 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11318 * info.el (Info-bookmark-jump): Simplify.
11320 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11321 (bookmark-default-handler): Accept new bookmark field `buffer'.
11323 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11325 * iswitchb.el (iswitchb-completions): Revert last change.
11327 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11329 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11330 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11331 This prevents file names like "~/" being listed literally.
11333 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11335 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11336 Remove dead code. (Bug#5546)
11338 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11340 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11341 correctly (Bug#5548).
11343 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11345 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11346 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11348 2010-02-08 Kenichi Handa <handa@m17n.org>
11350 * international/mule-util.el (with-coding-priority): Add autoload
11351 cookie for putting `lisp-indent-function'.
11353 2010-02-07 Glenn Morris <rgm@gnu.org>
11355 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11356 Move F2003 named interfaces from keywords-2 to keywords-1, and
11357 use function-name-face rather than constant-face.
11358 Simplify "abstract interface" regexp.
11360 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11362 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11363 ID-FORMAT. Pass it to `file-attributes'.
11365 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11367 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11369 * faces.el (set-face-attribute): Allow calling
11370 internal-set-lisp-face-attribute with 'unspecified family and
11371 foundry argument (Bug#5536).
11373 2010-02-07 Glenn Morris <rgm@gnu.org>
11375 * progmodes/f90.el (f90-font-lock-keywords-2)
11376 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11377 Handle F2003 named interfaces.
11379 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11381 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11382 beg and end before calling c-get-state-before-change-functions.
11384 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11386 * vc-bzr.el (vc-bzr-dir-extra-headers):
11387 Disable the pending merges header.
11389 2010-02-05 Juri Linkov <juri@jurta.org>
11391 * doc-view.el (doc-view-mode):
11392 * image-mode.el (image-mode): Put property mode-class=special.
11395 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11397 * vc-svn.el (vc-svn-revision-table): New function.
11399 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11401 * net/ange-ftp.el (ange-ftp-insert-directory):
11402 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11403 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11404 Handle also directories. (Bug#5478)
11406 2010-02-05 Glenn Morris <rgm@gnu.org>
11408 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11410 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11412 * startup.el (command-line-1): Convert options beginning with a
11413 single dash as well (Bug#5519).
11415 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11417 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11418 * minibuffer.el (completion-initials-expand): Only check the presence
11419 of delims *within* the boundaries, since otherwise the / delim is
11420 always found for files.
11422 Fix up various corner case problems.
11423 * doc-view.el (doc-view-last-page-number): New function.
11424 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11425 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11426 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11427 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11428 (doc-view-convert-current-doc): Don't create the resolution.el file
11430 (doc-view-pdf/ps->png): Do it here instead.
11431 (doc-view-already-converted-p): Check that resolution.el is present.
11432 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11433 windows that are not yet showing images.
11435 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11437 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11438 `dired-uncache' for every elemnt which is an absolute file name.
11440 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11441 directory, handle its directory component.
11442 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11443 function is called permanently and creates noise, otherwise.
11445 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11446 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11447 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11449 2010-02-04 David Burger <dburger@google.com> (tiny change)
11451 * macros.el (apply-macro-to-region-lines):
11452 Minor simplification. (Bug#5485)
11454 2010-02-04 Glenn Morris <rgm@gnu.org>
11456 * mail/rmail.el (rmail-show-message-1): Handle malformed
11457 quoted-printable text. (Bug#5441)
11459 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11461 * simple.el (visual-line-mode): Capitalize lighter.
11463 2010-02-03 John Wiegley <jwiegley@gmail.com>
11465 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11466 list of files considered for "virtual buffer" completions.
11468 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11470 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11471 also in case of (and (not full) (not wildcard)). This is needed
11472 when dired is called with a list of files, which are not in
11473 `default-directory'. (Bug#5478)
11475 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11477 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11479 2010-02-02 Juri Linkov <juri@jurta.org>
11481 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11482 from unidiff to allow function-line after @@.
11484 2010-02-02 Juri Linkov <juri@jurta.org>
11486 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11487 '(RCS SCCS) with inverted condition.
11489 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11491 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11494 2010-02-01 Juri Linkov <juri@jurta.org>
11496 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11497 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11498 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11499 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11501 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11503 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11504 (doc-view-revert-buffer): New command.
11505 (doc-view-mode-map): Use it.
11507 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11509 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11510 pending merge is detected.
11512 2010-01-31 Juri Linkov <juri@jurta.org>
11514 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11515 beginning of interactive spec like all other grep commands do.
11516 Put "all" in front of "gz". (Bug#5260)
11518 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11520 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11522 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11524 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11525 regexp is incorrect (Bug#5476).
11527 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11529 * net/tramp.el (tramp-handle-insert-directory): Handle also
11530 symlinks, when FILENAME is not in `default-directory'.
11532 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11534 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11535 FILE is not in `default-directory'. (Bug#5478)
11537 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11538 of SWITCHES. Handle the case, FILENAME is not in
11539 `default-directory'. (Bug#5478)
11540 (tramp-register-file-name-handlers): Add safe-magic property.
11542 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11544 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11547 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11549 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11550 (flymake-master-make-header-init): Add other C++ filename masks.
11551 (flymake-find-possible-master-files)
11552 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11554 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11556 Fix some busybox annoyances.
11558 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11559 not responding." string.
11560 (tramp-open-connection-setup-interactive-shell): Dump stty
11561 settings. Enable "neveropen" arg for all `tramp-send-command'
11562 calls. Handle "=" in variable values properly.
11563 (tramp-find-inline-encoding): Raise an error, when no encoding is
11565 (tramp-wait-for-output): Check, whether PROC buffer is available.
11566 Remove spurious " ^H" sequences, sent by busybox.
11567 (tramp-get-ls-command): Suppress coloring, if possible.
11569 2010-01-28 Glenn Morris <rgm@gnu.org>
11571 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11573 * log-edit.el (log-edit-strip-single-file-name): Add missing
11574 :safe, :group, and :version tags.
11576 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11578 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11579 buffers. (Bug#5477)
11581 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11583 * files.el (delete-directory): Handle moving to trash without
11584 first doing recursion (Bug#5436).
11586 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11588 * vc-hooks.el (vc-path): Mark as obsolete.
11590 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11592 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11595 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11597 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11599 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11601 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11603 * vc-bzr.el (vc-bzr-revision-table): New function.
11605 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11607 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11608 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11610 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11612 Remove support for adding --signoff on commit.
11613 Future support will use an incompatible generic mechanism.
11614 * vc-git.el (vc-git-add-signoff): Remove variable.
11615 (vc-git-toggle-signoff): Remove function.
11616 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11618 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11619 Rename from xterm-set-background-mode. Return t if the background mode
11621 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11622 earlier, call it again in case the background mode has changed.
11624 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11626 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11629 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11631 * emacs-lisp/assoc.el (aelement): Doc fix.
11632 (aput, adelete, amake): Use lexical-let (Bug#5450).
11634 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11636 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11637 is the same as subprogram call, not declaration. (Bug#5435).
11639 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11641 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11642 (tramp-smb-maybe-open-connection): Use it.
11644 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11646 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11648 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11650 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11651 just because we see "encoding: 8bit".
11652 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11654 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11656 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11658 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11660 * jka-compr.el (jka-compr-load): If load-file is not in
11661 load-history, try its file-truename version. (bug#5447)
11663 2010-01-21 Alan Mackenzie <acm@muc.de>
11665 Fix a situation where deletion of a cpp construct throws an error.
11666 * progmodes/cc-engine.el (c-invalidate-state-cache):
11667 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11668 special cpp construct is still in the buffer.
11669 (c-parse-state): Record the special cpp with markers, not numbers.
11671 2010-01-21 Kenichi Handa <handa@m17n.org>
11673 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11674 process last-command-event, as it is now decoded first (Bug#5380).
11676 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11678 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11680 2010-01-20 Glenn Morris <rgm@gnu.org>
11682 * indent.el (tab-always-indent): Fix custom-type.
11684 2010-01-19 Alan Mackenzie <acm@muc.de>
11686 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11687 buffer throws "args out of range".
11688 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11689 playing the role of delimiter.
11691 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11693 * progmodes/ada-mode.el: Fix bug#5400.
11694 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11695 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11696 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11697 Improve comments in "is" portion. Handle null procedure declaration.
11698 (ada-move-to-end): Improve doc string.
11700 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11702 * ido.el (ido-cur-list): Initialize to nil.
11703 Remove obsolete information from commentary.
11704 (ido-choice-list): Initialize to nil.
11705 (ido-get-bufname): Reject minibuffers.
11706 (ido-make-buffer-list): If "default" is a nonexistent
11707 buffer, ignore it, as per the function's comment.
11708 (ido-kill-buffer-internal): New function.
11709 (ido-kill-buffer-at-head): Use it.
11710 (ido-visit-buffer): Likewise.
11712 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11714 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11716 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11718 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11719 Fix typos in chart titles.
11721 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11722 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11723 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11724 (describe-class, eieio-describe-generic, describe-generic):
11725 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11726 (eieio-speedbar-expand):
11727 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11728 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11729 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11730 (viper-del-backward-char-in-replace, viper-backward-indent)
11731 (viper-brac-function, viper-register-to-point, viper-submit-report):
11732 * net/tramp.el (tramp-remote-coding-commands):
11733 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11734 Fix typos in docstrings.
11736 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11738 * mail/sendmail.el (mail-yank-original): Set the mark if the
11739 specified function for yanking does not do it.
11741 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11743 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11745 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11746 resyncing a directory.
11748 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11750 * progmodes/ada-mode.el: Fix bug#1920.
11751 (ada-ident-re): Delete ., allow multibyte characters.
11752 (ada-goto-label-re): New; matches goto labels.
11753 (ada-block-label-re): New; matches block labels.
11754 (ada-label-re): New; matches both.
11755 (ada-named-block-re): Deleted; callers changed to use
11756 `ada-block-label-re' instead.
11757 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11758 Use `ada-block-label-re'.
11759 (ada-indent-on-previous-lines): Improve handling of goto labels.
11760 (ada-get-indent-block-start): Special-case block label.
11761 (ada-get-indent-label): Split into `ada-indent-block-label' and
11762 `ada-indent-goto-label'.
11763 (ada-goto-stmt-start, ada-goto-next-non-ws):
11764 Optionally ignore goto labels.
11765 (ada-goto-next-word): Simplify.
11766 (ada-indent-newline-indent-conditional): Insert newline before
11767 trying to fix indentation; doc fix.
11769 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11771 * calc/calc.el (calc-command-flags): Give it an initial value.
11773 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11775 * files.el (minibuffer-with-setup-hook):
11776 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11777 (artist-key-draw-continously, artist-key-do-continously-continously)
11778 (artist-key-set-point-continously, artist-mouse-draw-continously):
11779 Fix typos in docstrings.
11781 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11783 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11784 Never return t (Bug#3898).
11786 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11788 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11789 can parse the output of the external commands (Bug#5279).
11791 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11793 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11795 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11797 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11799 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11801 * startup.el (command-line): Remove unused --icon-type arg.
11802 Handle --display arg, passing it to command-line-1 (Bug#5392).
11804 2010-01-16 Mario Lang <mlang@delysid.org>
11806 * emacs-lisp/chart.el (chart-translate-namezone):
11807 * textmodes/artist.el (artist-compute-popup-menu-table):
11808 Remove duplicated words in doc-strings.
11810 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11812 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11813 to mairix-search to suppress threading (Bug#5342).
11815 2010-01-15 Kenichi Handa <handa@m17n.org>
11817 * international/mule-cmds.el (canonicalize-coding-system-name):
11818 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11820 2010-01-15 Glenn Morris <rgm@gnu.org>
11822 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11824 * wid-edit.el (widget-keymap): Doc fix.
11826 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11827 former seems to be more widely accepted by various svn versions.
11829 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11831 * find-cmd.el (find-constituents):
11832 * vc-arch.el (vc-arch-root):
11833 * window.el (window-body-height, pop-up-frames):
11834 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11835 * progmodes/ada-stmt.el (ada-if):
11836 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11837 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11838 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11839 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11841 * progmodes/flymake.el (flymake-post-syntax-check):
11842 Fix typo in error message.
11844 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11846 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11847 which is always a string. (Bug#5313)
11849 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11851 * progmodes/ada-xref.el (ada-default-prj-properties):
11852 Simplify previous change.
11854 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11856 * progmodes/ada-xref.el (ada-default-prj-properties):
11857 Default ada_project_path to $ADA_PROJECT_PATH.
11859 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11861 * progmodes/ada-mode.el (ada-create-keymap):
11862 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11864 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11866 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11867 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11868 (ada-get-current-indent, ada-imenu-generic-expression)
11869 (ada-which-function): Check for it.
11871 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11873 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11874 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11876 2010-01-14 Glenn Morris <rgm@gnu.org>
11878 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11880 2010-01-14 Kenichi Handa <handa@m17n.org>
11882 * composite.el (auto-composition-mode): Make it a buffer local
11883 variable (permanent-local).
11884 (auto-composition-function): Set the default value to
11885 auto-compose-chars.
11886 (auto-composition-mode): Make it a simple function, not a minor mode.
11887 (global-auto-composition-mode): Likewise.
11888 (turn-on-auto-composition-if-enabled): Delete it.
11890 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11892 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11894 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11896 * files.el (copy-directory): Compute target for recursive
11897 directories with identical names. (Bug#5343)
11899 2010-01-12 Glenn Morris <rgm@gnu.org>
11901 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11902 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11904 2010-01-11 Sam Steingold <sds@gnu.org>
11906 * imenu.el (imenu-default-create-index-function): Detect infinite
11907 loops caused by imenu-prev-index-position-function.
11909 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11911 * htmlfontify.el (htmlfontify-load-rgb-file)
11912 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11913 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11914 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11915 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11916 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11917 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11918 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11919 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11920 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11921 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11922 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11923 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11924 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11925 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11926 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11927 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11928 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11929 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11930 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11931 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11932 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11933 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11934 backslash-quoting from parentheses, etc.
11936 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11938 * progmodes/js.el: Autoload javascript-mode alias.
11940 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11942 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11943 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11944 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11945 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11946 Fix typos in docstrings.
11947 (ffap-url-regexp): Doc fix.
11948 (ffap-at-mouse): Fix typo in message.
11950 2010-01-11 Glenn Morris <rgm@gnu.org>
11952 * version.el (emacs-copyright): Set copyright year to 2010.
11954 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11956 * format.el (format-annotate-function): Only set
11957 write-region-post-annotation-function after running to-fn so as not to
11958 affect nested write-region calls (bug#5273).
11960 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11962 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11965 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11967 * man.el (Man-goto-section): Signal error if the section is not
11970 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11972 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11973 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11975 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11977 * progmodes/compile.el: Don't treat compile-command as safe if
11978 compilation-read-command might be nil (Bug#4218).
11980 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11982 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11985 2010-01-08 Kenichi Handa <handa@m17n.org>
11987 * international/fontset.el (build-default-fontset-data):
11988 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11990 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11992 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11993 to `create-file-buffer' as it expects, not just a buffer name.
11994 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11995 to help uniquify. (Bug#3224)
11997 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11999 * font-setting.el (font-setting-change-default-font): Use user-spec
12002 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12004 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12006 2010-01-05 Tom Tromey <tromey@redhat.com>
12008 * progmodes/python.el (python-font-lock-keywords):
12009 Handle qualified decorators (Bug#881).
12011 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12013 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12014 in a lightweight checkout.
12016 2010-01-05 Kenichi Handa <handa@m17n.org>
12018 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12020 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12022 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12024 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12026 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12027 checkouts. (Bug#618)
12028 (vc-bzr-log-view-mode): Also highlight the author.
12029 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12030 (vc-bzr-shelve-menu-map):
12031 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12032 (vc-bzr-shelve-apply): Make prompt more explicit.
12034 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12036 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12037 They are valid characters in URL paths (rfc3986), and at least
12038 Firefox does not understand the encoded version (Bug#3166).
12040 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12042 * progmodes/octave-mod.el (octave-end-keywords)
12043 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12044 Add "end" keyword (Bug#3061).
12045 (octave-end-as-array-index-p): New function.
12046 (calculate-octave-indent): Use it.
12048 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12050 * bookmark.el: Consistently put the text property on the bookmark name.
12051 (bookmark-bmenu-marks-width): Bump back to 2, to include
12053 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12054 property on the bookmark name, instead of not putting it at all.
12055 (bookmark-bmenu-list): Fix where we put the text property.
12057 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12059 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12060 for showing buffer modified state (as added in the previous change).
12062 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12064 * bookmark.el: Show modified state of bookmark buffer more accurately.
12065 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12066 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12067 (with-buffer-modified-unmodified): New macro.
12068 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12069 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12070 Use new macro to preserve the buffer modified state.
12072 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12074 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12075 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12076 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12077 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12078 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12079 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12080 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12082 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12085 Make the lines in the generated doc string shorter. (Bug#4668)
12087 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12089 * net/rcirc.el: Add follow-link binding (Bug#4738).
12091 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12093 * Makefile.in (bzr-update): Rename from cvs-update.
12094 (cvs-update): New target for backward compatibility.
12096 * makefile.w32-in (bzr-update): Rename from cvs-update.
12097 (cvs-update): New target for backward compatibility.
12099 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12101 * bookmark.el: Remove gratuitous gratitude.
12103 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12105 * bookmark.el (bookmark-bmenu-any-marks): New function.
12106 (bookmark-bmenu-save): Clear buffer modification if no marks.
12108 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12110 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12111 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12112 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12113 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12115 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12116 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12117 To: emacs-devel {_AT_} gnu.org
12118 Subject: bookmark.el bug report
12119 Date: Mon, 28 Dec 2009 14:19:16 +0800
12120 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12122 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12124 * bookmark.el: Improvements suggested by Drew Adams:
12125 (bookmark-bmenu-ensure-position): New name for
12126 `bookmark-bmenu-check-position'. Just ensure the position,
12127 don't return any meaningful value.
12128 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12131 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12133 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12134 (bookmark-yank-point, bookmark-bmenu-check-position):
12135 Fix typos in docstrings.
12136 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12137 (bookmark-name-from-full-record, bookmark-get-position)
12138 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12139 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12140 Remove useless quoting of parenthesis, etc. in docstrings.
12142 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12143 (ediff-append-custom-diff): Fix typo in error message.
12144 (ediff-meta-mark-equal-files): Fix typos in messages.
12146 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12148 * net/imap-hash.el (imap-hash-make): Doc fix.
12149 (imap-hash-test): Fix typo in error message; reflow docstring.
12150 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12151 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12152 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12153 Fix typos in docstrings.
12154 (imap-hash-open-connection): Fix typo in error message.
12156 * play/gomoku.el (gomoku): Fix typos in docstring.
12158 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12159 (gdb-jsonify-buffer): Fix typos in docstring.
12160 (gdb-goto-breakpoint): Fix typo in error message.
12161 ("Display Other Windows"): Fix typo in help message.
12162 (gdb-speedbar-expand-node): Fix typo in question.
12164 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12165 (idlwave-html-system-help-location, idlwave-html-help-location)
12166 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12167 (idlwave-help-browser-generic-args, idlwave-help-directory)
12168 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12169 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12170 (idlwave-online-help, idlwave-help-html-link)
12171 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12172 Fix typos in docstrings.
12173 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12175 (idlwave-help-assistant-start): Fix typo in error message.
12177 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12178 (octave-electric-space): Fix typos in docstrings.
12180 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12182 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12184 2010-01-01 Juri Linkov <juri@jurta.org>
12186 * comint.el (comint-input-ring-size): Make it a defcustom and
12187 increase the default to 500 (Bug#5148).
12189 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12191 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12192 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12193 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12195 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12197 Show working revision correctly for mercurial.
12198 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12199 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12201 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12203 Declare some functions for the byte-compiler.
12204 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12205 (speedbar-timer-fn, speedbar-change-expand-button-char)
12206 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12208 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12210 This changeset reverts GDB Graphical Interface to use annotations.
12211 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12213 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12215 Make vc-dir work on subdirectories of the bzr root.
12216 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12217 Return file names relative to it.
12218 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12219 relative directory to vc-bzr-after-dir-status.
12221 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12223 * font-lock.el (font-lock-refresh-defaults): New function, which
12224 can be used to let font-lock react to external changes in
12225 variables like font-lock-defaults and keywords.
12226 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12228 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12230 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12232 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12234 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12236 Supersede color.diff settings in git log (bug#5211).
12238 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12239 escape chars in its output when the user has color.diff set to `always'.
12240 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12242 2009-12-26 Kevin Ryde <user42@zip.com.au>
12244 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12245 node. Keep previous "Index" name to work with past coreutils too.
12247 * man.el (man): Revise docstring a bit to show -a and -l as
12248 examples. Add -k description since support for it has otherwise
12249 been a secret. (Further to bug#3717.)
12250 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12251 "no matches" rather than "Can't find manpage", as the latter reads
12252 like -k was interpreted as a page name, which is not so. (Bug#5431)
12254 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12256 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12257 switches. Check also for //SUBDIRED// line.
12259 2009-12-25 Kenichi Handa <handa@m17n.org>
12261 * language/indian.el (devanagari-composable-pattern): Fix to
12262 handle ZWNJ and ZWJ. Use it in composition-function-table for
12264 (malayalam-composable-pattern): Fix previous change.
12266 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12268 * ps-print.el (ps-face-attributes): It was not returning the
12269 attribute face for faces specified as string. Reported by harven
12270 <harven@free.fr>. (Bug#5254)
12271 (ps-print-version): New version 7.3.5.
12273 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12275 * calendar/icalendar.el (icalendar--convert-tz-offset):
12276 Fix timezone names.
12277 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12278 (icalendar--add-diary-entry): Remove the trailing blank that
12279 diary-make-entry inserts.
12281 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12283 Make `file-expand-wildcards' work for remote files.
12285 * files.el (file-expand-wildcards): In case of remote files, check
12286 only local file name part for wildcards. Provide feature 'files
12287 and subfeature 'remote-wildcards. (Bug#5198)
12289 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12290 if there is already an established connection.
12291 (tramp-advice-file-expand-wildcards): Remove it.
12293 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12294 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12295 Activate advice for older GNU Emacs versions. (Bug#5237)
12297 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12299 Some doc fixes (more needed).
12301 * find-cmd.el (find-constituents): Reflow docstring.
12302 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12303 (find-generic): Doc fix.
12305 2009-12-17 Juri Linkov <juri@jurta.org>
12307 Fix regression from 23.1 to allow multiple modes in Local Variables.
12309 * files.el (hack-local-variables-filter): While ignoring duplicates,
12310 don't take `mode' into account.
12311 (hack-local-variables-filter, hack-dir-local-variables):
12312 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12314 2009-12-17 Juri Linkov <juri@jurta.org>
12316 Make `dired-diff' safer. (Bug#5225)
12318 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12319 `current' or when `file' is a directory of the `current' file.
12321 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12323 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12324 unconditionally preloaded files.
12326 2009-12-16 Juri Linkov <juri@jurta.org>
12328 Revert to old 23.1 logic of using the file at the mark as default.
12329 * dired-aux.el (dired-diff): Use the file at the mark as default
12330 if it's not the same as the current file, and the target dir is
12331 the current dir or the mark is active. Add the current file
12332 as the arg of `dired-dwim-target-defaults'. Use the default file
12333 in the prompt. (Bug#5225)
12335 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12337 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12338 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12339 (tramp-check-for-regexp): Check also, when an echoing shell stops
12340 to echo sent commands.
12342 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12344 * Makefile.in: Revert last change (Bug#5191).
12346 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12348 * vc-hg.el (vc-hg-print-log): Fix argument order.
12349 (vc-hg-working-revision): Make sure the command is executed in a
12350 known environment so that we can parse the output. (Bug#4417)
12352 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12354 * progmodes/python.el (python-symbol-completions): Remove text
12355 properties from symbol string before calling python-send-receive.
12357 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12359 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12360 when there are values for both file and line. (Bug#5060)
12362 2009-12-14 Juri Linkov <juri@jurta.org>
12364 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12365 whitespace after the file name of the first line of unified format,
12366 because git-diff doesn't output whitespace and file modification time
12367 after the file name.
12369 2009-12-14 David Kastrup <dak@gnu.org>
12371 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12372 check if it already has the `display' property added by
12373 `Info-display-images-node', and not put the `invisible' property
12376 2009-12-13 Glenn Morris <rgm@gnu.org>
12378 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12379 (report-emacs-bug): In message-mode, sort manually before storing
12380 original report text. (Bug#5178)
12381 Remove superfluous save-excursion.
12383 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12385 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12386 when responding to "GetAll" properties.
12388 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12390 * simple.el (compose-mail): Remove mail-setup-with-from from
12391 customization checks.
12393 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12395 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12396 RAR archives created on Unix systems.
12398 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12400 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12401 the varalias that was accidentally removed by the 2009-11-19 change
12404 2009-12-12 Kenichi Handa <handa@m17n.org>
12406 * language/indian.el (indian-compose-regexp): New function.
12407 (malayalam-composable-pattern): Fix the pattern.
12408 (composition-function-table): Set malayalam-composable-pattern for
12409 Malayalam characters.
12411 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12413 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12414 rather than down-mouse-1, based on follow-link conventions.
12416 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12419 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12421 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12422 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12423 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12424 (verilog-leap-to-head, verilog-backward-token):
12425 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12427 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12429 * progmodes/verilog-mode.el (verilog-auto-lineup)
12430 (verilog-nameable-item-re): Cleanup user-visible spelling and
12431 documentation errors. One reported by Gary Delp.
12432 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12433 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12434 package, bug195. Reported by Pierre-David Pfister.
12436 2009-12-11 Glenn Morris <rgm@gnu.org>
12438 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12440 * mail/emacsbug.el: No longer require sendmail.
12441 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12442 (report-emacs-bug-orig-text): Doc fix.
12443 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12444 New local variables, to adapt to different mail-user-agents.
12445 (report-emacs-bug): Fix test for a gnu.org address.
12446 Use overlays for emphasis, since font-lock defeats 'face property.
12447 Pretest bugs also end up at the newsgroup these days.
12448 Stop message-mode stripping text properties.
12449 Set and use the new buffer-local variables.
12450 (report-emacs-bug-hook): Add doc-string.
12451 Remove some unnecessary save-excursions and simplify.
12452 Use the appropriate hook and send-command.
12454 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12455 capitalization of some menu entries.
12457 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12459 * whitespace.el (whitespace-display-char-on):
12460 Ensure `buffer-display-table' is unique when two or more windows are
12461 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12464 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12466 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12467 characters in the Attribute field.
12469 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12471 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12473 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12475 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12476 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12477 Disregard autoload-excludes.
12478 (update-directory-autoloads): Obey autoload-excludes here instead.
12479 But don't store its contents in no-autoloads and remove entries that
12480 refer to excludes files.
12482 2009-12-10 Glenn Morris <rgm@gnu.org>
12484 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12485 (expand-mail-aliases): Define for compiler.
12487 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12488 Define for compiler.
12490 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12491 appropriate for the mail-user-agent in use.
12493 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12495 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12497 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12499 Fix short log parsing and fontification.
12500 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12501 Fix fontification for the [merge] label.
12503 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12505 Drop some properties to avoid surprises (bug#5002).
12506 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12507 (hfy-fontify-buffer): Use it.
12509 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12513 Adjust all callers.
12514 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12515 args compulsory. Adjust callers.
12516 (ffap-gopher-at-point): Remove unused var `name'.
12518 Get rid of the ELCFILES abomination.
12519 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12520 (compile-elcfiles): New phony target.
12521 (compile-main): Compute ELCFILES dynamically.
12522 (compile-clean): New target to remove left-over elc files.
12523 (compile, all): Use it.
12525 2009-12-09 Kenichi Handa <handa@etlken>
12527 * international/mule-diag.el: Require help-mode instead of help-fns.
12529 2009-12-09 Kenichi Handa <handa@m17n.org>
12531 * international/mule-cmds.el (ucs-names): Supply sufficiently
12532 fine ranges instead of pre-calculating accurate ranges.
12533 Iterate with bigger gc-cons-threshold.
12535 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12537 Add support for stashing a snapshot of the current tree.
12538 * vc-git.el (vc-git-stash-snapshot): New function.
12539 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12541 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12543 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12544 instead of `(beginning|end)-of-line'.
12546 2009-12-08 Glenn Morris <rgm@gnu.org>
12548 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12550 * Makefile.in (ELCFILES): Regenerate.
12552 2009-12-07 Juri Linkov <juri@jurta.org>
12554 Don't lazy-highlight the comint output in history Isearch mode.
12556 * comint.el (comint-history-isearch-search): Instead of
12557 `comint-line-beginning-position', use `comint-after-pmark-p'
12558 to check if point if before the process mark, and go to
12559 `process-mark' in this case.
12561 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * textmodes/tex-mode.el (latex-complete)
12564 (latex-indent-or-complete): Remove.
12565 (latex-mode): Set completion-at-point-functions instead.
12567 Provide a standard completion command and hook it into TAB.
12568 * minibuffer.el (completion-at-point-functions): New var.
12569 (completion-at-point): New command.
12570 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12571 * progmodes/python.el (python-mode-map): Use completion-at-point.
12572 (python-completion-at-point): Rename from python-partial-symbol and
12573 adjust for use in completion-at-point-functions.
12574 (python-mode): Setup completion-at-point for Python completion.
12575 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12576 extracted from lisp-complete-symbol.
12577 (lisp-complete-symbol): Use it.
12578 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12579 setup completion-at-point for Elisp completion.
12580 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12581 Use completion-at-point.
12582 * ielm.el (ielm-map): Use completion-at-point.
12583 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12584 * progmodes/sym-comp.el: Move to...
12585 * obsolete/sym-comp.el: Move from progmodes.
12587 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12589 Prevent save-buffer in Rmail buffers from using the coding-system
12590 of the current message, and from clobbering the encoding mnemonics
12591 in the mode line (Bug#4623).
12593 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12595 (rmail-message-encoding): New variable.
12596 (rmail-write-region-annotate): Record the encoding of the current
12597 message in rmail-message-encoding.
12598 (rmail-after-save-hook): New function, restores the encoding of
12599 the current message after the message collection is saved.
12601 2009-12-07 Juri Linkov <juri@jurta.org>
12603 * progmodes/grep.el (grep-read-files): Use `completing-read'
12604 instead of `read-string'. Set its `collection' arg to
12605 `read-file-name-internal'. (Bug#4301)
12607 2009-12-07 Juri Linkov <juri@jurta.org>
12609 Correctly restore original Isearch point. (Bug#4994)
12611 * isearch.el (isearch-mode): Move `isearch-push-state' after
12612 `(run-hooks 'isearch-mode-hook)'.
12613 (isearch-cancel): When `isearch-push-state-function' is defined,
12614 let-bind `isearch-cmds' to the first state (the last element of
12615 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12616 function and restores the original point). Otherwise, move point
12617 to `isearch-opoint'.
12619 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12622 chars that don't have names, so the table can be built much faster at
12625 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12627 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12628 change. Suggested by David Kastrup.
12630 * simple.el (compose-mail): Check for incompatibilities and warn.
12631 (compose-mail-user-agent-warnings): New option.
12633 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12635 Support showing a single log entry from vc-annotate.
12636 * vc.el (print-log): Add a new argument: START-REVISION.
12637 (vc-print-log-internal): Add a new optional argument and
12638 pass it to the backend.
12639 (vc-print-log, vc-print-root-log): Adjust callers.
12640 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12641 buffer already displays the requested log entry, use it.
12642 Otherwise display only the log entry in question.
12643 * vc-svn.el (vc-svn-print-log):
12644 * vc-mtn.el (vc-mtn-print-log):
12645 * vc-hg.el (vc-hg-state):
12646 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12647 (vc-git-show-log-entry): Return t on success.
12648 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12649 (vc-bzr-show-log-entry): Return t on success.
12650 * vc-rcs.el (vc-rcs-print-log):
12651 * vc-sccs.el (vc-sccs-print-log):
12652 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12654 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12656 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12657 Add menus to the meta mode. (Bug#5043)
12659 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12661 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12664 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12666 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12668 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12669 Berbain <raphael.berbain@gmail.com>.
12671 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12673 (tramp-initial-end-of-output): New defconst.
12674 (tramp-methods, tramp-find-shell)
12675 (tramp-open-connection-setup-interactive-shell)
12676 (tramp-maybe-open-connection): Use it.
12677 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12678 Handle existence of `#' and `$'.
12680 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12681 Use `tramp-initial-end-of-output'.
12683 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12685 Get the background mode from the terminal for xterm, and set
12687 * term/xterm.el (xterm-set-background-mode): New function.
12688 (terminal-init-xterm): Use it in case xterm supports background
12689 color queries. Recompute faces after getting the background
12692 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12694 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12695 number comment back on its own line, for easier parsing.
12697 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12699 Make it work for non-file buffers (bug#5102).
12700 * doc-view.el (doc-view-current-cache-dir):
12701 Use doc-view-buffer-file-name rather than buffer-file-name.
12702 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12704 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12706 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12707 author field is too short.
12709 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12711 * vc-git.el (vc-git-print-log): Handle a limit argument.
12712 Display the short log in graph form and with labels.
12713 (vc-git-log-view-mode): Handle labels.
12715 Make vc-revert change VC state from 'added to 'unregistered.
12716 * vc-git.el (vc-git-revert): Call git reset first.
12718 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12720 * net/newst-backend.el, net/newst-plainview.el:
12721 * net/newst-reader.el, net/newst-ticker.el:
12722 * net/newst-treeview.el, net/newsticker.el:
12723 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12725 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12727 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12729 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12730 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12731 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12732 Update annotation regexp.
12734 * simple.el (beginning-of-visual-line): Constrain to field
12735 boundaries (Bug#5106).
12737 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12739 * xml.el (xml-substitute-numeric-entities):
12740 Move newsticker--decode-numeric-entities in newst-backend.el to
12741 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12742 * net/newst-backend.el (newsticker--parse-generic-feed)
12743 (newsticker--parse-generic-items)
12744 (newsticker--decode-numeric-entities):
12745 Move newsticker--decode-numeric-entities in newst-backend.el to
12746 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12748 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12750 * progmodes/js.el (js--js-not): Add null to the list of values.
12752 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12754 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12756 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12758 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12759 delimiter if it is at the end of the current line.
12760 (bibtex-generate-url-list): Fix docstring.
12762 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12764 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12765 minibuffer's content with itself.
12766 Fold the confirm-after-completion case into the `confirm' case.
12767 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12769 2009-12-06 Kevin Ryde <user42@zip.com.au>
12771 * ffap.el (ffap-rfc-path): Make this a defcustom since
12772 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12774 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12775 manuals, similar to existing setup for help-mode. (Bug#3913.)
12777 2009-12-05 Juri Linkov <juri@jurta.org>
12779 Save and restore dired buffer's point positions too. (Bug#4880)
12781 * dired.el (dired-save-positions): Return in the first element
12782 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12784 (dired-restore-positions): First restore buffer's position.
12785 While restoring window's positions, check if window still displays
12786 the original buffer.
12788 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12790 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12793 * shell.el (shell): Require ansi-color (Bug#5113).
12795 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12797 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12799 2009-12-05 Alan Mackenzie <acm@muc.de>
12801 * progmodes/cc-mode.el (c-before-hack-hook)
12802 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12803 `c-file-style' to work again. This reversion restores the current
12804 software to its state in Emacs 23.1. (Bug#4146)
12806 2009-12-05 Kevin Ryde <user42@zip.com.au>
12808 * textmodes/sgml-mode.el (sgml-lexical-context):
12809 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12811 2009-12-05 Juri Linkov <juri@jurta.org>
12813 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12814 for virtual nodes. (Bug#4147)
12815 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12816 when moving from a virtual node.
12817 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12818 (Info-mode): Add `Info-virtual-index' to the docstring.
12820 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12822 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12823 track of the buffer position of the end of a BibTeX entry as this
12824 position may change during reformatting.
12825 (bibtex-format-entry): Remove whitespace before processing
12826 numerical fields so that we recognize the latter properly.
12827 (bibtex-reformat): Do not use push which changes the global value
12828 of bibtex-entry-format.
12829 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12830 (bibtex-field-re-init): Replace only space characters by regexp
12832 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12833 (bibtex-initialize): Also update bibtex-strings.
12834 (bibtex-kill-field): Preserve white space at end of entry.
12835 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12836 Update bibtex-reference-keys.
12838 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12841 point after a star, if that's the only place where modifications can
12844 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12846 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12849 2009-12-04 Juri Linkov <juri@jurta.org>
12851 * proced.el (proced): Call `(proced-update t)' to update process
12852 information instead of only running proced-post-display-hook.
12853 (proced-send-signal): Add a leading space to the buffer name
12854 " *Marked Processes*" to make this buffer ephemeral.
12856 2009-12-04 Juri Linkov <juri@jurta.org>
12858 * dired.el (dired-auto-revert-buffer): New defcustom.
12859 (dired-internal-noselect): Use it.
12861 2009-12-04 Juri Linkov <juri@jurta.org>
12863 Change roles of modes and functions in image-mode.el (Bug#5062).
12865 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12866 in `auto-mode-alist'.
12867 (image-mode-previous-major-mode): New variable.
12868 (image-minor-mode-map): Rename from `image-mode-text-map'.
12869 (image-mode): Move graceful error-handling code from
12870 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12871 (image-minor-mode): Remove all image-handling code.
12872 Replace `image-mode-text-map' with `image-minor-mode-map'.
12873 Check for `image-type' in mode-line format string.
12874 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12875 (image-mode-as-text): New function with most code from
12876 `image-mode-maybe'.
12877 (image-toggle-display-text): Move code that removes image
12878 properties from `image-toggle-display' to here.
12879 (image-toggle-display-image): New function with code that adds
12880 image properties copied from `image-toggle-display'.
12881 (image-toggle-display): Remove most code with leaving only code
12882 that toggles between `image-mode-as-text' and `image-mode'.
12884 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12886 * net/newst-treeview.el
12887 (newsticker--treeview-list-highlight-start): Restored call to
12888 save-excursion: Selected item was stuck.
12889 (newsticker--treeview-list-select): New.
12890 (newsticker--treeview-item-show-text)
12891 (newsticker--treeview-item-show)
12892 (newsticker--treeview-item-update): Use new
12893 newsticker-treeview-item-mode.
12894 (newsticker-treeview-update): Keep current item.
12895 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12896 (newsticker--treeview-first-feed): Doc change.
12897 (newsticker-treeview-list-menu)
12898 (newsticker-treeview-item-menu): Add menu entries.
12899 (newsticker-treeview-item-mode): New.
12901 * net/newst-backend.el (newsticker-customize): Delete other
12904 2009-12-04 Sam Steingold <sds@gnu.org>
12906 * log-view.el (log-view-mode-map): "q" calls quit-window,
12907 like in all the other non-self-insert buffers.
12909 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12913 key decoding rather than do it manually via last-input-event +
12915 (term-exec): Use delete-and-extract-region.
12916 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12917 (term-process-pager): Remove unused var `i'.
12918 (term-dynamic-simple-complete): Make obsolete.
12919 (serial-update-config-menu): Remove unused vars `y' and `str'.
12920 (term-update-mode-line): Remove unused var `temp'.
12922 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12924 Limit the number of log entries displayed by default.
12925 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12926 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12927 using a prefix argument.
12929 2009-12-03 Glenn Morris <rgm@gnu.org>
12931 * progmodes/idlwave.el (class): Restore still useful declaration.
12933 2009-12-03 Alan Mackenzie <acm@muc.de>
12935 Enhance `c-parse-state' to run efficiently in "brace deserts".
12937 * progmodes/cc-mode.el (c-basic-common-init):
12938 Call c-state-cache-init.
12939 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12940 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12941 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12943 * progmodes/cc-langs.el (c-before-font-lock-function):
12944 c-extend-and-neutralize-syntax-in-CPP has been renamed
12945 c-neutralize-syntax-in-and-mark-CPP.
12947 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12948 with `category' properties now, not `syntax-table' ones.
12950 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12951 enhanced (but slower) version of c-end-of-macro that won't land
12952 inside a literal or on another awkward character.
12953 (c-state-cache-too-far, c-state-cache-start)
12954 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12955 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12956 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12957 (c-state-min-scan-pos, c-state-brace-pair-desert)
12958 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12959 buffer local variables.
12960 (c-state-literal-at, c-state-lit-beg)
12961 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12962 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12963 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12964 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12965 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12966 (c-renarrow-state-cache)
12967 (c-append-lower-brace-pair-to-state-cache)
12968 (c-state-push-any-brace-pair, c-append-to-state-cache)
12969 (c-remove-stale-state-cache)
12970 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12971 (c-invalidate-state-cache-1, c-parse-state-1)
12972 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12973 (c-parse-state): Enhance and refactor.
12974 (c-debug-parse-state): Amend to deal with all the new variables.
12976 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12977 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12978 modify to use category text properties rather than syntax-table ones.
12979 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12980 to switch off/on the syntactic paren property of C++ template
12981 delimiters using the category property.
12982 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12983 template delims suppressed.
12984 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12985 New constant/macros which apply category properties to the start
12986 and end of preprocessor constructs.
12987 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12988 "comment out" the syntactic value of characters in preprocessor
12990 (c-with-cpps-commented-out)
12991 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12992 with characters in all or all but one preprocessor constructs
12995 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12997 * proced.el (proced-filter-alist): Use regexp-quote.
12999 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13002 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13003 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13004 arguments. Expand `default-directory'.
13006 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13007 the benefit of returning an expanded localname.
13008 (tramp-tramp-file-p): Handle the case NAME is not a string.
13010 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13012 Add support for bzr shelve/unshelve.
13013 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13014 (vc-bzr-extra-menu-map): New variables.
13015 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13016 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13017 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13018 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13019 (vc-bzr-dir-extra-headers): Display shelves.
13021 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13023 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13025 * textmodes/bibtex.el (bibtex-complete-internal):
13026 Use completion-in-region.
13027 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13029 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13031 Support applying stashes. Improve UI.
13032 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13033 (vc-git-stash-apply, vc-git-stash-pop)
13034 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13035 (vc-git-stash-menu): New functions.
13036 (vc-git-stash-menu-map): New variable.
13037 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13039 2009-12-03 Glenn Morris <rgm@gnu.org>
13041 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13042 (vc-print-log-internal): Fix previous change.
13043 (vc-revert): Correct pluralization.
13045 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13047 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13048 it to be an alist any more.
13049 (makefile-complete): Use completion-in-region.
13051 * progmodes/octave-mod.el (octave-complete-symbol):
13052 Use completion-in-region.
13055 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13056 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13057 (idlwave-complete-class): Don't quote lambda.
13058 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13059 (idlwave-mode-map): Move initialization into declaration.
13060 (idlwave-action-and-binding): Use backquotes.
13061 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13063 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13064 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13065 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13066 `parts', and `all-parts'.
13067 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13068 (idlwave-convert-xml-system-routine-info): Remove unused string
13070 (idlwave-display-user-catalog-widget): Use dolist.
13071 (idlwave-scanning-lib): Declare dynamically-scoped var.
13072 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13073 (completion-highlight-first-word-only): Declare to silence bytecomp.
13074 (idlwave-popup-select): Tighten scope of `resp'.
13075 (idlwave-find-struct-tag): Remove unused var `beg'.
13076 (idlwave-after-load-rinfo-hook): Declare.
13077 (idlwave-sintern-class-info): Remove unused var `taglist'.
13078 (idlwave-find-class-definition): Remove unused var `list'.
13079 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13080 (idlwave-what-module-find-class): Remove unused var `classes'.
13082 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13084 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13086 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13089 buffers visited. Remove redundant current-buffer-saving.
13091 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13093 Use completion-in-buffer and remove uses of dynamic scoping.
13094 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13095 (pascal-buffer-to-use, pascal-flag): Don't declare.
13096 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13097 (pascal-get-completion-decl, pascal-keyword-completion):
13098 Add `pascal-str' argument, save-excursion,
13099 return the found completions, and don't filter with pascal-pred.
13100 (pascal-completion-cache): New var.
13101 (pascal-completion): Don't switch buffer any more (it was never
13102 necessary). Don't save-excursion any more (it's done by the called
13103 subroutines). Use a cache to avoid redundant computations.
13104 Use complete-with-action rather than pascal-completion-response and
13105 let it apply the predicate as well.
13106 (pascal-complete-word): Use completion-in-buffer when
13107 pascal-toggle-completions is nil.
13108 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13110 (pascal-comp-defun): Don't change buffer any more.
13111 Use complete-with-action rather than pascal-completion-response and
13112 let it apply the predicate as well.
13113 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13116 2009-12-02 Kenichi Handa <handa@m17n.org>
13118 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13119 shape for all Indic scripts.
13121 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13123 Use completion-in-buffer.
13124 * wid-edit.el (widget-field-text-end): New function.
13125 (widget-field-value-get): Use it.
13126 (widget-string-complete, widget-file-complete)
13127 (widget-color-complete): Use it and completion-in-region.
13128 (widget-complete): Don't narrow the buffer.
13130 2009-12-02 Glenn Morris <rgm@gnu.org>
13132 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13133 (rmail-select-summary): Use rmail-pop-to-buffer.
13134 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13135 rmail-pop-to-buffer, to prevent horizontal splits.
13137 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13138 save-excursion with save-current-buffer.
13139 Widen before searching. (Bug#5093)
13140 (diary-list-sexp-entries): Remove superfluous save-excursion.
13142 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13144 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13147 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13149 * ido.el (ido-file-internal): Handle filenames at point that do
13150 not have a directory part. (Bug#5049)
13152 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13154 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13155 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13157 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13159 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13160 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13163 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13165 * comint.el (comint-insert-input): Ignore clicks to the right of
13166 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13168 * vc.el (vc-print-log-internal): Don't wait for the process to
13169 terminate before setting up the major mode.
13171 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13174 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13177 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13179 2009-12-01 Glenn Morris <rgm@gnu.org>
13181 * window.el (window--display-buffer-2): Fix previous changes.
13183 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13185 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13187 2009-12-01 Glenn Morris <rgm@gnu.org>
13189 * Makefile.in (ELCFILES): Add mpc.elc.
13191 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13193 * mpc.el: New file.
13195 2009-12-01 Glenn Morris <rgm@gnu.org>
13197 * window.el (window-to-use): Define for compiler.
13199 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13200 consistent with others (no final period).
13202 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13203 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13205 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13207 Make vc-print-log buttons work.
13208 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13210 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13212 * savehist.el (savehist-autosave-interval): Allow setting to nil
13213 through customize. (Bug#5056)
13215 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13217 Fix references to jit-lock properties.
13218 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13219 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13220 (perl-font-lock-special-syntactic-constructs):
13221 Quote jit-lock-defer-multiline property.
13223 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13225 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13227 2009-11-30 Juri Linkov <juri@jurta.org>
13229 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13230 value `buffer' of `multi-isearch-next-buffer-current-function'.
13231 Use `(current-buffer)' when `buffer' is nil.
13232 (multi-isearch-next-buffer-from-list): Don't fallback to
13233 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13235 2009-11-30 Juri Linkov <juri@jurta.org>
13237 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13238 of buffers with `get-buffer' to `multi-isearch-buffers'.
13239 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13240 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13241 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13242 FILES with `expand-file-name' converting relative file names
13243 to absolute. Doc fix. (Bug#4727)
13245 2009-11-30 Juri Linkov <juri@jurta.org>
13247 * misearch.el (multi-isearch-read-buffers)
13248 (multi-isearch-read-matching-buffers): New functions.
13249 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13250 Use them in the `interactive' spec. Doc fix.
13251 (multi-isearch-read-files, multi-isearch-read-matching-files):
13253 (multi-isearch-files, multi-isearch-files-regexp):
13254 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13256 2009-11-30 Juri Linkov <juri@jurta.org>
13258 * doc-view.el (doc-view-continuous):
13259 Rename from `doc-view-continuous-mode'.
13260 (doc-view-menu): Move "Toggle display" to the top.
13261 Add submenu "Continuous" with radio buttons "Off"/"On"
13262 and "Save as Default".
13263 (doc-view-scroll-up-or-next-page)
13264 (doc-view-scroll-down-or-previous-page)
13265 (doc-view-next-line-or-next-page)
13266 (doc-view-previous-line-or-previous-page):
13267 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13269 2009-11-30 Juri Linkov <juri@jurta.org>
13271 * comint.el (comint-mode-map): Rebind `M-r' from
13272 `comint-previous-matching-input' to
13273 `comint-history-isearch-backward-regexp'.
13274 Unbind `M-s' to allow global key binding `M-s'.
13275 Add menu items for `comint-history-isearch-backward' and
13276 `comint-history-isearch-backward-regexp'. (Bug#3746)
13278 2009-11-30 Juri Linkov <juri@jurta.org>
13280 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13281 For def=recenter, replace `recenter' with `recenter-top-bottom'
13282 that is called with `this-command' and `last-command' let-bound
13283 to `recenter-top-bottom'. When the last `def' was not `recenter',
13284 set `recenter-last-op' to nil. (Bug#4981)
13286 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13288 Minor cleanup and simplification.
13289 * filecache.el (file-cache-add-directory)
13290 (file-cache-add-directory-recursively)
13291 (file-cache-add-from-file-cache-buffer)
13292 (file-cache-delete-file-regexp, file-cache-delete-directory)
13293 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13294 (file-cache-temp-minibuffer-message): Delete function.
13295 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13297 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13298 Don't signal an error when bumping into EOB in tr, s, or y.
13300 2009-11-29 Juri Linkov <juri@jurta.org>
13302 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13305 * descr-text.el (describe-char-unidata-list): Use lowercase name
13306 for "Unicode name" like in other tags.
13308 2009-11-29 Juri Linkov <juri@jurta.org>
13310 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13311 New compatibility macro.
13312 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13314 2009-11-29 Juri Linkov <juri@jurta.org>
13316 Add defcustom to define the cycling order of `recenter-top-bottom'.
13319 * window.el (recenter-last-op): Doc fix.
13320 (recenter-positions): New defcustom.
13321 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13322 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13324 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13326 Improve integration of Tramp and ange-ftp in eshell.
13328 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13329 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13330 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13332 * eshell/esh-util.el (top): Require also Tramp when compiling.
13333 (eshell-directory-files-and-attributes): Check for FTP remote
13335 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13336 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13337 (eshell-file-attributes): Handle ".". Return `entry'.
13339 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13340 (ange-ftp-directory-files-and-attributes)
13341 (ange-ftp-real-directory-files-and-attributes): New defuns.
13343 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13344 shell with "exec" when possible. This prevents trailing prompts
13345 in `start-file-process'.
13347 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13349 Try and remove assumptions about point-min==1.
13350 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13351 (rng-compute-mode-line-string): Show the validation percentage in
13352 terms of the narrowed text, not the widened text.
13353 (rng-do-some-validation): Don't catch internal errors when debugging.
13354 (rng-first-error): Simplify.
13355 (rng-after-change-function): Remove work around. AFAIK the bug has
13356 been fixed a while ago.
13358 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13359 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13361 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13363 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13364 `cd' doesn't always do it for us (bug#5067).
13366 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13367 on 2009-10-25 as part of some other change (bug#5067).
13369 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13371 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13373 (byte-compile-warnings): Use byte-compile-warning-types.
13374 (byte-compile-save-excursion): Warn about use of set-buffer right
13375 after save-excursion.
13377 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13378 the excursion as well.
13380 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13382 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13383 providing a Tramp related implementation of "su" and "sudo".
13384 (eshell-unix-initialize): Add "su" and "sudo".
13386 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13388 * net/socks.el (socks-send-command): Convert binary request to
13389 unibyte before sending. This fixes mishandling of some port
13390 numbers such as 129.
13392 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13394 * help.el (describe-bindings-internal): Remove `interactive'.
13396 * man.el (Man-completion-table): Trim a terminating "(".
13397 Remove the space between name page a section.
13398 Add the command's description on the `help-echo' property.
13399 Remove `process-connection-type' binding since it's unused by
13401 Provide completion for the "<section> <name>" format as well.
13402 (Man-default-man-entry): Remove spurious var shadowing the argument.
13404 2009-11-26 Kevin Ryde <user42@zip.com.au>
13406 * log-view.el: Add "Keywords: tools", since its other keywords
13407 aren't in finder-known-keywords, and following vc.el.
13409 * sha1.el (sha1-string-external): default-directory "/" in case
13410 otherwise non-existent. process-connection-type pipe for touch of
13411 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13413 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13415 Misc coding convention cleanups.
13416 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13417 hfy-init-kludge-hooks.
13418 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13419 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13420 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13422 (hfy-slant, hfy-weight): Use tables rather than code.
13423 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13424 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13425 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13426 (hfy-face-to-css): Remove `nconc' with single arg.
13427 (hfy-p-to-face-lennart): Use `or'.
13428 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13429 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13430 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13431 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13432 (hfy-force-fontification): Use run-hooks.
13434 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13436 Various minor fixes.
13437 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13438 Javascript belongs in the header, not the body.
13439 (hfy-javascript): Remove.
13440 (hfy-fontify-buffer): Don't insert it any more.
13441 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13442 Fix bug in invis handling when there were no invis props in a chunk.
13444 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13448 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13450 * finder.el (finder-mode-map): Add a menu.
13452 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13454 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13455 "unsigned" structs.
13457 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13458 fork" statement better.
13460 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13462 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13463 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13464 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13465 Reported by Clay Douglass.
13467 (verilog-auto-inst, verilog-auto-star-safe)
13468 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13469 Fix removing "// Interfaces" when saving .* expansions.
13470 Reported by Pierre-David Pfister.
13472 2009-11-26 Glenn Morris <rgm@gnu.org>
13474 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13477 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13479 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13480 Really use previous revision.
13482 2009-11-25 Kevin Ryde <user42@zip.com.au>
13484 * man.el (Man-completion-table): default-directory "/" in case
13485 doesn't otherwise exist. process-environment COLUMNS=999 so as
13486 not to truncate long names. process-connection-type pipe to avoid
13487 any chance of hitting the pseudo-tty TIOCGWINSZ.
13488 (man): completion-ignore-case t for friendliness and since man
13489 itself is case-insensitive on the command line.
13490 Further to Bug#3717.
13492 * arc-mode.el: Add "Keywords: files", so the details in its
13493 commentary can be reached from finder-by-keyword.
13494 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13495 editing mode, but it's comms related and sgml-mode.el has "comm"
13497 * textmodes/bibtex-style.el: Add "Keywords: tex".
13498 * international/isearch-x.el, international/ja-dic-cnv.el:
13499 * international/ja-dic-utl.el, international/kkc.el:
13500 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13502 2009-11-25 Juri Linkov <juri@jurta.org>
13504 * man.el (Man-completion-table): Modify regexp to include
13505 section names to completion strings. (Bug#3717)
13507 2009-11-25 Juri Linkov <juri@jurta.org>
13509 Search recursively in gzipped files. (Bug#4982)
13511 * progmodes/grep.el (grep-highlight-matches): Add new options
13512 `always' and `auto'. Doc fix.
13513 (grep-process-setup): Check `grep-highlight-matches' for
13514 `auto-detect' to determine the need to compute grep defaults.
13515 Move Windows/DOS specific --colors settings handling
13516 to `grep-compute-defaults'. Check `grep-highlight-matches'
13517 to get the value of "--color=".
13518 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13519 has the value `auto-detect'. Move Windows/DOS specific settings
13520 from `grep-process-setup'.
13521 (zrgrep): New command with alias `rzgrep'.
13523 2009-11-25 Juri Linkov <juri@jurta.org>
13525 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13526 to nil instead of switching off view-mode. (Bug#4896)
13528 2009-11-25 Juri Linkov <juri@jurta.org>
13530 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13532 * mwheel.el (mwheel-scroll-up-function)
13533 (mwheel-scroll-down-function): New defvars.
13534 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13535 `scroll-up', and `mwheel-scroll-down-function' instead of
13538 * doc-view.el (doc-view-scroll-up-or-next-page)
13539 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13540 Use this ARG in the call to image-scroll-up/image-scroll-down.
13541 Change `interactive' spec to "P". Goto next/previous page only
13542 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13543 SPC/DEL case). Doc fix.
13544 (doc-view-next-line-or-next-page)
13545 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13547 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13548 `doc-view-scroll-up-or-next-page', and buffer-local
13549 `mwheel-scroll-down-function' to
13550 `doc-view-scroll-down-or-previous-page'.
13552 2009-11-25 Juri Linkov <juri@jurta.org>
13554 Provide additional default values (directories at other Dired
13555 windows) via M-n in the minibuffer of some Dired commands.
13557 * dired-aux.el (dired-diff, dired-compare-directories)
13558 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13559 `minibuffer-default' in `minibuffer-with-setup-hook'.
13560 (dired-dwim-target-directory): Find a window that displays Dired
13561 buffer instead of failing when the next window is not Dired.
13562 Use `get-window-with-predicate' to find for the next Dired window.
13563 (dired-dwim-target-defaults): New function.
13565 * ediff-util.el (ediff-read-file-name):
13566 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13567 in `minibuffer-with-setup-hook'.
13569 2009-11-25 Juri Linkov <juri@jurta.org>
13571 Provide additional default values (file name at point or at the
13572 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13574 * minibuffer.el (read-file-name-defaults): New function.
13575 (read-file-name): Reset `minibuffer-default' to nil when
13576 it duplicates initial input `insdef'.
13577 Bind `minibuffer-default-add-function' to lambda that
13578 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13579 (minibuffer-insert-file-name-at-point): New command.
13581 * files.el (file-name-at-point-functions): New defcustom.
13582 (find-file-default): Remove defvar.
13583 (find-file-read-args): Don't use `find-file-default'.
13584 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13585 to `read-file-name'.
13586 (find-file-literally): Use `read-file-name' with
13587 `confirm-nonexistent-file-or-buffer'.
13589 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13591 * dired.el (dired-read-dir-and-switches):
13592 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13593 to `read-file-name'.
13594 (dired-file-name-at-point): New function.
13595 (dired-mode): Add hook `dired-file-name-at-point' to
13596 `file-name-at-point-functions'.
13598 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13600 Really make the *Completions* window soft-dedicated (bug#5030).
13601 * window.el (window--display-buffer-2): Add `dedicated' argument.
13602 (display-buffer): Pass it when needed so the dedicated flag is set
13603 after calling set-window-buffer, which would otherwise reset it.
13605 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13607 * progmodes/meta-mode.el (meta-complete-symbol):
13608 * progmodes/etags.el (complete-tag):
13609 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13610 Use completion-in-region.
13612 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13613 (dabbrev-completion): Use completion-in-region.
13614 (dabbrev--abbrev-at-point): Simplify regexp.
13616 * abbrev.el (abbrev--before-point): Use word-motion functions
13617 if :regexp is not specified (bug#5031).
13619 * subr.el (string-prefix-p): New function.
13621 * man.el (Man-completion-cache): New var.
13622 (Man-completion-table): Use it.
13624 * vc.el (vc-print-log-internal): Make `limit' optional for better
13625 compatibility (e.g. with vc-annotate.el).
13627 2009-11-24 Kevin Ryde <user42@zip.com.au>
13629 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13630 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13632 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13633 when .el source file not found or other error.
13635 2009-11-24 Markus Triska <markus.triska@gmx.at>
13637 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13639 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13641 Handle the [back] button properly (bug#4979).
13642 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13643 Use help-setup-xref, help-buffer, and with-help-window.
13644 (describe-char): Add `buffer' argument.
13645 Pass proper command to help-setup-xref. Don't meddle with
13646 help-xref-stack-item directly.
13647 (describe-text-category): Use with-help-window and help-buffer.
13649 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13650 for the displayed buffer (bug#4887).
13652 * man.el (Man-completion-table): New function.
13655 2009-11-24 David Reitter <david.reitter@gmail.com>
13657 * vc-git.el (vc-git-registered): Use checkout directory (where
13658 .git is) rather than the file's directory and a relative path spec
13659 to work around a bug in git.
13661 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13663 Improve handling of processes on remote hosts.
13665 * eshell/esh-util.el (eshell-path-env): New defvar.
13666 (eshell-parse-colon-path): New defun.
13667 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13669 * eshell/esh-ext.el (eshell-search-path):
13670 Use `eshell-parse-colon-path'.
13671 (eshell-remote-command): Remove argument HANDLER.
13672 (eshell-external-command): Check for FTP remote connection.
13674 * eshell/esh-proc.el (eshell-gather-process-output):
13675 Use `file-truename', in order to start also symlinked files.
13676 Apply `start-file-process' instead of `start-process'.
13677 Shorten `command' to the local file name part.
13679 * eshell/em-cmpl.el (eshell-complete-commands-list):
13680 Use `eshell-parse-colon-path'.
13682 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13684 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13685 to `eshell-directory-change-hook'.
13687 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13689 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13690 because it could be enabled automatically if view-read-only is non-nil.
13692 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13694 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13695 made on 2009-11-22.
13697 2009-11-24 Glenn Morris <rgm@gnu.org>
13699 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13700 deleted variable bookmark-bmenu-bookmark-column.
13702 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13704 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13706 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13708 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13709 two slashes to the "file:" prefix.
13710 (browse-url-file-url): De-munge Cygwin filenames before passing
13711 them to Windows browser.
13712 (browse-url-default-windows-browser): Use call-process.
13714 2009-11-23 Juri Linkov <juri@jurta.org>
13716 Implement DocView Continuous mode. (Bug#4896)
13717 * doc-view.el (doc-view-continuous-mode): New defcustom.
13718 (doc-view-mode-map): Bind C-n/<down> to
13719 `doc-view-next-line-or-next-page', C-p/<up> to
13720 `doc-view-previous-line-or-previous-page'.
13721 (doc-view-next-line-or-next-page)
13722 (doc-view-previous-line-or-previous-page): New commands.
13724 2009-11-23 Juri Linkov <juri@jurta.org>
13726 Implement Isearch in comint input history. (Bug#3746)
13727 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13728 `isearch-mode-hook'.
13729 (comint-history-isearch): New defcustom.
13730 (comint-history-isearch-backward)
13731 (comint-history-isearch-backward-regexp): New commands.
13732 (comint-history-isearch-message-overlay): New buffer-local variable.
13733 (comint-history-isearch-setup, comint-history-isearch-end)
13734 (comint-goto-input, comint-history-isearch-search)
13735 (comint-history-isearch-message, comint-history-isearch-wrap)
13736 (comint-history-isearch-push-state)
13737 (comint-history-isearch-pop-state): New functions.
13739 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13741 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13743 (tramp-handle-make-symbolic-link)
13744 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13746 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13747 (tramp-handle-process-file): Use it.
13749 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13751 * window.el (move-to-window-line-last-op): Remove.
13752 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13754 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13756 Make M-r mirror the new cycling behavior of C-l.
13757 * window.el (move-to-window-line-last-op): New var.
13758 (move-to-window-line-top-bottom): New command.
13759 (global-map): Bind M-r move-to-window-line-top-bottom.
13761 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13763 * dired-x.el (dired-guess-shell-alist-default):
13764 Support xz format. (Bug#4953)
13766 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13768 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13769 last-command-char/last-command-event.
13770 (viper-prefix-arg-value): Do correct conversion of event-char for
13773 * emulation/viper-util.el, emulation/viper.el:
13774 Use viper-last-command-char instead of
13775 last-command-char/last-command-event.
13777 * ediff-init.el, ediff-mult.el, ediff-util.el:
13778 Replace last-command-char and last-command-event
13779 with (ediff-last-command-char) everywhere.
13781 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13782 created in fundamental mode.
13784 * ediff.el (ediff-version): Revert the change of interactive-p to
13785 called-interactively-p.
13787 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13789 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13790 generation from word-movement command names.
13792 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13794 * cus-start.el (all): Add native condition for font-use-system-font.
13796 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13798 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13799 Correct the patch from 2009-11-18. (Bug#3910)
13801 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13803 * progmodes/subword.el: Rename from lisp/subword.el.
13805 * subword.el: Rename to progmodes/subword.el.
13807 * Makefile.in (ELCFILES): Adapt to subword.el move.
13809 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13810 Stefan Monnier <monnier@iro.umontreal.ca>
13812 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13813 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13814 (bookmark-bmenu-show-filenames): Use push.
13815 (bookmark-bmenu-hide-filenames): Use local var instead of
13816 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13817 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13818 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13819 filenames now that the bookmark names are always available.
13821 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13823 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13824 (bookmark-search-pattern): Move and leave unbound.
13825 (bookmark-bmenu-mode-map): Change binding.
13826 (bookmark-read-search-input): Simplify.
13827 Don't use text-char-description. Don't error on non-char events.
13828 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13829 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13830 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13831 Use a local var for the timer.
13832 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13833 (i.e. bookmark-bmenu-search).
13835 2009-11-21 Glenn Morris <rgm@gnu.org>
13837 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13839 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13841 * net/browse-url.el (browse-url-default-windows-browser):
13842 Use cygstart for cygwin.
13844 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13846 * bookmark.el: Formatting and doc fixes only:
13847 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13848 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13849 Minor grammar and punctuation fixes in doc string.
13850 (bookmark-read-search-input): Adjust to fit within 80 columns.
13852 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13854 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13855 (c-backward-into-nomenclature): Adapt to subword renaming.
13857 * subword.el (subword-forward, subword-backward, subword-mark)
13858 (subword-kill, subword-backward-kill, subword-transpose)
13859 (subword-downcase, subword-upcase, subword-capitalize)
13860 (subword-forward-internal, subword-backward-internal):
13861 Rename from forward-subword, backward-subword, mark-subword,
13862 kill-subword, backward-kill-subword, transpose-subwords,
13863 downcase-subword, upcase-subword, capitalize-subword,
13864 forward-subword-internal, backward-subword-internal.
13866 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13868 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13870 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13872 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13873 (bookmark-bmenu-filter-alist-by-regexp)
13874 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13875 (bookmark-bmenu-search): New command.
13876 (bookmark-bmenu-mode-map): Bind it.
13878 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13880 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13881 backward-subword to quit the byte-compiler.
13883 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13885 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13887 * progmodes/cc-cmds.el (c-update-modeline)
13888 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13889 Refer to subword.el functions instead of cc-subword.el.
13891 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13892 subword.el functions instead of cc-subword.el.
13894 * progmodes/cc-subword.el: Rename to subword.el.
13895 * subword.el: Rename from progmodes/cc-subword.el.
13896 (subword-mode-map): Rename from c-subword-mode-map.
13897 (subword-mode): Rename from c-subword-mode.
13898 (global-subword-mode): New global minor mode.
13899 (forward-subword): Rename from c-forward-subword.
13900 (backward-subword): Rename from c-backward-subword.
13901 (mark-subword): Rename from c-mark-subword.
13902 (kill-subword): Rename from c-kill-subword.
13903 (backward-kill-subword): Rename from c-backward-kill-subword.
13904 (transpose-subwords): Rename from c-tranpose-subword.
13905 (downcase-subword): Rename from c-downcase-subword.
13906 (capitalize-subword): Rename from c-capitalize-subword.
13907 (forward-subword-internal): Rename from c-forward-subword-internal.
13908 (backward-subword-internal): Rename from c-backward-subword-internal.
13910 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13912 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13913 from a dired buffer.
13914 (vc-dired-deduce-fileset): New function.
13915 (vc-root-diff, vc-print-root-log): Use it.
13917 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13918 nil LIMIT argument to vc-print-log-internal.
13920 2009-11-20 Glenn Morris <rgm@gnu.org>
13922 * Makefile.in (ELCFILES): Regenerate.
13924 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13926 * calc/calc.el (calc-set-mode-line):
13927 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13928 (math-format-number): Rename `math-format-complement-signed' to
13929 `math-format-twos-complement'.
13931 * calc/calc-bin.el (math-format-twos-complement): Rename from
13932 math-format-complement-signed.
13933 (calc-radix): Rename `calc-complement-signed-mode' to
13934 `calc-twos-complement-mode'.
13935 (calc-octal-radix, calc-hex-radix): Add an argument for
13938 * calc/calc-embed.el (calc-embedded-mode-vars):
13939 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13941 * calc/calc-ext.el (calc-init-extensions):
13942 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13943 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13945 * calc/calc-units.el (math-build-units-table-buffer):
13946 Let `calc-twos-complement-mode' be nil.
13948 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13951 * calc/calc-vec.el (calcFunc-vunpack):
13952 * calc/calc-aent.el (calc-do-calc-eval):
13953 * calc/calc-forms.el (math-format-date):
13954 * calc/calc-graph.el (calc-graph-plot):
13955 * calc/calc-math.el (math-use-emacs-fn):
13956 * calc/calccomp.el (math-compose-expr):
13957 Let `calc-twos-complement-mode' be nil.
13959 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13961 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13962 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13963 * minibuffer.el (completion-in-region-functions): New hook.
13964 (completion-in-region): New function.
13965 * emacs-lisp/lisp.el (lisp-complete-symbol):
13966 * pcomplete.el (pcomplete-std-complete): Use it.
13968 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13970 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13971 (latex-complete-alist): New vars.
13972 (latex-string-prefix-p, latex-complete-bibtex-keys)
13973 (latex-complete-envnames, latex-complete-refkeys)
13974 (latex-complete-data): New functions.
13975 (latex-complete, latex-indent-or-complete): New commands.
13977 * window.el (display-buffer-mark-dedicated): New var.
13978 (display-buffer): Obey it.
13979 * minibuffer.el (minibuffer-completion-help): Use it.
13981 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13983 * filecache.el (file-cache-add-file): Use push and cons.
13984 (file-cache-delete-file-regexp): Use push.
13985 (file-cache-complete): Use completion-in-region.
13987 * simple.el (with-wrapper-hook): Fix thinko.
13989 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13990 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13991 Use with-current-buffer and string-to-number.
13992 (hfy-fallback-colour-values): Use assoc-string.
13993 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13994 (hfy-face-at): Remove unused var `found-face'.
13995 (hfy-compile-stylesheet): Remove unused var `css'.
13996 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13998 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13999 Use with-current-buffer.
14000 (hfy-text-p): Use expand-file-name and fewer setq.
14002 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14004 * htmlfontify.el, hfy-cmap.el: New files.
14006 2009-11-19 Juri Linkov <juri@jurta.org>
14008 * minibuffer.el (completions-format): New defcustom.
14009 (completion--insert-strings): Implement vertical format.
14011 * simple.el (switch-to-completions): Move point to the first
14012 completion when point was at the beginning of the buffer.
14014 2009-11-19 Juri Linkov <juri@jurta.org>
14016 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14018 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14020 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14022 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14023 (mail-signature): Change default to t.
14024 (mail-from-style): Deprecate `system-default' value.
14025 (mail-insert-from-field): For default value of mail-from-style,
14026 default to `angles' unless `angles' needs quoting and `parens'
14028 (mail-citation-prefix-regexp): Use citation regexp from
14031 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14033 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14034 Set variables for computing the prompt for reading password.
14036 2009-11-19 Glenn Morris <rgm@gnu.org>
14038 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14040 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14042 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14043 (newsticker-treeview-listwindow-height): Fix custom type.
14045 2009-11-19 Kenichi Handa <handa@m17n.org>
14047 * descr-text.el (describe-char-padded-string): Compose with TAB
14048 only if there's a font for CH.
14049 (describe-char): Fix the condition for detecting a trivial composition.
14051 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14053 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14054 more accurate version of the regexp. (Bug#3910)
14056 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14058 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14060 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14062 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14063 (font-setting-change-default-font): Fix typo in docstring.
14065 2009-11-18 Alan Mackenzie <acm@muc.de>
14067 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14069 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14071 * font-setting.el (font-use-system-font): Move ...
14073 * cus-start.el (all): ... to here.
14075 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14077 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14078 Don't set `ad-return-value' if `ad-do-it' doesn't.
14080 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14083 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14085 * menu-bar.el: Put "Use system font" in Option-menu.
14086 (menu-bar-options-save): Add font-use-system-font.
14088 * loadup.el: If feature system-font-setting or font-render-setting is
14089 there, load font-setting.
14091 * Makefile.in (ELCFILES): Add font-settings.el.
14092 * font-setting.el: New file.
14094 2009-11-17 Glenn Morris <rgm@gnu.org>
14096 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14098 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14099 Preserve point in the list buffer. (Bug#4939)
14101 (newsticker--treeview-list-update-highlight)
14102 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14104 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14106 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14109 * calc/calc-ext.el (calc-init-extensions): Remove references to
14112 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14114 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14115 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14118 2009-11-16 Kevin Ryde <user42@zip.com.au>
14120 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14121 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14123 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14124 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14125 Ignore trailing spaces by omit-nulls to split-string (fixing
14126 regression from Emacs 21 due to the incompatible split-string
14127 change). (Bug #4928.)
14129 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14131 * vc.el (vc-log-show-limit): Default to 2000.
14132 (vc-print-log-internal): Insert buttons to request more entries
14133 when limiting the output.
14135 * vc-sccs.el (vc-sccs-print-log):
14136 * vc-rcs.el (vc-rcs-print-log):
14137 * vc-cvs.el (vc-cvs-print-log):
14138 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14141 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14143 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14144 error when `tramp-gvfs-dbus-event-vector' is set.
14145 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14147 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14149 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14151 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14153 * net/dbus.el (dbus-unregister-service): New defun.
14154 (dbus-register-property): Register the handlers of
14155 "org.freedesktop.DBus.Properties" for SERVICE.
14156 (dbus-property-handler): Fix docstring.
14158 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14160 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14161 Quote doc string reference in defvaralias as it is not in special form.
14162 (byte-compile-output-docform): Doc fix.
14164 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14166 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14167 (calc-complement-signed-mode): New variables.
14168 (calc-set-mode-line): Add indicator for twos-complements.
14169 (math-format-number): Format twos-complement notation.
14171 * calc/calc-bin.el (calc-word-size): Reset the variables
14172 `math-2-word-size' and `math-half-2-word-size'.
14173 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14174 (calc-symclip): New functions.
14176 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14178 * calc/calc-embed.el (calc-embedded-mode-vars):
14179 Add `calc-complement-signed-mode' to the list of modes.
14181 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14182 (calc-b-oper-keys): Add `calc-symclip' to list.
14184 * calc/calc-ext.el (math-read-number-fancy): Read complement
14186 (calc-init-extensions): Add binding for `calc-symclip'.
14187 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14189 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14191 (calc-modes-menu): Add item for twos complement mode.
14193 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14195 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14197 * register.el (jump-to-register, insert-register): Handle Semantic
14198 tags. From commented-out advice in semantic/senator.el.
14200 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14202 * vc.el (vc-log-show-limit): New variable.
14203 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14204 when using a prefix argument.
14205 (vc-print-log-internal): Add new argument LIMIT.
14207 * vc-svn.el (vc-svn-print-log):
14208 * vc-mtn.el (vc-mtn-print-log):
14209 * vc-hg.el (vc-hg-print-log):
14210 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14211 pass it to the log command when set. Make the BUFFER argument
14214 * vc-sccs.el (vc-sccs-print-log):
14215 * vc-rcs.el (vc-rcs-print-log):
14216 * vc-git.el (vc-git-print-log):
14217 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14218 ignore it. Make the BUFFER argument non-optional
14220 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14222 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14224 * dired.el (dired-mode-map): Move encryption items to "Operate"
14227 * strokes.el (strokes-update-window-configuration): Make strokes
14228 buffer current before erasing (Bug#4906).
14230 2009-11-15 Juri Linkov <juri@jurta.org>
14232 * simple.el (set-mark-default-inactive): Add :type, :group
14233 and :version. (Bug#4876)
14235 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14237 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14238 (archive-unique-fname): ... here. (Bug#4929)
14240 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14242 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14245 * novice.el (disabled-command-function): Add useful args.
14246 Setup the help buffer so that [back] works.
14247 Remove redundant call to help-mode.
14248 (disabled-command-function): Use `case'.
14249 (en/disable-command): New function extracted from enable-command.
14250 (enable-command, disable-command): Use it.
14252 2009-11-14 Glenn Morris <rgm@gnu.org>
14254 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14255 constants. (Bug#4913)
14257 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14259 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14261 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14262 defined in C that have no doc-strings. (Bug#1063)
14264 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14266 * cus-edit.el (data, files):
14267 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14269 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14271 * simple.el (shell-command): Doc fix (Bug#4891).
14273 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14275 2009-11-14 Glenn Morris <rgm@gnu.org>
14277 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14278 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14279 If they are already loaded, eval-after-load will do the right thing.
14281 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14284 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14286 * simple.el (x-selection-owner-p): Declare.
14287 (read-mail-command): Use custom radio type rather than choice.
14288 (completion-no-auto-exit): Doc fix.
14290 * custom.el (defgroup):
14291 * epg-config.el (epg): Doc fixes.
14293 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14295 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14296 * international/ccl.el (define-ccl-program): Do not purecopy the
14297 docstring, defconst does it anyway.
14299 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14301 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14304 * x-dnd.el (x-dnd-maybe-call-test-function):
14305 * window.el (split-window-vertically):
14306 * whitespace.el (whitespace-help-on):
14307 * vc-rcs.el (vc-rcs-consult-headers):
14308 * userlock.el (ask-user-about-lock-help)
14309 (ask-user-about-supersession-help):
14310 * type-break.el (type-break-force-mode-line-update):
14311 * time-stamp.el (time-stamp-conv-warn):
14312 * terminal.el (te-set-output-log, te-more-break, te-filter)
14313 (te-sentinel, terminal-emulator):
14314 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14315 (term-write-input-ring, term-check-source, term-start-output-log):
14316 (term-display-buffer-line, term-dynamic-list-completions):
14317 (term-ansi-make-term, serial-term):
14318 * subr.el (selective-display):
14319 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14320 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14321 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14322 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14323 (speedbar-remove-localized-speedbar-support)
14324 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14325 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14326 (speedbar-buffers-line-directory):
14327 * simple.el (shell-command-on-region, append-to-buffer)
14328 (prepend-to-buffer):
14329 * shadowfile.el (shadow-save-todo-file):
14330 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14331 (scroll-bar-maybe-set-window-start):
14332 * sb-image.el (speedbar-image-dump):
14333 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14334 (load-save-place-alist-from-file):
14335 * ps-samp.el (ps-print-message-from-summary):
14336 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14337 (ps-background-image, ps-begin-job, ps-do-despool):
14338 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14339 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14340 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14341 (pr-call-process, pr-file-list, pr-interface-save):
14342 * novice.el (disabled-command-function)
14343 (enable-command, disable-command):
14344 * mouse.el (mouse-buffer-menu-alist):
14345 * mouse-copy.el (mouse-kill-preserving-secondary):
14346 * macros.el (kbd-macro-query):
14347 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14348 * informat.el (batch-info-validate):
14349 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14350 * hippie-exp.el (try-expand-dabbrev-visible):
14351 * help-mode.el (help-make-xrefs):
14352 * help-fns.el (describe-variable):
14353 * generic-x.el (bat-generic-mode-run-as-comint):
14354 * finder.el (finder-mouse-select):
14355 * find-dired.el (find-dired-sentinel):
14356 * filesets.el (filesets-file-close):
14357 * files.el (list-directory):
14358 * faces.el (list-faces-display, describe-face):
14359 * facemenu.el (list-colors-display):
14360 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14361 * epg.el (epg--process-filter, epg-cancel):
14362 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14363 (epa--read-signature-type):
14364 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14365 (emerge-file-names):
14366 * ehelp.el (electric-helpify):
14367 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14368 * ediff-vers.el (rcs-ediff-view-revision):
14369 * ediff-util.el (ediff-setup):
14370 * ediff-mult.el (ediff-append-custom-diff):
14371 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14373 * echistory.el (Electric-command-history-redo-expression):
14374 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14375 * disp-table.el (describe-display-table):
14376 * dired.el (dired-find-buffer-nocreate):
14377 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14378 * dabbrev.el (dabbrev--same-major-mode-p):
14379 * chistory.el (list-command-history):
14380 * apropos.el (apropos-documentation):
14381 * allout.el (allout-obtain-passphrase):
14382 (allout-copy-exposed-to-buffer):
14383 (allout-verify-passphrase): Use with-current-buffer.
14385 2009-11-13 Glenn Morris <rgm@gnu.org>
14387 * Makefile.in (ELCFILES): Regenerate.
14389 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14391 * net/dbus.el (dbus-registered-objects-table): Rename from
14392 `dbus-registered-functions-table', because it contains also properties.
14393 (dbus-unregister-object): Unregister also properties.
14394 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14395 Use a timeout of 500 msec, in order to not block.
14396 (dbus-register-property, dbus-property-handler): New defuns.
14398 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14400 * simple.el (minibuffer-default-add-completions): Drop deprecated
14403 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14405 * textmodes/artist.el (artist-mouse-choose-operation):
14406 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14407 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14408 (artist-compute-up-event-key): New function.
14409 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14411 2009-11-13 Kenichi Handa <handa@m17n.org>
14413 * language/japan-util.el: Make sure that the value of jisx0208
14414 property is jisx0208 character.
14416 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14418 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14419 car or each item, not the whole list.
14421 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14423 * minibuffer.el (minibuffer-completion-help):
14424 Use minibuffer-hide-completions.
14426 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14428 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14429 (dired-revert): Use them (bug#4880).
14431 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14433 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14435 2009-11-12 Juri Linkov <juri@jurta.org>
14437 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14439 (find-file-literally-at-point): Alias of `ffap-literally'.
14441 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14443 * textmodes/ispell.el (ispell-skip-region-alist):
14444 * textmodes/css-mode.el (auto-mode-alist):
14445 * progmodes/compile.el (auto-mode-alist):
14446 * international/mule.el (ctext-non-standard-encodings-alist)
14447 (ctext-non-standard-encodings-regexp):
14448 * simple.el (shell-command-switch, text-read-only):
14449 * replace.el (occur-mode-map):
14450 * paths.el (rmail-file-name):
14451 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14452 * find-file.el (ff-special-constructs):
14453 * files.el (file-name-handler-alist):
14454 * composite.el: Purecopy strings.
14456 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14458 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14460 * widget.el (define-widget): Purecopy the docstring.
14461 * international/mule-cmds.el (charset): Do not purecopy the
14462 docstring here, define-widget does it.
14464 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14465 * textmodes/bibtex-style.el (auto-mode-alist):
14466 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14467 * progmodes/compile.el (compile-command):
14468 * language/korea-util.el (default-korean-keyboard):
14469 * international/mule-conf.el (file-coding-system-alist):
14470 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14471 * tooltip.el (tooltip-frame-parameters):
14472 * newcomment.el (comment-end, comment-padding):
14473 * dired.el (dired-trivial-filenames):
14474 * comint.el (comint-file-name-prefix): Purecopy initial values.
14476 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14478 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14479 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14481 (tramp-advice-make-auto-save-file-name)
14482 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14483 after removing the advice.
14485 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14487 * progmodes/grep.el (grep-regexp-alist):
14488 * international/mule-cmds.el (iso-2022-control-alist):
14489 * emacs-lisp/timer.el (timer-duration-words):
14490 * subr.el (version-separator, version-regexp-alist):
14491 * minibuffer.el (completion-styles-alist):
14492 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14493 Change defvars to defconsts.
14495 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14496 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14497 * international/mule-conf.el: Allow to be byte compiled.
14499 * international/mule.el (define-charset): Purecopy props.
14500 (load-with-code-conversion): Purecopy doc string and file name.
14501 (put-charset-property): Purecopy strings.
14502 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14504 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14505 (define-char-code-property): Correctly purecopy the table.
14507 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14509 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14511 * subr.el (add-hook): Purecopy strings.
14512 (eval-after-load): Purecopy load-history-regexp and the form.
14514 * custom.el (custom-declare-group): Purecopy load-file-name.
14516 * subr.el (menu-bar-separator): New defconst.
14517 * net/eudc.el (eudc-tools-menu):
14518 * international/mule-cmds.el (set-coding-system-map)
14519 (mule-menu-keymap):
14520 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14521 * vc-hooks.el (vc-menu-map):
14522 * replace.el (occur-mode-map):
14523 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14524 (menu-bar-edit-menu, menu-bar-goto-menu)
14525 (menu-bar-custom-menu, menu-bar-showhide-menu)
14526 (menu-bar-options-menu, menu-bar-tools-menu)
14527 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14528 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14529 (menu-bar-help-menu):
14530 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14531 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14533 * term/x-win.el (x-gtk-stock-map):
14534 * progmodes/vera-mode.el (auto-mode-alist):
14535 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14536 (inferior-lisp-program, inferior-lisp-load-command):
14537 * progmodes/hideshow.el (hs-special-modes-alist):
14538 * progmodes/gud.el (same-window-regexps):
14539 * progmodes/grep.el (grep-program, find-program, xargs-program):
14540 * net/telnet.el (same-window-regexps):
14541 * net/rlogin.el (same-window-regexps):
14542 * language/ethiopic.el (font-ccl-encoder-alist):
14543 * vc-sccs.el (vc-sccs-master-templates):
14544 * vc-rcs.el (vc-rcs-master-templates):
14545 * subr.el (cl-assertion-failed):
14546 * simple.el (next-error-overlay-arrow-position):
14547 * lpr.el (lpr-command):
14548 * locate.el (locate-ls-subdir-switches):
14549 * info.el (same-window-regexps, info)
14550 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14551 * image-mode.el (image-mode, auto-mode-alist):
14552 * hippie-exp.el (hippie-expand-ignore-buffers):
14553 * format.el (format-alist):
14554 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14556 * facemenu.el (facemenu-keybindings):
14557 * dired.el (dired-listing-switches, dired-chown-program):
14558 * diff.el (diff-switches, diff-command):
14559 * cus-edit.el (same-window-regexps):
14560 * bindings.el (mode-line-mule-info)
14561 (mode-line-buffer-identification): Purecopy strings.
14563 2009-11-11 Juri Linkov <juri@jurta.org>
14565 * simple.el (dired-get-filename) <declare-function>:
14566 Tell the byte-compiler about dired-get-filename.
14567 (shell-command): In Dired mode, get filename from the current line
14568 as the default value.
14570 2009-11-10 Glenn Morris <rgm@gnu.org>
14572 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14573 * calendar/holidays.el, progmodes/cperl-mode.el:
14574 Update x-popup-menu declarations.
14576 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14577 (list-load-path-shadows): Use dolist.
14578 (list-load-path-shadows): Use with-current-buffer.
14580 2009-11-10 Juri Linkov <juri@jurta.org>
14582 * minibuffer.el (read-file-name): Support a list of default values
14583 in `default-filename'. Use the first file name where only one
14584 element is required. Doc fix.
14586 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14588 * net/dbus.el (dbus-unregister-object): Release service, if no
14589 other method is registered for it.
14591 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14593 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14594 bookmark-sort-flag is non-nil (Bug#4653).
14596 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14598 * emulation/cua-base.el: Add CUA property to some CC mode commands
14601 2009-11-08 Kevin Ryde <user42@zip.com.au>
14603 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14604 at end of sentence (Bug#4818).
14606 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14608 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14609 Handle "see declaration of" MSFT statements (Bug#4100).
14611 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14613 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14614 (tramp-advice-file-expand-wildcards): Unload via
14615 `ad-remove-advice'.
14617 * net/trampver.el: Update release number.
14619 2009-11-08 Kevin Ryde <user42@zip.com.au>
14621 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14624 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14626 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14627 in order to keep context in SELinux.
14629 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14631 * dired-aux.el (dired-query): Place cursor in echo area and allow
14634 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14635 menu item if not on a directory (Bug#4701).
14637 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14639 Sync with Tramp 2.1.17.
14641 * net/tramp.el (tramp-handle-copy-directory): Don't use
14642 `file-remote-p' (due to compatibility).
14644 * net/tramp-compat.el (tramp-compat-copy-directory)
14645 (tramp-compat-delete-directory): New defuns.
14647 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14648 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14649 Use `tramp-compat-delete-directory'.
14651 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14652 (tramp-smb-handle-delete-directory):
14653 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14655 * net/trampver.el: Update release number.
14657 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14659 * tar-mode.el (tar-copy): Call write-region on the right buffer
14662 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14663 by hand, if necessary (Bug#4878).
14665 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14667 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14668 align size column (Bug#4839).
14670 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14673 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14675 * progmodes/ld-script.el (auto-mode-alist):
14676 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14678 * cus-face.el (custom-declare-face): Purecopy face spec.
14680 2009-11-06 Kenichi Handa <handa@m17n.org>
14682 * international/uni-bidi.el: Re-generated.
14683 * international/uni-category.el: Re-generated.
14684 * international/uni-combining.el: Re-generated.
14685 * international/uni-mirrored.el: Re-generated.
14687 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14689 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14690 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14691 (tex-start-options, slitex-run-command, latex-run-command)
14692 (tex-run-command, tex-directory):
14693 * textmodes/ispell.el (ispell-html-skip-alists)
14694 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14695 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14696 (adaptive-fill-regexp):
14697 * textmodes/dns-mode.el (auto-mode-alist):
14698 * progmodes/python.el (interpreter-mode-alist):
14699 * progmodes/etags.el (tags-compression-info-list):
14700 * progmodes/etags.el (tags-file-name):
14701 * net/browse-url.el (browse-url-galeon-program)
14702 (browse-url-firefox-program):
14703 * mail/sendmail.el (mail-signature-file)
14704 (mail-citation-prefix-regexp):
14705 * international/mule-conf.el (eight-bit):
14706 * international/latexenc.el (latex-inputenc-coding-alist):
14707 * international/fontset.el (x-pixel-size-width-font-regexp):
14708 * emacs-lisp/warnings.el (warning-type-format):
14709 * emacs-lisp/trace.el (trace-buffer):
14710 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14711 (emacs-lisp-mode-map):
14712 * calendar/holidays.el (holiday-solar-holidays)
14713 (holiday-bahai-holidays, holiday-islamic-holidays)
14714 (holiday-christian-holidays, holiday-hebrew-holidays)
14715 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14716 (hebrew-holidays-1, holiday-oriental-holidays)
14717 (holiday-general-holidays):
14718 * x-dnd.el (x-dnd-known-types):
14719 * tool-bar.el (tool-bar):
14720 * startup.el (site-run-file):
14721 * shell.el (shell-dumb-shell-regexp):
14722 * rfn-eshadow.el (file-name-shadow-tty-properties)
14723 (file-name-shadow-properties):
14724 * paths.el (remote-shell-program, news-directory):
14725 * mouse.el ([C-down-mouse-3]):
14726 * menu-bar.el (menu-bar-tools-menu):
14727 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14728 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14729 (jka-compr-compression-info-list):
14730 * isearch.el (search-whitespace-regexp):
14731 * image-file.el (image-file-name-extensions):
14732 * find-dired.el (find-ls-option):
14733 * files.el (directory-listing-before-filename-regexp)
14734 (directory-free-space-args, insert-directory-program)
14735 (list-directory-brief-switches, magic-fallback-mode-alist)
14736 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14737 (automount-dir-prefix):
14738 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14739 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14740 (face-font-registry-alternatives, face-font-registry-alternatives)
14741 (face-font-family-alternatives):
14742 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14743 (facemenu-foreground-menu, facemenu-face-menu):
14744 * epa-hook.el (epa-file-name-regexp):
14745 * dnd.el (dnd-protocol-alist):
14746 * textmodes/rst.el (auto-mode-alist):
14747 * button.el (default-button): Purecopy strings.
14749 2009-11-06 Glenn Morris <rgm@gnu.org>
14751 * Makefile.in (ELCFILES): Update.
14753 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14755 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14756 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14758 * nxml/xsd-regexp.el (xsdre-gen-categories):
14759 * nxml/xmltok.el (xmltok-parse-entity):
14760 * nxml/rng-parse.el (rng-parse-validate-file):
14761 * nxml/rng-maint.el (rng-format-manual)
14762 (rng-manual-output-force-new-line):
14763 * nxml/rng-loc.el (rng-save-schema-location-1):
14764 * nxml/rng-cmpct.el (rng-c-parse-file):
14765 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14766 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14768 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14770 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14771 Remove extra save-excursions and make-variable-buffer-local's.
14772 Suggested by Stefan Monnier.
14774 (verilog-getopt-file, verilog-module-inside-filename-p)
14775 (verilog-set-define): Merge GNU 1.35 and repair changes from
14776 switching to using with-current-buffer.
14778 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14779 being treated as a number and confusing AUTORESET.
14780 Reported by Dan Dever.
14782 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14783 Add verilog-auto-ignore-concat to fix backward compatibility with
14784 older verilog-modes. Reported by Dan Katz.
14786 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14787 containing closing anchors "...$".
14789 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14790 Reported by Wade Smith.
14792 (verilog-batch-execute-func): Comment on function usage.
14794 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14796 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14799 (verilog-label-re, verilog-calc-1): Support proper indent of named
14802 (verilog-backward-token, verilog-basic-complete-re)
14803 (verilog-beg-of-statement, verilog-indent-re): Support proper
14804 indent of the assert statement at the beginning of a block of text.
14806 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14807 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14810 2009-11-05 Glenn Morris <rgm@gnu.org>
14812 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14813 Emacs 19. (Bug#1531)
14814 (byte-compile-fix-header): Update for the above change.
14815 Drop test for epoch::version.
14817 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14818 * cus-dep.el (custom-make-dependencies):
14819 * finder.el (finder-compile-keywords):
14820 Use autoload-rubric's feature argument.
14822 * calendar/diary-lib.el (top-level): Make load behave more like require.
14824 * vc-git.el (vc-git-stash-map): Move definition before use.
14826 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14828 * custom.el (custom-declare-group): Purecopy standard-value.
14829 (custom-declare-group): Purecopy custom-prefix.
14831 * international/mule.el (load-with-code-conversion):
14832 Call do-after-load-evaluation unconditionally.
14834 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14836 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14838 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14840 2009-11-04 Glenn Morris <rgm@gnu.org>
14842 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14843 (byte-compile-compatibility): Remove option.
14844 (byte-compile-close-variables, byte-compile-fix-header)
14845 (byte-compile-insert-header, byte-compile-output-docform)
14846 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14847 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14848 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14849 (byte-compile-insert, byte-compile-defun):
14850 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14851 (byte-defop-compiler19): Remove.
14852 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14853 used by anything. Replace all calls with byte-defop-compiler.
14855 2009-11-04 Juri Linkov <juri@jurta.org>
14857 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14858 (menu-bar-options-menu): Don't quote the `prop' arg of
14859 `menu-bar-make-mm-toggle'.
14861 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14863 * calendar/calendar.el (cal-loaddefs):
14864 * calendar/diary-lib.el (diary-loaddefs):
14865 * calendar/holidays.el (hol-loaddefs):
14866 * eshell/esh-module.el (esh-groups): Load rather than require.
14868 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14870 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14872 (todo-top-priorities): Only display-buffer when called interactively.
14873 (todo-item-start): Don't save excursion point.
14874 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14875 (todo-insert-item-here, todo-file-item, todo-remove-item):
14876 Adjust uses of todo-item-start and todo-item-end.
14878 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14879 (autoload-rubric): Don't use any more.
14881 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14882 and only put a prop if it is non-nil.
14884 2009-11-03 Juri Linkov <juri@jurta.org>
14886 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14887 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14889 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14890 and "Menu" to make top-level menu item visually one unit (like
14891 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14892 multi-word menu items). Fix :help string for quit-window.
14894 2009-11-03 Glenn Morris <rgm@gnu.org>
14896 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14897 (byte-compile-file-form-define-abbrev-table)
14898 (byte-compile-file-form-custom-declare-variable)
14899 (byte-compile-variable-ref, byte-compile-defvar):
14900 Whether or not a warning is enabled should only affect whether we issue
14901 the warning, not whether or not we collect the relevant data.
14902 Eg warnings can be turned on and off throughout the course of a file.
14904 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14905 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14907 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14909 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14910 * play/mpuz.el (mpuz-create-buffer):
14911 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14912 (lm-print-y,s,noise, lm-print-w0, lm-init):
14913 * play/gomoku.el (gomoku-prompt-for-move):
14914 * play/fortune.el (fortune-in-buffer):
14915 * play/dissociate.el (dissociated-press):
14916 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14917 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14918 * mail/supercite.el (sc-eref-show):
14919 * mail/smtpmail.el (smtpmail-send-it):
14920 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14921 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14922 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14923 (rmail-summary-goto-msg, rmail-summary-expunge)
14924 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14925 (rmail-summary-add-label, rmail-summary-output-menu)
14926 (rmail-summary-output-body):
14927 * mail/rfc822.el (rfc822-addresses):
14928 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14929 * mail/mailpost.el (post-mail-send-it):
14930 * mail/hashcash.el (hashcash-generate-payment):
14931 * mail/feedmail.el (feedmail-run-the-queue)
14932 (feedmail-queue-send-edit-prompt-help-first)
14933 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14934 (feedmail-deduce-address-list):
14935 * eshell/esh-ext.el (eshell-remote-command):
14936 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14937 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14938 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14939 (viper-save-string-in-file, viper-valid-marker):
14940 * emulation/viper-keym.el (viper-toggle-key):
14941 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14942 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14943 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14944 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14945 (viper-exec-form-in-emacs, viper-brac-function):
14946 * emulation/viper.el (viper-delocalize-var):
14947 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14948 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14949 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14950 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14951 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14952 * emulation/edt.el (edt-electric-helpify):
14953 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14954 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14955 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14956 (cua-indent-to-global-mark-column):
14957 * calendar/diary-lib.el (calendar-mark-1):
14958 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14959 Use with-current-buffer.
14960 * emulation/viper.el (viper-delocalize-var): Use dolist.
14962 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14964 * comint.el (comint-replace-by-expanded-history-before-point):
14965 Replace !! with the previous input string literally (Bug#1795).
14967 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14969 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14970 to be made up of whitespace.
14972 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14974 * minibuffer.el (read-file-name): Don't use file dialogs for
14975 remote directories (Bug#99).
14977 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14979 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14981 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14983 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14984 instead of deleting the window or frame.
14986 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14988 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14989 Support face colors.
14991 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14992 New function. Support face colors (Bug#1168).
14993 (tex-common-initialization): Use it.
14995 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14996 mode allows it (Bug#1168).
14998 2009-10-31 Juri Linkov <juri@jurta.org>
15000 * facemenu.el (list-colors-display): Don't mark buffer as
15001 modified (Bug#3948).
15003 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15005 * international/mule-diag.el (list-character-sets-1):
15006 Minor message fix (Bug#3526).
15008 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15009 Fix face property (Bug#4834).
15010 (etags-list-tags, etags-tags-apropos-additional)
15011 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15014 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15017 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * textmodes/two-column.el (2C-split):
15020 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15021 * textmodes/tex-mode.el (tex-set-buffer-directory):
15022 * textmodes/spell.el (spell-region, spell-string):
15023 * textmodes/reftex.el (reftex-erase-buffer):
15024 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15025 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15026 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15027 (reftex-select-item):
15028 * textmodes/reftex-ref.el (reftex-label-info-update)
15029 (reftex-offer-label-menu):
15030 * textmodes/reftex-index.el (reftex-index-change-entry)
15031 (reftex-index-phrases-info):
15032 * textmodes/reftex-global.el (reftex-create-tags-file)
15033 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15034 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15035 (reftex-view-crossref-from-bibtex):
15036 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15037 (reftex-extract-bib-entries-from-thebibliography)
15038 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15039 * textmodes/refbib.el (r2b-capitalize-title):
15040 (r2b-convert-buffer, r2b-help):
15041 * textmodes/page-ext.el (pages-directory)
15042 (pages-directory-goto-with-mouse):
15043 * textmodes/bibtex.el (bibtex-validate-globally):
15044 * textmodes/bib-mode.el (bib-capitalize-title):
15045 * textmodes/artist.el (artist-clear-buffer, artist-system):
15046 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15047 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15048 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15049 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15050 (xscheme-send-control-g-interrupt, xscheme-start-process)
15051 (xscheme-process-sentinel, xscheme-cd):
15052 * progmodes/verilog-mode.el (verilog-read-always-signals)
15053 (verilog-set-define, verilog-getopt-file)
15054 (verilog-module-inside-filename-p):
15055 * progmodes/sh-script.el:
15056 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15057 (python-pdbtrack-grub-for-buffer, python-execute-file):
15058 * progmodes/octave-inf.el (inferior-octave):
15059 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15060 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15061 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15062 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15063 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15064 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15065 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15066 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15067 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15068 (idlwave-shell-examine-display, idlwave-shell-run-region)
15069 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15070 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15071 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15072 (idlwave-help-get-help-buffer):
15073 * progmodes/gud.el (gud-basic-call, gud-find-class)
15074 (gud-tooltip-activate-mouse-motions-if-enabled):
15075 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15076 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15077 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15078 (ebrowse-tags-next-file):
15079 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15080 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15081 (ebnf-eps-finish-and-write):
15082 * progmodes/cpp.el (cpp-edit-save):
15083 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15084 * progmodes/cc-defs.el (c-emacs-features):
15085 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15086 (antlr-directory-dependencies):
15087 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15088 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15089 (ada-find-any-references, ada-make-filename-from-adaname)
15090 (ada-make-body-gnatstub):
15091 * obsolete/rnews.el (news-list-news-groups):
15092 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15093 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15094 * net/rcirc.el (rcirc-debug):
15095 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15096 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15097 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15098 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15099 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15100 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15101 (newsticker--treeview-list-clear-highlight)
15102 (newsticker--treeview-list-update-highlight)
15103 (newsticker--treeview-list-highlight-start)
15104 (newsticker--treeview-tree-update-highlight)
15105 (newsticker--treeview-get-selected-item)
15106 (newsticker-treeview-mark-list-items-old)
15107 (newsticker--treeview-set-current-node):
15108 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15109 * net/newst-backend.el (newsticker--get-news-by-funcall)
15110 (newsticker--get-news-by-wget, newsticker--image-get)
15111 (newsticker--image-sentinel):
15112 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15113 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15114 (eudc-ph-close-session):
15115 * net/eudc.el (eudc-save-options):
15116 * language/thai-word.el (thai-update-word-table):
15117 * language/japan-util.el (japanese-string-conversion):
15118 * international/titdic-cnv.el (tsang-quick-converter)
15119 (ziranma-converter, ctlau-converter):
15120 * international/mule-cmds.el (describe-language-environment):
15121 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15122 (skkdic-convert-postfix, skkdic-convert-prefix):
15123 (skkdic-convert-okuri-nasi, skkdic-convert):
15124 * emacs-lisp/re-builder.el (reb-update-overlays):
15125 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15126 * emacs-lisp/gulp.el (gulp-send-requests):
15127 * emacs-lisp/find-gc.el (trace-call-tree):
15128 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15129 (eieio-describe-generic):
15130 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15131 * emacs-lisp/edebug.el (edebug-outside-excursion):
15132 * emacs-lisp/debug.el (debugger-make-xrefs):
15133 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15134 * emacs-lisp/chart.el (chart-new-buffer):
15135 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15136 Use with-current-buffer.
15137 * textmodes/artist.el (artist-system): Don't call
15138 copy-sequence on a fresh string.
15139 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15141 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15143 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15144 is no item to edit. (Bug#4820)
15145 (todo-top-priorities): Restore point and restore narrowing in Todo
15148 2009-10-31 Glenn Morris <rgm@gnu.org>
15150 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15151 (comint-last-output-start, comint-last-input-start)
15152 (comint-last-input-end): Don't defvar when compiling.
15153 (ange-ftp-process-file): Use bound-and-true-p.
15155 * pcmpl-rpm.el (top-level): Move provide statement to end.
15156 (pcmpl-rpm): Remove unused custom group.
15158 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15160 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15162 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15163 (byte-compile-warnings): Add `constants' as an option.
15164 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15165 (display-call-tree): Update for byte-compile-fdefinition possibly
15166 returning `(macro lambda ...)'. (Bug#4778)
15167 (byte-compile-variable-ref, byte-compile-setq-default):
15168 Respect `constants' member of byte-compile-warnings.
15170 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15172 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15173 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15176 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15178 * textmodes/ispell.el (ispell-skip-region-alist):
15179 * international/mule-conf.el (eight-bit):
15180 * international/fontset.el (font-encoding-alist):
15181 * startup.el (pure-space-overflow-message):
15182 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15183 * paths.el (gnus-nntp-service, rmail-spool-directory)
15184 (term-file-prefix):
15185 * files.el (save-some-buffers-action-alist):
15186 * cmuscheme.el (same-window-buffer-names):
15187 * ielm.el (same-window-buffer-names):
15188 * shell.el (same-window-buffer-names):
15189 * mail/sendmail.el (same-window-buffer-names):
15190 * progmodes/inf-lisp.el (same-window-buffer-names):
15191 * bindings.el (mode-line-client)
15192 (mode-line-column-line-number-mode-map):
15193 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15194 (tibetan-precomposed-regexp): Purecopy string arguments.
15196 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15198 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15199 (calcDigit-nondigit):
15200 * calc/calc-yank.el (calc-copy-to-buffer):
15201 * calc/calc-units.el (calc-invalidate-units-table):
15202 * calc/calc-trail.el (calc-trail-yank):
15203 * calc/calc-store.el (calc-insert-variables):
15204 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15205 * calc/calc-prog.el (calc-read-parse-table):
15206 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15207 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15208 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15209 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15210 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15211 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15212 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15213 * calc/calc-ext.el (calc-realign):
15214 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15215 (calc-embedded-finish-edit, calc-embedded-make-info)
15216 (calc-embedded-finish-command, calc-embedded-stack-change):
15217 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15219 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15220 shell-dynamic-complete-filename in preference to
15221 comint-dynamic-complete-filename.
15223 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15224 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15225 Don't consider whether the display supports colors.
15226 (bookmark-import-new-list): Use dolist.
15227 (bookmark-bmenu-mode-map): Move initialization into declaration.
15228 (bookmark-bmenu-list): Use dolist, simplify.
15229 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15230 (menu-bar-final-items): Use push.
15232 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15234 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15235 it works on remote files.
15236 (vc-hg-diff): Don't pass any `--cwd' argument.
15238 2009-10-27 Kevin Ryde <user42@zip.com.au>
15240 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15241 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15242 (Further to Bug#3921).
15244 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15246 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15247 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15248 calling `tramp-imap-put-file'. Add file size to the call.
15249 (tramp-imap-get-file-entries): Compute also user name, file size,
15251 (tramp-imap-handle-insert-directory): Insert uid and gid.
15252 (tramp-imap-handle-file-attributes): Transform uid and gid
15253 according to `id-format'.
15254 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15255 size in header X-Size.
15257 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15259 * simple.el (transpose-subr): Give clearer error when the mark
15260 is not set. (Bug#4807)
15262 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15264 * net/tramp.el (tramp-perl-file-truename): New defconst.
15265 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15266 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15267 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15268 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15270 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15271 Ignore `dired-call-process'.
15272 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15274 2009-10-26 Julian Scheid <julians37@gmail.com>
15276 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15277 (tramp-get-remote-readlink): New defun.
15278 (tramp-handle-file-truename): Use it.
15279 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15280 file exists if cache value present.
15281 (tramp-check-cached-permissions): New defun.
15282 (tramp-handle-file-readable-p): Use it.
15283 (tramp-handle-file-writable-p): Likewise.
15284 (tramp-handle-file-executable-p): Likewise.
15285 (tramp-handle-file-name-all-completions): Try using Perl to get
15286 partial completions. When perl not available, combine `cd' and
15287 `ls' into single remote operation and use shell expansion to get
15288 partial remote directory contents. Set `file-exists-p' cache for
15289 directory and any files returned by ls. Change cache handling to
15290 support partial directory contents. Use error message emitted by
15291 remote `cd' or Perl code for local tramp-error.
15292 (tramp-do-copy-or-rename-file-directly): Avoid separate
15293 tramp-send-command-and-check call.
15294 (tramp-handle-process-file): Merge three remote ops into one.
15295 Do not flush all caches when `process-file-side-effects' is set.
15296 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15297 file-attributes shows uid/gid to be set already.
15299 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15301 * textmodes/tex-mode.el (tex-dvi-view-command)
15302 (tex-show-queue-command, tex-open-quote):
15303 * progmodes/ruby-mode.el (auto-mode-alist)
15304 (interpreter-mode-alist): Purecopy strings.
15306 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15308 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15309 string for the hook, keymap and abbrev table.
15311 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15313 * x-dnd.el (x-dnd-xdnd-to-action):
15314 * startup.el (fancy-startup-text, fancy-about-text): Change to
15315 defconst from defvar.
15317 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15319 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15320 Purecopy initialization strings.
15322 * mail/sendmail.el (mail-header-separator)
15323 (mail-personal-alias-file):
15324 * mail/rmail.el (rmail-default-dont-reply-to-names)
15325 (rmail-ignored-headers, rmail-retry-ignored-headers)
15326 (rmail-highlighted-headers, rmail-secondary-file-directory)
15327 (rmail-secondary-file-regexp):
15328 * files.el (null-device, file-name-invalid-regexp)
15329 (locate-dominating-stop-dir-regexp)
15330 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15331 (interpreter-mode-alist): Use mapcar instead of mapc.
15333 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15335 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15336 (completion-ignored-extensions):
15337 (debug-ignored-errors): Purecopy strings.
15339 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15341 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15342 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15343 (pcomplete--here): Use push.
15345 * subr.el (all-completions): Declare the 4th arg obsolete.
15347 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15350 (pcomplete-unquote-argument): New function.
15351 (pcomplete--common-suffix): Always pay attention to case.
15352 (pcomplete--table-subvert): Quote and unquote the text.
15353 (pcomplete--common-quoted-suffix): New function.
15354 (pcomplete-std-complete): Use it and pcomplete-begin.
15356 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15357 we're inside a dedicated or minibuffer window.
15359 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15361 * bookmark.el: Update documentation, especially documentation
15362 of `bookmark-alist' and of the bookmark file format.
15363 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15365 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15367 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15368 keybindings apply to the mail buffer (Bug#4003). Shrink help
15371 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15372 (global-whitespace-mode, global-whitespace-newline-mode)
15373 (whitespace-toggle-options, global-whitespace-toggle-options):
15374 Doc fix (Bug#3660).
15376 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15377 of xmltok-start before the end tag was inserted (Bug#2840).
15379 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15380 patterns that are preceded by an open-paren (Bug#1320).
15382 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15384 * files.el (delete-directory): Delete symlinks to directories with
15385 delete-file (Bug#4739).
15387 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15389 * vc.el (vc-backend-for-registration): Rename from
15390 vc-get-backend-for-registration. Update callers.
15392 * international/mule-cmds.el (set-language-info-alist):
15394 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15395 (charset): Purecopy the name.
15396 (define-char-code-property): Purecopy string arguments.
15398 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15399 Purecopy string arguments.
15401 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15402 * ediff-hook.el (menu-bar-ediff-menu):
15403 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15404 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15406 2009-10-24 Glenn Morris <rgm@gnu.org>
15408 * comint.el (comint-dynamic-list-completions):
15409 * term.el (term-dynamic-list-completions): Use choose-completion rather
15410 than obsolete alias mouse-choose-completion.
15412 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15413 file-cache-choose-completion.
15414 (file-cache-choose-completion): Handle an optional event argument.
15415 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15417 * progmodes/octave-mod.el (octave-complete-symbol):
15418 Use choose-completion if mouse-choose-completion is ever removed.
15420 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15423 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15426 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15428 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15430 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15431 Ignore `pred' now that we receive one.
15432 Handle test-completion specially.
15434 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15436 * vc.el (vc-responsible-backend): Throw an error if not backend is
15437 found. Remove the REGISTER argument. Move the code dealing with
15439 (vc-get-backend-for-registration): ... here. New function.
15440 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15441 of vc-responsible-backend, pass the file name instead of the
15444 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15446 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15448 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15449 (pcomplete-comint-setup): Don't modify a global var via
15450 accidental side-effects.
15451 (pcomplete-shell-setup): Adjust call accordingly.
15452 (pcomplete-parse-comint-arguments): Use push.
15454 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15456 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15457 Allow uncapitalized info node names (Bug#3921).
15459 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15460 to the DEBUG file (Bug#3781).
15462 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15464 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15465 dictionary entry (Bug#4579).
15467 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15469 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15470 from `rfn-eshadow-update-overlay-hook' when unloading.
15471 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15472 "rsyncc". Adjust doc string.
15473 (tramp-temp-buffer-file-name): New buffer-local defvar.
15474 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15475 Keep temporary file when indicated by method ("rsync" and
15477 (tramp-handle-write-region): Handle APPEND.
15478 (tramp-delete-temp-file-function): New defun. Added to
15479 `kill-buffer-hook'.
15481 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15483 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15485 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15487 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15488 (color-name-rgb-alist, tty-standard-colors)
15489 (tty-color-mode-alist): Change to defconst.
15491 * simple.el (mark-inactive): Purecopy message.
15493 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15494 (global-map, yank-menu):
15495 * textmodes/ispell.el (ispell-menu-map):
15496 * net/eudc.el (eudc-tools-menu):
15497 * international/mule-cmds.el (describe-language-environment-map)
15498 (setup-language-environment-map, set-coding-system-map)
15499 (mule-menu-keymap):
15500 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15501 * replace.el (occur-mode-map):
15502 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15504 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15506 * calc/calc.el (math-read-number, math-read-number-simple):
15507 Use `save-match-data'.
15509 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15511 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15512 rather than fiddling with global-map bindings, since it should only
15513 affect per-terminal settings.
15514 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15516 * minibuffer.el (completion-table-with-terminator): Allow to specify
15517 the terminator-regexp.
15519 * simple.el (switch-to-completions): Look for *Completions* in other
15522 * pcomplete.el: Allow the use of completion-tables.
15523 (pcomplete-std-complete): New command.
15524 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15525 (pcomplete--here): Use a function for `form' rather than an expression,
15526 so it can be byte-compiled.
15527 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15528 Add edebug declaration.
15529 (pcomplete-show-completions): Remove unused var `curbuf'.
15530 (pcomplete-do-complete, pcomplete-stub):
15531 Don't assume `completions' is a list of strings any more.
15533 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15535 * find-dired.el (find-name-arg): Fix typo in docstring.
15537 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15539 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15540 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15542 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15545 * comint.el (comint-read-input-ring, comint-write-input-ring)
15546 (comint-substitute-in-file-name)
15547 (comint-dynamic-complete-as-filename)
15548 (comint-dynamic-simple-complete)
15549 (comint-dynamic-list-filename-completions)
15550 (comint-dynamic-list-completions)
15551 (comint-redirect-results-list-from-process): Minor simplifications.
15553 2009-10-21 Kevin Ryde <user42@zip.com.au>
15555 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15556 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15557 the first form. And insert a blank line after ";;; Code" since
15558 that's usual style. (Bug#4612)
15560 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15562 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15564 * minibuffer.el (completion-table-with-terminator): Properly implement
15565 boundaries, in case `terminator' appears in the suffix.
15566 (completion--embedded-envvar-table): Don't return boundaries if
15567 there's no valid completion. Simplify.
15568 (completion-file-name-table): New completion table extracted from
15569 completion--file-name-table.
15570 (completion--file-name-table): Use it.
15571 (read-file-name-predicate): Declare obsolete.
15572 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15573 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15574 completion-file-name-table, and use the `pred' argument.
15575 * files.el (locate-file-completion-table): Use the `pred' arg rather
15576 than read-file-name-predicate.
15577 (abbreviate-file-name): Use \` rather than ^ for BOS.
15579 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15581 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15582 vc-responsible-backend to register, it causes problems.
15584 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15586 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15588 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15590 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15591 (tramp-smb-handle-file-attributes): Use it.
15592 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15593 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15594 `mapcar'. Use `tramp-smb-get-stat-capability'.
15595 Add `dired-filename' text properties.
15596 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15597 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15600 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15602 * subr.el (read-key-delay): Reduce to 0.01.
15603 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15606 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15608 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15610 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15611 (Info-menu): Remove unused vars `last' and `completions'.
15612 (Info-index-nodes): Remove unused var `node'.
15614 * info.el (Info-complete-menu-item): Use complete-with-action.
15616 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15618 Make vc-annotate work through copies and renames.
15619 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15620 Return the file name too.
15621 (vc-annotate-revision-at-line)
15622 (vc-annotate-find-revision-at-line)
15623 (vc-annotate-revision-previous-to-line)
15624 (vc-annotate-show-log-revision-at-line): Update to get the file
15625 name from vc-annotate-extract-revision-at-line.
15626 (vc-annotate-show-diff-revision-at-line-internal): Change the
15627 argument to mean whether to show a file diff or not. Get the file
15628 name from vc-annotate-extract-revision-at-line.
15629 (vc-annotate-show-diff-revision-at-line):
15630 Update vc-annotate-show-diff-revision-at-line call.
15631 (vc-annotate-warp-revision): Add an optional file argument.
15633 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15634 (vc-git-annotate-extract-revision-at-line): Also return the file
15637 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15638 command. Remove unused code.
15639 (vc-hg-annotate-re): Update to match --follow output.
15640 (vc-hg-annotate-extract-revision-at-line): Also return the file
15643 * vc.el: Update annotate-extract-revision-at-line documentation.
15645 2009-10-18 Kevin Ryde <user42@zip.com.au>
15647 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15648 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15650 * net/browse-url.el (browse-url): Identify alist with "consp and
15651 not functionp" and let all other things go down the `apply' leg,
15652 as suggested by Stefan. (Further to bug#4531.)
15654 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15656 * minibuffer.el (read-file-name): Check for repeat before putting
15657 a default argument in file-name-history (Bug#4657).
15659 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15660 read syntax (Bug#4737).
15662 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15664 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15666 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15667 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15668 entries and make note of obsolete tags.
15670 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15672 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15674 2009-10-18 Glenn Morris <rgm@gnu.org>
15676 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15677 grep, so that binary files (eg international/uni-bidi.el) can match.
15678 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15679 now, and in any case the file header format has changed.
15681 2009-10-17 Glenn Morris <rgm@gnu.org>
15683 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15684 (flyspell-get-word, flyspell-large-region)
15685 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15687 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15689 * Makefile.in (ELCFILES): Add ede/shell.
15691 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15693 * term/common-win.el (x-colors): Purecopy it.
15695 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15697 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15698 permissive for when the buffer is empty.
15699 (tar-header-block-tokenize): Decode the username and groupname.
15700 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15702 2009-10-17 Eric Ludlam <zappo@gnu.org>
15704 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15705 contains multibyte characters, choose first applicable coding
15706 system automatically.
15708 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15710 * international/mule-cmds.el (select-safe-coding-system): If the file
15711 has a coding cookie, use it regardless of any other setting (bug#4712).
15713 2009-10-17 Glenn Morris <rgm@gnu.org>
15715 * foldout.el (foldout-mouse-swallow-events):
15716 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15718 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15719 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15720 (dired-keep-marker-symlink, dired-dwim-target)
15721 (dired-copy-preserve-time): Do not autoload these defcustoms.
15723 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15724 messages from messing up the file coding. (Bug#4623)
15726 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15728 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15729 if no match is found for the current dictionary. (Bug#4578)
15731 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15732 optional, since that is how it is documented, and this is often called
15733 with a nil argument. (Bug#4577)
15734 (flyspell-external-point-words, flyspell-auto-correct-word)
15735 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15736 (flyspell-word-search-backward): Remove nil argument in calls to
15737 flyspell-get-word, since it is not needed now.
15739 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15741 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15743 2009-10-16 Glenn Morris <rgm@gnu.org>
15745 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15747 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15749 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15750 (ange-ftp-file-size): New function.
15751 (ange-ftp-file-attributes): Use it.
15753 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15755 * net/tramp-smb.el (tramp-smb-version): New defvar.
15756 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15759 2009-10-16 Glenn Morris <rgm@gnu.org>
15761 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15762 Maybe copy some custom properties from old to new name. (Bug#4706)
15764 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15766 * subr.el (error, sit-for, start-process-shell-command)
15767 (start-file-process-shell-command): Set the calling convention
15768 after the function definition.
15770 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15772 * subr.el (error, sit-for, start-process-shell-command)
15773 (start-file-process-shell-command): Use the new
15774 set-advertised-calling-convention feature.
15776 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15778 * international/ucs-normalize.el (ucs-normalize-version):
15780 (check-range): Adjust for Unicode 5.2.
15782 2009-10-15 Juri Linkov <juri@jurta.org>
15784 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15785 to the `menu-item' format.
15787 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15789 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15790 if the environment variable does not exist.
15792 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15793 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15795 (tramp-smb-handle-add-name-to-file)
15796 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15797 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15798 (tramp-smb-handle-file-attributes)
15799 (tramp-smb-do-file-attributes-with-stat)
15800 (tramp-smb-handle-file-local-copy)
15801 (tramp-smb-handle-insert-directory)
15802 (tramp-smb-handle-make-directory)
15803 (tramp-smb-handle-make-directory-internal)
15804 (tramp-smb-handle-make-symbolic-link)
15805 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15806 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15807 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15808 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15809 Handle long file names.
15810 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15811 process is running.
15812 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15813 Read share names with "-g" option.
15815 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15817 * net/rcirc.el (rcirc-view-log-file): New command.
15818 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15819 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15822 2009-10-15 Glenn Morris <rgm@gnu.org>
15824 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15825 from the second command-line argument.
15826 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15827 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15828 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15829 w32-batch-update-autoloads.
15830 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15831 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15833 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15834 the headers cannot be located. Simplify, subtracting superflous
15837 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15839 Replace completion-base-size by completion-base-position to fix bugs
15840 such as (bug#4699).
15841 * simple.el (completion-base-position): New var.
15842 (completion-base-size): Mark as obsolete.
15843 (choose-completion): Make it work for mouse events as well.
15844 Pass the new base-position to choose-completion-string.
15845 (choose-completion-guess-base-position): New function, extracted from
15846 choose-completion-delete-max-match.
15847 (choose-completion-delete-max-match): Use it. Make obsolete.
15848 (choose-completion-string): Use the new base-position info.
15849 (completion-root-regexp): Delete.
15850 (completion-setup-function): Preserve completion-base-position.
15851 Eliminate obsolete base-size manipulation.
15852 * minibuffer.el (display-completion-list): Don't mess with base-size.
15853 (minibuffer-completion-help): Set completion-base-position instead.
15854 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15856 * textmodes/bibtex.el (bibtex-complete):
15857 * emacs-lisp/crm.el (crm--choose-completion-string):
15858 Adjust to new calling convention.
15859 * complete.el (partial-completion-mode): Use minibufferp to avoid
15860 bumping into incompatible change to choose-completion-string-functions.
15861 * ido.el (ido-choose-completion-string): Make its calling convention
15863 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15864 base-size manipulation.
15865 (comint-dynamic-list-input-ring): Use dotimes and push.
15866 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15867 fundamental-mode. Use `or'.
15869 2009-10-14 Juri Linkov <juri@jurta.org>
15871 * misearch.el (multi-isearch-next-buffer-from-list)
15872 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15874 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15876 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15879 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15880 string we return is all made up of text from the completions rather
15881 than part from the completions and part from the input (bug#4219).
15883 * ido.el (ido-everywhere): Use define-minor-mode.
15885 * buff-menu.el (list-buffers, ctl-x-map):
15886 Mark the entry points with ;;;###autoload cookies.
15888 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15890 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15891 correctly in the detached head case.
15892 (vc-git-print-log): Remove unused binding.
15894 * vc.el (vc-responsible-backend): When a directory is passed for
15895 for registration create a VC repository if no backend is
15896 responsible for the directory argument.
15897 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15899 * vc.el: Move comments about RCS and SCCS ...
15901 * vc-sccs.el: ... here, respectively.
15903 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15905 * minibuffer.el (completion--file-name-table): Return nil if there's
15906 no file completion, even if substitute-in-file-name changed
15907 the string (bug#4708).
15909 2009-10-13 Juri Linkov <juri@jurta.org>
15911 * files-x.el (read-file-local-variable-value): Don't filter out
15912 minor modes from mode name completion (bug#4664).
15914 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15916 * international/mule-cmds.el (ucs-names): Remove exclusion of
15917 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15919 2009-10-13 Kenichi Handa <handa@m17n.org>
15921 * international/uni-name.el: Regenerated.
15923 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15925 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15926 should be automatically buffer-local, but isn't.)
15928 2009-10-12 Sam Steingold <sds@gnu.org>
15930 * progmodes/compile.el (compilation-next-error-function): Fix the
15931 timestamps if the buffer has been visited before.
15932 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15933 non-anchored patterns, like the perl one (bug#3928).
15935 2009-10-12 Glenn Morris <rgm@gnu.org>
15937 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15940 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15942 * proced.el (proced-unload-function): New function.
15944 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15945 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15948 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15950 2009-10-11 Juri Linkov <juri@jurta.org>
15952 * files-x.el (read-file-local-variable-value):
15953 Provide default value only for bound variables (bug#4664).
15955 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15957 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15958 connection methods like smb.
15960 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15963 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15964 (tramp-smb-file-name-handler-alist): Add handlers for
15965 `add-name-to-file', `make-symbolic-link'.
15966 (tramp-smb-handle-add-name-to-file)
15967 (tramp-smb-do-file-attributes-with-stat)
15968 (tramp-smb-handle-make-symbolic-link)
15969 (tramp-smb-get-cifs-capabilities): New defuns.
15970 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15971 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15972 (tramp-smb-handle-file-local-copy)
15973 (tramp-smb-handle-make-directory-internal)
15974 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15975 The file name syntax depends on cifs capabilities.
15976 (tramp-smb-handle-file-attributes):
15977 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15978 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15979 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15981 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15983 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15984 (eieio-defclass): Apply deftype handler and setf-method properties
15986 (eieio-add-new-slot): Avoid union function from cl library.
15987 (eieio--typep): New function.
15988 (eieio-perform-slot-validation): Use it.
15990 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15992 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15993 Update documentation to refer to the variables documented in r1.135.
15996 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15998 * bookmark.el (Info-suffix-list): Remove this unused variable.
15999 (bookmark-current-point): Remove this obsolete variable.
16000 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16001 Adjust for removal of bookmark-current-point.
16003 (bookmarks-already-loaded, bookmark-current-buffer)
16004 (bookmark-yank-point): Document. (Bug#4188)
16006 2009-10-10 Glenn Morris <rgm@gnu.org>
16008 * frame.el (frame-height): Doc fix.
16010 * calendar/calendar.el (calendar-split-width-threshold): New option.
16011 (calendar-basic-setup): Use calendar-split-width-threshold.
16013 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16015 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16016 Ideographic Supplement" range (U+1F200..U+1F2FF).
16018 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16020 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16021 since the list will have been rebuilt anyway. (Bug#4349)
16023 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16025 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16026 (bookmark-bmenu-execute-deletions): Don't save here, as
16027 bookmark-delete will now do so if necessary.
16028 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16031 2009-10-09 Glenn Morris <rgm@gnu.org>
16033 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16035 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16037 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16038 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16039 argument now, so the two function's behaviors will match. (Bug#3645)
16041 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16043 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16044 (tramp-file-name-real-host, tramp-file-name-port):
16045 Apply `save-match-data'.
16047 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16048 case both directories are remote.
16049 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16050 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16052 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16054 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16056 2009-10-07 Glenn Morris <rgm@gnu.org>
16058 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16061 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16063 * files-x.el (read-file-local-variable): Include some
16064 non-user-variables in the completion table (bug#4664).
16066 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16068 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16071 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16072 (tramp-smb-file-name-handler-alist): Add handler for
16073 `copy-directory', `expand-file-name', `set-file-modes'.
16074 (tramp-smb-handle-copy-directory)
16075 (tramp-smb-handle-expand-file-name)
16076 (tramp-smb-handle-set-file-modes): New defuns.
16077 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16078 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16080 (tramp-smb-handle-insert-directory): Don't flush the cache.
16081 (tramp-smb-maybe-open-connection): Check for samba client and
16084 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16086 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16087 to not error out of search for "^lisp=" fails.
16089 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16091 * makefile.w32-in (WINS_UPDATES): New macro.
16092 (custom-deps, finder-data, autoloads): Use it.
16094 2009-10-07 Glenn Morris <rgm@gnu.org>
16096 * Makefile.in (autoloads): Revert previous change.
16097 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16098 the list of preloaded files passed on the command-line, get
16099 it from src/Makefile.
16101 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16102 show the original buffer rather than a random one.
16104 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16106 * help.el (describe-no-warranty): Place point in a slightly better
16107 position in the GPLv3 text.
16109 2009-10-06 Sam Steingold <sds@gnu.org>
16111 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16112 the comm attribute is present before calling regexp-quote.
16114 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16116 * play/animate.el (animate-string): For good effect, make sure
16117 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16119 * play/animate.el (animate-sequence, animate-birthday-present):
16120 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16122 2009-10-06 Glenn Morris <rgm@gnu.org>
16124 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16126 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16127 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16128 (batch-update-autoloads): Process a string value of autoload-excludes,
16129 set during the build process.
16130 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16132 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16133 inside with-parsed... macro so that `v' is defined.
16135 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16136 * progmodes/fortran.el (fortran-end-of-block)
16137 (fortran-beginning-of-block):
16138 Also push mark in the macro case.
16140 * emerge.el (emerge-show-file-name):
16141 * calc/calc.el (calc-quit):
16142 * calc/calc-misc.el (calc-big-or-small):
16143 * calc/calc-graph.el (calc-graph-view):
16144 * calc/calc-ext.el (calc-reset):
16145 * calendar/calendar.el (calendar-basic-setup):
16146 Use window-full-height-p.
16148 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16149 header we don't understand, don't insert another. (Bug#4624)
16150 If changing mime charset, insert the new one in the right place.
16152 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16154 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16155 (cal-tex-cursor-month): Correctly increment the end date for diary and
16156 holiday listing. (Bug#4626)
16158 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16160 * help-fns.el (describe-function-1): Don't burp if the function is not
16163 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16165 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16166 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16167 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16168 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16170 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16171 (eieio-default-superclass): Reflow docstrings.
16172 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16173 (eieio-unbind-method-implementations, defmethod)
16174 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16175 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16176 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16177 (eieio-slot-originating-class-p, eieio-slot-name-index)
16178 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16179 (constructor, initialize-instance, no-next-method, object-print)
16180 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16181 Fix typos in docstrings.
16182 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16183 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16184 (next-method-p): Doc fixes.
16185 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16186 Fix typos in error messages.
16187 (eieio-defmethod): Fix typo in description of generic method.
16189 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16190 (eieio-persistent-save-interactive, slot-missing):
16191 Fix typos in docstrings.
16192 (eieio-instance-inheritor-slot-boundp): Doc fix.
16194 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16195 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16197 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16198 (eieio-custom-object-apply-reset):
16199 Fix typos in docstrings and error messages.
16201 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16202 Fix typo in docstring.
16204 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16205 (eieio-browse-tree): Doc fix.
16206 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16207 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16208 Fix typos in docstrings.
16210 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16211 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16212 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16213 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16216 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16218 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16219 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16220 Set log-view-vc-backend so that diff can work.
16222 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16224 (vc-diff-internal): Autoload this instead of vc-version-diff.
16226 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16228 * simple.el (eval-expression): Doc fix.
16230 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16232 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16234 * files.el (directory-files-no-dot-files-regexp): New defconst.
16235 (delete-directory): Use it.
16236 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16238 * net/tramp.el (tramp-verbose): Fix docstring.
16239 (tramp-methods): Add recursive option to `tramp-copy-args'.
16240 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16241 "scp1_old", "scp2_old", "rsync", "rsyncc".
16242 (tramp-default-method): Check also for `auth-source-user-or-password'.
16243 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16244 Add handler for `copy-directory'.
16245 (tramp-handle-copy-directory): New defun.
16246 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16247 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16248 Optimize sent command.
16250 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16252 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16253 window if necessary.
16255 * calendar/calendar.el (calendar-basic-setup): Don't call
16256 switch-to-buffer in a dedicated window.
16258 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16260 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16261 don't do anything related to relocating, just return nil.
16262 (bookmark-error-no-filename): New error.
16263 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16264 bookmark has no file. Don't even attempt to handle things that
16265 are not files; the whole point of custom handlers is to keep that
16266 knowledge elsewhere anyway. Tighten some comments.
16267 (bookmark-file-or-variation-thereof): Remove now-unused function.
16268 (bookmark-location): Doc string fix.
16271 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16273 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16274 don't use a file dialog, because they usually don't know how to read
16275 a directory target from the user. (Bug#4230)
16276 Also, make sure the prompt can display directories as well as files.
16278 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16280 * bookmark.el (bookmark-set, bookmark-buffer-name):
16281 Improve doc strings. (Bug#1193)
16283 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16285 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16286 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16287 (bookmark-get-annotation, bookmark-set-annotation)
16288 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16289 (bookmark-set-position, bookmark-get-front-context-string)
16290 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16291 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16292 (bookmark-jump-other-window, bookmark-handle-bookmark)
16293 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16294 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16295 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16296 Improve doc strings to say whether bookmark can be a string or
16297 a record or both, and make other consistency and clarity fixes.
16298 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16299 (bookmark-default-annotation-text, bookmark-yank-word)
16300 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16301 (bookmark-import-new-list, bookmark-maybe-rename)
16302 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16303 (bookmark-bmenu-bookmark): Give these doc strings.
16304 (bookmark-bmenu-check-position): Give this a doc string, but also
16305 add a FIXME comment about how the function may be pointless.
16306 (bookmark-default-handler): Rework doc string and change a
16307 parameter name, to clarify that this takes a bookmark record
16308 not a bookmark name.
16309 (bookmark-set): Change a parameter name to indicate its meaning,
16310 and improve the doc string a bit.
16313 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16315 * bookmark.el (bookmark-alist): Document the new `handler' element
16316 in the param alist.
16317 (bookmark-make-record-function): Adjust documentation for above.
16320 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16322 * info.el (Info-bookmark-make-record): Document this function.
16323 (Info-bookmark-jump): Document with a doc string, not just a comment.
16326 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16328 * files.el (copy-directory): New defun.
16330 * dired-aux.el (dired-copy-file-recursive): Use it.
16332 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16334 * files-x.el (modify-dir-local-variable)
16335 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16338 * recentf.el (recentf-unload-function): New function.
16340 2009-10-04 Glenn Morris <rgm@gnu.org>
16342 * window.el (window-full-height-p): Add doc string.
16344 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16346 * window.el (window-full-height-p): New function. (Bug#4543)
16348 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16350 * vc.el: Remove commented out code.
16351 (vc-derived-from-dir-mode): Remove, unused.
16352 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16354 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16356 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16357 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16358 there could be recursive loading when `default-directory' is a
16359 remote file name. (Bug#4614)
16361 2009-10-03 Glenn Morris <rgm@gnu.org>
16363 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16365 (calendar-generate-window): Test for shrinkability rather than width.
16367 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16368 reusing existing buffers, in case we happen to visit two files with the
16369 same basename. (Bug#4593)
16371 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16373 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16374 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16375 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16376 subdirs of cedet as well.
16377 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16379 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16381 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16382 Obey advertised-signature-table.
16384 * help-fns.el (help-function-arglist): Don't check
16385 advertised-signature-table.
16386 (describe-function-1): Do it here instead so it also applies to subrs.
16388 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16390 * simple.el (start-file-process): Say in the doc-string, that file
16391 handlers might not support pty association, if PROGRAM is nil.
16393 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16394 HOST and USER are strings. They are nil, when there are
16395 incomplete entries in ~/.netrc, for example.
16396 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16397 root directory ("device busy" error otherwise).
16399 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16400 Flush file properties of created directory.
16402 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16404 * makefile.w32-in (WINS_BASIC): Remove cedet.
16405 (WINS_CEDET): Add cedet.
16406 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16408 2009-10-02 Kevin Ryde <user42@zip.com.au>
16410 * net/browse-url.el (browse-url): Pass any symbol in
16411 browse-url-browser-function to `apply', since if you've mistakenly put
16412 an unbound symbol then the error is clearer. (Bug#4531)
16414 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16416 * allout.el (allout-init, allout-back-to-current-heading)
16417 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16418 (allout-ascend, allout-up-current-level, allout-end-of-level)
16419 (allout-previous-visible-heading, allout-forward-current-level)
16420 (allout-backward-current-level, allout-show-children):
16421 * apropos.el (apropos-describe-plist):
16422 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16423 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16424 * completion.el (add-completion, add-permanent-completion):
16425 * descr-text.el (describe-text-category, describe-char):
16426 * desktop.el (desktop-lazy-abort):
16427 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16428 * dired.el (dired-build-subdir-alist):
16429 * ediff.el (ediff-version):
16430 * elide-head.el (elide-head, elide-head-show):
16431 * emerge.el (emerge-version):
16433 * face-remap.el (variable-pitch-mode):
16434 * faces.el (describe-face):
16435 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16437 * files.el (find-file-existing, auto-save-mode):
16438 * font-lock.el (font-lock-fontify-buffer):
16439 * help-fns.el (describe-function, describe-variable)
16440 (describe-syntax, describe-categories):
16441 * help.el (view-lossage, describe-bindings, describe-key)
16443 * hexl.el (hexl-current-address):
16444 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16445 * info.el (Info-goto-emacs-key-command-node):
16446 * log-edit.el (log-edit-insert-cvs-template)
16447 (log-edit-insert-cvs-rcstemplate):
16448 * menu-bar.el (menu-bar-mode):
16449 * mouse.el (mouse-appearance-menu):
16450 * newcomment.el (comment-indent-new-line):
16451 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16452 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16453 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16454 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16455 * recentf.el (recentf-mode):
16456 * savehist.el (savehist-mode, savehist-save):
16457 * shadowfile.el (shadow-copy-files):
16458 * simple.el (kill-ring-save, next-line, previous-line)
16459 (normal-erase-is-backspace-mode):
16460 * strokes.el (strokes-update-window-configuration)
16461 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16462 (strokes-xpm-for-stroke):
16463 * time.el (emacs-uptime, emacs-init-time):
16464 * tutorial.el (tutorial--describe-nonstandard-key)
16465 (tutorial--detailed-help):
16466 * type-break.el (type-break-mode)
16467 (type-break-mode-line-message-mode, type-break-query-mode)
16468 (type-break-guesstimate-keystroke-threshold):
16469 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16470 * version.el (emacs-version):
16471 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16472 * winner.el (winner-mode):
16473 * calendar/timeclock.el (timeclock-in, timeclock-out)
16474 (timeclock-status-string, timeclock-change)
16475 (timeclock-workday-remaining-string)
16476 (timeclock-workday-elapsed-string)
16477 (timeclock-when-to-leave-string):
16478 * calendar/todo-mode.el (todo-add-category):
16479 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16480 * emacs-lisp/autoload.el (update-file-autoloads):
16481 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16482 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16483 (checkdoc-message-text, checkdoc-defun):
16484 * emacs-lisp/debug.el (debugger-list-functions):
16485 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16486 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16487 (eieio-describe-generic):
16488 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16489 * emacs-lisp/shadow.el (list-load-path-shadows):
16490 * emulation/cua-base.el (cua-mode):
16491 * emulation/edt.el (edt-set-scroll-margins):
16492 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16493 (tpu-toggle-regexp, tpu-toggle-search-direction)
16494 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16495 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16496 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16497 (viper-set-parsing-style-toggling-macro)
16498 (viper-set-emacs-state-searchstyle-macros):
16499 * emulation/viper.el (viper-set-hooks):
16500 * eshell/esh-mode.el (eshell-truncate-buffer):
16501 * international/mule-cmds.el (prefer-coding-system)
16502 (describe-input-method, describe-language-environment):
16503 * international/mule-diag.el (list-character-sets)
16504 (describe-character-set, describe-coding-system)
16505 (describe-fontset, list-fontsets, list-input-methods):
16506 * mail/sendmail.el (mail-signature):
16507 * net/ange-ftp.el (ange-ftp-copy-file):
16508 * net/browse-url.el (browse-url):
16509 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16510 * net/quickurl.el (quickurl-add-url):
16511 * net/rcirc.el (names, topic):
16512 * net/xesam.el (xesam-mode):
16513 * play/5x5.el (5x5-new-game):
16514 * play/yow.el (apropos-zippy):
16515 * progmodes/ada-mode.el (ada-mode-version):
16516 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16518 (f90-beginning-of-block):
16519 * progmodes/fortran.el (fortran-end-of-block)
16520 (fortran-beginning-of-block):
16521 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16522 * progmodes/python.el (python-describe-symbol, python-shell):
16523 * term/ns-win.el (ns-print-buffer):
16524 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16525 * textmodes/flyspell.el (flyspell-mode-on):
16526 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16527 (pages-directory-for-addresses):
16528 * textmodes/table.el (table-recognize-cell)
16529 (table-query-dimension, table-generate-source)
16530 (table-insert-sequence, table--warn-incompatibility):
16531 * textmodes/tex-mode.el (tex-validate-buffer):
16532 * textmodes/texinfmt.el (texinfmt-version)
16533 (texinfo-format-buffer):
16534 Use `called-interactively-p' instead of `interactive-p'.
16536 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16538 * image-mode.el (image-toggle-display):
16539 * emacs-lisp/elp.el (elp-instrument-function):
16540 * emacs-lisp/advice.el (ad-make-advised-definition):
16541 * emacs-lisp/easy-mmode.el (define-minor-mode):
16542 * net/browse-url.el (browse-url-maybe-new-window):
16543 * progmodes/sh-script.el (sh-learn-buffer-indent):
16544 Pass new argument 'any to `called-interactively-p'.
16546 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16548 * international/uni-bidi.el:
16549 * international/uni-category.el:
16550 * international/uni-combining.el:
16551 * international/uni-comment.el:
16552 * international/uni-decimal.el:
16553 * international/uni-decomposition.el:
16554 * international/uni-digit.el:
16555 * international/uni-lowercase.el:
16556 * international/uni-mirrored.el:
16557 * international/uni-name.el:
16558 * international/uni-numeric.el:
16559 * international/uni-old-name.el:
16560 * international/uni-titlecase.el:
16561 * international/uni-uppercase.el:
16562 Regenerate from Unicode 5.2.0 data.
16564 2009-10-01 Glenn Morris <rgm@gnu.org>
16566 * Makefile.in (ELCFILES): Regenerate.
16568 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16570 * subr.el (interactive-p): Mark obsolete.
16571 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16572 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16573 advertised-signature-table for subroutines as well.
16575 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16576 (set-advertised-calling-convention): New function.
16577 (make-obsolete, define-obsolete-function-alias)
16578 (make-obsolete-variable, define-obsolete-variable-alias):
16579 Make the optional-ness of `when' obsolete.
16580 (define-obsolete-face-alias): Make `when' non-optional.
16581 * help-fns.el (help-function-arglist):
16582 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16583 Use advertised-signature-table.
16585 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16587 * files.el (delete-directory): New defun. The original function
16588 in fileio.c has been renamed to `delete-directory-internal'.
16590 * dired.el (dired-delete-file): Call `delete-directory' with
16591 RECURSIVE parameter.
16593 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16594 parameter RECURSIVE. Implementation is missing.
16596 * net/tramp.el (tramp-handle-make-directory): Flush upper
16597 directory's file properties.
16598 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16599 (tramp-handle-dired-recursive-delete-directory): Flush directory
16600 properties after the remove command only.
16602 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16603 Handle optional parameter RECURSIVE.
16605 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16606 Handle optional parameter RECURSIVE.
16608 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16609 connection timeout.
16610 (tramp-smb-handle-delete-directory): Handle optional parameter
16613 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16615 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16616 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16617 (byte-compile-defmacro): Use backquotes.
16619 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16621 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16622 has no associated file.
16623 (vc-resynch-buffer): Use vc-dir-buffers.
16625 2009-10-01 Glenn Morris <rgm@gnu.org>
16627 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16628 (chart-file-count):
16629 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16630 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16631 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16632 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16633 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16634 (eieio-copy-parents-into-subclass, make-instance, class-children)
16635 (eieio-generic-form):
16637 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16638 match-data. (Bug#4555).
16640 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16641 rather than parsing it as a regexp. This relaxes the layout
16642 requirements and makes errors easier to detect.
16643 (check-declare-verify): Check file is regular.
16644 (check-declare-directory): Doc fix.
16645 * subr.el (declare-function): Doc fix.
16647 * ibuffer.el (ibuffer-format-qualifier):
16648 * isearch.el (hi-lock-regexp-okay):
16649 * calc/calc.el (math-zerop):
16650 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16651 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16652 Remove unused declarations.
16654 2009-09-30 Eric Ludlam <zappo@gnu.org>
16656 * emacs-lisp/eieio.el (boolean-p): Delete.
16658 2009-09-30 Glenn Morris <rgm@gnu.org>
16660 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16662 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16663 filename is not a string.
16665 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16667 * files.el (safe-local-eval-forms): Fix typo.
16669 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16671 * vc-hooks.el (vc-dir-buffers): New var.
16672 (vc-state-refresh): New function.
16673 (vc-state): Use it.
16674 (vc-after-save): Always ask the backend to recompute the new state.
16675 Always call vc-dir if necessary, using vc-dir-buffers.
16676 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16677 Use vc-dir-buffers.
16678 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16679 (vc-dir-prepare-status-buffer, vc-dir-update)
16680 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16681 Don't call expand-file-name on default-directory.
16683 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16685 * speedbar.el (speedbar-item-delete):
16686 * calc/calc-prog.el (calc-kbd-if):
16687 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16689 * epa.el (epa-key-list-mode-map):
16690 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16692 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16693 (hs-show-hook): Fix typo in docstring.
16695 2009-09-29 Glenn Morris <rgm@gnu.org>
16697 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16698 file-name-nondirectory call preventing location of cedet files.
16699 (check-declare-verify): Use literal search rather than re-search.
16700 Add basic defmethod and defclass, and define-overloadable-function.
16702 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16703 Use tramp-compat-file-attributes rather than nonexistent
16704 tramp-compat-handle-file-attributes.
16706 * Makefile.in (lisptagsfiles4): New.
16707 (AUTOGENEL): Add cedet loaddefs files.
16708 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16709 (update-elclist, compile-always, backup-compiled-files)
16710 (bootstrap-clean): Add yet another directory level.
16711 (update-elclist): Use LC_COLLATE rather than COLLATE.
16712 (ELCFILES): Update, via `make update-elclist'.
16714 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16716 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16717 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16718 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16720 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16722 * Makefile.in (lisptagsfiles3): Define.
16723 (TAGS, TAGS-LISP): Use it.
16724 (update-elclist): Add third directory level to look for elc files.
16725 (compile-always): Likewise.
16726 (backup-compiled-files): Likewise.
16727 (bootstrap-clean): Likewise.
16728 (ELCFILES): Update.
16730 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16732 * Makefile.in (ELCFILES): Add CEDET files.
16734 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16736 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16738 * net/tramp.el (top): Require tramp-imap.
16740 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16741 Use `tramp-compat-handle-file-attributes'.
16743 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16745 * net/tramp-imap.el: New package.
16747 2009-09-28 Eric Ludlam <zappo@gnu.org>
16749 * emacs-lisp/chart.el:
16750 * emacs-lisp/eieio-base.el:
16751 * emacs-lisp/eieio-comp.el:
16752 * emacs-lisp/eieio-custom.el:
16753 * emacs-lisp/eieio-datadebug.el:
16754 * emacs-lisp/eieio-opt.el:
16755 * emacs-lisp/eieio-speedbar.el:
16756 * emacs-lisp/eieio.el: New files.
16758 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16760 * whitespace.el (whitespace-trailing-regexp)
16761 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16764 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16766 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16769 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16770 menu-bar-ediff-menu.
16772 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16773 define-overloadable-function.
16775 * progmodes/autoconf.el: Provide autoconf as well, so that this
16776 file can be `require'd.
16778 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16780 * emacs-lisp/autoload.el (generated-autoload-feature)
16781 (generated-autoload-load-name): New vars.
16782 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16783 (make-autoload): Recognize define-overloadable-function and
16784 defclass forms (for EIEIO).
16786 * Makefile.in (update-subdirs): Exclude cedet directory.
16788 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16790 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16792 * faces.el: Default light-background background for region face to
16793 ns_selection_color under NS.
16795 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16797 * net/imap-hash.el: New library, see NEWS.
16799 * Makefile.in (ELCFILES): Add imap-hash.el.
16801 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16803 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16804 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16805 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16806 definition where the docstring could be taken for the return value.
16808 2009-09-26 Glenn Morris <rgm@gnu.org>
16810 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16811 Add option to only show images below a certain size.
16812 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16813 save-excursion calls.
16815 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16817 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16818 subdirectories) and eieio.
16820 2009-09-26 Alan Mackenzie <acm@muc.de>
16822 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16823 Correct buggy bracketing. (Bug#4289)
16825 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16826 character constants (as case labels). (Bug#4289)
16828 2009-09-25 Juri Linkov <juri@jurta.org>
16830 * files.el (safe-local-eval-forms): Allow time-stamp in
16831 before-save-hook (Bug#4554).
16833 2009-09-25 Drew Adams <drew.adams@oracle.com>
16835 * menu-bar.el (list-buffers-directory): Doc fix.
16837 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16839 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16840 Try and avoid copying twice the same paragraph.
16841 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16842 Remove save-excursion.
16843 (log-edit-changelog-entry): Do it here instead.
16845 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16847 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16848 when available, instead of hardcoding mode names. Doc fix.
16850 * menu-bar.el (list-buffers-directory): Add docstring.
16851 Make automatically buffer-local.
16853 * dired.el (dired-mode):
16854 * files.el (cd-absolute):
16855 * pcvs.el (cvs-temp-buffer):
16856 * pcvs-util.el (cvs-get-buffer-create):
16857 * shell.el (shell-mode):
16858 * vc-dir.el (vc-dir-mode):
16859 Don't make `list-buffers-directory' buffer local.
16861 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16863 * comint.el (comint-exec, comint-run, make-comint):
16864 Doc fixes (Bug#4542).
16866 2009-09-25 Glenn Morris <rgm@gnu.org>
16868 * mail/rmailmm.el (rmail-mime): New custom group.
16869 Move all defcustoms in this file into this group.
16870 (rmail-mime-media-type-handlers-alist): Revert previous change.
16871 (rmail-mime-show-images): New option.
16872 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16873 references to it, since it wasn't actually used for anything.
16874 (rmail-mime-insert-image): New function.
16875 (rmail-mime-image): Use rmail-mime-insert-image.
16876 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16877 obey the value of `rmail-mime-show-images' option. Print the size of
16880 2009-09-25 David Engster <deng@randomsample.de>
16882 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16884 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16886 * whitespace.el: Does not highlight trailing spaces While point is
16887 at end of line. Does not highligt spaces at beginning of buffer
16888 while point is at beginning of buffer. Does not highlight spaces
16889 at end of buffer while point is at end of buffer. (Bug#4177)
16891 (whitespace-display-mappings): Adjust initialization.
16892 (whitespace-point, whitespace-font-lock-refontify): New vars.
16893 (whitespace-color-on, whitespace-color-off): Adjust code.
16894 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16895 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16896 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16898 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16900 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16902 * textmodes/sgml-mode.el: Remove xml-mode alias.
16904 * files.el (auto-mode-alist, conf-mode-maybe)
16905 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16907 2009-09-24 Alan Mackenzie <acm@muc.de>
16909 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16910 c-forward-conditionals, but it doesn't move point and doesn't set
16912 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16913 (c-down-conditional-with-else, c-backward-conditional)
16914 (c-forward-conditional): Refactor to use c-scan-conditionals.
16916 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16918 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16919 (help-default-arg-highlight): Remove.
16920 (help-highlight-arg): New function.
16921 (help-do-arg-highlight): Use it.
16922 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16924 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16926 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16927 Undo last change, which didn't fix the problem and introduced others.
16929 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16931 * progmodes/gdb-mi.el: Don't require speedbar.
16932 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16934 2009-09-24 Glenn Morris <rgm@gnu.org>
16936 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16938 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16940 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16941 there is no newline after the final mime boundary. (Bug#4539)
16942 Move markers on insertion so that any buttons inserted don't end up in
16943 the next part of a multipart message.
16944 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16945 (rmail-mime-bulk-handler): Optionally handle images.
16946 (rmail-mime-image): New button action.
16947 (rmail-mime-image-handler): New function.
16948 (rmail-mime-mode): New mode.
16949 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16951 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16953 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16954 than just dropping elements from it (bug#4504).
16956 * term.el (term-set-scroll-region): Don't move cursor any more.
16957 (term-handle-ansi-escape): Call term-goto here instead.
16958 Suggested by Ivan Kanis <apple@kanis.eu>.
16960 * term.el: Require CL.
16961 (term-ansi-reset): New function.
16962 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16963 (term-handle-colors-array): Simplify.
16965 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16967 * allout.el (allout-overlay-interior-modification-handler)
16968 (allout-obtain-passphrase):
16969 * epa-file.el (epa-file-write-region):
16970 * ps-print.el (ps-begin-job):
16971 * vc-hooks.el (vc-toggle-read-only):
16972 * vc-rcs.el (vc-rcs-rollback):
16973 * vc-sccs.el (vc-sccs-rollback):
16974 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16975 (vc-version-diff, vc-revert, vc-rollback):
16976 * wdired.el (wdired-check-kill-buffer):
16977 * emacs-lisp/authors.el (authors):
16978 * net/socks.el (socks-open-connection):
16979 * net/zeroconf.el (zeroconf-service-add-hook):
16980 * obsolete/vc-mcvs.el (vc-mcvs-register):
16981 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16982 (gdb-select-frame):
16983 * progmodes/grep.el (lgrep, rgrep):
16984 * progmodes/idlw-help.el (idlwave-help-check-locations)
16985 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16986 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16987 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16988 (reftex-toc-rename-label): Fix typos in error messages.
16990 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16991 (dired-copy-how-to-fn): Doc fix.
16992 (dired-files-attributes, dired-read-shell-command):
16993 Fix typos in docstrings.
16995 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16996 (dired-x-find-file-other-window): Reflow docstrings.
16997 (dired-omit-marker-char, dired-read-shell-command)
16998 (dired-x-submit-report): Fix typos in docstrings.
17000 * shell.el (shell-mode-hook):
17001 * view.el (View-scroll-line-forward):
17002 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17003 Fix typos in docstrings.
17005 * net/dig.el (dig-invoke): Fix typo in docstring.
17006 (query-dig): Reflow docstring.
17008 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17009 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17010 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17011 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17012 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17013 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17014 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17015 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17016 (idlwave-completion-map, idlwave-current-indent)
17017 (idlwave-custom-ampersand-surround, idlwave-customize)
17018 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17019 (idlwave-define-abbrev, idlwave-determine-class-special)
17020 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17021 (idlwave-end-block-reg, idlwave-end-of-statement)
17022 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17023 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17024 (idlwave-explicit-class-listed, idlwave-file-header)
17025 (idlwave-fill-paragraph, idlwave-find-class-definition)
17026 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17027 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17028 (idlwave-in-quote, idlwave-indent-action-table)
17029 (idlwave-indent-expand-table, idlwave-indent-line)
17030 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17031 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17032 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17033 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17034 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17035 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17036 (idlwave-outlawed-buffers, idlwave-popup-select)
17037 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17038 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17039 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17040 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17041 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17042 (idlwave-statement-type, idlwave-struct-skip)
17043 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17044 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17045 (idlwave-what-module-find-class): Fix typos in docstrings.
17046 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17047 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17048 (idlwave-find-module, idlwave-find-structure-definition)
17049 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17050 (idlwave-list-load-path-shadows, idlwave-next-statement)
17051 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17052 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17053 (idlwave-template): Reflow docstrings.
17055 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17056 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17057 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17058 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17059 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17060 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17061 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17062 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17063 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17064 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17065 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17066 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17067 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17068 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17069 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17070 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17071 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17072 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17073 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17074 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17075 Fix typos in docstrings.
17076 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17077 (idlwave-shell-hide-output, idlwave-shell-mode)
17078 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17081 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17083 2009-09-24 Ivan Kanis <apple@kanis.eu>
17085 * term.el (term-bold-attribute): New var.
17086 (term-handle-colors-array): Use it.
17088 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17090 * progmodes/gdb-mi.el (gdb-version): New variable.
17091 (gdb-non-stop-handler): Set gdb-version.
17092 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17093 Condition "--thread" option on gdb-version.
17094 (gdb-invalidate-threads): Remove unused argument.
17096 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17099 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17101 2009-09-23 Glenn Morris <rgm@gnu.org>
17103 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17104 replying to mail without References or Message-Id. (Bug#4525)
17106 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17108 * term/ns-win.el (ns-reg-to-script): New variable.
17110 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17112 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17114 2009-09-22 Sam Steingold <sds@gnu.org>
17116 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17117 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17118 to 1 because hg returns status 1 when nothing is found.
17119 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17121 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17123 * textmodes/fill.el: Convert to utf-8 encoding.
17124 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17127 * add-log.el (change-log-fill-forward-paragraph): New function.
17128 (change-log-mode): Use it so fill-region DTRT.
17129 Set fill-indent-according-to-mode here rather than in
17130 change-log-fill-paragraph.
17131 (change-log-fill-paragraph): Remove.
17133 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17135 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17136 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17138 2009-09-22 Glenn Morris <rgm@gnu.org>
17140 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17141 the scroll-bar scroll the calendar window rather than the buffer.
17143 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17144 commands that move point (as opposed to scrolling).
17146 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17148 * emacs-lisp/elint.el (elint): New custom group.
17149 (elint-log-buffer): Make it a defcustom.
17150 (elint-scan-preloaded, elint-ignored-warnings)
17151 (elint-directory-skip-re): New options.
17152 (elint-builtin-variables): Doc fix.
17153 (elint-preloaded-env): New variable.
17154 (elint-unknown-builtin-args): Add an entry for encode-time.
17155 (elint-extra-errors): Make it a variable rather than a constant.
17156 (elint-preloaded-skip-re): New constant.
17157 (elint-directory): Skip files matching elint-directory-skip-re.
17158 (elint-features): New variable, local to linted buffers.
17159 (elint-update-env): Initialize elint-features. Possibly add
17160 elint-preloaded-env to the buffer's environment.
17161 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17163 (elint-init-form): New function, extracted from elint-init-env.
17164 Make non-list forms a warning rather than an error.
17165 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17166 easy-menu-define, put that adds an error-condition, and provide.
17167 When requiring cl, also require cl-macs. Really require cl, to handle
17168 some cl macros. Store required libraries in the list elint-features,
17169 so as not to re-load them. Treat cc-require like require.
17170 (elint-init-env): Call elint-init-form to do the work.
17171 Handle eval-and-compile and such like.
17172 (elint-add-required-env): Do not clear messages.
17173 (elint-special-forms): Add handlers for function, defalias, if, when,
17175 (elint-form): Add optional argument to ignore elint-special-forms,
17176 useful to prevent recursive calls from handlers. Doc fix.
17177 Respect elint-ignored-warnings.
17178 (elint-form): Respect elint-ignored-warnings.
17179 (elint-bound-variable, elint-bound-function): New variables.
17180 (elint-unbound-variable): Respect elint-bound-variable.
17181 (elint-get-args): Respect elint-bound-function.
17182 (elint-check-cond-form): Add some simple handling for (f)boundp and
17184 (elint-check-defalias-form): New handler.
17185 (elint-check-let-form): Make an empty let a warning rather than an
17187 (elint-check-setq-form): Make an empty setq a warning rather than an
17188 error. Respect elint-ignored-warnings.
17189 (elint-check-defvar-form): Accept null doc-strings.
17190 (elint-check-conditional-form): New handler. Does some simple-minded
17191 checking of featurep and (f)boundp tests.
17192 (elint-put-function-args): New function.
17193 (elint-initialize): Use elint-scan-doc-file rather than
17194 elint-find-builtin-variables. Use elint-put-function-args.
17195 Possibly scan preloaded-file-list.
17196 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17197 extend to handle functions as well.
17199 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17201 * linum.el (linum-delete-overlays, linum-update-window):
17202 Do not modify the right margin. (Bug#3971)
17204 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17206 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17207 Use nxml-mode instead of xml-mode.
17209 2009-09-21 Kevin Ryde <user42@zip.com.au>
17211 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17213 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17215 * net/dig.el (dig-mode): Use define-derived-mode.
17217 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17219 * vc-dispatcher.el (vc-do-command): Return the process object in
17220 the asynchronous case. Use when instead of if. Do not run
17221 vc-exec-after to display a message if not enabled. (Bug#4463)
17223 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17224 properties to the stash strings.
17225 (vc-git-stash-list): Return a list of strings.
17226 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17227 (vc-git-stash-show-at-point): New functions.
17228 (vc-git-stash-map): New keymap.
17230 * register.el (ctl-x-r-map): Define the keys here instead of
17233 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17235 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17236 list, to workaround performance problem (bug#4485).
17238 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17240 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17242 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17244 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17245 Document that this option is not recommended to use.
17247 2009-09-19 Glenn Morris <rgm@gnu.org>
17249 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17252 * calc/calc-alg.el (var):
17253 * calc/calcalg2.el (var): Define for compiler.
17255 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17257 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17258 Doc fix (Bug#3932).
17260 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17262 * time-stamp.el (time-stamp-month-dd-yyyy)
17263 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17264 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17265 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17266 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17267 Remove functions that have been obsolete since 1995 (Bug#4436).
17269 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17270 indent buffer only if called interactively (Bug#4452).
17272 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17273 Eli Zaretskii <eliz@gnu.org>
17275 This fixes bug#4197 (merged to bug#865, though not identical).
17276 * server.el (server-auth-dir): Add docstring note about FAT32.
17277 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17278 but warn against using them.
17280 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17282 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17283 older GDB where there is no has_more field.
17285 2009-09-19 Glenn Morris <rgm@gnu.org>
17287 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17289 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17291 * files.el (auto-mode-alist): Change default for XML files to nXML
17294 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17296 * server.el (server-ensure-safe-dir): Pass 'integer
17297 to `file-attributes', as suggested.
17299 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17301 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17302 (dired-query): Use read-key.
17304 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17306 * cus-start.el (ns-use-qd-smoothing): Remove.
17308 2009-09-18 Glenn Morris <rgm@gnu.org>
17310 * allout.el (top-level): Remove unnecessary progn.
17312 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17314 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17315 definition of abbrev table.
17317 * speedbar.el (speedbar-track-mouse):
17318 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17319 * net/eudc.el (eudc-expand-inline):
17320 * net/newst-backend.el (newsticker--cache-read-feed):
17321 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17322 condition-case handlers.
17324 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17326 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17327 (gdb-var-list): Add an element for has_more field.
17328 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17329 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17330 (gdb-var-update-handler-1): Parse output of dynamic variable
17331 objects (STL containers).
17332 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17333 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17335 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17337 (gud-speedbar-buttons): Make node expandable if expression "has more"
17340 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17342 * startup.el (emacs-quick-startup): Remove variable and all uses.
17343 (command-line): Set `inhibit-x-resources' instead.
17344 (command-line-1): Use `inhibit-x-resources' instead.
17346 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17348 * subr.el: Fix last change to avoid using the `unless' macro,
17349 which breaks bootstrapping.
17351 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17353 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17354 extended definitions, in case we reload subr.el after having
17356 (eval-next-after-load): Mark as obsolete.
17358 2009-09-17 Juri Linkov <juri@jurta.org>
17360 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17361 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17362 (menu-bar-showhide-menu, menu-bar-tools-menu)
17363 (menu-bar-describe-menu, menu-bar-help-menu)
17364 (minibuffer-local-completion-map, minibuffer-local-map):
17367 2009-09-17 Glenn Morris <rgm@gnu.org>
17369 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17370 arguments, whether or not it has a handler.
17372 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17374 * simple.el (hard-newline): Give it a doc-string.
17376 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17377 (lisp-mode-syntax-table): Give them doc-strings.
17379 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17381 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17382 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17383 (menu-bar-options-menu, menu-bar-showhide-menu)
17384 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17385 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17386 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17387 (menu-bar-options-menu, menu-bar-tools-menu)
17388 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17389 (menu-bar-help-menu):
17390 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17393 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17394 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17395 calls for the menu names and :help.
17397 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17399 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17400 to :minor-mode-function (bug#4455).
17402 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17404 * startup.el (command-line): Initialize the window-system after
17405 processing the command-line.
17407 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17408 page-delimiter matches the empty string.
17410 2009-09-16 Glenn Morris <rgm@gnu.org>
17412 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17413 byte-compile-not-obsolete-var. It's a list now.
17414 (byte-compile-not-obsolete-funcs): New variable.
17415 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17416 byte-compile-not-obsolete-funcs.
17417 (byte-compile-variable-ref, byte-compile-defvar): Update for
17418 byte-compile-not-obsolete-vars name-change and list nature.
17419 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17420 and variables behind (f)boundp tests.
17421 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17423 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17425 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17427 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17429 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17430 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17433 2009-09-15 Stephen Eglen <stephen@gnu.org>
17435 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17436 the virtual-buffers, use the name of the buffer specified by
17437 find-file-noselect, as the match may be a symlink. (This was a
17438 problem if the target and the symlink had different names.)
17440 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17442 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17444 * desktop.el (desktop-path): Check user-emacs-directory.
17446 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17448 * loadup.el: Use after-load-functions to GC after loading each file.
17449 Remove the explicit GC calls that used to be sprinkled around.
17451 * subr.el (after-load-functions): New hook.
17452 (do-after-load-evaluation): Run it. Use string-match-p to detect
17453 `obsolete' packages, rather than painfully extracting the relevant
17456 2009-09-15 Glenn Morris <rgm@gnu.org>
17458 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17459 free variable `doc'.
17461 * dired.el (dired-mode-map): Add menu entry for async shell command.
17463 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17464 variables, also consider the .elc files, since the .el files are
17465 normally gzipped (subsequent code locates the .el.gz from the .elc).
17467 * calc/calc-prog.el (arglist): Define for compiler.
17469 * calendar/diary-lib.el (diary-display-function): Change the default to
17471 (body): Define for compiler.
17473 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17474 (byte-compile-file-form, byte-compile-lambda)
17475 (byte-compile-top-level-body, byte-compile-form)
17476 (byte-compile-variable-ref, byte-compile-setq)
17477 (byte-compile-setq-default, byte-compile-body)
17478 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17479 (batch-byte-compile): Give some more local variables with common names
17480 a "bytecomp-" prefix to avoid masking warnings about free variables.
17482 * startup.el (command-line-1): Give local variables with common names a
17483 distinguishing prefix, so as not to hide free variable warnings during
17486 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17487 clever and add a suffix to make a unique name, just let the user decide
17488 whether or not to overwrite it. If the input is a directory, write the
17489 default filename to that directory. (Bug#4388)
17490 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17491 is a filename-as-a-directory.
17493 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17495 * textmodes/page.el (what-page): Don't move to beginning of line.
17496 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17498 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17500 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17502 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17504 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17505 * help.el (help-for-help-internal): Add purecopy calls for text.
17507 * vc.el (top): print-log method now takes an optional SHORTLOG
17508 argument. Add a new method: root.
17509 (vc-root-diff, vc-print-root-log): New functions.
17510 (vc-log-short-style): New variable.
17511 (vc-print-log-internal): Add support for showing short logs.
17513 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17514 vc-print-root-log and vc-print-root-diff.
17516 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17517 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17518 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17521 * vc-cvs.el (vc-cvs-print-log):
17522 * vc-mtn.el (vc-mtn-print-log):
17523 * vc-rcs.el (vc-rcs-print-log):
17524 * vc-sccs.el (vc-sccs-print-log):
17525 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17526 that is ignored for now.
17528 * vc-mtn.el (vc-mtn-annotate-command):
17529 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17531 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17533 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17534 to function-key-map, and give them ascii-character property.
17535 * term/x-win.el (x-alternatives-map):
17536 * term/ns-win.el (ns-alternatives-map):
17537 * term/internal.el (msdos-key-remapping-map):
17538 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17540 2009-09-14 Glenn Morris <rgm@gnu.org>
17542 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17543 temp-buffers (2009-09-12).
17545 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17547 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17548 the new read-key function.
17550 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17552 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17553 is defined (Bug#4405).
17555 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17557 * recentf.el (recentf-cleanup): Use a hash table to find
17558 duplicates (Bug#4407).
17560 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17562 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17563 kp-0 to ascii equivalents (Bug#4325).
17565 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17567 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17569 * eshell/em-hist.el:
17570 * eshell/em-dirs.el (eshell-complete-user-reference):
17571 Declare pcomplete functions and variables to avoid compiler warnings.
17573 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17575 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17576 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17577 * eshell/em-alias.el (eshell-aliases-file):
17578 * eshell/em-hist.el (eshell-history-file-name):
17579 Use expand-file-name instead of concat to make file names (Bug#4308).
17581 2009-09-13 Glenn Morris <rgm@gnu.org>
17583 * ediff-merg.el (ediff-do-merge):
17584 * filesets.el (filesets-run-cmd):
17585 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17586 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17587 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17588 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17589 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17590 Replace empty `let's with `progn'.
17592 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17594 * mail/sendmail.el (send-mail-function):
17595 * tooltip.el (tooltip-mode):
17596 * simple.el (transient-mark-mode):
17597 * rfn-eshadow.el (file-name-shadow-mode):
17598 * frame.el (blink-cursor-mode):
17599 * font-core.el (global-font-lock-mode):
17600 * files.el (temporary-file-directory)
17601 (small-temporary-file-directory, auto-save-file-name-transforms):
17602 * epa-hook.el (auto-encryption-mode):
17603 * composite.el (global-auto-composition-mode):
17604 Use custom-initialize-delay.
17605 * startup.el (command-line): Don't explicitly call
17606 custom-reevaluate-setting for all the above vars.
17607 * custom.el (custom-initialize-safe-set)
17608 (custom-initialize-safe-default): Delete.
17610 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17612 * term/x-win.el (x-initialize-window-system):
17613 * term/w32-win.el (w32-initialize-window-system):
17614 * term/ns-win.el (ns-initialize-window-system): Don't call
17615 mouse-wheel-mode since it's enabled globally by default already.
17617 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17618 actually define the variable, but only silences the byte-compiler.
17619 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17620 before looking it up.
17621 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17624 2009-09-12 Glenn Morris <rgm@gnu.org>
17626 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17628 (elint-add-required-env): Don't beep on error.
17629 (elint-forms): In case of error, return ENV unchanged.
17630 (elint-init-env): Skip non-list forms.
17631 (elint-log): Handle unknown file positions.
17633 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17635 * epg.el (epg-make-context): Add autoload cookie.
17636 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17637 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17638 (epg-verify-string, epg-start-sign, epg-sign-file)
17639 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17640 (epg-encrypt-string, epg-start-export-keys)
17641 (epg-export-keys-to-file, epg-export-keys-to-string)
17642 (epg-start-import-keys, epg-import-keys-from-file)
17643 (epg-import-keys-from-string, epg-start-receive-keys)
17644 (epg-receive-keys, epg-import-keys-from-server)
17645 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17646 (epg-sign-keys, epg-start-generate-key)
17647 (epg-generate-key-from-file, epg-generate-key-from-string):
17648 Remove autoload cookie.
17650 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17652 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17653 reevaluation of trash-directory.
17655 * mwheel.el: Fix last change.
17656 (mouse-wheel-mode): New defvar.
17657 (mouse-wheel-mode): Remove autoload cookie.
17659 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17661 * mwheel.el (mwheel-installed-bindings): New var.
17662 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17663 the bindings we set last time. Use custom-initialize-delay.
17664 * loadup.el: Load mwheel after term/*-win.el.
17665 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17666 and mouse-wheel-up-event now that their first evaluation is done
17667 sufficiently late to be correct.
17669 * startup.el (tutorial-directory): Make it a defcustom.
17670 Use custom-initialize-delay rather than eval-at-startup to set it.
17671 * image.el (image-load-path): Make it a defcustom.
17672 Use custom-initialize-delay rather than eval-at-startup to set it.
17673 * subr.el (eval-at-startup): Remove.
17674 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17676 * subr.el (do-after-load-evaluation): Warn the user after loading an
17679 2009-09-12 Glenn Morris <rgm@gnu.org>
17681 * proced.el (proced-mark-alt): Remove alias.
17682 (proced-mode-map): Remove proced-mark-alt.
17684 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17685 Elint file and directory. Remove initialization entry.
17687 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17689 (elint-current-buffer): Set mode-line-process.
17690 (elint-init-env): Handle define-derived-mode.
17691 Fix declare-function with unspecified arglist. Guard against odd
17692 defalias statements (eg iso-insert's 8859-1-map).
17693 (elint-add-required-env): Use a temp buffer.
17694 (elint-form): Just print the function/macro name, not the whole form.
17695 Return env unchanged if we fail to parse a macro.
17696 (elint-forms): Guard against parse errors.
17697 (elint-output): New function, to handle batch mode.
17698 (elint-log-message): Add optional argument. Use elint-output.
17699 (elint-set-mode-line): New function.
17701 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17703 * emacs-lisp/elp.el (elp-not-profilable): Add more
17704 functions (Bug#4233).
17706 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17708 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17709 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17711 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17713 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17714 (gdb-var-list-children): Use json parsing.
17716 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17718 * progmodes/js.el (js--proper-indentation): Handle the case where
17719 char-before is null. Reported by Deniz Dogan.
17721 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17723 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17725 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17727 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17728 (epg-digest-algorithm-alist): Add SHA224.
17729 (epg-context-set-passphrase-callback)
17730 (epg-context-set-progress-callback): Add description about
17733 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17735 * custom.el (custom-delayed-init-variables): New var.
17736 (custom-initialize-delay): New function.
17737 * startup.el (command-line): "Re"evaluate all vars in
17738 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17739 explicitly any more.
17740 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17741 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17743 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17745 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17747 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17748 (gdb-var-update-handler): Use json parsing.
17750 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17752 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17753 decode annotated text, regardless of language environment. (Bug#2741)
17755 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17757 * Makefile.in (autoloads): Make rmail.el writable as well.
17759 2009-09-11 Glenn Morris <rgm@gnu.org>
17761 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17763 * dired.el: Regenerate with extracted autoloads.
17764 * Makefile.in (autoloads): Make dired.el writable.
17766 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17767 * ibuffer.el: Regenerate with extracted autoloads.
17768 * Makefile.in (autoloads): Make ibuffer.el writable.
17770 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17771 * version.el (emacs-copyright, emacs-major-version)
17772 (emacs-minor-version): Reformat doc-strings for make-docfile.
17774 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17775 functions and variables, since they must be stuff specific to some other
17777 (apropos-print): Make mouse-click message less specific about button.
17779 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17780 that records where a macro was defined.
17781 * help-fns.el (describe-function-1): Mention if a function has a
17783 * help-mode.el (help-function-cmacro): New button.
17785 * locate.el (top-level): Always require dired.
17786 (locate-mode-map): Initialize inside the defvar.
17788 * net/ange-ftp.el (dired-compress-file): Declare.
17789 (ange-ftp-dired-compress-file): Add doc string.
17791 * term/ns-win.el (x-display-name, x-setup-function-keys):
17792 Unify doc-strings with X versions.
17794 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17796 * emulation/crisp.el (crisp-mode-map): Move initialization
17798 (crisp-mode): Use define-minor-mode.
17800 * progmodes/xscheme.el (xscheme-evaluation-commands):
17801 Put a :advertised-binding property rather than using
17802 advertised-xscheme-send-previous-expression.
17803 (advertised-xscheme-send-previous-expression): Declare obsolete.
17804 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17806 (crisp-mode): Add corresponding bindings to
17807 undo's :advertised-binding instead.
17808 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17809 than using dired-advertised-find-file.
17810 (dired-advertised-find-file):
17811 * simple.el (advertised-undo):
17812 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17813 (widget-keymap): Put a :advertised-binding property rather
17814 than using advertised-widget-backward.
17815 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17816 than using advertised-undo.
17817 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17819 2009-09-10 Simon South <ssouth@slowcomputing.org>
17821 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17822 Mark mode is enabled and region is active; otherwise indent or
17823 insert TAB as usual.
17824 (delphi-mode): Update description of TAB-key binding.
17826 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17828 * subr.el (define-key-rebound-commands): Mark obsolete.
17829 * startup.el (precompute-menubar-bindings): Remove.
17830 (normal-top-level): Remove obsolete code that tried to precompute
17832 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17833 define-key-rebound-commands and precompute-menubar-bindings.
17835 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17837 * net/imap.el (imap-interactive-login): Better messages.
17838 (imap-open): Fix bug with renamed buffer on reconnect.
17839 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17840 for easier debugging and cleaner code. On successful (guessed based on
17841 server capabilities) secondary authentication, set imap-state
17843 (imap-last-authenticator): Define imap-last-authenticator as a variable
17846 2009-09-10 Glenn Morris <rgm@gnu.org>
17848 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17850 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17851 (byte-compile-file-form-autoload): Don't warn about unknown functions
17852 where the autoload statement comes after the use.
17853 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17854 that any handlers inside the body (eg require) are in turn respected.
17856 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17859 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17860 and syntax and abbrev tables basic docs, if they don't have any.
17862 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17864 * international/mule-cmds.el (top-level): Require cl when compiling.
17865 (view-hello-file): Use default-value rather than
17866 default-enable-multibyte-characters.
17868 * progmodes/fortran.el: Move all safe and risky properties into the
17871 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17872 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17873 * mail/undigest.el:
17874 Put autoloads in rmail.el rather than loaddefs.el.
17875 * mail/rmail.el: Regenerate with extracted autoloads.
17877 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17878 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17880 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17882 Reported in thread for Bug#4375.
17883 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17884 "-data-evaluate-expression" instead of print.
17885 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17886 (gdb-tooltip-print): Parse output from above MI command.
17887 (gdb): Revert 2009-08-11 change. User should detach inferior
17890 Remove the word "separate" from IO functions as inferior
17891 output is now never displayed in the GUD buffer.
17893 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17895 * startup.el (command-line-normalize-file-name): On Windows and
17896 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17898 2009-09-10 Juri Linkov <juri@jurta.org>
17900 * isearch.el (isearch-text-char-description): Propertize escape
17901 character sequences with the `escape-glyph' face. (Bug#4344)
17903 * simple.el (shell-command): Set asynchronous process filter to
17904 `comint-output-filter'. (Bug#4343)
17906 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17907 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17908 the list. Move "asm" to the bottom.
17909 (grep-find-ignored-directories): Add `choice' with nil value
17910 to empty the list easily.
17911 (grep-find-ignored-files): New option.
17912 (grep-files-history): Set to nil by default instead of '("ch" "el").
17913 (grep-compute-defaults): Add "<X>" to `grep-template'.
17914 (grep-read-files): Bind new local variables `default-alias' and
17915 `default-extension'. Use a list of default values for the file prompt.
17916 (lgrep): Add `--exclude=' command line options composed from
17917 `grep-find-ignored-files'.
17918 (rgrep): Add `-name' command line options composed from
17919 `grep-find-ignored-files'. (Bug#4301)
17921 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17923 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17926 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17928 * calendar/time-date.el (autoload):
17929 Expand define-obsolete-function-alias into defalias and make-obsolete
17930 for old Emacsen that Gnus supports.
17931 (with-no-warnings): Define it for old Emacsen.
17932 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17934 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17935 float-time is available; suppress compile warning for time-to-seconds.
17937 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17939 * net/imap.el (imap-message-map): Docstring fix.
17941 2009-09-09 Glenn Morris <rgm@gnu.org>
17943 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17944 line numbers too. (Bug#4374)
17946 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17948 * smerge-mode.el (smerge-remove-props, smerge-refine):
17949 Use with-silent-modifications (bug#4342).
17951 * subr.el (with-silent-modifications): New macro.
17953 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17955 * files.el (top-level): Require `cl' when compiling.
17957 2009-09-07 Glenn Morris <rgm@gnu.org>
17959 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17961 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17962 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17964 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17966 * vc-git.el (vc-git-annotate-command): Use separator to parse
17967 arguments correctly.
17969 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17971 * proced.el (proced-mode): Doc fix.
17973 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17975 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17977 (tramp-do-file-attributes-with-ls): Check for file existence at
17979 (tramp-do-file-attributes-with-stat): Likewise.
17980 (tramp-convert-file-attributes): Return nil when attr is nil.
17982 2009-09-05 Glenn Morris <rgm@gnu.org>
17984 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17985 properties to this button.
17986 (diary-fancy-display): Don't extend the button to the final newline.
17987 (diary-fancy-display-mode): Continue to define "q" as a local key.
17989 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17992 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17994 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17995 (byte-compile-dest-file-function): New option.
17996 (byte-compile-dest-file): Doc fix.
17997 Obey byte-compile-dest-file-function.
17998 (byte-compile-cl-file-p): New function.
17999 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18000 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18001 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18002 than for file being previously loaded.
18003 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18004 (byte-compile-file-form-require): Handle the case where requiring a file
18005 indirectly causes CL to be loaded.
18007 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18009 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18010 before killing the old buffer, since by the time `kill-buffer' is
18011 run so many buffer variables have been set to nil that it may not
18012 behave as expected. (Bug#4061)
18014 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18016 * files.el (find-alternate-file): If the old buffer is modified
18017 and visiting a file, behave similarly to `kill-buffer' when
18018 killing it, thus reverting to the pre-1.878 behavior; see
18019 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18020 for discussion. Also, consult `buffer-file-name' as a variable
18021 not as a function, for consistency with the rest of the code.
18023 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18025 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18026 also when adding a new directory.
18028 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18031 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18033 * files.el (locate-file-completion-table): Make it provide boundary
18034 information, so partial-completion works better.
18036 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18038 * mail/footnote.el (Footnote-text-under-cursor):
18039 Check footnote-text-marker-alist before using it (bug#4324).
18041 2009-09-04 Glenn Morris <rgm@gnu.org>
18043 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18044 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18045 * play/solitaire.el, play/tetris.el:
18046 Remove leading * from defcustom and defface docs.
18048 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18050 (diary-fancy-overriding-map): New variable.
18051 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18054 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18057 2009-09-03 Glenn Morris <rgm@gnu.org>
18059 * arc-mode.el (archive-mode):
18060 * dos-fns.el (set-default-process-coding-system):
18061 * man.el (Man-getpage-in-background):
18062 * menu-bar.el (menu-bar-describe-menu):
18063 * server.el (server-process-filter):
18064 * startup.el (command-line):
18065 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18066 * w32-fns.el (set-default-process-coding-system):
18067 * x-dnd.el (x-dnd-handle-file-name):
18068 * international/mule-cmds.el (mule-menu-keymap)
18069 (set-default-coding-systems, language-info-alist, set-language-info)
18070 (set-language-environment, standard-display-european-internal)
18071 (set-locale-environment):
18072 * international/mule-diag.el (mule-diag):
18073 * mail/emacsbug.el (report-emacs-bug):
18074 * mail/rmail.el (rmail-mode):
18075 * mail/sendmail.el (mail-setup):
18076 Use default-value rather than default-enable-multibyte-characters.
18078 * progmodes/f90.el: Move all safe properties into the defcustoms.
18079 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18081 * calendar/appt.el (appt-check):
18082 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18083 (diary-check-diary-file, diary-list-entries)
18084 (diary-include-other-diary-files, diary-simple-display)
18085 (diary-fancy-display, diary-print-entries)
18086 (diary-mark-included-diary-files, diary-make-entry):
18087 Don't call substitute-in-file-name on diary-file.
18089 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18090 Stefan Monnier <monnier@iro.umontreal.ca>
18092 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18093 (footnote-mode-map): Move initialization into the declaration.
18094 (footnote-minor-mode-map): Define it rather than changing global-map.
18095 (footnote-mode): Use define-minor-mode.
18097 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18099 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18100 (tramp-do-file-attributes-with-perl)
18101 (tramp-do-file-attributes-with-stat): Rename from
18102 `tramp-handle-file-attributes-with-*'.
18103 (tramp-handle-file-attributes): Use them.
18104 (tramp-do-directory-files-and-attributes-with-perl)
18105 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18106 `tramp-handle-directory-files-and-attributes-with-*'.
18107 (tramp-handle-directory-files-and-attributes): Use them.
18108 (tramp-method-out-of-band-p): Additional parameter SIZE.
18109 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18110 (tramp-handle-write-region): Use it.
18111 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18112 (tramp-handle-vc-registered): Check, whether the first run did
18113 return files to be tested.
18114 (tramp-advice-make-auto-save-file-name): Do not call directly
18115 `tramp-handle-make-auto-save-file-name', because this would bypass
18116 the locking mechanism.
18118 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18119 (file-remote-p, process-file, start-file-process, set-file-times)
18120 (tramp-compat-file-attributes): Compatibility functions shall not
18121 call directly `tramp-handle-*', because this would bypass the
18123 (tramp-compat-number-sequence): New defun.
18125 2009-09-02 Glenn Morris <rgm@gnu.org>
18127 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18128 alias for float-time.
18129 (time-to-number-of-days): In Emacs, use float-time.
18130 * net/newst-backend.el (time-add): Suppress warnings from compat
18132 * time.el (emacs-uptime, emacs-init-time):
18133 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18134 Use float-time rather than time-to-seconds.
18136 * minibuffer.el (completion-initials-expand): Fix typo.
18138 * faces.el (modeline, modeline-inactive, modeline-highlight)
18139 (modeline-buffer-id):
18140 * info.el (info-menu-5): Mark these face aliases as obsolete.
18142 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18144 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18146 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18147 no "--thread" option.
18148 (gdb-stopped): Don't print "Switched to thread" message when it is
18151 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18153 * minibuffer.el (completion-try-completion)
18154 (completion-all-completions): Remove ill-defined (and
18155 mistakenly installed and luckily never used nor documented)
18156 `completion-styles' property.
18157 (completion-initials-expand, completion-initials-all-completions)
18158 (completion-initials-try-completion): New functions.
18159 (completion-styles-alist): Add doc to each entry.
18160 Add new `initials' entry.
18162 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18164 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18165 MI command -var-evaluate-expression.
18166 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18167 and tweak for case of string child.
18168 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18170 2009-09-01 Glenn Morris <rgm@gnu.org>
18172 * add-log.el (change-log-date-face, change-log-name-face)
18173 (change-log-email-face, change-log-file-face, change-log-list-face)
18174 (change-log-conditionals-face, change-log-function-face)
18175 (change-log-acknowledgement-face):
18176 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18177 (custom-modified-face, custom-set-face, custom-changed-face)
18178 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18179 (custom-documentation-face, custom-state-face, custom-comment-face)
18180 (custom-comment-tag-face, custom-variable-tag-face)
18181 (custom-variable-button-face, custom-face-tag-face)
18182 (custom-group-tag-face-1, custom-group-tag-face):
18183 * diff-mode.el (diff-header-face, diff-file-header-face)
18184 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18185 (diff-added-face, diff-changed-face, diff-function-face)
18186 (diff-context-face, diff-nonexistent-face):
18187 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18188 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18189 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18190 (Info-title-4-face):
18191 * isearch.el (isearch-lazy-highlight-face):
18192 * log-view.el (log-view-file-face, log-view-message-face):
18193 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18194 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18195 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18197 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18198 (smerge-base-face, smerge-markers-face):
18199 * wid-edit.el (widget-documentation-face, widget-button-face)
18200 (widget-field-face, widget-single-line-field-face)
18201 (widget-inactive-face, widget-button-pressed-face):
18202 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18203 (woman-addition-face):
18204 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18205 (eshell-ls-executable-face, eshell-ls-readonly-face)
18206 (eshell-ls-unreadable-face, eshell-ls-special-face)
18207 (eshell-ls-missing-face, eshell-ls-archive-face)
18208 (eshell-ls-backup-face, eshell-ls-product-face)
18209 (eshell-ls-clutter-face):
18210 * eshell/em-prompt.el (eshell-prompt-face):
18211 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18212 * obsolete/old-whitespace.el (whitespace-highlight-face):
18213 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18214 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18215 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18216 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18217 (antlr-font-lock-literal-face):
18218 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18219 (ebrowse-root-class-face, ebrowse-file-name-face)
18220 (ebrowse-default-face, ebrowse-member-attribute-face)
18221 (ebrowse-member-class-face, ebrowse-progress-face):
18222 * progmodes/make-mode.el (makefile-space-face):
18223 * progmodes/sh-script.el (sh-heredoc-face):
18224 * textmodes/flyspell.el (flyspell-incorrect-face)
18225 (flyspell-duplicate-face):
18226 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18227 * textmodes/texinfo.el (texinfo-heading-face):
18228 Mark face aliases with "-face" suffix as obsolete.
18230 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18233 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18234 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18235 easy-menu-define wants to modify these.
18237 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18239 * net/browse-url.el (browse-url-file-url):
18240 * term/internal.el (dos-codepage-setup):
18241 Use default-value rather than default-enable-multibyte-characters.
18243 * progmodes/etags.el (etags-goto-tag-location):
18244 * progmodes/flymake.el (flymake-highlight-line)
18245 (flymake-goto-file-and-line, flymake-goto-line):
18246 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18247 (gdb-goto-breakpoint):
18248 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18249 * progmodes/python.el (python-find-function)
18250 (python-pdbtrack-track-stack-file):
18251 * progmodes/verilog-mode.el (verilog-surelint-off):
18252 * term/ns-win.el (ns-open-file-select-line):
18253 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18254 Use forward-line rather than goto-line.
18256 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18257 * textmodes/reftex-index.el (reftex-display-index):
18258 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18259 * textmodes/reftex-toc.el (reftex-toc):
18260 Remove unnecessary bindings of default-major-mode (all are followed by
18261 major-mode check and possible mode switch).
18263 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18265 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18266 Handle watchpoints (bug#4282).
18267 (def-gdb-thread-buffer-command): Enable thread to be selected by
18268 clicking without selecting threads buffer first.
18269 (gdb-current-context-command): Use selected frame so that "up",
18270 "down" etc work in the GUD buffer.
18271 (gdb-update): Find selected frame before rendering stack buffer.
18272 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18274 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18276 * progmodes/sym-comp.el (displayed-completions): Remove.
18277 (symbol-complete): Use minibuffer-complete.
18279 2009-08-31 Glenn Morris <rgm@gnu.org>
18281 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18283 * apropos.el (apropos-symbols-internal):
18284 Handle (obsolete) face aliases.
18286 * faces.el (describe-face): Adjust the output format to be more like
18287 describe-variable, and to mention (obsolete) face aliases.
18288 Adjust the whitespace so that help-setup-xref works.
18290 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18291 * calendar/diary-lib.el (diary-button-face):
18292 Mark these face aliases as obsolete.
18294 * calendar/calendar.el (calendar-today): Doc fix.
18296 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18298 * progmodes/gdb-mi.el (gdb-control-all-threads)
18299 (gdb-control-current-thread): Force tool bar update.
18300 (gdb-non-stop-handler): New function.
18301 (gdb-init-1): Use it to test if non-stop mode is supported.
18302 Remove unused gdbmi buffer type.
18304 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18306 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18307 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18309 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18311 * comint.el (comint-exec-1): Check command is non-null first.
18312 Part of gdb-mi.el change (2009-08-28).
18314 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18316 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18318 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18320 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18321 instead of `dolist' to avoid a recursive require when bootstrapping.
18323 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18325 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18327 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18329 * net/imap.el (imap-send-command): Simplify.
18330 (imap-wait-for-tag): point-max -> buffer-size.
18332 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18334 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18335 with constant argument.
18337 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18339 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18341 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18342 Change default, since most of our files don't have a history.
18343 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18346 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18349 * calc/calc.el: Improve commenting convention.
18350 (calc-digit-map, toplevel): Simplify.
18352 * comint.el (comint-insert-input): Be careful to only set point if we
18353 don't delegate to some other command.
18355 * proced.el (proced-signal-list): Make it an alist.
18356 (proced-grammar-alist): Capitalize names.
18357 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18358 Disable undo manually and make it read-only.
18359 Use completion-annotate-function.
18361 * minibuffer.el (minibuffer-message): If the current buffer is not
18362 a minibuffer, insert the message in the echo area rather than at the
18364 (completion-annotate-function): New variable.
18365 (minibuffer-completion-help): Use it.
18366 (completion--embedded-envvar-table): Environment vars are
18367 always case-sensitive.
18369 2009-08-30 Glenn Morris <rgm@gnu.org>
18371 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18372 from fortran-current-defun.
18373 (fortran-beginning-of-subprogram): Be more precise about finding the
18374 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18375 (fortran-end-of-subprogram): Simplify.
18376 (fortran-current-defun): Use fortran-start-prog-re.
18378 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18380 * subr.el (do-after-load-evaluation): Simplify.
18382 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18384 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18386 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18387 (vc-rcs-print-log): Use it.
18389 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18391 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18393 * paths.el (abbrev-file-name): Move to abbrev.el.
18394 * abbrev.el (abbrev-file-name): Move from paths.el.
18395 Obey user-emacs-directory.
18396 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18397 user-emacs-directory.
18398 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18399 abbrev-file-name and calc-settings-file any more.
18400 * startup.el (command-line): Recompute abbrev-file-name and
18401 abbreviated-home-dir.
18402 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18403 of the special code for when C-h bindings haven't been changed.
18404 (display-startup-echo-area-message): Use with-current-buffer.
18405 (command-line-1): Use a list of strings, rather than a list of lists
18406 of strings for longopts.
18408 * files.el (get-free-disk-space): Use / for default-directory.
18410 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18411 Use with-current-buffer.
18413 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18414 Recognize immutable variables like most-positive-fixnum.
18415 (byte-compile-setq-default): Check and warn if trying to assign
18416 to an immutable variable, or a non-variable.
18418 * progmodes/cc-vars.el (c-comment-continuation-stars):
18419 * progmodes/cc-engine.el (c-looking-at-bos):
18420 * progmodes/cc-cmds.el (c-toggle-auto-state)
18421 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18422 (c-comment-line-break-function): Add version of obsolescence.
18424 2009-08-28 Juri Linkov <juri@jurta.org>
18426 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18427 associated with `archive-mode'.
18429 * image.el (image-type-header-regexps): Use only JPEG magic number
18430 to determine JPEG images, and don't use `image-jpeg-p' because
18431 Emacs can display non-JFIF non-Exif JPEG images.
18433 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18435 * arc-mode.el (archive-mode):
18436 * emacs-lisp/re-builder.el (re-builder-unload-function):
18437 Protect against the default value of `major-mode' being nil.
18439 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18441 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18442 Fix typos in docstrings.
18444 * progmodes/js.el (js--macro-decl-re): Doc fix.
18445 (js--plain-method-re, js--split-name): Refloc docstring.
18446 (js--class-styles, js--make-merged-item, js--splice-into-items):
18447 Fix typos in docstrings; reflow docstrings.
18448 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18449 (js--variable-decl-matcher, js--inside-pitem-p)
18450 (js--parse-state-at-point, js--get-all-known-symbols)
18451 (js--symbol-history, js-find-symbol, js--js-references)
18452 (js--moz-interactor, js--js-encode-value, js--read-tab):
18453 Fix typos in docstrings.
18455 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18457 * textmodes/reftex.el (reftex-get-file-buffer-force):
18458 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18459 * emulation/viper.el (viper-go-away, viper-set-hooks):
18460 * emacs-lisp/re-builder.el (re-builder-unload-function):
18461 * emacs-lisp/bytecomp.el (byte-compile-file):
18462 * ses.el (ses-unload-function):
18463 * hexl.el (hexl-find-file):
18464 * files.el (normal-mode):
18465 * ehelp.el (with-electric-help):
18466 * autoinsert.el (auto-insert-alist):
18467 * arc-mode.el (archive-mode):
18468 Use (default-value 'major-mode) instead of default-major-mode.
18470 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18471 * international/mule.el (load-with-code-conversion):
18472 * emacs-lisp/debug.el (debug):
18473 * ediff-vers.el (ediff-rcs-get-output-buffer):
18474 * dired.el (dired-internal-noselect): Don't let-bind
18475 default-major-mode around code that doesn't use it.
18476 E.g. buffer creation via get-buffer-create doesn't use it.
18478 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18480 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18481 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18482 when writing the temp file. Otherwise, epa-file gets confused.
18483 (tramp-register-file-name-handlers): Make it a defun. Move also
18484 `epa-file-handler' to the front of `file-name-handler-alist'.
18486 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18488 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18489 start right after a ^M.
18490 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18491 (tramp-completion-file-name-regexp-separate)
18492 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18493 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18494 Don't modify last-coding-system-used by accident.
18495 (tramp-completion-file-name-handler): Apply the checks here,
18496 instead during registration.
18497 (tramp-register-file-name-handlers): Rename from
18498 `tramp-register-file-name-handler'. Register both
18499 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18500 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18502 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18504 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18505 Remove variable ...
18506 (gdb-init-1, gdb-display-separate-io-buffer)
18507 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18509 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18510 (gdb-inferior-filter): Use comint-output-filter to stop
18511 echoing and remove ^M characters.
18513 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18515 * emulation/viper-init.el (viper-restore-cursor-type):
18516 * emulation/cua-base.el (cua--update-indications):
18517 Replace default-cursor-type with (default-value 'cursor-type).
18519 * mail/sendmail.el (mail-recover-1):
18520 * international/mule-diag.el (describe-current-coding-system-briefly)
18521 (describe-current-coding-system):
18522 * international/mule-cmds.el (select-safe-coding-system)
18523 (select-message-coding-system)
18524 (set-language-environment-coding-systems, set-locale-environment):
18525 * hexl.el (hexl-insert-multibyte-char):
18526 * dos-w32.el (find-buffer-file-type-coding-system):
18527 * simple.el (what-cursor-position):
18528 Replace uses of default-buffer-file-coding-system
18529 with (default-value 'buffer-file-coding-system).
18531 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18532 Replace uses of default-cursor-in-non-selected-windows
18533 with (default-value 'cursor-in-non-selected-windows).
18534 Use with-current-buffer.
18536 * mail/feedmail.el: Use CL macros.
18537 (feedmail-run-the-queue, feedmail-send-it-immediately):
18538 * dos-w32.el (find-buffer-file-type): Replace uses of
18539 default-buffer-file-type with (default-value 'buffer-file-type).
18541 2009-08-28 Glenn Morris <rgm@gnu.org>
18543 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18544 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18545 Use default-value of major-mode rather than default-major-mode.
18547 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18549 * Makefile.in (update-elcfiles): Report left over elc files.
18551 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18552 expand-file-name and with-current-buffer.
18553 (mail-get-names, mail-directory): Use with-current-buffer.
18555 * vc.el (vc-read-revision): New function.
18556 (vc-version-diff, vc-merge): Use it.
18558 2009-08-27 Sam Steingold <sds@gnu.org>
18560 * simple.el (kill-do-not-save-duplicates): New user option.
18561 (kill-new): When it is non-nil, and the new string is the same as
18562 the latest kill, set replace to t to avoid duplicates in kill-ring.
18564 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18566 * net/tramp.el (tramp-handle-process-file): Do not flush all
18567 caches when `process-file-side-effects' is set.
18568 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18569 instead of `tramp-find-file-exists-command'.
18570 Unset `process-file-side-effects'.
18572 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18574 * net/tramp.el (tramp-methods): New method "rsyncc".
18575 (top): Add completion function for "rsyncc".
18576 (tramp-message-show-message): New defvar.
18577 (tramp-message, tramp-error): Use it.
18578 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18580 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18581 `tramp-methods' entry `copy-env' of "rsyncc".
18582 (tramp-vc-registered-read-file-names): New defconst.
18583 (tramp-vc-registered-file-names): New defvar.
18584 (tramp-handle-vc-registered): Implement optimization strategy.
18585 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18586 (tramp-vc-file-name-handler): New defun.
18587 (tramp-get-ls-command, tramp-get-test-command)
18588 (tramp-get-file-exists-command, tramp-get-remote-ln)
18589 (tramp-get-remote-perl, tramp-get-remote-stat)
18590 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18592 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18593 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18595 (tramp-get-file-property): Check for timestamps in
18596 `tramp-cache-inhibit-cache'.
18597 (tramp-set-file-property): Write timestamp.
18599 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18601 * language/japan-util.el (japanese-symbol-table): Add entries for
18604 * international/characters.el: Add category `j' to cp932-2-byte.
18606 2009-08-27 Kenichi Handa <handa@m17n.org>
18608 * international/fontset.el (build-default-fontset-data): New macro.
18609 (setup-default-fontset): Use build-default-fontset-data for CJK,
18610 tibetan, ethiopic, and ipa.
18612 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18614 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18615 (enable-multibyte-characters): Not customizable any more.
18617 * subr.el (default-mode-line-format, default-header-line-format)
18618 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18619 (default-direction-reversed, default-truncate-lines)
18620 (default-left-margin, default-tab-width, default-case-fold-search)
18621 (default-left-margin-width, default-right-margin-width)
18622 (default-left-fringe-width, default-right-fringe-width)
18623 (default-fringes-outside-margins, default-scroll-bar-width)
18624 (default-vertical-scroll-bar, default-indicate-empty-lines)
18625 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18626 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18627 (default-scroll-down-aggressively, default-fill-column)
18628 (default-cursor-type, default-buffer-file-type)
18629 (default-cursor-in-non-selected-windows)
18630 (default-buffer-file-coding-system, default-major-mode)
18631 (default-enable-multibyte-characters): Mark as obsolete.
18633 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18635 * vc-dir.el (vc-dir-update): Remove debug helper.
18637 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18639 2009-08-26 Sam Steingold <sds@gnu.org>
18641 * simple.el (save-interprogram-paste-before-kill): New user option.
18642 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18643 save the interprogram-paste into kill-ring before overriding it
18644 with the Emacs kill.
18646 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18648 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18649 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18650 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18651 and move to vc-rcs.el.
18652 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18654 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18655 (vc-rcs-update-changelog): Remove.
18656 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18657 and move to vc-rcs.el.
18659 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18660 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18662 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18663 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18664 vc.el, renamed to be RCS specific.
18666 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18668 (vc-cvs-update-changelog): Move here from vc.el.
18670 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18673 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18675 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18677 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18679 * vc-git.el (vc-git-register): Use "git add" for directories.
18680 (vc-git-stash, vc-git-stash-show): New functions.
18681 (vc-git-extra-menu-map): Bind them.
18683 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18684 directory correctly in case the item is a directory itself.
18686 * vc.el: Document the desired behavior for reverted files in the
18688 (vc-default-prettify-state-info): Remove function, unused.
18690 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18692 2009-08-26 Glenn Morris <rgm@gnu.org>
18694 * bindings.el (standard-mode-line-format): Reposition dashes in
18695 which-func entry. (Bug#4217)
18697 * files.el (enable-local-variables, enable-local-eval)
18698 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18700 (auto-mode-alist, ignored-local-variables)
18701 (save-some-buffers-action-alist): Move risky declarations to the
18703 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18704 (font-lock-defaults, format-alist, imenu--index-alist)
18705 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18706 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18707 (mode-line-modified, mode-line-mule-info, mode-line-position)
18708 (mode-line-process, mode-line-remote, outline-level)
18709 (parse-time-rules, rmail-output-file-alist)
18710 (special-display-buffer-names, vc-mode):
18711 Move risky declarations to the relevant files.
18712 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18713 (mode-line-modified, mode-line-process, mode-line-position)
18714 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18715 * font-core.el (font-lock-defaults):
18716 * format.el (format-alist):
18717 * vc-hooks.el (vc-mode):
18718 * window.el (special-display-buffer-names):
18719 * international/mule-cmds.el (input-method-alist):
18720 Define riskiness here (dumped file) rather than in files.el.
18721 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18722 * imenu.el (imenu-generic-expression, imenu--index-alist):
18723 * outline.el (outline-level):
18724 * time.el (display-time-string):
18725 * calendar/parse-time.el (parse-time-rules):
18726 * mail/rmailout.el (rmail-output-file-alist):
18727 Autoload riskiness here, rather than placing in files.el.
18729 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18731 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18733 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18735 * simple.el (process-file-side-effects): New defvar.
18737 * dired-aux.el (dired-show-file-type):
18738 * vc.el (vc-diff-internal):
18739 * vc-arch.el (vc-arch-diff):
18740 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18741 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18742 * vc-git.el (vc-git-registered, vc-git-working-revision)
18743 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18744 (vc-git--empty-db-p):
18745 * vc-hooks.el (vc-user-login-name):
18746 * vc-svn.el (vc-svn-registered, vc-svn-state)
18747 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18748 * progmodes/grep.el (grep-probe): Let-bind
18749 `process-file-side-effects' with nil.
18751 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18753 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18754 daemon. Replace ping by checking for running service for bluez
18755 and zeroconf. (Bug#4239)
18757 2009-08-25 Kevin Ryde <user42@zip.com.au>
18759 * net/dig.el (dig): Add autoload cookie.
18761 2009-08-25 Glenn Morris <rgm@gnu.org>
18763 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18764 load-history for absolute file-names.
18765 (byte-compile-file-form-require): Warn about use of the cl package.
18767 * format.el (format-alist): Doc fix.
18769 * play/bubbles.el (top-level): Don't require cl at run-time.
18771 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18774 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18776 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18778 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18780 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18782 * calc/calc-alg.el (math-trig-rewrite)
18783 (math-hyperbolic-trig-rewrite): New functions.
18784 (calc-simplify): Simplify trig functions when asked.
18786 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18788 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18790 2009-08-24 Kenichi Handa <handa@m17n.org>
18792 * language/ind-util.el (mapthread): Delete it.
18793 (combinatorial): New function.
18794 (indian--puthash-cv): Use combinatorial instead of mapthread.
18796 2009-08-22 Kevin Ryde <user42@zip.com.au>
18798 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18799 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18800 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18801 Clarify docstring that the value is strings not symbols.
18802 (checkdoc-list-of-strings-p): New function.
18804 2009-08-22 Glenn Morris <rgm@gnu.org>
18806 * files.el (auto-mode-alist):
18807 * hippie-exp.el (he-concat-directory-file-name):
18808 * lpr.el (lpr-windows-system, printer-name):
18809 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18810 * ps-print.el (ps-windows-system):
18811 * startup.el (command-line):
18812 * emulation/viper-ex.el (viper-glob-function):
18813 * international/mule-cmds.el (set-language-environment-coding-systems):
18814 * net/ange-ftp.el (ange-ftp-write-region):
18815 * obsolete/fast-lock.el (fast-lock-cache-name):
18816 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18817 unisoft-unix, vax-vms, win32, w32.
18819 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18820 given name if the pattern is not more specific.
18822 * calendar/lunar.el (lunar-phase-names): New option.
18823 (lunar-phase): Doc fix.
18824 (lunar-cycles-per-year): New constant.
18825 (lunar-index): New function.
18826 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18827 (lunar-phase-name): Use lunar-phase-names.
18828 (calendar-lunar-phases): Use format.
18829 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18831 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18832 Copy imenu-example--name-and-position function here for own use.
18833 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18835 * bs.el (bs--redisplay):
18836 * cus-edit.el (custom-redraw):
18837 * ibuffer.el (ibuffer-bury-buffer):
18838 * server.el (server-goto-line-column):
18839 * startup.el (command-line-1):
18840 * strokes.el (strokes-xpm-for-stroke):
18841 * term.el (term-display-buffer-line):
18842 * view.el (View-goto-line):
18843 * calc/calc.el (calc-do, calc-trail-buffer):
18844 * play/gamegrid.el (gamegrid-add-score-insecure):
18845 * progmodes/ada-mode.el (ada-compile-goto-error):
18846 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18847 (ebrowse-select-1st-to-9nth):
18848 * progmodes/cperl-mode.el (cperl-time-fontification):
18849 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18850 * progmodes/gud.el (gud-display-line):
18851 (idlwave-shell-display-line):
18852 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18853 * progmodes/make-mode.el (makefile-browser-toggle):
18854 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18855 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18856 * textmodes/picture.el (picture-draw-rectangle):
18857 * textmodes/reftex-index.el (reftex-index-goto-letter):
18858 (reftex-select-jump-to-previous):
18859 * textmodes/reftex-sel.el (reftex-find-start-point)
18860 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18861 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18862 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18863 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18864 * textmodes/two-column.el (2C-associated-buffer):
18865 Use forward-line rather than goto-line.
18867 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18870 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18871 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18872 (quick-check-list-to-regexp): Declare.
18874 * progmodes/make-mode.el (makefile-browser-insert-selection):
18875 Use goto-char rather than goto-line.
18877 * progmodes/prolog.el (compilation-error-regexp-alist)
18878 (compilation-forget-errors): Declare.
18880 2009-08-22 Juri Linkov <juri@jurta.org>
18882 * progmodes/grep.el (lgrep, rgrep): At the beginning
18883 set `dir' to `default-directory' unless `dir' is a non-nil
18884 readable directory. (Bug#4052)
18885 (lgrep, rgrep): Change a weird way to report an error
18886 from using `read-string' to using `error'.
18887 Instead of using interactive arguments in the function body,
18888 add new argument `confirm'.
18890 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18892 * textmodes/remember.el (remember-buffer):
18893 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18894 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18895 (icalendar-extract-ical-from-buffer):
18896 * net/newst-treeview.el (newsticker-groups-filename):
18897 * net/newst-backend.el (newsticker-cache-filename):
18898 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18899 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18900 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18901 (speedbar-buffers-line-path, speedbar-path-line)
18902 (speedbar-buffers-line-path):
18903 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18905 * epa.el (epa-display-verify-result):
18906 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18908 2009-08-21 Glenn Morris <rgm@gnu.org>
18910 * progmodes/js.el (inferior-moz-process): Fix declaration.
18912 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18914 * obsolete/rnewspost.el (news-mail-reply):
18915 Use goto-char rather than goto-line.
18917 * term/ns-win.el (ns-open-file-select-line):
18918 Use line-beginning-position rather than goto-line.
18920 * apropos.el (apropos-command):
18921 * ehelp.el (electric-helpify):
18922 * printing.el (pr-show-setup):
18923 * strokes.el (strokes-help):
18924 * tutorial.el (tutorial--describe-nonstandard-key)
18925 (tutorial--detailed-help):
18926 * woman.el (woman-mini-help, woman-display-extended-fonts):
18927 * calc/calc-help.el (calc-describe-key):
18928 * emulation/edt.el (edt-electric-helpify):
18929 * international/mule-diag.el (mule-diag):
18930 * play/yow.el (apropos-zippy):
18931 * progmodes/python.el (python-describe-symbol):
18932 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18933 * textmodes/table.el (*table--cell-describe-mode)
18934 (*table--cell-describe-bindings):
18935 Use help-print-return-message rather than the now obsolete alias.
18937 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18938 (calendar-cursor-to-visible-date):
18939 * play/5x5.el (5x5-position-cursor):
18940 * play/decipher.el (decipher):
18941 * play/gomoku.el (gomoku-goto-xy):
18942 * play/landmark.el (lm-goto-xy):
18943 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18944 (mpuz-paint-digit):
18945 Use forward-line, not goto-line.
18947 * mail/rmail.el (rmail-obsolete): Delete custom group.
18948 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18949 (rmail-remote-password, rmail-remote-password-required):
18950 Remove unneeded :set-after and :set properties.
18952 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18954 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18956 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18958 * loadup.el: Remove leftover macos code.
18960 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18961 Explicitly pass the date format to git blame so that user local
18962 so that the output format can be parsed.
18964 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18966 * net/dbus.el (top): Don't check for (getenv
18967 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18969 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18971 * log-edit.el (log-edit-strip-single-file-name): New var.
18972 (log-edit-insert-changelog): Use it. Bug#3571
18974 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18976 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18979 * help.el (help-print-return-message): Rename from
18980 print-help-return-message.
18982 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18983 cvs-mode-map parent hack.
18984 (log-view-mode): Derive from special-mode.
18986 * linum.el (linum-mode): window-size-change-functions is redundant.
18987 Adapt to new window-configuration-change-hook behavior.
18988 (linum-after-size, linum-after-config): Remove.
18990 * imenu.el (imenu-example--name-and-position)
18991 (imenu-example--lisp-extract-index-name)
18992 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18995 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18996 (inferior-prolog-mode): Use it.
18997 (inferior-prolog-load-file): Reset list of errors.
18999 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19001 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19003 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19005 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19007 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19008 is running already.
19010 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19012 * subr.el (listify-key-sequence-1): Use normal syntax since those
19013 integers are nowadays always represented by the same (positive) number
19015 (read-key-empty-map): New const.
19016 (read-key-delay): New var.
19017 (read-key): New function.
19018 (force-mode-line-update): Use with-current-buffer.
19019 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19020 (start-process-shell-command, start-file-process-shell-command):
19021 Discourage the use of command-args.
19023 2009-08-19 Glenn Morris <rgm@gnu.org>
19025 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19027 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19029 * simple.el (choose-completion-string): Don't rely on
19030 minibuffer-completing-file-name and ad-hoc checks to decide whether
19031 to continue completion or not.
19033 * minibuffer.el (minibuffer-hide-completions): New function.
19034 (completion--do-completion): Use it.
19035 (completions-annotations): New face.
19036 (completion--insert-strings): Use it.
19037 (completion-pcm--delim-wild-regex): Add docstring.
19038 (completion-pcm--string->pattern): Add support for 0-width delimiters
19039 in completion-pcm--delim-wild-regex.
19041 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19043 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19044 Remove unused var `buffer-modified-p'.
19046 * minibuffer.el (completion--do-completion): Move point for the #b001
19047 case as well (bug#4176).
19048 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19050 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19052 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19053 and :session buses.
19055 2009-08-18 Kenichi Handa <handa@m17n.org>
19057 * international/ucs-normalize.el (ucs-normalize-version):
19059 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19060 (utf-8-hfs): Make it perform normalization on encoding too.
19062 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19063 (sentence-end-without-space): Delete duplicated chars.
19064 (sentence-end-base): Likewise.
19066 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19067 (html-mode): Delete duplicated chars from sentence-end-base.
19069 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19070 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19072 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19074 * files.el (hack-one-local-variable): If the mode function is for
19075 a minor mode, pass it an argument (Bug#4148).
19077 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19079 * net/tramp.el (tramp-register-completion-file-name-handler):
19080 Check also for (member 'partial-completion completion-styles).
19082 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19084 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19087 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19089 * progmodes/cperl-mode.el: Merge upstream 6.2.
19090 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19091 (cperl-forward-re): Check cperl-brace-recursing.
19092 (cperl-highlight-charclass): New function.
19093 (cperl-find-pods-heres): Use it.
19094 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19095 (cperl-beautify-regexp-piece): Fix column calculation.
19096 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19097 (cperl-beautify-level): Don't process entire regexp.
19098 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19100 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19101 (cperl-init-faces): Build a list in the normal way.
19103 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19105 * calendar/parse-time.el (parse-time-string-chars): Save match
19108 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19110 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19111 (sql-product): Use it.
19112 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19113 (sql-set-product): Add completion.
19114 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19115 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19116 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19117 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19118 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19119 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19120 (sql-highlight-db2-keywords): Remove.
19121 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19122 (sql-highlight-product): Use derived-mode-p.
19123 (sql-set-sqli-buffer): Use with-current-buffer.
19124 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19127 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19129 * term.el: Fix commenting convention, turn comments into docstrings.
19131 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19133 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19135 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19137 * calendar/parse-time.el (parse-time-string-chars): Compute using
19138 character classes, to handle non-ascii characters (Bug#3190).
19140 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19142 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19143 another heredoc if the user adds another < (Bug#3226).
19145 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19146 Don't initialize based on window-system (Bug#4124).
19148 * facemenu.el (facemenu-read-color): Use a completion function
19149 that accepts any defined color, such as RGB triplets (Bug#3677).
19151 * files.el (get-free-disk-space): Change fallback default
19152 directory to /. Expand DIR argument before switching to fallback.
19153 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19155 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19157 * files.el (load-library): Doc fix.
19159 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19161 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19162 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19163 incremental search string.
19165 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19168 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19169 (ediff-merge-region-is-non-clash)
19170 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19171 Also check if the job is really a merge job.
19173 * ediff.el (ediff-current-file): New function.
19175 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19177 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19179 (js-insert-and-indent): Delete function.
19180 (js-mode-map): Don't bind keys to js-insert-and-indent.
19181 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19182 (js-end-of-defun): Rename from js--end-of-defun.
19183 (js-auto-indent-flag): Delete variable.
19185 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19187 * progmodes/js.el: Remove proclaim statement.
19188 Defvar which-func-imenu-joiner-function to silence compiler.
19190 * files.el (auto-mode-alist): Use js-mode for .js files.
19192 * progmodes/js2-mode.el: Remove file.
19194 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19196 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19198 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19200 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19201 Karl Landstrom <karl.landstrom@brgeight.se>
19203 * progmodes/js.el: New file.
19205 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19207 * timezone.el (timezone-parse-date): Add ability to understand ISO
19208 basic format (minimal separators) dates in addition to the
19209 already-supported extended format dates.
19211 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19213 * international/ucs-normalize.el: Add a `coding' file variable.
19215 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19217 2009-08-14 Sam Steingold <sds@gnu.org>
19219 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19221 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19223 * faces.el (help-argument-name): Define it here instead of
19224 help-fns.el, because in daemon mode help-fns.el may be loaded when
19225 faces are still uninitialized (Bug#1078).
19227 * help-fns.el (help-argument-name): Move defface to faces.el.
19229 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19231 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19232 create buffer with a pty but no process so that GDB can make the
19233 inferior the controlling process.
19235 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19237 * international/ucs-normalize.el: New file.
19239 2009-08-13 Richard Stallman <rms@gnu.org>
19241 * mail/rmail.el (rmail-get-attr-names):
19242 Accept an attribute header that is too short.
19244 * mail/rmail.el (rmail-forget-messages):
19245 Ignore nil elt in rmail-message-vector. Use dotimes.
19247 * progmodes/compile.el (compilation-goto-locus):
19248 Use next-error-move-function.
19250 * simple.el (next-error-move-function): New variable.
19252 2009-08-12 Juri Linkov <juri@jurta.org>
19254 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19255 always non-nil. (Bug#4052)
19257 * replace.el (read-regexp): Return empty string when
19258 `default-value' is nil.
19259 (keep-lines-read-args): Don't use empty string as the
19260 default value for `read-regexp'. (Bug#2495)
19262 2009-08-12 Juri Linkov <juri@jurta.org>
19264 * international/mule-cmds.el (ucs-insert): Change arguments
19265 from `arg' to `character', `count', `inherit' to be the same
19266 as in `insert-char'. Doc fix. (Bug#4039)
19268 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19270 2009-08-12 Juri Linkov <juri@jurta.org>
19272 * files-x.el: New file.
19274 * files.el: Move code that deals with adding/deleting
19275 file/directory-local variables to files-x.el.
19277 * Makefile.in (ELCFILES): Add files-x.elc.
19279 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19281 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19282 to use `goto-line'.
19283 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19285 (gdb-invalidate-disassembly): Do not refresh upon receiving
19286 'update signal. Instead, update all disassembly buffers only after
19288 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19289 (gdb-starting): Move -data-list-register-names...
19290 (gdb-stopped): ...here so it's sent when first thread stops.
19291 (gdb-registers-handler-custom): Do nothing if register names are
19294 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19295 from `gdb-mi.el' to avoid extra tangling.
19297 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19298 change which breaks `gud-def' definitions used in `gdb'.
19299 (gdb-update-gud-running): No extra fuss for updating frame number.
19301 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19303 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19304 (describe-language-environment-map, setup-language-environment-map)
19305 (set-coding-system-map): Move initialization into declaration.
19306 (set-language-info-alist): Last arg to define-key-after can be skipped.
19308 * international/quail.el (quail-completion-1): Simplify.
19309 (quail-define-rules): Use slightly more compact code.
19310 (quail-insert-decode-map): Propertize keys, compact columns.
19312 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19315 2009-08-10 Miles Bader <miles@gnu.org>
19317 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19318 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19319 (js2-instance-member, js2-private-member, js2-private-function-call)
19320 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19321 (js2-magic-paren, js2-external-variable):
19322 Remove "-face" suffix from face names.
19323 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19324 (js2-highlight-undeclared-vars, js2-peek-token)
19325 (js2-parse-function-params, js2-mode-show-errors)
19326 (js2-mode-show-warnings, js2-make-magic-delimiter)
19327 (js2-mode-highlight-magic-parens): Update to use new face names.
19329 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19331 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19332 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19334 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19336 * subr.el: Provide hashtable-print-readable.
19338 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19339 hs-c-like-adjust-block-beginning.
19340 (hs-hide-block-at-point): Stop hiding at the beginning of
19341 hs-block-end-regexp (Bug#700).
19343 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19345 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19347 (gdb-registers-handler-custom): Do not fail when register names
19350 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19352 * progmodes/gdb-mi.el (gdb-control-all-threads)
19353 (gdb-control-current-thread): Interactive setters for
19354 `gdb-gud-control-all-threads' to use in menu.
19355 (gdb-show-run-p): Show «Go» when process is not active.
19356 (gud-tool-bar-map): Add non-stop/A,T indicator.
19357 Uses gud/thread.xpm and gud/all.xpm.
19359 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19361 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19362 (nslookup-font-lock-keywords): Make it a variable.
19363 (net-utils-mode): New mode for viewing diagnostic network output.
19364 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19365 (net-utils-run-simple): New function.
19366 (ifconfig, iwconfig, netstat, arp, route): Use it.
19368 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19370 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19371 (gdb-memory-set-address, def-gdb-set-positive-number)
19372 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19373 after changing settings.
19374 (gdb-invalidate-disassembly): Update when first shown.
19375 (gdb-edit-locals-value): Fixed.
19376 (gdb-registers-handler-custom): Print registers in right order and
19377 allow changing register values (only for current thread yet).
19378 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19379 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19380 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19381 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19382 Thread info in mode name.
19383 (gdb-registers-mode-map): TAB to switch to locals.
19385 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19387 * mail/rmail.el (rmail-add-mbox-headers)
19388 (rmail-set-message-counters-counter): Search for
19389 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19391 2009-08-08 Glenn Morris <rgm@gnu.org>
19393 * Makefile.in (ELCFILES): Update.
19395 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19397 * mail/sendmail.el (mail-yank-original):
19398 Set buffer-file-coding-system from the one used by the message whose
19401 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19402 to "windows" when "pgnuplot" is used.
19403 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19404 Don't call accept-process-output if "pgnuplot" is used.
19405 (calc-graph-init): Don't send -display and -geometry to
19406 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19407 running "pgnuplot -V" with shell-command-to-string.
19409 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19412 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19414 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19417 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19419 * vc-dispatcher.el (vc-resynch-window): Update comment.
19421 * term.el (term-handle-ansi-escape): Add comments with the
19422 terminfo capabilities implemented.
19424 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19426 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19427 (gdb-var-create-handler): Rewritten using JSON parser.
19428 (gdb-propertize-header): Move earlier.
19429 (gdb-set-header): Remove to avoid duplication.
19430 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19431 Refresh disassembly buffers only after threads list have been
19433 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19436 2009-08-04 Juri Linkov <juri@jurta.org>
19438 * files.el: Commands to add/delete file/directory-local variables.
19439 (read-file-local-variable, read-file-local-variable-value)
19440 (read-file-local-variable-mode, modify-file-local-variable)
19441 (modify-file-local-variable-prop-line)
19442 (modify-dir-local-variable): New functions.
19443 (add-file-local-variable, delete-file-local-variable)
19444 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19445 (add-dir-local-variable, delete-dir-local-variable)
19446 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19447 (copy-dir-locals-to-file-locals-prop-line): New commands.
19449 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19451 * abbrev.el (insert-abbrev-table-description): Prettify output.
19452 Suggested by Karl Chen.
19454 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19456 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19457 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19458 (gdb-overlay-arrow-position, gdb-thread-position)
19459 (gdb-disassembly-position): Declare variables.
19460 (gdb-wait-for-pending): Function now.
19461 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19462 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19463 compilation goes smoothly.
19464 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19465 (gdb-non-stop-setting): New customization setting which replaces
19466 `gdb-non-stop' so changing it doesn't break active GDB session.
19467 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19468 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19469 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19470 (gdb-show-threads-by-default): New customization options.
19471 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19473 (gdb-get-buffer-create): Send buffers update signal when they are
19475 (gdb-invalidate-locals, gdb-invalidate-registers)
19476 (gdb-invalidate-breakpoints)
19477 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19478 (gdb-invalidate-memory): Accept update signal.
19479 (gdb-current-context-command): Use --frame option.
19480 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19481 Implement `gdb-frame-number' selection logic.
19482 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19483 whether to show GUD toolbar buttons.
19484 (gdb-thread-exited): Unselect current thread when it exits.
19485 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19486 (gdb-mark-line): Routine which sets overlay arrow or inverses
19487 video on fringeless displays.
19488 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19489 to build aligned columns of data in GDB buffers and set text
19490 properties line-by-line.
19491 (gdb-invalidate-breakpoints)
19492 (gdb-breakpoints-list-handler-custom)
19493 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19494 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19495 (gdb-registers-handler-custom): Align data columns.
19496 (gdb-locals-handler-custom): Now prints data like in variable
19498 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19499 Remove confusing buttons.
19500 (gdb-invalidate-threads): Append --frame.
19501 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19502 between breakpoints/threads buffers.
19503 (gdb-set-window-buffer): Now can ignore dedicated windows.
19504 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19505 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19506 (def-gdb-thread-buffer-gud-command): Replaces
19507 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19508 for fine thread control.
19509 (gdb-preempt-existing-or-display-buffer): New function used to
19510 display bound buffers without breaking window layout.
19511 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19512 (gdb-select-frame): New version of `gdb-frames-select' which now
19513 sets `gdb-frame-number' so commands may use --frame option instead
19514 of inner debugger state.
19515 (gdb-frame-handler): Do not set `gdb-frame-number'.
19516 (gdb-threads-mode-map): Select threads with mouse.
19518 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19519 avoid compilation warning.
19520 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19523 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19524 Argument `key' renamed to `buffer-type'.
19525 (gdb-current-context-buffer-name): Do not add thread info to
19526 buffer name when no thread is selected.
19527 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19528 command (bug 3794).
19529 (gdb-thread-selected): Handle `=thread-selected' notification.
19530 (gdb-wait-for-pending): New macro to deal with congestion problems.
19531 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19533 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19534 This fixes problem similar to one described in bug 3947.
19535 (gud-menu-map): More menu items.
19536 (gdb-init-1): Reset `gdb-thread-number' to nil.
19538 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19541 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19542 (gdb-current-context-command): Do not append --thread if
19543 `gdb-thread-number' is nil.
19544 (gdb-running-threads-count, gdb-stopped-threads-count):
19546 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19547 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19548 New customization options.
19549 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19551 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19552 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19553 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19554 set `gdb-thread-number' and update `gud-running' properly.
19555 (gdb-running): Update threads list when new threads appear.
19556 (gdb-stopped): Support non-stop operation and new thread switching
19558 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19559 (gdb-json-partial-output): New set of JSON routines.
19560 (def-gdb-auto-update-trigger): New `signal-list' optional
19562 (gdb-thread-list-handler-custom): Update `gud-running',
19563 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19564 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19565 (gdb-continue-thread, gdb-step-thread): New commands for fine
19566 thread execution control.
19567 (gud-menu-map): New menu items to switch non-stop options.
19568 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19569 (gdb-send): Mimic RET properly (bug 3794).
19571 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19572 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19574 (def-gdb-auto-update-handler): New nopreserve optional argument.
19575 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19577 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19578 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19579 (gdb-parent-mode): New mode to derive other GDB modes from.
19580 (gdb-display-disassembly-for-thread)
19581 (gdb-frame-disassembly-for-thread): New commands for threads
19584 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19585 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19586 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19587 (gdb-update): We now store all GDB buffers in a list so that they
19588 can be updated by traversing a list instead of calling invalidate
19589 triggers explicitly.
19590 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19591 pair for GDB buffer.
19592 (gdb-stack-buffer-name): Add thread information.
19593 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19594 handle pending triggers.
19595 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19596 (def-gdb-thread-buffer-simple-command)
19597 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19598 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19599 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19600 New commands which show buffers bound to thread.
19601 (gdb-stack-list-locals-regexp): Remove unused regexp.
19603 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19604 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19605 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19606 to (gud-comint-buffer) in *-buffer-name functions
19607 because (gdb-get-target-string) already does that.
19608 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19609 (gdb-changed-registers-handler): Rewritten without regexps.
19611 * progmodes/gdb-mi.el: Basic thread selection support.
19612 (gdb-thread-number): New variable.
19613 (gdb-current-context-command): New macro which adds --thread
19615 (gdb-threads-mode-map): Select thread with SPC.
19616 (gdb-thread-list-handler-custom): Mark current thread with overlay
19617 arrow. Synchronize GDB thread and Emacs thread.
19618 (gdb-select-thread): New command which selects current thread.
19619 (gdb-invalidate-frames, gdb-invalidate-locals)
19620 (gdb-invalidate-registers): Use --thread option.
19622 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19624 * net/tramp.el (top): Make check for tramp-gvfs loading more
19626 (tramp-handle-insert-file-contents): `unwind-protect' must be
19627 inside `with-parsed-tramp-file-name'.
19629 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19632 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19634 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19635 directory if CLASSPATH is not set.
19637 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19639 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19641 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19643 2009-08-02 Kevin Ryde <user42@zip.com.au>
19645 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19646 Update freshmeat link. Delete newsforge.com as it seems gone.
19648 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19650 * select.el (x-set-selection): Doc fix (Bug#4021).
19652 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19654 * help-fns.el (describe-variable): Treat list return values from
19655 dir-locals-find-file properly (Bug#4005).
19657 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19659 * net/tramp.el (tramp-debug-message): Print also microseconds.
19661 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19663 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19665 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19666 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19669 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19670 (tramp-get-file-property): Use it.
19672 * autorevert.el (auto-revert-handler):
19673 Allow `auto-revert-tail-mode' for remote files.
19675 2009-08-02 Jason Rumney <jasonr@gnu.org>
19677 * minibuffer.el (read-file-name): Treat confirm options to
19678 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19680 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19682 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19683 (font-lock-variable-name-face, font-lock-constant-face):
19684 Darken the colors for light backgrounds.
19686 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19688 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19689 month names. (Bug#3987)
19691 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19693 * simple.el (line-move-finish): Pass whole number to
19694 line-move-to-column.
19695 (line-move-visual): Perform hscroll to the recorded position.
19697 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19699 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19701 2009-07-29 Alan Mackenzie <acm@muc.de>
19703 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19705 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19707 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19708 (gdb-place-breakpoints): Use full path when setting breakpoints.
19710 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19712 * calc/calc.el (calc-mode-map): Add keybinding for
19713 `calc-transpose-lines'.
19715 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19717 * calc/calc-misc.el (calc-transpose-lines): New function.
19719 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19721 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19722 Simplify check for out-of-band methods.
19723 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19724 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19726 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19728 * vc-git.el (vc-git-checkin): Fix typo.
19730 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19732 * progmodes/js2-mode.el: New file.
19734 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19736 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19737 (gud-menu-map): Adjust tooltip accordingly.
19739 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19741 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19742 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19744 * add-log.el (change-log-mode-map): Add a menu.
19746 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19748 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19749 function returns nil.
19750 (dbus-handle-event): Handle special return value :ignore.
19751 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19753 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19755 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19758 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19762 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19764 * term/pc-win.el (x-display-name, x-colors)
19765 (x-select-enable-clipboard, x-select-text): Doc fix.
19767 * term/common-win.el (x-display-name, x-colors): Doc fix.
19769 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19770 (xw-defined-colors): Doc fix.
19772 * w32-fns.el (x-select-text, x-setup-function-keys)
19773 (x-get-selection, x-set-selection): Doc fix.
19775 * term/x-win.el (x-select-text, x-setup-function-keys)
19776 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19778 * select.el (x-set-selection): Doc fix.
19780 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19782 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19783 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19784 "IsNSSSupportAvailable" method is not available.
19785 Reported by Steve Youngs <steve@sxemacs.org>.
19787 2009-07-24 Kenichi Handa <handa@m17n.org>
19789 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19790 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19791 (build-unicode-category-table): Fix range checks.
19793 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19795 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19796 the buffer we try to sync is current when calling
19799 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19800 not show up to date files.
19802 2009-07-24 Glenn Morris <rgm@gnu.org>
19804 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19805 Add autoload cookies. If necessary, initialize.
19806 (elint-log): Handle non-file buffers.
19807 (elint-initialize): Add optional argument to reinitialize.
19808 (elint-find-builtin-variables): Save excursion.
19810 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19812 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19815 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19817 * vc.el (vc-print-log-internal): New function, split out from ...
19818 (vc-print-log): ... here.
19819 (vc-dir-move-to-goal-column): Declare.
19821 * vc-git.el (vc-git-add-signoff): New variable.
19822 (vc-git-checkin): Use it.
19823 (vc-git-toggle-signoff): New function.
19824 (vc-git-extra-menu-map): Bind it to menu.
19825 (vc-git--run-command-string): Accept a nil FILE argument.
19826 (vc-git-stash-list): New function.
19827 (vc-git-dir-extra-headers): Use it.
19829 2009-07-23 Glenn Morris <rgm@gnu.org>
19831 * help-fns.el (describe-variable): Describe ignored and risky local
19832 variables in a similar way to that in which we describe safe ones.
19834 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19835 (byte-compile-output-file-form, byte-compile-output-docform)
19836 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19837 Give some more local variables with common names a "bytecomp-" prefix,
19838 so as not to shadow things during compilation.
19839 * emacs-lisp/cl-macs.el (load-time-value)
19840 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19841 `outbuffer' to `bytecomp-outbuffer'.
19843 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19844 since the next two variables cover them automatically now.
19845 (elint-builtin-variables, elint-autoloaded-variables): New.
19846 (elint-unknown-builtin-args): Remove all members, since they can be
19847 parsed automatically now.
19848 (elint-extra-errors): New.
19849 (elint-env-add-env, elint-env-add-macro): Use cadr.
19850 (elint-current-buffer): Use or. Change final message.
19851 (elint-get-top-forms): Use line-end-position.
19852 (elint-init-env): Use cadr. Handle autoload, declare-function,
19854 (elint-add-required-env): Doc fix. Use or. Standardize error.
19855 (regexp-assoc): Remove unused function.
19856 (elint-top-form): Set elint-current-pos, to record the start of the
19857 top-level form, for compilation-mode.
19858 (elint-form): Trap errors in macro expansion. Use dolist.
19859 (elint-unbound-variable): Use elint-builtin-variables and
19860 elint-autoloaded-variables.
19861 (elint-get-args): Use cadr, or.
19862 (elint-check-cond-form): Use dolist, cadr.
19863 (elint-check-condition-case-form): Doc fix. Use cadr.
19864 Use elint-extra-errors.
19865 (elint-log): New function.
19866 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19867 Distinguish errors and warnings.
19868 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19869 Use a bytecomp-style format.
19870 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19871 (elint-get-log-buffer): Use compilation mode. Disable undo.
19872 Don't truncate lines.
19873 (elint-initialize): Set builtin and autoloaded variable lists.
19874 Only process elint-unknown-builtin-args if non-nil.
19875 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19877 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19879 2009-07-22 Kevin Ryde <user42@zip.com.au>
19881 * net/newst-backend.el (newsticker--parse-atom-1.0)
19882 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19883 (newsticker--parse-rss-1.0):
19884 * progmodes/idlwave.el (idlwave-mode):
19885 * progmodes/idlw-shell.el (idlwave-shell-mode):
19886 * progmodes/vera-mode.el (vera-mode):
19887 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19888 * progmodes/vhdl-mode.el (vhdl-mode):
19889 * textmodes/table.el (table-generate-source)
19890 (table--warn-incompatibility):
19891 Hyperlink urls in docstrings with URL `...'.
19893 2009-07-22 Glenn Morris <rgm@gnu.org>
19895 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19896 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19897 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19898 Remove leading * from defcustom docs.
19900 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19902 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19904 (list-load-path-shadows): Optionally, just return shadows as a string.
19906 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19908 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19910 * mail/rmailedit.el (rmail-edit-mode):
19911 Use auto-save-include-big-deletions.
19913 * mail/rmail.el (rmail-variables):
19914 Use auto-save-include-big-deletions.
19916 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19919 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19921 * calc/calc.el (calc-undo-length): New variable.
19922 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19924 2009-07-21 Richard Stallman <rms@gnu.org>
19926 * files.el (auto-save-mode): Handle buffer-save-size = -2
19929 2009-07-21 Glenn Morris <rgm@gnu.org>
19931 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19933 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19935 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19936 silence compiler. Instead...
19937 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19938 (ps-print-ensure-fontified): Update for above function name changes.
19940 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19941 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19942 silence compiler. Instead...
19943 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19944 (mh-show-buffer): Only define for compiler.
19945 (pr-mh-current-message): Update for above function name changes.
19947 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19949 (find-file-noselect, insert-file-1): Update for above change.
19951 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19953 * mail/mailclient.el (mailclient-send-it): Fix message.
19955 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19956 (edebug-eval): Check cl-debug-env is bound.
19957 (print-level, print-circle): Don't redefine built-in variables.
19959 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19960 (custom-print-vectors): Remove old comments from doc.
19962 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19963 (emerge-version): Make the variable an obsolete alias for the
19964 emacs-version variable. Make the function obsolete.
19965 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19966 Emerge options, rather than merging in into the main Options menu.
19967 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19968 and auto advance modes. Disable edit/fast items when not relevant.
19970 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19972 * term/vt420.el (terminal-init-vt420): Fix typo.
19974 2009-07-20 Sam Steingold <sds@gnu.org>
19976 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19977 variable (removed from compile.el on 2004-03-11).
19979 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19981 * files.el (hack-local-variables-filter): Fix last change.
19983 2009-07-19 Juri Linkov <juri@jurta.org>
19985 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19986 (dir-local-variables-alist): New buffer-local variable.
19987 (hack-local-variables-filter): If variable is not dir-local,
19988 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19989 because file-local overrides dir-local.
19990 (c-postprocess-file-styles) <declare-function>:
19991 Remove obsolete declaration.
19992 (hack-dir-local-variables): Add dir-local variable/value pair to
19993 `dir-local-variables-alist' and remove duplicates. Doc fix.
19995 * help-fns.el (describe-variable): Add information about
19996 file-local and dir-local variables.
19998 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20000 * files.el (hack-local-variables-filter): Rewrite.
20002 2009-07-19 Glenn Morris <rgm@gnu.org>
20004 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20005 Silence compiler by only defining on XEmacs.
20007 * international/mule.el (auto-coding-regexp-alist): Only match
20008 BABYL... at the start of buffer, not of lines. (Bug#3790)
20010 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20011 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20012 (cal-menu-context-mouse-menu): Doc fix.
20014 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20016 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20018 2009-07-18 Juri Linkov <juri@jurta.org>
20020 * info.el: Virtual Info keyword finder.
20021 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20022 (Info-finder-file): New variable.
20023 (Info-finder-find-file): New function.
20024 (finder-known-keywords, finder-package-info)
20025 (find-library-name, lm-commentary): Use defvar and
20026 declare-function to silence compiler warnings.
20027 (Info-finder-find-node): New function.
20028 (info-finder): New command.
20030 * subr.el (process-kill-buffer-query-function): New function.
20031 (add-hook)<kill-buffer-query-functions>: Add hook
20032 `process-kill-buffer-query-function'.
20034 2009-07-18 Alan Mackenzie <acm@muc.de>
20036 * progmodes/cc-mode.el (c-before-hack-hook)
20037 (c-postprocess-file-styles): Give invocation of `c-set-style'
20038 DONT-OVERRIDE parameter of t. Already set style variables will
20039 thus not be overridden by style settings given by `c-file-syle'.
20041 * files.el (hack-local-variables-filter): Remove entries with
20042 duplicate keys from `file-local-variables-alist'.
20044 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20046 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20047 x-set-selection if display-selections-p returns nil for the
20050 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20052 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20054 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20056 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20057 Accept nil in addition to a regexp.
20058 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20059 Accept nil in addition to a regexp.
20060 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20061 buffers that have an associated file. Handle nil values of
20062 desktop-buffers-not-to-save and desktop-files-not-to-save.
20065 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20066 (x-disown-selection-internal): New functions.
20068 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20070 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20072 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20073 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20075 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20077 * simple.el (set-mark): Revert last change.
20079 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20081 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20082 rendering of pngs is not possible instead of messaging a long
20085 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20087 * w32-fns.el (x-selection-owner-p): New function.
20089 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20090 (mouse-yank-at-click, mouse-yank-primary):
20091 If select-active-regions is non-nil, deactivate the mark before
20094 * simple.el (deactivate-mark, set-mark): Only save selection if we
20097 2009-07-17 Kenichi Handa <handa@m17n.org>
20099 * case-table.el (describe-buffer-case-table): Fix for the case
20100 that KEY is a cons.
20102 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20104 * vc-rcs.el (vc-rcs-find-file-hook):
20105 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20107 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20109 * net/tramp.el (tramp-wait-for-output): Handle the case when
20110 commands do not return a newline but a null byte before the shell
20113 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20115 * term/ns-win.el (ns-set-alpha): Don't declare.
20116 (ns-set-background-alpha): Remove function.
20118 2009-07-16 Kevin Ryde <user42@zip.com.au>
20120 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20121 y-or-n-p, for safety.
20123 2009-07-16 Richard Stallman <rms@gnu.org>
20125 * files.el (auto-save-mode): If buffer-saved-size is -2,
20128 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20129 (rmail-retry-ignored-headers): Add more uninteresting fields.
20131 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20133 * net/rcirc.el (rcirc): Use history variables.
20134 (rcirc-server-name-history, rcirc-nick-name-history)
20135 (rcirc-server-port-history): New variables.
20137 2009-07-15 Kenichi Handa <handa@m17n.org>
20139 * international/mule-cmds.el (set-language-environment-charset):
20140 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20143 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20144 Delete unibyte-display.
20146 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20148 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20150 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20152 * simple.el (deactivate-mark): Optional argument FORCE.
20153 (set-mark): Use deactivate-mark.
20155 * info.el (Info-search): No need to check transient-mark-mode
20156 before calling deactivate-mark.
20158 * select.el (x-set-selection): Doc fix.
20159 (x-valid-simple-selection-p): Allow buffer values.
20160 (xselect--selection-bounds): Handle buffer values.
20161 Suggested by David De La Harpe Golden.
20163 * mouse.el (mouse-set-region, mouse-drag-track):
20164 Call copy-region-as-kill before setting the mark, to let
20165 select-active-regions work.
20167 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20169 * simple.el (deactivate-mark): If select-active-regions is
20170 non-nil, copy the selection data into a string.
20171 (activate-mark): If select-active-regions is non-nil, set the
20172 selection to the current buffer.
20173 (set-mark): Update selection if select-active-regions is non-nil.
20175 * select.el (x-valid-simple-selection-p): Allow buffer values.
20177 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20179 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20180 and more featureful message-mode.
20182 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20184 * select.el (x-set-selection): Doc fix.
20185 (x-valid-simple-selection-p): Disallow selection data consisting
20186 of a list or cons of integers, since that is not used.
20187 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20188 (xselect-convert-to-string, xselect-convert-to-length)
20189 (xselect-convert-to-filename, xselect-convert-to-charpos)
20190 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20192 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20194 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20195 output in -break-info command (Emacs bug #3794).
20197 2009-07-14 Glenn Morris <rgm@gnu.org>
20199 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20200 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20201 (edebug-print-length, edebug-print-level, edebug-print-circle)
20202 (edebug-sit-for-seconds, edebug-view-outside)
20203 (edebug-bounce-point, edebug-set-global-break-condition)
20204 (edebug-Go-nonstop-mode, edebug-trace-mode)
20205 (edebug-Trace-fast-mode, edebug-continue-mode)
20206 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20207 (edebug-visit-eval-list): Doc fixes.
20209 * subr.el (def-edebug-spec): Doc fix.
20211 2009-07-14 Kenichi Handa <handa@m17n.org>
20213 * international/characters.el: Fix setting of category ?C.
20215 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20217 * term/ns-win.el (x-select-font): defalias x-select-font to
20218 ns-popup-font-panel instead of generate-fontset-menu.
20220 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20222 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20224 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20226 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20227 the PK\003\004 header (Bug#3770).
20229 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20231 * pcomplete.el (pcomplete-comint-setup): Check for
20232 shell-dynamic-complete-filename too.
20234 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20236 * simple.el (temporary-goal-column): Change the value for
20237 line-move-visual to a cons cell.
20238 (line-move-visual): Record or set the window hscroll, if
20239 necessary (Bug#3494).
20240 (line-move-1): Handle cons value of temporary-goal-column.
20242 2009-07-11 Kenichi Handa <handa@m17n.org>
20244 * international/mule-diag.el (describe-character-set): Don't show
20247 2009-07-10 Sam Steingold <sds@gnu.org>
20249 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20250 Omake sometimes indents the errors it prints, so allow all
20251 regexps to start with spaces.
20253 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20255 * cus-edit.el (customize-changed-options-previous-release):
20256 Bump value to 22.1. (Bug#3804)
20258 2009-07-08 Sam Steingold <sds@gnu.org>
20260 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20261 to be a cons cell (test . ignored-directory) to selectively ignore
20262 some directories depending on the location of the search.
20264 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20266 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20267 remote user is root, on the local host.
20268 (tramp-local-host-p): Either the local user or the remote user
20269 must be root. (Bug#3771)
20271 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20273 * progmodes/gdb-mi.el (gdb): Remove description of
20274 gdb-use-separate-io-buffer.
20275 (menu): Don't allow toggling of or enable
20276 gdb-use-separate-io-buffer from menubar.
20278 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20280 * mail/unrmail.el (unrmail): Make sure the message ends with two
20281 newlines (Bug#3769).
20283 2009-07-08 Glenn Morris <rgm@gnu.org>
20285 * calendar/calendar.el (calendar-current-date): Rework previous change.
20287 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20289 * calendar/calendar.el (calendar-current-date):
20290 Add an optional argument giving an offset from today.
20292 2009-07-08 Glenn Morris <rgm@gnu.org>
20294 * tutorial.el (tutorial--describe-nonstandard-key):
20295 Adjust the message for when a key has been unbound.
20296 (help-with-tutorial): Hide the arch-tag.
20298 2009-07-08 Kenichi Handa <handa@m17n.org>
20300 * international/fontset.el (setup-default-fontset): For each
20301 script, append (not set) font-specs.
20303 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20306 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20308 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20309 -data-list-register-names to ...
20310 (gdb-starting): ... here because GDB 7.0 requires execution to
20311 have started when using this MI command.
20312 (gdb-set-header): New function to distinguish select and
20313 unselected tabs in gdb buffers.
20314 (gdb-propertize-header): New macro that uses gdb-set-header.
20315 (gdb-breakpoints-header, gdb-locals-header): Use it.
20316 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20318 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20320 * Makefile.in (ELCFILES): Remove fadr.elc.
20322 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20324 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20325 may contain frame information, so `string-match' should be used.
20326 (gdb-update): Disassembly is invalidated through
20327 `gdb-get-selected-frame'.
20328 (gdb-pad-string): New function to pad string with spaces.
20329 (gdb-invalidate-disassembly): Invalidate only if the buffer
20331 (gdb-disassembly-handler-custom): Column alignment.
20332 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20334 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20336 (gdb-frame-handler): Match convention to for disassembly buffer
20338 (gdb-stack-list-frames-handler): Rewritten without regexps.
20339 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20340 not highlight breakpoints without line information.
20341 (gdb-input): Add trailing newline to command.
20343 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20345 (gdb-breakpoints-list-handler-custom): Replacement for
20346 `gdb-break-list-handler'. Using real parser instead of regexps
20348 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20349 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20350 to place breakpoints.
20351 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20353 (gdb-disassembly-handler-custom): Show overlay arrow.
20354 (gdb-disassembly-place-breakpoints): Show breakpoints in
20355 disassembly buffer.
20356 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20357 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20358 instead of parsing breakpoints buffer. Fixed old menu references
20363 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20364 (gdb-memory-address): New variable which holds top address of
20365 memory page shown in memory buffer.
20366 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20367 New customization variables.
20369 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20370 display the memory buffer.
20371 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20372 buffer display parameters.
20373 (def-gdb-memory-format, gdb-memory-format-binary)
20374 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20375 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20376 Functions for setting memory buffer format.
20377 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20378 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20379 unit size used in memory buffer.
20380 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20381 Switch to next/previous page of memory buffer.
20382 Now using (bindat-get-field) instead of fadr functions.
20384 2009-07-07 Sam Steingold <sds@gnu.org>
20386 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20387 non-top-level files.
20389 2009-07-07 Kenichi Handa <handa@m17n.org>
20391 * international/mule-cmds.el (reset-language-environment):
20392 Put the highset priority to the charset iso-8859-1.
20394 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20396 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20397 to the end of the line when locating the block (Bug#700).
20399 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20401 * net/tramp.el (tramp-handle-write-region): Flush file properties
20402 in case of short track.
20404 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20406 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20407 Coded custom representation of verilog error regular expressions
20408 to work with Emacs-22's new format.
20409 (verilog-error-regexp-xemacs-alist): Coded custom representation
20410 of verilog error regular expressions to work with XEmacs format.
20411 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20412 error recognition into XEmacs.
20413 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20414 error recognition into Emacs-22.
20416 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20418 * woman.el: Remove stand-alone closing parentheses.
20419 (woman-file-name, woman2-format-paragraphs)
20420 (woman-leave-blank-lines): Code cleanup.
20421 (woman-use-own-frame): Change default to nil.
20422 (woman-italic, woman-bold, woman-unknown, woman-addition):
20423 Change defaults to inherit from default faces.
20424 (woman2-process-escapes): Consume the newline after a stand-alone
20425 filler character (Bug#3651).
20427 2009-07-06 Glenn Morris <rgm@gnu.org>
20429 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20430 (top-level): Move provide to the end.
20431 (ffap): Remove defunct URL from custom group.
20433 * subr.el (eval-after-load): Doc fix.
20435 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20437 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20438 `calc-embedded-word' is called twice.
20440 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20442 * files.el (find-alternate-file-other-window, find-alternate-file):
20443 Obey confirm-nonexistent-file-or-buffer.
20445 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20447 * dired-aux.el (dired-show-file-type): Handle remote files.
20449 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20451 * desktop.el (desktop-globals-to-save):
20452 Add file-name-history (Bug#2750).
20454 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20456 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20458 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20460 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20461 property on entire argument since this is what eshell-lisp-command
20464 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20466 * net/tramp-gvfs.el (tramp-gvfs-methods)
20467 (tramp-gvfs-zeroconf-domain)
20468 (tramp-bluez-discover-devices-timeout): Add version flag.
20469 (tramp-gvfs-handler-mounted-unmounted)
20470 (tramp-gvfs-connection-mounted-p): Polish handling of
20471 incompatibilities between GVFS 0.2 and 1.0.
20473 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20475 * cus-start.el (all): Add make-pointer-invisible.
20477 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20479 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20480 formatted correctly.
20482 2009-07-02 Juri Linkov <juri@jurta.org>
20484 * info.el: Virtual Info files and nodes.
20485 (Info-virtual-files, Info-virtual-nodes): New variables.
20486 (Info-current-node-virtual): New variable.
20487 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20489 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20490 to check for a virtual file instead of checking a fixed list
20492 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20493 instead of ad-hoc processing of "dir" and (apropos history toc).
20494 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20495 instead of ad-hoc processing of "dir" and (apropos history toc).
20496 Reread a file when moving from a virtual node.
20497 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20498 (Info-directory-toc-nodes, Info-directory-find-file)
20499 (Info-directory-find-node): New functions.
20500 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20501 (Info-history): Move part of code to
20502 `Info-history-find-node'.
20503 (Info-history-toc-nodes, Info-history-find-file)
20504 (Info-history-find-node): New functions.
20505 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20506 (Info-toc): Move part of code to `Info-toc-find-node'.
20507 (Info-toc-find-node): New function.
20508 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20509 the current Info file name to references because now the node
20510 "*TOC*" belongs to the same Info manual.
20511 (Info-toc-build): Rename from `Info-build-toc'.
20512 (Info-toc-nodes): Rename input argument `file' to `filename'.
20513 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20514 instead of ad-hoc processing of ("dir" apropos history toc).
20515 (Info-index-nodes): Use Info-virtual-file-p
20516 to check for a virtual file instead of checking a fixed list
20518 (Info-index-node): Add check for `Info-current-node-virtual'.
20519 Raise `save-match-data' higher up the tree to contain
20520 `search-forward' too (bug fix).
20521 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20522 (Info-virtual-index-nodes): New variable.
20523 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20524 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20525 (Info-apropos-file, Info-apropos-nodes): New variables.
20526 (Info-apropos-toc-nodes, Info-apropos-find-file)
20527 (Info-apropos-find-node, Info-apropos-matches): New functions.
20528 (info-apropos): Move part of code to `Info-apropos-find-node' and
20529 `Info-apropos-matches'.
20530 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20531 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20532 for a virtual file instead of checking a fixed list of node names.
20534 * simple.el (async-shell-command): New command.
20536 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20538 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20539 instead of `mount-info'.
20541 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20543 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20544 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20546 2009-07-02 Kenichi Handa <handa@m17n.org>
20548 * international/mule.el (set-keyboard-coding-system): Force *-unix
20549 coding-system to avoid eol conversion.
20551 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20553 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20554 Add handler for `process-file', `shell-command' and
20555 `start-file-process'.
20556 (tramp-gvfs-handle-shell-command)
20557 (tramp-gvfs-handle-start-file-process)
20558 (tramp-gvfs-handle-process-file): New defuns.
20559 (tramp-synce-list-devices): Simplify check for existence of property.
20561 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20563 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20565 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20567 * language/korean.el (set-language-info-alist): Add korean-cp949,
20570 2009-07-01 Kenichi Handa <handa@m17n.org>
20572 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20574 * international/encoded-kb.el: Deleted.
20576 * international/mule.el (set-keyboard-coding-system): Perform the
20577 necessary setup here instead of calling encoded-kbd-setup-display.
20579 2009-07-01 Glenn Morris <rgm@gnu.org>
20581 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20583 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20585 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20587 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20589 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20590 Handle also the 'rename case, when setting file modes. (Bug#3712)
20591 (tramp-default-file-modes): Remove execute permissions.
20593 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20594 (top): Add a default for "synce" in `tramp-default-user-alist'.
20595 Add completion function for "synce" method.
20596 (tramp-hal-service, tramp-hal-path-manager)
20597 (tramp-hal-interface-manager, tramp-hal-interface-device):
20599 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20600 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20603 * net/trampver.el: Update release number.
20605 2009-06-30 Kenichi Handa <handa@m17n.org>
20607 * international/fontset.el (setup-default-fontset): Add CJK fonts
20608 for symbols and the other miscellaneous characters.
20610 * language/korea-util.el (setup-korean-environment-internal):
20611 Make char-width-table suitable for Korean environments.
20612 (exit-korean-environment): Cancel above.
20614 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20615 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20616 setup-function to make char-width-table suitable for respective
20617 environments, and an exit-function to cancel that.
20619 * language/japan-util.el (setup-japanese-environment-internal):
20620 Call use-cjk-char-width-table with arg `ja_JP'.
20622 * international/characters.el (cjk-char-width-table): Delete it.
20623 (cjk-char-width-table-list): New variable.
20624 (use-cjk-char-width-table): New arg local-name.
20625 (use-default-char-width-table): Fix for the case that Emacs is
20626 already using the default char-width-table.
20628 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20630 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20631 modes mandatory. (Bug#3712)
20633 2009-06-29 Alan Mackenzie <acm@muc.de>
20635 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20636 correction between the visible width of TABs and their number of bytes.
20638 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20640 * server.el (server-buffer-done): Prevent kill-buffer from
20641 prompting by clearing the buffer modification flag (Bug#3696).
20643 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20645 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20646 (verilog-endcomment-reason-re): Support unique case and priority case.
20647 (verilog-basic-complete-re): Support localparam lineup.
20648 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20649 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20651 (verilog-leap-to-case-head): Now support *nested* unique &
20652 priority case statements.
20653 (verilog-auto-lineup): Make just declarations the default (as it
20655 (verilog-leap-to-case-head): Support priority/unique case statements.
20656 (verilog-auto-lineup): Rework to give users radio buttons to
20657 select the various styles of automatic lineup.
20658 (verilog-error-regexp-alist): Rework to support the XEmacs style
20659 of error regular expressions from compilers, lint tools &
20660 simulators. Note that GNU Emacs has made it impossible for a mode
20661 to load such things.
20662 (electric-verilog-terminate-line, verilog-indent-declaration)
20663 (verilog-auto-wiure): Rework for radio button selection of
20664 auto-lineup selection of specification of auto lineup.
20665 (verilog-beg-of-statement-1): Redesign to support proper operation
20666 in additional code, based on testing with auto-lineup.
20667 (verilog-calculate-indent, assignments & declarations)
20668 (verilog-backward-token): Enhance to support auto-lineup of
20669 assignments & declarations.
20670 (verilog-in-directive-p, verilog-at-struct-p): New function for
20671 easy test of whether we are.
20672 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20673 to support safe execution at almost anyline.
20674 (verilog-calc-1): Properly support indenting deep inside generate
20676 (verilog-init-font): Remove definition & use of verilog-init-font,
20677 as it is redundant with font-lock-defaults.
20678 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20679 to avoid circular calls if syntax-ppss is a function (as is the
20680 case now in 22.x GNU Emacs) as that function would sometimes call
20681 itself, leading to (nearly) infinite recursion.
20682 (verilog-ovm-begin-re, verilog-ovm-end-re)
20683 (verilog-ovm-statement-re, verilog-leap-to-head)
20684 (verilog-backward-token): Add support for OVM macros. Some are
20685 complete statements, and others open and close scopes like begin
20687 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20688 (verilog-defun-level-generate-only-re): Really fix the defun-list
20690 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20691 coverpoint, constraint and cross statements.
20692 (verilog-defun-level-list, verilog-generate-defun-level-list)
20693 (verilog-all-defun-level-list): Redo these specifications - it is
20694 too hard to support eval-when compile aggregation of lists also
20695 built at when-compile time.
20696 (verilog-defun-level-list): Place defconsts of variables used in
20697 building regular expressions which are built in eval-when-compile
20698 bodies in the same eval-when-compile body to facilitate compile
20700 (verilog-beg-block-re-ordered): Support indenting
20701 virtual/protected tasks and functions.
20702 (verilog-defun-level-list, verilog-in-generate-region-p)
20703 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20704 indentation of some module items (generate items).
20705 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20706 across virtual/protected tasks and functions.
20708 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20710 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20711 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20712 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20713 in concatenations. Reported by Yishay Belkind.
20714 (verilog-auto-ascii-enum): Support one-hot state machines in
20715 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20716 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20717 modport in AUTOINST and add vl-modport for users.
20718 Reported by David Rogoff.
20719 (verilog-auto-inout-module, verilog-auto-inst)
20720 (verilog-decls-get-interfaces, verilog-insert-definition)
20721 (verilog-insert-one-definition, verilog-read-decls)
20722 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20723 (verilog-sig-modport, verilog-signals-combine-bus)
20724 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20725 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20726 Suggested by David Rogoff.
20727 (verilog-repair-open-comma): Fix non-insertion of comma when
20728 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20729 (verilog-make-width-expression): Simplify [A-1:0] expression
20730 widths to just {A{1'b0}}.
20731 (verilog-mode): Cleanup checkdoc warnings.
20732 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20733 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20734 inputs/outputs or data type. Suggested by Vasu Kandadi.
20735 (next-error-last-buffer): Fix byte-compiler warning.
20736 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20737 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20738 or shell command text during AUTO expansion. Suggested by Tad Truex.
20739 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20740 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20741 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20742 in AUTOINOUT. Reported by Matthew Lovell.
20743 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20744 causing use of <= assignments. Reported by Alex Reed.
20745 (verilog-read-decls): Fix triand, trior, wand, wor to be
20746 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20747 (verilog-extended-complete-re): Support import "DPI-C" functions.
20748 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20749 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20750 (verilog-insert-date, verilog-insert-year)
20751 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20752 Windows systems. Reported by Michael Potts.
20753 (verilog-read-module-name): Fix AUTOINST when the child module
20754 declaration's name is a tick define. Reported by Elliot Mednick.
20755 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20756 passed to next parameter's definition. Reported by Bruce T.
20757 (verilog-read-decls): Fix detecting "parameter int" when using
20758 AUTOINSTPARAM. Reported by Bruce T.
20759 (verilog-goto-defun): Fix goto not finding modules unless first
20760 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20761 (verilog-mode): Expand -f flag arguments on entry to mode so
20762 verilog-goto-defun will work. Reported by Lawrence Butcher.
20763 (verilog-getopt): Expand environment variables in -f file
20764 arguments. Suggested by Lawrence Butcher.
20765 (verilog-set-define): Fix "Symbol's value as variable is void"
20766 when reading enumerations.
20767 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20768 Suggested by Stephen Peltan.
20769 (verilog-read-defines): Fix reading of enumerations in include
20770 files. Reported by Steve Peltan.
20772 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20774 * files.el (trash-directory): Fix defcustom type.
20776 2009-06-28 Juri Linkov <juri@jurta.org>
20778 * help-fns.el (describe-function-1): Correctly locate adviced
20779 functions in hyperlink (Bug#2438).
20781 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20783 * files.el (trash-directory): Change default to nil.
20784 (move-file-to-trash): If trash-directory is nil and
20785 system-move-file-to-trash is unbound, perform freedesktop-style
20788 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20790 * files.el (move-file-to-trash): Add freedesktop trash
20793 2009-06-28 Glenn Morris <rgm@gnu.org>
20795 * autorevert.el (global-auto-revert-non-file-buffers)
20796 (global-auto-revert-mode): Doc fixes.
20798 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20800 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20802 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20804 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20805 opened an X connection before calling x-get-resource (Bug#3194).
20807 * play/doctor.el: Remove reference to obsolete website.
20808 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20810 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20812 Remove find-file-not-found-hook VC method. (Bug#2757)
20813 * vc-hooks.el (vc-file-not-found-hook)
20814 (vc-default-find-file-not-found-hook): Remove functions.
20815 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20816 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20819 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20821 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20823 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20824 compatibility function for `looking-back'.
20826 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20827 Use `ispell-looking-back'.
20829 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20831 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20832 rather than `filename'.
20834 2009-06-23 Miles Bader <miles@gnu.org>
20836 * face-remap.el (text-scale-set): New function.
20838 2009-06-23 Glenn Morris <rgm@gnu.org>
20840 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20842 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20844 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20846 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20848 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20849 Simplify Persian conditionals.
20851 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20852 variable `filename'.
20854 * comint.el (comint-insert-input): Doc fix.
20856 * Makefile.in (ELCFILES): Fix typo in previous change.
20858 2009-06-23 Miles Bader <miles@gnu.org>
20860 * cus-start.el: Add entry for `recenter-redisplay'.
20862 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20864 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20865 Add an optional argument for the backend, use it instead of
20866 calling vc-backend.
20867 (vc-mode-line): Add an optional argument for the backend.
20868 Pass the backend to vc-state and vc-working-revision. Move code for
20869 special handling for vc-state being a buffer to ...
20871 * vc-rcs.el (vc-rcs-find-file-hook):
20872 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20874 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20875 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20876 vc-stay-local-p and vc-mode-line calls.
20878 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20879 (vc-cvs-diff, vc-cvs-annotate-command)
20880 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20881 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20882 vc-mode-line calls.
20884 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20886 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20887 backend when calling vc-mode-line.
20888 (vc-register): Do not create a closure for calling the vc register
20889 function, call it directly.
20891 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20893 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20894 to make it obvious item can be clicked.
20896 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20898 2009-06-23 Kenichi Handa <handa@m17n.org>
20900 * language/korea-util.el (korean-key-bindings): Change the binding
20901 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20904 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20906 Sync with Tramp 2.1.16.
20908 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20910 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20911 when a loading of a package fails. Completion function for rsync
20912 is `tramp-completion-function-alist-ssh'.
20913 (all): Replace all calls of `split-string' and
20914 `tramp-split-string' by `tramp-compat-split-string'.
20915 (tramp-default-method): Use `tramp-compat-process-running-p'.
20916 (tramp-default-proxies-alist): Allow also Lisp forms.
20917 (tramp-remote-path): Add choice "Private Directories".
20918 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20919 (tramp-domain-regexp): Allow also "-", "_" and ".".
20920 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20921 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20922 (tramp-debug-message): Insert header line in debug buffer.
20923 (tramp-handle-directory-files-and-attributes-with-stat):
20924 Care about filenames with spaces, or starting with "-".
20925 (tramp-handle-dired-uncache): New defun.
20926 (tramp-handle-insert-directory): Don't flush the directory from
20927 cache, this is handled by `dired-uncache' now.
20928 (tramp-handle-insert-file-contents): Improve error handling.
20929 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20930 Quote `tramp-end-of-output'.
20931 (tramp-action-password): Improve trace message.
20932 (tramp-check-for-regexp): Both echoes must be present, before removing.
20933 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20934 (tramp-compute-multi-hops): Eval cons cells of
20935 `tramp-default-proxies-alist'.
20936 (tramp-maybe-open-connection): Use the same command pattern for
20937 first hop and further hops.
20938 (tramp-wait-for-output): Remove handling of newlines.
20939 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20940 (tramp-split-string): Remove function. It is handled in
20943 * net/tramp-cmds.el (tramp-bug):
20944 Recommend `tramp-cleanup-all-connections' in the bug mail.
20946 * net/tramp-compat.el (tramp-compat-split-string)
20947 (tramp-compat-process-running-p): New defuns.
20949 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20950 for `dired-uncache'.
20952 * net/tramp-gvfs.el: New package.
20954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20955 Add handler for `dired-uncache'.
20956 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20958 * net/trampver.el: Update release number. Make version check fit
20961 2009-06-22 Jim Meyering <meyering@redhat.com>
20963 Automatically handle .xz suffix (XZ-compressed files), too.
20964 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20965 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20967 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20968 Nick Roberts <nickrob@snap.net.nz>
20970 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20971 repository (http://sphinx.net.ru/hg/gdb-mi/).
20973 2009-06-22 Glenn Morris <rgm@gnu.org>
20975 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20976 `mode' and `eval' entries. (Bug#3430)
20978 * Makefile.in (ELCFILES): Add fadr.elc.
20980 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20981 differing behavior of \n and ^ in strings. (Bug#3385)
20983 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20985 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20987 (lisp-indent-function): Make it a defcustom.
20989 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20991 * progmodes/gdb-ui.el: Replace with ...
20992 * progmodes/gdb-mi.el: ... this file.
20993 * progmodes/gud.el: Modify for gdb-mi.el.
20995 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20997 * fadr.el: New file.
20999 See ChangeLog.14 for earlier changes.
21001 ;; Local Variables:
21005 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
21007 This file is part of GNU Emacs.
21009 GNU Emacs is free software: you can redistribute it and/or modify
21010 it under the terms of the GNU General Public License as published by
21011 the Free Software Foundation, either version 3 of the License, or
21012 (at your option) any later version.
21014 GNU Emacs is distributed in the hope that it will be useful,
21015 but WITHOUT ANY WARRANTY; without even the implied warranty of
21016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21017 GNU General Public License for more details.
21019 You should have received a copy of the GNU General Public License
21020 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.