1 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
4 (tmm-prompt): Simplify.
5 (tmm-add-prompt): Remove unused var `win'.
7 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
8 to minor mode which used nil accidentally to mean "turn off".
10 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
12 * net/tramp-sh.el (tramp-find-inline-compress)
13 (tramp-get-inline-coding): Quote command after pipe symbol for
14 local calls under W32. (Bug#6784)
16 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
18 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
19 only when running under W32.
21 2011-01-15 Eli Zaretskii <eliz@gnu.org>
23 * progmodes/grep.el (grep-compute-defaults): Quote the program
24 file name after the pipe symbol in Grep templates. (Bug#6784)
25 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
27 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
29 * buff-menu.el (Buffer-menu-buffer-list): New var.
30 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
31 restricted buffer list is not lost on revert (Bug#7749).
33 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
35 * net/ldap.el (ldap-search-internal): Discard stderr output.
37 2011-01-15 Eli Zaretskii <eliz@gnu.org>
39 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
41 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
43 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
45 2011-01-15 Kenichi Handa <handa@m17n.org>
47 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
49 (rmail-mime-process-multipart): Set the default content-type to
50 nil for unknown multipart subtypes (bug#7651).
52 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
54 * hexl.el (hexl-mode-old-*): Remove.
55 (hexl-mode--old-var-vals): New var to replace them.
56 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
57 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
58 Use them to set local vars (bug#7846).
59 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
60 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
61 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
63 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
64 (smerge-resolve--normalize-re): New var.
65 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
66 (smerge-resolve): Use them.
67 * newcomment.el (comment-only-p): New function.
68 (comment-or-uncomment-region): Use it.
70 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
72 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
73 table, get the value before switching to the output buffer. (Bug#7733)
75 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
77 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
79 2011-01-14 Kim F. Storm <storm@cua.dk>
81 * emulation/cua-base.el (cua--init-keymaps):
82 Remap exchange-point-and-mark in cua-global-keymap.
84 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
86 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
89 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
91 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
93 (easy-menu-create-menu, easy-menu-convert-item-1):
94 Use :label rather than nil for labels. Use `case'.
95 Add :enable as alias for :active.
96 (easy-menu-binding): Obey :label.
98 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
100 Use run-mode-hooks for major mode hooks (bug#513).
101 * textmodes/reftex-toc.el (reftex-toc-mode-map):
102 Rename from reftex-toc-map.
103 (reftex-toc-mode): Use define-derived-mode.
104 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
105 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
106 Rename from reftex-select-(label|bib)-map. Move init into declaration.
107 (reftex-select-label-mode, reftex-select-bib-mode):
108 Use define-derived-mode.
109 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
110 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
111 Move init into delcaration.
112 (reftex-index-mode, reftex-index-phrases-mode):
113 Use define-derived-mode.
114 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
115 speedbar-syntax-table. Move init into declaration.
116 (speedbar-mode-map): Rename from speedbar-key-map.
117 Move init into declaration.
118 (speedbar-file-key-map): Move init into declaration.
119 (speedbar-mode): Use define-derived-mode.
120 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
121 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
122 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
123 (chart-face-list): Move initialization into declaration.
124 (chart-mode): Use define-derived-mode.
125 * calculator.el (calculator-mode-map): Move init into declaration.
126 (calculator-mode): Use define-derived-mode.
128 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
129 work for nested comments.
131 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
132 (prolog-use-prolog-tokenizer-flag): Change default when
133 syntax-propertize can be used.
134 (prolog-syntax-propertize-function): New var.
135 (prolog-mode-variables): Move make-local-variable into `set'.
136 Don't make comment-column local since we don't set it.
137 Set comment-add (as it was in previous prolog.el). Use dolist.
138 Set syntax-propertize-function.
139 (prolog-mode, prolog-inferior-mode):
140 Call prolog(-inferior)-menu directly, not through the mode-hook.
141 (prolog-buffer-module, prolog-indent-level)
142 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
143 (prolog-comment-limits, prolog-goto-comment-column):
144 Use line-(end|beginning)-position.
145 (prolog-build-prolog-command): Tighten up regexp.
146 (prolog-consult-compile): Move make-local-variable into `set'.
147 (prolog-consult-compile-filter, prolog-goto-next-paren)
148 (prolog-help-on-predicate, prolog-clause-info)
149 (prolog-mark-predicate): Don't let+setq.
150 (prolog-indent-line): Use indent-line-to.
151 Only call prolog-goto-comment-column if necessary.
152 (prolog-indent-level): Use bobp.
153 (prolog-first-pos-on-line): Remove, not used any more.
154 (prolog-in-string-or-comment): Use syntax-ppss if available.
155 (prolog-help-on-predicate): Use read-string.
156 (prolog-goto-predicate-info): Simplify.
157 (prolog-read-predicate): Use `default' rather than `initial'.
158 (prolog-temporary-file): Use make-temp-file to close a security hole.
159 (prolog-toggle-sicstus-sd): New command.
160 (prolog-electric-underscore, prolog-variables-to-anonymous):
161 Use dynamic-scoping as it was meant.
162 (prolog-menu): Move menu definitions to top-level.
163 Use a toggle-button for Sicstus's source debugger.
164 Change "Code" to the more usual "Prolog", and hence change "Prolog"
166 (prolog-inferior-menu): Reuse prolog-menu's help menu.
167 Move other menu definition to top-level.
169 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
171 * doc-view.el (doc-view-open-text): Use meaningful text buffer
172 name. Keep original document's directory as default-directory
174 (doc-view-initiate-display): Fall back to normal mode when
175 doc-view-mode cannot be enabled, also when extracting the document
176 text into a separate buffer (bug#6446).
178 * simple.el (shell-command): Don't error out if shell command
179 buffer contains text with non-nil read-only property when erasing
182 2011-01-13 Kim F. Storm <storm@cua.dk>
184 * ido.el (ido-may-cache-directory): Move "too-big" check later.
185 (ido-next-match, ido-prev-match): Fix stray reordering of matching
186 items when cycling through the matches.
188 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
190 * dired-x.el (dired-omit-verbose): New defcustom that allows
191 disabling the omit messages.
192 (dired-omit-expunge): Use it.
194 2011-01-13 Christian Ohler <ohler@gnu.org>
196 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
198 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
200 * font-lock.el (font-lock-verbose): Default to nil.
202 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
204 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
205 (compose-mail): New arg RETURN-ACTION.
206 (compose-mail-other-window, compose-mail-other-frame): Likewise.
208 * mail/sendmail.el (mail-return-action): New var.
209 (mail-mode): Make it buffer-local.
210 (mail-bury): Obey it. Move special Rmail window handling to
212 (mail, mail-setup): New arg RETURN-ACTION.
213 (sendmail-user-agent-compose): Move from simple.el.
215 * mail/rmail.el (rmail-mail-return): New function.
216 (rmail-start-mail): Pass it to compose-mail.
218 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
220 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
221 menus. Add menu item for customize-themes.
223 * cus-theme.el (customize-themes):
224 * emacs-lisp/package.el (package--list-packages): Use
227 2011-01-11 Johan Bockgård <bojohan@gnu.org>
229 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
231 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
233 * progmodes/prolog.el: Fix up coding convention and such.
234 (prolog-indent-width): Use the same default as in
235 previous prolog.el rather than tab-width which depends on which buffer
236 is current when the file is loaded.
237 (prolog-electric-newline-flag): Only enable if electric-indent-mode
239 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
240 (prolog-known-systems): Remove.
241 (prolog-mode-syntax-table, prolog-inferior-mode-map):
242 Move initialization into declaration.
243 (prolog-mode-map): Move initialization into declaration.
244 Remove system-specific mode-map vars, since they referred to the same
246 (prolog-mode-variables): Obey the user's preference w.r.t
247 adaptive-fill-mode. Prefer symbol-value to `eval'.
248 (prolog-mode-keybindings-edit): Add compatibility bindings.
249 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
250 (mercury-mode-map): New var.
251 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
252 (prolog-ensure-process, prolog-process-insert-string)
253 (prolog-consult-compile): Use with-current-buffer.
254 (prolog-guess-fill-prefix): Simplify data flow.
255 (prolog-replace-in-string): New function to use instead of
257 (prolog-enable-sicstus-sd): Don't abuse `eval'.
258 (prolog-uncomment-region): Use `uncomment-region' when available.
259 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
260 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
261 of int-to-char and char-to-int.
262 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
264 2011-01-11 Stefan Bruda <stefan@bruda.ca>
266 * progmodes/prolog.el: Replace by a whole new file.
268 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
270 * subr.el (eval-after-load): Fix timing for features (bug#7769).
271 (declare-function, undefined, insert-for-yank)
272 (replace-regexp-in-string): Follow checkdoc's recommendations.
274 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
276 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
277 refreshing the diary buffer.
279 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
281 * allout.el: Add 2011 to the file copyright.
282 (allout-encrypt-string): Prevent encryption from adding an extra
283 newline at the end of the topic body.
284 (allout-version): Increment to 2.3.
286 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
288 * net/dbus.el (dbus-unregister-service): Complete doc.
289 Fix call of dbus-error signal.
290 (dbus-register-property): Use `dont-register' keyword.
292 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
294 * net/dbus.el (dbus-unregister-service): Translate returned
295 integer into a symbol.
296 (dbus-register-property): Use `dbus-register-service' to do the
299 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
301 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
302 Suggested by Joakim Verona.
304 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
306 * wid-edit.el (visibility): Replace :on-image and :off-image
307 widget properties with :on-glyph and :off-glyph, for consistency
308 with the `visibility' widget.
309 (widget-toggle-value-create, widget-visibility-value-create):
310 Merge into a single function `widget-toggle-value-create'.
312 * cus-edit.el (custom-variable-value-create, custom-visibility)
313 (custom-face-edit-value-create, custom-face-value-create):
314 Replace :on-image and :off-image widget properties with :on-glyph and
315 :off-glyph, for consistency with the `visibility' widget.
317 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
319 * net/ldap.el (ldap-search-internal): Don't use eval.
321 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
323 * subr.el (read-char-choice): Use read-key.
325 * custom.el (custom-safe-themes): Rename from
326 custom-safe-theme-files. Add :risky tag.
327 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
328 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
330 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
332 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
333 from Search and add a label to Undo.
335 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
336 inappropriate buttons and adding :vert-only tags.
338 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
339 removal of Help tool-bar button. Remove Undo button for space.
341 * info.el (info-tool-bar-map): Add :vert-only tags.
343 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
345 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
346 image backend support. Either of them is fine.
348 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
350 * subr.el (y-or-n-p): Doc fix.
352 * custom.el (custom-safe-theme-files): New defcustom.
353 (custom-theme-load-confirm): New function.
354 (load-theme): Load theme using `load', confirming with
355 custom-theme-load-confirm if necessary.
357 * subr.el (read-char-choice): New function, factored out from
358 dired-query and hack-local-variables-confirm.
360 * dired-aux.el (dired-query):
361 * files.el (hack-local-variables-confirm): Use it.
363 * dired-aux.el (dired-compress-file):
364 * files.el (abort-if-file-too-large, find-alternate-file)
365 (set-visited-file-name, write-file, backup-buffer)
366 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
367 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
368 Use new format string args for y-or-n-p and yes-or-no-p.
370 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
372 * progmodes/compile.el (compilation-error-regexp-alist-alist)
373 [gcc-include]: Tighten file name match, add match for column
375 [gnu]: Remove unused group.
377 2011-01-08 Glenn Morris <rgm@gnu.org>
379 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
381 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
383 2011-01-07 Sam Steingold <sds@gnu.org>
385 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
386 the `explicit-shell-file-name' because that is the
387 non-interactive shell.
389 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
391 * subr.el (y-or-n-p): Accept format string args.
393 2011-01-07 Glenn Morris <rgm@gnu.org>
395 * Makefile.in (EMACSOPT): Add --no-site-lisp.
397 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
399 * allout.el (allout-back-to-current-heading): Ensure return to
400 the visible containing topic, rather than a collapsed one.
401 (allout-view-change-hook): Remove hook that was deprecated long ago.
402 (allout-exposure-change-hook): Remove documentation remarks
403 concerning removed allout-view-change-hook.
404 (allout-flag-region): Remove invocation of and documentation
405 remarks concerning allout-view-change-hook.
407 2011-01-06 Glenn Morris <rgm@gnu.org>
409 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
410 (vc-bzr-annotate-extract-revision-at-line):
411 Handle authors with embedded spaces. (Bug#7792)
413 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
415 * doc-view.el (doc-view-image-width): New variable.
416 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
417 backend for PNG images, and do dynamic rescaling instead of
418 reconverting the whole doc.
420 2011-01-05 Glenn Morris <rgm@gnu.org>
422 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
424 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
426 * allout.el: Reconcile with changes in line movement behavior for
427 long text lines that cross more than a single physical window
428 line, ie when truncate-lines is nil.
429 (allout-next-visible-heading): Provide for change in line-move
430 behavior on long lines when truncate-lines is nil. In that case,
431 line-move can wind up on the same textual line when it moves to
432 the next window line, and moving to the bullet position after the
433 move yields zero advancement. Add logic to detect and compensate
434 for the lack of progress.
435 (allout-current-topic-collapsed-p): move-end-of-line respect for
436 field boundaries is different when operating with body lines
437 shorter than window width versus ones greater than window width,
438 which can yield false negatives in this function. Avoid
439 difference by applying move-end-of-line while field-text-motion is
442 2011-01-04 Glenn Morris <rgm@gnu.org>
444 * textmodes/rst.el (rst-compile-toolsets):
445 Add pdf and s5 to option alist.
447 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
449 * net/dbus.el (dbus-register-property): Add optional parameter
450 dont-register-service. Updated docstring accordingly.
452 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
454 * textmodes/rst.el (rst-compile-pdf-preview)
455 (rst-compile-slides-preview): Remove extra line.
457 2011-01-04 Glenn Morris <rgm@gnu.org>
459 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
460 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
461 default to `prog' without a .py extension.
462 (rst-compile-pdf-preview, rst-compile-slides-preview):
463 Use program names from rst-compile-toolsets, rather than hard-coding.
464 (rst-portable-mark-active-p): Fix presumed typo.
466 2011-01-02 Eli Zaretskii <eliz@gnu.org>
468 * term/w32-win.el (dynamic-library-alist): Set up correctly for
469 libpng versions both before and after 1.4.0. (Bug#7716)
471 2011-01-02 Eli Zaretskii <eliz@gnu.org>
473 * time.el (display-time-mode): Mention display-time-interval in
474 the doc string. (Bug#7713)
476 2011-01-02 Kenichi Handa <handa@m17n.org>
478 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
479 condition-case and return an error message string if something
481 (rmail-show-mime): Adjust for the above change. Insert the
482 header by rmail-mime-insert-header.
484 2011-01-02 Kenichi Handa <handa@m17n.org>
486 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
487 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
488 (rmail-mime-mbox-buffer)
489 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
490 (rmail-mime-entity): Argument changed. All codes handling an
491 entity object are changed.
492 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
494 (rmail-mime-entity-children, rmail-mime-entity-handler)
495 (rmail-mime-entity-tagline): New functions.
496 (rmail-mime-message-p): New function.
497 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
498 (rmail-mime-entity-segment, rmail-mime-next-item)
499 (rmail-mime-previous-item, rmail-mime-shown-mode)
500 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
501 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
502 (rmail-mime-insert-tagline, rmail-mime-insert-header):
504 (rmail-mime-text-handler): Call rmail-mime-insert-text.
505 (rmail-mime-insert-decoded-text): New function.
506 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
507 (rmail-mime-insert-image): Argument changed. Caller changed.
508 (rmail-mime-image): Call rmail-mime-toggle-hidden.
509 (rmail-mime-set-bulk-data): New funciton.
510 (rmail-mime-insert-bulk): Argument changed.
511 (rmail-mime-multipart-handler): Return t.
512 (rmail-mime-process-multipart): Argument changed.
513 Handle "multipart/alternative" here.
514 (rmail-mime-process): Argument changed.
515 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
516 (rmail-mime-insert): Argument changed. Handle raw display mode.
517 (rmail-mime): Argument changed. Handle toggling of raw display
519 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
520 rmail-mime-view-buffer.
521 (rmail-insert-mime-forwarded-message): Likewise.
522 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
524 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
525 non-nil, handle the header in rmail-show-mime-function.
527 2011-01-02 Leo <sdl.web@gmail.com>
529 * help-fns.el (describe-variable): Fix previous change.
531 2011-01-02 Juri Linkov <juri@jurta.org>
533 * isearch.el (isearch-lazy-highlight-error): New variable.
534 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
535 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
536 to the current value of `isearch-error' (Bug#7468).
538 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
540 * help-fns.el (describe-variable): Don't emit trailing whitespace
543 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
545 * textmodes/rst.el (rst-compile-pdf-preview)
546 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
548 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
550 * emulation/edt-mapper.el: Override mapping of function keys so
551 that the later call to read-key-sequence works.
553 2011-01-02 Eli Zaretskii <eliz@gnu.org>
555 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
556 Unix EOLs. (Bug#7589)
558 2011-01-02 Leo <sdl.web@gmail.com>
560 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
561 if point is not behind eshell-last-output-end (Bug#7585).
563 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
565 * files.el (file-local-variables-alist):
566 Make permanent-local (bug#7767).
568 2011-01-02 Glenn Morris <rgm@gnu.org>
570 * version.el (emacs-copyright): Set short copyright year to 2011.
572 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
574 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
575 an existing temp buffer. (Bug#7746)
577 2011-01-02 Glenn Morris <rgm@gnu.org>
579 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
580 multiple addresses. (Bug#7760)
582 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
584 * allout.el (allout-auto-fill): Do not infinitely recurse - use
585 do-auto-fill if everything points back to allout-auto-fill.
586 (allout-mode-deactivate-hook): Declare obsolete, in favor of
587 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
589 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
591 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
594 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
596 * doc-view.el (doc-view-set-doc-type): New function refactored
598 (doc-view-fallback-mode): New function.
599 (doc-view-mode): Use it.
600 (doc-view-mode-maybe): New function that checks if doc-view-mode
601 can be used and falls back to the next best mode otherwise.
603 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
604 DVI, OpenDocument, and MS Office files.
606 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
608 * emacs-lisp/rx.el (rx-syntax): Fix typo.
610 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
612 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
613 on a copy of auto-mode-alist, because that deletes with side
616 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
618 * doc-view.el (doc-view-mode, doc-view-toggle-display):
619 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
620 fallback instead of hard coding fundamental mode.
622 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
624 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
625 Office) files also for searching.
627 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
629 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
630 Office) files. Not yet enabled via auto-mode-list.
631 (doc-view-unoconv-program): New custom variable.
632 (doc-view-mode-p): Handle new odf document type.
633 (doc-view-odf->pdf): New conversion function.
634 (doc-view-convert-current-doc): Call it for odf files.
635 (doc-view-mode): Recognize newly supported file extensions.
637 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
639 * net/tramp.el (tramp-default-method-alist)
640 (tramp-default-user-alist)
641 (tramp-local-host-regexp, tramp-prefix-domain-format)
642 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
649 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
650 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
652 2010-12-29 Karl Fogel <kfogel@red-bean.com>
654 * saveplace.el (save-place-alist-to-file): Save list sorted and
655 pretty-printed, so that it is mergeable by line-based text merging,
656 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
658 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
660 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
661 (allout-mode): Argument "toggle" => "force".
662 Refine the docstring.
663 Remove special provisions for reactivation, besides the 'force'
665 Consolidate layout provisions coce directly into the activation
666 condition branch, now that we've removed those provisions.
667 (allout-unload-function): Explicitly activate the mode before
668 deactivating, if it's initially deactivated.
669 (allout-set-buffer-multibyte): Properly prevent byte-compiler
670 warnings for version of function used only where
671 set-buffer-multibyte is unavailable.
673 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
675 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
676 are handled by the menu-bar entries. As before, don't use
677 :visibile to avoid changing the tool-bar.
679 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
681 * net/secrets.el (secrets-delete-alias): New defun.
683 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
685 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
686 methods, otherwise ~/.ssh/config would be ignored.
688 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
690 * emacs-lisp/rx.el: Make it a superset of sregex.
691 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
692 of args, add `regex' alias.
693 (rx-info): Add arg to distinguish head and standalone forms.
694 (rx-check, rx-form): Pass the corresponding arg.
696 (rx-repeat): Make it work for any number of args.
697 (rx-syntax): Make it accept syntax chars as is.
698 * obsolete/sregex.el: Move from emacs-lisp/.
699 * emacs-lisp/re-builder.el: Remove sregex support.
700 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
702 2010-12-25 Eli Zaretskii <eliz@gnu.org>
704 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
705 PRIMARY first, then the clipboard. (Bug#7699)
707 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
709 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
712 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
714 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
715 .emacs.elc (Bug#7530).
717 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
718 image spec (Bug#7480).
720 2010-12-21 Daiki Ueno <ueno@unixuser.org>
722 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
723 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
726 2010-12-20 Leo <sdl.web@gmail.com>
728 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
729 always be performed (Bug#7680).
731 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
733 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
734 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
737 * color.el: Move from gnus/.
739 * vc/diff.el (diff-better-file-name): Function deleted.
740 abbreviating file names causes problems with shell-quote-argument.
741 (diff-no-select): Just use expand-file-name.
743 * tool-bar.el (tool-bar--image-expression): New function.
744 (tool-bar-local-item, tool-bar--image-exp): Use it.
745 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
746 Use :enable instead of :visible to avoid changing the tool-bar
747 configuration unnecessarily.
749 * info.el (info-tool-bar-map): Add separators.
751 2010-12-17 Ken Brown <kbrown@cornell.edu>
753 * loadup.el: Use version numbers in Cygwin build.
755 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
757 * ido.el (ido-file-internal): Ask for confirmation before
758 overwriting an existing file (Bug#1238).
760 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
762 * tool-bar.el (tool-bar-setup): Add separators.
764 * menu-bar.el (featurep): Use menu-bar-separator.
766 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
768 Migrate allout encryption provisions from pgg to epg.
770 * allout.el (allout-toggle-current-subtree-encryption)
771 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
772 defaulting policy and other changes. Change fetch-pass to keymode-cue,
773 for simpler universal argument interpretation.
774 (allout-toggle-subtree-encryption): Adjust docstring to describe
775 changed encryption provisions. Change fetch-pass to keymode-cue, for
776 simpler universal argument interpretation. Remove provisions for
777 handling key type and identity - they'll all be within
778 allout-encrypt-string or epg/epg or even contained all the way in gpg.
779 (allout-encrypt-string): Include keymode-cue, for optionally prompting
780 for keypair recipients (universal argument > 1) and, in addition,
781 associating the specified recipients with the outline (universal
782 argument > 4) using a file local variable setting for
783 'epa-file-encrypt-to'.
784 Require epa, for recipients handling.
785 Change how regexp filtering elements are named.
786 Describe the problem with caching of incorrect symmetric-decryption
788 Use the epa-passphrase-callback-function, in case the user is using
790 Support saving of the selected keypair recipients when invoked with a
792 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
794 Establish epg-context with armoring and default epg-protocol.
795 Remove all passphrase cache, verification, and hinting code.
796 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
797 No longer used, delete.
798 (allout-mode): Adjust docstring to describe changed encryption
799 provisions. Describe the problem with caching of incorrect
800 symmetric-decryption keys.
801 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
802 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
803 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
804 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
807 2010-12-16 Daiki Ueno <ueno@unixuser.org>
809 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
810 key selection prompt; make 'silent as default (Bug#7487).
812 2010-12-16 Leo <sdl.web@gmail.com>
814 * eshell/eshell.el (eshell-directory-name):
815 Use locate-user-emacs-file (Bug#7578).
817 2010-12-15 Glenn Morris <rgm@gnu.org>
819 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
821 2010-12-15 Jari Aalto <jari.aalto@cante.net>
822 Scott Evans <gse@antisleep.com>
824 * rect.el (rectange--default-line-number-format)
825 (rectangle-number-line-callback): New functions.
826 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
828 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
830 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
831 Delete unused variables.
832 (move-to-column-force): Remove function obsolete since 21.2.
834 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
836 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
837 (tramp-handle-insert-file-contents): Do not set permanent-local
840 * net/tramp-cache.el (tramp-persistency-file-name):
841 Use `locate-user-emacs-file' if fboundp.
843 * net/tramp-sh.el (tramp-methods): Add "ksu".
844 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
847 2010-12-14 Glenn Morris <rgm@gnu.org>
849 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
850 (find-tag-marker-ring): Declare.
851 (js-find-symbol): Require etags.
853 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
855 (mail-alias-file): Don't autoload. Doc fix.
856 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
857 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
858 Mark as obsolete, and risky.
859 (mail-setup): Simplify.
861 * mail/mailalias.el (build-mail-aliases): Make it interactive.
862 * mail/sendmail.el (build-mail-aliases): Update autoload.
864 * dired.el (dired-trivial-filenames, dired-chown-program)
865 (dired-auto-revert-buffer): Remove autoload cookies.
866 * mail/sendmail.el (mail-recover-1): Require 'dired.
868 * dired.el (dired-subdir-switches, dired-chown-program)
869 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
870 Make into defcustoms.
871 (dired-chown-program): Simplify initialization.
873 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
875 2010-12-13 Romain Francoise <romain@orebokech.com>
877 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
879 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
881 * net/netrc.el (netrc-point-at-eol): Remove the unused
882 netrc-point-at-old and netrc-bound-and-true-p bindings.
883 (netrc-parse): Cache the netrc contents.
885 2010-12-13 Eli Zaretskii <eliz@gnu.org>
887 * subr.el (posn-col-row): Evaluate header-line-format in the
888 context of the POSITION window's buffer.
890 2010-12-13 Glenn Morris <rgm@gnu.org>
892 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
893 (with-silent-modifications): Doc fixes.
895 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
897 * net/tramp.el (tramp-action-password, tramp-process-actions):
898 Revert previous from. Use `save-restriction'.
900 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
902 * calendar/diary-lib.el (diary-list-sexp-entries):
903 Handle case of no newline at end of file. (Bug#7536)
905 2010-12-13 Glenn Morris <rgm@gnu.org>
907 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
909 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
911 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
912 (tramp-process-actions): Do not widen.
914 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
915 Protect buffer-modified value. (Bug#7557)
917 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
919 * log-edit.el (log-edit-changelog-entries):
920 Regexp quote filename. (Bug#7505)
922 2010-12-13 Tom Breton <tehom@panix.com>
924 * cus-edit.el (custom-save-all):
925 Bind print-length and print-level to nil. (Bug#7581)
927 2010-12-13 Glenn Morris <rgm@gnu.org>
929 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
930 Run hooks to update menu contents. (Bug#7586)
932 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
933 file names, for the sake of MS Windows. (Bug#7588)
935 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
937 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
938 empty lines without a leading space.
940 2010-12-13 Leo <sdl.web@gmail.com>
942 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
943 while mapping over marks (Bug#6810).
945 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
947 * image-dired.el (image-dired-db-file)
948 (image-dired-temp-image-file, image-dired-gallery-dir)
949 (image-dired-temp-rotate-image-file): Set default values relative
950 to image-dired-dir (Bug#7518).
952 2010-12-13 Lawrence Mitchell <wence@gmx.li>
954 * format.el (format-decode-run-method): Pass args FROM and TO, not
955 point-min and point-max, to shell-command-on-region (Bug#7488).
957 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
959 * frame.el (blink-cursor-mode): Make default t for ns.
961 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
963 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
965 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
967 * comint.el (comint-dynamic-list-input-ring)
968 (comint-dynamic-complete-filename)
969 (comint-replace-by-expanded-filename)
970 (comint-dynamic-simple-complete)
971 (comint-dynamic-list-filename-completions)
972 (comint-dynamic-list-completions): Doc fix (Bug#7499).
974 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
977 2010-12-13 Martin Rudalics <rudalics@gmx.at>
979 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
982 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
984 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
987 2010-12-13 Eli Zaretskii <eliz@gnu.org>
989 * files.el (file-relative-name): Handle UNC file names on
990 DOS/Windows. (Bug#4674)
992 2010-12-13 Daiki Ueno <ueno@unixuser.org>
994 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
995 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
996 (epg-context-set-passphrase-callback): Mention that the callback
997 is not called when used with GnuPG 2.x.
999 2010-12-13 Glenn Morris <rgm@gnu.org>
1001 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1002 Ensure ps-footer-font-size-internal is initialized.
1003 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1005 2010-12-13 Kenichi Handa <handa@m17n.org>
1007 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1008 within condition-case.
1009 (rmail-show-mime): Don't use condition-case.
1010 (rmail-search-mime-message): New function.
1011 (rmail-search-mime-message-function): Set to
1012 rmail-search-mime-message.
1014 2010-12-13 Leo <sdl.web@gmail.com>
1016 * ido.el (ido-common-initialization): New function. (bug#3274)
1018 (ido-completing-read): Call it.
1020 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1022 * bookmark.el (bookmark-name-from-full-record): Rename back to
1023 this original name from `bookmark-name-from-record' reverting part
1024 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1025 As Drew Adams pointed out, there was no reason to cause churn for
1026 third-party callers.
1028 2010-12-12 Alan Mackenzie <acm@muc.de>
1030 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1031 template arglist, check that the current language supports this.
1033 2010-12-11 Glenn Morris <rgm@gnu.org>
1035 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1036 state of the file matches. (Bug#7544)
1037 (vc-bzr-register, vc-bzr-checkin)
1038 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1039 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1041 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1043 2010-12-11 Karel Klíč <kklic@redhat.com>
1045 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1047 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1049 Derive from prog-mode, use derived-mode-p, and fix up various
1050 minor style issues in lisp/progmodes.
1052 * progmodes/vhdl-mode.el (vhdl-mode):
1053 * progmodes/verilog-mode.el (verilog-mode):
1054 * progmodes/vera-mode.el (vera-mode):
1055 * progmodes/sql.el (sql-mode):
1056 * progmodes/scheme.el (scheme-mode):
1057 * progmodes/perl-mode.el (perl-mode):
1058 * progmodes/octave-inf.el (inferior-octave-mode):
1059 * progmodes/autoconf.el (autoconf-mode):
1060 * progmodes/m4-mode.el (m4-mode):
1061 * progmodes/inf-lisp.el (inferior-lisp-mode):
1062 * progmodes/idlwave.el (idlwave-mode):
1063 * progmodes/icon.el (icon-mode):
1064 * progmodes/idlw-help.el (idlwave-help-mode):
1065 * progmodes/dcl-mode.el (dcl-mode):
1066 * progmodes/idlw-shell.el (idlwave-shell-mode):
1067 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1068 (ebrowse-member-mode, ebrowse-electric-position-mode):
1069 Use define-derived-mode.
1071 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1072 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1073 (xscheme-debugger-mode-p, xscheme-send-string-1):
1074 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1075 (tcl-load-file, tcl-restart-with-file):
1076 * progmodes/ps-mode.el (ps-run-running):
1077 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1078 * progmodes/js.el (js--get-all-known-symbols):
1079 * progmodes/inf-lisp.el (inferior-lisp-proc):
1080 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1081 (idlwave-template, idlwave-update-buffer-routine-info)
1082 (idlwave-update-current-buffer-info)
1083 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1084 (idlwave-scan-class-info, idlwave-fix-keywords)
1085 (idlwave-list-buffer-load-path-shadows):
1086 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1087 (idlwave-toolbar-remove):
1088 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1089 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1090 (idlwave-shell-menu-def):
1091 * progmodes/idlw-complete-structtag.el
1092 (idlwave-prepare-structure-tag-completion):
1093 * progmodes/gud.el (gud-set-buffer):
1094 * progmodes/f90.el (f90-backslash-not-special):
1095 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1097 * progmodes/xscheme.el (xscheme-start)
1098 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1099 * progmodes/which-func.el (which-function):
1100 * progmodes/vhdl-mode.el (vhdl-set-style):
1101 * progmodes/verilog-mode.el (verilog-set-compile-command)
1102 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1103 (verilog-set-define, verilog-auto-reeval-locals):
1104 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1105 * progmodes/simula.el (simula-mode):
1106 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1107 * progmodes/python.el (python-check, python-mode):
1108 * progmodes/prolog.el (prolog-mode-variables):
1109 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1110 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1111 * progmodes/delphi.el (delphi-mode):
1112 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1113 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1114 (c-font-lock-init): Move make-local-variable to their setq.
1116 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1117 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1119 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1120 (sh-set-shell): Don't set require-final-newline since it's already done
1122 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1123 since we never set it.
1124 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1125 Use read-string and standard prompt.
1126 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1127 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1128 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1129 (meta-common-mode-map): Rename from meta-mode-map.
1130 Remove C-m binding, which is a user preference, not mode specific.
1131 (meta-common-mode): New major mode; replace meta-common-initialization.
1132 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1133 around with font-lock.
1134 * progmodes/etags.el (select-tags-table-mode):
1135 Derive from special-mode.
1136 * progmodes/octave-mod.el (octave-mode):
1137 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1138 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1139 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1140 Let define-derived-mode do its job.
1141 * progmodes/cpp.el (cpp-edit-mode-map):
1142 Move initialization into declaration.
1143 (cpp-edit-mode): Use define-derived-mode.
1144 (cpp-edit-load): Use derived-mode-p.
1145 * progmodes/mixal-mode.el (mixal-mode):
1146 * progmodes/f90.el (f90-mode):
1147 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1148 require-final-newline since prog-mode does it already.
1149 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1150 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1151 * progmodes/antlr-mode.el: Require cc-mode upfront.
1152 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1154 (antlr-directory-dependencies, antlr-show-makefile-rules):
1156 (antlr-language-option): Don't assume point-min==1.
1157 (antlr-mode): Use define-derived-mode.
1158 * progmodes/ada-mode.el: Use derived-mode-p.
1159 (ada-mode): Use define-derived-mode.
1160 Use hack-local-variables-hook.
1162 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1164 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1165 (texinfo-mode): Don't disable adaptive-fill-mode.
1166 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1167 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1168 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1169 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1170 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1171 (texinfo-insert-@quotation, texinfo-insert-@samp)
1172 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1173 (texinfo-insert-@uref): Use define-skeleton.
1174 (texinfo-insert-@-with-arg): Delete.
1176 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1178 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1179 nil, do quote archive member names. (Bug#6144)
1181 2010-12-10 Glenn Morris <rgm@gnu.org>
1183 * files.el (diff-no-select): Declare.
1185 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1186 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1188 * comint.el (comint-input-ring-file-name): Doc fix.
1190 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1192 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1194 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1195 Use them instead of `nil' and `>', respectively.
1196 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1198 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1199 and menu-bar-positive-p instead of `nil' and `>', respectively.
1202 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1204 * whitespace.el (whitespace-newline-mode): Code fix.
1206 2010-12-09 Glenn Morris <rgm@gnu.org>
1208 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1209 Rename functions without commas, update callers.
1211 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1213 * whitespace.el (whitespace-cleanup-region):
1214 Clean up spaces before tabs. (Bug#7582)
1216 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1218 * bookmark.el: Adjust parameter names and doc strings to resolve
1219 confusion over whether "bookmark" meant a bookmark name or a
1220 bookmark record. Along the way, shorten one function's name for
1221 similar reasons. (Issue #7548)
1222 (bookmark-name-from-record): New name for
1223 `bookmark-name-from-full-record'. All callers changed.
1224 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1225 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1226 (bookmark-get-annotation, bookmark-set-annotation)
1227 (bookmark-get-filename, bookmark-set-filename)
1228 (bookmark-get-position, bookmark-set-position)
1229 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1230 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1231 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1232 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1233 Rename `bookmark' parameter to `bookmark-name-or-record', to
1234 clearly show its role, and shorten or adjust doc strings accordingly.
1235 (bookmark-set-name): Same, and pass the parameter directly to
1236 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1237 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1238 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1239 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1240 and in some cases shorten doc string accordingly.
1241 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1242 and `new-name', and adjust an internal variable to avoid confusion.
1243 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1244 parameter in doc string.
1246 2010-12-08 Glenn Morris <rgm@gnu.org>
1248 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1249 from gdb's history file. (Bug#7575)
1251 * mail/emacsbug.el (report-emacs-bug):
1252 Try to handle some other mail clients.
1254 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1257 Use string-prefix-p.
1258 (file-name-version-regexp): New var.
1259 (file-name-sans-versions):
1260 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1261 (jka-compr-get-compression-info): Use dolist.
1262 (jka-compr-compression-info-list): Don't bother specifying
1263 version/backup regexps.
1265 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1267 * simple.el (just-one-space): Make argument n default to 1 if
1270 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * electric.el (electric-indent-post-self-insert-function):
1273 Delete trailing newlines even if we don't reindent.
1275 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * minibuffer.el (completion-at-point): Remove the `arg'.
1278 * bindings.el (complete-symbol): Move back from minibuffer.el.
1280 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1282 * simple.el (just-one-space): Delete newlines for negative arg.
1284 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1287 (ansi-color-filter-apply): Simplify.
1288 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1290 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1292 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1294 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1296 * dired.el (dired-use-ls-dired): Set default to a special
1297 "unspecified" value.
1298 (dired-insert-directory): When called the first time, check
1299 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1301 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1303 * replace.el: Add "collect" feature to occur.
1304 (occur-collect-regexp-history): New var.
1305 (occur-read-primary-args): Return a replace string for nlines,
1307 (occur): Extend the meaning of nlines.
1309 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1312 (which-func-update-1): Distinguish symbols from strings.
1313 (which-function): Stay within 80 columns.
1315 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1317 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1319 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1321 (comment-style): Use comment-styles's docs to describe values.
1323 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1325 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1326 and ns-show-prefs (Bug#7535).
1328 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1329 bindings (Bug#7535).
1331 2010-12-03 Glenn Morris <rgm@gnu.org>
1333 * nxml/nxml-mode.el: Require rng-nxml.
1334 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1335 Remove declarations.
1337 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1338 * nxml/rng-nxml.el, nxml/rng-valid.el:
1339 Remove leading `*' from defcustom docs.
1341 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1342 (normal-top-level-add-to-load-path, tty-handle-args):
1343 Convert comments to basic doc-strings.
1345 * net/browse-url.el (browse-url-url-at-point)
1346 (browse-url-default-browser): Remove autoload cookies.
1348 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1349 Remove more undefined cl functions.
1351 * vc/diff.el (diff-sentinel): Make new arguments optional.
1352 * ibuf-ext.el (diff-sentinel): Update declaration.
1354 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1356 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1357 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1358 (epg-context-set-passphrase-callback): Mention that the callback
1359 is not called when used with GnuPG 2.x.
1361 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1363 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1364 (tramp-file-name-port): Check also for `tramp-default-port'.
1365 (tramp-get-connection-name): New defun.
1366 (tramp-get-connection-process): Use it.
1367 (tramp-debug-message): Extend function exclude list.
1368 (tramp-drop-volume-letter): Fix doc string.
1370 * net/tramp-cmds.el: Remove solved todo item.
1374 * net/tramp-gvfs.el:
1376 * net/tramp-imap.el:
1377 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1378 and `tramp-default-user-alist', respectively.
1380 * net/tramp-gw.el (tramp-gw-open-connection):
1381 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1383 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1384 `tramp-file-name-port'.
1386 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1387 and "psftp". Exchange "%k" marker with options.
1388 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1389 Compute size of link target.
1390 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1391 `tramp-current-*' up due to gateway methods. Optimze computing of
1392 copy arguments. Use `tramp-get-connection-name' and
1393 `tramp-get-connection-buffer'. Improve debug messages.
1394 (tramp-compute-multi-hops): Remove port determination.
1395 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1397 * net/trampver.el: Update release number.
1399 2010-12-02 Glenn Morris <rgm@gnu.org>
1401 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1402 Avoid infinite loop over windows. (Bug#7492)
1404 * progmodes/flymake.el (flymake-check-file-limit):
1405 Allow nil to mean "no limit".
1406 (flymake-check-patch-master-file-buffer): Update for above change.
1407 Allow a .tex file-name extension to be optional.
1408 (flymake-master-tex-init): Also match \include statements.
1410 2010-11-30 Sam Steingold <sds@gnu.org>
1412 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1413 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1414 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1415 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1416 define-derived-mode').
1417 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1418 users who want to call `nxml-parent-document-set'.
1420 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1422 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1423 stand-alone lines, since that is handled by log-edit-match-to-eoh
1426 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1428 * dired.el (dired-get-filename): Replace backslashes with slashes
1429 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1430 * locate.el (locate-default-make-command-line): Don't consider
1431 drive letter and root directory part of
1432 `directory-listing-before-filename-regexp'. (Bug#7308)
1433 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1435 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1438 of :smie-open/close-alist.
1439 (smie-next-sexp): Make it accept a "start token" as argument.
1440 (smie-indent-keyword): Be careful not to misidentify tokens that span
1441 more than one line, as empty lines. Add argument `token'.
1443 2010-11-27 Kenichi Handa <handa@m17n.org>
1445 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1446 multipart subtypes, insert all as usual.
1448 * mail/rmail.el: Require rfc2047.
1450 2010-11-27 Kenichi Handa <handa@m17n.org>
1452 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1453 (rmail-mime-entity-disposition)
1454 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1455 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1456 (rmail-mime-save): Handle the case that the button's `data' is a
1458 (rmail-mime-insert-text): New function.
1459 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1460 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1461 (rmail-mime-insert-bulk): New function mostly copied from the old
1462 rmail-mime-bulk-handler.
1463 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1464 (rmail-mime-process-multipart): New function mostly copied from
1465 the old rmail-mime-multipart-handler.
1466 (rmail-mime-show): Just call rmail-mime-process.
1467 (rmail-mime-process): New function mostly copied from the old
1469 (rmail-mime-insert-multipart, rmail-mime-parse)
1470 (rmail-mime-insert, rmail-show-mime)
1471 (rmail-insert-mime-forwarded-message)
1472 (rmail-insert-mime-resent-message): New functions.
1473 (rmail-insert-mime-forwarded-message-function): Set to
1474 rmail-insert-mime-forwarded-message.
1475 (rmail-insert-mime-resent-message-function): Set to
1476 rmail-insert-mime-resent-message.
1478 * mail/rmailsum.el: Require rfc2047.
1479 (rmail-header-summary): Handle multiline Subject: field.
1480 (rmail-summary-line-decoder): Change the default to
1481 rfc2047-decode-string.
1483 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1484 (rmail-mime-feature): Change the default to `rmailmm'.
1485 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1486 (rmail-display-labels): Likewise.
1487 (rmail-show-message-1): Check rmail-enable-mime, and use
1488 rmail-show-mime-function for a MIME message. Decode the headers
1489 according to RFC2047.
1491 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * progmodes/which-func.el (which-func-imenu-joiner-function):
1494 Return a string, as expected.
1495 (which-function-mode): Make sure we stop any previous timer before
1498 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1500 * net/tramp.el (tramp-default-method-alist)
1501 (tramp-default-user-alist, tramp-default-proxies-alist):
1502 Adapt custom options type. (Bug#7445)
1504 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1506 * progmodes/python.el: Add Ipython support (Bug#5390).
1507 (python-shell-prompt-alist)
1508 (python-shell-continuation-prompt-alist): New options.
1509 (python--set-prompt-regexp): New function.
1510 (inferior-python-mode, run-python, python-shell):
1511 Require ansi-color. Use python--set-prompt-regexp to set the comint
1512 prompt based on the Python interpreter.
1513 (python--prompt-regexp): New var.
1514 (python-check-comint-prompt)
1515 (python-comint-output-filter-function): Use it.
1516 (run-python): Use a pipe (Bug#5694).
1518 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1520 * progmodes/python.el (run-python): Doc fix.
1521 (python-keep-current-directory-in-path): New var (Bug#7454).
1523 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1525 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1526 Prompt user before actually printing.
1528 2010-11-27 Glenn Morris <rgm@gnu.org>
1530 * startup.el (package-enable-at-startup, package-initialize):
1531 Remove unnecessary declarations.
1533 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1535 * international/characters.el (glyphless-char-display-control):
1536 Exclude newline and TAB from the c0-control group.
1538 2010-11-27 Glenn Morris <rgm@gnu.org>
1540 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1541 (expand-mail-aliases): Remove unnecessary autoload.
1543 * allout.el (allout-command-prefix, allout-mode-map): Declare.
1545 * shell.el (shell-dir-cookie-re): Move definition before use.
1547 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1548 Replace undefined CL functions.
1550 2010-11-26 Eli Zaretskii <eliz@gnu.org>
1552 * simple.el (prog-mode): Set bidi-paragraph-direction to
1555 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1557 2010-11-26 Glenn Morris <rgm@gnu.org>
1559 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1560 diary-outlook-formats can be sensitive to calendar-date-style.
1561 (diary-outlook-formats): Simplify the default setting.
1562 (diary-from-outlook-internal): Pass subject and body as arguments.
1563 Use dolist rather than dotimes. Don't save the diary buffer.
1564 (diary-from-outlook-gnus, diary-from-outlook-rmail):
1565 Pass subject and body as explicit arguments to the -internal function.
1567 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1569 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1570 parsing them. This makes mailto:...?subject=foo\nbar work.
1572 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * vc/diff.el (diff): Fix last change.
1576 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
1579 (pcase--dontcare-upats): New var.
1580 (pcase-let, pcase-let*): Generate better code.
1581 Accept the same bodies as `let'.
1582 (pcase-dolist): New macro.
1583 (pcase--trivial-upat-p): New helper function.
1584 (pcase--expand): Strip leading "(let nil" if any.
1586 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
1588 * mail/mailclient.el (browse-url): Require.
1589 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1590 use the external browser function to send the mail (bug#7469).
1592 * net/browse-url.el (browse-url-browser-function): Revert the
1593 default back to the previous value, since the new value broke
1595 (browse-url-mailto-function): New variable for mailto: URLs.
1596 (browse-url): Use the new variable for mailto: URLs.
1598 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1600 * eshell/esh-cmd.el (eshell-parse-command):
1601 * eshell/esh-arg.el (eshell-parse-arguments):
1602 * eshell/em-script.el (eshell-source-file):
1603 Use with-silent-modifications.
1605 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1607 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
1608 for a merge location.
1610 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1611 (vc-bzr-merge-branch): Always prompt.
1612 (vc-bzr-async-command): Use the full branch filename.
1614 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * shell.el (shell): Use current-buffer by default if it's already
1617 a shell mode buffer and its process is dead.
1618 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1620 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
1622 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1623 Mention that the keywords should be comma separated.
1625 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
1627 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1628 Accept optional prefix arg meaning to prompt for a command.
1629 (vc-update): Use vc-BACKEND-pull if available. Accept optional
1630 prefix arg meaning to prompt for a command.
1631 (vc-pull): Alias for vc-update.
1633 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1634 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1635 (vc-bzr-merge-branch): New functions, implementing merge-branch
1636 and pull operations.
1638 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1640 * Makefile.in: Fix up last merge.
1642 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1643 (diff-sentinel): Get them as arguments instead.
1644 (diff-old-file, diff-new-file, diff-extra-args): Remove.
1645 (diff-file-local-copy, diff-better-file-name): New funs.
1646 (diff-no-select): Rename from diff-into-buffer.
1647 Support buffers additionally to files. Move `buf' arg. Don't display buf.
1648 Prefer closures to buffer-local variables.
1649 (diff): Adjust accordingly.
1650 (diff-buffer-with-file): Move from files.el.
1651 * files.el (diff-buffer-with-file): Move to vc/diff.el.
1652 (diff-buffer-internal): Remove.
1653 (diff-buffer-buffer): Remove.
1654 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1655 the buffer name used, and so as not to mess up windows and frames.
1657 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1659 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1660 (diff-buffer-internal): New function extracted from diff-buffer-with-file
1661 (diff-buffer-with-file): Use it.
1662 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1665 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
1667 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1668 \ref's or \pageref's value as default instead of initial input.
1670 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
1672 * files.el (backup-by-copying-when-mismatch): The default value is
1675 * startup.el (normal-top-level):
1676 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1677 `backup-by-copying-when-mismatch'.
1679 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1681 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1683 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1685 * progmodes/python.el (python-font-lock-keywords):
1686 Highlight top-level augmented assignments (Bug#6445).
1688 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
1690 * term/ns-win.el (ns-right-control-modifier)
1691 (ns-right-command-modifier): Defvar them.
1693 * cus-start.el (all): Add ns-right-control-modifier and
1694 ns-right-command-modifier (Bug#7458).
1696 2010-11-20 Glenn Morris <rgm@gnu.org>
1698 * emacs-lisp/authors.el (authors-ignored-files)
1699 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1701 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1703 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1704 (report-emacs-bug-parse-query-results)
1705 (report-emacs-bug-create-existing-bugs-buffer): Pass through
1706 keywords used for querying the bug database to show them in the
1707 existing bugs buffer.
1709 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
1711 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1713 * info.el (info-tool-bar-map): Add some :vert-only keywords.
1715 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1717 * international/characters.el (glyphless-char-display-control):
1718 Make it a defcustom, with update-glyphless-char-display as its
1720 (top level): Don't call update-glyphless-char-display.
1722 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
1724 Sync with Tramp 2.2.0.
1726 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1727 `file-remote-p' (due to compatibility).
1729 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1730 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1732 * net/trampver.el: Update release number.
1734 2010-11-20 Eli Zaretskii <eliz@gnu.org>
1736 * faces.el (glyphless-char): Define value for `pc'.
1738 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
1740 Implemented a bug querying mechanism.
1741 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1742 (report-emacs-bug-create-existing-bugs-buffer)
1743 (report-emacs-bug-parse-query-results)
1744 (report-emacs-bug-query-existing-bugs): New functions.
1746 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
1748 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1749 a \ref{} or \pageref{} macro, then use its value as initial input.
1751 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1753 * calc/calc-units.el (math-build-units-table-buffer):
1754 calc/README: Mention that the TeX specific units won't use the
1755 `tex' prefix in TeX mode.
1756 calc/calc-lang.el (math-variable-table): Don't use the `tex'
1757 prefix for units in TeX mode.
1759 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * simple.el (kill-new, kill-append, kill-region):
1762 * comint.el (comint-kill-region): Make the yank-handler argument
1765 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1768 that are both openers (resp. closers) and something else.
1769 (smie-grammar): Loosen definition of valid values.
1770 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1771 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1772 (smie-indent-after-keyword): Adjust users.
1773 (smie-indent-keyword): Don't indent empty lines.
1775 * vc-hg.el (vc-hg-program): New var.
1776 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1777 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1779 2010-11-18 Glenn Morris <rgm@gnu.org>
1781 * emacs-lisp/autoload.el (autoload-find-destination): The function
1782 coding-system-eol-type may return non-numeric values. (Bug#7414)
1784 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
1786 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1788 2010-11-18 Eli Zaretskii <eliz@gnu.org>
1790 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
1792 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
1794 * textmodes/picture.el (picture-mouse-set-point): Don't use
1795 posn-col-row; explicitly compute the motion based on the posn at
1796 the window-start (Bug#7390).
1798 2010-11-18 Glenn Morris <rgm@gnu.org>
1800 * novice.el (disabled-command-function):
1801 Fix 2009-11-15 change. (Bug#7384)
1803 2010-11-18 Glenn Morris <rgm@gnu.org>
1805 * calendar/calendar.el (diary-iso-date-forms): Make elements
1806 mutually exclusive. (Bug#7377)
1808 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1810 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1811 when filling the remaining "unconstrained" values.
1813 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1815 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1818 * files.el (safe-local-variable-p): Gracefully handle errors.
1820 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1821 Use smie-indent-virtual when indenting relative to an opener.
1822 (smie-rule-separator): Use smie-rule-parent.
1823 (smie-indent-keyword): Consult rules, even for openers at bol.
1824 (smie-indent-comment-close): Try to align closer's content.
1826 2010-11-18 Glenn Morris <rgm@gnu.org>
1828 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1830 2010-11-18 Glenn Morris <rgm@gnu.org>
1832 * printing.el (pr-menu-bind): Doc fix.
1834 * speedbar.el (speedbar-toggle-images): Doc fix.
1836 * progmodes/python.el (python-shell): Doc fix.
1838 * wid-edit.el (widget-field-use-before-change)
1839 (widget-use-overlay-change): Doc fixes.
1841 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1843 Minor cleanup to improve style.
1844 * textmodes/rst.el (rst-update-section): Use point-marker.
1845 (rst-get-decoration): Eliminate unneeded assignment.
1846 (rst-promote-region, rst-straighten-decorations)
1847 (rst-section-tree, rst-adjust): Use point-marker.
1848 (rst-toc-mode-mouse-goto): Avoid setq.
1849 (rst-shift-region-guts, rst-shift-region-left)
1850 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1851 (rst-convert-bullets-to-enumeration): Use copy-marker.
1853 * minibuffer.el (completion-fail-discreetly): New var.
1854 (completion--do-completion): Use it.
1856 * electric.el (electric-pair-pairs): New var.
1857 (electric-pair-post-self-insert-function): Use it.
1858 (electric-layout-post-self-insert-function): Don't insert a before
1859 newline unless it's actually needed.
1861 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * progmodes/python.el (run-python): Explain why we remove the current
1864 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
1866 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1868 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1870 * progmodes/octave-mod.el: Rely on elecric-*-modes.
1871 (octave-mode-map): Don't bind ;, SPC, and LF.
1872 (octave-auto-indent, octave-auto-newline): Remove.
1873 (electric-layout-rules): Declare.
1874 (octave-mode): Set electric-layout-rules.
1875 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1876 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1877 (octave-electric-space): Remove.
1879 * electric.el (electric-layout-mode): New minor mode.
1880 (electric--after-char-pos): New function.
1881 (electric-indent-post-self-insert-function): Use it.
1882 (electric-layout-rules): New var.
1883 (electric-layout-post-self-insert-function): New function.
1884 (electric-indent-mode): Make them interact better.
1886 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1889 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1890 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1892 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
1894 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1895 Make sure to check inside the word (Bug#6761).
1897 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
1899 * startup.el (command-line): If the cursorColor resource is set,
1900 change the cursor face-spec (Bug#7392).
1902 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1904 The main features of the following allout.el changes are:
1905 - implement user customization for the allout key bindings
1906 - add a customization control by which the user can inhibit use of
1907 a trailing Ctrl-H, so by default it's reserved for use with
1908 describe-prefix-bindings
1909 - adapt to new version of called-interactively-p, while
1910 maintaining backwards compatibility with old version
1911 - fix hotspot navigation so i works properly with meta-modified keys
1913 * allout.el (allout-keybindings, allout-bind-keys)
1914 (allout-keybindings-binding, allout-prefixed-keybindings)
1915 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1916 (allout-keybindings-list, allout-mode-map-adjustments)
1917 (allout-setup-mode-map): Establish allout-mode keymaps as user
1918 customizable settings, and also establish a customizable setting which
1919 regulates whether or not a trailing control-h is reserved for use with
1920 describe-prefix-bindings - and inhibit it by default, so that control-h
1921 *is* reserved for describe-prefix-bindings unless the user changes it.
1923 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1924 and accurately between modified and unmodified events, and handle
1925 modified events more comprehensively.
1927 * allout.el (allout-substring-no-properties):
1928 Alias to use or provide version of `substring-no-properties'.
1929 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1931 * allout.el (allout-next-single-char-property-change):
1932 Alias to use or provide version of `next-single-char-property-change'.
1933 (allout-annotate-hidden, allout-hide-by-annotation):
1934 Use `allout-next-single-char-property-change'.
1936 * allout.el (allout-select-safe-coding-system):
1937 Alias to use or provide version of `select-safe-coding-system'.
1938 (allout-toggle-subtree-encryption):
1939 Use `allout-select-safe-coding-system'.
1941 * allout.el (allout-set-buffer-multibyte):
1942 Alias to use or provide version of `set-buffer-multibyte'.
1943 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1945 * allout.el (allout-called-interactively-p): Macro for using the
1946 different versions of called-interactively-p identically, depending on
1947 the subroutine's argument signature.
1948 (allout-back-to-current-heading, allout-beginning-of-current-entry):
1949 Use `(interactive "p")' instead of `(called-interactively-p)'.
1951 * allout.el (allout-init, allout-ascend, allout-end-of-level)
1952 (allout-previous-visible-heading, allout-forward-current-level)
1953 (allout-backward-current-level, allout-show-children):
1954 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1956 * allout.el (allout-before-change-handler):
1957 Exempt edits to the (overlaid) character after the allout outline
1958 bullet from edit confirmation prompt.
1960 * allout.el (allout-add-resumptions):
1961 Ensure that it respects correct buffer for keybindings.
1963 * allout.el (allout-beginning-of-line):
1964 Use `allout-previous-single-char-property-change' alias for the sake of
1965 diverse compatibility.
1967 * allout.el (allout-end-of-line):
1968 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1970 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
1972 * frame.el (frame-notice-user-settings): Don't clobber other
1973 user-set parameters when calling face-set-after-frame-default in
1974 response to background-color parameter (Bug#7373).
1976 2010-11-13 Eli Zaretskii <eliz@gnu.org>
1978 * international/characters.el (glyphless-char-display-control):
1979 Rename from glyphless-char-control; all users changed. Doc fix.
1980 Signal an error if display method is not one of the recognized
1983 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
1985 * net/tramp-compat.el (tramp-compat-line-beginning-position)
1986 (tramp-compat-line-end-position): Remove them.
1988 * net/tramp.el (tramp-parse-rhosts-group)
1989 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1990 (tramp-parse-hosts-group, tramp-parse-passwd-group)
1991 (tramp-parse-netrc-group, tramp-parse-putty-group)
1992 * net/tramp-cmds.el (tramp-append-tramp-buffers)
1993 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1994 (tramp-sh-handle-file-selinux-context)
1995 (tramp-sh-handle-file-name-all-completions)
1996 (tramp-sh-handle-insert-directory)
1997 (tramp-sh-handle-expand-file-name, tramp-find-executable)
1998 (tramp-wait-for-output, tramp-send-command-and-read)
1999 * net/tramp-smb.el (tramp-smb-read-file-entry)
2000 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2002 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2004 (tramp-remote-coding-commands): Add an alternative using "base64
2005 -d -i". This is needed for older base64 versions from GNU
2006 coreutils. Reported by Klaus Reichl
2007 <Klaus.Reichl@thalesgroup.com>.
2009 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2011 * simple.el (count-words-region): New function.
2013 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * shell.el (shell-dir-cookie-re): New custom variable.
2016 (shell-dir-cookie-watcher): New function.
2018 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2019 and compilation-mode (bug#7350).
2021 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2022 highlight when one of them is empty.
2024 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2026 (skeleton-newline): New function.
2027 (skeleton-internal-1): Use it.
2029 * simple.el (open-line): `newline' may strip trailing space.
2031 2010-11-12 Kevin Ryde <user42@zip.com.au>
2033 * international/mule-cmds.el (princ-list): Use mapc.
2035 2010-11-12 Glenn Morris <rgm@gnu.org>
2037 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2038 Use it to replace all instances of "*Compile-Log*"
2040 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2042 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2045 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * progmodes/modula2.el: Use SMIE and skeleton.
2048 (m2-mode-syntax-table): (*..*) can be nested.
2049 Add //...\n. Fix paren syntax.
2050 (m2-mode-map): Remove LF and TAB bindings.
2051 (m2-indent): Add safety property.
2052 (m2-smie-grammar): New var.
2053 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2054 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2055 (m2-mode): Use define-derived-mode.
2056 (m2-newline, m2-tab): Remove.
2057 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2058 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2059 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2060 (m2-import): Use define-skeleton.
2062 2010-11-11 Glenn Morris <rgm@gnu.org>
2064 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2066 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2067 (ls-lisp-verbosity): Add custom :set-after property.
2068 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2069 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2070 (ls-lisp-insert-directory): Update caller.
2071 (ls-lisp-set-options): New function.
2072 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2075 * play/landmark.el (lm-prompt-for-move):
2076 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2078 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2080 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2081 (idlwave-study-twins): Prefix dynamic local variable `name'.
2082 (idlwave-routine-twin-compare): Update for above change.
2084 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2085 Prefix dynamic local variables `name', `kwd', and `link'.
2086 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2087 * progmodes/idlw-complete-structtag.el
2088 (idlwave-complete-structure-tag-help):
2089 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2090 (idlwave-complete-sysvar-tag-help)
2091 (idlwave-complete-class-structure-tag-help):
2092 Update for above name changes.
2094 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2096 * net/browse-url.el (browse-url-browser-function): Change the
2097 default to use `browse-url-mail' on mailto: URLs.
2099 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2101 * emacs-lisp/package.el (package-read-all-archive-contents):
2102 Reset package-archive-contents to nil before re-reading.
2104 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2106 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2107 already found as misspellings by (flyspell-large-region), just
2108 do highlighting (bug#7322).
2110 2010-11-10 Glenn Morris <rgm@gnu.org>
2112 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2114 * emulation/edt.el (edt-with-position): New macro.
2115 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2116 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2117 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2119 * emulation/tpu-extras.el (tpu-with-position): New macro.
2120 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2122 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2124 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2125 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2126 (texinfo-master-menu, texinfo-insert-node-lines)
2127 (texinfo-multiple-files-update):
2128 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2129 Use line-beginning-position.
2131 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2132 No recent Emacs supports system-type `emx'.
2134 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2135 (ada-command-separator, ada-default-prj-properties)
2136 (ada-find-any-references): Update for above name change.
2138 * dirtrack.el (dirtrack-directory-function)
2139 (dirtrack-canonicalize-function):
2140 * filecache.el (file-cache-completion-ignore-case)
2141 (file-cache-case-fold-search, file-cache-ignore-case):
2142 * term.el (serial-port-is-file-p): Cosmetic change.
2144 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2145 Remove non-existent `windows-95' system-type.
2146 * dired.el (dired-chown-program): Remove non-existent `linux'
2149 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2150 (ping-program-options): Remove non-existent `linux' system-type.
2152 * startup.el (package-initialize): Update declaration.
2154 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2155 (ls-lisp-handle-switches): Use time-less-p.
2156 (ls-lisp-format-time): Use float-time.
2158 * textmodes/remember.el (remember-time-to-seconds): Remove.
2159 (remember-store-in-mailbox): Use float-time.
2161 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2163 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2164 never a real function.
2165 (with-no-warnings): Remove compat stub, now unused.
2166 (time-less-p): Doc fix.
2167 (time-to-number-of-days): Simplify.
2169 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2171 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2172 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2173 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2174 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2175 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2177 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2178 (eshell-shuffle-files, eshell-shorthand-tar-command)
2179 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2180 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2181 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2182 Prefix dynamic local variable `matches'.
2184 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2185 Prefix dynamic local variable `skeleton'.
2187 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2189 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2190 in mail buffer; make yank-action always a command that yanks original
2193 2010-11-09 Glenn Morris <rgm@gnu.org>
2195 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2197 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2199 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2200 completion field (bug#7211).
2202 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2203 Fix handling of backslash escapes.
2204 (python-quote-syntax): Adjust accordingly.
2206 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2208 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2209 (vc-mtn-workfile-branch): Adjust to new output format.
2211 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2213 * international/mule-cmds.el (princ-list): Mark as obsolete.
2215 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2217 * emacs-lisp/smie.el: New package.
2219 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2221 * files.el (backup-by-copying-when-mismatch):
2222 Set `permanent-local' property.
2224 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2225 `permanent-local' property for `backup-by-copying-when-mismatch'.
2227 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2229 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2231 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2233 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2234 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2235 AUTOINOUT for SV style multidimensional arrays, bug294.
2236 Reported by Eric Mastromarchi.
2237 (verilog-preprocess): Use with-current-buffer and
2238 font-lock-fontify-buffer to cleanup style issues.
2240 2010-11-09 Glenn Morris <rgm@gnu.org>
2242 * locate.el (locate, locate-mode): Doc fixes.
2244 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2246 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2247 user for confirmation.
2248 (server-force-stop): Use it.
2249 (server-start): Use server-force-stop for kill-emacs-hook, to
2250 avoid user interaction while killing Emacs.
2252 2010-11-09 Glenn Morris <rgm@gnu.org>
2254 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2255 (meta-indent-line): Simplify.
2257 * vc/emerge.el (emerge-line-number-in-buf):
2258 * textmodes/ispell.el (ispell-region):
2259 * textmodes/fill.el (current-fill-column):
2260 * progmodes/xscheme.el (xscheme-send-current-line):
2261 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2262 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2263 * progmodes/sh-script.el (sh-handle-prev-do):
2264 * progmodes/meta-mode.el (meta-indent-line):
2265 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2267 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2268 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2269 * progmodes/fortran.el (fortran-looking-at-if-then):
2270 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2271 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2272 (cperl-find-pods-heres):
2273 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2274 * net/quickurl.el (quickurl-list-insert):
2275 * net/ldap.el (ldap-search-internal):
2276 * net/eudc.el (eudc-expand-inline):
2277 * mail/sendmail.el (sendmail-send-it):
2278 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2279 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2280 (viper-brac-function):
2281 * calc/calc-yank.el (calc-do-grab-region):
2282 * calc/calc-keypd.el (calc-keypad-press):
2283 * term.el (term-move-columns, term-insert-spaces):
2284 * speedbar.el (speedbar-highlight-one-tag-line):
2285 * simple.el (current-word):
2286 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2287 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2289 * hippie-exp.el (he-line-beg):
2290 * epa.el (epa--marked-keys):
2291 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2292 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2293 (dired-relist-entry):
2294 * buff-menu.el (Buffer-menu-buffer):
2295 * array.el (current-line):
2296 * allout.el (allout-resolve-xref)
2297 (allout-latex-verbatim-quote-curr-line):
2298 Replace yet more uses of end-of-line etc with line-end-position, etc.
2300 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2303 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2304 (checkdoc-syntax-table): Initialize in the declaration.
2305 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2306 the mode on unconditionally.
2308 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2309 (extent-end-position, extent-start-position): Remove setf method for
2310 non-existing functions (bug#7319).
2312 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2315 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2316 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2317 (smie-prec2->grammar): Rename from smie-prec2-levels.
2318 (smie-grammar): Rename from smie-op-levels.
2319 (smie-indent--hanging-p): Rename from smie-hanging-p.
2320 (smie-rule-hanging-p): New alias.
2321 (smie-indent--bolp): Rename from smie-bolp.
2322 (smie-indent--hanging-p): New alias.
2323 (smie--token): New dynamically bound variable.
2324 (smie-indent--parent): New function.
2325 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2326 (smie-rule-next-p): Rename from smie-next-p.
2327 (smie-rule-prev-p): Rename from smie-prev-p.
2328 (smie-rule-sibling-p, smie-rule-parent)
2329 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2330 (smie-rule-separator-outdent): New var.
2331 (smie-indent--rule): Merge with smie-indent--column.
2332 (smie-indent-forward-token, smie-indent-backward-token):
2333 Also recognize close parens.
2334 (smie-indent-keyword): Don't use smie-indent--column any more.
2335 (smie-indent-after-keyword): Ignore closers by default.
2336 (smie-indent-line): Use with-demoted-errors.
2337 * progmodes/octave-mod.el (octave-smie-grammar):
2338 Rename from octave-smie-op-levels.
2339 (octave-smie-rules): Adjust to new behavior.
2340 * progmodes/prolog.el (prolog-smie-grammar):
2341 Rename from prolog-smie-op-levels.
2343 2010-11-07 Glenn Morris <rgm@gnu.org>
2345 * eshell/esh-util.el (subst-char-in-string)
2346 (directory-files-and-attributes): These compatibility definitions are
2347 not needed on any version of Emacs since at least 21.4.
2349 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2350 (verilog-get-end-of-line): Remove.
2351 (verilog-within-string, verilog-re-search-forward-substr)
2352 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2353 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2354 Use point-at-bol, point-at-eol.
2355 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2357 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2358 (electric-pascal-terminate-line, pascal-set-auto-comments)
2359 (pascal-indent-paramlist, pascal-indent-declaration)
2360 (pascal-get-lineup-indent, pascal-func-completion)
2361 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2362 Use point-at-bol, point-at-eol.
2363 * progmodes/flymake.el (flymake-line-beginning-position)
2364 (flymake-line-end-position): Remove.
2365 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2366 * eshell/esh-util.el (line-end-position, line-beginning-position):
2367 Remove compat definitions.
2369 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2371 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2372 Use line-end-position.
2374 * emacs-lisp/chart.el (chart-zap-chars):
2375 * play/decipher.el (decipher-set-map):
2376 * progmodes/ada-mode.el (ada-get-current-indent)
2377 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2378 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2379 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2380 (ada-get-all-references):
2381 * progmodes/cperl-mode.el (cperl-electric-paren)
2382 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2383 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2384 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2385 (cperl-word-at-point-hard):
2386 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2387 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2388 (idlwave-shell-display-line):
2389 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2390 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2391 * progmodes/js.el (js--re-search-forward-inner)
2392 (js--re-search-backward-inner):
2393 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2394 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2395 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2396 * textmodes/flyspell.el (flyspell-process-localwords):
2397 * textmodes/ispell.el (ispell-buffer-local-parsing)
2398 (ispell-buffer-local-dict, ispell-buffer-local-words):
2399 Use point-at-bol and point-at-eol.
2401 * speedbar.el (speedbar-generic-item-info)
2402 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2403 (speedbar-add-indicator, speedbar-check-vc-this-line)
2404 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2405 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2406 Replace more uses of end-of-line etc with line-end-position.
2408 2010-11-06 Glenn Morris <rgm@gnu.org>
2410 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2411 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2412 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2413 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2414 (texinfo-multiple-files-update):
2415 * textmodes/table.el (table--probe-cell-left-up)
2416 (table--probe-cell-right-bottom):
2417 * textmodes/picture.el (picture-tab-search):
2418 * textmodes/page-ext.el (pages-copy-header-and-position)
2419 (pages-directory-for-addresses):
2420 * progmodes/vera-mode.el (vera-get-offset):
2421 * progmodes/simula.el (simula-calculate-indent):
2422 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2423 * progmodes/prolog.el (end-of-prolog-clause):
2424 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2425 * progmodes/icon.el (indent-icon-exp):
2426 * progmodes/etags.el (tag-re-match-p):
2427 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2428 * progmodes/ebnf2ps.el (ebnf-begin-file):
2429 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2430 (dcl-save-local-variable):
2431 * play/life.el (life-setup):
2432 * play/gametree.el (gametree-looking-at-ply):
2433 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2434 * mail/sendmail.el (mail-mode-auto-fill):
2435 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2436 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2437 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2438 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2439 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2440 * type-break.el (type-break-file-keystroke-count):
2441 * term.el (term-replace-by-expanded-history-before-point)
2442 (term-skip-prompt, term-extract-string):
2443 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2444 (speedbar-contract-line, speedbar-toggle-line-expansion)
2445 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2446 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2447 * sort.el (sort-skip-fields):
2448 * skeleton.el (skeleton-internal-list):
2449 * simple.el (line-move-finish, line-move-to-column):
2450 * shell.el (shell-forward-command):
2451 * misc.el (copy-from-above-command):
2452 * makesum.el (double-column):
2453 * ebuff-menu.el (electric-buffer-update-highlight):
2454 * dired.el (dired-move-to-end-of-filename):
2455 * dframe.el (dframe-popup-kludge):
2456 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2457 * arc-mode.el (archive-get-lineno):
2458 Use line-end-position and line-beginning-position.
2460 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2461 (idlwave-study-twins): Prefix dynamic local `class'.
2462 (idlwave-routine-twin-compare): Update for above name change.
2464 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2465 Use boundp tests to silence compiler. Update for changed name of
2466 bytecomp-filename variable.
2468 * emulation/viper-cmd.el (viper-read-string-with-history):
2469 Prefix dynamic local `initial'.
2470 (viper-minibuffer-standard-hook): Update for above name change.
2472 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2473 (elint-init-form): Update for above name change.
2475 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2476 local variables `cbeg' and `cend' a prefix.
2477 (mail-extr-voodoo): Update for above name change.
2479 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2480 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2481 (reftex-toc-promote-action): Doc fix.
2483 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2484 `prompt', `data' a prefix.
2485 (reftex-select-post-command-hook, reftex-select-callback)
2486 (reftex-select-mouse-accept, reftex-select-read-cite):
2487 Update for above name changes.
2489 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2490 `refstyle' to reftex-refstyle.
2491 (reftex-offer-label-menu): Update for above name change.
2492 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2493 `refstyle' name change.
2495 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2496 with with-current-buffer.
2497 (diff, template): Give dynamic local variables a prefix.
2498 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2499 (emerge-line-number-in-buf): Update for above name change.
2500 (emerge-combine-versions-internal): Rename local `template' to
2501 emerge-combine-template.
2502 (emerge-combine-versions-edit): Update for above name change.
2504 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2506 * textmodes/reftex-cite.el
2507 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2508 entries with whitespace after \bibitem.
2509 (reftex-create-bibtex-file): Match entries containing numbers and
2510 symbol constituents. Make sure that entries with whitespace at
2511 various places are found.
2513 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2515 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2517 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2519 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2521 2010-11-05 Glenn Morris <rgm@gnu.org>
2523 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2524 (woman2-roff-buffer): Give local variable `request' a prefix.
2525 (woman0-macro): Rename argument `request' in the same way.
2526 (woman-request): New name for `request' dynamic variable.
2527 (woman-unquote, woman-forward-arg): Update for above name change.
2528 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2529 (woman1-unquote): New name for `unquote' dynamic variable.
2530 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2531 (woman-translations): Rename from `translations'. No longer global.
2532 (woman2-tr, woman-translate): Update for above name change.
2533 (woman-translate): Check for bound variable.
2534 (woman2-roff-buffer): Give local variable `translations' a prefix.
2536 * play/doctor.el: Give all local variables a prefix. Update callers.
2537 (doc$, doctor-put-meaning): Use backquote.
2539 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2540 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2542 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2543 variables bytes, ptr, op a prefix.
2544 (disassemble-offset): Update for above change.
2546 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2548 * emacs-lisp/package.el (package-unpack): Remove no-op.
2549 (package--builtins, package--dir): Doc fix.
2550 (package-activate-1, package-activate, package-install)
2551 (package-compute-transaction): Fix error message.
2552 (package-delete): Use delete-directory. Omit system packages.
2553 (package-initialize): Set package-alist to nil first.
2554 (package-menu-mark-delete, package-menu-mark-install): Don't add
2555 symbols that are inconsistent with the package state.
2556 (package-menu-execute): Perform deletions and installations as
2557 single batch operations.
2559 2010-11-03 Glenn Morris <rgm@gnu.org>
2561 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2562 (props): Remove unnecessary declaration.
2564 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2565 set-process-query-on-exit-flag.
2567 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2568 (reftex-toc-do-promote): Remove unused local `mpos'.
2569 (reftex-toc-restore-region): Make `mpos' local to this function.
2571 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2573 * play/landmark.el (lm-losing-threshold): Correct spelling.
2574 (lm-human-plays): Use new name.
2576 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2577 (gomoku-human-plays): Use new name.
2579 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2580 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2581 (gomoku-score-trans-table, gomoku-winning-threshold)
2582 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2584 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
2586 * emacs-lisp/package.el: Don't put built-in packages in
2587 package-alist, to avoid loading inefficiencies.
2588 (package-built-in-p): Make VERSION optional, and treat it as a
2589 minimum acceptable version.
2590 (package-activate): Search separately for built-in packages.
2591 Emit a warning if a dependency fails.
2592 (define-package): Handle most common case, where there is no
2593 obsolete package, first.
2594 (package-compute-transaction): Print required version in error.
2595 (package--initialized): New variable.
2596 (list-packages): Use it.
2597 (package-initialize): Optional arg NO-ACTIVATE. Don't put
2598 built-in packages in packages-alist; keep it separate.
2599 Set package--initialized.
2600 (describe-package): Avoid activating packages as a side-effect.
2601 Search separately for built-in packages.
2602 (describe-package-1): Handle the case where an elpa package is
2603 simultaneously built-in and available/installed.
2604 (package-installed-p, package--generate-package-list):
2605 Search separately for built-in packages.
2606 (package-load-descriptor): Doc fix.
2608 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2611 Handle __DATA__ and __END__.
2613 2010-11-02 Noah Friedman <friedman@splode.com>
2615 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2616 nil, do not ask to recompile files that are not already compiled,
2617 and do not recompile them.
2619 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
2621 * emacs-lisp/package.el (package-initialize): Ensure that
2622 obsoleted built-in packages are not in package-activated-list
2624 (describe-package-1): Make the "installed" status override
2627 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2629 * subr.el (version-separator, version-regexp-alist): Remove '*'
2631 (version-list-<=, version<=, version=): Doc fix.
2633 2010-11-01 Kenichi Handa <handa@m17n.org>
2635 * faces.el (glyphless-char): Inherit underline for tty.
2637 2010-11-01 Kenichi Handa <handa@m17n.org>
2639 Implement various display methods for glyphless characters.
2641 * international/characters.el (char-acronym-table): New variable.
2642 (glyphless-char-control): New variable.
2643 (update-glyphless-char-display): New funciton.
2645 * faces.el (glyphless-char): New face.
2647 2010-11-01 Glenn Morris <rgm@gnu.org>
2649 * calendar/holidays.el (general-holidays, oriental-holidays)
2650 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2651 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2652 the definitions of their targets.
2654 * emacs-lisp/smie.el (smie): New custom group.
2655 (smie-blink-matching-inners, smie-indent-basic): Add :group.
2657 * faces.el (xw-defined-colors, x-setup-function-keys):
2658 * mouse-sel.el (x-select-text):
2659 * term/w32console.el (x-setup-function-keys): Update declarations.
2661 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2663 * textmodes/ispell.el (comment-add): Declare.
2665 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2668 * info.el (finder-keywords-hash, package-alist): Declare.
2670 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2672 * finder.el (finder-compile-keywords): Don't use intern-soft,
2673 since package names may not yet exist in the obarray.
2675 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
2677 * vc/vc-arch.el (vc-arch-checkin):
2678 * vc/vc-cvs.el (vc-cvs-checkin):
2679 * vc/vc-mtn.el (vc-mtn-checkin):
2680 * vc/vc-rcs.el (vc-rcs-checkin):
2681 * vc/vc-sccs.el (vc-sccs-checkin):
2682 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2683 since 2010-04-21 commit by Stefan Monnier.
2685 2010-11-01 Glenn Morris <rgm@gnu.org>
2687 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2689 * startup.el (package-enable-at-startup, package-initialize):
2692 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2695 2010-10-31 Julien Danjou <julien@danjou.info>
2697 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2698 (byte-recompile-directory):
2699 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2700 Use `byte-recompile-file'.
2702 2010-10-31 Glenn Morris <rgm@gnu.org>
2704 * cus-start.el: Handle standard values via a keyword.
2705 Only set version property if specified.
2706 (cursor-in-non-selected-windows, menu-bar-mode)
2707 (tool-bar-mode, show-trailing-whitespace):
2708 Do not specify standard values.
2709 (transient-mark-mode, temporary-file-directory): Use :standard.
2711 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
2713 * term/x-win.el (x-get-selection-value): New function that gets
2714 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2716 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
2718 * net/tramp.el (tramp-handle-insert-file-contents): For root,
2719 preserve owner and group when editing files. (Bug#7289)
2721 2010-10-31 Glenn Morris <rgm@gnu.org>
2723 * speedbar.el (speedbar-mode):
2724 * play/fortune.el (fortune-in-buffer, fortune):
2725 * play/gomoku.el (gomoku-mode):
2726 * play/landmark.el (lm-mode):
2727 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2728 Replace inappropriate uses of toggle-read-only. (Bug#7292)
2730 * select.el (x-selection): Mark it as an obsolete alias.
2732 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2734 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2735 major-mode (bug#7284).
2737 2010-10-31 Glenn Morris <rgm@gnu.org>
2739 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2740 rather than just an unused variable that inherits from the real one.
2742 2010-10-31 Alan Mackenzie <acm@muc.de>
2744 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2745 This fixes bug #7185.
2747 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
2749 * startup.el (command-line): Search for package directories, and
2750 don't load package.el if none are found.
2752 * emacs-lisp/package.el (describe-package, list-packages):
2753 Call package-initialize if it has not been called yet.
2755 2010-10-30 Alan Mackenzie <acm@muc.de>
2757 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2758 which fontifies the tail of an enum.
2759 (c-basic-matchers-after): Insert a call to the above new function.
2760 This fixes bug #7264.
2762 2010-10-30 Glenn Morris <rgm@gnu.org>
2764 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2765 tool-bar-mode, transient-mark-mode. (Bug#7306)
2766 Include the :set property in the dumped Emacs.
2768 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2770 SMIE: change indent rules format, improve smie-setup.
2771 * emacs-lisp/smie.el (smie-precs-precedence-table)
2772 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2773 Mark them pure so the tables gets built at compile time.
2774 (smie-bnf-precedence-table): Store the closer-alist in the table.
2775 (smie-prec2-levels): Preserve the closer-alist.
2776 (smie-blink-matching-open): Be more forgiving in case of indentation.
2777 (smie-hanging-p): Rename from smie-indent--hanging-p.
2778 (smie-bolp): Rename from smie-indent--bolp.
2779 (smie--parent, smie--after): New dynamic vars.
2780 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2781 (smie-indent-rules): Remove.
2782 (smie-indent--offset-rule): Remove fun.
2783 (smie-rules-function): New var.
2784 (smie-indent--rule): New fun.
2785 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2786 (smie-indent-exps): Use it.
2787 (smie-setup): Setup paren blinking; add keyword args for token
2788 functions; extract closer-alist from op-levels.
2789 (smie-indent-debug-log): Remove var.
2790 (smie-indent-debug): Remove fun.
2791 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2792 (prolog-smie-rules): New fun to replace it.
2793 (prolog-mode-variables): Simplify.
2794 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2795 it's setup automatically.
2796 (octave-smie-indent-rules): Remove.
2797 (octave-smie-rules): New fun to replace it.
2798 (octave-mode): Simplify.
2800 2010-10-29 Glenn Morris <rgm@gnu.org>
2802 * files.el (temporary-file-directory): Remove (already defined in C).
2803 * cus-start.el: Add temporary-file-directory.
2805 * abbrev.el (abbrev-mode):
2806 * composite.el (auto-composition-mode):
2807 * menu-bar.el (menu-bar-mode):
2808 * simple.el (transient-mark-mode):
2809 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2810 that they do not define the associated variables twice.
2811 * simple.el (transient-mark-mode): Remove defvar.
2812 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2813 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2814 Handle multiple groups, and also custom-delayed-init-variables.
2815 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2817 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2820 (pcase-if): Add one minor optimization.
2821 (pcase-split-equal): Rename from pcase-split-eq.
2822 (pcase-split-member): Rename from pcase-split-memq.
2823 (pcase-u1): Add strings to the member optimization.
2824 Add `guard' variant of predicates.
2825 (pcase-q1): Add string patterns.
2827 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2829 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2831 2010-10-28 Glenn Morris <rgm@gnu.org>
2833 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2834 Move menu-bar related settings to ../menu-bar.el.
2835 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2836 Move ns-specific settings here from term/ns-win.el.
2838 * simple.el (x-selection-owner-p): Remove unused declaration.
2840 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2842 * minibuffer.el (completion-cycling): New var (bug#7266).
2843 (minibuffer-complete, completion--do-completion):
2844 Use completion--flush-all-sorted-completions.
2845 (minibuffer-complete): Only cycle if completion-cycling is set.
2846 (completion--flush-all-sorted-completions): Unset completion-cycling.
2847 (minibuffer-force-complete): Set completion-cycling.
2848 (completion-all-sorted-completions): Move declaration before first use.
2850 2010-10-28 Leo <sdl.web@gmail.com>
2852 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2853 which changes the order of matches seen by users (bug#7231).
2855 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
2857 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2858 Don't confuse -omega as "-o mega".
2860 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2863 (log-edit-author): New dynamic var.
2864 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2865 to return the author if different from committer.
2866 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2868 * play/landmark.el: Adjust commenting convention.
2869 (lm-nil-score): Rename from nil-score.
2870 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2871 (OOOOscore): Move into a let in lm-score-trans-table.
2872 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2874 * electric.el (electric-indent-chars): Autoload.
2875 * progmodes/octave-mod.el (octave-mode):
2876 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2877 (ruby-mode-abbrev-table): Merge initialization and declaration.
2879 2010-10-27 Glenn Morris <rgm@gnu.org>
2881 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2884 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2886 * term/ns-win.el: Restore require of cl when compiling.
2887 (menu-bar-final-items): Remove non-existent `windows' menu.
2888 (ns-handle-nxopen): Optionally handle the temp-case.
2889 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2890 (ns-insert-file, ns-find-file): Use `pop'.
2892 2010-10-26 Glenn Morris <rgm@gnu.org>
2894 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2896 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
2898 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2900 * term/common-win.el (x-setup-function-keys): Remove most of the
2901 keymappings. Comment on the remaining ones.
2903 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
2905 * server.el (server-port): New option. (Bug#854)
2906 (server-start): Use server-port.
2908 2010-10-26 Glenn Morris <rgm@gnu.org>
2910 * term/ns-win.el (ns-version-string): Remove unused declaration.
2911 (ns-invocation-args): Change to x-invocation-args.
2912 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2913 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2914 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2915 Use x-invocation-args instead of ns-invocation-args.
2916 (ns-initialize-window-system, handle-args-function-alist):
2917 Use x-handle-args instead of ns-handle-args.
2918 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2919 * startup.el (command-line-ns-option-alist): Replace
2920 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2921 ns-handle-iconic with the x- equivalents.
2923 * term/common-win.el (x-select-enable-clipboard):
2924 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2926 * term/ns-win.el: No need to require cl when compiling.
2927 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2928 (xw-defined-colors): Use the common-win definitions.
2929 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2930 (ns-handle-iconic): Make it an alias for x-handle-iconic.
2931 * term/common-win.el (x-select-text, x-alternatives-map)
2932 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2933 * loadup.el [ns]: Load common-win.
2935 2010-10-26 Daiki Ueno <ueno@unixuser.org>
2937 * epa-mail.el (epa-mail-encrypt): Handle local-part only
2938 recipients; expand mail aliases (Bug#7280).
2940 2010-10-25 Glenn Morris <rgm@gnu.org>
2942 * term/common-win.el (x-handle-switch): Simplify with pop.
2943 Optionally handle numeric switches.
2944 (x-handle-numeric-switch): Just call x-handle-switch.
2945 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2946 (x-handle-name-switch, x-handle-display, x-handle-args):
2949 * term/ns-win.el: Do not require easymenu.
2950 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2951 <spell>: Move adjustments to menu-bar.el.
2952 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2953 <separator-undo, spell>: Move ns-win's adjustments here.
2954 * loadup.el [ns]: Do not load easymenu.
2956 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
2958 * image.el (image-checkbox-checked, image-checkbox-unchecked):
2961 * startup.el (fancy-startup-tail): Instead of using inline images,
2962 refer to image files from etc/.
2964 * wid-edit.el (checkbox): Likewise.
2965 (widget-image-find): Center image specs.
2967 2010-10-24 Glenn Morris <rgm@gnu.org>
2969 * term/ns-win.el (x-select-text): Doc fix.
2970 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2971 (x-select-text): Move to term/common-win.
2972 * term/w32-win.el (xw-defined-colors): Move to common-win.
2973 * term/x-win.el (xw-defined-colors, x-alternatives-map)
2974 (x-setup-function-keys, x-select-text): Move to common-win.
2975 * term/common-win.el (x-select-text, x-alternatives-map)
2976 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2979 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
2981 * net/mairix.el (mairix-searches-mode-map):
2982 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2984 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
2986 * verilog-mode.el (verilog-directive-re): Make this variable
2987 auto-built for efficiency of execution and updating.
2988 (verilog-extended-complete-re): Support 'pure' fucntion & task
2989 declarations (these have no bodies).
2990 (verilog-beg-of-statement): General cleanup to enable support of
2991 'pure' fucntion & task declarations (these have no bodies).
2992 These efforts together fix Verilog bug210 from veripool; which was also
2993 noticed by Steve Pearlmutter.
2994 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2995 (verilog-directive-nest-re, verilog-set-auto-endcomments):
2996 Support `elsif. Reported by Shankar Giri.
2997 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2998 attribute handling for lining up declarations and assignments.
2999 (verilog-beg-of-statement-1): Fix issue where continued declaration
3000 is indented differently if it is after a begin..end clock.
3001 (verilog-in-attribute-p, verilog-skip-backward-comments)
3002 (verilog-skip-forward-comment-p): Support proper treatment of
3003 attributes by indent code. Reported by Jeff Steele.
3004 (verilog-in-directive-p): Fix comment to correctly describe function.
3005 (verilog-backward-up-list, verilog-in-struct-region-p)
3006 (verilog-backward-token, verilog-in-struct-p)
3007 (verilog-in-coverage-p, verilog-do-indent)
3008 (verilog-pretty-declarations): Use verilog-backward-up-list as
3009 wrapper around backward-up-list inorder to properly skip comments.
3010 Reported by David Rogoff.
3011 (verilog-property-re, verilog-endcomment-reason-re)
3012 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3013 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3014 of if). Reported by Max Bjurling and
3015 (verilog-calc-1): Fix for clocking block in modport
3016 declaration. Reported by Brian Hunter.
3018 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3020 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3021 (verilog-gate-keywords, verilog-read-sub-decls)
3022 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3023 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3024 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3025 (verilog-read-decls): Fix spaces in V2K module parameters causing
3026 mis-identification as interfaces, bug287.
3027 (verilog-read-decls): Fix not treating "parameter string" as a
3028 parameter in AUTOINSTPARAM.
3029 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3030 treating `elsif similar to `endif inside AUTOSENSE.
3031 (verilog-do-indent): Implement correct automatic or static task or
3032 function end comment highlight. Reported by Steve Pearlmutter.
3033 (verilog-font-lock-keywords-2): Fix highlighting of single
3034 character pins, bug264. Reported by Michael Laajanen.
3035 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3036 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3037 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3038 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3039 (verilog-pretty-expr): Fix interactive arguments, bug272.
3040 Reported by Mark Johnson.
3041 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3042 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3043 bug269. Suggested by Gary Delp.
3044 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3045 (verilog-preprocessor, verilog-set-compile-command):
3046 Create verilog-preprocess and verilog-preprocessor to show
3047 preprocessed output.
3048 (verilog-get-beg-of-line, verilog-get-end-of-line)
3049 (verilog-modi-file-or-buffer, verilog-modi-name)
3050 (verilog-modi-point, verilog-within-string): Move defmacro's
3051 before first use to avoid warning. Reported by Steve Pearlmutter.
3052 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3053 (verilog-colorize-region, verilog-highlight-buffer)
3054 (verilog-highlight-includes, verilog-highlight-modules)
3055 (verilog-highlight-region, verilog-mode): Rename colorize to
3056 highlight to match other packages. Disable module highlighting,
3057 as received speed complaints, reenable for experimentation only
3058 using new verilog-highlight-modules.
3059 (verilog-read-decls): Fix regexp stack overflow in very large
3060 AUTO_TEMPLATEs, bug250.
3061 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3062 (verilog-scan): Create verilog-save-buffer-state to standardize
3063 making insignificant changes that shouldn't call hooks.
3064 (verilog-save-no-change-functions, verilog-save-scan-cache)
3065 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3066 Create verilog-save-no-change-functions to wrap verilog-scan
3067 preservation, and fix to work with nested preserved calls.
3068 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3069 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3070 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3071 (verilog-submit-bug-report): Update variable list to be complete.
3072 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3073 breaking on-the-fly font-locking.
3074 (verilog-colorize-buffer, verilog-colorize-include-files)
3075 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3076 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3077 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3078 AUTOINST cell instance name, middle mouse button now finds-file on
3079 it. Suggested by Brad Dobbie.
3080 (verilog-alw-get-temps, verilog-auto-reset)
3081 (verilog-auto-sense-sigs, verilog-read-always-signals)
3082 (verilog-read-always-signals-recurse): Fix loop indexes being
3083 AUTORESET. AUTORESET now assumes any variables in the
3084 initialization section of a for() should be ignored.
3085 Reported by Dan Dever.
3086 (verilog-error-font-lock-keywords)
3087 (verilog-error-regexp-emacs-alist)
3088 (verilog-error-regexp-xemacs-alist): Fix error detection of
3089 Cadence HAL, reported by David Asher. Repair drift between the
3090 three similar error variables.
3091 (verilog-modi-lookup, verilog-modi-lookup-cache)
3092 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3093 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3094 Fix slow verilog-auto expansion on very large files.
3095 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3096 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3097 "{1*2{...". Broke in last revision.
3098 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3099 submodule connections with replications "{#{a},#{b}}".
3101 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3103 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3104 Fix typo in docstring.
3106 2010-10-24 Kenichi Handa <handa@m17n.org>
3108 * face-remap.el (text-scale-adjust): Call read-event with a proper
3111 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3113 * emacs-lisp/unsafep.el: Don't mark functions that display
3114 messages as safe. Suggested by Johan Bockgård.
3116 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3119 Turn comments into docstrings.
3121 * minibuffer.el (completion--replace): Move point where it belongs
3122 when there's a common suffix (bug#7215).
3124 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3126 Merge read-color and facemenu-read-color (Bug#7242).
3128 * faces.el (read-color): Use the completion code from
3129 facemenu-read-color. Require match in completion. Doc fix.
3131 * facemenu.el (facemenu-read-color): Alias for read-color.
3132 (facemenu-set-foreground, facemenu-set-background):
3135 * frame.el (set-background-color, set-foreground-color)
3136 (set-cursor-color, set-mouse-color, set-border-color):
3139 2010-10-24 Leo <sdl.web@gmail.com>
3141 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3142 argument of delete-file and delete-directory (Bug#7011).
3144 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3146 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3149 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3151 * emacs-lisp/package.el (package--generate-package-list): Make the
3152 *Packages* buffer read-only.
3154 2010-10-24 Alan Mackenzie <acm@muc.de>
3156 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3157 result of `c-beginning-of-decl-1' between invocations of a lambda
3158 function (Bug #7265).
3160 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3162 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3163 executable is not available on the system (Bug#7268).
3165 2010-10-24 Glenn Morris <rgm@gnu.org>
3167 * select.el (selection-coding-system, next-selection-coding-system):
3168 Sync doc with C versions.
3170 * w32-vars.el (x-select-enable-clipboard):
3171 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3172 * term/common-win.el (x-select-enable-clipboard): Move here.
3174 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3175 definition of C variable.
3177 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3178 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3179 Don't redefine things that are defined in C.
3180 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3181 (show-trailing-whitespace, auto-hscroll-mode)
3182 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3183 Set up the appropriate custom properties.
3185 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3188 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3189 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3190 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3191 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3193 2010-10-23 Glenn Morris <rgm@gnu.org>
3195 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3198 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3199 Sync docs with C version.
3201 * term/ns-win.el (xw-defined-colors):
3202 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3204 * term/pc-win.el (x-select-enable-clipboard):
3205 * term/x-win.el (x-select-enable-clipboard):
3206 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3208 * comint.el (comint-password-prompt-regexp): Make it less vague.
3211 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3213 * help.el (finder-by-keyword): Remove unnecessary autoload.
3215 2010-10-22 Glenn Morris <rgm@gnu.org>
3217 * loadup.el: Unconditionally load float-sup.
3218 * paren.el (show-paren-delay):
3219 * emacs-lisp/float-sup.el:
3220 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3221 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3222 (lazy-lock-stealth-verbose): Assume float support.
3223 * ps-print.el: Assume float support on Emacs.
3224 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3225 Remove non-float branch.
3227 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3228 src/Makefile no longer being pre-processed.
3230 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3232 * emacs-lisp/find-func.el (find-library): Use test-completion.
3234 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3236 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3238 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3240 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3241 space in stat format string.
3242 (tramp-send-command): Unset $PS1 when using here documents, in
3243 order not to get several prompts.
3244 (tramp-get-inline-coding): Return `nil' in case of errors.
3246 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3248 * hexl.el (hexl-mode, hexl-mode-exit):
3249 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3250 (hexl-revert-buffer-function): New function.
3251 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3253 2010-10-19 Alan Mackenzie <acm@muc.de>
3255 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3256 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3257 that these keywords aren't wrongly matched as identifiers.
3259 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3260 setting of c-new-BEG and c-new-END from c-before-change to
3261 c-after-change. (Bug#7181)
3263 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3265 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3268 * custom.el (custom-theme-set-variables): Likewise.
3269 (load-theme): Add custom-theme-set-faces and
3270 custom-theme-set-variables to safe-functions while loading.
3271 (custom-enabled-themes): Mark as risky.
3273 2010-10-18 Julien Danjou <julien@danjou.info>
3275 * bindings.el: Remove end dashes in default mode-line-format.
3277 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3279 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3280 to delete-forward-char.
3282 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3283 deletechar, and hence delete-forward-char.
3285 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * repeat.el (repeat): Use read-key (bug#6256).
3289 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3291 * emacs-lisp/unsafep.el: Don't mark functions that display
3292 messages as safe. Suggested by Johan Bockgård.
3294 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * minibuffer.el (completion--replace): Move point where it belongs
3297 when there's a common suffix (bug#7215).
3299 2010-10-19 Kenichi Handa <handa@m17n.org>
3301 * international/characters.el: Add category '|' (word breakable)
3302 to fullwidth characters.
3304 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3306 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3307 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3308 order to make stat results a float. Patch by Andreas Schwab
3309 <schwab@linux-m68k.org>.
3311 2010-10-18 Julien Danjou <julien@danjou.info>
3313 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3314 hidden by `make-pointer-invisible'.
3316 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * files.el (locate-file-completion-table): Strip non-matching elements
3319 before checking length of list (bug#7238).
3321 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3323 * custom.el (custom-theme-set-variables): Mark as a safe function.
3324 (load-theme): Check forms using unsafep.
3326 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3328 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3330 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3331 Fix aspell data file searching (bug#7230).
3333 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3335 * cus-theme.el (custom-theme--migrate-settings): New var.
3336 (customize-create-theme): Allow editing the `user' theme.
3337 (custom-theme-add-variable, custom-theme-add-var-1)
3338 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3339 to the front of each variable or face widget.
3340 (custom-theme-write): Save theme settings in the correct order.
3341 Optionally, remove saved settings from user customizations.
3342 (custom-theme-write-variables, custom-theme-write-faces):
3343 Save only the checked widgets.
3344 (customize-themes): Add a link for migrating custom settings.
3346 * custom.el (custom-declare-theme, provide-theme):
3347 Use custom-theme-name-valid-p.
3348 (custom-theme-name-valid-p): Remove checks that are now
3349 unnecessary since themes no longer obey load-path.
3351 * cus-edit.el (custom-variable-value-create): For the simple
3352 style, hide documentation string when hidden.
3354 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3356 * cus-edit.el (custom-variable, custom-face): Combine the
3357 :inhibit-magic and :display-style properties into a single
3358 :custom-style property.
3359 (custom-toggle-hide-variable, custom-toggle-hide-face):
3360 New functions. If hiding an edited value, save it to :shown-value.
3361 (custom-variable-value-create, custom-face-value-create): Use them.
3362 (custom-magic-reset): Allow magic property to be unset.
3364 * custom.el: Custom themes no longer use load-path.
3365 (custom-theme-load-path): New option. Change built-in theme
3367 (custom-enabled-themes): Add custom-theme-load-path dependency.
3368 (custom-theme--load-path): New function.
3369 (load-theme, custom-available-themes): Use it.
3371 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3372 (customize-themes): Link to custom-theme-load-path variable.
3373 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3374 :custom-style property.
3376 * themes/*.el: Moved to etc/.
3378 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3380 * textmodes/reftex-cite.el
3381 (reftex-extract-bib-entries-from-thebibliography): Do not move
3382 point when searching for \bibitem entries. Match entries with
3383 spaces or tabs in front of arguments.
3385 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3387 * cus-theme.el (customize-create-theme): Delete overlays after
3388 erasing. If given a THEME arg, display only the faces of that arg
3389 instead of custom-theme--listed-faces.
3390 (custom-theme-variable-menu, custom-theme-variable-action)
3391 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3392 (custom-theme-add-variable, custom-theme-add-face): Apply value
3393 from the theme settings, instead of the current value.
3394 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3395 (custom-theme-visit-theme): Allow calling outside theme buffers.
3396 (custom-theme-merge-theme): Don't enable the theme when merging.
3397 (custom-theme-write-variables, custom-theme-write-faces): Use the
3398 :shown-value properties to save buffer values, not global ones.
3399 (customize-themes): Display a warning about user customizations.
3401 * cus-edit.el (custom-variable-value-create)
3402 (custom-face-value-create): Obey new special properties
3403 :shown-value and :inhibit-magic.
3405 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3407 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3408 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3411 2010-10-14 Kenichi Handa <handa@m17n.org>
3413 * mail/rmail.el (rmail-show-message-1): Catch an error of
3414 base64-decode-region and just show an error message (bug#7165).
3416 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3417 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3418 a font-spec (bug#7197).
3420 2010-10-14 Glenn Morris <rgm@gnu.org>
3422 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3424 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3426 * international/mule.el (define-coding-system):
3427 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3428 * composite.el (compose-region): Fix typo in docstring.
3430 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3432 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3433 only after checking the theme-face property.
3435 * faces.el (face-spec-reset-face): Reset all attributes in one
3436 single call to set-face-attribute.
3437 (face-spec-match-p): Make it a defsubst.
3438 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3439 (x-create-frame-with-faces, tty-create-frame-with-faces)
3440 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3441 frame-set-background-mode, since they are recomputed immediately
3442 afterwards in face-set-after-frame-default.
3443 (face-set-after-frame-default): Minor optimization.
3444 (cursor): Provide non-trivial defface spec.
3446 * custom.el (custom-theme-recalc-face): Simplify.
3448 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3450 * calc/calc-alg.el (math-var): Rename from `var'.
3451 (math-is-polynomial, math-is-poly-rec): Replace `var'
3454 * calc/calcalg2.el (math-var): Rename from `var'.
3455 (calcFunc-table, math-scan-for-limits): Replace `var'
3458 2010-10-13 Glenn Morris <rgm@gnu.org>
3460 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3462 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3464 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3466 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3468 * net/tls.el (tls-program): Remove spurious %s from openssl.
3469 (tls-starttls-switches): Remove starttls hack.
3470 (open-tls-stream): Ditto.
3471 (tls-find-starttls-argument): Ditto.
3473 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3475 * image.el (image-library-alist): Declare as obsolete alias.
3476 (image-type-available-p): Use `dynamic-library-alist'.
3478 * term/w32-win.el (dynamic-library-alist):
3479 Use instead of `image-library-alist'.
3481 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3483 * subr.el (last): Make it faster. (Bug#7174)
3485 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3487 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3489 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3491 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3492 (describe-theme-1): Extract doc from unloaded themes.
3494 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3496 * themes/tango-theme.el:
3497 * themes/tango-dark-theme.el:
3498 * themes/wheatgrass-theme.el: New files.
3500 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3502 * cus-theme.el (describe-theme, customize-themes)
3503 (custom-theme-save): New commands.
3504 (custom-new-theme-mode-map): Bind C-x C-s.
3505 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3506 (customize-create-theme): New optional arg THEME.
3507 (custom-theme-revert): Use it.
3508 (custom-theme-visit-theme): Remove dead code.
3509 (custom-theme-merge-theme): Use custom-available-themes.
3510 (custom-theme-write): Make interactive.
3511 (custom-theme-write): Use custom-theme-name-valid-p.
3512 (describe-theme-1, custom-theme-choose-revert)
3513 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3515 (custom-theme-allow-multiple-selections): New option.
3516 (custom-theme-choose-mode): New major mode.
3518 * custom.el (custom-theme-set-variables): Remove dead code.
3519 Obey custom--inhibit-theme-enable.
3520 (custom--inhibit-theme-enable): New var.
3521 (provide-theme): Obey it.
3522 (load-theme): Replace load with manual read/eval, in order to
3523 check for correctness. Use custom-theme-name-valid-p.
3524 (custom-theme-name-valid-p): New function.
3525 (custom-available-themes): Use it.
3527 * cus-edit.el (custom--initialize-widget-variables): New function.
3528 (Custom-mode): Use it.
3530 * cus-face.el (custom-theme-set-faces): Remove dead code.
3531 Obey custom--inhibit-theme-enable.
3533 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3535 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
3537 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3539 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3541 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3542 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3543 (mac-right-option-modifier): New alias for ns-right-option-modifier.
3545 * cus-start.el (all): ns-right-alternate-modifier is new.
3547 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * emacs-lisp/lisp.el (lisp-completion-at-point):
3550 Use emacs-lisp-mode-syntax-table for the whole function.
3552 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
3554 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3555 instead of font-lock-mode before adding keywords.
3556 Remove hi-lock-mode off code. Remove inhibit hack.
3557 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3558 non-nil; removed hook inhibit hack.
3560 2010-10-12 Glenn Morris <rgm@gnu.org>
3562 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3563 (load-path-shadows-find): ... to this.
3564 (list-load-path-shadows): Update for above change.
3566 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3568 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
3570 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3571 Fix comment for declare-function.
3573 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
3575 * custom.el (custom-fix-face-spec): New function; code moved from
3576 custom-face-edit-fix-value.
3577 (custom-push-theme): Use it when checking if a face has been
3578 changed outside customize.
3579 (custom-available-themes): New function.
3580 (load-theme): Use it.
3582 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3584 * custom.el (custom-push-theme): Cleanup (use cond).
3585 (disable-theme): Recompute the saved-face property.
3586 (custom-theme-recalc-face): Follow face alias before setting prop.
3588 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3589 New variables, containing checkbox images.
3591 * startup.el (fancy-startup-tail):
3592 * wid-edit.el (checkbox): Use them.
3594 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
3596 * shell.el (shell-mode-map):
3597 * progmodes/modula2.el (m2-mode-map):
3598 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3599 * play/mpuz.el (mpuz-mode-map):
3600 * play/landmark.el (lm-mode-map):
3601 * play/decipher.el (decipher-mode-map):
3602 * play/5x5.el (5x5-mode-map):
3603 * net/telnet.el (telnet-mode-map):
3604 * net/quickurl.el (quickurl-list-mode-map):
3605 * net/mairix.el (mairix-searches-mode-map):
3606 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3607 * net/dig.el (dig-mode-map):
3608 * mail/mspools.el (mspools-mode-map):
3609 * hexl.el (hexl-mode-map):
3610 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3611 (wordstar-C-o-map, wordstar-C-q-map):
3612 * emacs-lisp/edebug.el (edebug-eval-mode-map):
3613 * emacs-lisp/chart.el (chart-map):
3614 * edmacro.el (edmacro-mode-map):
3615 * erc/erc-list.el (erc-list-menu-mode-map):
3616 * array.el (array-mode-map): Declare and define in one step.
3618 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3620 2010-10-10 Daiki Ueno <ueno@unixuser.org>
3622 * epa.el (epa-passphrase-callback-function): Display filename
3623 passed as the 3rd arg.
3624 * epa-file.el (epa-file-passphrase-callback-function):
3625 Pass filename to epa-passphrase-callback-function.
3627 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
3629 * cus-edit.el (custom-face-widget-to-spec)
3630 (custom-face-get-current-spec, custom-face-state): New functions.
3631 (custom-face-set, custom-face-mark-to-save)
3632 (custom-face-value-create, custom-face-state-set): Use them.
3634 * cus-theme.el (custom-theme--listed-faces): New var.
3635 (customize-create-theme): Use *Custom Theme* as the buffer name.
3636 Set revert-buffer-function. Optional arg BUFFER. Insert all
3637 faces listed in custom-theme--listed-faces.
3638 (custom-theme-revert): New function.
3639 (custom-theme-add-variable, custom-theme-add-face): Insert at the
3641 (custom-theme-write): Prompt for theme name if empty.
3642 (custom-theme-write-variables): Use dolist.
3643 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3645 2010-10-09 Alan Mackenzie <acm@muc.de>
3647 Enhance fontification of declarators to take account of the
3648 presence/absence of "typedef".
3650 * cc-engine.el (c-forward-type): New &optional param
3652 (c-forward-decl-or-cast-1): cdr of return value now indicates the
3653 presence of either or both of a "struct"-like keyword and "typedef".
3655 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3656 fontification of declarators which follow a "}".
3657 (c-font-lock-declarations): Fontify declarators according to the
3658 presence/absence of "typedef".
3660 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3662 (c-typedef-decl-key): New lang variable built from
3663 c-typedef-decl-kwds.
3665 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3667 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3668 since that's too annoying. Move the filter groups commands to
3671 * epa.el (epa-passphrase-callback-function): Say what we're
3672 querying the password for.
3674 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3675 behaviour, don't bury the ibuffer buffer when visiting other buffers.
3677 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3679 * cus-edit.el (custom-commands, custom-buffer-create-internal)
3680 (custom-magic-value-create): Pad button tags with spaces.
3681 (custom-face-edit): New variable.
3682 (custom-face-value-create): Determine whether to use the usual
3683 face editor here, instead of using custom-face-selected.
3684 Pass face defaults to custom-face-edit widget.
3685 (custom-face-selected, custom-display-unselected): Delete widgets.
3686 (custom-display-unselected-match): Function removed.
3687 (custom-face-set, custom-face-mark-to-save):
3688 Accept custom-face-edit widgets as the direct widget child.
3690 * wid-edit.el (widget--completing-widget): New var.
3691 (widget-default-complete): Bind it when doing completion.
3692 (widget-string-complete, widget-file-complete): Use it.
3694 2010-10-09 Glenn Morris <rgm@gnu.org>
3696 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3697 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3698 (holiday-hebrew-misc): Small simplifications.
3700 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3702 * net/browse-url.el: Don't require thingatpt, term, dired,
3703 executable, or w3-auto when compiling.
3704 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3706 (browse-url-text-emacs): Require term.
3708 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
3710 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3712 2010-10-08 Glenn Morris <rgm@gnu.org>
3714 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3716 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3717 (shadows-compare-text-p): Make it an obsolete alias for...
3718 (load-path-shadows-compare-text): ... new name.
3719 (find-emacs-lisp-shadows): Update for above name change.
3720 (load-path-shadows-same-file-or-nonexistent): New name for the old
3721 shadow-same-file-or-nonexistent.
3723 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
3725 * minibuffer.el (completion--some, completion--do-completion)
3726 (minibuffer-complete-and-exit, minibuffer-completion-help)
3727 (completion-basic-try-completion)
3728 (completion-basic-all-completions)
3729 (completion-pcm--find-all-completions): Use lexical-let to
3730 avoid some false matches in variable completion (Bug#7056)
3732 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
3734 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
3736 2010-10-08 Leo <sdl.web@gmail.com>
3738 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3739 return non-nil if the file exists (Bug#7090).
3741 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * minibuffer.el (completion--replace):
3744 Better preserve markers (bug#7138).
3746 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
3748 * server.el (server-process-filter): Doc fix.
3750 2010-10-08 Drew Adams <drew.adams@oracle.com>
3752 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
3754 2010-10-08 Glenn Morris <rgm@gnu.org>
3756 * vc/ediff-wind.el (ediff-setup-control-frame):
3757 * vc/ediff-ptch.el (ediff-default-backup-extension):
3758 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3759 (ediff-exec-process): Remove system-types emx, windows-95.
3761 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
3763 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
3765 * cus-edit.el (custom-variable, custom-face): Doc fix.
3766 (custom-face-edit): Add value-create attribute.
3767 (custom-face-edit-value-create)
3768 (custom-face-edit-value-visibility-action): New functions.
3769 Hide unused face attributes by default, and add a visibility toggle.
3770 (custom-face-edit-deactivate): Show empty values with shadow face.
3771 (custom-face-selected): Only use this for face specs with default
3773 (custom-face-value-create): Cleanup.
3775 * wid-edit.el (widget-checklist-value-create): Use dolist.
3776 (widget-checklist-match-find): Make second arg optional.
3778 2010-10-07 Glenn Morris <rgm@gnu.org>
3780 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3783 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3784 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3785 load-path-shadows-mode, update references.
3786 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3787 Rename variable and button.
3788 (list-load-path-shadows): Update button caller.
3790 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * emacs-lisp/smie.el (smie-bnf-classify): New function.
3793 (smie-bnf-precedence-table): Use it to remember the closers/openers.
3794 (smie-merge-prec2s): Handle those new entries.
3795 (smie-prec2-levels): Only set precedence to nil for actual
3797 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3798 that is now unnecessary.
3800 2010-10-07 Miles Bader <miles@gnu.org>
3802 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3804 2010-10-07 Glenn Morris <rgm@gnu.org>
3806 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3807 (mail-position-on-field): Remove declarations.
3808 (mail-position-on-field): Autoload it.
3809 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3810 and mail-header-end. Don't require sendmail.
3812 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3813 (shadow-mode): New mode.
3814 (shadow-find-file): New button.
3815 (list-load-path-shadows): Use shadow-mode and buttons.
3817 * iimage.el (iimage-version): Remove.
3818 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3819 Turn into defcustoms.
3820 (iimage-mode-map): Give it a doc string.
3822 * calendar/appt.el (appt-activate): Give a warning rather than an error
3823 if there is no diary-file.
3825 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
3827 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3828 Use `tramp-handle-find-backup-file-name'.
3830 2010-10-06 Glenn Morris <rgm@gnu.org>
3832 * font-core.el (font-lock-defaults-alist): Remove variable.
3833 (font-lock-mode): Doc fix.
3834 (font-lock-default-function): Do not consult font-lock-defaults-alist.
3835 * font-lock.el (font-lock-refresh-defaults): Doc fix.
3836 (font-lock-set-defaults): Doc fix.
3837 Do not consult font-lock-defaults-alist.
3839 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3841 * emacs-lisp/cl.el: No longer provide cl-19.
3843 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
3845 * net/tramp.el (tramp-handle-directory-files-and-attributes)
3846 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3847 New defuns, taken from tramp-smb.el.
3848 (tramp-coding-system-change-eol-conversion)
3849 (tramp-set-process-query-on-exit-flag): Remove.
3851 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3852 (tramp-compat-coding-system-change-eol-conversion)
3853 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3856 * net/tramp-gvfs.el:
3857 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3858 by `tramp-compat-set-process-query-on-exit-flag'.
3860 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3861 Use `tramp-handle-directory-files-and-attributes',
3862 `tramp-handle-file-exists-p' and
3863 `tramp-handle-file-newer-than-file-p'.
3864 (tramp-imap-handle-file-exists-p)
3865 (tramp-imap-handle-file-executable-p)
3866 (tramp-imap-handle-file-readable-p)
3867 (tramp-imap-handle-directory-files-and-attributes)
3868 (tramp-imap-handle-file-newer-than-file-p): Remove.
3870 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3871 by `tramp-compat-set-process-query-on-exit-flag' and
3872 `tramp-coding-system-change-eol-conversion' by
3873 `tramp-compat-coding-system-change-eol-conversion'.
3875 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3876 Use `tramp-handle-directory-files-and-attributes',
3877 `tramp-handle-file-exists-p' and
3878 `tramp-handle-file-newer-than-file-p'.
3879 (tramp-smb-handle-directory-files-and-attributes)
3880 (tramp-smb-handle-file-exists-p)
3881 (tramp-smb-handle-file-newer-than-file-p): Remove.
3882 (tramp-smb-maybe-open-connection):
3883 Replace `tramp-set-process-query-on-exit-flag' by
3884 `tramp-compat-set-process-query-on-exit-flag'.
3886 2010-10-05 Glenn Morris <rgm@gnu.org>
3888 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3890 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
3892 Continue reorganization of load dependencies. (Bug#7156)
3894 * net/tramp.el (tramp-handle-file-local-copy-hook)
3895 (tramp-delete-temp-file-function): Move down.
3896 (tramp-exists-file-name-handler): Move up.
3897 (tramp-register-file-name-handlers): Simplify autoload.
3898 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3899 (tramp-handle-directory-files, tramp-handle-dired-uncache)
3900 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3901 (tramp-handle-file-name-completion)
3902 (tramp-handle-file-name-directory)
3903 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3904 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3905 (tramp-handle-find-backup-file-name)
3906 (tramp-handle-insert-file-contents, tramp-handle-load)
3907 (tramp-handle-substitute-in-file-name)
3908 (tramp-handle-unhandled-file-name-directory)
3909 (tramp-mode-string-to-int, tramp-local-host-p)
3910 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3912 * net/tramp-gvfs.el (top):
3913 * net/tramp-smb.el (top): Do not require 'tramp-sh.
3915 * net/tramp-sh.el (all): Move several objects to tramp.el, see
3916 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3918 2010-10-04 Glenn Morris <rgm@gnu.org>
3920 * calendar/appt.el (appt-add): Ensure reminders are enabled.
3921 (appt-activate): Give status messages.
3923 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3925 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
3926 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3927 `gnutls-negotiate' (formerly `starttls-negotiate').
3928 Remove trivial wrapper `starttls-open-stream'.
3930 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
3932 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3933 log-outgoing commands.
3934 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3935 to create a buffer local revert-buffer-function variable.
3936 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3937 revert-buffer-function lambda.
3939 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
3941 * net/gnutls.el (starttls-negotiate): Use the plist interface to
3942 `gnutls-boot'. Make TYPE the only required parameter.
3943 Allow TRUSTFILES and KEYFILES to be lists.
3944 (open-ssl-stream): Use it.
3946 2010-10-03 Glenn Morris <rgm@gnu.org>
3948 * subr.el (directory-sep-char): Remove obsolete variable.
3949 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3952 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3953 * vc/vc.el (vc-static-header-alist): Doc fix.
3954 * vc/vc-cvs.el (vc-cvs-header):
3955 * vc/vc-rcs.el (vc-rcs-header):
3956 * vc/vc-sccs.el (vc-sccs-header):
3957 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3958 * obsolete/vc-mcvs.el (vc-mcvs-header):
3959 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3962 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
3964 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3965 Remove obsolete use of binary-overwrite-mode (Bug#7001).
3967 2010-10-03 Glenn Morris <rgm@gnu.org>
3969 * obsolete/x-menu.el: Remove file, obsolete since 21.1
3971 * textmodes/rst.el (rst-font-lock-keywords-function):
3974 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3976 * printing.el: Drop Emacs 20 code.
3978 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3979 without having used appt.el already).
3981 * subr.el (make-local-hook): Remove function obsolete since 21.1.
3982 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3983 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3985 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3986 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3988 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3989 (charset-width, find-charset-region, chars-in-region, forward-point)
3990 (encode-coding-string, coding-system-p, ccl-execute-on-string)
3991 (define-ccl-program, multibyte-string-p, string-make-multibyte):
3992 Remove compatibility cruft (none of these are used by ps*.el).
3994 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3996 * subr.el (booleanp): Return t instead of a list (Bug#7086).
3998 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4000 * server.el (server-process-filter, server-return-error):
4001 Give emacsclient time to shut down after receiving an error string.
4003 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4005 * files.el (remote-file-name-inhibit-cache): New defcustom.
4007 * time.el (display-time-file-nonempty-p):
4008 Use `remote-file-name-inhibit-cache'.
4010 * net/tramp.el (tramp-completion-reread-directory-timeout):
4013 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4014 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4015 `remote-file-name-inhibit-cache'. Check also for an integer
4016 value. Add/increase counter when `tramp-verbose' >= 10.
4017 (tramp-set-file-property): Add/increase counter when
4018 `tramp-verbose' >= 10.
4020 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4021 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4022 (tramp-bug): Set tramp-autoload cookie. Report all interned
4023 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4024 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4025 characters only in strings.
4027 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4028 to backward compatibility.
4030 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4031 (tramp-handle-file-name-all-completions)
4032 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4033 (tramp-open-connection-setup-interactive-shell):
4034 Call `tramp-cleanup-connection' directly.
4036 2010-10-02 Glenn Morris <rgm@gnu.org>
4038 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4040 * subr.el (char-bytes): Remove obsolete function.
4042 * isearch.el (isearch-return-char): Remove obsolete function.
4044 * mouse.el: No longer provide mldrag.
4045 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4046 Remove obsolete aliases.
4048 * comint.el (comint-kill-output): Remove obsolete alias.
4050 * composite.el (decompose-composite-char): Remove obsolete function.
4051 * ps-def.el (decompose-composite-char): Remove unused function.
4053 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4055 * outline.el (outline-visible): Remove obsolete function.
4057 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4058 * faces.el (internal-find-face, internal-get-face)
4059 (frame-update-faces, frame-update-face-colors)
4060 (x-frob-font-weight, x-frob-font-slant)
4061 (internal-frob-font-weight, internal-frob-font-slant)
4062 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4063 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4064 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4066 * emulation/viper-util.el (viper-get-face):
4067 * obsolete/lucid.el (find-face, get-face): Use facep.
4068 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4069 Remove unused functions.
4070 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4072 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4073 delete tempfile if interrupted during compilation.
4075 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4077 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4079 (tls-program): Add --insecure to be consistent with the defaults from
4080 openssl s_client. Now all three commands are insecure.
4082 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4084 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4085 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4086 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4088 2010-10-01 Glenn Morris <rgm@gnu.org>
4090 * obsolete/sc.el: Remove file.
4092 * files.el (temporary-file-directory): On darwin, also try
4093 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4095 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4097 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4098 Let's not break compatibility gratuitously, shall we?
4100 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4102 * net/tls.el (tls-starttls-switches): New variable.
4103 (tls-find-starttls-argument): Use it.
4104 (open-tls-stream): Ditto.
4106 * net/netrc.el (netrc-credentials): Return the value of the "default"
4108 (netrc-machine): Ditto.
4110 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4112 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4114 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4116 * server.el (server-start): Don't write pid to the authentication file.
4117 (server-create-tty-frame): Don't send pid.
4118 (server-process-filter): Send pid at the start of every connection.
4120 2010-09-30 Glenn Morris <rgm@gnu.org>
4122 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4123 (show-all-diary-entries): Remove obsolete function aliases.
4125 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4126 Remove options, obsolete since 22.1.
4127 (appt-display-format, appt-display-message):
4128 Remove backwards-compatibility code.
4129 (appt-check): No longer check appt-issue-message.
4130 (appt-make-list): No longer autoload it. Doc fix. No longer
4131 activate the package.
4133 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4135 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4136 (starttls-negotiate): Just call boot, and let the handshake be
4137 triggered from the read loop.
4139 2010-09-29 Glenn Morris <rgm@gnu.org>
4141 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4142 not displaying the diary.
4143 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4144 * calendar/appt.el (appt-check): No longer need to kill diary.
4146 * calendar/diary-lib.el (diary-list-entries): Move the
4147 "Preparing..." message entirely here.
4148 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4149 messages to diary-list-entries.
4150 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4151 diary-display-function.
4153 * calendar/diary-lib.el (diary-include-other-diary-files):
4154 Trap some recursive includes.
4156 * calendar/appt.el (appt-activate): Check diary file.
4158 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4160 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4163 * calendar/time-date.el: No need to require cl for Emacs 21.
4165 2010-09-28 Glenn Morris <rgm@gnu.org>
4167 * calendar/appt.el (appt-check): Minor simplification.
4169 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4171 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4174 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4176 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4177 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4179 2010-09-27 Kenichi Handa <handa@m17n.org>
4181 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4184 2010-09-27 Kenichi Handa <handa@m17n.org>
4186 * international/mule.el (define-coding-system): Docstring fixed.
4188 * international/mule-diag.el (describe-character-set): Use princ
4189 with proper print-length and print-level instead of insert.
4191 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4193 * window.el (walk-windows): Doc fix (bug#7105).
4195 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * emacs-lisp/float-sup.el (e): Remove.
4199 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4201 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4203 (starttls-negotiate): Use it.
4205 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4207 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4210 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4214 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4216 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4218 * net/netrc.el (netrc-store-data): New function.
4220 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4222 * net/gnutls.el: GnuTLS glue code to set up a connection.
4224 2010-09-25 Julien Danjou <julien@danjou.info>
4226 * notifications.el: Call dbus-register-signal only if it is bound.
4228 2010-09-25 Glenn Morris <rgm@gnu.org>
4230 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4231 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4232 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4233 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4234 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4235 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4236 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4237 * eshell/esh-util.el, eshell/esh-var.el:
4238 Remove leading `*' from docs of faces and defcustoms.
4240 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4242 * eshell/em-ls.el (eshell-ls-archive-regexp):
4243 * eshell/esh-util.el (eshell-tar-regexp):
4244 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4245 * info.el (Info-suffix-list):
4246 * international/mule.el (auto-coding-alist):
4247 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4248 * progmodes/etags.el (tags-compression-info-list):
4249 Support xz compression.
4251 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4253 * files.el (get-free-disk-space): Don't assume the "df" output
4254 columns line up (Bug#6995).
4256 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4258 * finder.el (finder-unknown-keywords):
4259 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4260 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4262 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4264 * server.el (server-start): Revert part of 2010-08-08 change. Using
4265 address 127.0.0.1 for local host is now done in Fmake_network_process.
4267 2010-09-24 Glenn Morris <rgm@gnu.org>
4269 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4270 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4271 * textmodes/css-mode.el, textmodes/dns-mode.el:
4272 Move autoloaded auto-mode-alist entries to files.el.
4273 * files.el (auto-mode-alist): Move entries here.
4275 2010-09-23 Glenn Morris <rgm@gnu.org>
4277 * isearch.el (isearch-lazy-highlight-cleanup)
4278 (isearch-lazy-highlight-initial-delay)
4279 (isearch-lazy-highlight-interval)
4280 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4281 * net/net-utils.el (ipconfig-program-options):
4282 Move aliases to options before the associated definitions.
4284 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4286 * newcomment.el (comment-normalize-vars): Better test validity of
4289 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4292 (float-e): New name for `e'.
4293 (degrees-to-radians, radians-to-degrees):
4294 * calendar/solar.el (solar-longitude):
4295 * calculator.el (calculator-registers, calculator-funcall):
4296 * textmodes/artist.el (artist-spray-random-points):
4297 * play/bubbles.el (bubbles--initialize-images): Use new names.
4299 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4301 Update to CEDET 1.0's version of EIEIO.
4303 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4305 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4306 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4307 (class-precedence-list): If class is nil, return nil.
4308 (eieio-generic-call): If class of first input arg is nil, don't
4309 look up static methods, and do check for primary methods.
4310 (initialize-instance): See if the default needs to be evaluated
4311 during the constructor.
4312 (eieio-perform-slot-validation-for-default): Don't do the check
4313 for values that will eventually be evaluated.
4314 (eieio-eval-default-p): New function.
4315 (eieio-default-eval-maybe): Use it.
4317 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4319 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4320 method-invocation-order.
4321 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4322 (eieio-class-precedence-dfs): Compute class precedence list using
4324 (eieio-class-precedence-bfs): Compute class precedence list using
4326 (eieio-class-precedence-c3): Compute class precedence list using
4328 (class-precedence-list): New function.
4329 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4330 (inconsistent-class-hierarchy): New error symbol.
4331 (call-next-method): Stow the replacement argument list for future
4332 call-next-method invocations.
4334 2010-09-23 Glenn Morris <rgm@gnu.org>
4336 * calendar/appt.el (appt-check): If not displaying the diary,
4337 use (diary 1) to only get the entries we need.
4338 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4339 that it is in day order. (Bug#7019)
4341 * calendar/appt.el (appt-check): Rather than showing the diary,
4342 just turn off invisible display, and only if needed.
4344 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4346 2010-09-23 Glenn Morris <rgm@gnu.org>
4348 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4349 (byte-compile-defvar, byte-compile-cl-warn):
4350 Start warnings with lower-case, like the majority.
4352 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4354 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4356 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4357 * files.el (auto-mode-alist): Move ld-script entries here, further down
4360 * vc/add-log.el: Don't require timezone when compiling.
4361 (timezone-make-date-sortable): Autoload it.
4362 (change-log-sortable-date-at): Don't require timezone.
4363 Use `ignore-errors'.
4365 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4366 Move alias before definition, so it does not need autoloading.
4368 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4369 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4370 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4371 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4372 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4373 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4374 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4375 * textmodes/tex-mode.el, textmodes/two-column.el:
4376 Remove leading `*' from docs of defcustoms etc.
4378 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4380 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4382 2010-09-22 Dan Christensen <jdc@uwo.ca>
4384 * calendar/time-date.el (date-to-time): Try using parse-time-string
4385 first before using the slower timezone-make-date-arpa-standard.
4387 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4389 * calendar/time-date.el (format-seconds): Comment fix.
4391 2010-09-22 Glenn Morris <rgm@gnu.org>
4393 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4394 is not automatically buffer-local.
4396 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4399 (smie-indent-comment): Be more careful with comment-start-skip.
4400 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4401 (smie-indent-functions): Use them.
4403 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4405 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4407 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4409 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4410 tool-bar-position. Don't modify frame parameters here.
4411 (menu-bar-options-save): Add tool-bar-position.
4413 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4415 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * textmodes/reftex-parse.el (reftex-what-macro)
4418 (reftex-context-substring): Let-bind forward-sexp-function to nil
4419 since we don't need/want to treat \begin...\end as a block (bug#7053).
4421 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4423 * simple.el (blink-matching-open): Use syntax-class.
4425 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4426 Set invisibility spec for pascal's outline mode.
4427 (pascal-outline-change): Clean up calling convention.
4428 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4430 * progmodes/prolog.el (prolog-smie-forward-token)
4431 (prolog-smie-backward-token): New functions.
4432 (prolog-mode-variables): Use them to parse "!," correctly.
4433 Set up smie-blink-matching for ".".
4435 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4437 (ispell-region, ispell-process-line): Update users.
4439 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4442 * textmodes/ispell.el: Fix commenting convention.
4443 (ispell-parse-output): Simplify, use push.
4444 (ispell-region): Use match-string-no-properties.
4445 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4446 (ispell-minor-mode): Use define-minor-mode.
4447 (ispell-message): Remove unused var `skip-regexp'.
4448 (ispell-add-per-file-word-list): Use dynamic let-binding.
4449 Try and use the proper comment marker.
4451 * mail/sendmail.el: Fix commenting convention.
4452 (sendmail-send-it): Use line-beginning-position.
4454 * help-fns.el (describe-variable): Add original value, if applicable.
4456 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4458 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4460 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4462 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4464 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4465 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4466 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4467 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4468 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4469 something like "." can also be a closer.
4470 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4471 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4472 Rename internal functions to use "--". Update callers.
4474 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4476 * fringe.el (fringe-styles): New var.
4477 (fringe-mode, fringe-query-style): Use it.
4479 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4481 * progmodes/sql.el: Version 2.8
4482 (sql-login-params): Update widget structure; changes still needed.
4483 (sql-product-alist): Add :list-all and :list-table features for
4484 SQLite, Postgres and MySQL products.
4485 (sql-redirect): Handle default value.
4486 (sql-execute, sql-execute-feature): New functions.
4487 (sql-read-table-name): New function.
4488 (sql-list-all, sql-list-table): New functions. User API.
4489 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4490 for above functions.
4491 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4492 for above functions.
4493 (sql-postgres-login-params): Add user and database defaults.
4494 (sql-buffer-live-p): Bug fix.
4495 (sql-product-history): New variable.
4496 (sql-read-product): New function. Use it.
4497 (sql-set-product, sql-product-interactive): Use it.
4498 (sql-connection-history): New variable.
4499 (sql-read-connection): New function. Use it.
4500 (sql-connect): New function.
4501 (sql-for-each-login): Redesign function interface.
4502 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4503 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4504 (sql-comint): Check for program. Existing live buffer.
4505 (sql-comint-postgres): Add port parameter.
4507 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4509 * emacs-lisp/warnings.el: Fix commenting convention.
4510 (display-warning): Use special mode and make the buffer read-only.
4512 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4514 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4515 empty string when it follows a repeated or optional pattern.
4517 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4520 (indent-region): Use indent-according-to-mode.
4522 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4524 * fringe.el (fringe-mode): Doc fix.
4526 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4528 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4529 refreshing the preview buffer.
4531 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4534 (latex-syntax-propertize-rules): New consts; replace
4535 tex-font-lock-syntactic-keywords.
4536 (tex-env-mark, latex-env-before-change): New functions.
4537 (latex-electric-env-pair-mode): New minor mode.
4538 (tex-font-lock-verb): Change arguments; do move point.
4539 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4540 representation as a form of comment.
4541 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4542 (doctex-syntax-propertize-rules): New const; replaces
4543 doctex-font-lock-syntactic-keywords.
4544 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4546 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4547 (fortran-make-syntax-propertize-function): New function; replaces
4548 fortran-font-lock-syntactic-keywords.
4549 (fortran-mode): Use it.
4550 (fortran-line-length): Use it. Improve interactive spec.
4552 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4553 (syntax-propertize-rules): Add var-ref case. Fix offset computation
4554 when adding surrounding \(..\).
4556 * progmodes/js.el (js-mode): Fix last change (bug#7054).
4558 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4560 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4561 Use with-current-buffer.
4563 * isearch.el (isearch-face): Rename from `isearch'.
4564 (isearch-highlight): Use new name.
4566 2010-09-17 Eli Zaretskii <eliz@gnu.org>
4568 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4569 5, for `half' width fringes. (Bug#6933)
4571 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4573 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4574 (byte-compile-defvar): "foo/bar" does not lack a prefix.
4576 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4578 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
4580 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4581 in calculating new frame position. Add more space between new and
4582 parent on the left (Bug#7048).
4584 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
4586 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4589 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
4591 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4593 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4594 obsolete alias for x-selection-value.
4596 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4598 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
4600 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4603 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
4605 * net/tramp-compat.el (tramp-compat-with-temp-message)
4606 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4607 (tramp-compat-process-put): New defuns.
4609 * net/tramp.el (top):
4610 * net/tramp-gvfs.el (top):
4611 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4613 * net/tramp.el (tramp-progress-reporter-update):
4614 Use `tramp-compat-funcall'.
4616 * net/tramp.el (tramp-process-actions):
4617 * net/tramp-gvfs.el (tramp-handle-vc-registered):
4618 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4619 (tramp-get-remote-stat, tramp-get-remote-readlink):
4620 Use `tramp-compat-with-temp-message'.
4622 * net/tramp-sh.el (top): Require 'cl.
4623 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4624 (tramp-open-connection-setup-interactive-shell):
4625 Use `tramp-compat-process-put'.
4627 2010-09-15 Alan Mackenzie <acm@muc.de>
4629 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4631 (c-forward-<>-arglist-recur): Fix an infinite recursion.
4633 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4636 `lexical' for warnings related to lexical scoping.
4637 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4638 global vars which don't have a prefix and could hence affect lexical
4639 scoping in unrelated files.
4641 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643 * net/imap.el: Revert back to version
4644 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4647 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
4649 * obsolete/old-whitespace.el (whitespace-unload-function):
4650 Explicitly pass `obarray' to `unintern' to avoid a warning.
4652 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4655 Add `when' argument. Update callers.
4657 * subr.el (unintern): Declare the obarray arg mandatory.
4659 2010-09-14 Glenn Morris <rgm@gnu.org>
4661 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4664 * calendar/diary-lib.el (diary-included-files): New variable.
4665 (diary-list-entries): Maybe initialize diary-included-files.
4666 (diary-include-other-diary-files): Append to diary-included-files.
4667 * calendar/appt.el (appt-update-list): Also check the members of
4668 diary-included-files. (Bug#6999)
4669 (appt-check): Doc fix.
4671 2010-09-14 David Reitter <david.reitter@gmail.com>
4673 * simple.el (line-move-visual): Do not truncate goal column to
4674 integer size. (Bug#7020)
4676 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4678 * repeat.el (repeat): Allow repeating when the last event is a click.
4679 Suggested by Drew Adams (bug#6256).
4681 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
4683 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4684 Replace setting HGRCPATH to "" by some less invasive --config options.
4686 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * font-lock.el (font-lock-beginning-of-syntax-function):
4691 2010-09-14 Glenn Morris <rgm@gnu.org>
4693 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4694 and tool-bar modes. (Bug#6211)
4695 (menu-bar-mode): Move setting of standard-value after the
4696 minor-mode definition, otherwise it seems to have no effect.
4698 2010-09-14 Masatake YAMATO <yamato@redhat.com>
4700 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4701 Fix typo. (Bug#6976)
4703 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4705 * whitespace.el: Allow cleaning up blanks without blank
4706 visualization (Bug#6651). Adjust help window for
4707 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4708 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
4709 (whitespace-style): Add new value 'face. Adjust docstring.
4710 (whitespace-space, whitespace-hspace, whitespace-tab):
4711 Adjust foreground property face.
4712 (whitespace-line-column): Adjust docstring and type declaration.
4713 (whitespace-style-value-list, whitespace-toggle-option-alist)
4714 (whitespace-help-text): Adjust const initialization.
4715 (whitespace-toggle-options, global-whitespace-toggle-options):
4717 (whitespace-display-window, whitespace-interactive-char)
4718 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4719 (whitespace-help-scroll): New fun.
4721 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
4723 * calendar/time-date.el (format-seconds): Comment fix.
4725 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
4727 * progmodes/sql.el: Version 2.7.
4728 (sql-buffer-live-p): Improve detection.
4729 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4730 (sql-set-sqli-buffer): Use it.
4731 (sql-product-interactive): Run `sql-set-sqli-hook'.
4732 (sql-rename-buffer): Code cleanup.
4733 (sql-redirect, sql-redirect-value): New functions. More to come.
4735 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
4737 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.
4738 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4739 (TRAMP_SRC): New macro.
4740 ($(lisp)/net/tramp-loaddefs.el): New target.
4742 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
4744 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
4746 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
4748 * net/tramp.el (top): Don't show loading message. Require just
4749 'tramp-compat, everything else is required there.
4750 Use `ignore-errors' where appropriate.
4751 (tramp-inline-compress-start-size, tramp-copy-size-limit)
4752 (tramp-terminal-type, tramp-end-of-output)
4753 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4754 (tramp-completion-function-alist-ssh)
4755 (tramp-completion-function-alist-telnet)
4756 (tramp-completion-function-alist-su)
4757 (tramp-completion-function-alist-putty, tramp-remote-path)
4758 (tramp-remote-process-environment, tramp-sh-extra-args)
4759 (tramp-actions-before-shell, tramp-uudecode)
4760 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4761 (tramp-perl-file-attributes)
4762 (tramp-perl-directory-files-and-attributes)
4763 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4764 (tramp-perl-encode, tramp-perl-decode)
4765 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4766 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4767 (tramp-handle-make-symbolic-link, tramp-handle-load)
4768 (tramp-handle-file-name-as-directory)
4769 (tramp-handle-file-name-directory)
4770 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4771 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4772 (tramp-do-file-attributes-with-ls)
4773 (tramp-do-file-attributes-with-perl)
4774 (tramp-do-file-attributes-with-stat)
4775 (tramp-handle-set-visited-file-modtime)
4776 (tramp-handle-verify-visited-file-modtime)
4777 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4778 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4779 (tramp-handle-file-selinux-context)
4780 (tramp-handle-set-file-selinux-context)
4781 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4782 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4783 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4784 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4785 (tramp-handle-file-ownership-preserved-p)
4786 (tramp-handle-directory-file-name, tramp-handle-directory-files)
4787 (tramp-handle-directory-files-and-attributes)
4788 (tramp-do-directory-files-and-attributes-with-perl)
4789 (tramp-do-directory-files-and-attributes-with-stat)
4790 (tramp-handle-file-name-all-completions)
4791 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4792 (tramp-handle-copy-file, tramp-handle-copy-directory)
4793 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4794 (tramp-do-copy-or-rename-file-via-buffer)
4795 (tramp-do-copy-or-rename-file-directly)
4796 (tramp-do-copy-or-rename-file-out-of-band)
4797 (tramp-handle-make-directory, tramp-handle-delete-directory)
4798 (tramp-handle-delete-file)
4799 (tramp-handle-dired-recursive-delete-directory)
4800 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4801 (tramp-handle-insert-directory)
4802 (tramp-handle-unhandled-file-name-directory)
4803 (tramp-handle-expand-file-name)
4804 (tramp-handle-substitute-in-file-name)
4805 (tramp-handle-executable-find, tramp-process-sentinel)
4806 (tramp-handle-start-file-process, tramp-handle-process-file)
4807 (tramp-handle-call-process-region, tramp-handle-shell-command)
4808 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4809 (tramp-handle-insert-file-contents)
4810 (tramp-handle-insert-file-contents-literally)
4811 (tramp-handle-find-backup-file-name)
4812 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4813 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4814 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4815 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4816 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4817 (tramp-find-file-exists-command, tramp-open-shell)
4818 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4819 (tramp-open-connection-setup-interactive-shell)
4820 (tramp-local-coding-commands, tramp-remote-coding-commands)
4821 (tramp-find-inline-encoding, tramp-call-local-coding-command)
4822 (tramp-inline-compress-commands, tramp-find-inline-compress)
4823 (tramp-compute-multi-hops, tramp-maybe-open-connection)
4824 (tramp-send-command, tramp-wait-for-output)
4825 (tramp-send-command-and-check, tramp-barf-unless-okay)
4826 (tramp-send-command-and-read, tramp-mode-string-to-int)
4827 (tramp-convert-file-attributes, tramp-check-cached-permissions)
4828 (tramp-file-mode-from-int, tramp-file-mode-permissions)
4829 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4830 (tramp-method-out-of-band-p, tramp-local-host-p)
4831 (tramp-get-remote-path, tramp-get-remote-tmpdir)
4832 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4833 (tramp-get-test-command, tramp-get-test-nt-command)
4834 (tramp-get-file-exists-command, tramp-get-remote-ln)
4835 (tramp-get-remote-perl, tramp-get-remote-stat)
4836 (tramp-get-remote-readlink, tramp-get-remote-trash)
4837 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4838 (tramp-get-local-uid, tramp-get-local-gid)
4839 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4841 (tramp-methods, tramp-default-method-alist)
4842 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4843 Move initialization to tramp-sh.el.
4844 (tramp-temp-name-prefix): Make it a defconst.
4845 (tramp-dissect-file-name): Don't check anymore for multi-hop
4847 (tramp-debug-outline-regexp): Add a docstring.
4848 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4849 (tramp-get-debug-buffer): Use it.
4851 * net/tramp-cache.el (top): Set tramp-autoload cookie for
4852 initialization forms.
4853 (tramp-set-connection-property): Don't protect `tramp-message'
4854 call, it isn't necessary any longer.
4855 (tramp-dump-connection-properties): Use `ignore-errors'.
4857 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4858 'password-cache and 'auth-source.
4860 * net/tramp-gvfs.el (top):
4861 * net/tramp-smb.el (top): Require 'tramp-sh.
4863 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4865 * net/tramp-sh.el: New file, derived from tramp.el.
4866 (top): Initialize `tramp-methods', `tramp-default-method-alist',
4867 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4868 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4869 Use `ignore-errors' where appropriate.
4870 (tramp-sh-file-name-handler-alist): Rename from
4871 `tramp-file-name-handler-alist'.
4872 (tramp-send-command-and-check): Return t or nil. Remove all
4873 `zerop' checks, where called.
4874 (tramp-handle-set-file-modes)
4875 (tramp-do-copy-or-rename-file-directly)
4876 (tramp-handle-delete-directory, tramp-handle-delete-file)
4877 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4878 (tramp-sh-file-name-handler, tramp-send-command-and-check)
4879 (tramp-get-remote-ln): Set tramp-autoload cookie.
4881 * net/tramp-fish.el: Remove file.
4883 2010-09-13 Daiki Ueno <ueno@unixuser.org>
4885 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4886 buffer-file-name to avoid file-locking. (Bug#7026)
4888 2010-09-13 Julien Danjou <julien@danjou.info>
4890 * notifications.el (notifications-notify): Add support for
4891 image-path and sound-name.
4892 (notifications-specification-version): Add this variable.
4894 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4898 2010-09-12 Leo <sdl.web@gmail.com>
4900 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4901 (rcirc-completion-start): New variables.
4902 (rcirc-nick-completions): Rename to rcirc-completions.
4903 (rcirc-nick-completion-start-offset): Delete.
4904 (rcirc-completion-at-point): New function for constructing
4905 completion data for both nicks and irc commands. Add to
4906 completion-at-point-functions in rcirc mode.
4907 (rcirc-complete): Rename from rcirc-nick-complete; use
4908 rcirc-completion-at-point.
4909 (defun-rcirc-command): Update rcirc-client-commands.
4911 2010-09-11 Glenn Morris <rgm@gnu.org>
4913 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4914 atomically, to avoid parallel build errors. (Bug#4196)
4916 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
4918 * progmodes/sql.el: Version 2.6
4919 (sql-dialect): Synonym for "sql-product".
4920 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4921 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4922 Set "sql-buffer" to buffer name not buffer object so multiple sql
4923 interactive buffers work properly. Reverts misguided changes in
4925 (sql-comint): Make sure different buffer name is used if "*SQL*"
4926 buffer is for a different product.
4927 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4929 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4930 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4931 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4932 Accept new buffer name or prompt for one.
4933 (sql-port): Default to zero.
4934 (sql-comint-mysql): Handle "sql-port" as a numeric.
4935 (sql-port-history): Delete unused variable.
4936 (sql-get-login): Default "sql-port" to a number.
4937 (sql-product-alist): Correct Postgres prompt and terminator regexp.
4938 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4939 "sqlite3" executables.
4940 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4941 (sql-buffer-live-p): New function.
4942 (sql-mode-menu, sql-send-string): Use it.
4943 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4945 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4946 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4948 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4950 * net/netrc.el (netrc-credentials): New convenience function.
4952 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4954 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4955 to replace texinfo-font-lock-syntactic-keywords.
4956 (texinfo-mode): Use it.
4958 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4959 Use syntax-propertize-function.
4961 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4962 replace sgml-font-lock-syntactic-keywords.
4963 (sgml-mode): Use it.
4965 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4966 since we don't use it.
4968 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4970 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4972 (vhdl-fontify-buffer): Adjust.
4974 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4975 replace tcl-font-lock-syntactic-keywords.
4978 * progmodes/simula.el (simula-syntax-propertize-function): New var to
4979 replace simula-font-lock-syntactic-keywords.
4980 (simula-mode): Use it.
4982 * progmodes/sh-script.el (sh-st-symbol): Remove.
4983 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4984 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4985 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4986 (sh-font-lock-paren): Set syntax-multiline.
4987 (sh-font-lock-syntactic-keywords): Remove.
4988 (sh-syntax-propertize-function): New function to replace it.
4991 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4992 Define while compiling.
4993 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4994 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4995 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4996 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4997 (ruby-here-doc-end-syntax): Only define when
4998 syntax-propertize is not available.
4999 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5001 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5002 (electric-indent-chars): Silence bytecompiler.
5003 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5004 electric-indent-chars.
5006 * progmodes/python.el (python-syntax-propertize-function): New var to
5007 replace python-font-lock-syntactic-keywords.
5008 (python-mode): Use it.
5009 (python-quote-syntax): Simplify and adjust to new use.
5011 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5012 replace perl-font-lock-syntactic-keywords.
5013 (perl-syntax-propertize-special-constructs): New fun to replace
5014 perl-font-lock-special-syntactic-constructs.
5015 (perl-font-lock-syntactic-face-function): New fun.
5016 (perl-mode): Use it.
5018 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5019 to replace octave-font-lock-close-quotes.
5020 (octave-syntax-propertize-function): New function to replace
5021 octave-font-lock-syntactic-keywords.
5022 (octave-mode): Use it.
5024 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5025 replaces mixal-font-lock-syntactic-keywords.
5026 (mixal-mode): Use it.
5028 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5029 New var; replaces makefile-font-lock-syntactic-keywords.
5030 (makefile-mode): Use it.
5031 (makefile-imake-mode): Adjust.
5033 * progmodes/js.el (js--regexp-literal): Define while compiling.
5034 (js-syntax-propertize-function): New var; replaces
5035 js-font-lock-syntactic-keywords.
5038 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5039 replaces gdb-script-font-lock-syntactic-keywords.
5040 (gdb-script-mode): Use it.
5042 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5043 (fortran--font-lock-syntactic-keywords): New var.
5044 (fortran-line-length): Update syntax-propertize-function and
5045 fortran--font-lock-syntactic-keywords.
5047 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5049 * progmodes/cfengine.el (cfengine-mode):
5050 Use syntax-propertize-function.
5051 (cfengine-font-lock-syntactic-keywords): Remove.
5053 * progmodes/autoconf.el (autoconf-mode):
5054 Use syntax-propertize-function.
5055 (autoconf-font-lock-syntactic-keywords): Remove.
5057 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5058 (ada-after-change-function, ada-initialize-syntax-table-properties)
5059 (ada-handle-syntax-table-properties): Only define when
5060 syntax-propertize is not available.
5061 (ada-mode): Use syntax-propertize-function.
5063 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5064 (font-lock-fontify-syntactic-keywords-region): Move handling of
5065 font-lock-syntactically-fontified to...
5066 (font-lock-default-fontify-region): ...here.
5067 Let syntax-propertize-function take precedence.
5068 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5070 * emacs-lisp/syntax.el (syntax-propertize-function)
5071 (syntax-propertize-chunk-size, syntax-propertize--done)
5072 (syntax-propertize-extend-region-functions): New vars.
5073 (syntax-propertize-wholelines, syntax-propertize-multiline)
5074 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5075 (syntax-propertize): New functions.
5076 (syntax-propertize-rules): New macro.
5077 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5078 (syntax-ppss): Call syntax-propertize.
5080 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5082 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5084 * textmodes/ispell.el (ispell-init-process): Improve comments.
5085 XEmacs compatibility changes regarding (add-hook) 'local option
5086 and (set-process-query-on-exit-flag).
5088 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5090 * net/tramp-cache.el (tramp-parse-connection-properties):
5091 Set tramp-autoload cookie.
5093 2010-09-09 Glenn Morris <rgm@gnu.org>
5095 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5096 (imagemagick-register-types): Doc fix.
5098 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5102 * progmodes/js.el (require): Require is already "eval-and-compile".
5103 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5104 (js--re-search-backward): Use js--re-search-forward.
5106 * progmodes/fortran.el (fortran-line-length): Don't recompute
5107 syntactic keywords redundantly a second time.
5109 * progmodes/ada-mode.el: Replace "(set '" with setq.
5110 (ada-mode): Simplify.
5111 (ada-create-case-exception, ada-adjust-case-interactive)
5112 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5113 (ada-search-ignore-string-comment, ada-move-to-start)
5114 (ada-move-to-end): Use with-syntax-table.
5116 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5117 (font-lock-unfontify-region, font-lock-default-fontify-region):
5118 Update usage correspondingly.
5119 (font-lock-fontify-syntactic-keywords-region):
5120 Set parse-sexp-lookup-properties buffer-locally here.
5121 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5123 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5125 2010-09-08 Glenn Morris <rgm@gnu.org>
5127 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5128 Error if not compiled with -DBYTE_CODE_METER.
5130 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5131 Ignore dir-locals-file.
5133 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5137 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5138 for the `gnu' messages.
5139 (compilation-set-skip-threshold): New command.
5140 (compilation-start): Use \' rather than $.
5141 (compilation-forget-errors): Use clrhash.
5143 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5145 * textmodes/ispell.el (ispell-valid-dictionary-list):
5148 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5150 Migrate to Tramp 2.2. Rearrange load dependencies.
5151 (Bug#1529, Bug#5448, Bug#5705)
5153 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5154 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5155 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5157 * net/tramp.el (top): Remove all other tramp-* loads except
5158 tramp-compat.el. Remove all changes to tramp-unload-hook for
5159 other tramp-* packages. Rearrange defun order. Change calls of
5160 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5161 `tramp-compat-octal-to-decimal' to new function names.
5162 (tramp-terminal-type, tramp-initial-end-of-output)
5163 (tramp-methods, tramp-foreign-file-name-handler-alist)
5164 (tramp-tramp-file-p, tramp-completion-mode-p)
5165 (tramp-send-command-and-check, tramp-get-remote-path)
5166 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5167 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5168 (with-file-property, with-connection-property): Move to
5170 (tramp-local-call-process, tramp-decimal-to-octal)
5171 (tramp-octal-to-decimal): Move to tramp-compat.el.
5172 (tramp-handle-shell-command): Do not require 'shell.
5173 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5175 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5177 * net/tramp-cache.el (top): Require 'tramp. Add to
5178 `tramp-unload-hook'.
5179 (tramp-cache-data, tramp-get-file-property)
5180 (tramp-set-file-property, tramp-flush-file-property)
5181 (tramp-flush-directory-property, tramp-get-connection-property)
5182 (tramp-set-connection-property, tramp-flush-connection-property)
5183 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5185 (with-file-property, with-connection-property): New defuns, moved
5187 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5190 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5191 (tramp-version): Set tramp-autoload cookie.
5193 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5194 changes to tramp-unload-hook for other tramp-* packages. Add to
5195 `tramp-unload-hook'.
5196 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5197 (tramp-compat-call-process): New defuns, moved from tramp.el.
5199 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5200 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5201 Add to `tramp-unload-hook'. Change call of
5202 `tramp-compat-decimal-to-octal' to new function name.
5203 (tramp-fish-method): Make it a defconst.
5204 (tramp-fish-file-name-p): Make it a defsubst.
5205 (tramp-fish-method, tramp-fish-file-name-handler)
5206 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5208 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5209 `tramp-foreign-file-name-handler-alist'. Add to
5210 `tramp-unload-hook'.
5211 (tramp-ftp-method): Make it a defconst.
5212 (tramp-ftp-file-name-p): Make it a defsubst.
5213 (tramp-ftp-method, tramp-ftp-file-name-handler)
5214 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5216 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5217 `tramp-foreign-file-name-handler-alist'. Add to
5218 `tramp-unload-hook'. Change checks, whether package can be
5220 (tramp-gvfs-file-name-p): Make it a defsubst.
5221 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5222 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5223 (tramp-gvfs-handle-file-directory-p): New defun.
5224 (tramp-gvfs-file-name-handler-alist): Use it.
5226 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5227 `tramp-foreign-file-name-handler-alist'. Add to
5228 `tramp-unload-hook'.
5229 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5230 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5232 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5233 (tramp-gw-open-connection): Set tramp-autoload cookie.
5235 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5236 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5237 Add to `tramp-unload-hook'. Change checks, whether package can be
5239 (tramp-imap-file-name-p): Make it a defsubst.
5240 (tramp-imap-method, tramp-imaps-method)
5241 (tramp-imap-file-name-handler)
5242 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5244 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5245 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5246 Add to `tramp-unload-hook'. Change checks, whether package can be
5247 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5249 (tramp-smb-tunnel-method): Make it a defconst.
5250 (tramp-smb-file-name-p): Make it a defsubst.
5251 (tramp-smb-method, tramp-smb-file-name-handler)
5252 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5254 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5255 (tramp-uuencode-region): Set tramp-autoload cookie.
5257 * net/trampver.el (top) Add to `tramp-unload-hook'.
5258 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5259 cookie. Update release number.
5261 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5263 * textmodes/ispell.el (ispell-start-process): Make sure original
5264 arg list is properly initialized (Bug#6993, Bug#6994).
5266 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5268 * files.el (directory-abbrev-alist): Use \` as default regexp.
5270 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5271 chars like - or ] (bug#6984).
5272 (rx-any-condense-range): Explode 2-char ranges.
5274 2010-09-06 Glenn Morris <rgm@gnu.org>
5276 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5278 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * textmodes/bibtex.el:
5281 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5283 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5285 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5286 since no callers use it.
5287 (imap-message-get): Ditto.
5288 (imap-message-put): Ditto.
5289 (imap-mailbox-map): Ditto.
5290 (imap-mailbox-put): Ditto.
5291 (imap-mailbox-get): Ditto.
5292 (imap-mailbox-get): Revert last change for this function.
5294 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5296 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5297 callers to use `imap-fetch' instead. According to the comments, this
5298 should be safe, since all other IMAP clients use the 1:* syntax.
5299 (imap-enable-exchange-bug-workaround): Remove.
5300 (imap-debug): Remove -- doesn't seem very useful.
5302 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5304 * net/imap.el (imap-log): New convenience function used throughout
5305 instead of repeating the same code all over the place.
5307 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5309 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5310 when mouse-drag-copy-region is non-nil (Bug#6956).
5312 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5314 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5315 Improve regexps (Bug#6987).
5316 (dired-sort-toggle): Search more robustly for -t flag.
5318 * files.el (get-free-disk-space): Search more robustly for
5319 "available" column. Suggested by Ehud Karni
5320 <ehud@unix.mvs.co.il>.
5322 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5324 * international/uni-bidi.el:
5325 * international/uni-category.el:
5326 * international/uni-combining.el:
5327 * international/uni-decimal.el:
5328 * international/uni-mirrored.el:
5329 * international/uni-name.el: Regenerate.
5331 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * electric.el (electric-indent-post-self-insert-function):
5334 Don't reindent with a sloppy indentation function.
5336 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5337 border case in change-log-mode.
5339 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5342 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5343 Recognize leading tab in gcc-include regexp. Ignore names with
5344 leading "from" or "in" in gnu regexp (Bug#6937).
5346 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5348 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5349 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5350 (ispell-start-process): Avoid setq and simplify logic.
5351 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5352 (kill-buffer-hook): Don't use it globally with code that uses
5353 expand-file-name since that may call kill-buffer via
5354 code_conversion_restore.
5356 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5358 * emacs-lisp/package.el (package-directory-list): Only call
5359 file-name-nondirectory on a string.
5361 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5363 * emacs-lisp/package.el (package--download-one-archive):
5364 Ensure that archive-contents is valid before saving it.
5365 (package-activate-1, package-mark-obsolete, define-package)
5366 (package-compute-transaction, package-list-maybe-add): Use push.
5368 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5370 Use SMIE's blink-paren for octave-mode.
5371 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5372 Backslashes do not escape single-quotes, single-quotes do.
5373 (octave-block-else-regexp, octave-block-end-regexp)
5374 (octave-block-match-alist): Remove.
5375 (octave-smie-bnf-table): New var, with old content.
5376 (octave-smie-op-levels): Use it.
5377 (octave-smie-closer-alist): New var.
5378 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5379 (octave-blink-matching-block-open): Remove.
5380 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5381 (octave-electric-space): Let self-insert-command run expand-abbrev and
5384 * electric.el (electricity): New group.
5385 (electric-indent-chars): New var.
5386 (electric-indent-post-self-insert-function): New fun.
5387 (electric-indent-mode): New minor mode.
5388 (electric-pair-skip-self): New custom.
5389 (electric-pair-post-self-insert-function): New function.
5390 (electric-pair-mode): New minor mode.
5392 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5393 calcAlg-blink-matching-open.
5394 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5395 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5396 Use the new blink-matching-check-function.
5398 Provide blink-matching support to SMIE.
5399 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5400 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5401 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5403 * simple.el (newline): Fix last change to properly remove itself from
5406 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * simple.el (newline): Eliminate optimization.
5409 Use post-self-insert-hook to set hard-newline and things before
5410 running post-self-insert-hook.
5411 (blink-matching-check-mismatch): New function.
5412 (blink-matching-check-function): New variable.
5413 (blink-matching-open): Use them.
5414 Skip back forward over prefix chars skipped by forward-sexp.
5415 Don't check if the parens are backslash escaped.
5416 (blink-paren-post-self-insert-function): Check backslash escaping here.
5418 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5420 * emacs-lisp/package.el (package-menu-mode-map):
5421 Change package-menu-revert bindings to revert-buffer.
5422 (package-menu-mode): Set revert-buffer-function.
5423 (package-menu-revert): Doc fix.
5425 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5427 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5428 `default-directory' unless using Ispell per-directory personal
5429 dictionaries and not in a mini-buffer under XEmacs.
5430 (kill-buffer-hook): Do not kill ispell process on exit when
5431 `ispell-process-directory' is "~/". (Bug#6143)
5433 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5435 * simple.el (kill-new): Call interprogram-cut-function with only
5438 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5439 Remove cut buffer from error message.
5441 * term/x-win.el (x-select-text):
5442 * term/pc-win.el (x-selection-value):
5443 * term/ns-win.el (x-selection-value):
5444 * eshell/em-term.el:
5445 * w32-fns.el (x-get-selection-value):
5446 * mouse-sel.el (mouse-sel-set-selection-function):
5447 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5449 * term/x-win.el: Update documentation for x-last-selected-text-*.
5450 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5451 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5452 (x-select-text): Remove argument PUSH, update documentation.
5453 Remove cut-buffer code.
5454 (x-selection-value-internal): Was previously x-selection-value.
5455 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5456 Update documentation, remove cut-buffer code.
5457 Call x-selection-value-internal.
5458 (x-clipboard-yank): Call x-selection-value-internal.
5459 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5461 * term/pc-win.el (x-last-selected-text):
5462 x-cut-buffer-or-selection-value renamed to x-selection-value
5463 (x-select-text): Remove argument PUSH, update documentation.
5465 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5466 x-cut-buffer-or-selection-value renamed to x-selection-value
5467 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5468 (x-select-text): Remove argument PUSH, update documentation.
5470 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5472 * w32-fns.el (x-last-selected-text):
5473 x-cut-buffer-or-selection-value renamed to x-selection-value.
5474 (x-cut-buffer-max): Remove.
5475 (x-select-text): Remove argument PUSH, update documentation.
5477 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5479 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5481 * mouse-sel.el (mouse-sel-get-selection-function):
5482 x-cut-buffer-or-selection-value renamed to x-selection-value.
5483 (x-select-text): Remove optional push.
5485 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * simple.el (blink-paren-function): Move from C to here.
5488 (blink-paren-post-self-insert-function): New function.
5489 (post-self-insert-hook): Use it.
5491 * emacs-lisp/pcase.el (pcase-split-memq):
5492 Fix overenthusiastic optimisation.
5493 (pcase-u1): Handle the case of a lambda pred.
5495 2010-08-31 Kenichi Handa <handa@m17n.org>
5497 * international/mule-cmds.el (standard-display-european-internal):
5498 Setup standard-display-table for 8-bit characters by storing 8-bit
5499 characters in the element vector.
5501 * disp-table.el (standard-display-8bit):
5502 Setup standard-display-table for 8-bit characters by storing 8-bit
5503 characters in the element vector.
5504 (standard-display-european): Likewise.
5506 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5508 * textmodes/nroff-mode.el (nroff-view): New command.
5509 (nroff-mode-map): Bind it to C-c C-c.
5511 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5513 * emacs-lisp/smie.el (smie-down-list): New command.
5515 Remove old indentation and navigation code on octave-mode.
5516 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5517 smie-down-list rather than add a binding for octave-down-block.
5518 (octave-mark-block, octave-blink-matching-block-open):
5519 Rely on forward-sexp-function.
5520 (octave-fill-paragraph): Don't narrow, so you can use
5521 indent-according-to-mode.
5522 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5523 (octave-in-block-p, octave-re-search-forward-kw)
5524 (octave-re-search-backward-kw, octave-indent-calculate)
5525 (octave-end-as-array-index-p, octave-block-end-offset)
5526 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5527 (octave-down-block, octave-backward-up-block, octave-up-block)
5528 (octave-before-magic-comment-p, octave-indent-line): Remove.
5530 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5532 * emacs-lisp/package.el (package--read-archive-file): Just use
5533 `read', to avoid copying an additional string.
5534 (package-menu-mode): Set header-line-format here.
5535 (package-menu-refresh, package-menu-revert): Signal an error if
5536 not in the Package Menu.
5537 (package-menu-package-list): New var.
5538 (package--generate-package-list): Operate on the current buffer;
5539 don't assume that it is *Packages*, since the user may rename it.
5540 Allow persistent package listings and sort keys using
5541 package-menu-package-list and package-menu-package-sort-key.
5542 (package-menu--version-predicate): Fix version calculation.
5543 (package-menu-sort-by-column): Don't select the window.
5544 (package--list-packages): Create the *Packages* buffer.
5545 Set package-menu-package-list-key.
5546 (list-packages): Sorting by status is now the default.
5547 (package-buffer-info): Use match-string-no-properties.
5548 (define-package): Add a &rest argument for future proofing, but
5550 (package-install-from-buffer, package-install-buffer-internal):
5551 Merge into a single function, package-install-from-buffer.
5552 (package-install-file): Change caller.
5554 * finder.el: Load finder-inf using `require'.
5555 (finder-list-matches): Sorting by status is now the default.
5556 (finder-compile-keywords): Simpify printing.
5558 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5560 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5561 (octave-mode-map): Remove special bindings for forward/backward-block
5562 and octave-backward-up-block. Use smie-close-block.
5563 (octave-continuation-marker-regexp): New var.
5564 (octave-continuation-regexp): Use it.
5565 (octave-operator-table, octave-smie-op-levels)
5566 (octave-operator-regexp, octave-smie-indent-rules): New vars.
5567 (octave-smie-backward-token, octave-smie-forward-token): New funs.
5568 (octave-mode): Use SMIE.
5569 (octave-close-block): Delete.
5571 2010-08-30 Eli Zaretskii <eliz@gnu.org>
5573 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5574 CLIPBOARD, not in PRIMARY. (Bug#6944)
5576 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
5578 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5580 (smie-indent-column): Allow indirection through variables.
5582 * composite.el (save-buffer-state): Delete, unused.
5583 * font-lock.el (save-buffer-state): Use with-silent-modifications.
5584 (font-lock-default-fontify-region): Use with-syntax-table.
5585 * jit-lock.el (with-buffer-unmodified): Remove.
5586 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5588 Use `declare' in defmacros.
5589 * window.el (save-selected-window):
5590 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5591 * progmodes/python.el (def-python-skeleton):
5592 * net/dbus.el (dbus-ignore-errors):
5593 * jka-cmpr-hook.el (with-auto-compression-mode):
5594 * international/mule.el (with-category-table):
5595 * emacs-lisp/timer.el (with-timeout):
5596 * emacs-lisp/lisp-mnt.el (lm-with-file):
5597 * emacs-lisp/eieio.el (with-slots):
5598 * emacs-lisp/easymenu.el (easy-menu-define):
5599 * emacs-lisp/debug.el (debugger-env-macro):
5600 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5601 (Multiple-value-call, Multiple-value-prog1):
5602 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5603 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5604 edebug rule to definition.
5605 * emacs-lisp/lisp-mode.el (save-selected-window)
5606 (with-current-buffer, combine-after-change-calls)
5607 (with-output-to-string, with-temp-file, with-temp-buffer)
5608 (with-temp-message, with-syntax-table, read-if, eval-after-load)
5609 (dolist, dotimes, when, unless):
5610 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5612 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5614 * finder.el: Require `package'.
5615 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
5616 (finder-package-info): Var deleted.
5617 (finder-keywords-hash, finder--builtins-alist): New vars.
5618 (finder-compile-keywords): Compute package--builtins and
5619 finder-keywords-hash instead of finder-keywords-hash, respecting
5620 the "Package" header.
5621 (finder-unknown-keywords, finder-list-matches):
5622 Use finder-keywords-hash and package--list-packages.
5623 (finder-mode): Don't set font-lock-defaults.
5624 (finder-exit): We don't use "*Finder-package*" and "*Finder
5625 Category*" buffers anymore.
5627 * emacs-lisp/package.el (package--builtins-base): Var deleted.
5628 (package--builtins): Set default value to nil.
5629 (package-initialize): Load precomputed value of package--builtins
5631 (package-alist, package-compute-transaction)
5632 (package-download-transaction): Improve docstring.
5633 (package-read-all-archive-contents): Do not change
5634 package--builtins here.
5635 (list-packages): Make package-list-packages an alias for this.
5636 Sort by status by default.
5637 (package--list-packages): Add optional PACKAGES arg.
5638 (describe-package-1): Use font-lock-face property. For built-in
5639 packages, insert file commentary.
5640 (package--generate-package-list): Rename from
5641 package-list-packages-internal; all callers changed. Add optional
5642 PACKAGES arg. Add alphabetical sort fallbacks.
5643 (package-menu--version-predicate, package-menu--status-predicate)
5644 (package-menu--description-predicate)
5645 (package-menu--name-predicate): New functions.
5647 * info.el (Info-finder-find-node): Search package-alist instead of
5648 finder-package-info.
5650 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
5652 * subr.el (version-regexp-alist): Don't use "a" and "b" for
5654 (version-to-list): Handle versions like "10.3d".
5656 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5658 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5659 (macroexp-accumulate): Use `declare'.
5661 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5663 * whitespace.el (whitespace-style): Adjust type declaration.
5665 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
5667 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5668 empty argument to gvfs-copy.
5670 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5672 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5673 handle new TRASH arg of `delete-file'.
5675 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5677 * net/tramp.el (tramp-handle-insert-directory): Don't use
5678 `forward-word', its default syntax could be changed.
5680 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5681 Michael Albinus <michael.albinus@gmx.de>
5683 Implement compression for inline methods.
5685 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5686 (tramp-copy-size-limit): Allow also nil.
5687 (tramp-inline-compress-commands): New defconst.
5688 (tramp-find-inline-compress, tramp-get-inline-compress)
5689 (tramp-get-inline-coding): New defuns.
5690 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5691 replaced by `tramp-get-inline-coding'.
5692 (tramp-handle-file-local-copy, tramp-handle-write-region)
5693 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5695 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
5697 Detect ssh 'ControlMaster' argument automatically in some cases.
5699 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5700 (tramp-default-method): Use it.
5702 2010-08-26 Karel Klíč <kklic@redhat.com>
5704 * net/tramp.el (tramp-file-name-for-operation):
5705 Add file-selinux-context.
5707 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
5709 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5711 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5713 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5716 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
5718 * progmodes/js.el: Make indentation more customizable (Bug#6914).
5719 (js-paren-indent-offset, js-square-indent-offset)
5720 (js-curly-indent-offset): New options.
5721 (js--proper-indentation): Use them.
5723 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
5725 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5726 instead of inspecting font-lock properties (Bug#6916).
5728 2010-08-26 David Reitter <david.reitter@gmail.com>
5730 * server.el (server-visit-files): Run pre-command-hook and
5731 post-command-hook for each buffer while it is current (Bug#6910).
5732 (server-execute): Do not run hooks here.
5734 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
5736 Sync with Tramp 2.1.19.
5738 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5739 (tramp-reporter-dump-variable, tramp-load-report-modules)
5740 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5741 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5743 * net/tramp-compat.el (top): Do not autoload
5744 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5745 only when `start-file-process' is not bound.
5746 (byte-compile-not-obsolete-vars): Define if not bound.
5747 (tramp-compat-funcall): New defmacro.
5748 (tramp-compat-line-beginning-position)
5749 (tramp-compat-line-end-position)
5750 (tramp-compat-temporary-file-directory)
5751 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5752 (tramp-compat-copy-file, tramp-compat-copy-directory)
5753 (tramp-compat-delete-file, tramp-compat-delete-directory)
5754 (tramp-compat-number-sequence, tramp-compat-process-running-p):
5756 (tramp-advice-file-expand-wildcards): Do not use
5757 `tramp-handle-file-remote-p'.
5758 (tramp-compat-make-temp-file): Simplify fallback implementation.
5759 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5760 (tramp-compat-copy-tree): Remove function.
5761 (tramp-compat-delete-file): New defun.
5762 (tramp-compat-delete-directory): Provide implementation for older
5764 (tramp-compat-file-attributes): Handle only
5765 `wrong-number-of-arguments' error.
5767 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5768 Add PRESERVE_SELINUX_CONTEXT.
5769 (tramp-fish-handle-delete-file): Add TRASH arg.
5770 (tramp-fish-handle-directory-files-and-attributes):
5771 Do not use `tramp-fish-handle-file-attributes.
5772 (tramp-fish-handle-file-local-copy)
5773 (tramp-fish-handle-insert-file-contents)
5774 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5776 * net/tramp-gvfs.el (top): Require url-util.
5777 (tramp-gvfs-mount-point): Remove.
5778 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5779 and `set-file-selinux-context'.
5780 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5781 (tramp-gvfs-handle-file-selinux-context)
5782 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5783 (with-tramp-dbus-call-method): Format trace message.
5784 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5785 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5786 Implement backup call, when operation on local files fails.
5787 Use progress reporter. Flush properties of changed files.
5788 (tramp-gvfs-handle-delete-file): Add TRASH arg.
5789 Use `tramp-compat-delete-file'.
5790 (tramp-gvfs-handle-expand-file-name): Expand "~/".
5791 (tramp-gvfs-handle-make-directory): Make more traces.
5792 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5793 (tramp-gvfs-url-file-name): Hexify file name in url.
5794 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5795 into account for the resulting file name.
5796 (tramp-gvfs-handler-askquestion): Preserve current message, in
5797 order to let progress reporter continue afterwards. (Bug#6257)
5798 Return dummy mountpoint, when the answer is "no".
5799 See `tramp-gvfs-maybe-open-connection'.
5800 (tramp-gvfs-handler-mounted-unmounted)
5801 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5802 attribute "default_location". Set "prefix" property.
5803 Handle default-location.
5804 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5805 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5806 exists. Raise an error, if not (due to a corresponding answer
5807 "no" in interactive questions, for example).
5808 Use `tramp-compat-funcall'.
5810 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5811 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5812 (tramp-imap-do-copy-or-rename-file)
5813 (tramp-imap-handle-insert-file-contents)
5814 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5815 (tramp-imap-handle-delete-file): Add TRASH arg.
5817 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5818 Add PRESERVE-SELINUX-CONTEXT.
5819 (tramp-smb-handle-copy-file)
5820 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5821 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5822 Use `with-progress-reporter'.
5823 (tramp-smb-handle-delete-file): Add TRASH arg.
5825 * net/tramp.el (tramp-methods): Move hostname to the end in all
5826 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
5828 (tramp-verbose): Describe verbose level 9.
5829 (tramp-completion-function-alist)
5830 (tramp-file-name-regexp, tramp-chunksize)
5831 (tramp-local-coding-commands, tramp-remote-coding-commands)
5832 (with-connection-property, tramp-completion-mode-p)
5833 (tramp-action-process-alive, tramp-action-out-of-band)
5834 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5835 (tramp-exists-file-name-handler): Fix docstring.
5836 (tramp-remote-process-environment): Use `format' instead of
5837 `concat'. Protect version string by apostroph.
5838 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5840 (tramp-file-name-regexp-unified)
5841 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5842 not regard the volume letter as remote filename. (Bug#5447)
5843 (tramp-perl-file-attributes)
5844 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5845 (tramp-vc-registered-read-file-names): Read input as
5846 here-document, otherwise the command could exceed maximum length
5848 (tramp-file-name-handler-alist): Add `file-selinux-context' and
5849 `set-file-selinux-context'.
5850 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5851 backtrace functions.
5852 (tramp-error-with-buffer): Don't show the connection buffer when
5853 we are in completion mode.
5854 (tramp-progress-reporter-update, tramp-remote-selinux-p)
5855 (tramp-handle-file-selinux-context)
5856 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5857 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5859 (with-progress-reporter): New defmacro.
5860 (tramp-debug-outline-regexp): New defconst.
5861 (top, tramp-rfn-eshadow-setup-minibuffer)
5862 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5863 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5864 (tramp-completion-mode-p, tramp-check-for-regexp)
5865 (tramp-open-connection-setup-interactive-shell)
5866 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5867 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5868 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5869 Use `tramp-compat-funcall'.
5870 (tramp-handle-make-symbolic-link): Flush file properties.
5871 (tramp-handle-load, tramp-handle-file-local-copy)
5872 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5873 (tramp-handle-vc-registered, tramp-maybe-send-script)
5874 (tramp-find-shell): Use `with-progress-reporter'.
5875 (tramp-do-file-attributes-with-stat): Add space in format string,
5876 in order to work around a bug in pdksh. Reported by Gilles Pion
5878 (tramp-handle-verify-visited-file-modtime): Do not send a command
5879 when the connection is not established.
5880 (tramp-handle-set-file-times): Simplify the check for utc.
5881 (tramp-handle-directory-files-and-attributes)
5882 (tramp-get-remote-path): Use `copy-tree'.
5883 (tramp-completion-handle-file-name-all-completions): Ensure, that
5884 non remote files are still checked. Oops.
5885 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5886 Handle PRESERVE-SELINUX-CONTEXT.
5887 (tramp-do-copy-or-rename-file): Add progress reporter.
5888 (tramp-do-copy-or-rename-file-directly): Do not use
5889 `tramp-handle-file-remote-p'.
5890 (tramp-do-copy-or-rename-file-out-of-band):
5891 Use `tramp-compat-delete-directory'.
5892 (tramp-do-copy-or-rename-file-out-of-band)
5893 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5894 Use `format-spec-make'.
5895 (tramp-handle-delete-file): Add TRASH arg.
5896 (tramp-handle-dired-uncache): Flush directory cache, not only file
5898 (tramp-handle-expand-file-name)
5899 (tramp-completion-handle-file-name-all-completions)
5900 (tramp-completion-handle-file-name-completion):
5901 Use `tramp-connectable-p'.
5902 (tramp-handle-start-file-process): Set connection property "vec".
5903 Use it, in order to invalidate file caches. Check only for
5904 `remote-tty' process property.
5905 Implement tty setting. (Bug#4604, Bug#6360)
5906 (tramp-file-name-for-operation): Add `call-process-region' and
5907 `set-file-selinux-context'.
5908 (tramp-find-foreign-file-name-handler)
5909 (tramp-advice-make-auto-save-file-name)
5910 (tramp-set-auto-save-file-modes): Remove superfluous check for
5911 `stringp'. This is done inside `tramp-tramp-file-p'.
5912 (tramp-file-name-handler): Trace 'quit. Catch the error for some
5913 operations when we are in completion mode. This gives the user
5914 the chance to correct the file name in the minibuffer.
5915 (tramp-completion-mode-p): Use `non-essential'.
5916 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5917 compatibility: Use `completion-ignore-case' if
5918 `read-file-name-completion-ignore-case' does not exist.
5919 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5920 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5922 (tramp-action-password): Hide password prompt before next run.
5923 (tramp-process-actions): Widen connection buffer for the trace.
5924 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5925 process property. Trace stty settings if `tramp-verbose' >= 9.
5926 Apply workaround for IRIX64 bug. Move argument of last
5927 `tramp-send-command' where it belongs to.
5928 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5929 front of `login-args'.
5930 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5931 on "/dev/null" instead of "/".
5932 (tramp-get-ls-command-with-dired): Make test for "--dired"
5934 (tramp-set-auto-save-file-modes): Adapt version check.
5935 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5936 (tramp-handle-process-file): Call the program in a subshell, in
5937 order to preserve working directory.
5938 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5939 `tramp-remote-sh' from `tramp-methods'.
5940 (tramp-get-ls-command): Make test for "--color=never" stronger.
5941 (tramp-check-for-regexp): Use (forward-line 1).
5943 * net/trampver.el: Update release number.
5945 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
5947 * help.el (help-map): Bind `C-h P' to describe-package.
5949 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5951 * emacs-lisp/package.el (package-refresh-contents): Catch errors
5952 when downloading archives.
5953 (describe-package-1): Add package commentary.
5954 (package-install-button-action): New function.
5955 (package-menu-mode-map): Bind ? to package-menu-describe-package.
5956 (package-menu-view-commentary): Function removed.
5957 (package-list-packages-internal): Hide the `package' package too.
5959 2010-08-25 Kenichi Handa <handa@m17n.org>
5961 * language/misc-lang.el ("Arabic"): New language environment.
5962 Setup composition-function-table for Arabic characters.
5964 * international/fontset.el (setup-default-fontset): Fix typo for
5965 arabic OTF spec (fini->fina).
5967 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
5969 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5972 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5974 * whitespace.el: Allow cleaning up blanks without blank
5975 visualization (Bug#6651). Adjust help window for
5976 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5977 instead of whitespace-line-column (from EmacsWiki). New version
5979 (whitespace-style): Add new value 'face. Adjust docstring.
5980 (whitespace-space, whitespace-hspace, whitespace-tab):
5981 Adjust foreground property face.
5982 (whitespace-line-column): Adjust docstring and type declaration.
5983 (whitespace-style-value-list, whitespace-toggle-option-alist)
5984 (whitespace-help-text): Adjust const initialization.
5985 (whitespace-toggle-options, global-whitespace-toggle-options):
5987 (whitespace-display-window, whitespace-interactive-char)
5988 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5989 (whitespace-help-scroll): New fun.
5991 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
5993 * emacs-lisp/package.el (list-packages): Alias for
5994 package-list-packages.
5996 2010-08-24 Kevin Ryde <user42@zip.com.au>
5998 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6001 * progmodes/ruby-mode.el (ruby): Add defgroup.
6003 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6005 * progmodes/python.el: Add Ipython support (Bug#5390).
6006 (python-shell-prompt-alist)
6007 (python-shell-continuation-prompt-alist): New options.
6008 (python--set-prompt-regexp): New function.
6009 (inferior-python-mode, run-python, python-shell):
6010 Require ansi-color. Use python--set-prompt-regexp to set the comint
6011 prompt based on the Python interpreter.
6012 (python--prompt-regexp): New var.
6013 (python-check-comint-prompt)
6014 (python-comint-output-filter-function): Use it.
6015 (run-python): Use a pipe (Bug#5694).
6017 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6019 * progmodes/python.el (python-send-region): Send a different
6020 Python command if Ipython is in use.
6021 (python-check-version): Use a Python command to find the version.
6023 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6025 * mouse.el (mouse-yank-primary): Avoid setting primary when
6026 deactivating the mark (Bug#6872).
6028 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6030 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6031 with "else" (Bug#3991).
6033 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6035 * net/dbus.el: Accept UNIX domain sockets as bus address.
6036 (top): Don't initialize `dbus-registered-objects-table' anymore,
6037 this is done in dbusbind,c.
6038 (dbus-check-event): Adapt test for bus.
6039 (dbus-return-values-table, dbus-unregister-service)
6040 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6043 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6045 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6047 2010-08-22 Juri Linkov <juri@jurta.org>
6049 * simple.el (read-extended-command): New function with the logic
6050 for `completing-read' moved to Elisp from `execute-extended-command'.
6051 Use `function-called-at-point' in `minibuffer-default-add-function'
6052 to get a command name for M-n (bug#5364, bug#5214).
6054 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6056 * startup.el (command-line-1): Issue warning for ignored arguments
6057 --unibyte, etc (Bug#6886).
6059 2010-08-22 Leo <sdl.web@gmail.com>
6061 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6062 (ignore, bright, dim, keyword): Split list of nicknames before
6063 passing to rcirc-add-or-remove (Bug#6894).
6065 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6067 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6069 2010-08-22 Leo <sdl.web@gmail.com>
6071 Fix buffer-list rename&refresh after killing a buffer in ido.
6072 * ido.el: Revert Óscar's.
6073 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6074 Remember the buffers at head, rather than their name.
6075 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6077 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6078 Stefan Monnier <monnier@iro.umontreal.ca>
6080 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6081 extra backslash added to each line (bug#6890).
6083 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6087 2010-08-22 Glenn Morris <rgm@gnu.org>
6089 * menu-bar.el (menu-bar-games-menu): Add landmark.
6091 2010-08-22 Glenn Morris <rgm@gnu.org>
6093 * align.el (align-regexp): Make group and spacing arguments
6094 use the interactive defaults when non-interactive. (Bug#6698)
6096 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6097 expansion, so as not to need sendmail.
6098 (mail-text-start): Remove declaration.
6099 (rmail-retry-failure): Require sendmail.
6101 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6103 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6105 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6107 * progmodes/flymake.el (flymake-start-syntax-check-process):
6108 Use `start-file-process' in order to let it run also on remote hosts.
6110 2010-08-22 Kenichi Handa <handa@m17n.org>
6112 * files.el: Add `word-wrap' as safe local variable.
6114 2010-08-22 Glenn Morris <rgm@gnu.org>
6116 * woman.el (woman-translate): Case matters. (Bug#6849)
6118 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6120 * simple.el (kill-region): Doc fix (Bug#6787).
6122 2010-08-22 Glenn Morris <rgm@gnu.org>
6124 * calendar/diary-lib.el (diary-header-line-format):
6125 Fit it to the window, not the frame.
6127 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6129 * subr.el (ignore-errors): Add debug declaration.
6131 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6133 * whitespace.el (whitespace-color-off): Remove post-command-hook
6136 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6140 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6142 * cus-edit.el (custom-group-value-create): Add extra newline
6143 before end line (Bug#6876).
6145 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6147 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6148 when extending it. Before killing on the second click, check if
6149 the buffer is the correct one. Doc fix.
6150 (mouse-secondary-save-then-kill): Allow usage without first
6151 calling mouse-start-secondary, by defaulting to point. Don't save
6152 an empty secondary selection. Doc fix.
6154 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6156 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6157 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6159 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6160 Adjust initialization.
6161 (whitespace-bob-marker, whitespace-eob-marker)
6162 (whitespace-buffer-changed): New vars.
6163 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6164 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6165 (whitespace-post-command-hook, whitespace-display-char-on):
6167 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6168 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6170 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * files.el (locate-file-completion-table): Only list the .el and .elc
6173 extensions if there's no other choice (bug#5955).
6175 * facemenu.el (facemenu-self-insert-data): New var.
6176 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6178 (facemenu-add-face): Use them.
6180 * simple.el (blink-matching-open): Obey forward-sexp-function.
6182 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * simple.el (prog-mode-map): New var.
6185 (prog-indent-sexp): New command.
6187 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6189 * progmodes/prolog.el (smie): Require.
6191 * emacs-lisp/smie.el (smie-default-backward-token)
6192 (smie-default-forward-token): Strip properties.
6193 (smie-next-sexp): Be more careful with associative operators.
6194 (smie-forward-sexp-command): Generalize.
6195 (smie-backward-sexp-command): Simplify.
6196 (smie-closer-alist): New var.
6197 (smie-close-block): New command.
6198 (smie-indent-debug-log): New var.
6199 (smie-indent-offset-rule): Add a few more cases.
6200 (smie-indent-column): New function.
6201 (smie-indent-after-keyword): Use it.
6202 (smie-indent-keyword): Use it.
6203 Fix up the opener code's point position.
6204 (smie-indent-comment): Only applies at BOL.
6205 (smie-indent-debug): New command.
6207 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6208 declarations that are useful before running the macro.
6210 2010-08-18 Joakim Verona <joakim@verona.se>
6212 * image.el (imagemagick-types-inhibit): New variable.
6213 (imagemagick-register-types): New function.
6214 * image-mode.el (image-transform-properties): New function.
6215 (image-transform-set-scale, image-transform-fit-to-height)
6216 (image-transform-set-rotation, image-transform-set-resize)
6217 (image-transform-fit-to-width, image-transform-fit-to-height):
6219 (image-toggle-display-image): Support image transforms.
6221 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6223 * image.el (create-animated-image): Don't add heuristic mask to image
6226 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6228 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6229 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6231 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6233 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6235 Font-lock '...' strings, plus various simplifications and fixes.
6236 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6237 (octave-font-lock-close-quotes): New function.
6238 (octave-font-lock-syntactic-keywords): New var.
6239 (octave-mode): Use it. Set beginning-of-defun-function.
6240 (octave-mode-map): Don't override the <foo>-defun commands.
6241 (octave-mode-menu): Pass it directly to easy-menu-define;
6242 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6243 (octave-block-match-alist): Fix up last change so that
6244 octave-close-block uses the more specific keyword.
6245 (info-lookup-mode): Silence byte-compiler.
6246 (octave-beginning-of-defun): Not interactive any more.
6248 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6249 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6250 (octave-completion-at-point-function): Make sure point is within
6252 (octave-reindent-then-newline-and-indent):
6253 Use reindent-then-newline-and-indent.
6254 (octave-add-octave-menu): Remove.
6256 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6258 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6259 (report-emacs-bug-can-use-xdg-email): New functions.
6260 (report-emacs-bug): Set can-xdg-email to result of
6261 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6262 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6265 * net/browse-url.el (browse-url-default-browser): Add cond
6266 for browse-url-xdg-open.
6267 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6269 2010-08-17 Glenn Morris <rgm@gnu.org>
6271 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6272 (c-fontify-recorded-types-and-refs): Define for compiler.
6273 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6276 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6279 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6281 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6283 (tramp-handle-process-file): Call the program in a subshell, in
6284 order to preserve working directory.
6285 (tramp-action-password): Hide password prompt before next run.
6286 (tramp-process-actions): Widen connection buffer for the trace.
6288 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6290 * net/rcirc.el (rcirc-log-process-buffers): New option.
6291 (rcirc-print): Use it.
6292 (rcirc-generate-log-filename): New function.
6293 (rcirc-log-filename-function): Change default to
6294 rcirc-generate-log-filename (Bug#6828).
6296 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6298 * simple.el (deactivate-mark): If select-active-regions is `only',
6299 only set selection for temporarily active regions.
6301 * cus-start.el: Change defcustom for select-active-regions.
6303 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6305 * mouse.el (mouse--drag-set-mark-and-point): New function.
6306 (mouse-drag-track): Use LOCATION arg to push-mark.
6307 Use mouse--drag-set-mark-and-point to take click-count into
6308 consideration when updating point and mark (Bug#6840).
6310 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6312 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6313 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6315 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6317 * font-lock.el (lisp-font-lock-keywords-2):
6318 Add combine-after-change-calls, condition-case-no-debug,
6319 with-demoted-errors, and with-silent-modifications (Bug#6025).
6321 2010-08-14 Kevin Ryde <user42@zip.com.au>
6323 * emacs-lisp/copyright.el (copyright-update-year)
6324 (copyright-update): Temporary switch-to-buffer to ensure the
6325 buffer change being queried is visible (Bug#5394).
6327 2010-08-14 Tom Tromey <tromey@redhat.com>
6329 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6332 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6334 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6337 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6339 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6340 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6341 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6342 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6343 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6344 Call menu-bar-set-tool-bar-position.
6346 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6349 comment style (bug#6834).
6350 * progmodes/scheme.el (scheme-mode-syntax-table):
6351 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6352 "b" flag in "' 14b" syntax.
6354 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6355 for (un)commenting the region and performing completion.
6356 (octave-mode-menu): Use standard commands for help and completion.
6357 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6358 (octave-mode): Use define-derived-mode.
6359 Set completion-at-point-functions and don't set columns.
6360 Don't disable adaptive-fill-regexp.
6361 (octave-describe-major-mode, octave-comment-region)
6362 (octave-uncomment-region, octave-comment-indent)
6363 (octave-indent-for-comment): Remove.
6364 (octave-indent-calculate): Rename from calculate-octave-indent.
6365 (octave-indent-line, octave-fill-paragraph): Update caller.
6366 (octave-initialize-completions): No need to make an alist.
6367 (octave-completion-at-point-function): New function.
6368 (octave-complete-symbol): Use it.
6369 (octave-insert-defun): Use define-skeleton.
6371 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6372 (octave-mode-map): Use comment-dwim (bug#6829).
6374 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6376 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6377 indentation of inserted comment.
6379 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6381 * faces.el (region): Add type gtk that uses gtk colors.
6383 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6384 Handle theme-name change.
6386 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6388 * progmodes/sql.el: Version 2.5
6389 (sql-product-alist): Add :prompt-cont-regexp property for several
6391 (sql-prompt-cont-regexp): New variable.
6392 (sql-output-newline-count, sql-output-by-send):
6393 New variables. Record number of newlines in input text.
6394 (sql-send-string): Handle multiple filters and count newlines.
6395 (sql-send-magic-terminator): Count terminator newline.
6396 (sql-interactive-remove-continuation-prompt): Filters output to
6397 remove continuation prompts; one for each newline.
6398 (sql-interactive-mode): Set up new variables, prompt regexp and
6400 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6401 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6403 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6405 * emacs-lisp/pcase.el: New file.
6407 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6409 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6410 as here-document, otherwise the command could exceed maximum
6411 length of command line.
6412 (tramp-handle-vc-registered): Call script accordingly.
6413 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6415 2010-08-10 Kenichi Handa <handa@m17n.org>
6417 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6420 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6422 * emacs-lisp/package.el (package-version-split)
6423 (package--version-first-nonzero, package-version-compare):
6425 (package-directory-list, package-load-all-descriptors)
6426 (package--built-in, package-activate, define-package)
6427 (package-installed-p, package-compute-transaction)
6428 (package-read-all-archive-contents)
6429 (package--add-to-archive-contents, package-buffer-info)
6430 (package-tar-file-info, package-list-packages-internal):
6431 Use version-to-list and version-list-*.
6433 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6434 Use version-to-list.
6435 (package-upload-buffer-internal): Use version-list-<=.
6437 2010-08-09 Kenichi Handa <handa@m17n.org>
6439 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6442 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6444 * tutorial.el (tutorial--default-keys): C-d is now bound to
6445 delete-forward-char (Bug#6826).
6447 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6448 for `double' value of mouse-1-click-follows-link (Bug#6807).
6450 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6452 * replace.el (replace-highlight): Bind isearch-forward and
6453 isearch-error, ensuring that highlighting is updated if the user
6454 switches the search direction (Bug#6808).
6456 * isearch.el (isearch-lazy-highlight-forward): New var.
6457 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6458 (isearch-lazy-highlight-update): Use it.
6460 2010-08-08 Kenichi Handa <handa@m17n.org>
6462 * international/mule.el (define-charset): Store NAME as :base property.
6463 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6464 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6465 current priority. Force using the designation of the specific
6466 charset by adding `charset' text property. Improve the whole algorithm.
6468 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6470 * emulation/pc-select.el (pc-selection-mode-hook)
6471 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6472 (pc-selection-mode): Fix typos in docstrings.
6474 2010-08-08 Kenichi Handa <handa@m17n.org>
6476 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6477 ctext-non-standard-encodings-alist here.
6479 * international/mule.el (ctext-non-standard-encodings-alist):
6480 Add "koi8-r" and "microsoft-cp1251".
6481 (ctext-standard-encodings): New variable.
6482 (ctext-non-standard-encodings-table): List only elements for
6483 non-standard encodings.
6484 (ctext-pre-write-conversion): Adjust for the above change.
6485 Check ctext-standard-encodings.
6487 * international/mule-conf.el (compound-text): Doc fix.
6488 (ctext-no-compositions): Doc fix.
6489 (compound-text-with-extensions): Doc fix.
6491 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6495 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6497 * progmodes/which-func.el (which-func-format): Split help-echo text
6498 into lines, like other mode-line tooltips.
6500 * server.el (server-start): When using TCP sockets, force IPv4
6501 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6503 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6505 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6507 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6509 * term.el (term-delimiter-argument-list): Reflow docstring.
6510 (term-read-input-ring, term-write-input-ring, term-send-input)
6511 (term-bol, term-erase-in-display, serial-supported-or-barf):
6512 Fix typos in docstrings.
6514 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6518 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6520 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6522 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6524 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6525 Fix typo in docstring (bug#6747).
6527 2010-08-08 Leo <sdl.web@gmail.com>
6529 * eshell/esh-io.el (eshell-get-target): Better detection of
6530 read-only file (Bug#6762).
6532 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6534 * align.el (align-default-spacing): Doc fix.
6535 (align-region-heuristic, align-regexp): Fix typos in docstrings.
6537 2010-08-08 Stephen Peters <speters@itasoftware.com>
6539 * calendar/icalendar.el
6540 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
6541 (icalendar--get-weekday-numbers): New.
6542 (icalendar--convert-recurring-to-diary): Handle multiple byday
6543 values in weekly rules. (Bug#6766)
6545 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
6547 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6548 (icalendar--create-uid, icalendar-export-region)
6549 (icalendar--parse-summary-and-rest): Code formatting.
6551 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
6553 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6554 to italicize headers.
6555 (calc-highlight-selections-with-faces): New variable.
6556 (calc-selected-face, calc-nonselected-face): New faces.
6558 * calc/calccomp.el (math-comp-highlight-string): Use
6559 `calc-highlight-selections-with-faces' to determine how to highlight
6562 * calc/calc-sel.el (calc-show-selections): Change message to when
6563 using faces to highlight selections.
6565 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
6567 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6568 Add SQLite 3 keywords, functions and datatypes.
6569 (sql-interactive-mode): Remove `comint-process-echoes' set to t
6572 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
6574 * simple.el (select-active-regions): Move to keyboard.c.
6575 (deactivate-mark): Used saved-region-selection.
6576 (select-active-region): Function removed.
6577 (activate-mark, set-mark, push-mark-command)
6578 (handle-shift-selection): Don't call it.
6579 (keyboard-quit): Avoid adding the region to the window selection.
6581 * mouse.el (mouse-drag-track): Remove hacks to deal with old
6582 select-active-regions implementation.
6583 (mouse-yank-at-click): Doc fix.
6585 * cus-start.el: Add custom declaration for select-active-regions.
6587 2010-08-07 Eli Zaretskii <eliz@gnu.org>
6589 * simple.el (delete-forward-char): Doc fix.
6591 * tutorial.el (help-with-tutorial): Hack safe file-local variables
6592 after reading the tutorial.
6594 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
6596 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6597 Fix for the case that a C style comment has its delimiters alone on
6598 their respective lines.
6600 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
6602 * net/tramp.el (tramp-handle-start-file-process): Set connection
6604 (tramp-process-sentinel): Use it for flushing the cache.
6605 We cannot do it via the process buffer, the buffer could be deleted
6606 already when running the sentinel.
6608 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6610 * comint.el (comint-mode): Make directory tracking functions
6611 functional on remote files. (Bug#6764)
6613 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
6615 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6617 2010-08-05 Eli Zaretskii <eliz@gnu.org>
6619 * emacs-lisp/find-gc.el (find-gc-source-files):
6620 Rename unexec.c => unexcoff.c.
6622 * emacs-lisp/authors.el (authors-fixed-entries):
6623 Rename unexec.c => unexcoff.c.
6625 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
6627 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6628 cache, not only file cache.
6629 (tramp-process-sentinel): New defun.
6630 (tramp-handle-start-file-process): Use it, in order to invalidate
6633 2010-08-03 Leo <sdl.web@gmail.com>
6635 * server.el (server-start): Simplify loop.
6637 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * frame.el (screen-height, screen-width, set-screen-width)
6640 (set-screen-height): Remove ancient compatibility aliases.
6642 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6643 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
6645 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6646 that change current buffer.
6648 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6650 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6651 beginning of the string. Use `string-match-p'. (Bug#6765)
6653 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
6655 * cus-start.el (x-gtk-use-system-tooltips): New variable.
6657 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
6659 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6660 (package--builtins): Tweak descriptions.
6661 (package-print-package): Upcase descriptions if necessary.
6662 Show all built-in packages in font-lock-builtin-face.
6663 (package-list-packages-internal): Omit "emacs" package.
6664 Show status of built-in packages as "built-in".
6666 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
6668 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
6669 before killing to preserve the primary selection (Bug#6701).
6671 * term/x-win.el (x-select-text): Doc fix.
6673 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
6675 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6676 (objc-font-lock-extra-types):
6677 * progmodes/cc-mode.el (c-basic-common-init):
6678 * progmodes/cc-langs.el (c-make-mode-syntax-table)
6679 (c++-make-template-syntax-table)
6680 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6681 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6682 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6683 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6684 * progmodes/cc-fonts.el (c-make-inverse-face)
6685 (c-basic-matchers-after):
6686 * progmodes/cc-engine.el (c-forward-keyword-clause)
6687 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6688 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6689 (c-guess-continued-construct, c-guess-basic-syntax):
6690 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6691 The above functions were modified or created.
6693 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
6695 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6697 2010-07-31 Eli Zaretskii <eliz@gnu.org>
6699 * files.el (bidi-paragraph-direction): Define safe local values.
6701 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6702 language-info-alist. Remove outdated FIXME in a comment.
6704 2010-07-31 Alan Mackenzie <acm@muc.de>
6706 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6707 Auto-fill broken in C/C++ modes.
6709 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
6711 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6712 (menu-bar-showhide-tool-bar-menu-customize-disable)
6713 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6714 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6715 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6716 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6717 make a menu for Options => toolbar that can move it.
6719 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
6721 * emacs-lisp/package-x.el (package--make-rss-entry):
6722 (package-maint-add-news-item, package--update-news)
6723 (package-upload-buffer-internal): New arg ARCHIVE-URL.
6725 * emacs-lisp/package.el (package-archive-url): Rename from
6727 (package-install): Doc fix.
6728 (package-download-single, package-download-tar, package-install)
6729 (package-menu-view-commentary): Callers changed.
6731 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
6733 * net/tramp.el (tramp-handle-start-file-process): Check only for
6734 `remote-tty' process property.
6735 (tramp-open-shell): Don't check for tty.
6736 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6739 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6742 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
6744 * emacs-lisp/package.el (package-load-list, package-archives)
6745 (package-archive-contents, package-user-dir)
6746 (package-directory-list, package--builtins, package-alist)
6747 (package-activated-list, package-obsolete-alist): Mark as risky.
6749 2010-07-28 Phil Hagelberg <phil@evri.com>
6751 Add support for non-default package repositories.
6752 * emacs-lisp/package.el (package-archive-base): Var deleted.
6753 (package-archives): New variable.
6754 (package-archive-contents): Doc fix.
6755 (package-load-descriptor): Do nothing if descriptor file is missing.
6756 (package--write-file-no-coding): New function.
6757 (package-unpack-single): Use it.
6758 (package-archive-id): New function.
6759 (package-download-single, package-download-tar)
6760 (package-menu-view-commentary): Use it.
6761 (package-installed-p): Make second argument optional.
6762 (package-read-all-archive-contents): New function.
6763 (package-initialize): Use it.
6764 (package-read-archive-contents): Add ARCHIVE argument.
6765 (package--add-to-archive-contents): New function.
6766 (package-install): Don't call package-read-archive-contents.
6767 (package--download-one-archive): Store archive file in a
6768 subdirectory of package-user-dir.
6769 (package-menu-execute): Remove spurious line movement.
6771 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
6773 * cus-start.el (tool-bar-style): Add text-image-horiz.
6775 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6777 * progmodes/gud.el (gud-common-init): Check for remoteness of
6778 `file', and not of `default-directory'.
6780 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
6782 * net/tramp.el (tramp-methods): Move hostname to the end in all
6783 ssh `tramp-login-args'.
6784 (tramp-verbose): Describe verbose level 9.
6785 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6786 (tramp-open-connection-setup-interactive-shell): Trace stty
6787 settings if `tramp-verbose' >= 9.
6788 (tramp-handle-start-file-process): Implement tty setting.
6789 (Bug#4604, Bug#6360)
6791 * net/tramp-cmds.el (tramp-bug): Recommend setting of
6792 `tramp-verbose' to 9.
6794 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
6796 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6797 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6798 Remove references to package `lisp-re' (bug#4369).
6800 2010-07-27 Tom Tromey <tromey@redhat.com>
6802 * progmodes/js.el (js-mode):
6803 * progmodes/make-mode.el (makefile-mode):
6804 * progmodes/simula.el (simula-mode):
6805 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6807 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
6809 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6811 * time.el (display-time-day-and-date): Remove spurious * in docstring.
6812 (display-time-world-buffer-name, display-time-world-mode-map):
6813 Fix typos in docstrings.
6815 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
6817 * image-mode.el (image-display-size): New function.
6818 (image-forward-hscroll, image-next-line, image-eol, image-eob)
6819 (image-mode-fit-frame): Use it (Bug#6639).
6821 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
6823 * dired.el (dired-buffers-for-dir): Handle list values of
6824 dired-directory (Bug#6636).
6826 2010-07-26 Sam Steingold <sds@gnu.org>
6828 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6829 Do not call `x-get-selection' the second time, reuse the value.
6831 2010-07-26 Daiki Ueno <ueno@unixuser.org>
6833 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6834 which consist of control chars only. Suggested by Richard Stallman.
6836 2010-07-25 Daiki Ueno <ueno@unixuser.org>
6838 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6839 exists before passing an error to find-file-not-found-functions
6842 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
6844 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6845 Remove leading nil element, adjust values.
6846 (tetris-shapes, tetris-shape-scores):
6847 Change representation of shapes and remove some redundancy.
6848 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6849 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6850 Adjust for working with new representation of shapes.
6851 (tetris-shape-rotations): New function.
6852 (tetris-move-bottom, tetris-move-left, tetris-move-right)
6853 (tetris-rotate-prev, tetris-rotate-next):
6854 Adjust for working with the new version of tetris-test-shape.
6856 2010-07-23 Markus Triska <markus.triska@gmx.at>
6858 * progmodes/ps-mode.el: Use comint (bug#5954).
6859 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6860 (ps-mode-other-newline): Simplify.
6861 (ps-run-mode): Derive from comint-mode instead of
6862 fundamental-mode, yielding input history etc.
6863 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6864 (ps-run-send-string): Adapt for comint-mode.
6865 (ps-run-newline): Remove now unneeded function.
6867 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6869 * net/tramp.el (tramp-methods): Move hostname to the end in all
6870 plink `tramp-login-args'.
6872 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6874 * net/tramp.el (tramp-open-shell): New defun.
6875 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6878 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
6880 * net/tramp.el (tramp-file-name-regexp-unified)
6881 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6882 not regard the volume letter as remote filename. (Bug#5447)
6884 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
6886 * custom.el (custom-declare-variable): Give a clearer error message
6887 when the docstring is missing (bug#6476).
6889 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
6891 * progmodes/sql.el: Version 2.4. Improved Login prompting.
6892 (sql-login-params): New widget definition.
6893 (sql-oracle-login-params, sql-mysql-login-params)
6894 (sql-solid-login-params, sql-sybase-login-params)
6895 (sql-informix-login-params, sql-ingres-login-params)
6896 (sql-ms-login-params, sql-postgres-login-params)
6897 (sql-interbase-login-params, sql-db2-login-params)
6898 (sql-linter-login-params): Use it.
6899 (sql-sqlite-login-params): Use it; Define "database" parameter as
6901 (sql-sqlite-program): Change to "sqlite3".
6902 (sql-comint-sqlite): Make sure database name is complete.
6903 (sql-for-each-login): New function.
6904 (sql-connect, sql-save-connection): Use it.
6905 (sql-get-login-ext): New function.
6906 (sql-get-login): Use it.
6907 (sql-make-alternate-buffer-name): Handle :file parameters.
6909 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
6911 * dired.el (dired-no-confirm): Document value t and fix defcustom to
6912 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
6914 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
6916 * dired.el (dired-mode-map): Use command remapping (bug#6632).
6918 2010-07-22 Lawrence Mitchell <wence@gmx.li>
6920 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6922 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
6924 * net/tramp.el (tramp-get-ls-command)
6925 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6928 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
6930 * progmodes/sql.el: Version 2.3.
6931 (sql-connection-alist): Change keys from symbols to strings;
6932 enhanced the widget definition.
6933 (sql-mode-menu): Add submenu to select connections.
6934 (sql-interactive-mode-menu): Add "Save Connection" item.
6935 (sql-add-product): Fix menu item.
6936 (sql-get-product-feature): Improved error handling.
6937 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6938 (sql-make-alternate-buffer-name): Simplified.
6939 (sql-product-interactive): Handle missing product.
6940 (sql-connect): Support string keys, minor improvements.
6941 (sql-save-connection): New function.
6942 (sql-connection-menu-filter): New function.
6944 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6946 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6947 (tramp-open-connection-setup-interactive-shell):
6948 Apply workaround for IRIX64 bug. Move argument of last
6949 `tramp-send-command' where it belongs to.
6951 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
6953 * net/tramp.el (tramp-perl-file-attributes)
6954 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6955 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6956 front of `login-args'.
6958 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
6960 * time.el (display-time-world-mode): Define with `define-derived-mode'.
6961 Set `show-trailing-whitespace' to nil.
6962 (display-time-world-display): Simplify.
6964 2010-07-18 Alan Mackenzie <acm@muc.de>
6966 Enhance `c-file-style' in file/directory local variables.
6967 * progmodes/cc-mode.el (c-count-cfss): New function.
6968 (c-before-hack-hook): Call `c-set-style' differently according to
6969 whether c-file-style was set in file or directory local
6972 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
6974 * progmodes/sql.el: Version 2.2.
6975 (sql-product, sql-user, sql-database, sql-server, sql-port):
6976 Use defcustom :safe keyword rather than putting safe-local-variable
6978 (sql-password): Use defcustom :risky keyword rather than putting
6979 risky-local-variable property.
6980 (sql-oracle-login-params, sql-sqlite-login-params)
6981 (sql-solid-login-params, sql-sybase-login-params)
6982 (sql-informix-login-params, sql-ingres-login-params)
6983 (sql-ms-login-params, sql-postgres-login-params)
6984 (sql-interbase-login-params, sql-db2-login-params)
6985 (sql-linter-login-params): Add `port' option.
6986 (sql-get-product-feature): Add NO-INDIRECT parameter.
6987 (sql-comint-oracle, sql-comint-sybase)
6988 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6989 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6990 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6991 (sql-comint-linter): Rename sql-connect-* functions to
6993 (sql-product-alist, sql-mode-menu): Rename as above and
6994 :sqli-connect-func to :sqli-comint-func.
6995 (sql-connection): New variable.
6996 (sql-interactive-mode): Set it.
6997 (sql-connection-alist): New variable.
6998 (sql-connect): New function.
6999 (sql--alt-buffer-part, sql--alt-if-not-empty)
7000 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7002 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7004 * image-mode.el (image-bookmark-make-record): Do not set context
7005 in an image (Bug#6650).
7007 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7009 * simple.el (select-active-region): New function.
7010 (push-mark-command, set-mark, activate-mark)
7011 (handle-shift-selection): Use it.
7012 (deactivate-mark): Don't check for size of region.
7014 * mouse.el (mouse-drag-track): Use select-active-region.
7016 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7018 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7021 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7023 * term/x-win.el (x-select-enable-primary): Change default to nil.
7024 (x-select-enable-clipboard): Add :version keyword.
7026 * mouse.el (mouse-drag-copy-region):
7027 * simple.el (select-active-regions): Likewise.
7029 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7031 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7032 (vc-coding-system-for-diff): Use it to decide whether to inherit
7033 from the file the EOL format for reading the diffs of that file.
7036 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7038 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7039 unibyte, so compressed attachments are not compressed again.
7041 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7043 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7044 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7045 (tramp-find-shell): Simplify setting connection property.
7046 (tramp-get-ls-command): Make test for "--color=never" stronger.
7048 2010-07-15 Simon South <ssouth@member.fsf.org>
7050 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7051 blocks within record declarations (i.e. variant parts) correctly.
7053 2010-07-15 Simon South <ssouth@member.fsf.org>
7055 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7056 over literal tokens when parsing so newlines aren't "absorbed" by
7057 single-line comments. Corrects the indentation of case blocks
7058 that have a comment on the first line.
7060 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7062 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7063 by Drew Adams (Bug#5504).
7065 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7067 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7068 now that Unicode is used (Bug#6594).
7070 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7072 * term/x-win.el (x-select-enable-clipboard): Default to t.
7073 (x-initialize-window-system): Don't overwrite Paste menu item.
7075 * simple.el (select-active-regions): Default to t.
7076 (push-mark-command): Don't overwrite primary with empty string.
7078 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7079 (mouse-drag-copy-region): Default to nil.
7081 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7082 Cut/Copy/Paste menu bar items.
7084 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7086 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7087 Patch applied by Karl Fogel.
7089 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7090 and `bookmark-current-buffer' if they have been already set in
7091 another buffer (e.g gnus-art).
7093 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7094 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7096 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7098 * bookmark.el (bookmark-make-record-default): Allow unneeded
7099 information to be omitted from the record.
7101 Adjust declarations and calls:
7103 * info.el (bookmark-make-record-default): Adjust declaration.
7104 (Info-bookmark-make-record): Adjust call.
7106 * woman.el (bookmark-make-record-default): Adjust declaration.
7107 (woman-bookmark-make-record): Adjust call.
7109 * man.el (bookmark-make-record-default): Adjust declaration.
7110 (Man-bookmark-make-record): Adjust call.
7112 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7114 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7116 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7118 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7119 This is also from Thierry Volpiatto's patch in bug #6444. However,
7120 because it was extraneous to the functional change in that patch,
7121 and causes a re-indendation, I am committing it separately.
7123 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7125 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7126 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7127 Patch applied by Karl Fogel (Bug#6444).
7129 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7131 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7133 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7135 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7136 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7137 (ns-alternatives-map): Change S-tab binding to backtab
7140 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7143 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7145 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7148 * language/tv-util.el (tai-viet-re): Remove format.
7150 2010-07-12 Kenichi Handa <handa@m17n.org>
7152 * language/hebrew.el: Remove no-byte-compile declaration.
7153 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7154 composition-function-table for 3-character looking back.
7155 (hebrew-font-get-precomposed): New function.
7156 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7158 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7160 * mouse.el (mouse-drag-track): Handle select-active-regions
7163 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7165 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7166 empty argument to gvfs-copy.
7168 2010-07-10 Glenn Morris <rgm@gnu.org>
7170 * calendar/calendar.el (calendar-week-end-day): New function.
7171 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7172 Respect calendar-week-start-day. (Bug#6606)
7173 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7174 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7175 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7176 respect calendar-week-start-day.
7178 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7180 * simple.el (use-region-p): Doc fix (Bug#6607).
7182 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7185 Add regexps for cucumber and ruby.
7187 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7189 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7190 (epa-file-insert-file-contents): Hack to prevent
7191 find-file from opening empty buffer when decryption failed
7194 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7196 * textmodes/ispell.el (ispell-alternate-dictionary):
7197 Use file-readable-p.
7198 Return nil if no word-list is found at default locations.
7199 (ispell-complete-word-dict): Default to nil.
7200 (ispell-command-loop): Use 'word-list' when using lookup-words.
7201 (lookup-words): Use ispell-complete-word-dict or
7202 ispell-alternate-dictionary. Check for word-list availability
7203 and handle errors if needed with better messages (Bug#6539).
7204 (ispell-complete-word): Use ispell-complete-word-dict or
7205 ispell-alternate-dictionary.
7207 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7209 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7210 builtins (BufferError, BytesWarning, WindowsError; callables
7211 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7213 2010-07-07 Glenn Morris <rgm@gnu.org>
7215 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7216 (zone-shift-left): Ignore intangibility, and any errors from
7218 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7219 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7220 deleting, and copying text properties.
7221 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7222 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7223 to point-max is hard.
7224 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7225 (zone-fill-out-screen): Ignore intangibility.
7227 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7229 * menu-bar.el (menu-bar-mode):
7230 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7233 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7234 word/line selection (Bug#6565).
7236 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7238 * net/dbus.el (dbus-send-signal): Declare function.
7240 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7242 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7243 (dbus-register-property): New optional argument EMITS-SIGNAL.
7244 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7246 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7248 * mouse.el (mouse-drag-overlay): Variable deleted.
7249 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7250 (mouse--remap-link-click-p): New function.
7251 (mouse-drag-track): Handle dragging by using temporary Transient
7252 Mark mode, instead of a special overlay.
7253 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7256 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7259 2010-07-02 Juri Linkov <juri@jurta.org>
7261 * autoinsert.el (auto-insert-alist): Fix readability
7262 by using dotted pair notation for lambda.
7264 2010-07-02 Juri Linkov <juri@jurta.org>
7266 * faces.el (read-face-name): Rename arg `string-describing-default'
7267 to `default'. Doc fix. Display the default value in quotes
7268 in the prompt. With empty input, return the `default' arg,
7269 unless the default value is a string (in which case return nil).
7270 (describe-face): Replace the string `default' arg of `read-face-name'
7271 with the symbol `default'.
7273 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7275 * emulation/viper-cmd.el (viper-delete-backward-char)
7276 (viper-del-backward-char-in-insert)
7277 (viper-del-backward-char-in-replace, viper-change)
7278 (viper-backward-indent): Replace delete-backward-char with
7279 delete-char (Bug#6552).
7281 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7283 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7285 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7287 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7288 argument passed to frame-creation-function (Bug#5378).
7290 * faces.el (x-handle-named-frame-geometry)
7291 (x-handle-reverse-video, x-create-frame-with-faces)
7292 (face-set-after-frame-default, tty-create-frame-with-faces):
7293 Don't separately consult default-frame-alist. It is now passed as the
7296 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7298 * startup.el (command-line): Don't call tool-bar-setup in a
7301 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7303 * ruler-mode.el (ruler--save-header-line-format): New fun.
7304 (ruler-mode): Use it as a setter function, so as not to overwrite
7305 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7307 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7309 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7310 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7311 (vc-log-outgoing): Use it.
7312 (vc-diff-internal): Set diff-vc-backend.
7314 * vc/diff-mode.el (diff-vc-backend): New var.
7316 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7318 * dynamic-setting.el (font-setting-change-default-font):
7319 Remove call to message.
7321 2010-06-28 Kenichi Handa <handa@m17n.org>
7323 * international/quail.el (quail-insert-kbd-layout): Fix the
7324 showing of untranslated characters.
7326 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7328 * simple.el (delete-active-region): New option.
7329 (delete-backward-char): Implement in Lisp.
7330 (delete-forward-char): New command.
7332 * mouse.el (mouse-region-delete-keys): Deleted.
7333 (mouse-show-mark): Simplify.
7335 * bindings.el (global-map): Bind delete and DEL, the former to
7336 delete-forward-char.
7338 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7340 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7341 (ruby-mode): Bind indent-line-function (Bug#5119).
7343 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7345 * startup.el (command-line): Recognize "0" X resource value.
7347 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7349 * startup.el (command-line): Use X resources to set the value of
7350 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7352 * menu-bar.el (menu-bar-mode):
7353 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7354 Set init-value to t.
7356 * frame.el (frame-notice-user-settings): Don't change
7357 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7358 vice versa (Bug#2249).
7360 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7362 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7364 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7366 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7367 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7369 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7370 default directories are expanded (Bug#6143).
7372 2010-06-24 Juri Linkov <juri@jurta.org>
7374 * minibuffer.el (completions-format): Change default from nil to
7375 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7377 2010-06-24 Juri Linkov <juri@jurta.org>
7379 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7380 buffer-locally to lambda that re-runs the vc diff command.
7383 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7385 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7386 echo area is in use (Bug#3412).
7388 2010-06-22 Glenn Morris <rgm@gnu.org>
7390 * textmodes/texinfmt.el (texinfo-format-region)
7391 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7392 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7393 (texinfo-format-option, texinfo-noindent):
7394 Use line-beginning-position and line-end-position.
7396 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7397 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7398 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7401 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7403 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7404 forward-line fallout.
7406 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7408 * mouse.el (mouse-appearance-menu): Add docstring.
7410 * help.el (describe-key): Print up-event using key-description.
7412 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7414 * net/zeroconf.el (zeroconf-resolve-service)
7415 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7416 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7418 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7420 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7422 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7424 Avoid displaying files with a nil state in vc-dir.
7425 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7426 cases that cause insertion.
7427 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7430 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7432 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7434 2010-06-29 Leo <sdl.web@gmail.com>
7436 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7438 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7440 * generic-x.el (bat-generic-mode): Fix regexp for command line
7441 switches (Bug#5719).
7443 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7445 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7446 of nconc to avoid pure storage error (Bug#6239).
7448 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7450 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7451 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7452 bindings of bookmark-automatically-show-annotations (Bug#6515).
7454 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7456 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7457 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7459 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7461 * comint.el (make-comint, make-comint-in-buffer): Mention return
7462 value in the docstrings. (Bug#6498)
7464 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7466 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7467 since it is not present when using some non-default switches.
7469 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7471 * simple.el (compose-mail): Fix doc string to refer to
7472 `compose-mail-user-agent-warnings', instead of to the
7473 nonexistent `compose-mail-check-user-agent'.
7475 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7477 Fix an indentation bug:
7479 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7480 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7483 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7484 (c-clear->-pair-props-if-match-before): now return t when they've
7485 cleared properties, nil otherwise.
7486 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7487 by taking account of the existing value.
7489 * progmodes/cc-defs.el
7490 (c-clear-char-property-with-value-function): Fix this to clear the
7491 property rather than overwriting it with nil.
7493 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7495 * emacs-lisp/package.el (package-print-package): Add link to
7496 package description via describe-package.
7497 (describe-package-1): List package requirements. Add button to
7498 perform installation.
7499 (package-menu-describe-package): New command.
7501 * help-mode.el (help-package): New button type.
7503 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7505 * emacs-lisp/package.el: Move package-list-packages binding to
7507 (describe-package, describe-package-1, package--dir): New funs.
7508 (package-activate-1): Use package--dir.
7510 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7512 * help-mode.el (help-package-def): New button type.
7514 * menu-bar.el: Move package-list-packages binding here from
7517 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7519 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7521 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7523 * emacs-lisp/edebug.el (edebug-read-list):
7524 Phase out old-style backquotes.
7526 2010-06-17 Juri Linkov <juri@jurta.org>
7528 * help-mode.el (help-mode): Set buffer-local variable
7529 revert-buffer-function to help-mode-revert-buffer.
7530 (help-mode-revert-buffer): New function.
7532 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7533 before popping to "*info*" (like in other Info functions).
7534 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7535 old-history-forward. Pop to old-buffer-name or "*info*" to
7536 recreate the killed buffer. Set Info-history-forward from
7537 old-history-forward.
7538 (Info-breadcrumbs-depth): Add :group and :version.
7540 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
7542 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7544 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
7546 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7547 for languages like Portuguese with pt_{BR,PT} and no plain pt.
7549 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
7551 * emacs-lisp/package.el (package-menu-mode-map):
7552 Move initialization into declaration.
7554 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7556 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
7558 * emacs-lisp/package.el (package-archive-base): Point to
7560 (package-enable, package-load-list): New defcustoms.
7561 (package-user-dir, package-directory-list): Turn into defcustoms.
7562 Don't include package-user-dir in package-directory-list.
7563 (package--builtins-base): Don't include Emacs as a "package".
7564 (package-subdirectory-regexp): New var.
7565 (package-load-all-descriptors, package-compute-transaction)
7566 (package-download-transaction): Obey package-load-list.
7567 (package-activate-1): Rename from package-do-activate.
7568 (package-list-packages-internal): Check package-load-list.
7569 (package-load-descriptor, package-generate-autoloads)
7570 (package-unpack, package-unpack-single)
7571 (package--read-archive-file, package-delete):
7572 Use expand-file-name.
7574 * emacs-lisp/package-x.el: New file. Package uploading
7575 functionality split out from package.el.
7577 * startup.el (command-line): Load packages after reading init file.
7579 2010-06-17 Tom Tromey <tromey@redhat.com>
7581 * emacs-lisp/package.el: New file.
7583 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7585 Fix vc-annotate for renamed files when using Git.
7586 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7587 ls-files. Doe not pass the object as a file name to cat-file, it
7589 (vc-git-annotate-command): Pass the file name using -- to avoid
7590 ambiguity with the revision.
7591 (vc-git-previous-revision): Pass a relative file name.
7593 2010-06-22 Glenn Morris <rgm@gnu.org>
7595 * progmodes/js.el (js-mode-map): Use standard capitalization and
7596 ellipses for menu entries.
7598 * wid-edit.el (widget-complete): Doc fix.
7600 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
7602 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7604 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
7606 Fix annotating other revisions for renamed files in vc-annotate.
7607 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7608 VC backend. Use it when non-nil.
7609 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7612 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7613 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7614 Do not pass the file name to the 'previous-revision call when we
7615 don't want a file diff. (Bug#6489)
7617 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7619 Fix finding revisions for renamed files in vc-annotate.
7620 * vc/vc.el (vc-find-revision): Add an optional argument for
7621 the VC backend. Use it when non-nil.
7622 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7623 backend to vc-find-revision. (Bug#6487)
7625 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
7627 Fix reading file names in Git annotate buffers.
7628 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7629 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
7631 2010-06-20 Alan Mackenzie <acm@muc.de>
7633 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7634 in file local variables, set it first.
7636 2010-06-19 Glenn Morris <rgm@gnu.org>
7638 * descr-text.el (describe-char-unicode-data): Insert separating
7639 space when needed. (Bug#6422)
7641 * progmodes/idlwave.el (idlwave-action-and-binding):
7642 Fix typo in 2009-12-03 change. (Bug#6450)
7644 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7646 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7647 handling for `lambda' (misunderstanding).
7649 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
7651 * calc/calc-poly.el (math-accum-factors): Make sure that
7652 constants aren't distributed after they are factored out.
7654 2010-06-16 Juri Linkov <juri@jurta.org>
7656 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7657 `list-colors-print'. (Bug#6332)
7659 * subr.el (read-quoted-char): Fix up last change (bug#6290).
7661 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7663 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7664 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
7666 * font-lock.el (font-lock-major-mode): Rename from
7667 font-lock-mode-major-mode to distinguish it from
7668 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7669 (font-lock-set-defaults):
7670 * font-core.el (font-lock-default-function): Adjust users.
7671 (font-lock-mode): Don't set it at all.
7673 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7677 2010-06-16 Glenn Morris <rgm@gnu.org>
7679 * calendar/appt.el (appt-time-msg-list): Doc fix.
7680 (appt-check): Let-bind appt-warn-time.
7681 (appt-add): Make the 3rd argument optional.
7682 Simplify argument names. Doc fix. Check for integer WARNTIME.
7683 Only add WARNTIME to the output list if non-nil.
7685 2010-06-16 Ivan Kanis <apple@kanis.eu>
7687 * calendar/appt.el (appt-check): Let the 3rd element of
7688 appt-time-msg-list specify the warning time.
7689 (appt-add): Add new argument with the warning time. (Bug#5176)
7691 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7693 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7694 older than version 1.6. (Bug#6361)
7696 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
7698 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7699 used by cl-do-arglist. (Bug#6408)
7701 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
7703 * textmodes/ispell.el (ispell-dictionary-base-alist):
7704 Fix portuguese casechars/not-casechars for missing 'çÇ'.
7705 Suggested by Rolando Pereira (bug#6434).
7707 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
7709 * facemenu.el (list-colors-sort): Doc fix.
7711 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
7713 * progmodes/sql.el (sql-connect-mysql): Fix typo.
7715 2010-06-14 Juri Linkov <juri@jurta.org>
7717 Add sort option `list-colors-sort'. (Bug#6332)
7718 * facemenu.el (color-rgb-to-hsv): New function.
7719 (list-colors-sort): New defcustom.
7720 (list-colors-sort-key): New function.
7721 (list-colors-display): Doc fix. Sort list according to the option
7723 (list-colors-print): Add HSV values to `help-echo' property of
7726 2010-06-14 Juri Linkov <juri@jurta.org>
7728 * compare-w.el: Move to the "vc" subdirectory.
7730 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * image-mode.el (image-mode-map): Remap left-char and right-char.
7734 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7736 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
7738 * term/common-win.el (x-colors): Add all the color names defined
7739 in rgb.txt (Bug#6332).
7741 * facemenu.el (list-colors-print): Don't print extra names if it
7742 will overflow the window width.
7744 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7747 2010-06-12 Eli Zaretskii <eliz@gnu.org>
7749 * files.el (make-directory): Doc fix (bug#6396).
7751 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
7753 * net/tramp.el (tramp-remote-process-environment): Protect version
7754 string by apostroph.
7755 (tramp-shell-prompt-pattern): Do not use a shy group in case of
7757 (tramp-file-name-for-operation): Add `call-process-region'.
7758 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7760 * net/tramp-compat.el (top): Do not autoload
7761 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
7762 only when `start-file-process' is not bound.
7763 (tramp-advice-file-expand-wildcards): Do not use
7764 `tramp-handle-file-remote-p'.
7765 (tramp-compat-make-temp-file): Handle the case, that
7766 `make-temp-file' has no third argument EXTENSION.
7768 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
7770 * makefile.w32-in (WINS_BASIC): Include new directory vc.
7772 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7774 2010-06-11 Juri Linkov <juri@jurta.org>
7776 * finder.el (finder-known-keywords): Add keyword "vc"
7777 for version control.
7779 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7780 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7781 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7782 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7784 2010-06-11 Juri Linkov <juri@jurta.org>
7786 Move version control related files to the "vc" subdirectory.
7787 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7788 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7789 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7790 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7791 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7792 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7793 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7794 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7795 Move files to the "vc" subdirectory.
7797 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
7799 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7802 2010-06-11 Stephen Eglen <stephen@gnu.org>
7804 * shell.el: Bind `shell-resync-dirs' to M-RET.
7806 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
7808 * notifications.el: Move file from lisp/net, because it is
7809 supposed to talk locally to the user.
7811 2010-06-10 Julien Danjou <julien@danjou.info>
7813 * net/notifications.el (notifications-on-action-signal)
7814 (notifications-on-closed-signal): Pass notification id as first
7815 argument to the callback functions. Add docstrings.
7816 (notifications-notify): Fix docstring.
7818 2010-06-10 Glenn Morris <rgm@gnu.org>
7820 * emacs-lisp/authors.el (authors-ignored-files)
7821 (authors-valid-file-names): Add some files.
7823 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7826 merge conflict, giving preference to the emacs-23 version of the code.
7828 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7830 * emacs-lisp/advice.el (ad-compile-function):
7831 Define warning-suppress-types before we let-bind it (bug#6275).
7833 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7834 declare it, make it buffer-local and permanent-local (bug#6324).
7835 (vc-resynch-window): Adjust name.
7836 * vc-hooks.el (vc-find-file-hook): Adjust name.
7838 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
7840 * net/notifications.el (notifications-notify): Fix docstring.
7842 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7844 Update to Unicode 6.0.0 beta.
7845 * international/charprop.el: Update copyright.
7846 * international/mule-cmds.el (ucs-names): Update character ranges.
7847 * international/uni-bidi.el:
7848 * international/uni-category.el:
7849 * international/uni-combining.el:
7850 * international/uni-comment.el:
7851 * international/uni-decimal.el:
7852 * international/uni-decomposition.el:
7853 * international/uni-digit.el:
7854 * international/uni-lowercase.el:
7855 * international/uni-mirrored.el:
7856 * international/uni-name.el:
7857 * international/uni-numeric.el:
7858 * international/uni-old-name.el:
7859 * international/uni-titlecase.el:
7860 * international/uni-uppercase.el: Regenerate.
7862 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
7864 * emacs-lisp/smie.el (comment-string-strip): Declare function.
7865 (smie-precs-precedence-table): Fix typo in docstring.
7867 * vc-mtn.el (log-edit-extract-headers): Declare function.
7869 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7871 * net/notifications.el (dbus-register-signal): Declare function.
7872 (notifications-notify): Fix typos and reflow docstring.
7874 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7876 Improve VC create/retrieve tag/branch.
7877 * vc.el (vc-create-tag): Do not read the directory name for VCs
7878 with repository revision granularity. Adjust the tag/branch
7879 prompt. Reset VC properties.
7880 (vc-retrieve-tag): Do not read the directory name for VCs
7881 with repository revision granularity. Reset VC properties.
7883 2010-06-09 Julien Danjou <julien@danjou.info>
7885 * net/notifications.el: New file.
7887 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
7889 Add optional support for resetting VC properties.
7890 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7891 call vc-file-clearprops when true.
7892 (vc-resynch-buffer): Add new optional argument, pass it down.
7893 (vc-resynch-buffers-in-directory): Likewise.
7895 Improve support for special markup in the VC commit message.
7896 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7897 * vc-hg.el (vc-hg-checkin): Add support for Date:.
7898 * vc-git.el (vc-git-checkin):
7899 * vc-bzr.el (vc-bzr-checkin): Likewise.
7901 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7903 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7904 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7906 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
7908 * iimage.el: Remove images as soon as the underlying text is modified.
7909 (iimage-modification-hook): New function.
7910 (iimage-mode-buffer): Use it.
7912 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7914 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7915 smie-indent-offset-after. Add :prev case. Make a bit more generic.
7916 (smie-indent-virtual): Remove `virtual' arg. Update callers.
7917 (smie-indent-keyword): Add handling of open-paren keywords.
7918 (smie-indent-comment-continue): Don't assume comment-continue.
7920 2010-06-07 Martin Rudalics <rudalics@gmx.at>
7922 * window.el (pop-to-buffer): Remove the conditional that
7923 compares new-window and old-window, so it will reselect
7924 the selected window unconditionally.
7925 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7927 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7929 * emacs-lisp/smie.el (smie-indent-offset-after)
7930 (smie-indent-forward-token, smie-indent-backward-token): New functions.
7931 (smie-indent-after-keyword): Use them.
7932 (smie-indent-fixindent): Only applies to the indentation of the BOL.
7933 (smie-indent-keyword): Tweak the black magic.
7934 (smie-indent-comment-continue): Strip comment-continue before use.
7935 (smie-indent-functions): Indent comments before keywords.
7937 2010-06-06 Juri Linkov <juri@jurta.org>
7939 * isearch.el (isearch-lazy-highlight-search): Fix looping
7940 by checking for empty match. This syncs this loop with the
7941 similar loop in `isearch-search'. (Bug#6362)
7943 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
7945 * net/dbus.el (dbus-register-method): Declare function.
7946 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7947 (dbus-introspect): Doc fix.
7948 (dbus-event-bus-name, dbus-introspect-get-interface)
7949 (dbus-introspect-get-argument): Reflow docstrings.
7951 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
7953 vc-log-incoming/vc-log-outgoing fixes for Git.
7954 * vc-git.el (vc-git-log-view-mode): Fix font lock for
7955 incoming/outgoing logs.
7956 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7957 instead of vc-git-compute-remote.
7958 (vc-git-compute-remote): Remove.
7960 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
7962 * term/common-win.el (x-colors): Add "dark green" and "dark
7963 turquoise" (Bug#6332).
7965 2010-06-04 Juri Linkov <juri@jurta.org>
7967 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7968 Instead of setting `replace' to t and replacing the same string
7969 with itself, don't do certain actions when
7970 kill-do-not-save-duplicates is non-nil and string is equal to car
7971 of kill-ring: don't call menu-bar-update-yank-menu, don't push
7972 interprogram-paste strings to kill-ring, and don't push the input
7973 argument `string' to kill-ring.
7974 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7976 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7978 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7980 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
7982 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7983 (tramp-gvfs-handler-mounted-unmounted)
7984 (tramp-gvfs-connection-mounted-p): Handle default-location.
7986 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7987 move files to trash.
7989 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
7991 * international/mule-cmds.el (nonascii-insert-offset)
7992 (nonascii-translation-table): Add obsolescence information.
7994 * international/mule.el (make-translation-table-from-vector): Doc fix.
7996 2010-06-03 Glenn Morris <rgm@gnu.org>
7998 * desktop.el (desktop-clear-preserve-buffers):
7999 Add "*Warnings*" buffer. (Bug#6336)
8001 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8003 vc-log-incoming/vc-log-outgoing improvements for Git.
8004 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8006 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8008 Add bindings for vc-log-incoming and vc-log-outgoing.
8009 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8010 and vc-log-outgoing.
8011 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8012 and vc-log-outgoing.
8014 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8016 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8017 (rcirc-handler-366): Always sort nicknames.
8019 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8021 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8023 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8025 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8027 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8030 (rcirc-sort-nicknames-join): Avoid setq.
8032 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8034 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8035 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8036 (rcirc-handler-366): Use them.
8038 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8040 Split smie-indent-calculate into more manageable chunks.
8041 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8042 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8043 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8044 (smie-indent-exps): Extract from smie-indent-calculate.
8045 (smie-indent-functions): New var.
8046 (smie-indent-functions): Use them.
8048 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8050 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8051 (smie-indent-calculate): Simplify and cleanup.
8053 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8055 * net/tramp-gvfs.el (top): Require url-util.
8056 (tramp-gvfs-mount-point): Remove.
8057 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8059 (with-tramp-dbus-call-method): Format trace message.
8060 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8061 Implement backup call, when operation on local files fails.
8062 Use progress reporter. Flush properties of changed files.
8063 (tramp-gvfs-handle-make-directory): Make more traces.
8064 (tramp-gvfs-url-file-name): Hexify file name in url.
8065 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8066 into account for the resulting file name.
8067 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8068 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8069 (tramp-gvfs-handler-mounted-unmounted)
8070 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8071 attribute "default_location". Set "prefix" property.
8072 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8073 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8074 exists. Raise an error, if not (due to a corresponding answer
8075 "no" in interactive questions, for example).
8077 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8079 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8081 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8083 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8086 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8088 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8089 * vc-git.el (vc-git-compute-remote): New function.
8090 (vc-git-log-outgoing): Use it instead of hard coding a value.
8091 (vc-git-log-incoming): New function.
8093 Improve state updating for VC tag commands.
8094 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8095 to update the state of all buffers in the directory.
8097 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8099 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8101 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8102 `file-directory-p' to the filename part rather than to the whole text.
8104 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8108 2010-05-31 Drew Adams <drew.adams@oracle.com>
8110 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8112 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8114 * subr.el (momentary-string-display): Just use read-event to read
8115 the exit event (Bug#6238).
8117 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8119 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8121 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8123 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8124 Suggested by Eli Zaretskii <eliz@gnu.org>.
8126 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * minibuffer.el (completion-file-name-table): Don't return a boundary
8129 past the end of `string' (bug#6299).
8130 (completion--file-name-table): Delegate to completion-file-name-table
8131 for the `boundaries' case.
8133 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8135 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8138 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8139 `path-separator', but maintain compatibility with Emacs 20.2.
8141 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8143 * server.el (server-process-filter): Receive parent-id argument
8145 (server-create-window-system-frame): New arg. Pass parent-id as
8148 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8150 Bidi-sensitive word movement with arrow keys.
8151 * subr.el (right-arrow-command, left-arrow-command): Move to
8154 * bindings.el (right-char, left-char): Move from subr.el and
8155 rename from right-arrow-command and left-arrow-command.
8156 (right-word, left-word): New functions.
8157 (global-map) <right>: Bind to right-char.
8158 (global-map) <left>: Bind to left-char.
8159 (global-map) <C-right>: Bind to right-word.
8160 (global-map) <C-left>: Bind to left-word.
8162 * ls-lisp.el (ls-lisp-classify-file): New function.
8163 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8164 (ls-lisp-classify): Call ls-lisp-classify-file.
8165 (insert-directory): Remove blanks from switches.
8167 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8169 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8170 (ansi-color-drop-regexp): New constant.
8171 (ansi-color-apply, ansi-color-filter-region)
8172 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8173 (ansi-color-apply): Build string list before calling concat.
8175 2010-05-28 Juri Linkov <juri@jurta.org>
8177 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8178 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8181 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8183 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8184 to ignored backtrace functions.
8185 (with-progress-reporter): Expand docstring.
8186 (tramp-handle-delete-file): Implement TRASH argument.
8187 (tramp-get-remote-trash): New defun.
8189 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8191 * net/tramp-compat.el (tramp-compat-delete-file):
8192 Use `symbol-value' for backward compatibility.
8194 * net/tramp.el (tramp-handle-make-symbolic-link)
8196 (tramp-do-copy-or-rename-file-via-buffer)
8197 (tramp-do-copy-or-rename-file-directly)
8198 (tramp-do-copy-or-rename-file-out-of-band)
8199 (tramp-handle-process-file, tramp-handle-call-process-region)
8200 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8201 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8202 (tramp-delete-temp-file-function): Use `delete-file' instead
8203 of `tramp-compat-delete-file'.
8205 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8206 (tramp-fish-handle-make-symbolic-link)
8207 (tramp-fish-handle-process-file): Use `delete-file' instead
8208 of `tramp-compat-delete-file'.
8210 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8211 Use `delete-file' instead of `tramp-compat-delete-file'.
8213 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8214 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8215 `tramp-compat-delete-file'.
8217 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8218 Use `delete-file' instead of `tramp-compat-delete-file'.
8220 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8221 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8222 (tramp-smb-handle-write-region): Use `delete-file' instead of
8223 `tramp-compat-delete-file'.
8224 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8226 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8228 * dired.el (dired-delete-file): New arg TRASH.
8229 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8230 (dired-do-flagged-delete, dired-do-delete): Use trash.
8232 * speedbar.el (speedbar-item-delete): Allow trashing.
8234 * files.el (delete-directory): New arg TRASH.
8236 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8237 (ange-ftp-rename-remote-to-remote)
8238 (ange-ftp-rename-local-to-remote)
8239 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8240 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8242 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8245 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8246 handle new TRASH arg of `delete-file'.
8248 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8249 (tramp-handle-make-symbolic-link, tramp-handle-load)
8250 (tramp-do-copy-or-rename-file-via-buffer)
8251 (tramp-do-copy-or-rename-file-directly)
8252 (tramp-do-copy-or-rename-file-out-of-band)
8253 (tramp-handle-process-file, tramp-handle-call-process-region)
8254 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8255 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8256 (tramp-delete-temp-file-function): Use null TRASH arg in
8257 tramp-compat-delete-file call.
8259 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8260 (tramp-fish-handle-delete-file)
8261 (tramp-fish-handle-make-symbolic-link)
8262 (tramp-fish-handle-process-file): Use null TRASH arg in
8263 `tramp-compat-delete-file' call.
8265 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8266 arg in `tramp-compat-delete-file' call.
8268 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8269 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8270 `tramp-compat-delete-file' call.
8272 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8273 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8274 `tramp-compat-delete-file' call.
8276 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8277 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8278 (tramp-smb-handle-write-region): Use null TRASH arg in
8279 tramp-compat-delete-file call.
8280 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8281 (tramp-smb-handle-delete-file): Rename arg.
8283 * diff.el (diff-sentinel):
8284 * epg.el (epg--make-temp-file, epg-decrypt-string)
8285 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8286 * jka-compr.el (jka-compr-partial-uncompress)
8287 (jka-compr-call-process, jka-compr-write-region):
8288 * server.el (server-sentinel): Remove optional arg from
8289 delete-file, reverting 2010-05-03 change.
8291 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8293 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8294 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8296 2010-05-27 Kenichi Handa <handa@m17n.org>
8298 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8299 element of GSTRING is nil.
8301 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8303 * emacs-lisp/smie.el (smie-forward-token-function)
8304 (smie-backward-token-function): New vars.
8305 (smie-backward-sexp, smie-forward-sexp)
8306 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8307 (smie-default-backward-token): Rename from smie-backward-token and
8309 (smie-default-forward-token): Rename from smie-forward-token and
8311 (smie-next-sexp): Handle nil results from next-token.
8312 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8314 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8316 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8317 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8319 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8321 * htmlfontify.el (hfy-face-resolve-face): New function.
8322 (hfy-face-to-style): Use it (Bug#6279).
8324 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8326 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8327 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8329 2010-05-26 Glenn Morris <rgm@gnu.org>
8331 * emulation/edt.el (edt-load-keys): Use locate-library.
8333 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8335 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8336 (log-edit-changelog-entries): Doc fix.
8337 (log-edit-changelog-insert-entries): Args changed.
8338 Rename relative filenames in ChangeLog entries. Delete tabs.
8339 (log-edit-insert-changelog-entries): Reorganize return value of
8340 `log-edit-changelog-entries' to pass filenames to
8341 log-edit-changelog-insert-entries.
8343 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8345 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8346 `image-dired-dired-insert-marked-thumbs' to
8347 `image-dired-dired-toggle-marked-thumbs'.
8349 * image-dired.el: Require cl when compiling.
8350 (image-dired-dired-toggle-marked-thumbs): Rename from
8351 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8352 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8353 to 'no-dir. Skip files whose names don't match
8354 `image-file-name-regexp'. When file has a thumbnail overlay,
8355 delete it. (Bug#5270)
8357 2010-05-25 Juri Linkov <juri@jurta.org>
8359 * image-mode.el (image-mode): Add image-after-revert-hook to
8361 (image-after-revert-hook): New function. (Bug#5669)
8363 2010-05-25 Juri Linkov <juri@jurta.org>
8365 * image.el (image-animated-p): When delay between animated images
8366 is 0, set it to 10 (0.1 sec). (Bug#6258)
8368 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8370 * net/tramp.el (tramp-handle-insert-directory): Don't use
8371 `forward-word', its default syntax could be changed.
8373 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8375 * net/tramp.el (tramp-progress-reporter-update): New defun.
8376 (with-progress-reporter): Use it.
8377 (tramp-process-actions):
8378 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8379 Preserve current message, in order to let progress reporter continue
8380 afterwards. (Bug#6257)
8382 2010-05-25 Glenn Morris <rgm@gnu.org>
8384 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8387 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8389 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8390 (rcirc-default-full-name): Change to "unknown".
8391 (rcirc-user-name-history): Add variable.
8393 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8394 Jonathan Rockway <jon@jrock.us>
8396 * net/rcirc.el (rcirc-server-alist): Add :pass.
8397 (rcirc): When prompting for connection parameters, also prompt for
8398 username and password.
8399 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8400 value to server when connecting.
8402 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8404 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8405 (smie-merge-prec2s): Pass the tables as separate args.
8406 (smie-bnf-precedence-table): Adjust call accordingly.
8407 (smie-prec2-levels): Set levels at the end.
8409 Replace Lisp calls to delete-backward-char by delete-char.
8410 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8411 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8412 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8413 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8414 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8415 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8416 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8417 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8418 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8419 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8420 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8421 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8422 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8423 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8424 delete-backward-char by calls to delete-char.
8426 2010-05-25 Kenichi Handa <handa@m17n.org>
8428 * language/hebrew.el (hebrew-shape-gstring): New function.
8429 Register it in composition-function-table for all Hebrew combining
8432 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * epa.el (epa--select-keys): Don't explicitly delete the window since
8435 that can fail (e.g. sole window in frame). Use dedication instead.
8437 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8439 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8441 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8443 * image.el (image-refresh): Define as an alias for image-flush.
8445 * image-mode.el (image-toggle-display-image): Caller changed.
8447 2010-05-21 Juri Linkov <juri@jurta.org>
8449 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8450 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8451 whitespace, call wildcard-to-regexp on substrings and concat them
8452 with "\\|". (Bug#6114)
8454 2010-05-21 Alan Mackenzie <acm@muc.de>
8456 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8457 Replace parameter `here' with `here-' and `here-plus', which sandwich
8458 any pertinent CPP construct.
8459 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8460 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8461 CPP construct from taking part in the scanning.
8463 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8465 * net/tramp.el (tramp-do-copy-or-rename-file)
8466 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8467 Tune `with-progress-reporter' messages.
8468 (tramp-handle-vc-registered):
8469 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8470 (tramp-fish-handle-insert-file-contents)
8471 (tramp-fish-maybe-open-connection):
8472 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8473 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8474 (tramp-imap-handle-insert-file-contents)
8475 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8477 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8479 * add-log.el (change-log-font-lock-keywords):
8480 Highlight all authors in multi-author entries.
8482 * smerge-mode.el (smerge-refine-ignore-whitespace)
8483 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8484 Fix typos in docstrings.
8485 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8487 2010-05-21 Glenn Morris <rgm@gnu.org>
8489 * progmodes/fortran.el (fortran-mode):
8490 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8492 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8493 having a relative path in src/Makefile.in.
8495 2010-05-20 Kevin Ryde <user42@zip.com.au>
8497 * help-mode.el (help-make-xrefs): For Info node links turn
8498 newlines into spaces. Link node names with newlines are matched
8499 by help-xref-info-regexp and buttonized, this change ensures they
8500 can be followed successfully with RET. (Bug#6206)
8502 2010-05-20 Juri Linkov <juri@jurta.org>
8504 * locate.el (locate): Use pop-to-buffer instead of
8505 switch-to-buffer-other-window. (Bug#6204)
8507 2010-05-20 Juri Linkov <juri@jurta.org>
8509 * replace.el (replace-highlight): Fix lazy-highlighting
8510 for `M-s w str M-% str RET'.
8512 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8514 * isearch.el (isearch-yank-word-or-char): Pull next subword
8515 when `subword-mode' is activated. (Bug#6220)
8517 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8519 * isearch.el (isearch-update-post-hook): New hook.
8520 (isearch-update): Use the new hook. (Bug#6225)
8522 2010-05-20 Juri Linkov <juri@jurta.org>
8524 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8525 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8528 2010-05-20 Juri Linkov <juri@jurta.org>
8530 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8533 2010-05-20 Juri Linkov <juri@jurta.org>
8535 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8536 FILE-NAME to read from the minibuffer when called interactively
8537 with prefix argument instead of using buffer-file-name.
8538 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8540 * dired.el: Update autoloads.
8542 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
8544 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8545 nxml-finish-element, for consistency with SGML mode.
8547 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8550 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
8552 * composite.el: Require cl when compiling.
8553 (reference-point-alist, compose-gstring-for-graphic)
8554 (compose-gstring-for-terminal): Fix typos in docstrings.
8556 2010-05-19 Juri Linkov <juri@jurta.org>
8558 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8559 set-window-parameter.
8561 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8563 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8565 (tramp-maybe-open-connection): Use it.
8567 2010-05-19 Eli Zaretskii <eliz@gnu.org>
8569 * simple.el (move-end-of-line): Make sure we are at line beginning
8570 before backing up to end of previous line.
8572 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
8574 * password-cache.el (password-cache-remove): Fix docstring.
8576 * net/secrets.el: Autoload the widget functions.
8577 (secrets-search-items, secrets-create-item)
8578 (secrets-get-attributes, secrets-expand-item): Attributes will be
8579 stored on the password database without leading ":", as all other
8581 (secrets-mode): Fix docstring.
8582 (secrets-show-secrets): Provide it as autoloaded command only when
8583 D-Bus support is available. Check existence of Secret Service API.
8585 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8587 * indent.el (indent-region): Deactivate region (bug#6200).
8589 2010-05-19 Glenn Morris <rgm@gnu.org>
8591 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
8593 2010-05-19 Kenichi Handa <handa@m17n.org>
8595 * composite.el: Register compose-gstring-for-graphic in
8596 composition-function-table only for combining characters (Mn, Mc, Me).
8598 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
8600 * calc/calc-trail.el (calc-trail-isearch-forward)
8601 (calc-trail-isearch-backward): Ensure that the new window
8602 point is set correctly.
8604 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8606 * subr.el (read-quoted-char): Resolve modifiers after key
8607 remapping (bug#6212).
8609 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
8611 Add visualization code for secrets.
8612 * net/secrets.el (secrets-mode): New major mode.
8613 (secrets-show-secrets, secrets-show-collections)
8614 (secrets-expand-collection, secrets-expand-item)
8615 (secrets-tree-widget-after-toggle-function)
8616 (secrets-tree-widget-show-password): New defuns.
8618 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8621 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8622 handled in smie-next-sexp.
8623 (smie-indent-calculate): Provide a starting indentation (so the
8624 recursion is well-founded ;-).
8626 Fix handling of non-associative equal levels.
8627 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8628 when it's not needed.
8629 (smie-op-left, smie-op-right): New functions.
8630 (smie-next-sexp): New function, extracted from smie-backward-sexp.
8631 Better handle equal levels to distinguish the associative case from
8632 the "multi-keyword construct" case.
8633 (smie-backward-sexp, smie-forward-sexp): Use it.
8635 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
8637 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8639 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8640 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8642 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8644 Provide a simple generic indentation engine and use it for Prolog.
8645 * emacs-lisp/smie.el: New file.
8646 * progmodes/prolog.el (prolog-smie-op-levels)
8647 (prolog-smie-indent-rules): New var.
8648 (prolog-mode-variables): Use them to configure SMIE.
8649 (prolog-indent-line, prolog-indent-level): Remove.
8651 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8653 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8654 order before computing the averages.
8656 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
8658 * calc/calc-vec.el (calc-histogram):
8659 (calcFunc-histogram): Allow vectors as inputs.
8660 (math-vector-avg): New function.
8662 * calc/calc-ext.el (math-group-float): Have the number of digits
8663 being grouped depend on the radix (Bug#6189).
8665 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
8667 * version.el (emacs-copyright, emacs-version): Don't define here,
8668 now that emacs.c defines it.
8670 2010-05-15 Eli Zaretskii <eliz@gnu.org>
8672 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8673 "Describe Language Environment" menu item.
8675 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8677 Bidi-sensitive movement with arrow keys.
8678 * subr.el (right-arrow-command, left-arrow-command): New functions.
8680 * bindings.el (global-map): Bind them to right and left arrow keys.
8682 Don't override standard definition of convert-standard-filename.
8683 * files.el (convert-standard-filename):
8684 Call w32-convert-standard-filename and dos-convert-standard-filename on
8685 the corresponding systems.
8687 * w32-fns.el (w32-convert-standard-filename): Rename from
8688 convert-standard-filename. Doc fix.
8690 * dos-fns.el (dos-convert-standard-filename): Doc fix.
8691 (convert-standard-filename): Don't defalias.
8692 (register-name-alist, make-register, register-value)
8693 (set-register-value, intdos): Obsolete aliases for the
8694 corresponding dos-* functions and variables.
8695 (dos-intdos): Add a doc string.
8697 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
8699 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8700 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8701 (math-compose-tex-func):
8702 * calc/calccomp.el (math-compose-expr):
8703 * calc/calc-ext.el (math-format-flat-expr-fancy):
8704 * calc/calc-store.el (calc-read-var-name):
8705 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8707 * calc/calc.el (var-π, var-φ, var-γ): New variables.
8708 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8709 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8710 (math-standard-units): Add units.
8712 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8714 * progmodes/asm-mode.el (asm-mode):
8715 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8717 * pcomplete.el (pcomplete-completions-at-point): New function,
8718 extracted from pcomplete-std-complete.
8719 (pcomplete-std-complete): Use it.
8721 2010-05-15 Glenn Morris <rgm@gnu.org>
8723 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8724 Remove references to CVS, RCS and Old directories.
8726 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
8728 * calc/calc-bin.el (math-format-twos-complement): Group digits when
8731 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8734 (sh-mode-syntax-table): Give it a default value instead.
8735 (sh-header-marker): Make buffer-local.
8736 (sh-mode): Move make-local-variable to the corresponding setq.
8737 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8738 Use complete-with-action.
8740 * simple.el (prog-mode): New (abstract) major mode.
8741 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8742 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8744 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
8746 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8747 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8748 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8749 (sql-make-alternate-buffer-name, sql-placeholders-filter)
8750 (sql-escape-newlines-filter, sql-input-sender)
8751 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8753 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
8755 Add TeX open-block and close-block keybindings to SGML, and vice versa.
8757 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8758 latex-open-block and C-c / to latex-close-block.
8760 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8761 and C-c C-e to sgml-close-tag.
8763 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
8765 * net/tramp.el (with-progress-reporter): Create reporter object
8766 only when the message would be displayed. Handle nested calls.
8767 (tramp-handle-load, tramp-handle-file-local-copy)
8768 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8769 (tramp-maybe-send-script, tramp-find-shell):
8770 Use `with-progress-reporter'.
8771 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8774 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8775 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8776 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8777 Use `with-progress-reporter'.
8779 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
8781 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8782 process everytime when spellchecking from the minibuffer (bug#6143).
8784 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8788 * dos-fns.el: Add "dos-" prefix for namespace control.
8789 (convert-standard-filename): Define as alias for
8790 dos-convert-standard-filename but only if applicable.
8792 2010-05-12 Alan Mackenzie <acm@muc.de>
8794 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8795 Push the mark at the start of these functions when appropriate.
8797 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * minibuffer.el (completion-cycle-threshold): New custom var.
8800 (completion--do-completion): Use it.
8801 (minibuffer-complete): Use cycling if appropriate.
8803 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
8805 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8806 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8808 2010-05-11 Juri Linkov <juri@jurta.org>
8810 * scroll-all.el (scroll-all-check-to-scroll):
8811 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8813 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8815 * iimage.el (iimage-mode-map): Move initialization into declaration.
8816 (iimage-mode-buffer): Use with-silent-modifications.
8817 Simplify calling convention. Adjust callers.
8818 (iimage-mode): Don't run hook redundantly.
8820 * minibuffer.el (completion-pcm--pattern->regex):
8821 Fix last change (bug#6160).
8823 2010-05-10 Juri Linkov <juri@jurta.org>
8825 Remove nodes visited during Isearch from the Info history.
8826 * info.el (Info-isearch-initial-history)
8827 (Info-isearch-initial-history-list): New variables.
8828 (Info-isearch-start): Record initial values of
8829 Info-isearch-initial-history and Info-isearch-initial-history-list.
8830 Add Info-isearch-end to isearch-mode-end-hook.
8831 (Info-isearch-end): New function.
8833 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
8835 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8836 format string, in order to work around a bug in pdksh.
8837 Reported by Gilles Pion <gpion@lfdj.com>.
8838 (tramp-handle-verify-visited-file-modtime): Do not send a command
8839 when the connection is not established.
8840 (tramp-handle-set-file-times): Simplify the check for utc.
8842 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
8844 Fix use of `filter-buffer-substring' (rework previous change).
8845 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8846 (cua-repeat-replace-region):
8847 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8848 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8849 (cua-cut-region-to-global-mark): Use it.
8851 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
8853 * progmodes/sql.el: Version 2.1.
8854 (sql-product-alist): Redesign structure of product info.
8855 (sql-product, sql-user, sql-server, sql-database): Safe variables.
8856 (sql-port, sql-port-history): New variables.
8857 (sql-interactive-product): New variable.
8858 (sql-send-terminator): New variable.
8859 (sql-imenu-generic-expression): Add "Types" imenu entry.
8860 (sql-oracle-login-params, sql-sqlite-login-params)
8861 (sql-mysql-login-params, sql-solid-login-params)
8862 (sql-sybase-login-params, sql-informix-login-params)
8863 (sql-ingres-login-params, sql-ms-login-params)
8864 (sql-postgres-login-params, sql-interbase-login-params)
8865 (sql-db2-login-params, sql-linter-login-params)
8866 (sql-oracle-scan-on): New variables.
8867 (sql-mode-map): Add C-c C-i to start interactive mode.
8868 (sql-mode-menu): Update existing menu entries.
8869 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8870 (sql-mode-oracle-font-lock-keywords)
8871 (sql-mode-postgres-font-lock-keywords)
8872 (sql-mode-ms-font-lock-keywords)
8873 (sql-mode-sybase-font-lock-keywords)
8874 (sql-mode-informix-font-lock-keywords)
8875 (sql-mode-interbase-font-lock-keywords)
8876 (sql-mode-ingres-font-lock-keywords)
8877 (sql-mode-solid-font-lock-keywords)
8878 (sql-mode-mysql-font-lock-keywords)
8879 (sql-mode-sqlite-font-lock-keywords)
8880 (sql-mode-db2-font-lock-keywords)
8881 (sql-mode-linter-font-lock-keywords): Update initialization to
8882 reduce run-time complexity.
8883 (sql-add-product, sql-del-product): New functions.
8884 (sql-set-product-feature, sql-get-product-feature): New functions.
8885 (sql-product-font-lock): Update product API.
8886 (sql-add-product-keywords): New function.
8887 (sql-highlight-product): Update product API.
8888 (sql-help-list-products): New function.
8889 (sql-help): Dynamically lists free and non-free products.
8890 (sql-get-login): Correct bug in handling history and added
8892 (sql-copy-column): Copy without properties.
8893 (sqli-input-sender): Apply filters to SQLi input.
8894 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8895 Implement as a filter.
8896 (sql-escape-newlines-filter): Implement as a filter.
8897 (sql-remove-tabs-filter): New function.
8898 (sql-send-magic-terminator): New function.
8899 (sql-send-string): Implement magic terminator.
8900 (sql-send-region): Use `sql-send-string'.
8901 (sql-interactive-mode): Use product API.
8902 (sql-product-interactive): Use product API.
8903 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8904 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8905 (sql-db2, sql-linter): Use `sql-product-interactive'.
8906 (sql-connect): New function.
8907 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8908 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8909 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8910 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8913 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8915 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8916 New custom variable.
8917 (completion-pcm--string->pattern): Use it.
8918 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8919 Make it handle any symbol as `any'.
8920 (completion-pcm--merge-completions): Extract common suffix for the new
8921 `prefix' symbol as well.
8922 (completion-substring--all-completions): Use the new `prefix' symbol.
8924 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
8926 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8928 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8929 (tramp-compat-funcall): New defmacro.
8930 (tramp-compat-line-beginning-position)
8931 (tramp-compat-line-end-position)
8932 (tramp-compat-temporary-file-directory)
8933 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8934 (tramp-compat-copy-file, tramp-compat-copy-directory)
8935 (tramp-compat-delete-file, tramp-compat-delete-directory)
8936 (tramp-compat-number-sequence, tramp-compat-process-running-p)
8937 * net/tramp.el (top, with-progress-reporter)
8938 (tramp-rfn-eshadow-setup-minibuffer)
8939 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8940 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8941 (tramp-completion-mode-p, tramp-check-for-regexp)
8942 (tramp-open-connection-setup-interactive-shell)
8943 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8944 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8945 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8946 * net/tramp-cmds.el (tramp-cleanup-all-connections)
8947 (tramp-reporter-dump-variable, tramp-load-report-modules)
8948 (tramp-append-tramp-buffers)
8949 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8951 * net/tramp-imap.el (top): Autoload `epg-make-context'.
8953 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * progmodes/compile.el (compilation-buffer-modtime): Rename from
8956 buffer-modtime. Adjust users.
8958 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8960 * international/mule.el (auto-coding-alist): Only purecopy
8961 car of each item, not the whole list (Bug#6083).
8963 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
8965 * progmodes/js.el (js-mode): Make paragraph variables local before
8966 calling c-setup-paragraph-variables (Bug#6071).
8968 2010-05-08 Eli Zaretskii <eliz@gnu.org>
8970 * composite.el (compose-region, reference-point-alist): Fix typos
8973 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8975 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8976 gnuplot's "set" command.
8978 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8980 * abbrev.el (last-abbrev-text): Doc fix.
8981 (abbrev-prefix-mark): Don't escape parenthesis.
8983 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8985 * composite.el (find-composition): Doc fix.
8987 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
8989 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8990 (sql-oracle-program, sql-sqlite-options)
8991 (sql-query-placeholders-and-send): Doc fixes.
8992 (sql-set-product, sql-interactive-mode): Reflow docstrings.
8993 (sql-imenu-generic-expression, sql-buffer)
8994 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8995 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8996 (sql-mode-sybase-font-lock-keywords)
8997 (sql-mode-informix-font-lock-keywords)
8998 (sql-mode-interbase-font-lock-keywords)
8999 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9000 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9001 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9002 (sql-product-feature, sql-highlight-product)
9003 (comint-line-beginning-position, sql-rename-buffer)
9004 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9005 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9006 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9007 Fix typos in docstrings.
9009 2010-05-08 Juri Linkov <juri@jurta.org>
9011 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9012 property instead of `invisible' and `after-string' (bug#5998).
9014 2010-05-08 Juri Linkov <juri@jurta.org>
9016 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9018 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9020 * filecache.el (file-cache-add-directory-list)
9021 (file-cache-add-directory-recursively): Fix typos in docstrings.
9023 2010-05-08 Kenichi Handa <handa@m17n.org>
9025 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9026 (gujarati-composable-pattern): Fix typo.
9028 2010-05-08 Kenichi Handa <handa@m17n.org>
9030 * language/indian.el (oriya-composable-pattern)
9031 (tamil-composable-pattern, malayalam-composable-pattern):
9032 Add two-part vowels to "v" (vowel sign).
9034 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9036 * files.el (copy-directory): Handle symlinks (Bug#5982).
9038 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9040 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9041 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9044 2010-05-08 Glenn Morris <rgm@gnu.org>
9046 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9048 * minibuffer.el (completion-at-point): Doc fix.
9050 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9052 * electric.el (Electric-command-loop): Minor tweak.
9054 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9055 better with dedicated windows.
9057 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9059 * Version 23.2 released.
9061 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9062 Stefan Monnier <monnier@iro.umontreal.ca>
9064 Highlight vendor specific properties.
9065 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9066 (css-proprietary-property): New face.
9067 (css-font-lock-keywords): Use them.
9069 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9071 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9073 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9076 * files.el (auto-mode-alist): Remove redundant entries.
9078 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9079 * simple.el (auto-save-mode): Move from files.el.
9080 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9082 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9084 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9086 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9088 * mail/binhex.el (binhex-decode-region-internal)
9089 * mail/uudecode.el (uudecode-decode-region-internal)
9090 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9091 (dns-read-type, dns-query)
9092 * pgg-parse.el (pgg-parse-armor)
9093 * pgg.el (pgg-verify-region)
9094 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9097 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9099 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9101 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9103 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9104 * emulation/cua-base.el (cua-repeat-replace-region):
9105 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9106 (cua-cut-region-to-global-mark):
9107 Remove text properties with `set-text-properties'.
9109 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9111 * net/tramp.el (top, with-progress-reporter):
9112 Use `symbol-function' inside `funcall'.
9114 * net/tramp-compat.el (tramp-compat-file-attributes)
9115 (tramp-compat-delete-file, tramp-compat-delete-directory):
9116 Handle only `wrong-number-of-arguments' error.
9118 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9119 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9122 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * minibuffer.el (completion--sreverse, completion--common-suffix):
9126 (completion-pcm--merge-completions): Extract common suffix when safe.
9128 * emacs-lisp/easy-mmode.el (define-minor-mode):
9129 Make :variable more flexible.
9130 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9132 2010-05-05 Juri Linkov <juri@jurta.org>
9134 Add `slow' and `history' tags to the desktop data.
9136 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9137 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9138 (Info-finder-find-node): Require `finder.el' to be able
9139 to restore node from the desktop.
9140 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9141 data `Info-history' and `slow' tag in the assoc list.
9142 (Info-restore-desktop-buffer): Don't restore nodes with the
9143 `slow' tag. Restore `Info-history'.
9145 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9147 Add FORCE argument to `delete-file'.
9149 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9150 forcing to delete the temporary file.
9151 (ange-ftp-delete-file): Add FORCE arg.
9152 (ange-ftp-rename-remote-to-remote)
9153 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9154 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9155 Force file deletion.
9157 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9159 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9160 (tramp-handle-make-symbolic-link, tramp-handle-load)
9161 (tramp-do-copy-or-rename-file-via-buffer)
9162 (tramp-do-copy-or-rename-file-directly)
9163 (tramp-do-copy-or-rename-file-out-of-band)
9164 (tramp-handle-process-file, tramp-handle-call-process-region)
9165 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9166 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9167 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9169 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9170 (tramp-fish-handle-make-symbolic-link)
9171 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9173 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9174 Use `tramp-compat-delete-file'.
9176 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9177 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9179 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9180 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9182 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9183 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9184 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9185 Use `tramp-compat-delete-file'.
9187 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9190 * subr.el (add-minor-mode): Use push.
9191 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9192 * emulation/edt.el (edt-select-mode): Simplify.
9194 Use define-minor-mode in more cases.
9195 * term/tvi970.el (tvi970-set-keypad-mode):
9196 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9197 (normal-erase-is-backspace-mode):
9198 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9199 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9200 (get-scroll-bar-mode): New function.
9201 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9203 Use define-minor-mode for less obvious cases.
9204 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9205 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9206 * international/iso-ascii.el (iso-ascii-mode):
9207 * frame.el (auto-raise-mode, auto-lower-mode):
9208 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9210 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9212 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9213 in order to see error messages for failed logins.
9215 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9217 * diff.el (diff-sentinel):
9219 * epg.el (epg--make-temp-file, epg-decrypt-string)
9220 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9222 * jka-compr.el (jka-compr-partial-uncompress)
9223 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9225 * server.el (server-sentinel): Use delete-file's new FORCE arg
9228 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9230 Use define-minor-mode where applicable.
9231 * view.el (view-mode):
9232 * type-break.el (type-break-query-mode)
9233 (type-break-mode-line-message-mode):
9234 * textmodes/reftex.el (reftex-mode):
9235 * term/vt100.el (vt100-wide-mode):
9236 * tar-mode.el (tar-subfile-mode):
9237 * savehist.el (savehist-mode):
9238 * ibuf-ext.el (ibuffer-auto-mode):
9239 * composite.el (auto-composition-mode):
9240 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9241 Use define-minor-mode.
9242 (vhdl-mode): Use static mode-line format.
9243 (vhdl-mode-line-update): Delete.
9244 (vhdl-create-mode-menu, vhdl-activate-customizations)
9245 (vhdl-hs-minor-mode): Don't bother calling it.
9247 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9249 * simple.el (with-wrapper-hook): Move.
9250 (buffer-substring-filters): Mark obsolete.
9251 (filter-buffer-substring-functions): New variable.
9252 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9254 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9255 Michael Albinus <michael.albinus@gmx.de>
9257 Implement compression for inline methods.
9259 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9260 (tramp-copy-size-limit): Allow also nil.
9261 (tramp-inline-compress-commands): New defconst.
9262 (tramp-find-inline-compress, tramp-get-inline-compress)
9263 (tramp-get-inline-coding): New defuns.
9264 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9265 replaced by `tramp-get-inline-coding'.
9266 (tramp-handle-file-local-copy, tramp-handle-write-region)
9267 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9269 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9271 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9272 Remove unused functions.
9274 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9275 Set find-tag-default-function as a variable rather than a property.
9277 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9278 * progmodes/etags.el (tags-completion-at-point-function):
9279 Remove left over interactive spec. Add autoloading stub.
9280 (complete-tag): Use tags-completion-at-point-function.
9282 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9284 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9286 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9288 * ido.el (ido-init-completion-maps): Remove C-v binding.
9289 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9291 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9293 * minibuffer.el (tags-completion-at-point-function): New function.
9294 (completion-at-point-functions): Use it.
9296 * progmodes/etags.el (complete-tag): Revert last change.
9298 2010-04-29 Alan Mackenzie <acm@muc.de>
9300 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9301 off-by-one error (in end of macro position).
9303 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9306 firefox is absent. Don't autoload.
9307 (browse-url-galeon-program): Don't autoload.
9309 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9311 * bindings.el (complete-symbol): Move into minibuffer.el.
9313 * minibuffer.el (complete-tag): Move from etags.el. If tags
9314 completion cannot be performed, return nil instead of signalling
9316 (completion-at-point): Make it an alias for complete-symbol.
9317 (complete-symbol): Move from bindings.el, and replace with the
9318 body of completion-at-point.
9320 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9322 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9324 * net/tramp.el (tramp-remote-selinux-p): New defun.
9325 (tramp-handle-file-selinux-context)
9326 (tramp-handle-set-file-selinux-context): Use it.
9328 2010-04-28 Sam Steingold <sds@gnu.org>
9330 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9331 `safe-local-variable' if the value is a string or a symbol with
9332 the property `bug-reference-url-format'.
9334 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9336 * progmodes/bug-reference.el (bug-reference-url-format):
9337 Revert 2010-04-27 change due to security risk.
9339 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9341 Make it possible to locally disable a globally enabled mode.
9342 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9343 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9344 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9345 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9346 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9347 that subsequent hooks get a chance to disable it.
9349 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9352 Avoid re-enabling a minor mode after the user turned the minor mode
9353 off if MODE-enable-in-buffers is run twice (typically once from
9354 fundamental-mode's after-change-major-mode-hook and a second time from
9355 run-mode-hook's own after-change-major-mode-hook).
9357 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9359 2010-04-27 Sam Steingold <sds@gnu.org>
9361 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9362 `safe-local-variable' if the value is a string or a function, as
9363 documented and implemented on 2010-04-02.
9365 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9367 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9368 when method is 'kill.
9370 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9372 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9373 condition in default directory check.
9374 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9375 Kill ispell process when killing its associated buffer.
9377 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9379 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9380 but we aren't using it.
9382 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9384 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9385 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9387 2010-04-24 Glenn Morris <rgm@gnu.org>
9389 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9390 Ignore VCS-ignore files, and deleted nextstep preferences files.
9391 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9392 (authors-ambiguous-files): New list.
9393 (authors-valid-file-names): Add some deleted files.
9394 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9395 (authors-disambiguate-file-name): New function. (Bug#5501)
9396 (authors-canonical-file-name): Doc fix.
9397 Don't warn about obsolete files.
9398 (authors-canonical-file-name, authors-scan-el):
9399 Use authors-disambiguate-file-name.
9401 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9402 Add autoload cookies.
9403 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9404 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9405 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9406 They have definitions / compiler macros in cl.el.
9407 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9408 Replace manual autoloads with generated ones.
9409 (htmlfontify-unload-rgb-file): Remove autoload.
9410 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9412 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9414 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9415 (byte-compile-setq-default): Optimize for the
9416 single-var case and don't call byte-compile-form in this case to avoid
9417 inf-loop with byte-compile-set-default.
9419 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9421 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9423 Implement SELINUX backends.
9425 * net/tramp.el (tramp-file-name-handler-alist):
9426 Add `file-selinux-context' and `set-file-selinux-context'.
9427 (tramp-handle-file-selinux-context)
9428 (tramp-handle-set-file-selinux-context): New defuns.
9429 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9430 Handle PRESERVE-SELINUX-CONTEXT.
9432 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9433 Add `file-selinux-context' and `set-file-selinux-context'.
9434 (tramp-gvfs-handle-file-selinux-context)
9435 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9436 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9438 * net/ange-ftp.el (ange-ftp-copy-file):
9439 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9440 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9441 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9442 Add PRESERVE-SELINUX-CONTEXT.
9444 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9446 Synchronize with Tramp repository.
9448 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9449 (tramp-action-process-alive, tramp-action-out-of-band)
9450 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9451 (tramp-exists-file-name-handler): Fix docstring.
9452 (with-progress-reporter): New defmacro.
9453 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9454 (tramp-maybe-open-connection): Use it.
9456 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9458 Detect ssh 'ControlMaster' argument automatically in some cases.
9460 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9461 (tramp-default-method): Use it.
9463 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9465 * net/tramp.el (tramp-handle-copy-file): Add new optional
9466 parameter `preserve-selinux-context'.
9467 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9469 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9471 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9472 Ensure, that non remote files are still checked. Oops.
9474 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9478 * icomplete.el (icomplete-completions): Use `non-essential'.
9480 * net/tramp.el (tramp-connectable-p): New defun.
9481 (tramp-handle-expand-file-name)
9482 (tramp-completion-handle-file-name-all-completions)
9483 (tramp-completion-handle-file-name-completion): Use it.
9485 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9487 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9489 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9491 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9493 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9495 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9498 * info.el (info-tool-bar-map): Add labels.
9500 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9502 * cus-edit.el (custom-commands): Add labels for tool bar.
9503 (custom-buffer-create-internal, Custom-mode): Adjust for
9504 labels in custom-commands.
9506 * dynamic-setting.el: Renamed from font-setting.el.
9508 2010-04-21 John Wiegley <jwiegley@gmail.com>
9510 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9511 toggles the use of virtual buffers.
9512 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9513 (ido-toggle-virtual-buffers): New function.
9515 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9517 Use `define-derived-mode'; fix window selection; doc fixes.
9518 * play/tetris.el (tetris, tetris-update-speed-function)
9519 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9520 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9521 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9522 (tetris-pause-game): Fix typos in docstrings.
9523 (tetris-mode-map, tetris-null-map):
9524 Move initialization into declaration.
9525 (tetris-mode): Define with `define-derived-mode';
9526 set show-trailing-whitespace to nil.
9527 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9529 2010-04-21 Karel Klíč <kklic@redhat.com>
9531 * files.el (backup-buffer): Handle SELinux context, and return it
9532 if a backup was made by renaming.
9533 (backup-buffer-copy): Set SELinux context to the target file.
9534 (basic-save-buffer): Set SELinux context of the newly written file.
9535 (basic-save-buffer-1): Now it also returns any SELinux context.
9536 (basic-save-buffer-2): Set SELinux context of the newly created file,
9538 * net/tramp.el (tramp-file-name-for-operation):
9539 Add file-selinux-context.
9541 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9543 Make the log-edit comments use RFC822 format throughout.
9545 * vc.el (vc-checkin, vc-modify-change-comment):
9546 Adjust to new vc-start/finish-logentry.
9547 (vc-find-conflicted-file): New command.
9548 (vc-transfer-file): Adjust to new vc-checkin.
9549 (vc-next-action): Improve scoping.
9551 * vc-hg.el (vc-hg-log-edit-mode): Remove.
9552 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
9554 * vc-git.el (vc-git-log-edit-mode): Remove.
9555 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
9556 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9558 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9559 (vc-start-logentry): Remove argument `extra'.
9560 (vc-finish-logentry): Remove extra args.
9562 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9563 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
9564 (vc-bzr-conflicted-files): New function.
9566 * log-edit.el (log-edit-extra-flags)
9567 (log-edit-before-checkin-process): Remove.
9568 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9569 (log-edit-headers-alist): New var.
9570 (log-edit-header-contents-regexp): New const.
9571 (log-edit-match-to-eoh): New function.
9572 (log-edit-font-lock-keywords): Use them.
9573 (log-edit): Insert a "Summary:" header as default.
9574 (log-edit-mode): Mark font-lock rules as case-insensitive.
9575 (log-edit-done): Cleanup headers.
9576 (log-view-process-buffer): Remove.
9577 (log-edit-extract-headers): New function to replace it.
9579 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
9581 * subr.el (default-direction-reversed): Remove obsolescence info.
9583 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9585 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9588 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9589 I.e. include text after point in the completion region.
9590 Also, return nil when we're not after/in a symbol.
9592 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9593 default enable-multibyte-characters.
9595 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9597 * international/mule.el: Help the user choose a valid coding-system.
9598 (read-buffer-file-coding-system): New function.
9599 (set-buffer-file-coding-system): Use it. Prompt the user if the
9600 coding-system cannot encode all the chars.
9602 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9603 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9604 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9605 Don't use *vc-bzr-shelve*.
9607 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
9609 Fix the version number for added files.
9610 * vc-hg.el (vc-hg-working-revision): Check if the file is
9611 registered after hg parent fails (Bug#5961).
9613 2010-04-19 Glenn Morris <rgm@gnu.org>
9615 * htmlfontify.el (htmlfontify-buffer)
9616 (htmlfontify-copy-and-link-dir): Autoload entry points.
9618 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
9620 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9621 name relative to the project root (Bug#5960).
9623 2010-04-19 Glenn Morris <rgm@gnu.org>
9625 * vc-git.el (vc-git-print-log): Doc fix.
9627 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
9629 * ido.el (ido-file-internal): Fix 2009-12-02 change.
9631 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
9633 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9634 default settings (Bug#5928).
9636 2010-04-19 Glenn Morris <rgm@gnu.org>
9638 * progmodes/fortran.el (fortran-match-and-skip-declaration):
9640 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
9642 2010-04-19 Kenichi Handa <handa@m17n.org>
9644 * language/indian.el (malayalam-composable-pattern): Fix previous
9645 change (add U+0D4D "SIGN VIRAMA").
9646 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9647 (tamil-composable-pattern): Fix typo in the regexp.
9648 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9649 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9650 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9652 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9654 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9655 paragraph-separate (Bug#5821).
9657 2010-04-19 Juri Linkov <juri@jurta.org>
9659 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9661 * info.el (Info-find-node-2): Comment out code that skips
9663 (Info-mouse-follow-link): New command.
9664 (Info-link-keymap): New keymap.
9665 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9666 Return a string with links instead of inserting breadcrumbs
9668 (Info-fontify-node): Comment out code that inserts breadcrumbs.
9669 Instead of putting the `invisible' text property over the Info
9670 header, make an overlay over the Info header with the `invisible'
9671 property and `after-string' set to the string returned by
9674 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
9676 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9677 Reported by monkey@sandpframing.com.
9679 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9682 (tmm-get-keymap): Add key-binding shortcuts now that they're not
9683 available in the "keyseq cache" any more.
9685 * custom.el (defcustom): Add edebug spec.
9687 2010-04-18 Juri Linkov <juri@jurta.org>
9689 Test for special mode-class in view-buffer instead of view-file (bug#5513).
9691 * view.el (view-file, view-buffer): Move test for special mode-class
9692 from view-file to view-buffer.
9694 * tar-mode.el (tar-extract): Turn if's into one cond
9695 like in arc-mode.el.
9697 2010-04-18 Juri Linkov <juri@jurta.org>
9699 Add 7z archive format support (bug#5475).
9701 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9702 (archive-7z-extract): New defcustom.
9703 (archive-find-type): Add magic string for 7z.
9704 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9705 If `stderr-file' is non-nil, use `(t stderr-file)' for the
9706 `buffer' arg of `call-process'.
9707 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9708 call the function `archive-7z-extract' with the variable
9709 `archive-7z-extract' let-bound to `archive-zip-extract'.
9710 (archive-7z-summarize, archive-7z-extract): New functions.
9712 * international/mule.el (auto-coding-alist):
9713 * files.el (auto-mode-alist): Add 7z file extension.
9715 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * loadup.el: Setup hash-cons for pure data.
9719 Fix duplicate entries in cedet's loaddefs.el files.
9720 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9721 Should make most file-local generated-autoload-file unnecessary.
9722 (print-readably): Silence warnings.
9723 (autoload-find-destination): Take load-name as an arg to make sure
9724 it's the same as the one that will be in the file.
9725 (autoload-generate-file-autoloads): Adjust to above changes.
9726 Try to make the dataflow a bit simpler.
9728 * cvs-status.el (cvs-refontify): Remove unused.
9730 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
9732 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9734 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9735 twos-complement mode.
9737 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
9739 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9740 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
9741 (calc-inverse): Add "Option" to message, as appropriate.
9742 (calc-hyperbolic): Add "Option" to message, as appropriate.
9743 (calc-option, calc-is-option): New functions.
9745 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9746 (calc-option-prefix-help): New function.
9748 * calc/calc-misc.el (calc-help): Add "Option" entry.
9750 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9751 (calc-option-flag): New variable.
9752 (calc-do): Set `calc-option-flag to nil.
9753 (calc-set-mode-line): Add "Opt " as appropriate.
9755 2010-04-16 Juri Linkov <juri@jurta.org>
9757 Move scrolling commands from simple.el to window.el
9758 because their primitives are implemented in window.c.
9760 * simple.el (scroll-error-top-bottom)
9761 (scroll-up-command, scroll-down-command, scroll-up-line)
9762 (scroll-down-line, scroll-other-window-down)
9763 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9764 * window.el (scroll-error-top-bottom)
9765 (scroll-up-command, scroll-down-command, scroll-up-line)
9766 (scroll-down-line, scroll-other-window-down)
9767 (beginning-of-buffer-other-window, end-of-buffer-other-window):
9768 Move from simple.el to window.el because their primitives are
9769 implemented in window.c.
9771 2010-04-16 Juri Linkov <juri@jurta.org>
9773 * isearch.el (isearch-lookup-scroll-key): Check both
9774 `isearch-scroll' and `scroll-command' properties.
9775 (scroll-up, scroll-down): Remove `isearch-scroll' property.
9777 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9779 * simple.el (scroll-up-command, scroll-down-command)
9780 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9782 2010-04-15 Juri Linkov <juri@jurta.org>
9784 * simple.el (scroll-up-command, scroll-down-command)
9785 (scroll-up-line, scroll-down-line): Put `scroll-command'
9786 property on the these symbols. Remove them from
9787 `scroll-preserve-screen-position-commands'.
9789 * mwheel.el (mwheel-scroll): Put `scroll-command' and
9790 `isearch-scroll' properties on the `mwheel-scroll' symbol.
9791 Remove it from `scroll-preserve-screen-position-commands'.
9793 * isearch.el (isearch-allow-scroll): Doc fix.
9795 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
9797 * net/tramp.el (tramp-error-with-buffer): Don't show the
9798 connection buffer when we are in completion mode.
9799 (tramp-file-name-handler): Catch the error for some operations
9800 when we are in completion mode. This gives the user the chance to
9801 correct the file name in the minibuffer.
9803 2010-04-15 Glenn Morris <rgm@gnu.org>
9805 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9807 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
9809 Simplify by using `define-derived-mode'.
9810 * info.el (Info-mode):
9811 * calendar/todo-mode.el (todo-mode):
9812 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9813 (gomoku-mode-map): Move initialization into declaration.
9815 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
9818 * ido.el (ido-file-name-all-completions-1):
9819 * minibuffer.el (minibuffer-completion-help):
9820 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9822 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * simple.el (non-essential): New var.
9826 Add a new field `location' to bookmarks for non-file bookmarks.
9827 * bookmark.el (bookmark-location): Use the new field, if present.
9828 (bookmark-insert-location): Undo last change, not needed any more.
9829 * man.el (Man-bookmark-make-record):
9830 * woman.el (woman-bookmark-make-record): Add `location' field.
9832 2010-04-14 Juri Linkov <juri@jurta.org>
9834 * simple.el (scroll-error-top-bottom): New defcustom.
9835 (scroll-up-command, scroll-down-command): Use it. Doc fix.
9837 * emulation/pc-select.el (pc-select-override-scroll-error):
9838 Obsolete in favor of `scroll-error-top-bottom'.
9840 2010-04-14 Juri Linkov <juri@jurta.org>
9842 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9843 `scroll-up-command' and `M-v' to `scroll-down-command'.
9845 * emulation/cua-rect.el (cua--init-rectangles):
9846 * forms.el (forms--change-commands):
9847 * image-mode.el (image-mode-map):
9848 Remap scroll-down-command and scroll-up-command
9849 in addition to scroll-down and scroll-up.
9851 2010-04-14 Juri Linkov <juri@jurta.org>
9853 * mwheel.el (scroll-preserve-screen-position-commands):
9854 Add mwheel-scroll to this list of commands.
9856 * simple.el (scroll-preserve-screen-position-commands):
9857 Add scroll-up-command, scroll-down-command, scroll-up-line,
9858 scroll-down-line to this list of commands.
9860 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * obsolete/complete.el: Move from lisp/complete.el.
9864 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9866 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9867 to the minor mode function now turns the mode ON unconditionally.
9869 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9871 * vc-dir.el (vc-dir-kill-line): New command.
9872 (vc-dir-mode-map): Bind it to C-k.
9874 * bookmark.el (bookmark-insert-location): Handle a nil filename.
9876 * woman.el: Add bookmark declarations to silence the compiler.
9877 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9878 step to compatibility between man and woman bookmarks.
9879 Adjust for Man-default-bookmark-title renaming.
9880 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
9882 * man.el: Add bookmark declarations to silence the compiler.
9883 (Man-name-local-regexp): Make it match NAME as well.
9884 (Man-getpage-in-background): Return the buffer.
9885 (Man-notify-when-ready): Use `case'.
9886 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9887 Don't hardcode "NAME". Simplify.
9888 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9889 Rename from Man-bookmark-make-record.
9890 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
9891 we have the actual man-args. Use Man-getpage-in-background rather
9892 than `man' since the arg is already processed. Let bookmark.el do the
9893 window handling. Only wait for the relevant process.
9894 Don't forget to autoload.
9896 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9898 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9900 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9902 (woman-mode): Setup bookmark support.
9904 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9905 (man-bookmark-jump): New functions.
9906 (Man-mode): Setup bookmark support.
9908 2010-04-10 Jari Aalto <jari.aalto@cante.net>
9910 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9911 recognize ssh-keygen prompt (Bug#2817).
9913 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9915 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9917 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
9919 Synchronize with Tramp repository.
9921 * net/tramp.el (tramp-completion-function-alist)
9922 (tramp-file-name-regexp, tramp-chunksize)
9923 (tramp-local-coding-commands, tramp-remote-coding-commands):
9925 (tramp-remote-process-environment): Use `format' instead of `concat'.
9926 (tramp-handle-directory-files-and-attributes)
9927 (tramp-get-remote-path): Use `copy-tree'.
9928 (tramp-handle-file-name-all-completions): Backward/ XEmacs
9929 compatibility: Use `completion-ignore-case' if
9930 `read-file-name-completion-ignore-case' does not exist.
9931 (tramp-do-copy-or-rename-file-directly): Do not use
9932 `tramp-handle-file-remote-p'.
9933 (tramp-do-copy-or-rename-file-out-of-band):
9934 Use `tramp-compat-delete-directory'.
9935 (tramp-do-copy-or-rename-file-out-of-band)
9936 (tramp-compute-multi-hops, tramp-maybe-open-connection):
9937 Use `format-spec-make'.
9938 (tramp-find-foreign-file-name-handler)
9939 (tramp-advice-make-auto-save-file-name)
9940 (tramp-set-auto-save-file-modes): Remove superfluous check for
9941 `stringp'. This is done inside `tramp-tramp-file-p'.
9942 (tramp-debug-outline-regexp): New defconst.
9943 (tramp-get-debug-buffer): Use it.
9944 (tramp-check-for-regexp): Use (forward-line 1).
9945 (tramp-set-auto-save-file-modes): Adapt version check.
9947 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9948 Wrap call of `featurep' for 2nd argument.
9949 (tramp-compat-make-temp-file): Simplify fallback implementation.
9950 (tramp-compat-copy-tree): Remove function.
9951 (tramp-compat-delete-directory): Provide implementation for older
9954 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9955 Do not use `tramp-fish-handle-file-attributes.
9957 * net/trampver.el: Update release number.
9959 2010-04-10 Glenn Morris <rgm@gnu.org>
9961 * progmodes/compile.el (compilation-save-buffers-predicate):
9962 Add missing :version tag.
9964 2010-04-09 Sam Steingold <sds@gnu.org>
9966 * progmodes/compile.el (compilation-save-buffers-predicate):
9967 Remove the "autoload" cookie.
9969 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9970 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9971 and `bug-reference-prog-mode' can be used in hooks directly.
9973 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9975 Add --author support to git commit.
9976 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9977 (vc-git-log-edit-mode): New minor mode.
9978 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9981 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
9983 * vc-hooks.el, vc-git.el: Improve documentation comments.
9985 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9987 Fix some of the problems in defsubst* (bug#5728).
9988 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9989 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9991 2010-04-07 Sam Steingold <sds@gnu.org>
9993 * progmodes/compile.el (compilation-save-buffers-predicate):
9994 New custom variable.
9995 (compile, recompile): Pass it to `save-some-buffers'.
9997 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
9999 * wid-edit.el (widget-choose): Move cursor to the second line of
10000 the buffer (Bug#5695).
10002 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10004 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10005 * vc.el (vc-print-log-setup-buttons): New function split out from
10006 vc-print-log-internal.
10007 (vc-log-internal-common): New function, a parametrized version of
10008 vc-print-log-internal.
10009 (vc-print-log-internal): Just call vc-log-internal-common with the
10011 (vc-incoming-outgoing-internal):
10012 (vc-log-incoming, vc-log-outgoing): New functions.
10013 (vc-log-view-type): New permanent local variable.
10015 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10017 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10018 of the dynamic bound vc-short-log.
10019 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10021 * vc-git.el (vc-git-log-outgoing): New function.
10022 (vc-git-log-view-mode): Use vc-log-view-type instead
10023 of the dynamic bound vc-short-log.
10025 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10026 of the dynamic bound vc-short-log. Highlight the tag.
10027 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10028 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10029 (vc-hg-incoming-mode): Remove.
10030 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10032 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10034 Fix default-directory for vc-root-diff.
10035 * vc.el (vc-root-diff): Bind default-directory to the root
10036 directory for the diff command.
10038 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10040 * progmodes/verilog-mode.el (verilog-forward-sexp):
10041 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10042 word keywords, suggested by Steve Pearlmutter.
10043 (verilog-pretty-declarations): Support lineup of declarations in
10045 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10046 fix bug for /* / comments.
10047 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10048 Speed up and simplfy as this is never called with a bound.
10049 (verilog-pretty-declarations): Enhance to line up declarations
10050 inside a parameter list, suggested by Alan Morgan.
10051 (verilog-pretty-expr): Tune assignment regular expression match
10052 string for corner cases; also use markers instead of character
10053 number as indent changes the later.
10055 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10057 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10058 as missing keyword.
10059 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10060 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10061 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10062 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10064 (verilog-keywords):
10065 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10066 1800-2009 keywords, including "global.".
10068 2010-04-06 John Wiegley <jwiegley@gmail.com>
10070 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10071 appearing in buffer list (if a live buffer name matched a recentf
10072 file basename). Should use uniquify to offer a real solution.
10074 2010-04-06 John Wiegley <jwiegley@gmail.com>
10076 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10077 comment to code, and add a :version tag.
10078 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10080 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10082 Enable recentf-mode if using virtual buffers.
10083 * ido.el (recentf-list): Declare for byte-compiler.
10084 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10085 (ido-make-buffer-list): Simplify.
10086 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10088 2010-04-05 Juri Linkov <juri@jurta.org>
10090 Scrolling commands which scroll a line instead of full screen.
10091 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10093 * simple.el (scroll-up-line, scroll-down-line): New commands.
10094 Put property isearch-scroll=t on them.
10096 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10099 2010-04-05 Juri Linkov <juri@jurta.org>
10101 Scrolling commands which do not signal errors at top/bottom.
10102 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10104 * simple.el (scroll-up-command, scroll-down-command): New commands.
10105 Put property isearch-scroll=t on them.
10107 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10108 `scroll-down-command' and [next] from `scroll-up' to
10109 `scroll-up-command'.
10111 * emulation/cua-base.el: Put property CUA=move on
10112 `scroll-up-command' and `scroll-down-command'.
10113 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10114 and `scroll-down-command' to `cua-scroll-down'.
10116 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10118 * help.el (describe-mode): Return nil.
10120 2010-04-04 John Wiegley <jwiegley@gmail.com>
10122 * ido.el (ido-use-virtual-buffers): New variable to indicate
10123 whether "virtual buffer" support is enabled for IDO.
10124 (ido-virtual): Face used to indicate virtual buffers in the list.
10125 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10126 exists, but a virtual buffer of that name does (which would be why
10127 it was in the list), recreate the buffer by reopening the file.
10128 (ido-make-buffer-list): If virtual buffers are being used, call
10129 `ido-add-virtual-buffers-to-list' before the make list hook.
10130 (ido-virtual-buffers): New variable which contains a copy of the
10131 current contents of the `recentf-list', albeit pared down for the
10132 sake of speed, and with proper faces applied.
10133 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10134 create a list of "virtual buffers" to present to the user in
10135 addition to the currently open set. Note that this logic could
10136 get rather slow if that list is too large. With the default
10137 `recentf-max-saved-items' of 200, there is little speed penalty.
10139 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10141 * font-lock.el: Require CL when compiling.
10142 (font-lock-turn-on-thing-lock): Use `case'.
10144 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10146 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10149 2010-04-02 Juri Linkov <juri@jurta.org>
10151 * ehelp.el (electric-help-orig-major-mode):
10152 New buffer-local variable.
10153 (electric-help-mode): Set it to original major-mode. Doc fix.
10154 (with-electric-help): Use `electric-help-orig-major-mode' instead
10155 of (default-value 'major-mode). Doc fix.
10156 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10158 2010-04-02 Sam Steingold <sds@gnu.org>
10160 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10161 `vc-hg-command' with a list of flags.
10163 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10164 Also accept "patch" and "RFE".
10165 (bug-reference-fontify): `bug-reference-url-format' can also be a
10166 function to be able to handle the bug kind.
10167 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10169 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10171 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10172 value to fboundp, it may not be a symbol.
10174 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10176 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10178 2010-03-31 Juri Linkov <juri@jurta.org>
10180 * simple.el (next-line, previous-line): Re-throw a signal
10181 with `signal' instead of using `ding'.
10182 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10184 2010-03-31 Juri Linkov <juri@jurta.org>
10186 * simple.el (keyboard-escape-quit): Raise deselecting the active
10187 region higher than exiting the minibuffer.
10188 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10190 2010-03-31 Juri Linkov <juri@jurta.org>
10192 * image.el (image-animated-p): Use `image-metadata' instead of
10193 `image-extension-data'. Get GIF extenstion data from metadata
10194 property `extension-data'.
10196 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10198 * simple.el (append-to-buffer): Simplify.
10200 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10202 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10203 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10205 2010-03-31 Kenichi Handa <handa@m17n.org>
10207 * language/sinhala.el (composition-function-table): Fix regexp for
10208 the new Unicode specification.
10210 * language/indian.el (devanagari-composable-pattern)
10211 (tamil-composable-pattern, kannada-composable-pattern)
10212 (malayalam-composable-pattern): Adjust for the new Unicode
10214 (bengali-composable-pattern, gurmukhi-composable-pattern)
10215 (gujarati-composable-pattern, oriya-composable-pattern)
10216 (telugu-composable-pattern): New variables to cope with the new
10217 Unicode specification. Use them in composition-function-table.
10219 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10221 Make tmm-menubar work for the Buffers menu again (bug#5726).
10222 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10223 vectors rather than cons cells, as used in menu-bar-update-buffers.
10225 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10227 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10228 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10229 electric punctuation for "{}();,:" (Bug#5586).
10231 * mail/sendmail.el (mail-default-directory): Doc fix.
10233 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10235 * mail/sendmail.el (mail-default-directory): Doc fix.
10237 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10239 * subr.el (version-regexp-alist, version-to-list)
10240 (version-list-<, version-list-=, version-list-<=)
10241 (version-list-not-zero, version<, version<=, version=): Doc fix.
10244 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10246 * vc.el (vc-root-diff): Doc fix.
10248 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10250 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10252 * simple.el (append-to-buffer): Fix last change.
10254 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10256 * simple.el (append-to-buffer): Ensure that point is preserved if
10257 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10260 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10262 * files.el (auto-mode-case-fold): Change default to t.
10264 2010-03-30 Juri Linkov <juri@jurta.org>
10266 * dired-x.el (dired-omit-mode): Doc fix.
10268 2010-03-30 Juri Linkov <juri@jurta.org>
10270 * replace.el (occur-accumulate-lines): Move occur-engine related
10271 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10272 to be located after `occur-engine'.
10274 2010-03-30 Juri Linkov <juri@jurta.org>
10276 Make occur handle multi-line matches cleanly with context.
10277 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10279 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10280 (occur-engine): Add local variables `ret', `prev-after-lines',
10281 `prev-lines'. Use more arguments for `occur-context-lines'.
10282 Set first elem of its returned list to `data', and the second elem
10283 to `prev-after-lines'. Don't print the separator line.
10284 In the end, print remaining context after-lines.
10285 (occur-context-lines): Add new arguments `begpt', `endpt',
10286 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10287 after-lines of the previous match with before-lines of the
10288 current match and not overlap them. Return a list with two
10289 values: the output line and the list of context after-lines.
10291 2010-03-30 Juri Linkov <juri@jurta.org>
10293 * replace.el (occur-accumulate-lines): Fix a bug where the first
10294 context line at the beginning of the buffer was missing.
10296 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10298 * files.el: Make bidi-display-reordering safe variable for boolean
10301 2010-03-29 Phil Hagelberg <phil@evri.com>
10302 Chong Yidong <cyd@stupidchicken.com>
10304 * subr.el: Extend progress reporters to perform "spinning".
10305 (progress-reporter-update, progress-reporter-do-update):
10306 Handle non-numeric value arguments.
10307 (progress-reporter--pulse-characters): New var.
10309 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10311 * progmodes/compile.el (compilation-start): Fix regexp detection
10312 of initial cd command (Bug#5771).
10314 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10316 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10318 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10320 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10321 * progmodes/gdb-mi.el: Restore.
10322 * progmodes/gdb-ui.el: Remove.
10323 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10325 2010-03-25 Glenn Morris <rgm@gnu.org>
10327 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10328 all dired buffers, even tramp ones. (Bug#5755)
10330 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10332 Add "union tags" in mpc.el.
10333 * mpc.el: Remove backward compatibility code.
10334 (mpc-browser-tags): Change default.
10335 (mpc--find-memoize-union-tags): New var.
10336 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10337 (mpc-cmd-find): Handle the case where the playlist does not exist.
10339 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10340 (mpc-cmd-add): Use mpc-cmd-flush.
10341 (mpc-tagbrowser-tag-name): New fun.
10342 (mpc-tagbrowser-buf): Use it.
10343 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10345 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10349 Use replace-regexp-in-string.
10350 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10351 (makefile-imake-mode-syntax-table): Move init into defvar.
10352 (makefile-mode): Use define-derived-mode.
10354 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10355 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10356 not be present any more.
10358 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10360 * faces.el (set-face-attribute): Fix typo in docstring.
10361 (face-valid-attribute-values): Reflow docstring.
10363 2010-03-24 Glenn Morris <rgm@gnu.org>
10365 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10367 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10369 * indent.el (indent-for-tab-command): Doc fix.
10371 2010-03-24 Alan Mackenzie <acm@muc.de>
10373 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10374 Fix off-by-one error. Fixes bug #5747.
10376 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10378 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10379 (image-dired-read-comment): Doc fix.
10381 * json.el (json-object-type, json-array-type, json-key-type)
10382 (json-false, json-null, json-read-number):
10383 * minibuffer.el (completion-in-region-functions):
10384 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10385 (cal-tex-cursor-week):
10386 * emacs-lisp/trace.el (trace-function):
10387 * eshell/em-basic.el (eshell/printnl):
10388 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10389 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10390 * obsolete/levents.el (allocate-event, event-key, event-object)
10391 (event-point, event-process, event-timestamp, event-to-character)
10392 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10393 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10394 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10395 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10396 (reftex-highlight-selection): Fix typos in docstrings.
10398 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10400 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10402 2010-03-24 Glenn Morris <rgm@gnu.org>
10404 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10405 2008-02-13 without comment; mark it obsolete.
10406 (rmail-highlight-headers): Use rmail-highlight-face once more.
10408 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10410 * woman.el (woman2-process-escapes): Only consume the newline if
10411 the filler character is on a line by itself (Bug#5729).
10413 2010-03-24 Kenichi Handa <handa@m17n.org>
10415 * language/indian.el (devanagari-composable-pattern): Add more
10418 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10420 * net/trampver.el: Update release number.
10422 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10424 * net/tramp.el (tramp-find-executable):
10425 Use `tramp-get-connection-buffer'. Make the regexp for checking
10426 output of "wc -l" more robust.
10427 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10428 (tramp-open-connection-setup-interactive-shell): Remove workaround
10429 for OpenSolaris bug, it is not needed anymore.
10431 2010-03-24 Glenn Morris <rgm@gnu.org>
10433 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10435 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10437 * files.el (auto-mode-alist): Accept more verilog file patterns.
10439 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10443 2010-03-24 Glenn Morris <rgm@gnu.org>
10445 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10446 log-edit-before-checkin-process.
10448 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10450 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10452 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10453 (log-view-process-buffer, log-edit-extra-flags): Declare.
10455 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10457 2010-03-23 Sam Steingold <sds@gnu.org>
10459 Fix bug#5620: recalculate all markers on compilation buffer
10460 modifications, not on file modifications.
10461 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10462 variable: the buffer modification time, for buffers not associated with
10464 (compilation-mode): Create it.
10465 (compilation-filter): Update it.
10466 (compilation-next-error-function): Use it instead of
10467 `visited-file-modtime' for timestamp.
10469 2010-03-23 Juri Linkov <juri@jurta.org>
10471 Implement Occur multi-line matches.
10472 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10474 * replace.el (occur): Doc fix.
10475 (occur-engine): Set `begpt' to the beginning of the first line.
10476 Set `endpt' to the end of the last match line. At first, count
10477 line numbers between `origpt' and `begpt'. Split out code from
10478 `out-line' variable to new let-bindings `match-prefix' and
10479 `match-str'. In `out-line' add non-numeric prefix to all
10480 non-first lines of multi-line matches. Finally, count lines
10481 between `begpt' and `endpt' and add to `lines'.
10483 2010-03-23 Juri Linkov <juri@jurta.org>
10485 * replace.el (occur-accumulate-lines, occur-engine):
10486 Use `occur-engine-line' instead of duplicate code.
10487 (occur-engine-line): New function created from duplicate code
10488 in `occur-accumulate-lines' and `occur-engine'.
10490 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10491 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10493 2010-03-23 Juri Linkov <juri@jurta.org>
10495 * finder.el: Remove TODO tasks.
10497 * info.el (Info-finder-find-node): Add node "all"
10498 with all package info. Handle a list of multiple keywords
10499 separated by comma.
10500 (info-finder): In interactive use with a prefix argument,
10501 use `completing-read-multiple' to read a list of keywords
10502 separated by comma.
10504 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10506 Add a new completion style `substring'.
10507 * minibuffer.el (completion-basic--pattern): New function.
10508 (completion-basic-try-completion, completion-basic-all-completions):
10510 (completion-substring--all-completions)
10511 (completion-substring-try-completion)
10512 (completion-substring-all-completions): New functions.
10513 (completion-styles-alist): New style `substring'.
10515 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10517 Get rid of .elc files after removal of the corresponding .el.
10518 * Makefile.in (compile-clean): New target.
10519 (compile-main): Use it.
10521 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10523 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10524 don't do make there. When compiling with separate object dir, there
10525 is no Makefile there.
10527 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10529 Get rid of the ELCFILES abomination, again.
10530 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10531 (all, compile): Don't call compile-last.
10532 (compile-main): Build the "elcfiles" list dynamically.
10533 (compile-targets): New (internal) target.
10535 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
10537 * Makefile.in (top_srcdir): Define.
10538 (abs_top_builddir): Define.
10539 (srcdir): Don't append `/..'.
10540 (EMACS): Use ${abs_top_builddir}.
10541 (all, compile, compile-always, compile-last): Don't set emacswd.
10542 (update-subdirs, update-authors): Use $(top_srcdir) instead of
10544 (lisp): Use $(srcdir) instead of @srcdir@.
10546 2010-03-21 Juri Linkov <juri@jurta.org>
10548 Fix message of multi-line occur regexps and multi-buffer header lines.
10549 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10551 * replace.el (occur-1): Don't display regexp if it is longer
10552 than window-width. Use `query-replace-descr' to display regexp.
10553 (occur-engine): Don't display regexp in the buffer header for
10554 multi-buffer occur. Display a separate header line with total
10555 match count and regexp for multi-buffer occur.
10556 Use `query-replace-descr' to display regexp.
10558 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
10560 * net/secrets.el: Fix parenthesis.
10561 (secrets-enabled): Fix parenthesis.
10563 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10565 Use more relative file and directory names.
10566 * Makefile.in (EMACS): Arrange for it to work when we chdir.
10567 (setwins, setwins_almost, setwins_for_subdirs):
10568 Don't `cd'; output relative names.
10569 (all, compile, compile-always, compile-last): Set emacswd.
10570 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10571 Just cd to the lisp source dir so we can use relative file names.
10573 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10575 2010-03-20 Glenn Morris <rgm@gnu.org>
10577 * textmodes/rst.el: Use faces for font-lock customization, and make the
10578 old -face variables obsolete.
10579 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10580 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10581 (rst-block-face, rst-external-face, rst-definition-face)
10582 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10583 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10585 (rst-font-lock-keywords-function): Update for above changes.
10587 2010-03-20 Juri Linkov <juri@jurta.org>
10590 * obsolete/s-region.el: Move to obsolete.
10592 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
10594 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10596 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10598 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10600 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
10602 Add special markup processing for commit logs.
10603 * log-edit.el (log-edit-extra-flags): New variable.
10604 (log-edit): Add new argument MODE. Use that mode when non-nil
10605 instead of the log-view-mode.
10606 (log-view-process-buffer): New function.
10608 * vc.el: Document that the checkin method takes optional
10609 arguments. Document new backend specific method: log-view-mode.
10610 (vc-default-log-edit-mode): New function.
10611 (vc-checkin): Use a backend specific log-view-mode.
10612 Pass extra arguments to the checkin method.
10613 (vc-modify-change-comment): Pass a dummy extra argument.
10615 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10617 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10618 (vc-finish-logentry): Process the log buffer before passing it
10619 down. Pass log-edit-extra-flags.
10621 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10623 (log-edit-extra-flags, log-edit-before-checkin-process):
10626 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10628 (log-edit-extra-flags, log-edit-before-checkin-process):
10630 (vc-hg-log-edit-mode): New derived mode.
10632 * vc-arch.el (vc-arch-checkin):
10633 * vc-cvs.el (vc-cvs-checkin):
10634 * vc-git.el (vc-git-checkin):
10635 * vc-mtn.el (vc-mtn-checkin):
10636 * vc-rcs.el (vc-rcs-checkin):
10637 * vc-sccs.el (vc-sccs-checkin):
10638 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10640 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10645 2010-03-19 Glenn Morris <rgm@gnu.org>
10647 * password-cache.el (password-cache, password-cache-expiry): Autoload.
10649 2010-03-18 Glenn Morris <rgm@gnu.org>
10651 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10653 * replace.el (query-replace-history): Give it a doc string.
10654 (map-query-replace-regexp): Use query-replace-from-history-variable
10655 and query-replace-to-history-variable.
10657 * mail/hashcash.el (declare-function): Remove duplicate definition.
10659 * mail/emacsbug.el (report-emacs-bug-pretest-address):
10660 Make it an obsolete alias for report-emacs-bug-address.
10661 (message-strip-special-text-properties): Declare.
10662 (report-emacs-bug): Remove test for a pretest bug address.
10663 Combine message-mode-specific code.
10665 * mail/supercite.el: Don't require sendmail.
10666 (mh-in-header-p): Declare rather than using with-no-warnings.
10667 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10668 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
10670 * calendar/cal-french.el: Convert to utf-8.
10672 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10675 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
10677 * net/secrets.el (secrets-enabled): New variable. Use it instead
10680 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
10682 * net/secrets.el (top): Register the D-Bus signals only when the
10683 service "org.freedesktop.secrets" can be pinged.
10684 Provide subfeature `enabled'.
10686 2010-03-14 Juri Linkov <juri@jurta.org>
10688 Add finder unknown keywords.
10690 * finder.el (finder-unknown-keywords): New function.
10692 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10693 to create a Finder node with unknown keywords.
10695 2010-03-14 Juri Linkov <juri@jurta.org>
10697 * finder.el (finder-compile-keywords): Replace `princ' with
10698 `prin1' on a list of symbols interned from keyword strings.
10700 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10701 a comma, then split keywords using a comma and optional whitespace.
10702 Otherwise, split by whitespace.
10710 * progmodes/mixal-mode.el: Fix keywords.
10712 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
10714 * Makefile.in (ELCFILES): Add net/secrets.elc.
10716 * net/secrets.el: New file.
10718 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10720 * facemenu.el (list-colors-display, list-colors-print): New arg
10721 callback. Use it to allow selecting colors.
10723 * wid-edit.el (widget-image-insert): Insert image prop even if the
10724 current display is non-graphic.
10725 (widget-field-value-set): New fun.
10726 (editable-field): Use it.
10727 (widget-field-value-get): Clean up unused var.
10728 (widget-color-value-create, widget-color--choose-action):
10729 New funs. Allow using list-colors-display to choose color.
10731 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10733 * cus-edit.el: Resort topmost custom groups.
10734 (custom-buffer-sort-alphabetically): Default to t.
10735 (customize-apropos): Use apropos-parse-pattern.
10736 (custom-search-field): New var.
10737 (custom-buffer-create-internal): Add custom-apropos search field.
10738 (custom-add-parent-links): Don't display parent doc.
10739 (custom-group-value-create): Don't sort top-level custom group.
10740 (custom-magic-value-create): Show visibility button before option name.
10742 (custom-variable-state): New fun, from custom-variable-state-set.
10743 (custom-variable-state-set): Use it.
10744 (custom-group-value-create): Hide options with standard values
10745 using the :hidden-states property. Use progress reporter.
10747 (custom-show): Simplify.
10748 (custom-visibility): Disable images by default.
10749 (custom-variable): New property :hidden-states.
10750 (custom-variable-value-create): Enable images for
10751 custom-visibility widgets. Use :hidden-states property to
10752 determine initial visibility.
10754 * wid-edit.el (widget-image-find): Give images center ascent.
10755 (visibility): Add :on-image and :off-image properties.
10756 (widget-visibility-value-create): Use them.
10758 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
10760 * cus-edit.el (processes): Remove from development group.
10761 (oop, hypermedia): Delete group.
10762 (comm): Promote to top-level group.
10764 * net/browse-url.el (browse-url):
10765 * net/xesam.el (xesam):
10766 * net/tramp.el (tramp):
10767 * net/goto-addr.el (goto-address):
10768 * net/ange-ftp.el (ange-ftp): Put in comm group.
10770 * view.el (view): Remove from editing group.
10772 * uniquify.el (uniquify): Put in files group.
10774 * net/browse-url.el (browse-url):
10775 * ps-print.el (postscript): Put in external group.
10777 * cus-edit.el (outlines):
10778 * textmodes/text-mode.el (text-mode-hook):
10779 * textmodes/table.el (table):
10780 * textmodes/picture.el (picture):
10781 * outline.el (outlines): Put in wp group.
10783 * nxml/nxml-mode.el (nxml): Remove from wp group.
10785 * net/tramp-imap.el (tramp-imap): Put in tramp group.
10787 * mail/metamail.el (metamail): Remove from hypermedia group.
10789 * cus-edit.el (abbrev):
10790 * whitespace.el (whitespace):
10791 * vcursor.el (vcursor):
10792 * reveal.el (reveal):
10793 * hl-line.el (hl-line): Put in convenience group.
10795 * epg-config.el (epg): Put in data group.
10797 * emulation/pc-select.el (pc-select): Put in emulations group.
10799 * calculator.el (calculator): Put in applications group.
10801 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10803 Add .dir-locals.el support for file-less buffers.
10804 * files.el (hack-local-variables): Split out code to apply local
10805 variable settings ...
10806 (hack-local-variables-apply): ... here. New function.
10807 (hack-dir-local-variables): Use the default directory for when the
10808 buffer does not have an associated file.
10809 (hack-dir-local-variables-non-file-buffer): New function.
10810 * diff-mode.el (diff-mode):
10811 * vc-annotate.el (vc-annotate-mode):
10812 * vc-dir.el (vc-dir-mode):
10813 * log-edit.el (log-edit-mode):
10814 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10816 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
10818 Add support for shelving snapshots and for showing shelves.
10819 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10820 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10822 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10823 (vc-bzr-extra-menu-map): Map them.
10825 2010-03-11 Glenn Morris <rgm@gnu.org>
10827 * cus-edit.el (customize-changed-options-previous-release):
10830 * image.el (image-animate-max-time): Fix :version tag.
10832 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
10836 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * vc-git.el (vc-git-revision-table): Include remote branches.
10840 2010-03-10 Kim F. Storm <storm@cua.dk>
10842 Animated image API.
10843 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10845 * image.el (image-animate-max-time): New defcustom.
10846 (image-animated-types): New defconst.
10847 (create-animated-image, image-animate-timer)
10848 (image-animate-start, image-animate-stop, image-animate-timeout)
10849 (image-animated-p): New functions.
10851 * image-mode.el (image-toggle-display-image):
10852 Replace `create-image' with `create-animated-image'.
10854 2010-03-09 Miles Bader <miles@gnu.org>
10856 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10857 instead of "format:"; this ensures that the output is
10858 newline-terminated.
10860 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
10862 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10863 that all errors are caught, and that the return value is always a
10866 2010-03-08 Kenichi Handa <handa@m17n.org>
10868 * language/misc-lang.el (windows-1256): New coding system.
10869 (cp1256): New alias of windows-1256 (bug#5690).
10871 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
10873 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10874 call to rfc822-bad-address. (Bug#5692)
10876 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
10878 * vc-git.el (vc-git-annotate-extract-revision-at-line):
10879 Use vc-git-root as default directory for revision path (Bug#5657).
10881 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
10883 * calculator.el (calculator): Don't bind split-window-keep-point
10886 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
10888 * vc-git.el: Re-flow to fit into 80 columns.
10889 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10890 Remove spurious `quote' element in each case alternative.
10891 (vc-git-show-log-entry): Use prog1.
10892 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10894 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10898 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
10900 * macros.el (insert-kbd-macro): Look up keyboard macro using the
10901 definition, not the name (Bug#5481).
10903 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
10905 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10906 argument with a local variable. (Bug#5670)
10908 2010-03-02 Juri Linkov <juri@jurta.org>
10910 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
10912 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
10914 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10915 error when FILENAME and NEWNAME are existing remote directories.
10917 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10918 parameter DIR-FLAG.
10920 2010-03-02 Glenn Morris <rgm@gnu.org>
10922 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10923 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10925 2010-03-01 Kenichi Handa <handa@m17n.org>
10927 * language/burmese.el (burmese-composable-pattern): Rename from
10928 myanmar-composable-pattern.
10930 * international/characters.el (script-list):
10931 * international/fontset.el (script-representative-chars):
10932 Change myanmar to burmese.
10933 (otf-script-alist): Likewise.
10934 (setup-default-fontset): Likewise. Re-fix :otf spec.
10936 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
10938 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10940 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
10942 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10944 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10946 * net/tramp.el (tramp-handle-write-region): START can be a string.
10947 Take care in the checks. Reported by Dan Davison
10948 <davison@stats.ox.ac.uk>.
10950 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
10952 * net/dbus.el (dbus-introspect, dbus-get-property)
10953 (dbus-set-property, dbus-get-all-properties):
10954 Use `dbus-call-method' when noninteractive. (Bug#5645)
10956 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
10958 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10959 * emacs-lisp/elint.el (elint-add-required-env):
10960 * calendar/icalendar.el (icalendar--add-diary-entry):
10961 * calc/calcalg2.el (math-tracing-integral):
10962 * files.el (recover-session-finish): Use with-current-buffer
10963 instead of save-excursion.
10965 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
10967 Fix in-buffer completion when after-change-functions modify the buffer.
10968 * minibuffer.el (completion--replace): New function.
10969 (completion--do-completion): Use it and use relative movement.
10971 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
10973 * international/fontset.el (setup-default-fontset): Fix :otf spec.
10975 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
10977 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10978 Allow the characters _<> in the stack entry (Bug#5653).
10980 2010-02-26 Kenichi Handa <handa@m17n.org>
10982 * language/burmese.el: Fix entries in composition-function-table.
10983 (myanmar-composable-pattern): New variable.
10985 * international/fontset.el (setup-default-fontset): Add an entry
10988 * international/characters.el (script-list): Add Myanmar
10991 2010-02-26 Glenn Morris <rgm@gnu.org>
10993 * custom.el (custom-initialize-delay): Doc fix.
10995 * mail/sendmail.el (send-mail-function): Autoload the call
10996 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10998 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11000 * files.el (hack-local-variables-filter): For eval forms, also
11001 check safe-local-variable-p (Bug#5636).
11003 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11005 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11006 setting the modes by `ignore-errors'. It might fail, for example
11007 if the file is not owned by the user but the group.
11008 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11010 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11012 * files.el (directory-listing-before-filename-regexp):
11013 Use stricter matching for iso-style dates, to avoid false matches with
11014 date-like filenames (Bug#5597).
11016 * htmlfontify.el (htmlfontify): Doc fix.
11018 * eshell/eshell.el (eshell): Doc fix.
11020 * startup.el (fancy-about-screen): In mode-line, apply
11021 mode-line-buffer-id face only to the buffer name (Bug#5613).
11023 2010-02-20 Kevin Ryde <user42@zip.com.au>
11025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11026 In `watcom' anchor regexp to start of line, to avoid slowness
11029 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11031 * subr.el (remove-yank-excluded-properties): Explain in a comment
11032 why `category' property is removed.
11034 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11036 * isearch.el (isearch-update-post-hook, isearch-update):
11037 Revert 2010-02-17 change.
11039 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11041 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11042 (icalendar--convert-weekly-to-ical)
11043 (icalendar--convert-yearly-to-ical)
11044 (icalendar--convert-block-to-ical)
11045 (icalendar--convert-cyclic-to-ical)
11046 (icalendar--convert-anniversary-to-ical): Take care of time
11047 specifications where hour has 1-digit only (Bug#5549).
11049 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11051 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11052 of disassemble output in GDB 7.1.
11054 2010-02-19 Glenn Morris <rgm@gnu.org>
11056 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11057 property. (Bug#5593)
11059 2010-02-18 Sam Steingold <sds@gnu.org>
11061 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11063 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11065 Use abbreviated file names in bookmarks (bug#5591).
11066 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11067 calls to expand-file-name.
11068 (bookmark-relocate): Use abbreviated file names in bookmarks.
11069 (bookmark-load): Use abbreviated file names in messages.
11071 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11073 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11074 expand "." and "..". Reported by Thierry Volpiatto
11075 <thierry.volpiatto@gmail.com>.
11077 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11079 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11080 permissions of the temporary file to "0600". In case the remote
11081 file has no read permissions for the owner, there might be
11082 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11084 22010-02-18 Glenn Morris <rgm@gnu.org>
11086 * emacs-lisp/authors.el (authors-renamed-files-alist):
11087 Add entries for INSTALL.CVS.
11089 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11091 * vc-bzr.el: Fix typo in Known Bugs section.
11093 * isearch.el (isearch-update-post-hook): New hook.
11094 (isearch-update): Use the new hook.
11096 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11098 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11099 Fix errors in copying directories.
11100 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11101 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11102 (tramp-handle-delete-file)
11103 (tramp-handle-dired-recursive-delete-directory)
11104 (tramp-handle-write-region): Flush also the cache for the upper
11107 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11109 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11111 * cus-edit.el (hardware): Doc fix.
11113 * man.el (man): Add to external custom group.
11115 * delim-col.el (columns): Move to wp custom group.
11117 * doc-view.el (doc-view): Add to data custom group.
11119 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11121 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11122 by ispell-parse-output (Bug#5575).
11124 2010-02-16 Kenichi Handa <handa@m17n.org>
11126 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11127 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11128 (skkdic-convert): Use `euc-japan' coding system for writing.
11130 2010-02-16 Glenn Morris <rgm@gnu.org>
11132 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11133 tex-main-file before using it. (Bug#5562)
11135 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11138 warnings, since it is annoying for the user to see them each time he
11141 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11143 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11144 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11145 instead of PROC for caching "first-password-request". Otherwise,
11146 new processes would not profit from passwords already entered.
11148 * net/tramp-cache.el (tramp-dump-connection-properties):
11149 Don't save "first-password-request" property.
11151 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11153 * outline.el (outline-head-from-level):
11154 * simple.el (with-wrapper-hook):
11155 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11156 (elint-defun, elint-buffer-env, elint-top-form-logged)
11157 (elint-unbound-variable):
11158 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11159 Fix typos in docstrings.
11161 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11163 * files.el (insert-directory): When WILDCARD-REGEXP and
11164 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11165 whole directory. (Bug#5551)
11167 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11168 dired's alignment sanity. (Bug#5516)
11170 2010-02-14 Juri Linkov <juri@jurta.org>
11172 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11173 Remove remaining ^H with their preceding chars. (Bug#5566)
11175 2010-02-13 Glenn Morris <rgm@gnu.org>
11177 * simple.el (transpose-subr): Give it a doc-string.
11179 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11182 2010-02-12 Juri Linkov <juri@jurta.org>
11184 * arc-mode.el (archive-unique-fname): Make directories for nested
11185 archives. (Bug#5540)
11187 2010-02-12 Juri Linkov <juri@jurta.org>
11189 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11191 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * subr.el (copy-overlay): Handle deleted overlays.
11195 * man.el (Man-completion-table): Don't signal an error if we can't run
11196 manual-program (bug#4056).
11198 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11200 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11202 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11204 * info.el (Info-bookmark-jump): Simplify.
11206 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11207 (bookmark-default-handler): Accept new bookmark field `buffer'.
11209 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11211 * iswitchb.el (iswitchb-completions): Revert last change.
11213 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11215 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11216 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11217 This prevents file names like "~/" being listed literally.
11219 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11221 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11222 Remove dead code. (Bug#5546)
11224 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11226 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11227 correctly (Bug#5548).
11229 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11231 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11232 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11234 2010-02-08 Kenichi Handa <handa@m17n.org>
11236 * international/mule-util.el (with-coding-priority): Add autoload
11237 cookie for putting `lisp-indent-function'.
11239 2010-02-07 Glenn Morris <rgm@gnu.org>
11241 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11242 Move F2003 named interfaces from keywords-2 to keywords-1, and
11243 use function-name-face rather than constant-face.
11244 Simplify "abstract interface" regexp.
11246 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11248 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11249 ID-FORMAT. Pass it to `file-attributes'.
11251 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11253 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11255 * faces.el (set-face-attribute): Allow calling
11256 internal-set-lisp-face-attribute with 'unspecified family and
11257 foundry argument (Bug#5536).
11259 2010-02-07 Glenn Morris <rgm@gnu.org>
11261 * progmodes/f90.el (f90-font-lock-keywords-2)
11262 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11263 Handle F2003 named interfaces.
11265 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11267 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11268 beg and end before calling c-get-state-before-change-functions.
11270 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11272 * vc-bzr.el (vc-bzr-dir-extra-headers):
11273 Disable the pending merges header.
11275 2010-02-05 Juri Linkov <juri@jurta.org>
11277 * doc-view.el (doc-view-mode):
11278 * image-mode.el (image-mode): Put property mode-class=special.
11281 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11283 * vc-svn.el (vc-svn-revision-table): New function.
11285 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11287 * net/ange-ftp.el (ange-ftp-insert-directory):
11288 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11289 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11290 Handle also directories. (Bug#5478)
11292 2010-02-05 Glenn Morris <rgm@gnu.org>
11294 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11296 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11298 * startup.el (command-line-1): Convert options beginning with a
11299 single dash as well (Bug#5519).
11301 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11303 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11304 * minibuffer.el (completion-initials-expand): Only check the presence
11305 of delims *within* the boundaries, since otherwise the / delim is
11306 always found for files.
11308 Fix up various corner case problems.
11309 * doc-view.el (doc-view-last-page-number): New function.
11310 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11311 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11312 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11313 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11314 (doc-view-convert-current-doc): Don't create the resolution.el file
11316 (doc-view-pdf/ps->png): Do it here instead.
11317 (doc-view-already-converted-p): Check that resolution.el is present.
11318 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11319 windows that are not yet showing images.
11321 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11323 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11324 `dired-uncache' for every elemnt which is an absolute file name.
11326 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11327 directory, handle its directory component.
11328 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11329 function is called permanently and creates noise, otherwise.
11331 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11332 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11333 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11335 2010-02-04 David Burger <dburger@google.com> (tiny change)
11337 * macros.el (apply-macro-to-region-lines):
11338 Minor simplification. (Bug#5485)
11340 2010-02-04 Glenn Morris <rgm@gnu.org>
11342 * mail/rmail.el (rmail-show-message-1): Handle malformed
11343 quoted-printable text. (Bug#5441)
11345 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11347 * simple.el (visual-line-mode): Capitalize lighter.
11349 2010-02-03 John Wiegley <jwiegley@gmail.com>
11351 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11352 list of files considered for "virtual buffer" completions.
11354 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11356 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11357 also in case of (and (not full) (not wildcard)). This is needed
11358 when dired is called with a list of files, which are not in
11359 `default-directory'. (Bug#5478)
11361 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11363 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11365 2010-02-02 Juri Linkov <juri@jurta.org>
11367 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11368 from unidiff to allow function-line after @@.
11370 2010-02-02 Juri Linkov <juri@jurta.org>
11372 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11373 '(RCS SCCS) with inverted condition.
11375 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11377 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11380 2010-02-01 Juri Linkov <juri@jurta.org>
11382 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11383 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11384 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11385 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11387 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11389 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11390 (doc-view-revert-buffer): New command.
11391 (doc-view-mode-map): Use it.
11393 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11395 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11396 pending merge is detected.
11398 2010-01-31 Juri Linkov <juri@jurta.org>
11400 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11401 beginning of interactive spec like all other grep commands do.
11402 Put "all" in front of "gz". (Bug#5260)
11404 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11406 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11408 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11410 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11411 regexp is incorrect (Bug#5476).
11413 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11415 * net/tramp.el (tramp-handle-insert-directory): Handle also
11416 symlinks, when FILENAME is not in `default-directory'.
11418 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11420 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11421 FILE is not in `default-directory'. (Bug#5478)
11423 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11424 of SWITCHES. Handle the case, FILENAME is not in
11425 `default-directory'. (Bug#5478)
11426 (tramp-register-file-name-handlers): Add safe-magic property.
11428 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11430 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11433 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11435 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11436 (flymake-master-make-header-init): Add other C++ filename masks.
11437 (flymake-find-possible-master-files)
11438 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11440 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11442 Fix some busybox annoyances.
11444 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11445 not responding." string.
11446 (tramp-open-connection-setup-interactive-shell): Dump stty
11447 settings. Enable "neveropen" arg for all `tramp-send-command'
11448 calls. Handle "=" in variable values properly.
11449 (tramp-find-inline-encoding): Raise an error, when no encoding is
11451 (tramp-wait-for-output): Check, whether PROC buffer is available.
11452 Remove spurious " ^H" sequences, sent by busybox.
11453 (tramp-get-ls-command): Suppress coloring, if possible.
11455 2010-01-28 Glenn Morris <rgm@gnu.org>
11457 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11459 * log-edit.el (log-edit-strip-single-file-name): Add missing
11460 :safe, :group, and :version tags.
11462 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11464 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11465 buffers. (Bug#5477)
11467 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11469 * files.el (delete-directory): Handle moving to trash without
11470 first doing recursion (Bug#5436).
11472 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11474 * vc-hooks.el (vc-path): Mark as obsolete.
11476 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11478 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11481 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11483 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11485 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11487 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11489 * vc-bzr.el (vc-bzr-revision-table): New function.
11491 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11493 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11494 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11496 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11498 Remove support for adding --signoff on commit.
11499 Future support will use an incompatible generic mechanism.
11500 * vc-git.el (vc-git-add-signoff): Remove variable.
11501 (vc-git-toggle-signoff): Remove function.
11502 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11504 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11505 Rename from xterm-set-background-mode. Return t if the background mode
11507 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11508 earlier, call it again in case the background mode has changed.
11510 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11512 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11515 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11517 * emacs-lisp/assoc.el (aelement): Doc fix.
11518 (aput, adelete, amake): Use lexical-let (Bug#5450).
11520 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11522 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11523 is the same as subprogram call, not declaration. (Bug#5435).
11525 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11527 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11528 (tramp-smb-maybe-open-connection): Use it.
11530 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11532 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11534 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11537 just because we see "encoding: 8bit".
11538 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11540 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
11542 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11544 2010-01-22 Eli Zaretskii <eliz@gnu.org>
11546 * jka-compr.el (jka-compr-load): If load-file is not in
11547 load-history, try its file-truename version. (bug#5447)
11549 2010-01-21 Alan Mackenzie <acm@muc.de>
11551 Fix a situation where deletion of a cpp construct throws an error.
11552 * progmodes/cc-engine.el (c-invalidate-state-cache):
11553 Before invoking c-with-all-but-one-cpps-commented-out, check that the
11554 special cpp construct is still in the buffer.
11555 (c-parse-state): Record the special cpp with markers, not numbers.
11557 2010-01-21 Kenichi Handa <handa@m17n.org>
11559 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11560 process last-command-event, as it is now decoded first (Bug#5380).
11562 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
11564 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11566 2010-01-20 Glenn Morris <rgm@gnu.org>
11568 * indent.el (tab-always-indent): Fix custom-type.
11570 2010-01-19 Alan Mackenzie <acm@muc.de>
11572 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11573 buffer throws "args out of range".
11574 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11575 playing the role of delimiter.
11577 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
11579 * progmodes/ada-mode.el: Fix bug#5400.
11580 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11581 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11582 changed. Delete RECURSIVE parameter; never used. Improve doc string.
11583 Improve comments in "is" portion. Handle null procedure declaration.
11584 (ada-move-to-end): Improve doc string.
11586 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
11588 * ido.el (ido-cur-list): Initialize to nil.
11589 Remove obsolete information from commentary.
11590 (ido-choice-list): Initialize to nil.
11591 (ido-get-bufname): Reject minibuffers.
11592 (ido-make-buffer-list): If "default" is a nonexistent
11593 buffer, ignore it, as per the function's comment.
11594 (ido-kill-buffer-internal): New function.
11595 (ido-kill-buffer-at-head): Use it.
11596 (ido-visit-buffer): Likewise.
11598 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
11600 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11602 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
11604 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11605 Fix typos in chart titles.
11607 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11608 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11609 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11610 (describe-class, eieio-describe-generic, describe-generic):
11611 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11612 (eieio-speedbar-expand):
11613 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11614 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11615 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11616 (viper-del-backward-char-in-replace, viper-backward-indent)
11617 (viper-brac-function, viper-register-to-point, viper-submit-report):
11618 * net/tramp.el (tramp-remote-coding-commands):
11619 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11620 Fix typos in docstrings.
11622 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
11624 * mail/sendmail.el (mail-yank-original): Set the mark if the
11625 specified function for yanking does not do it.
11627 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
11629 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
11631 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11632 resyncing a directory.
11634 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
11636 * progmodes/ada-mode.el: Fix bug#1920.
11637 (ada-ident-re): Delete ., allow multibyte characters.
11638 (ada-goto-label-re): New; matches goto labels.
11639 (ada-block-label-re): New; matches block labels.
11640 (ada-label-re): New; matches both.
11641 (ada-named-block-re): Deleted; callers changed to use
11642 `ada-block-label-re' instead.
11643 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11644 Use `ada-block-label-re'.
11645 (ada-indent-on-previous-lines): Improve handling of goto labels.
11646 (ada-get-indent-block-start): Special-case block label.
11647 (ada-get-indent-label): Split into `ada-indent-block-label' and
11648 `ada-indent-goto-label'.
11649 (ada-goto-stmt-start, ada-goto-next-non-ws):
11650 Optionally ignore goto labels.
11651 (ada-goto-next-word): Simplify.
11652 (ada-indent-newline-indent-conditional): Insert newline before
11653 trying to fix indentation; doc fix.
11655 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
11657 * calc/calc.el (calc-command-flags): Give it an initial value.
11659 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
11661 * files.el (minibuffer-with-setup-hook):
11662 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11663 (artist-key-draw-continously, artist-key-do-continously-continously)
11664 (artist-key-set-point-continously, artist-mouse-draw-continously):
11665 Fix typos in docstrings.
11667 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
11669 * nxml/nxml-mode.el (nxml-extend-after-change-region):
11670 Never return t (Bug#3898).
11672 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
11674 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11675 can parse the output of the external commands (Bug#5279).
11677 2010-01-16 Jari Aalto <jari.aalto@cante.net>
11679 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11681 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
11683 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11685 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11687 * startup.el (command-line): Remove unused --icon-type arg.
11688 Handle --display arg, passing it to command-line-1 (Bug#5392).
11690 2010-01-16 Mario Lang <mlang@delysid.org>
11692 * emacs-lisp/chart.el (chart-translate-namezone):
11693 * textmodes/artist.el (artist-compute-popup-menu-table):
11694 Remove duplicated words in doc-strings.
11696 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
11698 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11699 to mairix-search to suppress threading (Bug#5342).
11701 2010-01-15 Kenichi Handa <handa@m17n.org>
11703 * international/mule-cmds.el (canonicalize-coding-system-name):
11704 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11706 2010-01-15 Glenn Morris <rgm@gnu.org>
11708 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
11710 * wid-edit.el (widget-keymap): Doc fix.
11712 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11713 former seems to be more widely accepted by various svn versions.
11715 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11717 * find-cmd.el (find-constituents):
11718 * vc-arch.el (vc-arch-root):
11719 * window.el (window-body-height, pop-up-frames):
11720 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11721 * progmodes/ada-stmt.el (ada-if):
11722 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11723 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11724 (ispell-encoding8-command, ispell-aspell-supports-utf8)
11725 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11727 * progmodes/flymake.el (flymake-post-syntax-check):
11728 Fix typo in error message.
11730 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11732 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11733 which is always a string. (Bug#5313)
11735 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
11737 * progmodes/ada-xref.el (ada-default-prj-properties):
11738 Simplify previous change.
11740 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11742 * progmodes/ada-xref.el (ada-default-prj-properties):
11743 Default ada_project_path to $ADA_PROJECT_PATH.
11745 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11747 * progmodes/ada-mode.el (ada-create-keymap):
11748 Override `narrow-to-defun' with `ada-narrow-to-defun'.
11750 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11752 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11753 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11754 (ada-get-current-indent, ada-imenu-generic-expression)
11755 (ada-which-function): Check for it.
11757 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
11759 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11760 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11762 2010-01-14 Glenn Morris <rgm@gnu.org>
11764 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
11766 2010-01-14 Kenichi Handa <handa@m17n.org>
11768 * composite.el (auto-composition-mode): Make it a buffer local
11769 variable (permanent-local).
11770 (auto-composition-function): Set the default value to
11771 auto-compose-chars.
11772 (auto-composition-mode): Make it a simple function, not a minor mode.
11773 (global-auto-composition-mode): Likewise.
11774 (turn-on-auto-composition-if-enabled): Delete it.
11776 2010-01-13 Karl Fogel <kfogel@red-bean.com>
11778 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11780 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
11782 * files.el (copy-directory): Compute target for recursive
11783 directories with identical names. (Bug#5343)
11785 2010-01-12 Glenn Morris <rgm@gnu.org>
11787 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11788 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11790 2010-01-11 Sam Steingold <sds@gnu.org>
11792 * imenu.el (imenu-default-create-index-function): Detect infinite
11793 loops caused by imenu-prev-index-position-function.
11795 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11797 * htmlfontify.el (htmlfontify-load-rgb-file)
11798 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11799 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11800 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11801 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11802 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11803 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11804 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11805 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11806 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11807 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11808 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11809 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11810 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11811 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11812 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11813 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11814 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11815 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11816 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11817 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11818 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11819 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11820 backslash-quoting from parentheses, etc.
11822 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
11824 * progmodes/js.el: Autoload javascript-mode alias.
11826 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
11828 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11829 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11830 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11831 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11832 Fix typos in docstrings.
11833 (ffap-url-regexp): Doc fix.
11834 (ffap-at-mouse): Fix typo in message.
11836 2010-01-11 Glenn Morris <rgm@gnu.org>
11838 * version.el (emacs-copyright): Set copyright year to 2010.
11840 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
11842 * format.el (format-annotate-function): Only set
11843 write-region-post-annotation-function after running to-fn so as not to
11844 affect nested write-region calls (bug#5273).
11846 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
11848 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11851 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11853 * man.el (Man-goto-section): Signal error if the section is not
11856 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
11858 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11859 URLs with a leading triple slash in the file: scheme. (Bug#5345)
11861 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
11863 * progmodes/compile.el: Don't treat compile-command as safe if
11864 compilation-read-command might be nil (Bug#4218).
11866 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
11868 * startup.el (command-line-1): Use orig-argi to check for ignored X and
11871 2010-01-08 Kenichi Handa <handa@m17n.org>
11873 * international/fontset.el (build-default-fontset-data):
11874 Exclude characters in scripts kana, hangul, han, or cjk-misc.
11876 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
11878 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11879 to `create-file-buffer' as it expects, not just a buffer name.
11880 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11881 to help uniquify. (Bug#3224)
11883 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
11885 * font-setting.el (font-setting-change-default-font): Use user-spec
11888 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
11890 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11892 2010-01-05 Tom Tromey <tromey@redhat.com>
11894 * progmodes/python.el (python-font-lock-keywords):
11895 Handle qualified decorators (Bug#881).
11897 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11899 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11900 in a lightweight checkout.
11902 2010-01-05 Kenichi Handa <handa@m17n.org>
11904 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11906 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
11908 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11910 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
11912 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11913 checkouts. (Bug#618)
11914 (vc-bzr-log-view-mode): Also highlight the author.
11915 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11916 (vc-bzr-shelve-menu-map):
11917 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11918 (vc-bzr-shelve-apply): Make prompt more explicit.
11920 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
11922 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11923 They are valid characters in URL paths (rfc3986), and at least
11924 Firefox does not understand the encoded version (Bug#3166).
11926 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
11928 * progmodes/octave-mod.el (octave-end-keywords)
11929 (octave-block-begin-or-end-regexp, octave-block-match-alist):
11930 Add "end" keyword (Bug#3061).
11931 (octave-end-as-array-index-p): New function.
11932 (calculate-octave-indent): Use it.
11934 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11936 * bookmark.el: Consistently put the text property on the bookmark name.
11937 (bookmark-bmenu-marks-width): Bump back to 2, to include
11939 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11940 property on the bookmark name, instead of not putting it at all.
11941 (bookmark-bmenu-list): Fix where we put the text property.
11943 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11945 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11946 for showing buffer modified state (as added in the previous change).
11948 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11950 * bookmark.el: Show modified state of bookmark buffer more accurately.
11951 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11952 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11953 (with-buffer-modified-unmodified): New macro.
11954 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11955 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11956 Use new macro to preserve the buffer modified state.
11958 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11960 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11961 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11962 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11963 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11964 (bookmark-bmenu-rename, bookmark-bmenu-locate)
11965 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11966 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11968 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11970 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11971 Make the lines in the generated doc string shorter. (Bug#4668)
11973 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
11975 * net/rcirc.el: Add follow-link binding (Bug#4738).
11977 2010-01-02 Eli Zaretskii <eliz@gnu.org>
11979 * Makefile.in (bzr-update): Rename from cvs-update.
11980 (cvs-update): New target for backward compatibility.
11982 * makefile.w32-in (bzr-update): Rename from cvs-update.
11983 (cvs-update): New target for backward compatibility.
11985 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11987 * bookmark.el: Remove gratuitous gratitude.
11989 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11991 * bookmark.el (bookmark-bmenu-any-marks): New function.
11992 (bookmark-bmenu-save): Clear buffer modification if no marks.
11994 2010-01-02 Karl Fogel <kfogel@red-bean.com>
11996 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11997 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11998 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11999 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12001 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12002 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12003 To: emacs-devel {_AT_} gnu.org
12004 Subject: bookmark.el bug report
12005 Date: Mon, 28 Dec 2009 14:19:16 +0800
12006 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12008 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12010 * bookmark.el: Improvements suggested by Drew Adams:
12011 (bookmark-bmenu-ensure-position): New name for
12012 `bookmark-bmenu-check-position'. Just ensure the position,
12013 don't return any meaningful value.
12014 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12017 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12019 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12020 (bookmark-yank-point, bookmark-bmenu-check-position):
12021 Fix typos in docstrings.
12022 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12023 (bookmark-name-from-full-record, bookmark-get-position)
12024 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12025 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12026 Remove useless quoting of parenthesis, etc. in docstrings.
12028 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12029 (ediff-append-custom-diff): Fix typo in error message.
12030 (ediff-meta-mark-equal-files): Fix typos in messages.
12032 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12034 * net/imap-hash.el (imap-hash-make): Doc fix.
12035 (imap-hash-test): Fix typo in error message; reflow docstring.
12036 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12037 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12038 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12039 Fix typos in docstrings.
12040 (imap-hash-open-connection): Fix typo in error message.
12042 * play/gomoku.el (gomoku): Fix typos in docstring.
12044 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12045 (gdb-jsonify-buffer): Fix typos in docstring.
12046 (gdb-goto-breakpoint): Fix typo in error message.
12047 ("Display Other Windows"): Fix typo in help message.
12048 (gdb-speedbar-expand-node): Fix typo in question.
12050 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12051 (idlwave-html-system-help-location, idlwave-html-help-location)
12052 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12053 (idlwave-help-browser-generic-args, idlwave-help-directory)
12054 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12055 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12056 (idlwave-online-help, idlwave-help-html-link)
12057 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12058 Fix typos in docstrings.
12059 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12061 (idlwave-help-assistant-start): Fix typo in error message.
12063 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12064 (octave-electric-space): Fix typos in docstrings.
12066 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12068 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12070 2010-01-01 Juri Linkov <juri@jurta.org>
12072 * comint.el (comint-input-ring-size): Make it a defcustom and
12073 increase the default to 500 (Bug#5148).
12075 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12077 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12078 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12079 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12081 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12083 Show working revision correctly for mercurial.
12084 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12085 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12087 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12089 Declare some functions for the byte-compiler.
12090 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12091 (speedbar-timer-fn, speedbar-change-expand-button-char)
12092 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12094 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12096 This changeset reverts GDB Graphical Interface to use annotations.
12097 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12099 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12101 Make vc-dir work on subdirectories of the bzr root.
12102 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12103 Return file names relative to it.
12104 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12105 relative directory to vc-bzr-after-dir-status.
12107 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12109 * font-lock.el (font-lock-refresh-defaults): New function, which
12110 can be used to let font-lock react to external changes in
12111 variables like font-lock-defaults and keywords.
12112 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12114 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12116 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12118 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12120 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12122 Supersede color.diff settings in git log (bug#5211).
12124 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12125 escape chars in its output when the user has color.diff set to `always'.
12126 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12128 2009-12-26 Kevin Ryde <user42@zip.com.au>
12130 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12131 node. Keep previous "Index" name to work with past coreutils too.
12133 * man.el (man): Revise docstring a bit to show -a and -l as
12134 examples. Add -k description since support for it has otherwise
12135 been a secret. (Further to bug#3717.)
12136 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12137 "no matches" rather than "Can't find manpage", as the latter reads
12138 like -k was interpreted as a page name, which is not so. (Bug#5431)
12140 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12142 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12143 switches. Check also for //SUBDIRED// line.
12145 2009-12-25 Kenichi Handa <handa@m17n.org>
12147 * language/indian.el (devanagari-composable-pattern): Fix to
12148 handle ZWNJ and ZWJ. Use it in composition-function-table for
12150 (malayalam-composable-pattern): Fix previous change.
12152 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12154 * ps-print.el (ps-face-attributes): It was not returning the
12155 attribute face for faces specified as string. Reported by harven
12156 <harven@free.fr>. (Bug#5254)
12157 (ps-print-version): New version 7.3.5.
12159 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12161 * calendar/icalendar.el (icalendar--convert-tz-offset):
12162 Fix timezone names.
12163 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12164 (icalendar--add-diary-entry): Remove the trailing blank that
12165 diary-make-entry inserts.
12167 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12169 Make `file-expand-wildcards' work for remote files.
12171 * files.el (file-expand-wildcards): In case of remote files, check
12172 only local file name part for wildcards. Provide feature 'files
12173 and subfeature 'remote-wildcards. (Bug#5198)
12175 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12176 if there is already an established connection.
12177 (tramp-advice-file-expand-wildcards): Remove it.
12179 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12180 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12181 Activate advice for older GNU Emacs versions. (Bug#5237)
12183 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12185 Some doc fixes (more needed).
12187 * find-cmd.el (find-constituents): Reflow docstring.
12188 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12189 (find-generic): Doc fix.
12191 2009-12-17 Juri Linkov <juri@jurta.org>
12193 Fix regression from 23.1 to allow multiple modes in Local Variables.
12195 * files.el (hack-local-variables-filter): While ignoring duplicates,
12196 don't take `mode' into account.
12197 (hack-local-variables-filter, hack-dir-local-variables):
12198 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12200 2009-12-17 Juri Linkov <juri@jurta.org>
12202 Make `dired-diff' safer. (Bug#5225)
12204 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12205 `current' or when `file' is a directory of the `current' file.
12207 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12209 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12210 unconditionally preloaded files.
12212 2009-12-16 Juri Linkov <juri@jurta.org>
12214 Revert to old 23.1 logic of using the file at the mark as default.
12215 * dired-aux.el (dired-diff): Use the file at the mark as default
12216 if it's not the same as the current file, and the target dir is
12217 the current dir or the mark is active. Add the current file
12218 as the arg of `dired-dwim-target-defaults'. Use the default file
12219 in the prompt. (Bug#5225)
12221 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12223 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12224 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12225 (tramp-check-for-regexp): Check also, when an echoing shell stops
12226 to echo sent commands.
12228 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12230 * Makefile.in: Revert last change (Bug#5191).
12232 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12234 * vc-hg.el (vc-hg-print-log): Fix argument order.
12235 (vc-hg-working-revision): Make sure the command is executed in a
12236 known environment so that we can parse the output. (Bug#4417)
12238 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12240 * progmodes/python.el (python-symbol-completions): Remove text
12241 properties from symbol string before calling python-send-receive.
12243 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12245 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12246 when there are values for both file and line. (Bug#5060)
12248 2009-12-14 Juri Linkov <juri@jurta.org>
12250 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12251 whitespace after the file name of the first line of unified format,
12252 because git-diff doesn't output whitespace and file modification time
12253 after the file name.
12255 2009-12-14 David Kastrup <dak@gnu.org>
12257 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12258 check if it already has the `display' property added by
12259 `Info-display-images-node', and not put the `invisible' property
12262 2009-12-13 Glenn Morris <rgm@gnu.org>
12264 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12265 (report-emacs-bug): In message-mode, sort manually before storing
12266 original report text. (Bug#5178)
12267 Remove superfluous save-excursion.
12269 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12271 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12272 when responding to "GetAll" properties.
12274 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12276 * simple.el (compose-mail): Remove mail-setup-with-from from
12277 customization checks.
12279 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12281 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12282 RAR archives created on Unix systems.
12284 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12286 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12287 the varalias that was accidentally removed by the 2009-11-19 change
12290 2009-12-12 Kenichi Handa <handa@m17n.org>
12292 * language/indian.el (indian-compose-regexp): New function.
12293 (malayalam-composable-pattern): Fix the pattern.
12294 (composition-function-table): Set malayalam-composable-pattern for
12295 Malayalam characters.
12297 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12299 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12300 rather than down-mouse-1, based on follow-link conventions.
12302 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12305 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12307 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12308 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12309 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12310 (verilog-leap-to-head, verilog-backward-token):
12311 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12313 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12315 * progmodes/verilog-mode.el (verilog-auto-lineup)
12316 (verilog-nameable-item-re): Cleanup user-visible spelling and
12317 documentation errors. One reported by Gary Delp.
12318 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12319 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12320 package, bug195. Reported by Pierre-David Pfister.
12322 2009-12-11 Glenn Morris <rgm@gnu.org>
12324 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12326 * mail/emacsbug.el: No longer require sendmail.
12327 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12328 (report-emacs-bug-orig-text): Doc fix.
12329 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12330 New local variables, to adapt to different mail-user-agents.
12331 (report-emacs-bug): Fix test for a gnu.org address.
12332 Use overlays for emphasis, since font-lock defeats 'face property.
12333 Pretest bugs also end up at the newsgroup these days.
12334 Stop message-mode stripping text properties.
12335 Set and use the new buffer-local variables.
12336 (report-emacs-bug-hook): Add doc-string.
12337 Remove some unnecessary save-excursions and simplify.
12338 Use the appropriate hook and send-command.
12340 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12341 capitalization of some menu entries.
12343 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12345 * whitespace.el (whitespace-display-char-on):
12346 Ensure `buffer-display-table' is unique when two or more windows are
12347 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12350 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12352 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12353 characters in the Attribute field.
12355 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12357 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12359 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12361 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12362 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12363 Disregard autoload-excludes.
12364 (update-directory-autoloads): Obey autoload-excludes here instead.
12365 But don't store its contents in no-autoloads and remove entries that
12366 refer to excludes files.
12368 2009-12-10 Glenn Morris <rgm@gnu.org>
12370 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12371 (expand-mail-aliases): Define for compiler.
12373 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12374 Define for compiler.
12376 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12377 appropriate for the mail-user-agent in use.
12379 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12381 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12383 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12385 Fix short log parsing and fontification.
12386 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12387 Fix fontification for the [merge] label.
12389 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12391 Drop some properties to avoid surprises (bug#5002).
12392 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12393 (hfy-fontify-buffer): Use it.
12395 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12399 Adjust all callers.
12400 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12401 args compulsory. Adjust callers.
12402 (ffap-gopher-at-point): Remove unused var `name'.
12404 Get rid of the ELCFILES abomination.
12405 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12406 (compile-elcfiles): New phony target.
12407 (compile-main): Compute ELCFILES dynamically.
12408 (compile-clean): New target to remove left-over elc files.
12409 (compile, all): Use it.
12411 2009-12-09 Kenichi Handa <handa@etlken>
12413 * international/mule-diag.el: Require help-mode instead of help-fns.
12415 2009-12-09 Kenichi Handa <handa@m17n.org>
12417 * international/mule-cmds.el (ucs-names): Supply sufficiently
12418 fine ranges instead of pre-calculating accurate ranges.
12419 Iterate with bigger gc-cons-threshold.
12421 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12423 Add support for stashing a snapshot of the current tree.
12424 * vc-git.el (vc-git-stash-snapshot): New function.
12425 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12427 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12429 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12430 instead of `(beginning|end)-of-line'.
12432 2009-12-08 Glenn Morris <rgm@gnu.org>
12434 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12436 * Makefile.in (ELCFILES): Regenerate.
12438 2009-12-07 Juri Linkov <juri@jurta.org>
12440 Don't lazy-highlight the comint output in history Isearch mode.
12442 * comint.el (comint-history-isearch-search): Instead of
12443 `comint-line-beginning-position', use `comint-after-pmark-p'
12444 to check if point if before the process mark, and go to
12445 `process-mark' in this case.
12447 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12449 * textmodes/tex-mode.el (latex-complete)
12450 (latex-indent-or-complete): Remove.
12451 (latex-mode): Set completion-at-point-functions instead.
12453 Provide a standard completion command and hook it into TAB.
12454 * minibuffer.el (completion-at-point-functions): New var.
12455 (completion-at-point): New command.
12456 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12457 * progmodes/python.el (python-mode-map): Use completion-at-point.
12458 (python-completion-at-point): Rename from python-partial-symbol and
12459 adjust for use in completion-at-point-functions.
12460 (python-mode): Setup completion-at-point for Python completion.
12461 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12462 extracted from lisp-complete-symbol.
12463 (lisp-complete-symbol): Use it.
12464 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12465 setup completion-at-point for Elisp completion.
12466 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12467 Use completion-at-point.
12468 * ielm.el (ielm-map): Use completion-at-point.
12469 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12470 * progmodes/sym-comp.el: Move to...
12471 * obsolete/sym-comp.el: Move from progmodes.
12473 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12475 Prevent save-buffer in Rmail buffers from using the coding-system
12476 of the current message, and from clobbering the encoding mnemonics
12477 in the mode line (Bug#4623).
12479 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12481 (rmail-message-encoding): New variable.
12482 (rmail-write-region-annotate): Record the encoding of the current
12483 message in rmail-message-encoding.
12484 (rmail-after-save-hook): New function, restores the encoding of
12485 the current message after the message collection is saved.
12487 2009-12-07 Juri Linkov <juri@jurta.org>
12489 * progmodes/grep.el (grep-read-files): Use `completing-read'
12490 instead of `read-string'. Set its `collection' arg to
12491 `read-file-name-internal'. (Bug#4301)
12493 2009-12-07 Juri Linkov <juri@jurta.org>
12495 Correctly restore original Isearch point. (Bug#4994)
12497 * isearch.el (isearch-mode): Move `isearch-push-state' after
12498 `(run-hooks 'isearch-mode-hook)'.
12499 (isearch-cancel): When `isearch-push-state-function' is defined,
12500 let-bind `isearch-cmds' to the first state (the last element of
12501 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12502 function and restores the original point). Otherwise, move point
12503 to `isearch-opoint'.
12505 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12507 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12508 chars that don't have names, so the table can be built much faster at
12511 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12513 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12514 change. Suggested by David Kastrup.
12516 * simple.el (compose-mail): Check for incompatibilities and warn.
12517 (compose-mail-user-agent-warnings): New option.
12519 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12521 Support showing a single log entry from vc-annotate.
12522 * vc.el (print-log): Add a new argument: START-REVISION.
12523 (vc-print-log-internal): Add a new optional argument and
12524 pass it to the backend.
12525 (vc-print-log, vc-print-root-log): Adjust callers.
12526 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12527 buffer already displays the requested log entry, use it.
12528 Otherwise display only the log entry in question.
12529 * vc-svn.el (vc-svn-print-log):
12530 * vc-mtn.el (vc-mtn-print-log):
12531 * vc-hg.el (vc-hg-state):
12532 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12533 (vc-git-show-log-entry): Return t on success.
12534 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12535 (vc-bzr-show-log-entry): Return t on success.
12536 * vc-rcs.el (vc-rcs-print-log):
12537 * vc-sccs.el (vc-sccs-print-log):
12538 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12540 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12542 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12543 Add menus to the meta mode. (Bug#5043)
12545 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
12547 * ediff-init.el (ediff-event-key): Use event-to-character instead of
12550 * ediff.el (ediff-buffers-internal): Add unwind-protect.
12552 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
12554 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
12555 Berbain <raphael.berbain@gmail.com>.
12557 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
12559 (tramp-initial-end-of-output): New defconst.
12560 (tramp-methods, tramp-find-shell)
12561 (tramp-open-connection-setup-interactive-shell)
12562 (tramp-maybe-open-connection): Use it.
12563 (tramp-shell-prompt-pattern, tramp-wait-for-output):
12564 Handle existence of `#' and `$'.
12566 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12567 Use `tramp-initial-end-of-output'.
12569 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12571 Get the background mode from the terminal for xterm, and set
12573 * term/xterm.el (xterm-set-background-mode): New function.
12574 (terminal-init-xterm): Use it in case xterm supports background
12575 color queries. Recompute faces after getting the background
12578 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
12580 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12581 number comment back on its own line, for easier parsing.
12583 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12585 Make it work for non-file buffers (bug#5102).
12586 * doc-view.el (doc-view-current-cache-dir):
12587 Use doc-view-buffer-file-name rather than buffer-file-name.
12588 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12590 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
12592 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12593 author field is too short.
12595 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
12597 * vc-git.el (vc-git-print-log): Handle a limit argument.
12598 Display the short log in graph form and with labels.
12599 (vc-git-log-view-mode): Handle labels.
12601 Make vc-revert change VC state from 'added to 'unregistered.
12602 * vc-git.el (vc-git-revert): Call git reset first.
12604 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12606 * net/newst-backend.el, net/newst-plainview.el:
12607 * net/newst-reader.el, net/newst-ticker.el:
12608 * net/newst-treeview.el, net/newsticker.el:
12609 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
12611 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12613 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12615 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12616 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
12617 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12618 Update annotation regexp.
12620 * simple.el (beginning-of-visual-line): Constrain to field
12621 boundaries (Bug#5106).
12623 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
12625 * xml.el (xml-substitute-numeric-entities):
12626 Move newsticker--decode-numeric-entities in newst-backend.el to
12627 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12628 * net/newst-backend.el (newsticker--parse-generic-feed)
12629 (newsticker--parse-generic-items)
12630 (newsticker--decode-numeric-entities):
12631 Move newsticker--decode-numeric-entities in newst-backend.el to
12632 xml-substitute-numeric-entities in xml.el. (Bug#5008)
12634 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
12636 * progmodes/js.el (js--js-not): Add null to the list of values.
12638 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
12640 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12642 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12644 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12645 delimiter if it is at the end of the current line.
12646 (bibtex-generate-url-list): Fix docstring.
12648 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12651 minibuffer's content with itself.
12652 Fold the confirm-after-completion case into the `confirm' case.
12653 (completion-pcm-word-delimiters): Add : and / to the delimiters.
12655 2009-12-06 Kevin Ryde <user42@zip.com.au>
12657 * ffap.el (ffap-rfc-path): Make this a defcustom since
12658 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
12660 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12661 manuals, similar to existing setup for help-mode. (Bug#3913.)
12663 2009-12-05 Juri Linkov <juri@jurta.org>
12665 Save and restore dired buffer's point positions too. (Bug#4880)
12667 * dired.el (dired-save-positions): Return in the first element
12668 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12670 (dired-restore-positions): First restore buffer's position.
12671 While restoring window's positions, check if window still displays
12672 the original buffer.
12674 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
12676 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12679 * shell.el (shell): Require ansi-color (Bug#5113).
12681 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12683 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12685 2009-12-05 Alan Mackenzie <acm@muc.de>
12687 * progmodes/cc-mode.el (c-before-hack-hook)
12688 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12689 `c-file-style' to work again. This reversion restores the current
12690 software to its state in Emacs 23.1. (Bug#4146)
12692 2009-12-05 Kevin Ryde <user42@zip.com.au>
12694 * textmodes/sgml-mode.el (sgml-lexical-context):
12695 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12697 2009-12-05 Juri Linkov <juri@jurta.org>
12699 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12700 for virtual nodes. (Bug#4147)
12701 (Info-find-node-2): Set `Info-current-node-virtual' to nil
12702 when moving from a virtual node.
12703 (Info-mode-menu): Add `Info-virtual-index' to the menu.
12704 (Info-mode): Add `Info-virtual-index' to the docstring.
12706 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12708 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12709 track of the buffer position of the end of a BibTeX entry as this
12710 position may change during reformatting.
12711 (bibtex-format-entry): Remove whitespace before processing
12712 numerical fields so that we recognize the latter properly.
12713 (bibtex-reformat): Do not use push which changes the global value
12714 of bibtex-entry-format.
12715 (bibtex-field-braces-alist, bibtex-field-strings-alist)
12716 (bibtex-field-re-init): Replace only space characters by regexp
12718 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12719 (bibtex-initialize): Also update bibtex-strings.
12720 (bibtex-kill-field): Preserve white space at end of entry.
12721 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12722 Update bibtex-reference-keys.
12724 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * minibuffer.el (completion-pcm--merge-try): Also consider placing
12727 point after a star, if that's the only place where modifications can
12730 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
12732 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12735 2009-12-04 Juri Linkov <juri@jurta.org>
12737 * proced.el (proced): Call `(proced-update t)' to update process
12738 information instead of only running proced-post-display-hook.
12739 (proced-send-signal): Add a leading space to the buffer name
12740 " *Marked Processes*" to make this buffer ephemeral.
12742 2009-12-04 Juri Linkov <juri@jurta.org>
12744 * dired.el (dired-auto-revert-buffer): New defcustom.
12745 (dired-internal-noselect): Use it.
12747 2009-12-04 Juri Linkov <juri@jurta.org>
12749 Change roles of modes and functions in image-mode.el (Bug#5062).
12751 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12752 in `auto-mode-alist'.
12753 (image-mode-previous-major-mode): New variable.
12754 (image-minor-mode-map): Rename from `image-mode-text-map'.
12755 (image-mode): Move graceful error-handling code from
12756 `image-minor-mode' to here. On errors call `image-mode-as-text'.
12757 (image-minor-mode): Remove all image-handling code.
12758 Replace `image-mode-text-map' with `image-minor-mode-map'.
12759 Check for `image-type' in mode-line format string.
12760 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12761 (image-mode-as-text): New function with most code from
12762 `image-mode-maybe'.
12763 (image-toggle-display-text): Move code that removes image
12764 properties from `image-toggle-display' to here.
12765 (image-toggle-display-image): New function with code that adds
12766 image properties copied from `image-toggle-display'.
12767 (image-toggle-display): Remove most code with leaving only code
12768 that toggles between `image-mode-as-text' and `image-mode'.
12770 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
12772 * net/newst-treeview.el
12773 (newsticker--treeview-list-highlight-start): Restored call to
12774 save-excursion: Selected item was stuck.
12775 (newsticker--treeview-list-select): New.
12776 (newsticker--treeview-item-show-text)
12777 (newsticker--treeview-item-show)
12778 (newsticker--treeview-item-update): Use new
12779 newsticker-treeview-item-mode.
12780 (newsticker-treeview-update): Keep current item.
12781 (newsticker-treeview-next-new-or-immortal-item): Doc change.
12782 (newsticker--treeview-first-feed): Doc change.
12783 (newsticker-treeview-list-menu)
12784 (newsticker-treeview-item-menu): Add menu entries.
12785 (newsticker-treeview-item-mode): New.
12787 * net/newst-backend.el (newsticker-customize): Delete other
12790 2009-12-04 Sam Steingold <sds@gnu.org>
12792 * log-view.el (log-view-mode-map): "q" calls quit-window,
12793 like in all the other non-self-insert buffers.
12795 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
12798 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12799 key decoding rather than do it manually via last-input-event +
12801 (term-exec): Use delete-and-extract-region.
12802 (term-handle-ansi-terminal-messages): Remove unused var `end'.
12803 (term-process-pager): Remove unused var `i'.
12804 (term-dynamic-simple-complete): Make obsolete.
12805 (serial-update-config-menu): Remove unused vars `y' and `str'.
12806 (term-update-mode-line): Remove unused var `temp'.
12808 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12810 Limit the number of log entries displayed by default.
12811 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12812 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12813 using a prefix argument.
12815 2009-12-03 Glenn Morris <rgm@gnu.org>
12817 * progmodes/idlwave.el (class): Restore still useful declaration.
12819 2009-12-03 Alan Mackenzie <acm@muc.de>
12821 Enhance `c-parse-state' to run efficiently in "brace deserts".
12823 * progmodes/cc-mode.el (c-basic-common-init):
12824 Call c-state-cache-init.
12825 (c-neutralize-syntax-in-and-mark-CPP): Rename from
12826 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
12827 placing `category' properties value 'c-cpp-delimiter at its boundaries.
12829 * progmodes/cc-langs.el (c-before-font-lock-function):
12830 c-extend-and-neutralize-syntax-in-CPP has been renamed
12831 c-neutralize-syntax-in-and-mark-CPP.
12833 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12834 with `category' properties now, not `syntax-table' ones.
12836 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12837 enhanced (but slower) version of c-end-of-macro that won't land
12838 inside a literal or on another awkward character.
12839 (c-state-cache-too-far, c-state-cache-start)
12840 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12841 (c-state-nonlit-pos-cache-limit, c-state-point-min)
12842 (c-state-point-min-lit-type, c-state-point-min-lit-start)
12843 (c-state-min-scan-pos, c-state-brace-pair-desert)
12844 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12845 buffer local variables.
12846 (c-state-literal-at, c-state-lit-beg)
12847 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12848 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12849 (c-state-cache-top-paren, c-state-cache-after-top-paren)
12850 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12851 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12852 (c-renarrow-state-cache)
12853 (c-append-lower-brace-pair-to-state-cache)
12854 (c-state-push-any-brace-pair, c-append-to-state-cache)
12855 (c-remove-stale-state-cache)
12856 (c-remove-stale-state-cache-backwards, c-state-cache-init)
12857 (c-invalidate-state-cache-1, c-parse-state-1)
12858 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12859 (c-parse-state): Enhance and refactor.
12860 (c-debug-parse-state): Amend to deal with all the new variables.
12862 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12863 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12864 modify to use category text properties rather than syntax-table ones.
12865 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12866 to switch off/on the syntactic paren property of C++ template
12867 delimiters using the category property.
12868 (c-with-<->-as-parens-suppressed): Macro to invoke code with
12869 template delims suppressed.
12870 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12871 New constant/macros which apply category properties to the start
12872 and end of preprocessor constructs.
12873 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12874 "comment out" the syntactic value of characters in preprocessor
12876 (c-with-cpps-commented-out)
12877 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12878 with characters in all or all but one preprocessor constructs
12881 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
12883 * proced.el (proced-filter-alist): Use regexp-quote.
12885 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
12888 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12889 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
12890 arguments. Expand `default-directory'.
12892 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12893 the benefit of returning an expanded localname.
12894 (tramp-tramp-file-p): Handle the case NAME is not a string.
12896 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12898 Add support for bzr shelve/unshelve.
12899 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12900 (vc-bzr-extra-menu-map): New variables.
12901 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12902 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12903 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12904 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12905 (vc-bzr-dir-extra-headers): Display shelves.
12907 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12909 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12911 * textmodes/bibtex.el (bibtex-complete-internal):
12912 Use completion-in-region.
12913 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12915 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
12917 Support applying stashes. Improve UI.
12918 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12919 (vc-git-stash-apply, vc-git-stash-pop)
12920 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12921 (vc-git-stash-menu): New functions.
12922 (vc-git-stash-menu-map): New variable.
12923 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12925 2009-12-03 Glenn Morris <rgm@gnu.org>
12927 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12928 (vc-print-log-internal): Fix previous change.
12929 (vc-revert): Correct pluralization.
12931 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12933 * progmodes/make-mode.el (makefile-special-targets-list): No need for
12934 it to be an alist any more.
12935 (makefile-complete): Use completion-in-region.
12937 * progmodes/octave-mod.el (octave-complete-symbol):
12938 Use completion-in-region.
12941 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12942 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12943 (idlwave-complete-class): Don't quote lambda.
12944 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12945 (idlwave-mode-map): Move initialization into declaration.
12946 (idlwave-action-and-binding): Use backquotes.
12947 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12949 (idlwave-is-pointer-dereference): Remove unused var `pos'.
12950 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12951 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12952 `parts', and `all-parts'.
12953 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12954 (idlwave-convert-xml-system-routine-info): Remove unused string
12956 (idlwave-display-user-catalog-widget): Use dolist.
12957 (idlwave-scanning-lib): Declare dynamically-scoped var.
12958 (idlwave-scan-library-catalogs): Remove unused var `flags'.
12959 (completion-highlight-first-word-only): Declare to silence bytecomp.
12960 (idlwave-popup-select): Tighten scope of `resp'.
12961 (idlwave-find-struct-tag): Remove unused var `beg'.
12962 (idlwave-after-load-rinfo-hook): Declare.
12963 (idlwave-sintern-class-info): Remove unused var `taglist'.
12964 (idlwave-find-class-definition): Remove unused var `list'.
12965 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12966 (idlwave-what-module-find-class): Remove unused var `classes'.
12968 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
12970 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12972 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12974 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12975 buffers visited. Remove redundant current-buffer-saving.
12977 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12979 Use completion-in-buffer and remove uses of dynamic scoping.
12980 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12981 (pascal-buffer-to-use, pascal-flag): Don't declare.
12982 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12983 (pascal-get-completion-decl, pascal-keyword-completion):
12984 Add `pascal-str' argument, save-excursion,
12985 return the found completions, and don't filter with pascal-pred.
12986 (pascal-completion-cache): New var.
12987 (pascal-completion): Don't switch buffer any more (it was never
12988 necessary). Don't save-excursion any more (it's done by the called
12989 subroutines). Use a cache to avoid redundant computations.
12990 Use complete-with-action rather than pascal-completion-response and
12991 let it apply the predicate as well.
12992 (pascal-complete-word): Use completion-in-buffer when
12993 pascal-toggle-completions is nil.
12994 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12996 (pascal-comp-defun): Don't change buffer any more.
12997 Use complete-with-action rather than pascal-completion-response and
12998 let it apply the predicate as well.
12999 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13002 2009-12-02 Kenichi Handa <handa@m17n.org>
13004 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13005 shape for all Indic scripts.
13007 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13009 Use completion-in-buffer.
13010 * wid-edit.el (widget-field-text-end): New function.
13011 (widget-field-value-get): Use it.
13012 (widget-string-complete, widget-file-complete)
13013 (widget-color-complete): Use it and completion-in-region.
13014 (widget-complete): Don't narrow the buffer.
13016 2009-12-02 Glenn Morris <rgm@gnu.org>
13018 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13019 (rmail-select-summary): Use rmail-pop-to-buffer.
13020 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13021 rmail-pop-to-buffer, to prevent horizontal splits.
13023 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13024 save-excursion with save-current-buffer.
13025 Widen before searching. (Bug#5093)
13026 (diary-list-sexp-entries): Remove superfluous save-excursion.
13028 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13030 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13033 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13035 * ido.el (ido-file-internal): Handle filenames at point that do
13036 not have a directory part. (Bug#5049)
13038 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13040 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13041 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13043 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13045 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13046 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13049 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13051 * comint.el (comint-insert-input): Ignore clicks to the right of
13052 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13054 * vc.el (vc-print-log-internal): Don't wait for the process to
13055 terminate before setting up the major mode.
13057 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13060 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13063 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13065 2009-12-01 Glenn Morris <rgm@gnu.org>
13067 * window.el (window--display-buffer-2): Fix previous changes.
13069 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13071 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13073 2009-12-01 Glenn Morris <rgm@gnu.org>
13075 * Makefile.in (ELCFILES): Add mpc.elc.
13077 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13079 * mpc.el: New file.
13081 2009-12-01 Glenn Morris <rgm@gnu.org>
13083 * window.el (window-to-use): Define for compiler.
13085 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13086 consistent with others (no final period).
13088 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13089 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13091 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13093 Make vc-print-log buttons work.
13094 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13096 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13098 * savehist.el (savehist-autosave-interval): Allow setting to nil
13099 through customize. (Bug#5056)
13101 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13103 Fix references to jit-lock properties.
13104 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13105 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13106 (perl-font-lock-special-syntactic-constructs):
13107 Quote jit-lock-defer-multiline property.
13109 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13111 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13113 2009-11-30 Juri Linkov <juri@jurta.org>
13115 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13116 value `buffer' of `multi-isearch-next-buffer-current-function'.
13117 Use `(current-buffer)' when `buffer' is nil.
13118 (multi-isearch-next-buffer-from-list): Don't fallback to
13119 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13121 2009-11-30 Juri Linkov <juri@jurta.org>
13123 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13124 of buffers with `get-buffer' to `multi-isearch-buffers'.
13125 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13126 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13127 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13128 FILES with `expand-file-name' converting relative file names
13129 to absolute. Doc fix. (Bug#4727)
13131 2009-11-30 Juri Linkov <juri@jurta.org>
13133 * misearch.el (multi-isearch-read-buffers)
13134 (multi-isearch-read-matching-buffers): New functions.
13135 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13136 Use them in the `interactive' spec. Doc fix.
13137 (multi-isearch-read-files, multi-isearch-read-matching-files):
13139 (multi-isearch-files, multi-isearch-files-regexp):
13140 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13142 2009-11-30 Juri Linkov <juri@jurta.org>
13144 * doc-view.el (doc-view-continuous):
13145 Rename from `doc-view-continuous-mode'.
13146 (doc-view-menu): Move "Toggle display" to the top.
13147 Add submenu "Continuous" with radio buttons "Off"/"On"
13148 and "Save as Default".
13149 (doc-view-scroll-up-or-next-page)
13150 (doc-view-scroll-down-or-previous-page)
13151 (doc-view-next-line-or-next-page)
13152 (doc-view-previous-line-or-previous-page):
13153 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13155 2009-11-30 Juri Linkov <juri@jurta.org>
13157 * comint.el (comint-mode-map): Rebind `M-r' from
13158 `comint-previous-matching-input' to
13159 `comint-history-isearch-backward-regexp'.
13160 Unbind `M-s' to allow global key binding `M-s'.
13161 Add menu items for `comint-history-isearch-backward' and
13162 `comint-history-isearch-backward-regexp'. (Bug#3746)
13164 2009-11-30 Juri Linkov <juri@jurta.org>
13166 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13167 For def=recenter, replace `recenter' with `recenter-top-bottom'
13168 that is called with `this-command' and `last-command' let-bound
13169 to `recenter-top-bottom'. When the last `def' was not `recenter',
13170 set `recenter-last-op' to nil. (Bug#4981)
13172 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13174 Minor cleanup and simplification.
13175 * filecache.el (file-cache-add-directory)
13176 (file-cache-add-directory-recursively)
13177 (file-cache-add-from-file-cache-buffer)
13178 (file-cache-delete-file-regexp, file-cache-delete-directory)
13179 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13180 (file-cache-temp-minibuffer-message): Delete function.
13181 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13183 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13184 Don't signal an error when bumping into EOB in tr, s, or y.
13186 2009-11-29 Juri Linkov <juri@jurta.org>
13188 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13191 * descr-text.el (describe-char-unidata-list): Use lowercase name
13192 for "Unicode name" like in other tags.
13194 2009-11-29 Juri Linkov <juri@jurta.org>
13196 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13197 New compatibility macro.
13198 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13200 2009-11-29 Juri Linkov <juri@jurta.org>
13202 Add defcustom to define the cycling order of `recenter-top-bottom'.
13205 * window.el (recenter-last-op): Doc fix.
13206 (recenter-positions): New defcustom.
13207 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13208 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13210 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13212 Improve integration of Tramp and ange-ftp in eshell.
13214 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13215 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13216 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13218 * eshell/esh-util.el (top): Require also Tramp when compiling.
13219 (eshell-directory-files-and-attributes): Check for FTP remote
13221 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13222 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13223 (eshell-file-attributes): Handle ".". Return `entry'.
13225 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13226 (ange-ftp-directory-files-and-attributes)
13227 (ange-ftp-real-directory-files-and-attributes): New defuns.
13229 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13230 shell with "exec" when possible. This prevents trailing prompts
13231 in `start-file-process'.
13233 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13235 Try and remove assumptions about point-min==1.
13236 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13237 (rng-compute-mode-line-string): Show the validation percentage in
13238 terms of the narrowed text, not the widened text.
13239 (rng-do-some-validation): Don't catch internal errors when debugging.
13240 (rng-first-error): Simplify.
13241 (rng-after-change-function): Remove work around. AFAIK the bug has
13242 been fixed a while ago.
13244 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13245 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13247 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13249 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13250 `cd' doesn't always do it for us (bug#5067).
13252 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13253 on 2009-10-25 as part of some other change (bug#5067).
13255 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13257 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13259 (byte-compile-warnings): Use byte-compile-warning-types.
13260 (byte-compile-save-excursion): Warn about use of set-buffer right
13261 after save-excursion.
13263 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13264 the excursion as well.
13266 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13268 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13269 providing a Tramp related implementation of "su" and "sudo".
13270 (eshell-unix-initialize): Add "su" and "sudo".
13272 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13274 * net/socks.el (socks-send-command): Convert binary request to
13275 unibyte before sending. This fixes mishandling of some port
13276 numbers such as 129.
13278 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13280 * help.el (describe-bindings-internal): Remove `interactive'.
13282 * man.el (Man-completion-table): Trim a terminating "(".
13283 Remove the space between name page a section.
13284 Add the command's description on the `help-echo' property.
13285 Remove `process-connection-type' binding since it's unused by
13287 Provide completion for the "<section> <name>" format as well.
13288 (Man-default-man-entry): Remove spurious var shadowing the argument.
13290 2009-11-26 Kevin Ryde <user42@zip.com.au>
13292 * log-view.el: Add "Keywords: tools", since its other keywords
13293 aren't in finder-known-keywords, and following vc.el.
13295 * sha1.el (sha1-string-external): default-directory "/" in case
13296 otherwise non-existent. process-connection-type pipe for touch of
13297 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13299 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13301 Misc coding convention cleanups.
13302 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13303 hfy-init-kludge-hooks.
13304 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13305 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13306 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13308 (hfy-slant, hfy-weight): Use tables rather than code.
13309 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13310 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13311 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13312 (hfy-face-to-css): Remove `nconc' with single arg.
13313 (hfy-p-to-face-lennart): Use `or'.
13314 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13315 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13316 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13317 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13318 (hfy-force-fontification): Use run-hooks.
13320 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13322 Various minor fixes.
13323 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13324 Javascript belongs in the header, not the body.
13325 (hfy-javascript): Remove.
13326 (hfy-fontify-buffer): Don't insert it any more.
13327 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13328 Fix bug in invis handling when there were no invis props in a chunk.
13330 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13332 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13334 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13336 * finder.el (finder-mode-map): Add a menu.
13338 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13340 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13341 "unsigned" structs.
13343 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13344 fork" statement better.
13346 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13348 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13349 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13350 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13351 Reported by Clay Douglass.
13353 (verilog-auto-inst, verilog-auto-star-safe)
13354 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13355 Fix removing "// Interfaces" when saving .* expansions.
13356 Reported by Pierre-David Pfister.
13358 2009-11-26 Glenn Morris <rgm@gnu.org>
13360 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13363 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13365 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13366 Really use previous revision.
13368 2009-11-25 Kevin Ryde <user42@zip.com.au>
13370 * man.el (Man-completion-table): default-directory "/" in case
13371 doesn't otherwise exist. process-environment COLUMNS=999 so as
13372 not to truncate long names. process-connection-type pipe to avoid
13373 any chance of hitting the pseudo-tty TIOCGWINSZ.
13374 (man): completion-ignore-case t for friendliness and since man
13375 itself is case-insensitive on the command line.
13376 Further to Bug#3717.
13378 * arc-mode.el: Add "Keywords: files", so the details in its
13379 commentary can be reached from finder-by-keyword.
13380 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13381 editing mode, but it's comms related and sgml-mode.el has "comm"
13383 * textmodes/bibtex-style.el: Add "Keywords: tex".
13384 * international/isearch-x.el, international/ja-dic-cnv.el:
13385 * international/ja-dic-utl.el, international/kkc.el:
13386 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13388 2009-11-25 Juri Linkov <juri@jurta.org>
13390 * man.el (Man-completion-table): Modify regexp to include
13391 section names to completion strings. (Bug#3717)
13393 2009-11-25 Juri Linkov <juri@jurta.org>
13395 Search recursively in gzipped files. (Bug#4982)
13397 * progmodes/grep.el (grep-highlight-matches): Add new options
13398 `always' and `auto'. Doc fix.
13399 (grep-process-setup): Check `grep-highlight-matches' for
13400 `auto-detect' to determine the need to compute grep defaults.
13401 Move Windows/DOS specific --colors settings handling
13402 to `grep-compute-defaults'. Check `grep-highlight-matches'
13403 to get the value of "--color=".
13404 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13405 has the value `auto-detect'. Move Windows/DOS specific settings
13406 from `grep-process-setup'.
13407 (zrgrep): New command with alias `rzgrep'.
13409 2009-11-25 Juri Linkov <juri@jurta.org>
13411 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13412 to nil instead of switching off view-mode. (Bug#4896)
13414 2009-11-25 Juri Linkov <juri@jurta.org>
13416 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13418 * mwheel.el (mwheel-scroll-up-function)
13419 (mwheel-scroll-down-function): New defvars.
13420 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13421 `scroll-up', and `mwheel-scroll-down-function' instead of
13424 * doc-view.el (doc-view-scroll-up-or-next-page)
13425 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13426 Use this ARG in the call to image-scroll-up/image-scroll-down.
13427 Change `interactive' spec to "P". Goto next/previous page only
13428 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13429 SPC/DEL case). Doc fix.
13430 (doc-view-next-line-or-next-page)
13431 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13433 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13434 `doc-view-scroll-up-or-next-page', and buffer-local
13435 `mwheel-scroll-down-function' to
13436 `doc-view-scroll-down-or-previous-page'.
13438 2009-11-25 Juri Linkov <juri@jurta.org>
13440 Provide additional default values (directories at other Dired
13441 windows) via M-n in the minibuffer of some Dired commands.
13443 * dired-aux.el (dired-diff, dired-compare-directories)
13444 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13445 `minibuffer-default' in `minibuffer-with-setup-hook'.
13446 (dired-dwim-target-directory): Find a window that displays Dired
13447 buffer instead of failing when the next window is not Dired.
13448 Use `get-window-with-predicate' to find for the next Dired window.
13449 (dired-dwim-target-defaults): New function.
13451 * ediff-util.el (ediff-read-file-name):
13452 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13453 in `minibuffer-with-setup-hook'.
13455 2009-11-25 Juri Linkov <juri@jurta.org>
13457 Provide additional default values (file name at point or at the
13458 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13460 * minibuffer.el (read-file-name-defaults): New function.
13461 (read-file-name): Reset `minibuffer-default' to nil when
13462 it duplicates initial input `insdef'.
13463 Bind `minibuffer-default-add-function' to lambda that
13464 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13465 (minibuffer-insert-file-name-at-point): New command.
13467 * files.el (file-name-at-point-functions): New defcustom.
13468 (find-file-default): Remove defvar.
13469 (find-file-read-args): Don't use `find-file-default'.
13470 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13471 to `read-file-name'.
13472 (find-file-literally): Use `read-file-name' with
13473 `confirm-nonexistent-file-or-buffer'.
13475 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13477 * dired.el (dired-read-dir-and-switches):
13478 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13479 to `read-file-name'.
13480 (dired-file-name-at-point): New function.
13481 (dired-mode): Add hook `dired-file-name-at-point' to
13482 `file-name-at-point-functions'.
13484 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13486 Really make the *Completions* window soft-dedicated (bug#5030).
13487 * window.el (window--display-buffer-2): Add `dedicated' argument.
13488 (display-buffer): Pass it when needed so the dedicated flag is set
13489 after calling set-window-buffer, which would otherwise reset it.
13491 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13493 * progmodes/meta-mode.el (meta-complete-symbol):
13494 * progmodes/etags.el (complete-tag):
13495 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13496 Use completion-in-region.
13498 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13499 (dabbrev-completion): Use completion-in-region.
13500 (dabbrev--abbrev-at-point): Simplify regexp.
13502 * abbrev.el (abbrev--before-point): Use word-motion functions
13503 if :regexp is not specified (bug#5031).
13505 * subr.el (string-prefix-p): New function.
13507 * man.el (Man-completion-cache): New var.
13508 (Man-completion-table): Use it.
13510 * vc.el (vc-print-log-internal): Make `limit' optional for better
13511 compatibility (e.g. with vc-annotate.el).
13513 2009-11-24 Kevin Ryde <user42@zip.com.au>
13515 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13516 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13518 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13519 when .el source file not found or other error.
13521 2009-11-24 Markus Triska <markus.triska@gmx.at>
13523 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13525 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13527 Handle the [back] button properly (bug#4979).
13528 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13529 Use help-setup-xref, help-buffer, and with-help-window.
13530 (describe-char): Add `buffer' argument.
13531 Pass proper command to help-setup-xref. Don't meddle with
13532 help-xref-stack-item directly.
13533 (describe-text-category): Use with-help-window and help-buffer.
13535 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13536 for the displayed buffer (bug#4887).
13538 * man.el (Man-completion-table): New function.
13541 2009-11-24 David Reitter <david.reitter@gmail.com>
13543 * vc-git.el (vc-git-registered): Use checkout directory (where
13544 .git is) rather than the file's directory and a relative path spec
13545 to work around a bug in git.
13547 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
13549 Improve handling of processes on remote hosts.
13551 * eshell/esh-util.el (eshell-path-env): New defvar.
13552 (eshell-parse-colon-path): New defun.
13553 (eshell-file-attributes): Use `eshell-parse-colon-path'.
13555 * eshell/esh-ext.el (eshell-search-path):
13556 Use `eshell-parse-colon-path'.
13557 (eshell-remote-command): Remove argument HANDLER.
13558 (eshell-external-command): Check for FTP remote connection.
13560 * eshell/esh-proc.el (eshell-gather-process-output):
13561 Use `file-truename', in order to start also symlinked files.
13562 Apply `start-file-process' instead of `start-process'.
13563 Shorten `command' to the local file name part.
13565 * eshell/em-cmpl.el (eshell-complete-commands-list):
13566 Use `eshell-parse-colon-path'.
13568 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13570 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
13571 to `eshell-directory-change-hook'.
13573 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
13575 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13576 because it could be enabled automatically if view-read-only is non-nil.
13578 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
13580 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13581 made on 2009-11-22.
13583 2009-11-24 Glenn Morris <rgm@gnu.org>
13585 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13586 deleted variable bookmark-bmenu-bookmark-column.
13588 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13590 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13592 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
13594 * net/browse-url.el (browse-url-filename-alist): On Windows, add
13595 two slashes to the "file:" prefix.
13596 (browse-url-file-url): De-munge Cygwin filenames before passing
13597 them to Windows browser.
13598 (browse-url-default-windows-browser): Use call-process.
13600 2009-11-23 Juri Linkov <juri@jurta.org>
13602 Implement DocView Continuous mode. (Bug#4896)
13603 * doc-view.el (doc-view-continuous-mode): New defcustom.
13604 (doc-view-mode-map): Bind C-n/<down> to
13605 `doc-view-next-line-or-next-page', C-p/<up> to
13606 `doc-view-previous-line-or-previous-page'.
13607 (doc-view-next-line-or-next-page)
13608 (doc-view-previous-line-or-previous-page): New commands.
13610 2009-11-23 Juri Linkov <juri@jurta.org>
13612 Implement Isearch in comint input history. (Bug#3746)
13613 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13614 `isearch-mode-hook'.
13615 (comint-history-isearch): New defcustom.
13616 (comint-history-isearch-backward)
13617 (comint-history-isearch-backward-regexp): New commands.
13618 (comint-history-isearch-message-overlay): New buffer-local variable.
13619 (comint-history-isearch-setup, comint-history-isearch-end)
13620 (comint-goto-input, comint-history-isearch-search)
13621 (comint-history-isearch-message, comint-history-isearch-wrap)
13622 (comint-history-isearch-push-state)
13623 (comint-history-isearch-pop-state): New functions.
13625 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
13627 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13629 (tramp-handle-make-symbolic-link)
13630 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13632 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13633 (tramp-handle-process-file): Use it.
13635 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
13637 * window.el (move-to-window-line-last-op): Remove.
13638 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13640 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
13642 Make M-r mirror the new cycling behavior of C-l.
13643 * window.el (move-to-window-line-last-op): New var.
13644 (move-to-window-line-top-bottom): New command.
13645 (global-map): Bind M-r move-to-window-line-top-bottom.
13647 2009-11-23 Sven Joachim <svenjoac@gmx.de>
13649 * dired-x.el (dired-guess-shell-alist-default):
13650 Support xz format. (Bug#4953)
13652 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
13654 * emulation/viper-cmd.el: Use viper-last-command-char instead of
13655 last-command-char/last-command-event.
13656 (viper-prefix-arg-value): Do correct conversion of event-char for
13659 * emulation/viper-util.el, emulation/viper.el:
13660 Use viper-last-command-char instead of
13661 last-command-char/last-command-event.
13663 * ediff-init.el, ediff-mult.el, ediff-util.el:
13664 Replace last-command-char and last-command-event
13665 with (ediff-last-command-char) everywhere.
13667 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13668 created in fundamental mode.
13670 * ediff.el (ediff-version): Revert the change of interactive-p to
13671 called-interactively-p.
13673 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
13675 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13676 generation from word-movement command names.
13678 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
13680 * cus-start.el (all): Add native condition for font-use-system-font.
13682 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
13684 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13685 Correct the patch from 2009-11-18. (Bug#3910)
13687 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
13689 * progmodes/subword.el: Rename from lisp/subword.el.
13691 * subword.el: Rename to progmodes/subword.el.
13693 * Makefile.in (ELCFILES): Adapt to subword.el move.
13695 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13696 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13699 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13700 (bookmark-bmenu-show-filenames): Use push.
13701 (bookmark-bmenu-hide-filenames): Use local var instead of
13702 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
13703 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13704 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13705 filenames now that the bookmark names are always available.
13707 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13709 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13710 (bookmark-search-pattern): Move and leave unbound.
13711 (bookmark-bmenu-mode-map): Change binding.
13712 (bookmark-read-search-input): Simplify.
13713 Don't use text-char-description. Don't error on non-char events.
13714 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13715 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13716 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13717 Use a local var for the timer.
13718 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13719 (i.e. bookmark-bmenu-search).
13721 2009-11-21 Glenn Morris <rgm@gnu.org>
13723 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
13725 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
13727 * net/browse-url.el (browse-url-default-windows-browser):
13728 Use cygstart for cygwin.
13730 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
13732 * bookmark.el: Formatting and doc fixes only:
13733 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13734 (bookmark-bmenu-search): Wrap to fit within 80 columns.
13735 Minor grammar and punctuation fixes in doc string.
13736 (bookmark-read-search-input): Adjust to fit within 80 columns.
13738 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13740 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13741 (c-backward-into-nomenclature): Adapt to subword renaming.
13743 * subword.el (subword-forward, subword-backward, subword-mark)
13744 (subword-kill, subword-backward-kill, subword-transpose)
13745 (subword-downcase, subword-upcase, subword-capitalize)
13746 (subword-forward-internal, subword-backward-internal):
13747 Rename from forward-subword, backward-subword, mark-subword,
13748 kill-subword, backward-kill-subword, transpose-subwords,
13749 downcase-subword, upcase-subword, capitalize-subword,
13750 forward-subword-internal, backward-subword-internal.
13752 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13754 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13756 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13758 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13759 (bookmark-bmenu-filter-alist-by-regexp)
13760 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13761 (bookmark-bmenu-search): New command.
13762 (bookmark-bmenu-mode-map): Bind it.
13764 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
13766 * progmodes/cc-cmds.el: declare-functioned forward-subword and
13767 backward-subword to quit the byte-compiler.
13769 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13771 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13773 * progmodes/cc-cmds.el (c-update-modeline)
13774 (c-forward-into-nomenclature, c-backward-into-nomenclature):
13775 Refer to subword.el functions instead of cc-subword.el.
13777 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13778 subword.el functions instead of cc-subword.el.
13780 * progmodes/cc-subword.el: Rename to subword.el.
13781 * subword.el: Rename from progmodes/cc-subword.el.
13782 (subword-mode-map): Rename from c-subword-mode-map.
13783 (subword-mode): Rename from c-subword-mode.
13784 (global-subword-mode): New global minor mode.
13785 (forward-subword): Rename from c-forward-subword.
13786 (backward-subword): Rename from c-backward-subword.
13787 (mark-subword): Rename from c-mark-subword.
13788 (kill-subword): Rename from c-kill-subword.
13789 (backward-kill-subword): Rename from c-backward-kill-subword.
13790 (transpose-subwords): Rename from c-tranpose-subword.
13791 (downcase-subword): Rename from c-downcase-subword.
13792 (capitalize-subword): Rename from c-capitalize-subword.
13793 (forward-subword-internal): Rename from c-forward-subword-internal.
13794 (backward-subword-internal): Rename from c-backward-subword-internal.
13796 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
13798 * vc.el (vc-deduce-fileset): Allow non-state changing operations
13799 from a dired buffer.
13800 (vc-dired-deduce-fileset): New function.
13801 (vc-root-diff, vc-print-root-log): Use it.
13803 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13804 nil LIMIT argument to vc-print-log-internal.
13806 2009-11-20 Glenn Morris <rgm@gnu.org>
13808 * Makefile.in (ELCFILES): Regenerate.
13810 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
13812 * calc/calc.el (calc-set-mode-line):
13813 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13814 (math-format-number): Rename `math-format-complement-signed' to
13815 `math-format-twos-complement'.
13817 * calc/calc-bin.el (math-format-twos-complement): Rename from
13818 math-format-complement-signed.
13819 (calc-radix): Rename `calc-complement-signed-mode' to
13820 `calc-twos-complement-mode'.
13821 (calc-octal-radix, calc-hex-radix): Add an argument for
13824 * calc/calc-embed.el (calc-embedded-mode-vars):
13825 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13827 * calc/calc-ext.el (calc-init-extensions):
13828 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13829 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13831 * calc/calc-units.el (math-build-units-table-buffer):
13832 Let `calc-twos-complement-mode' be nil.
13834 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13837 * calc/calc-vec.el (calcFunc-vunpack):
13838 * calc/calc-aent.el (calc-do-calc-eval):
13839 * calc/calc-forms.el (math-format-date):
13840 * calc/calc-graph.el (calc-graph-plot):
13841 * calc/calc-math.el (math-use-emacs-fn):
13842 * calc/calccomp.el (math-compose-expr):
13843 Let `calc-twos-complement-mode' be nil.
13845 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13847 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13848 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
13849 * minibuffer.el (completion-in-region-functions): New hook.
13850 (completion-in-region): New function.
13851 * emacs-lisp/lisp.el (lisp-complete-symbol):
13852 * pcomplete.el (pcomplete-std-complete): Use it.
13854 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
13856 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13857 (latex-complete-alist): New vars.
13858 (latex-string-prefix-p, latex-complete-bibtex-keys)
13859 (latex-complete-envnames, latex-complete-refkeys)
13860 (latex-complete-data): New functions.
13861 (latex-complete, latex-indent-or-complete): New commands.
13863 * window.el (display-buffer-mark-dedicated): New var.
13864 (display-buffer): Obey it.
13865 * minibuffer.el (minibuffer-completion-help): Use it.
13867 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13869 * filecache.el (file-cache-add-file): Use push and cons.
13870 (file-cache-delete-file-regexp): Use push.
13871 (file-cache-complete): Use completion-in-region.
13873 * simple.el (with-wrapper-hook): Fix thinko.
13875 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13876 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13877 Use with-current-buffer and string-to-number.
13878 (hfy-fallback-colour-values): Use assoc-string.
13879 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13880 (hfy-face-at): Remove unused var `found-face'.
13881 (hfy-compile-stylesheet): Remove unused var `css'.
13882 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13884 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13885 Use with-current-buffer.
13886 (hfy-text-p): Use expand-file-name and fewer setq.
13888 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
13890 * htmlfontify.el, hfy-cmap.el: New files.
13892 2009-11-19 Juri Linkov <juri@jurta.org>
13894 * minibuffer.el (completions-format): New defcustom.
13895 (completion--insert-strings): Implement vertical format.
13897 * simple.el (switch-to-completions): Move point to the first
13898 completion when point was at the beginning of the buffer.
13900 2009-11-19 Juri Linkov <juri@jurta.org>
13902 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
13904 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13906 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
13908 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13909 (mail-signature): Change default to t.
13910 (mail-from-style): Deprecate `system-default' value.
13911 (mail-insert-from-field): For default value of mail-from-style,
13912 default to `angles' unless `angles' needs quoting and `parens'
13914 (mail-citation-prefix-regexp): Use citation regexp from
13917 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
13919 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13920 Set variables for computing the prompt for reading password.
13922 2009-11-19 Glenn Morris <rgm@gnu.org>
13924 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
13926 * textmodes/flyspell.el (sgml-lexical-context): Declare.
13928 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13929 (newsticker-treeview-listwindow-height): Fix custom type.
13931 2009-11-19 Kenichi Handa <handa@m17n.org>
13933 * descr-text.el (describe-char-padded-string): Compose with TAB
13934 only if there's a font for CH.
13935 (describe-char): Fix the condition for detecting a trivial composition.
13937 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
13939 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13940 more accurate version of the regexp. (Bug#3910)
13942 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
13944 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13946 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
13948 * font-setting.el (font-use-system-font): Declare for byte-compiler.
13949 (font-setting-change-default-font): Fix typo in docstring.
13951 2009-11-18 Alan Mackenzie <acm@muc.de>
13953 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13955 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13957 * font-setting.el (font-use-system-font): Move ...
13959 * cus-start.el (all): ... to here.
13961 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
13963 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13964 Don't set `ad-return-value' if `ad-do-it' doesn't.
13966 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13969 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
13971 * menu-bar.el: Put "Use system font" in Option-menu.
13972 (menu-bar-options-save): Add font-use-system-font.
13974 * loadup.el: If feature system-font-setting or font-render-setting is
13975 there, load font-setting.
13977 * Makefile.in (ELCFILES): Add font-settings.el.
13978 * font-setting.el: New file.
13980 2009-11-17 Glenn Morris <rgm@gnu.org>
13982 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13984 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13985 Preserve point in the list buffer. (Bug#4939)
13987 (newsticker--treeview-list-update-highlight)
13988 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13990 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
13992 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13995 * calc/calc-ext.el (calc-init-extensions): Remove references to
13998 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14000 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14001 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14004 2009-11-16 Kevin Ryde <user42@zip.com.au>
14006 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14007 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14009 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14010 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14011 Ignore trailing spaces by omit-nulls to split-string (fixing
14012 regression from Emacs 21 due to the incompatible split-string
14013 change). (Bug #4928.)
14015 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14017 * vc.el (vc-log-show-limit): Default to 2000.
14018 (vc-print-log-internal): Insert buttons to request more entries
14019 when limiting the output.
14021 * vc-sccs.el (vc-sccs-print-log):
14022 * vc-rcs.el (vc-rcs-print-log):
14023 * vc-cvs.el (vc-cvs-print-log):
14024 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14027 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14029 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14030 error when `tramp-gvfs-dbus-event-vector' is set.
14031 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14033 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14035 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14037 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14039 * net/dbus.el (dbus-unregister-service): New defun.
14040 (dbus-register-property): Register the handlers of
14041 "org.freedesktop.DBus.Properties" for SERVICE.
14042 (dbus-property-handler): Fix docstring.
14044 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14046 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14047 Quote doc string reference in defvaralias as it is not in special form.
14048 (byte-compile-output-docform): Doc fix.
14050 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14052 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14053 (calc-complement-signed-mode): New variables.
14054 (calc-set-mode-line): Add indicator for twos-complements.
14055 (math-format-number): Format twos-complement notation.
14057 * calc/calc-bin.el (calc-word-size): Reset the variables
14058 `math-2-word-size' and `math-half-2-word-size'.
14059 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14060 (calc-symclip): New functions.
14062 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14064 * calc/calc-embed.el (calc-embedded-mode-vars):
14065 Add `calc-complement-signed-mode' to the list of modes.
14067 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14068 (calc-b-oper-keys): Add `calc-symclip' to list.
14070 * calc/calc-ext.el (math-read-number-fancy): Read complement
14072 (calc-init-extensions): Add binding for `calc-symclip'.
14073 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14075 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14077 (calc-modes-menu): Add item for twos complement mode.
14079 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14081 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14083 * register.el (jump-to-register, insert-register): Handle Semantic
14084 tags. From commented-out advice in semantic/senator.el.
14086 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14088 * vc.el (vc-log-show-limit): New variable.
14089 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14090 when using a prefix argument.
14091 (vc-print-log-internal): Add new argument LIMIT.
14093 * vc-svn.el (vc-svn-print-log):
14094 * vc-mtn.el (vc-mtn-print-log):
14095 * vc-hg.el (vc-hg-print-log):
14096 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14097 pass it to the log command when set. Make the BUFFER argument
14100 * vc-sccs.el (vc-sccs-print-log):
14101 * vc-rcs.el (vc-rcs-print-log):
14102 * vc-git.el (vc-git-print-log):
14103 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14104 ignore it. Make the BUFFER argument non-optional
14106 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14108 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14110 * dired.el (dired-mode-map): Move encryption items to "Operate"
14113 * strokes.el (strokes-update-window-configuration): Make strokes
14114 buffer current before erasing (Bug#4906).
14116 2009-11-15 Juri Linkov <juri@jurta.org>
14118 * simple.el (set-mark-default-inactive): Add :type, :group
14119 and :version. (Bug#4876)
14121 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14123 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14124 (archive-unique-fname): ... here. (Bug#4929)
14126 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14128 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14131 * novice.el (disabled-command-function): Add useful args.
14132 Setup the help buffer so that [back] works.
14133 Remove redundant call to help-mode.
14134 (disabled-command-function): Use `case'.
14135 (en/disable-command): New function extracted from enable-command.
14136 (enable-command, disable-command): Use it.
14138 2009-11-14 Glenn Morris <rgm@gnu.org>
14140 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14141 constants. (Bug#4913)
14143 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14145 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14147 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14148 defined in C that have no doc-strings. (Bug#1063)
14150 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14152 * cus-edit.el (data, files):
14153 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14155 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14157 * simple.el (shell-command): Doc fix (Bug#4891).
14159 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14161 2009-11-14 Glenn Morris <rgm@gnu.org>
14163 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14164 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14165 If they are already loaded, eval-after-load will do the right thing.
14167 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14170 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14172 * simple.el (x-selection-owner-p): Declare.
14173 (read-mail-command): Use custom radio type rather than choice.
14174 (completion-no-auto-exit): Doc fix.
14176 * custom.el (defgroup):
14177 * epg-config.el (epg): Doc fixes.
14179 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14181 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14182 * international/ccl.el (define-ccl-program): Do not purecopy the
14183 docstring, defconst does it anyway.
14185 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14187 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14190 * x-dnd.el (x-dnd-maybe-call-test-function):
14191 * window.el (split-window-vertically):
14192 * whitespace.el (whitespace-help-on):
14193 * vc-rcs.el (vc-rcs-consult-headers):
14194 * userlock.el (ask-user-about-lock-help)
14195 (ask-user-about-supersession-help):
14196 * type-break.el (type-break-force-mode-line-update):
14197 * time-stamp.el (time-stamp-conv-warn):
14198 * terminal.el (te-set-output-log, te-more-break, te-filter)
14199 (te-sentinel, terminal-emulator):
14200 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14201 (term-write-input-ring, term-check-source, term-start-output-log):
14202 (term-display-buffer-line, term-dynamic-list-completions):
14203 (term-ansi-make-term, serial-term):
14204 * subr.el (selective-display):
14205 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14206 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14207 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14208 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14209 (speedbar-remove-localized-speedbar-support)
14210 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14211 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14212 (speedbar-buffers-line-directory):
14213 * simple.el (shell-command-on-region, append-to-buffer)
14214 (prepend-to-buffer):
14215 * shadowfile.el (shadow-save-todo-file):
14216 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14217 (scroll-bar-maybe-set-window-start):
14218 * sb-image.el (speedbar-image-dump):
14219 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14220 (load-save-place-alist-from-file):
14221 * ps-samp.el (ps-print-message-from-summary):
14222 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14223 (ps-background-image, ps-begin-job, ps-do-despool):
14224 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14225 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14226 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14227 (pr-call-process, pr-file-list, pr-interface-save):
14228 * novice.el (disabled-command-function)
14229 (enable-command, disable-command):
14230 * mouse.el (mouse-buffer-menu-alist):
14231 * mouse-copy.el (mouse-kill-preserving-secondary):
14232 * macros.el (kbd-macro-query):
14233 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14234 * informat.el (batch-info-validate):
14235 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14236 * hippie-exp.el (try-expand-dabbrev-visible):
14237 * help-mode.el (help-make-xrefs):
14238 * help-fns.el (describe-variable):
14239 * generic-x.el (bat-generic-mode-run-as-comint):
14240 * finder.el (finder-mouse-select):
14241 * find-dired.el (find-dired-sentinel):
14242 * filesets.el (filesets-file-close):
14243 * files.el (list-directory):
14244 * faces.el (list-faces-display, describe-face):
14245 * facemenu.el (list-colors-display):
14246 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14247 * epg.el (epg--process-filter, epg-cancel):
14248 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14249 (epa--read-signature-type):
14250 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14251 (emerge-file-names):
14252 * ehelp.el (electric-helpify):
14253 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14254 * ediff-vers.el (rcs-ediff-view-revision):
14255 * ediff-util.el (ediff-setup):
14256 * ediff-mult.el (ediff-append-custom-diff):
14257 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14259 * echistory.el (Electric-command-history-redo-expression):
14260 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14261 * disp-table.el (describe-display-table):
14262 * dired.el (dired-find-buffer-nocreate):
14263 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14264 * dabbrev.el (dabbrev--same-major-mode-p):
14265 * chistory.el (list-command-history):
14266 * apropos.el (apropos-documentation):
14267 * allout.el (allout-obtain-passphrase):
14268 (allout-copy-exposed-to-buffer):
14269 (allout-verify-passphrase): Use with-current-buffer.
14271 2009-11-13 Glenn Morris <rgm@gnu.org>
14273 * Makefile.in (ELCFILES): Regenerate.
14275 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14277 * net/dbus.el (dbus-registered-objects-table): Rename from
14278 `dbus-registered-functions-table', because it contains also properties.
14279 (dbus-unregister-object): Unregister also properties.
14280 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14281 Use a timeout of 500 msec, in order to not block.
14282 (dbus-register-property, dbus-property-handler): New defuns.
14284 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14286 * simple.el (minibuffer-default-add-completions): Drop deprecated
14289 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14291 * textmodes/artist.el (artist-mouse-choose-operation):
14292 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14293 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14294 (artist-compute-up-event-key): New function.
14295 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14297 2009-11-13 Kenichi Handa <handa@m17n.org>
14299 * language/japan-util.el: Make sure that the value of jisx0208
14300 property is jisx0208 character.
14302 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14304 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14305 car or each item, not the whole list.
14307 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14309 * minibuffer.el (minibuffer-completion-help):
14310 Use minibuffer-hide-completions.
14312 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14314 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14315 (dired-revert): Use them (bug#4880).
14317 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14319 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14321 2009-11-12 Juri Linkov <juri@jurta.org>
14323 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14325 (find-file-literally-at-point): Alias of `ffap-literally'.
14327 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14329 * textmodes/ispell.el (ispell-skip-region-alist):
14330 * textmodes/css-mode.el (auto-mode-alist):
14331 * progmodes/compile.el (auto-mode-alist):
14332 * international/mule.el (ctext-non-standard-encodings-alist)
14333 (ctext-non-standard-encodings-regexp):
14334 * simple.el (shell-command-switch, text-read-only):
14335 * replace.el (occur-mode-map):
14336 * paths.el (rmail-file-name):
14337 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14338 * find-file.el (ff-special-constructs):
14339 * files.el (file-name-handler-alist):
14340 * composite.el: Purecopy strings.
14342 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14344 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14346 * widget.el (define-widget): Purecopy the docstring.
14347 * international/mule-cmds.el (charset): Do not purecopy the
14348 docstring here, define-widget does it.
14350 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14351 * textmodes/bibtex-style.el (auto-mode-alist):
14352 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14353 * progmodes/compile.el (compile-command):
14354 * language/korea-util.el (default-korean-keyboard):
14355 * international/mule-conf.el (file-coding-system-alist):
14356 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14357 * tooltip.el (tooltip-frame-parameters):
14358 * newcomment.el (comment-end, comment-padding):
14359 * dired.el (dired-trivial-filenames):
14360 * comint.el (comint-file-name-prefix): Purecopy initial values.
14362 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14364 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14365 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14367 (tramp-advice-make-auto-save-file-name)
14368 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14369 after removing the advice.
14371 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14373 * progmodes/grep.el (grep-regexp-alist):
14374 * international/mule-cmds.el (iso-2022-control-alist):
14375 * emacs-lisp/timer.el (timer-duration-words):
14376 * subr.el (version-separator, version-regexp-alist):
14377 * minibuffer.el (completion-styles-alist):
14378 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14379 Change defvars to defconsts.
14381 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14382 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14383 * international/mule-conf.el: Allow to be byte compiled.
14385 * international/mule.el (define-charset): Purecopy props.
14386 (load-with-code-conversion): Purecopy doc string and file name.
14387 (put-charset-property): Purecopy strings.
14388 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14390 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14391 (define-char-code-property): Correctly purecopy the table.
14393 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14395 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14397 * subr.el (add-hook): Purecopy strings.
14398 (eval-after-load): Purecopy load-history-regexp and the form.
14400 * custom.el (custom-declare-group): Purecopy load-file-name.
14402 * subr.el (menu-bar-separator): New defconst.
14403 * net/eudc.el (eudc-tools-menu):
14404 * international/mule-cmds.el (set-coding-system-map)
14405 (mule-menu-keymap):
14406 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14407 * vc-hooks.el (vc-menu-map):
14408 * replace.el (occur-mode-map):
14409 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14410 (menu-bar-edit-menu, menu-bar-goto-menu)
14411 (menu-bar-custom-menu, menu-bar-showhide-menu)
14412 (menu-bar-options-menu, menu-bar-tools-menu)
14413 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14414 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14415 (menu-bar-help-menu):
14416 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14417 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14419 * term/x-win.el (x-gtk-stock-map):
14420 * progmodes/vera-mode.el (auto-mode-alist):
14421 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14422 (inferior-lisp-program, inferior-lisp-load-command):
14423 * progmodes/hideshow.el (hs-special-modes-alist):
14424 * progmodes/gud.el (same-window-regexps):
14425 * progmodes/grep.el (grep-program, find-program, xargs-program):
14426 * net/telnet.el (same-window-regexps):
14427 * net/rlogin.el (same-window-regexps):
14428 * language/ethiopic.el (font-ccl-encoder-alist):
14429 * vc-sccs.el (vc-sccs-master-templates):
14430 * vc-rcs.el (vc-rcs-master-templates):
14431 * subr.el (cl-assertion-failed):
14432 * simple.el (next-error-overlay-arrow-position):
14433 * lpr.el (lpr-command):
14434 * locate.el (locate-ls-subdir-switches):
14435 * info.el (same-window-regexps, info)
14436 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14437 * image-mode.el (image-mode, auto-mode-alist):
14438 * hippie-exp.el (hippie-expand-ignore-buffers):
14439 * format.el (format-alist):
14440 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14442 * facemenu.el (facemenu-keybindings):
14443 * dired.el (dired-listing-switches, dired-chown-program):
14444 * diff.el (diff-switches, diff-command):
14445 * cus-edit.el (same-window-regexps):
14446 * bindings.el (mode-line-mule-info)
14447 (mode-line-buffer-identification): Purecopy strings.
14449 2009-11-11 Juri Linkov <juri@jurta.org>
14451 * simple.el (dired-get-filename) <declare-function>:
14452 Tell the byte-compiler about dired-get-filename.
14453 (shell-command): In Dired mode, get filename from the current line
14454 as the default value.
14456 2009-11-10 Glenn Morris <rgm@gnu.org>
14458 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14459 * calendar/holidays.el, progmodes/cperl-mode.el:
14460 Update x-popup-menu declarations.
14462 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14463 (list-load-path-shadows): Use dolist.
14464 (list-load-path-shadows): Use with-current-buffer.
14466 2009-11-10 Juri Linkov <juri@jurta.org>
14468 * minibuffer.el (read-file-name): Support a list of default values
14469 in `default-filename'. Use the first file name where only one
14470 element is required. Doc fix.
14472 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14474 * net/dbus.el (dbus-unregister-object): Release service, if no
14475 other method is registered for it.
14477 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14479 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14480 bookmark-sort-flag is non-nil (Bug#4653).
14482 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14484 * emulation/cua-base.el: Add CUA property to some CC mode commands
14487 2009-11-08 Kevin Ryde <user42@zip.com.au>
14489 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14490 at end of sentence (Bug#4818).
14492 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14494 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14495 Handle "see declaration of" MSFT statements (Bug#4100).
14497 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14499 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14500 (tramp-advice-file-expand-wildcards): Unload via
14501 `ad-remove-advice'.
14503 * net/trampver.el: Update release number.
14505 2009-11-08 Kevin Ryde <user42@zip.com.au>
14507 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14510 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14512 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14513 in order to keep context in SELinux.
14515 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14517 * dired-aux.el (dired-query): Place cursor in echo area and allow
14520 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14521 menu item if not on a directory (Bug#4701).
14523 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14525 Sync with Tramp 2.1.17.
14527 * net/tramp.el (tramp-handle-copy-directory): Don't use
14528 `file-remote-p' (due to compatibility).
14530 * net/tramp-compat.el (tramp-compat-copy-directory)
14531 (tramp-compat-delete-directory): New defuns.
14533 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14534 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14535 Use `tramp-compat-delete-directory'.
14537 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14538 (tramp-smb-handle-delete-directory):
14539 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14541 * net/trampver.el: Update release number.
14543 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
14545 * tar-mode.el (tar-copy): Call write-region on the right buffer
14548 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14549 by hand, if necessary (Bug#4878).
14551 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
14553 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14554 align size column (Bug#4839).
14556 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14559 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14561 * progmodes/ld-script.el (auto-mode-alist):
14562 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14564 * cus-face.el (custom-declare-face): Purecopy face spec.
14566 2009-11-06 Kenichi Handa <handa@m17n.org>
14568 * international/uni-bidi.el: Re-generated.
14569 * international/uni-category.el: Re-generated.
14570 * international/uni-combining.el: Re-generated.
14571 * international/uni-mirrored.el: Re-generated.
14573 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
14575 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14576 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14577 (tex-start-options, slitex-run-command, latex-run-command)
14578 (tex-run-command, tex-directory):
14579 * textmodes/ispell.el (ispell-html-skip-alists)
14580 (ispell-tex-skip-alists, ispell-tex-skip-alists):
14581 * textmodes/fill.el (adaptive-fill-first-line-regexp):
14582 (adaptive-fill-regexp):
14583 * textmodes/dns-mode.el (auto-mode-alist):
14584 * progmodes/python.el (interpreter-mode-alist):
14585 * progmodes/etags.el (tags-compression-info-list):
14586 * progmodes/etags.el (tags-file-name):
14587 * net/browse-url.el (browse-url-galeon-program)
14588 (browse-url-firefox-program):
14589 * mail/sendmail.el (mail-signature-file)
14590 (mail-citation-prefix-regexp):
14591 * international/mule-conf.el (eight-bit):
14592 * international/latexenc.el (latex-inputenc-coding-alist):
14593 * international/fontset.el (x-pixel-size-width-font-regexp):
14594 * emacs-lisp/warnings.el (warning-type-format):
14595 * emacs-lisp/trace.el (trace-buffer):
14596 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14597 (emacs-lisp-mode-map):
14598 * calendar/holidays.el (holiday-solar-holidays)
14599 (holiday-bahai-holidays, holiday-islamic-holidays)
14600 (holiday-christian-holidays, holiday-hebrew-holidays)
14601 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14602 (hebrew-holidays-1, holiday-oriental-holidays)
14603 (holiday-general-holidays):
14604 * x-dnd.el (x-dnd-known-types):
14605 * tool-bar.el (tool-bar):
14606 * startup.el (site-run-file):
14607 * shell.el (shell-dumb-shell-regexp):
14608 * rfn-eshadow.el (file-name-shadow-tty-properties)
14609 (file-name-shadow-properties):
14610 * paths.el (remote-shell-program, news-directory):
14611 * mouse.el ([C-down-mouse-3]):
14612 * menu-bar.el (menu-bar-tools-menu):
14613 * jka-cmpr-hook.el (jka-compr-load-suffixes)
14614 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14615 (jka-compr-compression-info-list):
14616 * isearch.el (search-whitespace-regexp):
14617 * image-file.el (image-file-name-extensions):
14618 * find-dired.el (find-ls-option):
14619 * files.el (directory-listing-before-filename-regexp)
14620 (directory-free-space-args, insert-directory-program)
14621 (list-directory-brief-switches, magic-fallback-mode-alist)
14622 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14623 (automount-dir-prefix):
14624 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14625 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14626 (face-font-registry-alternatives, face-font-registry-alternatives)
14627 (face-font-family-alternatives):
14628 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14629 (facemenu-foreground-menu, facemenu-face-menu):
14630 * epa-hook.el (epa-file-name-regexp):
14631 * dnd.el (dnd-protocol-alist):
14632 * textmodes/rst.el (auto-mode-alist):
14633 * button.el (default-button): Purecopy strings.
14635 2009-11-06 Glenn Morris <rgm@gnu.org>
14637 * Makefile.in (ELCFILES): Update.
14639 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
14641 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14642 * emacs-lisp/levents.el: Move to obsolete/levents.el.
14644 * nxml/xsd-regexp.el (xsdre-gen-categories):
14645 * nxml/xmltok.el (xmltok-parse-entity):
14646 * nxml/rng-parse.el (rng-parse-validate-file):
14647 * nxml/rng-maint.el (rng-format-manual)
14648 (rng-manual-output-force-new-line):
14649 * nxml/rng-loc.el (rng-save-schema-location-1):
14650 * nxml/rng-cmpct.el (rng-c-parse-file):
14651 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14652 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14654 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
14656 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14657 Remove extra save-excursions and make-variable-buffer-local's.
14658 Suggested by Stefan Monnier.
14660 (verilog-getopt-file, verilog-module-inside-filename-p)
14661 (verilog-set-define): Merge GNU 1.35 and repair changes from
14662 switching to using with-current-buffer.
14664 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14665 being treated as a number and confusing AUTORESET.
14666 Reported by Dan Dever.
14668 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14669 Add verilog-auto-ignore-concat to fix backward compatibility with
14670 older verilog-modes. Reported by Dan Katz.
14672 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14673 containing closing anchors "...$".
14675 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14676 Reported by Wade Smith.
14678 (verilog-batch-execute-func): Comment on function usage.
14680 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
14682 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14685 (verilog-label-re, verilog-calc-1): Support proper indent of named
14688 (verilog-backward-token, verilog-basic-complete-re)
14689 (verilog-beg-of-statement, verilog-indent-re): Support proper
14690 indent of the assert statement at the beginning of a block of text.
14692 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14693 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14696 2009-11-05 Glenn Morris <rgm@gnu.org>
14698 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14699 Emacs 19. (Bug#1531)
14700 (byte-compile-fix-header): Update for the above change.
14701 Drop test for epoch::version.
14703 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14704 * cus-dep.el (custom-make-dependencies):
14705 * finder.el (finder-compile-keywords):
14706 Use autoload-rubric's feature argument.
14708 * calendar/diary-lib.el (top-level): Make load behave more like require.
14710 * vc-git.el (vc-git-stash-map): Move definition before use.
14712 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
14714 * custom.el (custom-declare-group): Purecopy standard-value.
14715 (custom-declare-group): Purecopy custom-prefix.
14717 * international/mule.el (load-with-code-conversion):
14718 Call do-after-load-evaluation unconditionally.
14720 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14722 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14726 2009-11-04 Glenn Morris <rgm@gnu.org>
14728 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14729 (byte-compile-compatibility): Remove option.
14730 (byte-compile-close-variables, byte-compile-fix-header)
14731 (byte-compile-insert-header, byte-compile-output-docform)
14732 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14733 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14734 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14735 (byte-compile-insert, byte-compile-defun):
14736 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
14737 (byte-defop-compiler19): Remove.
14738 Without byte-compile-compatibility, the 'emacs19-opcode property is not
14739 used by anything. Replace all calls with byte-defop-compiler.
14741 2009-11-04 Juri Linkov <juri@jurta.org>
14743 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14744 (menu-bar-options-menu): Don't quote the `prop' arg of
14745 `menu-bar-make-mm-toggle'.
14747 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
14749 * calendar/calendar.el (cal-loaddefs):
14750 * calendar/diary-lib.el (diary-loaddefs):
14751 * calendar/holidays.el (hol-loaddefs):
14752 * eshell/esh-module.el (esh-groups): Load rather than require.
14754 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14756 * calendar/todo-mode.el (todo-add-category): Don't hardcode
14758 (todo-top-priorities): Only display-buffer when called interactively.
14759 (todo-item-start): Don't save excursion point.
14760 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
14761 (todo-insert-item-here, todo-file-item, todo-remove-item):
14762 Adjust uses of todo-item-start and todo-item-end.
14764 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14765 (autoload-rubric): Don't use any more.
14767 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14768 and only put a prop if it is non-nil.
14770 2009-11-03 Juri Linkov <juri@jurta.org>
14772 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14773 (menu-bar-options-menu): Fix list quoting (Bug#4429).
14775 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14776 and "Menu" to make top-level menu item visually one unit (like
14777 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14778 multi-word menu items). Fix :help string for quit-window.
14780 2009-11-03 Glenn Morris <rgm@gnu.org>
14782 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14783 (byte-compile-file-form-define-abbrev-table)
14784 (byte-compile-file-form-custom-declare-variable)
14785 (byte-compile-variable-ref, byte-compile-defvar):
14786 Whether or not a warning is enabled should only affect whether we issue
14787 the warning, not whether or not we collect the relevant data.
14788 Eg warnings can be turned on and off throughout the course of a file.
14790 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14791 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14793 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
14795 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14796 * play/mpuz.el (mpuz-create-buffer):
14797 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14798 (lm-print-y,s,noise, lm-print-w0, lm-init):
14799 * play/gomoku.el (gomoku-prompt-for-move):
14800 * play/fortune.el (fortune-in-buffer):
14801 * play/dissociate.el (dissociated-press):
14802 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14803 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14804 * mail/supercite.el (sc-eref-show):
14805 * mail/smtpmail.el (smtpmail-send-it):
14806 * mail/rmailsum.el (rmail-summary-next-labeled-message)
14807 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14808 (rmail-summary-undelete-many, rmail-summary-rmail-update)
14809 (rmail-summary-goto-msg, rmail-summary-expunge)
14810 (rmail-summary-get-new-mail, rmail-summary-search-backward)
14811 (rmail-summary-add-label, rmail-summary-output-menu)
14812 (rmail-summary-output-body):
14813 * mail/rfc822.el (rfc822-addresses):
14814 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14815 * mail/mailpost.el (post-mail-send-it):
14816 * mail/hashcash.el (hashcash-generate-payment):
14817 * mail/feedmail.el (feedmail-run-the-queue)
14818 (feedmail-queue-send-edit-prompt-help-first)
14819 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14820 (feedmail-deduce-address-list):
14821 * eshell/esh-ext.el (eshell-remote-command):
14822 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14823 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14824 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14825 (viper-save-string-in-file, viper-valid-marker):
14826 * emulation/viper-keym.el (viper-toggle-key):
14827 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14828 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14829 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14830 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14831 (viper-exec-form-in-emacs, viper-brac-function):
14832 * emulation/viper.el (viper-delocalize-var):
14833 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14834 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14835 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14836 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14837 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14838 * emulation/edt.el (edt-electric-helpify):
14839 * emulation/cua-rect.el (cua--rectangle-aux-replace):
14840 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14841 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14842 (cua-indent-to-global-mark-column):
14843 * calendar/diary-lib.el (calendar-mark-1):
14844 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14845 Use with-current-buffer.
14846 * emulation/viper.el (viper-delocalize-var): Use dolist.
14848 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
14850 * comint.el (comint-replace-by-expanded-history-before-point):
14851 Replace !! with the previous input string literally (Bug#1795).
14853 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
14855 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14856 to be made up of whitespace.
14858 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
14860 * minibuffer.el (read-file-name): Don't use file dialogs for
14861 remote directories (Bug#99).
14863 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
14865 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14867 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
14869 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14870 instead of deleting the window or frame.
14872 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14874 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14875 Support face colors.
14877 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14878 New function. Support face colors (Bug#1168).
14879 (tex-common-initialization): Use it.
14881 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14882 mode allows it (Bug#1168).
14884 2009-10-31 Juri Linkov <juri@jurta.org>
14886 * facemenu.el (list-colors-display): Don't mark buffer as
14887 modified (Bug#3948).
14889 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
14891 * international/mule-diag.el (list-character-sets-1):
14892 Minor message fix (Bug#3526).
14894 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14895 Fix face property (Bug#4834).
14896 (etags-list-tags, etags-tags-apropos-additional)
14897 (etags-tags-apropos, tags-select-tags-table): Add follow-link
14900 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14903 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
14905 * textmodes/two-column.el (2C-split):
14906 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14907 * textmodes/tex-mode.el (tex-set-buffer-directory):
14908 * textmodes/spell.el (spell-region, spell-string):
14909 * textmodes/reftex.el (reftex-erase-buffer):
14910 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14911 * textmodes/reftex-toc.el (reftex-toc-promote-action):
14912 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14913 (reftex-select-item):
14914 * textmodes/reftex-ref.el (reftex-label-info-update)
14915 (reftex-offer-label-menu):
14916 * textmodes/reftex-index.el (reftex-index-change-entry)
14917 (reftex-index-phrases-info):
14918 * textmodes/reftex-global.el (reftex-create-tags-file)
14919 (reftex-save-all-document-buffers, reftex-ensure-write-access):
14920 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14921 (reftex-view-crossref-from-bibtex):
14922 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14923 (reftex-extract-bib-entries-from-thebibliography)
14924 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14925 * textmodes/refbib.el (r2b-capitalize-title):
14926 (r2b-convert-buffer, r2b-help):
14927 * textmodes/page-ext.el (pages-directory)
14928 (pages-directory-goto-with-mouse):
14929 * textmodes/bibtex.el (bibtex-validate-globally):
14930 * textmodes/bib-mode.el (bib-capitalize-title):
14931 * textmodes/artist.el (artist-clear-buffer, artist-system):
14932 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14933 (local-set-scheme-interaction-buffer, xscheme-process-filter)
14934 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14935 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14936 (xscheme-send-control-g-interrupt, xscheme-start-process)
14937 (xscheme-process-sentinel, xscheme-cd):
14938 * progmodes/verilog-mode.el (verilog-read-always-signals)
14939 (verilog-set-define, verilog-getopt-file)
14940 (verilog-module-inside-filename-p):
14941 * progmodes/sh-script.el:
14942 * progmodes/python.el (python-pdbtrack-get-source-buffer)
14943 (python-pdbtrack-grub-for-buffer, python-execute-file):
14944 * progmodes/octave-inf.el (inferior-octave):
14945 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14946 (idlwave-shell-compile-helper-routines, idlwave-set-local)
14947 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14948 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14949 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14950 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14951 (idlwave-shell-filter, idlwave-shell-examine-highlight)
14952 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14953 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14954 (idlwave-shell-examine-display, idlwave-shell-run-region)
14955 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14956 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14957 * progmodes/idlw-help.el (idlwave-help-get-special-help)
14958 (idlwave-help-get-help-buffer):
14959 * progmodes/gud.el (gud-basic-call, gud-find-class)
14960 (gud-tooltip-activate-mouse-motions-if-enabled):
14961 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14962 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14963 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14964 (ebrowse-tags-next-file):
14965 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14966 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14967 (ebnf-eps-finish-and-write):
14968 * progmodes/cpp.el (cpp-edit-save):
14969 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14970 * progmodes/cc-defs.el (c-emacs-features):
14971 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14972 (antlr-directory-dependencies):
14973 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14974 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14975 (ada-find-any-references, ada-make-filename-from-adaname)
14976 (ada-make-body-gnatstub):
14977 * obsolete/rnews.el (news-list-news-groups):
14978 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14979 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14980 * net/rcirc.el (rcirc-debug):
14981 * net/newst-treeview.el (newsticker--treeview-list-add-item)
14982 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14983 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14984 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14985 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14986 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14987 (newsticker--treeview-list-clear-highlight)
14988 (newsticker--treeview-list-update-highlight)
14989 (newsticker--treeview-list-highlight-start)
14990 (newsticker--treeview-tree-update-highlight)
14991 (newsticker--treeview-get-selected-item)
14992 (newsticker-treeview-mark-list-items-old)
14993 (newsticker--treeview-set-current-node):
14994 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14995 * net/newst-backend.el (newsticker--get-news-by-funcall)
14996 (newsticker--get-news-by-wget, newsticker--image-get)
14997 (newsticker--image-sentinel):
14998 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14999 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15000 (eudc-ph-close-session):
15001 * net/eudc.el (eudc-save-options):
15002 * language/thai-word.el (thai-update-word-table):
15003 * language/japan-util.el (japanese-string-conversion):
15004 * international/titdic-cnv.el (tsang-quick-converter)
15005 (ziranma-converter, ctlau-converter):
15006 * international/mule-cmds.el (describe-language-environment):
15007 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15008 (skkdic-convert-postfix, skkdic-convert-prefix):
15009 (skkdic-convert-okuri-nasi, skkdic-convert):
15010 * emacs-lisp/re-builder.el (reb-update-overlays):
15011 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15012 * emacs-lisp/gulp.el (gulp-send-requests):
15013 * emacs-lisp/find-gc.el (trace-call-tree):
15014 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15015 (eieio-describe-generic):
15016 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15017 * emacs-lisp/edebug.el (edebug-outside-excursion):
15018 * emacs-lisp/debug.el (debugger-make-xrefs):
15019 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15020 * emacs-lisp/chart.el (chart-new-buffer):
15021 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15022 Use with-current-buffer.
15023 * textmodes/artist.el (artist-system): Don't call
15024 copy-sequence on a fresh string.
15025 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15027 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15029 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15030 is no item to edit. (Bug#4820)
15031 (todo-top-priorities): Restore point and restore narrowing in Todo
15034 2009-10-31 Glenn Morris <rgm@gnu.org>
15036 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15037 (comint-last-output-start, comint-last-input-start)
15038 (comint-last-input-end): Don't defvar when compiling.
15039 (ange-ftp-process-file): Use bound-and-true-p.
15041 * pcmpl-rpm.el (top-level): Move provide statement to end.
15042 (pcmpl-rpm): Remove unused custom group.
15044 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15046 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15048 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15049 (byte-compile-warnings): Add `constants' as an option.
15050 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15051 (display-call-tree): Update for byte-compile-fdefinition possibly
15052 returning `(macro lambda ...)'. (Bug#4778)
15053 (byte-compile-variable-ref, byte-compile-setq-default):
15054 Respect `constants' member of byte-compile-warnings.
15056 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15058 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15059 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15062 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15064 * textmodes/ispell.el (ispell-skip-region-alist):
15065 * international/mule-conf.el (eight-bit):
15066 * international/fontset.el (font-encoding-alist):
15067 * startup.el (pure-space-overflow-message):
15068 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15069 * paths.el (gnus-nntp-service, rmail-spool-directory)
15070 (term-file-prefix):
15071 * files.el (save-some-buffers-action-alist):
15072 * cmuscheme.el (same-window-buffer-names):
15073 * ielm.el (same-window-buffer-names):
15074 * shell.el (same-window-buffer-names):
15075 * mail/sendmail.el (same-window-buffer-names):
15076 * progmodes/inf-lisp.el (same-window-buffer-names):
15077 * bindings.el (mode-line-client)
15078 (mode-line-column-line-number-mode-map):
15079 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15080 (tibetan-precomposed-regexp): Purecopy string arguments.
15082 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15084 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15085 (calcDigit-nondigit):
15086 * calc/calc-yank.el (calc-copy-to-buffer):
15087 * calc/calc-units.el (calc-invalidate-units-table):
15088 * calc/calc-trail.el (calc-trail-yank):
15089 * calc/calc-store.el (calc-insert-variables):
15090 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15091 * calc/calc-prog.el (calc-read-parse-table):
15092 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15093 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15094 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15095 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15096 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15097 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15098 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15099 * calc/calc-ext.el (calc-realign):
15100 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15101 (calc-embedded-finish-edit, calc-embedded-make-info)
15102 (calc-embedded-finish-command, calc-embedded-stack-change):
15103 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15105 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15106 shell-dynamic-complete-filename in preference to
15107 comint-dynamic-complete-filename.
15109 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15110 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15111 Don't consider whether the display supports colors.
15112 (bookmark-import-new-list): Use dolist.
15113 (bookmark-bmenu-mode-map): Move initialization into declaration.
15114 (bookmark-bmenu-list): Use dolist, simplify.
15115 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15116 (menu-bar-final-items): Use push.
15118 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15120 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15121 it works on remote files.
15122 (vc-hg-diff): Don't pass any `--cwd' argument.
15124 2009-10-27 Kevin Ryde <user42@zip.com.au>
15126 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15127 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15128 (Further to Bug#3921).
15130 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15132 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15133 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15134 calling `tramp-imap-put-file'. Add file size to the call.
15135 (tramp-imap-get-file-entries): Compute also user name, file size,
15137 (tramp-imap-handle-insert-directory): Insert uid and gid.
15138 (tramp-imap-handle-file-attributes): Transform uid and gid
15139 according to `id-format'.
15140 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15141 size in header X-Size.
15143 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15145 * simple.el (transpose-subr): Give clearer error when the mark
15146 is not set. (Bug#4807)
15148 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15150 * net/tramp.el (tramp-perl-file-truename): New defconst.
15151 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15152 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15153 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15154 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15156 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15157 Ignore `dired-call-process'.
15158 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15160 2009-10-26 Julian Scheid <julians37@gmail.com>
15162 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15163 (tramp-get-remote-readlink): New defun.
15164 (tramp-handle-file-truename): Use it.
15165 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15166 file exists if cache value present.
15167 (tramp-check-cached-permissions): New defun.
15168 (tramp-handle-file-readable-p): Use it.
15169 (tramp-handle-file-writable-p): Likewise.
15170 (tramp-handle-file-executable-p): Likewise.
15171 (tramp-handle-file-name-all-completions): Try using Perl to get
15172 partial completions. When perl not available, combine `cd' and
15173 `ls' into single remote operation and use shell expansion to get
15174 partial remote directory contents. Set `file-exists-p' cache for
15175 directory and any files returned by ls. Change cache handling to
15176 support partial directory contents. Use error message emitted by
15177 remote `cd' or Perl code for local tramp-error.
15178 (tramp-do-copy-or-rename-file-directly): Avoid separate
15179 tramp-send-command-and-check call.
15180 (tramp-handle-process-file): Merge three remote ops into one.
15181 Do not flush all caches when `process-file-side-effects' is set.
15182 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15183 file-attributes shows uid/gid to be set already.
15185 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15187 * textmodes/tex-mode.el (tex-dvi-view-command)
15188 (tex-show-queue-command, tex-open-quote):
15189 * progmodes/ruby-mode.el (auto-mode-alist)
15190 (interpreter-mode-alist): Purecopy strings.
15192 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15194 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15195 string for the hook, keymap and abbrev table.
15197 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15199 * x-dnd.el (x-dnd-xdnd-to-action):
15200 * startup.el (fancy-startup-text, fancy-about-text): Change to
15201 defconst from defvar.
15203 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15205 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15206 Purecopy initialization strings.
15208 * mail/sendmail.el (mail-header-separator)
15209 (mail-personal-alias-file):
15210 * mail/rmail.el (rmail-default-dont-reply-to-names)
15211 (rmail-ignored-headers, rmail-retry-ignored-headers)
15212 (rmail-highlighted-headers, rmail-secondary-file-directory)
15213 (rmail-secondary-file-regexp):
15214 * files.el (null-device, file-name-invalid-regexp)
15215 (locate-dominating-stop-dir-regexp)
15216 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15217 (interpreter-mode-alist): Use mapcar instead of mapc.
15219 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15221 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15222 (completion-ignored-extensions):
15223 (debug-ignored-errors): Purecopy strings.
15225 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15227 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15228 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15229 (pcomplete--here): Use push.
15231 * subr.el (all-completions): Declare the 4th arg obsolete.
15233 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15235 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15236 (pcomplete-unquote-argument): New function.
15237 (pcomplete--common-suffix): Always pay attention to case.
15238 (pcomplete--table-subvert): Quote and unquote the text.
15239 (pcomplete--common-quoted-suffix): New function.
15240 (pcomplete-std-complete): Use it and pcomplete-begin.
15242 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15243 we're inside a dedicated or minibuffer window.
15245 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15247 * bookmark.el: Update documentation, especially documentation
15248 of `bookmark-alist' and of the bookmark file format.
15249 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15251 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15253 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15254 keybindings apply to the mail buffer (Bug#4003). Shrink help
15257 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15258 (global-whitespace-mode, global-whitespace-newline-mode)
15259 (whitespace-toggle-options, global-whitespace-toggle-options):
15260 Doc fix (Bug#3660).
15262 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15263 of xmltok-start before the end tag was inserted (Bug#2840).
15265 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15266 patterns that are preceded by an open-paren (Bug#1320).
15268 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15270 * files.el (delete-directory): Delete symlinks to directories with
15271 delete-file (Bug#4739).
15273 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15275 * vc.el (vc-backend-for-registration): Rename from
15276 vc-get-backend-for-registration. Update callers.
15278 * international/mule-cmds.el (set-language-info-alist):
15280 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15281 (charset): Purecopy the name.
15282 (define-char-code-property): Purecopy string arguments.
15284 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15285 Purecopy string arguments.
15287 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15288 * ediff-hook.el (menu-bar-ediff-menu):
15289 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15290 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15292 2009-10-24 Glenn Morris <rgm@gnu.org>
15294 * comint.el (comint-dynamic-list-completions):
15295 * term.el (term-dynamic-list-completions): Use choose-completion rather
15296 than obsolete alias mouse-choose-completion.
15298 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15299 file-cache-choose-completion.
15300 (file-cache-choose-completion): Handle an optional event argument.
15301 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15303 * progmodes/octave-mod.el (octave-complete-symbol):
15304 Use choose-completion if mouse-choose-completion is ever removed.
15306 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15309 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15312 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15314 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15317 Ignore `pred' now that we receive one.
15318 Handle test-completion specially.
15320 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15322 * vc.el (vc-responsible-backend): Throw an error if not backend is
15323 found. Remove the REGISTER argument. Move the code dealing with
15325 (vc-get-backend-for-registration): ... here. New function.
15326 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15327 of vc-responsible-backend, pass the file name instead of the
15330 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15332 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15334 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15335 (pcomplete-comint-setup): Don't modify a global var via
15336 accidental side-effects.
15337 (pcomplete-shell-setup): Adjust call accordingly.
15338 (pcomplete-parse-comint-arguments): Use push.
15340 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15342 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15343 Allow uncapitalized info node names (Bug#3921).
15345 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15346 to the DEBUG file (Bug#3781).
15348 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15350 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15351 dictionary entry (Bug#4579).
15353 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15355 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15356 from `rfn-eshadow-update-overlay-hook' when unloading.
15357 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15358 "rsyncc". Adjust doc string.
15359 (tramp-temp-buffer-file-name): New buffer-local defvar.
15360 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15361 Keep temporary file when indicated by method ("rsync" and
15363 (tramp-handle-write-region): Handle APPEND.
15364 (tramp-delete-temp-file-function): New defun. Added to
15365 `kill-buffer-hook'.
15367 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15369 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15371 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15373 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15374 (color-name-rgb-alist, tty-standard-colors)
15375 (tty-color-mode-alist): Change to defconst.
15377 * simple.el (mark-inactive): Purecopy message.
15379 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15380 (global-map, yank-menu):
15381 * textmodes/ispell.el (ispell-menu-map):
15382 * net/eudc.el (eudc-tools-menu):
15383 * international/mule-cmds.el (describe-language-environment-map)
15384 (setup-language-environment-map, set-coding-system-map)
15385 (mule-menu-keymap):
15386 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15387 * replace.el (occur-mode-map):
15388 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15390 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15392 * calc/calc.el (math-read-number, math-read-number-simple):
15393 Use `save-match-data'.
15395 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15397 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15398 rather than fiddling with global-map bindings, since it should only
15399 affect per-terminal settings.
15400 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15402 * minibuffer.el (completion-table-with-terminator): Allow to specify
15403 the terminator-regexp.
15405 * simple.el (switch-to-completions): Look for *Completions* in other
15408 * pcomplete.el: Allow the use of completion-tables.
15409 (pcomplete-std-complete): New command.
15410 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15411 (pcomplete--here): Use a function for `form' rather than an expression,
15412 so it can be byte-compiled.
15413 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15414 Add edebug declaration.
15415 (pcomplete-show-completions): Remove unused var `curbuf'.
15416 (pcomplete-do-complete, pcomplete-stub):
15417 Don't assume `completions' is a list of strings any more.
15419 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15421 * find-dired.el (find-name-arg): Fix typo in docstring.
15423 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15425 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15426 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15428 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15431 * comint.el (comint-read-input-ring, comint-write-input-ring)
15432 (comint-substitute-in-file-name)
15433 (comint-dynamic-complete-as-filename)
15434 (comint-dynamic-simple-complete)
15435 (comint-dynamic-list-filename-completions)
15436 (comint-dynamic-list-completions)
15437 (comint-redirect-results-list-from-process): Minor simplifications.
15439 2009-10-21 Kevin Ryde <user42@zip.com.au>
15441 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15442 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15443 the first form. And insert a blank line after ";;; Code" since
15444 that's usual style. (Bug#4612)
15446 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15448 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15450 * minibuffer.el (completion-table-with-terminator): Properly implement
15451 boundaries, in case `terminator' appears in the suffix.
15452 (completion--embedded-envvar-table): Don't return boundaries if
15453 there's no valid completion. Simplify.
15454 (completion-file-name-table): New completion table extracted from
15455 completion--file-name-table.
15456 (completion--file-name-table): Use it.
15457 (read-file-name-predicate): Declare obsolete.
15458 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15459 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15460 completion-file-name-table, and use the `pred' argument.
15461 * files.el (locate-file-completion-table): Use the `pred' arg rather
15462 than read-file-name-predicate.
15463 (abbreviate-file-name): Use \` rather than ^ for BOS.
15465 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15467 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15468 vc-responsible-backend to register, it causes problems.
15470 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15474 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15476 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15477 (tramp-smb-handle-file-attributes): Use it.
15478 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15479 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15480 `mapcar'. Use `tramp-smb-get-stat-capability'.
15481 Add `dired-filename' text properties.
15482 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15483 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15486 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15488 * subr.el (read-key-delay): Reduce to 0.01.
15489 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15492 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15494 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15496 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15497 (Info-menu): Remove unused vars `last' and `completions'.
15498 (Info-index-nodes): Remove unused var `node'.
15500 * info.el (Info-complete-menu-item): Use complete-with-action.
15502 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15504 Make vc-annotate work through copies and renames.
15505 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15506 Return the file name too.
15507 (vc-annotate-revision-at-line)
15508 (vc-annotate-find-revision-at-line)
15509 (vc-annotate-revision-previous-to-line)
15510 (vc-annotate-show-log-revision-at-line): Update to get the file
15511 name from vc-annotate-extract-revision-at-line.
15512 (vc-annotate-show-diff-revision-at-line-internal): Change the
15513 argument to mean whether to show a file diff or not. Get the file
15514 name from vc-annotate-extract-revision-at-line.
15515 (vc-annotate-show-diff-revision-at-line):
15516 Update vc-annotate-show-diff-revision-at-line call.
15517 (vc-annotate-warp-revision): Add an optional file argument.
15519 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15520 (vc-git-annotate-extract-revision-at-line): Also return the file
15523 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15524 command. Remove unused code.
15525 (vc-hg-annotate-re): Update to match --follow output.
15526 (vc-hg-annotate-extract-revision-at-line): Also return the file
15529 * vc.el: Update annotate-extract-revision-at-line documentation.
15531 2009-10-18 Kevin Ryde <user42@zip.com.au>
15533 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15534 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15536 * net/browse-url.el (browse-url): Identify alist with "consp and
15537 not functionp" and let all other things go down the `apply' leg,
15538 as suggested by Stefan. (Further to bug#4531.)
15540 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
15542 * minibuffer.el (read-file-name): Check for repeat before putting
15543 a default argument in file-name-history (Bug#4657).
15545 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15546 read syntax (Bug#4737).
15548 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15550 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15552 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15553 (html-tag-alist, html-tag-help): Add descriptions for undocumented
15554 entries and make note of obsolete tags.
15556 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
15558 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15560 2009-10-18 Glenn Morris <rgm@gnu.org>
15562 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15563 grep, so that binary files (eg international/uni-bidi.el) can match.
15564 Remove test for "UnicodeData" files, since it is hopefully unnecessary
15565 now, and in any case the file header format has changed.
15567 2009-10-17 Glenn Morris <rgm@gnu.org>
15569 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15570 (flyspell-get-word, flyspell-large-region)
15571 (flyspell-auto-correct-previous-word): Doc/error message fixes.
15573 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
15575 * Makefile.in (ELCFILES): Add ede/shell.
15577 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
15579 * term/common-win.el (x-colors): Purecopy it.
15581 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15583 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15584 permissive for when the buffer is empty.
15585 (tar-header-block-tokenize): Decode the username and groupname.
15586 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15588 2009-10-17 Eric Ludlam <zappo@gnu.org>
15590 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15591 contains multibyte characters, choose first applicable coding
15592 system automatically.
15594 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15596 * international/mule-cmds.el (select-safe-coding-system): If the file
15597 has a coding cookie, use it regardless of any other setting (bug#4712).
15599 2009-10-17 Glenn Morris <rgm@gnu.org>
15601 * foldout.el (foldout-mouse-swallow-events):
15602 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15604 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15605 (dired-keep-marker-copy, dired-keep-marker-hardlink)
15606 (dired-keep-marker-symlink, dired-dwim-target)
15607 (dired-copy-preserve-time): Do not autoload these defcustoms.
15609 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15610 messages from messing up the file coding. (Bug#4623)
15612 2009-10-17 Jari Aalto <jari.aalto@cante.net>
15614 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15615 if no match is found for the current dictionary. (Bug#4578)
15617 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15618 optional, since that is how it is documented, and this is often called
15619 with a nil argument. (Bug#4577)
15620 (flyspell-external-point-words, flyspell-auto-correct-word)
15621 (flyspell-correct-word-before-point, flyspell-word-search-forward)
15622 (flyspell-word-search-backward): Remove nil argument in calls to
15623 flyspell-get-word, since it is not needed now.
15625 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
15627 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
15629 2009-10-16 Glenn Morris <rgm@gnu.org>
15631 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15633 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
15635 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15636 (ange-ftp-file-size): New function.
15637 (ange-ftp-file-attributes): Use it.
15639 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
15641 * net/tramp-smb.el (tramp-smb-version): New defvar.
15642 (tramp-smb-maybe-open-connection): Use it, in order to avoid
15645 2009-10-16 Glenn Morris <rgm@gnu.org>
15647 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15648 Maybe copy some custom properties from old to new name. (Bug#4706)
15650 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
15652 * subr.el (error, sit-for, start-process-shell-command)
15653 (start-file-process-shell-command): Set the calling convention
15654 after the function definition.
15656 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
15658 * subr.el (error, sit-for, start-process-shell-command)
15659 (start-file-process-shell-command): Use the new
15660 set-advertised-calling-convention feature.
15662 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
15664 * international/ucs-normalize.el (ucs-normalize-version):
15666 (check-range): Adjust for Unicode 5.2.
15668 2009-10-15 Juri Linkov <juri@jurta.org>
15670 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15671 to the `menu-item' format.
15673 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
15675 * net/tramp.el (tramp-replace-environment-variables): Do not fail
15676 if the environment variable does not exist.
15678 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15679 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15681 (tramp-smb-handle-add-name-to-file)
15682 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15683 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15684 (tramp-smb-handle-file-attributes)
15685 (tramp-smb-do-file-attributes-with-stat)
15686 (tramp-smb-handle-file-local-copy)
15687 (tramp-smb-handle-insert-directory)
15688 (tramp-smb-handle-make-directory)
15689 (tramp-smb-handle-make-directory-internal)
15690 (tramp-smb-handle-make-symbolic-link)
15691 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15692 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15693 (tramp-smb-maybe-open-connection): Apply the changed parameters.
15694 (tramp-smb-read-file-entry): Read Disk names in compressed format.
15695 Handle long file names.
15696 (tramp-smb-get-cifs-capabilities): Check, whether the connection
15697 process is running.
15698 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15699 Read share names with "-g" option.
15701 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
15703 * net/rcirc.el (rcirc-view-log-file): New command.
15704 (rcirc-track-minor-mode-map): Remove C-c ` binding.
15705 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15708 2009-10-15 Glenn Morris <rgm@gnu.org>
15710 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15711 from the second command-line argument.
15712 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15713 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15714 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15715 w32-batch-update-autoloads.
15716 * emacs-lisp/autoload.el (autoload-make-program): New variable.
15717 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15719 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15720 the headers cannot be located. Simplify, subtracting superflous
15723 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
15725 Replace completion-base-size by completion-base-position to fix bugs
15726 such as (bug#4699).
15727 * simple.el (completion-base-position): New var.
15728 (completion-base-size): Mark as obsolete.
15729 (choose-completion): Make it work for mouse events as well.
15730 Pass the new base-position to choose-completion-string.
15731 (choose-completion-guess-base-position): New function, extracted from
15732 choose-completion-delete-max-match.
15733 (choose-completion-delete-max-match): Use it. Make obsolete.
15734 (choose-completion-string): Use the new base-position info.
15735 (completion-root-regexp): Delete.
15736 (completion-setup-function): Preserve completion-base-position.
15737 Eliminate obsolete base-size manipulation.
15738 * minibuffer.el (display-completion-list): Don't mess with base-size.
15739 (minibuffer-completion-help): Set completion-base-position instead.
15740 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15742 * textmodes/bibtex.el (bibtex-complete):
15743 * emacs-lisp/crm.el (crm--choose-completion-string):
15744 Adjust to new calling convention.
15745 * complete.el (partial-completion-mode): Use minibufferp to avoid
15746 bumping into incompatible change to choose-completion-string-functions.
15747 * ido.el (ido-choose-completion-string): Make its calling convention
15749 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15750 base-size manipulation.
15751 (comint-dynamic-list-input-ring): Use dotimes and push.
15752 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15753 fundamental-mode. Use `or'.
15755 2009-10-14 Juri Linkov <juri@jurta.org>
15757 * misearch.el (multi-isearch-next-buffer-from-list)
15758 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
15760 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15762 * Makefile.in (compile-onefile): Load `bytecomp' rather than
15765 * minibuffer.el (completion-pcm--merge-completions): Make sure the
15766 string we return is all made up of text from the completions rather
15767 than part from the completions and part from the input (bug#4219).
15769 * ido.el (ido-everywhere): Use define-minor-mode.
15771 * buff-menu.el (list-buffers, ctl-x-map):
15772 Mark the entry points with ;;;###autoload cookies.
15774 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
15776 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15777 correctly in the detached head case.
15778 (vc-git-print-log): Remove unused binding.
15780 * vc.el (vc-responsible-backend): When a directory is passed for
15781 for registration create a VC repository if no backend is
15782 responsible for the directory argument.
15783 (vc-deduce-fileset): Tell vc-responsible-backend to register.
15785 * vc.el: Move comments about RCS and SCCS ...
15787 * vc-sccs.el: ... here, respectively.
15789 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15791 * minibuffer.el (completion--file-name-table): Return nil if there's
15792 no file completion, even if substitute-in-file-name changed
15793 the string (bug#4708).
15795 2009-10-13 Juri Linkov <juri@jurta.org>
15797 * files-x.el (read-file-local-variable-value): Don't filter out
15798 minor modes from mode name completion (bug#4664).
15800 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15802 * international/mule-cmds.el (ucs-names): Remove exclusion of
15803 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15805 2009-10-13 Kenichi Handa <handa@m17n.org>
15807 * international/uni-name.el: Regenerated.
15809 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
15811 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
15812 should be automatically buffer-local, but isn't.)
15814 2009-10-12 Sam Steingold <sds@gnu.org>
15816 * progmodes/compile.el (compilation-next-error-function): Fix the
15817 timestamps if the buffer has been visited before.
15818 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15819 non-anchored patterns, like the perl one (bug#3928).
15821 2009-10-12 Glenn Morris <rgm@gnu.org>
15823 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15826 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
15828 * proced.el (proced-unload-function): New function.
15830 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15831 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15834 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15836 2009-10-11 Juri Linkov <juri@jurta.org>
15838 * files-x.el (read-file-local-variable-value):
15839 Provide default value only for bound variables (bug#4664).
15841 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
15843 * net/tramp.el (tramp-local-host-p): Function shall return nil for
15844 connection methods like smb.
15846 * net/tramp-cache.el (tramp-flush-connection-property): The hash
15849 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15850 (tramp-smb-file-name-handler-alist): Add handlers for
15851 `add-name-to-file', `make-symbolic-link'.
15852 (tramp-smb-handle-add-name-to-file)
15853 (tramp-smb-do-file-attributes-with-stat)
15854 (tramp-smb-handle-make-symbolic-link)
15855 (tramp-smb-get-cifs-capabilities): New defuns.
15856 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15857 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15858 (tramp-smb-handle-file-local-copy)
15859 (tramp-smb-handle-make-directory-internal)
15860 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15861 The file name syntax depends on cifs capabilities.
15862 (tramp-smb-handle-file-attributes):
15863 Call `tramp-smb-do-file-attributes-with-stat' if possible.
15864 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15865 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15867 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
15869 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15870 (eieio-defclass): Apply deftype handler and setf-method properties
15872 (eieio-add-new-slot): Avoid union function from cl library.
15873 (eieio--typep): New function.
15874 (eieio-perform-slot-validation): Use it.
15876 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15878 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15879 Update documentation to refer to the variables documented in r1.135.
15882 2009-10-10 Karl Fogel <kfogel@red-bean.com>
15884 * bookmark.el (Info-suffix-list): Remove this unused variable.
15885 (bookmark-current-point): Remove this obsolete variable.
15886 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15887 Adjust for removal of bookmark-current-point.
15889 (bookmarks-already-loaded, bookmark-current-buffer)
15890 (bookmark-yank-point): Document. (Bug#4188)
15892 2009-10-10 Glenn Morris <rgm@gnu.org>
15894 * frame.el (frame-height): Doc fix.
15896 * calendar/calendar.el (calendar-split-width-threshold): New option.
15897 (calendar-basic-setup): Use calendar-split-width-threshold.
15899 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
15901 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15902 Ideographic Supplement" range (U+1F200..U+1F2FF).
15904 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15906 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15907 since the list will have been rebuilt anyway. (Bug#4349)
15909 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15911 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15912 (bookmark-bmenu-execute-deletions): Don't save here, as
15913 bookmark-delete will now do so if necessary.
15914 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15917 2009-10-09 Glenn Morris <rgm@gnu.org>
15919 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15921 2009-10-09 Karl Fogel <kfogel@red-bean.com>
15923 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15924 (bookmark-jump-other-window): Just invoke bookmark-jump with new
15925 argument now, so the two function's behaviors will match. (Bug#3645)
15927 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
15929 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15930 (tramp-file-name-real-host, tramp-file-name-port):
15931 Apply `save-match-data'.
15933 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15934 case both directories are remote.
15935 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15936 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15938 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15940 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15942 2009-10-07 Glenn Morris <rgm@gnu.org>
15944 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15947 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
15949 * files-x.el (read-file-local-variable): Include some
15950 non-user-variables in the completion table (bug#4664).
15952 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
15954 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15957 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15958 (tramp-smb-file-name-handler-alist): Add handler for
15959 `copy-directory', `expand-file-name', `set-file-modes'.
15960 (tramp-smb-handle-copy-directory)
15961 (tramp-smb-handle-expand-file-name)
15962 (tramp-smb-handle-set-file-modes): New defuns.
15963 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15964 (tramp-smb-handle-file-attributes): Simplify check for retrieving
15966 (tramp-smb-handle-insert-directory): Don't flush the cache.
15967 (tramp-smb-maybe-open-connection): Check for samba client and
15970 2009-10-07 Eli Zaretskii <eliz@gnu.org>
15972 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15973 to not error out of search for "^lisp=" fails.
15975 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
15977 * makefile.w32-in (WINS_UPDATES): New macro.
15978 (custom-deps, finder-data, autoloads): Use it.
15980 2009-10-07 Glenn Morris <rgm@gnu.org>
15982 * Makefile.in (autoloads): Revert previous change.
15983 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15984 the list of preloaded files passed on the command-line, get
15985 it from src/Makefile.
15987 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15988 show the original buffer rather than a random one.
15990 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
15992 * help.el (describe-no-warranty): Place point in a slightly better
15993 position in the GPLv3 text.
15995 2009-10-06 Sam Steingold <sds@gnu.org>
15997 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15998 the comm attribute is present before calling regexp-quote.
16000 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16002 * play/animate.el (animate-string): For good effect, make sure
16003 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16005 * play/animate.el (animate-sequence, animate-birthday-present):
16006 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16008 2009-10-06 Glenn Morris <rgm@gnu.org>
16010 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16012 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16013 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16014 (batch-update-autoloads): Process a string value of autoload-excludes,
16015 set during the build process.
16016 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16018 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16019 inside with-parsed... macro so that `v' is defined.
16021 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16022 * progmodes/fortran.el (fortran-end-of-block)
16023 (fortran-beginning-of-block):
16024 Also push mark in the macro case.
16026 * emerge.el (emerge-show-file-name):
16027 * calc/calc.el (calc-quit):
16028 * calc/calc-misc.el (calc-big-or-small):
16029 * calc/calc-graph.el (calc-graph-view):
16030 * calc/calc-ext.el (calc-reset):
16031 * calendar/calendar.el (calendar-basic-setup):
16032 Use window-full-height-p.
16034 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16035 header we don't understand, don't insert another. (Bug#4624)
16036 If changing mime charset, insert the new one in the right place.
16038 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16040 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16041 (cal-tex-cursor-month): Correctly increment the end date for diary and
16042 holiday listing. (Bug#4626)
16044 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16046 * help-fns.el (describe-function-1): Don't burp if the function is not
16049 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16051 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16052 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16053 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16054 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16056 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16057 (eieio-default-superclass): Reflow docstrings.
16058 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16059 (eieio-unbind-method-implementations, defmethod)
16060 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16061 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16062 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16063 (eieio-slot-originating-class-p, eieio-slot-name-index)
16064 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16065 (constructor, initialize-instance, no-next-method, object-print)
16066 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16067 Fix typos in docstrings.
16068 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16069 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16070 (next-method-p): Doc fixes.
16071 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16072 Fix typos in error messages.
16073 (eieio-defmethod): Fix typo in description of generic method.
16075 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16076 (eieio-persistent-save-interactive, slot-missing):
16077 Fix typos in docstrings.
16078 (eieio-instance-inheritor-slot-boundp): Doc fix.
16080 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16081 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16083 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16084 (eieio-custom-object-apply-reset):
16085 Fix typos in docstrings and error messages.
16087 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16088 Fix typo in docstring.
16090 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16091 (eieio-browse-tree): Doc fix.
16092 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16093 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16094 Fix typos in docstrings.
16096 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16097 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16098 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16099 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16102 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16104 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16105 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16106 Set log-view-vc-backend so that diff can work.
16108 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16110 (vc-diff-internal): Autoload this instead of vc-version-diff.
16112 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16114 * simple.el (eval-expression): Doc fix.
16116 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16118 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16120 * files.el (directory-files-no-dot-files-regexp): New defconst.
16121 (delete-directory): Use it.
16122 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16124 * net/tramp.el (tramp-verbose): Fix docstring.
16125 (tramp-methods): Add recursive option to `tramp-copy-args'.
16126 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16127 "scp1_old", "scp2_old", "rsync", "rsyncc".
16128 (tramp-default-method): Check also for `auth-source-user-or-password'.
16129 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16130 Add handler for `copy-directory'.
16131 (tramp-handle-copy-directory): New defun.
16132 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16133 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16134 Optimize sent command.
16136 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16138 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16139 window if necessary.
16141 * calendar/calendar.el (calendar-basic-setup): Don't call
16142 switch-to-buffer in a dedicated window.
16144 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16146 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16147 don't do anything related to relocating, just return nil.
16148 (bookmark-error-no-filename): New error.
16149 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16150 bookmark has no file. Don't even attempt to handle things that
16151 are not files; the whole point of custom handlers is to keep that
16152 knowledge elsewhere anyway. Tighten some comments.
16153 (bookmark-file-or-variation-thereof): Remove now-unused function.
16154 (bookmark-location): Doc string fix.
16157 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16159 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16160 don't use a file dialog, because they usually don't know how to read
16161 a directory target from the user. (Bug#4230)
16162 Also, make sure the prompt can display directories as well as files.
16164 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16166 * bookmark.el (bookmark-set, bookmark-buffer-name):
16167 Improve doc strings. (Bug#1193)
16169 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16171 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16172 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16173 (bookmark-get-annotation, bookmark-set-annotation)
16174 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16175 (bookmark-set-position, bookmark-get-front-context-string)
16176 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16177 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16178 (bookmark-jump-other-window, bookmark-handle-bookmark)
16179 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16180 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16181 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16182 Improve doc strings to say whether bookmark can be a string or
16183 a record or both, and make other consistency and clarity fixes.
16184 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16185 (bookmark-default-annotation-text, bookmark-yank-word)
16186 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16187 (bookmark-import-new-list, bookmark-maybe-rename)
16188 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16189 (bookmark-bmenu-bookmark): Give these doc strings.
16190 (bookmark-bmenu-check-position): Give this a doc string, but also
16191 add a FIXME comment about how the function may be pointless.
16192 (bookmark-default-handler): Rework doc string and change a
16193 parameter name, to clarify that this takes a bookmark record
16194 not a bookmark name.
16195 (bookmark-set): Change a parameter name to indicate its meaning,
16196 and improve the doc string a bit.
16199 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16201 * bookmark.el (bookmark-alist): Document the new `handler' element
16202 in the param alist.
16203 (bookmark-make-record-function): Adjust documentation for above.
16206 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16208 * info.el (Info-bookmark-make-record): Document this function.
16209 (Info-bookmark-jump): Document with a doc string, not just a comment.
16212 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16214 * files.el (copy-directory): New defun.
16216 * dired-aux.el (dired-copy-file-recursive): Use it.
16218 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16220 * files-x.el (modify-dir-local-variable)
16221 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16224 * recentf.el (recentf-unload-function): New function.
16226 2009-10-04 Glenn Morris <rgm@gnu.org>
16228 * window.el (window-full-height-p): Add doc string.
16230 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16232 * window.el (window-full-height-p): New function. (Bug#4543)
16234 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16236 * vc.el: Remove commented out code.
16237 (vc-derived-from-dir-mode): Remove, unused.
16238 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16240 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16242 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16243 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16244 there could be recursive loading when `default-directory' is a
16245 remote file name. (Bug#4614)
16247 2009-10-03 Glenn Morris <rgm@gnu.org>
16249 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16251 (calendar-generate-window): Test for shrinkability rather than width.
16253 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16254 reusing existing buffers, in case we happen to visit two files with the
16255 same basename. (Bug#4593)
16257 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16259 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16260 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16261 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16262 subdirs of cedet as well.
16263 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16265 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16267 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16268 Obey advertised-signature-table.
16270 * help-fns.el (help-function-arglist): Don't check
16271 advertised-signature-table.
16272 (describe-function-1): Do it here instead so it also applies to subrs.
16274 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16276 * simple.el (start-file-process): Say in the doc-string, that file
16277 handlers might not support pty association, if PROGRAM is nil.
16279 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16280 HOST and USER are strings. They are nil, when there are
16281 incomplete entries in ~/.netrc, for example.
16282 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16283 root directory ("device busy" error otherwise).
16285 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16286 Flush file properties of created directory.
16288 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16290 * makefile.w32-in (WINS_BASIC): Remove cedet.
16291 (WINS_CEDET): Add cedet.
16292 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16294 2009-10-02 Kevin Ryde <user42@zip.com.au>
16296 * net/browse-url.el (browse-url): Pass any symbol in
16297 browse-url-browser-function to `apply', since if you've mistakenly put
16298 an unbound symbol then the error is clearer. (Bug#4531)
16300 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16302 * allout.el (allout-init, allout-back-to-current-heading)
16303 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16304 (allout-ascend, allout-up-current-level, allout-end-of-level)
16305 (allout-previous-visible-heading, allout-forward-current-level)
16306 (allout-backward-current-level, allout-show-children):
16307 * apropos.el (apropos-describe-plist):
16308 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16309 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16310 * completion.el (add-completion, add-permanent-completion):
16311 * descr-text.el (describe-text-category, describe-char):
16312 * desktop.el (desktop-lazy-abort):
16313 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16314 * dired.el (dired-build-subdir-alist):
16315 * ediff.el (ediff-version):
16316 * elide-head.el (elide-head, elide-head-show):
16317 * emerge.el (emerge-version):
16319 * face-remap.el (variable-pitch-mode):
16320 * faces.el (describe-face):
16321 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16323 * files.el (find-file-existing, auto-save-mode):
16324 * font-lock.el (font-lock-fontify-buffer):
16325 * help-fns.el (describe-function, describe-variable)
16326 (describe-syntax, describe-categories):
16327 * help.el (view-lossage, describe-bindings, describe-key)
16329 * hexl.el (hexl-current-address):
16330 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16331 * info.el (Info-goto-emacs-key-command-node):
16332 * log-edit.el (log-edit-insert-cvs-template)
16333 (log-edit-insert-cvs-rcstemplate):
16334 * menu-bar.el (menu-bar-mode):
16335 * mouse.el (mouse-appearance-menu):
16336 * newcomment.el (comment-indent-new-line):
16337 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16338 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16339 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16340 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16341 * recentf.el (recentf-mode):
16342 * savehist.el (savehist-mode, savehist-save):
16343 * shadowfile.el (shadow-copy-files):
16344 * simple.el (kill-ring-save, next-line, previous-line)
16345 (normal-erase-is-backspace-mode):
16346 * strokes.el (strokes-update-window-configuration)
16347 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16348 (strokes-xpm-for-stroke):
16349 * time.el (emacs-uptime, emacs-init-time):
16350 * tutorial.el (tutorial--describe-nonstandard-key)
16351 (tutorial--detailed-help):
16352 * type-break.el (type-break-mode)
16353 (type-break-mode-line-message-mode, type-break-query-mode)
16354 (type-break-guesstimate-keystroke-threshold):
16355 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16356 * version.el (emacs-version):
16357 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16358 * winner.el (winner-mode):
16359 * calendar/timeclock.el (timeclock-in, timeclock-out)
16360 (timeclock-status-string, timeclock-change)
16361 (timeclock-workday-remaining-string)
16362 (timeclock-workday-elapsed-string)
16363 (timeclock-when-to-leave-string):
16364 * calendar/todo-mode.el (todo-add-category):
16365 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16366 * emacs-lisp/autoload.el (update-file-autoloads):
16367 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16368 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16369 (checkdoc-message-text, checkdoc-defun):
16370 * emacs-lisp/debug.el (debugger-list-functions):
16371 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16372 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16373 (eieio-describe-generic):
16374 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16375 * emacs-lisp/shadow.el (list-load-path-shadows):
16376 * emulation/cua-base.el (cua-mode):
16377 * emulation/edt.el (edt-set-scroll-margins):
16378 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16379 (tpu-toggle-regexp, tpu-toggle-search-direction)
16380 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16381 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16382 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16383 (viper-set-parsing-style-toggling-macro)
16384 (viper-set-emacs-state-searchstyle-macros):
16385 * emulation/viper.el (viper-set-hooks):
16386 * eshell/esh-mode.el (eshell-truncate-buffer):
16387 * international/mule-cmds.el (prefer-coding-system)
16388 (describe-input-method, describe-language-environment):
16389 * international/mule-diag.el (list-character-sets)
16390 (describe-character-set, describe-coding-system)
16391 (describe-fontset, list-fontsets, list-input-methods):
16392 * mail/sendmail.el (mail-signature):
16393 * net/ange-ftp.el (ange-ftp-copy-file):
16394 * net/browse-url.el (browse-url):
16395 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16396 * net/quickurl.el (quickurl-add-url):
16397 * net/rcirc.el (names, topic):
16398 * net/xesam.el (xesam-mode):
16399 * play/5x5.el (5x5-new-game):
16400 * play/yow.el (apropos-zippy):
16401 * progmodes/ada-mode.el (ada-mode-version):
16402 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16404 (f90-beginning-of-block):
16405 * progmodes/fortran.el (fortran-end-of-block)
16406 (fortran-beginning-of-block):
16407 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16408 * progmodes/python.el (python-describe-symbol, python-shell):
16409 * term/ns-win.el (ns-print-buffer):
16410 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16411 * textmodes/flyspell.el (flyspell-mode-on):
16412 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16413 (pages-directory-for-addresses):
16414 * textmodes/table.el (table-recognize-cell)
16415 (table-query-dimension, table-generate-source)
16416 (table-insert-sequence, table--warn-incompatibility):
16417 * textmodes/tex-mode.el (tex-validate-buffer):
16418 * textmodes/texinfmt.el (texinfmt-version)
16419 (texinfo-format-buffer):
16420 Use `called-interactively-p' instead of `interactive-p'.
16422 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16424 * image-mode.el (image-toggle-display):
16425 * emacs-lisp/elp.el (elp-instrument-function):
16426 * emacs-lisp/advice.el (ad-make-advised-definition):
16427 * emacs-lisp/easy-mmode.el (define-minor-mode):
16428 * net/browse-url.el (browse-url-maybe-new-window):
16429 * progmodes/sh-script.el (sh-learn-buffer-indent):
16430 Pass new argument 'any to `called-interactively-p'.
16432 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16434 * international/uni-bidi.el:
16435 * international/uni-category.el:
16436 * international/uni-combining.el:
16437 * international/uni-comment.el:
16438 * international/uni-decimal.el:
16439 * international/uni-decomposition.el:
16440 * international/uni-digit.el:
16441 * international/uni-lowercase.el:
16442 * international/uni-mirrored.el:
16443 * international/uni-name.el:
16444 * international/uni-numeric.el:
16445 * international/uni-old-name.el:
16446 * international/uni-titlecase.el:
16447 * international/uni-uppercase.el:
16448 Regenerate from Unicode 5.2.0 data.
16450 2009-10-01 Glenn Morris <rgm@gnu.org>
16452 * Makefile.in (ELCFILES): Regenerate.
16454 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16456 * subr.el (interactive-p): Mark obsolete.
16457 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16458 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16459 advertised-signature-table for subroutines as well.
16461 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16462 (set-advertised-calling-convention): New function.
16463 (make-obsolete, define-obsolete-function-alias)
16464 (make-obsolete-variable, define-obsolete-variable-alias):
16465 Make the optional-ness of `when' obsolete.
16466 (define-obsolete-face-alias): Make `when' non-optional.
16467 * help-fns.el (help-function-arglist):
16468 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16469 Use advertised-signature-table.
16471 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16473 * files.el (delete-directory): New defun. The original function
16474 in fileio.c has been renamed to `delete-directory-internal'.
16476 * dired.el (dired-delete-file): Call `delete-directory' with
16477 RECURSIVE parameter.
16479 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16480 parameter RECURSIVE. Implementation is missing.
16482 * net/tramp.el (tramp-handle-make-directory): Flush upper
16483 directory's file properties.
16484 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16485 (tramp-handle-dired-recursive-delete-directory): Flush directory
16486 properties after the remove command only.
16488 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16489 Handle optional parameter RECURSIVE.
16491 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16492 Handle optional parameter RECURSIVE.
16494 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16495 connection timeout.
16496 (tramp-smb-handle-delete-directory): Handle optional parameter
16499 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16501 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16502 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16503 (byte-compile-defmacro): Use backquotes.
16505 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16507 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16508 has no associated file.
16509 (vc-resynch-buffer): Use vc-dir-buffers.
16511 2009-10-01 Glenn Morris <rgm@gnu.org>
16513 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16514 (chart-file-count):
16515 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16516 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16517 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16518 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16519 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16520 (eieio-copy-parents-into-subclass, make-instance, class-children)
16521 (eieio-generic-form):
16523 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16524 match-data. (Bug#4555).
16526 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16527 rather than parsing it as a regexp. This relaxes the layout
16528 requirements and makes errors easier to detect.
16529 (check-declare-verify): Check file is regular.
16530 (check-declare-directory): Doc fix.
16531 * subr.el (declare-function): Doc fix.
16533 * ibuffer.el (ibuffer-format-qualifier):
16534 * isearch.el (hi-lock-regexp-okay):
16535 * calc/calc.el (math-zerop):
16536 * mail/uce.el (rmail-msgbeg, rmail-msgend):
16537 * term/w32-win.el (setup-default-fontset, set-fontset-font):
16538 Remove unused declarations.
16540 2009-09-30 Eric Ludlam <zappo@gnu.org>
16542 * emacs-lisp/eieio.el (boolean-p): Delete.
16544 2009-09-30 Glenn Morris <rgm@gnu.org>
16546 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16548 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16549 filename is not a string.
16551 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
16553 * files.el (safe-local-eval-forms): Fix typo.
16555 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
16557 * vc-hooks.el (vc-dir-buffers): New var.
16558 (vc-state-refresh): New function.
16559 (vc-state): Use it.
16560 (vc-after-save): Always ask the backend to recompute the new state.
16561 Always call vc-dir if necessary, using vc-dir-buffers.
16562 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16563 Use vc-dir-buffers.
16564 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16565 (vc-dir-prepare-status-buffer, vc-dir-update)
16566 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16567 Don't call expand-file-name on default-directory.
16569 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16571 * speedbar.el (speedbar-item-delete):
16572 * calc/calc-prog.el (calc-kbd-if):
16573 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16575 * epa.el (epa-key-list-mode-map):
16576 * hi-lock.el (hi-lock-menu): Fix typos in menus.
16578 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16579 (hs-show-hook): Fix typo in docstring.
16581 2009-09-29 Glenn Morris <rgm@gnu.org>
16583 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16584 file-name-nondirectory call preventing location of cedet files.
16585 (check-declare-verify): Use literal search rather than re-search.
16586 Add basic defmethod and defclass, and define-overloadable-function.
16588 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16589 Use tramp-compat-file-attributes rather than nonexistent
16590 tramp-compat-handle-file-attributes.
16592 * Makefile.in (lisptagsfiles4): New.
16593 (AUTOGENEL): Add cedet loaddefs files.
16594 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16595 (update-elclist, compile-always, backup-compiled-files)
16596 (bootstrap-clean): Add yet another directory level.
16597 (update-elclist): Use LC_COLLATE rather than COLLATE.
16598 (ELCFILES): Update, via `make update-elclist'.
16600 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
16602 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16603 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16604 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16606 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
16608 * Makefile.in (lisptagsfiles3): Define.
16609 (TAGS, TAGS-LISP): Use it.
16610 (update-elclist): Add third directory level to look for elc files.
16611 (compile-always): Likewise.
16612 (backup-compiled-files): Likewise.
16613 (bootstrap-clean): Likewise.
16614 (ELCFILES): Update.
16616 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
16618 * Makefile.in (ELCFILES): Add CEDET files.
16620 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
16622 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16624 * net/tramp.el (top): Require tramp-imap.
16626 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16627 Use `tramp-compat-handle-file-attributes'.
16629 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
16631 * net/tramp-imap.el: New package.
16633 2009-09-28 Eric Ludlam <zappo@gnu.org>
16635 * emacs-lisp/chart.el:
16636 * emacs-lisp/eieio-base.el:
16637 * emacs-lisp/eieio-comp.el:
16638 * emacs-lisp/eieio-custom.el:
16639 * emacs-lisp/eieio-datadebug.el:
16640 * emacs-lisp/eieio-opt.el:
16641 * emacs-lisp/eieio-speedbar.el:
16642 * emacs-lisp/eieio.el: New files.
16644 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16646 * whitespace.el (whitespace-trailing-regexp)
16647 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16650 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
16652 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16655 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16656 menu-bar-ediff-menu.
16658 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16659 define-overloadable-function.
16661 * progmodes/autoconf.el: Provide autoconf as well, so that this
16662 file can be `require'd.
16664 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16666 * emacs-lisp/autoload.el (generated-autoload-feature)
16667 (generated-autoload-load-name): New vars.
16668 (autoload-rubric, autoload-generate-file-autoloads): Use them.
16669 (make-autoload): Recognize define-overloadable-function and
16670 defclass forms (for EIEIO).
16672 * Makefile.in (update-subdirs): Exclude cedet directory.
16674 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
16676 * term/ns-win.el: Don't set the region face background. (Bug#4381)
16678 * faces.el: Default light-background background for region face to
16679 ns_selection_color under NS.
16681 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
16683 * net/imap-hash.el: New library, see NEWS.
16685 * Makefile.in (ELCFILES): Add imap-hash.el.
16687 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
16689 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16690 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16691 * help-macro.el (make-help-screen): Avoid using an ambiguous function
16692 definition where the docstring could be taken for the return value.
16694 2009-09-26 Glenn Morris <rgm@gnu.org>
16696 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16697 Add option to only show images below a certain size.
16698 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16699 save-excursion calls.
16701 2009-09-26 Eli Zaretskii <eliz@gnu.org>
16703 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16704 subdirectories) and eieio.
16706 2009-09-26 Alan Mackenzie <acm@muc.de>
16708 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16709 Correct buggy bracketing. (Bug#4289)
16711 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16712 character constants (as case labels). (Bug#4289)
16714 2009-09-25 Juri Linkov <juri@jurta.org>
16716 * files.el (safe-local-eval-forms): Allow time-stamp in
16717 before-save-hook (Bug#4554).
16719 2009-09-25 Drew Adams <drew.adams@oracle.com>
16721 * menu-bar.el (list-buffers-directory): Doc fix.
16723 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
16725 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16726 Try and avoid copying twice the same paragraph.
16727 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16728 Remove save-excursion.
16729 (log-edit-changelog-entry): Do it here instead.
16731 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
16733 * bs.el (bs--get-file-name): Use `list-buffers-directory'
16734 when available, instead of hardcoding mode names. Doc fix.
16736 * menu-bar.el (list-buffers-directory): Add docstring.
16737 Make automatically buffer-local.
16739 * dired.el (dired-mode):
16740 * files.el (cd-absolute):
16741 * pcvs.el (cvs-temp-buffer):
16742 * pcvs-util.el (cvs-get-buffer-create):
16743 * shell.el (shell-mode):
16744 * vc-dir.el (vc-dir-mode):
16745 Don't make `list-buffers-directory' buffer local.
16747 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
16749 * comint.el (comint-exec, comint-run, make-comint):
16750 Doc fixes (Bug#4542).
16752 2009-09-25 Glenn Morris <rgm@gnu.org>
16754 * mail/rmailmm.el (rmail-mime): New custom group.
16755 Move all defcustoms in this file into this group.
16756 (rmail-mime-media-type-handlers-alist): Revert previous change.
16757 (rmail-mime-show-images): New option.
16758 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16759 references to it, since it wasn't actually used for anything.
16760 (rmail-mime-insert-image): New function.
16761 (rmail-mime-image): Use rmail-mime-insert-image.
16762 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16763 obey the value of `rmail-mime-show-images' option. Print the size of
16766 2009-09-25 David Engster <deng@randomsample.de>
16768 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
16770 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16772 * whitespace.el: Does not highlight trailing spaces While point is
16773 at end of line. Does not highligt spaces at beginning of buffer
16774 while point is at beginning of buffer. Does not highlight spaces
16775 at end of buffer while point is at end of buffer. (Bug#4177)
16777 (whitespace-display-mappings): Adjust initialization.
16778 (whitespace-point, whitespace-font-lock-refontify): New vars.
16779 (whitespace-color-on, whitespace-color-off): Adjust code.
16780 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16781 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16782 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16784 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
16786 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16788 * textmodes/sgml-mode.el: Remove xml-mode alias.
16790 * files.el (auto-mode-alist, conf-mode-maybe)
16791 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16793 2009-09-24 Alan Mackenzie <acm@muc.de>
16795 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16796 c-forward-conditionals, but it doesn't move point and doesn't set
16798 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16799 (c-down-conditional-with-else, c-backward-conditional)
16800 (c-forward-conditional): Refactor to use c-scan-conditionals.
16802 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16804 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16805 (help-default-arg-highlight): Remove.
16806 (help-highlight-arg): New function.
16807 (help-do-arg-highlight): Use it.
16808 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
16810 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16812 * term.el (term-set-scroll-region, term-handle-ansi-escape):
16813 Undo last change, which didn't fix the problem and introduced others.
16815 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
16817 * progmodes/gdb-mi.el: Don't require speedbar.
16818 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16820 2009-09-24 Glenn Morris <rgm@gnu.org>
16822 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16824 * term/ns-win.el (ns-reg-to-script): Define for compiler.
16826 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16827 there is no newline after the final mime boundary. (Bug#4539)
16828 Move markers on insertion so that any buttons inserted don't end up in
16829 the next part of a multipart message.
16830 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
16831 (rmail-mime-bulk-handler): Optionally handle images.
16832 (rmail-mime-image): New button action.
16833 (rmail-mime-image-handler): New function.
16834 (rmail-mime-mode): New mode.
16835 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
16837 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
16839 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16840 than just dropping elements from it (bug#4504).
16842 * term.el (term-set-scroll-region): Don't move cursor any more.
16843 (term-handle-ansi-escape): Call term-goto here instead.
16844 Suggested by Ivan Kanis <apple@kanis.eu>.
16846 * term.el: Require CL.
16847 (term-ansi-reset): New function.
16848 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16849 (term-handle-colors-array): Simplify.
16851 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
16853 * allout.el (allout-overlay-interior-modification-handler)
16854 (allout-obtain-passphrase):
16855 * epa-file.el (epa-file-write-region):
16856 * ps-print.el (ps-begin-job):
16857 * vc-hooks.el (vc-toggle-read-only):
16858 * vc-rcs.el (vc-rcs-rollback):
16859 * vc-sccs.el (vc-sccs-rollback):
16860 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16861 (vc-version-diff, vc-revert, vc-rollback):
16862 * wdired.el (wdired-check-kill-buffer):
16863 * emacs-lisp/authors.el (authors):
16864 * net/socks.el (socks-open-connection):
16865 * net/zeroconf.el (zeroconf-service-add-hook):
16866 * obsolete/vc-mcvs.el (vc-mcvs-register):
16867 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16868 (gdb-select-frame):
16869 * progmodes/grep.el (lgrep, rgrep):
16870 * progmodes/idlw-help.el (idlwave-help-check-locations)
16871 (idlwave-help-html-link, idlwave-help-assistant-open-link):
16872 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16873 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16874 (reftex-toc-rename-label): Fix typos in error messages.
16876 * dired-aux.el (dired-do-shell-command): Reflow docstring.
16877 (dired-copy-how-to-fn): Doc fix.
16878 (dired-files-attributes, dired-read-shell-command):
16879 Fix typos in docstrings.
16881 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16882 (dired-x-find-file-other-window): Reflow docstrings.
16883 (dired-omit-marker-char, dired-read-shell-command)
16884 (dired-x-submit-report): Fix typos in docstrings.
16886 * shell.el (shell-mode-hook):
16887 * view.el (View-scroll-line-forward):
16888 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16889 Fix typos in docstrings.
16891 * net/dig.el (dig-invoke): Fix typo in docstring.
16892 (query-dig): Reflow docstring.
16894 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16895 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16896 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16897 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16898 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16899 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16900 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16901 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16902 (idlwave-completion-map, idlwave-current-indent)
16903 (idlwave-custom-ampersand-surround, idlwave-customize)
16904 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16905 (idlwave-define-abbrev, idlwave-determine-class-special)
16906 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16907 (idlwave-end-block-reg, idlwave-end-of-statement)
16908 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16909 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16910 (idlwave-explicit-class-listed, idlwave-file-header)
16911 (idlwave-fill-paragraph, idlwave-find-class-definition)
16912 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16913 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16914 (idlwave-in-quote, idlwave-indent-action-table)
16915 (idlwave-indent-expand-table, idlwave-indent-line)
16916 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16917 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16918 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16919 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16920 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16921 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16922 (idlwave-outlawed-buffers, idlwave-popup-select)
16923 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16924 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16925 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16926 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16927 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16928 (idlwave-statement-type, idlwave-struct-skip)
16929 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16930 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16931 (idlwave-what-module-find-class): Fix typos in docstrings.
16932 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16933 (idlwave-calculate-cont-indent, idlwave-expand-equal)
16934 (idlwave-find-module, idlwave-find-structure-definition)
16935 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16936 (idlwave-list-load-path-shadows, idlwave-next-statement)
16937 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16938 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16939 (idlwave-template): Reflow docstrings.
16941 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16942 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16943 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16944 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16945 (idlwave-shell-display-line, idlwave-shell-display-wframe)
16946 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16947 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16948 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16949 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16950 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16951 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16952 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16953 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16954 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16955 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16956 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16957 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16958 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16959 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16960 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16961 Fix typos in docstrings.
16962 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16963 (idlwave-shell-hide-output, idlwave-shell-mode)
16964 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16967 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16969 2009-09-24 Ivan Kanis <apple@kanis.eu>
16971 * term.el (term-bold-attribute): New var.
16972 (term-handle-colors-array): Use it.
16974 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
16976 * progmodes/gdb-mi.el (gdb-version): New variable.
16977 (gdb-non-stop-handler): Set gdb-version.
16978 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16979 Condition "--thread" option on gdb-version.
16980 (gdb-invalidate-threads): Remove unused argument.
16982 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
16984 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16985 to looking-back to avoid ridiculous slow down in large files (bug#4511).
16987 2009-09-23 Glenn Morris <rgm@gnu.org>
16989 * mail/rmail.el (rmail-reply): Don't try to add a References header when
16990 replying to mail without References or Message-Id. (Bug#4525)
16992 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
16994 * term/ns-win.el (ns-reg-to-script): New variable.
16996 2009-09-23 Daiki Ueno <ueno@unixuser.org>
16998 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17000 2009-09-22 Sam Steingold <sds@gnu.org>
17002 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17003 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17004 to 1 because hg returns status 1 when nothing is found.
17005 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17007 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17009 * textmodes/fill.el: Convert to utf-8 encoding.
17010 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17013 * add-log.el (change-log-fill-forward-paragraph): New function.
17014 (change-log-mode): Use it so fill-region DTRT.
17015 Set fill-indent-according-to-mode here rather than in
17016 change-log-fill-paragraph.
17017 (change-log-fill-paragraph): Remove.
17019 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17021 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17022 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17024 2009-09-22 Glenn Morris <rgm@gnu.org>
17026 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17027 the scroll-bar scroll the calendar window rather than the buffer.
17029 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17030 commands that move point (as opposed to scrolling).
17032 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17034 * emacs-lisp/elint.el (elint): New custom group.
17035 (elint-log-buffer): Make it a defcustom.
17036 (elint-scan-preloaded, elint-ignored-warnings)
17037 (elint-directory-skip-re): New options.
17038 (elint-builtin-variables): Doc fix.
17039 (elint-preloaded-env): New variable.
17040 (elint-unknown-builtin-args): Add an entry for encode-time.
17041 (elint-extra-errors): Make it a variable rather than a constant.
17042 (elint-preloaded-skip-re): New constant.
17043 (elint-directory): Skip files matching elint-directory-skip-re.
17044 (elint-features): New variable, local to linted buffers.
17045 (elint-update-env): Initialize elint-features. Possibly add
17046 elint-preloaded-env to the buffer's environment.
17047 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17049 (elint-init-form): New function, extracted from elint-init-env.
17050 Make non-list forms a warning rather than an error.
17051 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17052 easy-menu-define, put that adds an error-condition, and provide.
17053 When requiring cl, also require cl-macs. Really require cl, to handle
17054 some cl macros. Store required libraries in the list elint-features,
17055 so as not to re-load them. Treat cc-require like require.
17056 (elint-init-env): Call elint-init-form to do the work.
17057 Handle eval-and-compile and such like.
17058 (elint-add-required-env): Do not clear messages.
17059 (elint-special-forms): Add handlers for function, defalias, if, when,
17061 (elint-form): Add optional argument to ignore elint-special-forms,
17062 useful to prevent recursive calls from handlers. Doc fix.
17063 Respect elint-ignored-warnings.
17064 (elint-form): Respect elint-ignored-warnings.
17065 (elint-bound-variable, elint-bound-function): New variables.
17066 (elint-unbound-variable): Respect elint-bound-variable.
17067 (elint-get-args): Respect elint-bound-function.
17068 (elint-check-cond-form): Add some simple handling for (f)boundp and
17070 (elint-check-defalias-form): New handler.
17071 (elint-check-let-form): Make an empty let a warning rather than an
17073 (elint-check-setq-form): Make an empty setq a warning rather than an
17074 error. Respect elint-ignored-warnings.
17075 (elint-check-defvar-form): Accept null doc-strings.
17076 (elint-check-conditional-form): New handler. Does some simple-minded
17077 checking of featurep and (f)boundp tests.
17078 (elint-put-function-args): New function.
17079 (elint-initialize): Use elint-scan-doc-file rather than
17080 elint-find-builtin-variables. Use elint-put-function-args.
17081 Possibly scan preloaded-file-list.
17082 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17083 extend to handle functions as well.
17085 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17087 * linum.el (linum-delete-overlays, linum-update-window):
17088 Do not modify the right margin. (Bug#3971)
17090 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17092 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17093 Use nxml-mode instead of xml-mode.
17095 2009-09-21 Kevin Ryde <user42@zip.com.au>
17097 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17099 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17101 * net/dig.el (dig-mode): Use define-derived-mode.
17103 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17105 * vc-dispatcher.el (vc-do-command): Return the process object in
17106 the asynchronous case. Use when instead of if. Do not run
17107 vc-exec-after to display a message if not enabled. (Bug#4463)
17109 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17110 properties to the stash strings.
17111 (vc-git-stash-list): Return a list of strings.
17112 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17113 (vc-git-stash-show-at-point): New functions.
17114 (vc-git-stash-map): New keymap.
17116 * register.el (ctl-x-r-map): Define the keys here instead of
17119 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17121 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17122 list, to workaround performance problem (bug#4485).
17124 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17126 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17128 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17130 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17131 Document that this option is not recommended to use.
17133 2009-09-19 Glenn Morris <rgm@gnu.org>
17135 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17138 * calc/calc-alg.el (var):
17139 * calc/calcalg2.el (var): Define for compiler.
17141 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17143 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17144 Doc fix (Bug#3932).
17146 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17148 * time-stamp.el (time-stamp-month-dd-yyyy)
17149 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17150 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17151 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17152 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17153 Remove functions that have been obsolete since 1995 (Bug#4436).
17155 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17156 indent buffer only if called interactively (Bug#4452).
17158 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17159 Eli Zaretskii <eliz@gnu.org>
17161 This fixes bug#4197 (merged to bug#865, though not identical).
17162 * server.el (server-auth-dir): Add docstring note about FAT32.
17163 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17164 but warn against using them.
17166 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17168 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17169 older GDB where there is no has_more field.
17171 2009-09-19 Glenn Morris <rgm@gnu.org>
17173 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17175 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17177 * files.el (auto-mode-alist): Change default for XML files to nXML
17180 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17182 * server.el (server-ensure-safe-dir): Pass 'integer
17183 to `file-attributes', as suggested.
17185 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17187 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17188 (dired-query): Use read-key.
17190 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17192 * cus-start.el (ns-use-qd-smoothing): Remove.
17194 2009-09-18 Glenn Morris <rgm@gnu.org>
17196 * allout.el (top-level): Remove unnecessary progn.
17198 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17200 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17201 definition of abbrev table.
17203 * speedbar.el (speedbar-track-mouse):
17204 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17205 * net/eudc.el (eudc-expand-inline):
17206 * net/newst-backend.el (newsticker--cache-read-feed):
17207 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17208 condition-case handlers.
17210 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17212 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17213 (gdb-var-list): Add an element for has_more field.
17214 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17215 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17216 (gdb-var-update-handler-1): Parse output of dynamic variable
17217 objects (STL containers).
17218 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17219 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17221 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17223 (gud-speedbar-buttons): Make node expandable if expression "has more"
17226 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17228 * startup.el (emacs-quick-startup): Remove variable and all uses.
17229 (command-line): Set `inhibit-x-resources' instead.
17230 (command-line-1): Use `inhibit-x-resources' instead.
17232 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17234 * subr.el: Fix last change to avoid using the `unless' macro,
17235 which breaks bootstrapping.
17237 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17239 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17240 extended definitions, in case we reload subr.el after having
17242 (eval-next-after-load): Mark as obsolete.
17244 2009-09-17 Juri Linkov <juri@jurta.org>
17246 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17247 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17248 (menu-bar-showhide-menu, menu-bar-tools-menu)
17249 (menu-bar-describe-menu, menu-bar-help-menu)
17250 (minibuffer-local-completion-map, minibuffer-local-map):
17253 2009-09-17 Glenn Morris <rgm@gnu.org>
17255 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17256 arguments, whether or not it has a handler.
17258 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17260 * simple.el (hard-newline): Give it a doc-string.
17262 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17263 (lisp-mode-syntax-table): Give them doc-strings.
17265 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17267 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17268 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17269 (menu-bar-options-menu, menu-bar-showhide-menu)
17270 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17271 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17272 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17273 (menu-bar-options-menu, menu-bar-tools-menu)
17274 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17275 (menu-bar-help-menu):
17276 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17279 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17280 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17281 calls for the menu names and :help.
17283 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17285 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17286 to :minor-mode-function (bug#4455).
17288 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17290 * startup.el (command-line): Initialize the window-system after
17291 processing the command-line.
17293 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17294 page-delimiter matches the empty string.
17296 2009-09-16 Glenn Morris <rgm@gnu.org>
17298 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17299 byte-compile-not-obsolete-var. It's a list now.
17300 (byte-compile-not-obsolete-funcs): New variable.
17301 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17302 byte-compile-not-obsolete-funcs.
17303 (byte-compile-variable-ref, byte-compile-defvar): Update for
17304 byte-compile-not-obsolete-vars name-change and list nature.
17305 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17306 and variables behind (f)boundp tests.
17307 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17309 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17311 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17313 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17315 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17316 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17319 2009-09-15 Stephen Eglen <stephen@gnu.org>
17321 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17322 the virtual-buffers, use the name of the buffer specified by
17323 find-file-noselect, as the match may be a symlink. (This was a
17324 problem if the target and the symlink had different names.)
17326 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17330 * desktop.el (desktop-path): Check user-emacs-directory.
17332 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17334 * loadup.el: Use after-load-functions to GC after loading each file.
17335 Remove the explicit GC calls that used to be sprinkled around.
17337 * subr.el (after-load-functions): New hook.
17338 (do-after-load-evaluation): Run it. Use string-match-p to detect
17339 `obsolete' packages, rather than painfully extracting the relevant
17342 2009-09-15 Glenn Morris <rgm@gnu.org>
17344 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17345 free variable `doc'.
17347 * dired.el (dired-mode-map): Add menu entry for async shell command.
17349 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17350 variables, also consider the .elc files, since the .el files are
17351 normally gzipped (subsequent code locates the .el.gz from the .elc).
17353 * calc/calc-prog.el (arglist): Define for compiler.
17355 * calendar/diary-lib.el (diary-display-function): Change the default to
17357 (body): Define for compiler.
17359 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17360 (byte-compile-file-form, byte-compile-lambda)
17361 (byte-compile-top-level-body, byte-compile-form)
17362 (byte-compile-variable-ref, byte-compile-setq)
17363 (byte-compile-setq-default, byte-compile-body)
17364 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17365 (batch-byte-compile): Give some more local variables with common names
17366 a "bytecomp-" prefix to avoid masking warnings about free variables.
17368 * startup.el (command-line-1): Give local variables with common names a
17369 distinguishing prefix, so as not to hide free variable warnings during
17372 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17373 clever and add a suffix to make a unique name, just let the user decide
17374 whether or not to overwrite it. If the input is a directory, write the
17375 default filename to that directory. (Bug#4388)
17376 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17377 is a filename-as-a-directory.
17379 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17381 * textmodes/page.el (what-page): Don't move to beginning of line.
17382 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17384 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17386 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17388 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17390 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17391 * help.el (help-for-help-internal): Add purecopy calls for text.
17393 * vc.el (top): print-log method now takes an optional SHORTLOG
17394 argument. Add a new method: root.
17395 (vc-root-diff, vc-print-root-log): New functions.
17396 (vc-log-short-style): New variable.
17397 (vc-print-log-internal): Add support for showing short logs.
17399 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17400 vc-print-root-log and vc-print-root-diff.
17402 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17403 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17404 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17407 * vc-cvs.el (vc-cvs-print-log):
17408 * vc-mtn.el (vc-mtn-print-log):
17409 * vc-rcs.el (vc-rcs-print-log):
17410 * vc-sccs.el (vc-sccs-print-log):
17411 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17412 that is ignored for now.
17414 * vc-mtn.el (vc-mtn-annotate-command):
17415 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17417 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17419 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17420 to function-key-map, and give them ascii-character property.
17421 * term/x-win.el (x-alternatives-map):
17422 * term/ns-win.el (ns-alternatives-map):
17423 * term/internal.el (msdos-key-remapping-map):
17424 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17426 2009-09-14 Glenn Morris <rgm@gnu.org>
17428 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17429 temp-buffers (2009-09-12).
17431 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17433 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17434 the new read-key function.
17436 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17438 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17439 is defined (Bug#4405).
17441 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17443 * recentf.el (recentf-cleanup): Use a hash table to find
17444 duplicates (Bug#4407).
17446 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17448 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17449 kp-0 to ascii equivalents (Bug#4325).
17451 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17453 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17455 * eshell/em-hist.el:
17456 * eshell/em-dirs.el (eshell-complete-user-reference):
17457 Declare pcomplete functions and variables to avoid compiler warnings.
17459 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17461 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17462 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17463 * eshell/em-alias.el (eshell-aliases-file):
17464 * eshell/em-hist.el (eshell-history-file-name):
17465 Use expand-file-name instead of concat to make file names (Bug#4308).
17467 2009-09-13 Glenn Morris <rgm@gnu.org>
17469 * ediff-merg.el (ediff-do-merge):
17470 * filesets.el (filesets-run-cmd):
17471 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17472 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17473 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17474 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17475 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17476 Replace empty `let's with `progn'.
17478 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17480 * mail/sendmail.el (send-mail-function):
17481 * tooltip.el (tooltip-mode):
17482 * simple.el (transient-mark-mode):
17483 * rfn-eshadow.el (file-name-shadow-mode):
17484 * frame.el (blink-cursor-mode):
17485 * font-core.el (global-font-lock-mode):
17486 * files.el (temporary-file-directory)
17487 (small-temporary-file-directory, auto-save-file-name-transforms):
17488 * epa-hook.el (auto-encryption-mode):
17489 * composite.el (global-auto-composition-mode):
17490 Use custom-initialize-delay.
17491 * startup.el (command-line): Don't explicitly call
17492 custom-reevaluate-setting for all the above vars.
17493 * custom.el (custom-initialize-safe-set)
17494 (custom-initialize-safe-default): Delete.
17496 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17498 * term/x-win.el (x-initialize-window-system):
17499 * term/w32-win.el (w32-initialize-window-system):
17500 * term/ns-win.el (ns-initialize-window-system): Don't call
17501 mouse-wheel-mode since it's enabled globally by default already.
17503 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17504 actually define the variable, but only silences the byte-compiler.
17505 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17506 before looking it up.
17507 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17510 2009-09-12 Glenn Morris <rgm@gnu.org>
17512 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17514 (elint-add-required-env): Don't beep on error.
17515 (elint-forms): In case of error, return ENV unchanged.
17516 (elint-init-env): Skip non-list forms.
17517 (elint-log): Handle unknown file positions.
17519 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17521 * epg.el (epg-make-context): Add autoload cookie.
17522 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17523 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17524 (epg-verify-string, epg-start-sign, epg-sign-file)
17525 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17526 (epg-encrypt-string, epg-start-export-keys)
17527 (epg-export-keys-to-file, epg-export-keys-to-string)
17528 (epg-start-import-keys, epg-import-keys-from-file)
17529 (epg-import-keys-from-string, epg-start-receive-keys)
17530 (epg-receive-keys, epg-import-keys-from-server)
17531 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17532 (epg-sign-keys, epg-start-generate-key)
17533 (epg-generate-key-from-file, epg-generate-key-from-string):
17534 Remove autoload cookie.
17536 2009-09-12 Eli Zaretskii <eliz@gnu.org>
17538 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17539 reevaluation of trash-directory.
17541 * mwheel.el: Fix last change.
17542 (mouse-wheel-mode): New defvar.
17543 (mouse-wheel-mode): Remove autoload cookie.
17545 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17547 * mwheel.el (mwheel-installed-bindings): New var.
17548 (mouse-wheel-mode): Use it, so as to make sure we really remove all
17549 the bindings we set last time. Use custom-initialize-delay.
17550 * loadup.el: Load mwheel after term/*-win.el.
17551 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17552 and mouse-wheel-up-event now that their first evaluation is done
17553 sufficiently late to be correct.
17555 * startup.el (tutorial-directory): Make it a defcustom.
17556 Use custom-initialize-delay rather than eval-at-startup to set it.
17557 * image.el (image-load-path): Make it a defcustom.
17558 Use custom-initialize-delay rather than eval-at-startup to set it.
17559 * subr.el (eval-at-startup): Remove.
17560 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17562 * subr.el (do-after-load-evaluation): Warn the user after loading an
17565 2009-09-12 Glenn Morris <rgm@gnu.org>
17567 * proced.el (proced-mark-alt): Remove alias.
17568 (proced-mode-map): Remove proced-mark-alt.
17570 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17571 Elint file and directory. Remove initialization entry.
17573 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17575 (elint-current-buffer): Set mode-line-process.
17576 (elint-init-env): Handle define-derived-mode.
17577 Fix declare-function with unspecified arglist. Guard against odd
17578 defalias statements (eg iso-insert's 8859-1-map).
17579 (elint-add-required-env): Use a temp buffer.
17580 (elint-form): Just print the function/macro name, not the whole form.
17581 Return env unchanged if we fail to parse a macro.
17582 (elint-forms): Guard against parse errors.
17583 (elint-output): New function, to handle batch mode.
17584 (elint-log-message): Add optional argument. Use elint-output.
17585 (elint-set-mode-line): New function.
17587 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
17589 * emacs-lisp/elp.el (elp-not-profilable): Add more
17590 functions (Bug#4233).
17592 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
17594 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17595 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17597 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17599 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17600 (gdb-var-list-children): Use json parsing.
17602 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
17604 * progmodes/js.el (js--proper-indentation): Handle the case where
17605 char-before is null. Reported by Deniz Dogan.
17607 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17609 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17611 2009-09-11 Daiki Ueno <ueno@unixuser.org>
17613 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17614 (epg-digest-algorithm-alist): Add SHA224.
17615 (epg-context-set-passphrase-callback)
17616 (epg-context-set-progress-callback): Add description about
17619 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17621 * custom.el (custom-delayed-init-variables): New var.
17622 (custom-initialize-delay): New function.
17623 * startup.el (command-line): "Re"evaluate all vars in
17624 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
17625 explicitly any more.
17626 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17627 to avoid creating a ~/.emacs.d at build-time (bug#4347).
17629 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17631 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
17633 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17634 (gdb-var-update-handler): Use json parsing.
17636 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
17638 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17639 decode annotated text, regardless of language environment. (Bug#2741)
17641 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17643 * Makefile.in (autoloads): Make rmail.el writable as well.
17645 2009-09-11 Glenn Morris <rgm@gnu.org>
17647 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17649 * dired.el: Regenerate with extracted autoloads.
17650 * Makefile.in (autoloads): Make dired.el writable.
17652 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17653 * ibuffer.el: Regenerate with extracted autoloads.
17654 * Makefile.in (autoloads): Make ibuffer.el writable.
17656 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17657 * version.el (emacs-copyright, emacs-major-version)
17658 (emacs-minor-version): Reformat doc-strings for make-docfile.
17660 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17661 functions and variables, since they must be stuff specific to some other
17663 (apropos-print): Make mouse-click message less specific about button.
17665 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17666 that records where a macro was defined.
17667 * help-fns.el (describe-function-1): Mention if a function has a
17669 * help-mode.el (help-function-cmacro): New button.
17671 * locate.el (top-level): Always require dired.
17672 (locate-mode-map): Initialize inside the defvar.
17674 * net/ange-ftp.el (dired-compress-file): Declare.
17675 (ange-ftp-dired-compress-file): Add doc string.
17677 * term/ns-win.el (x-display-name, x-setup-function-keys):
17678 Unify doc-strings with X versions.
17680 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
17682 * emulation/crisp.el (crisp-mode-map): Move initialization
17684 (crisp-mode): Use define-minor-mode.
17686 * progmodes/xscheme.el (xscheme-evaluation-commands):
17687 Put a :advertised-binding property rather than using
17688 advertised-xscheme-send-previous-expression.
17689 (advertised-xscheme-send-previous-expression): Declare obsolete.
17690 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17692 (crisp-mode): Add corresponding bindings to
17693 undo's :advertised-binding instead.
17694 * dired.el (dired-mode-map): Put a :advertised-binding property rather
17695 than using dired-advertised-find-file.
17696 (dired-advertised-find-file):
17697 * simple.el (advertised-undo):
17698 * wid-edit.el (advertised-widget-backward): Declare obsolete.
17699 (widget-keymap): Put a :advertised-binding property rather
17700 than using advertised-widget-backward.
17701 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17702 than using advertised-undo.
17703 * tutorial.el (tutorial--default-keys): Adjust accordingly.
17705 2009-09-10 Simon South <ssouth@slowcomputing.org>
17707 * progmodes/delphi.el (delphi-tab): Indent region when Transient
17708 Mark mode is enabled and region is active; otherwise indent or
17709 insert TAB as usual.
17710 (delphi-mode): Update description of TAB-key binding.
17712 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
17714 * subr.el (define-key-rebound-commands): Mark obsolete.
17715 * startup.el (precompute-menubar-bindings): Remove.
17716 (normal-top-level): Remove obsolete code that tried to precompute
17718 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17719 define-key-rebound-commands and precompute-menubar-bindings.
17721 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
17723 * net/imap.el (imap-interactive-login): Better messages.
17724 (imap-open): Fix bug with renamed buffer on reconnect.
17725 (imap-authenticate): Add buffer-local imap-last-authenticator variable
17726 for easier debugging and cleaner code. On successful (guessed based on
17727 server capabilities) secondary authentication, set imap-state
17729 (imap-last-authenticator): Define imap-last-authenticator as a variable
17732 2009-09-10 Glenn Morris <rgm@gnu.org>
17734 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17736 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17737 (byte-compile-file-form-autoload): Don't warn about unknown functions
17738 where the autoload statement comes after the use.
17739 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17740 that any handlers inside the body (eg require) are in turn respected.
17742 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17745 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17746 and syntax and abbrev tables basic docs, if they don't have any.
17748 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17750 * international/mule-cmds.el (top-level): Require cl when compiling.
17751 (view-hello-file): Use default-value rather than
17752 default-enable-multibyte-characters.
17754 * progmodes/fortran.el: Move all safe and risky properties into the
17757 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17758 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17759 * mail/undigest.el:
17760 Put autoloads in rmail.el rather than loaddefs.el.
17761 * mail/rmail.el: Regenerate with extracted autoloads.
17763 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17764 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17766 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
17768 Reported in thread for Bug#4375.
17769 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17770 "-data-evaluate-expression" instead of print.
17771 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17772 (gdb-tooltip-print): Parse output from above MI command.
17773 (gdb): Revert 2009-08-11 change. User should detach inferior
17776 Remove the word "separate" from IO functions as inferior
17777 output is now never displayed in the GUD buffer.
17779 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
17781 * startup.el (command-line-normalize-file-name): On Windows and
17782 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17784 2009-09-10 Juri Linkov <juri@jurta.org>
17786 * isearch.el (isearch-text-char-description): Propertize escape
17787 character sequences with the `escape-glyph' face. (Bug#4344)
17789 * simple.el (shell-command): Set asynchronous process filter to
17790 `comint-output-filter'. (Bug#4343)
17792 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17793 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
17794 the list. Move "asm" to the bottom.
17795 (grep-find-ignored-directories): Add `choice' with nil value
17796 to empty the list easily.
17797 (grep-find-ignored-files): New option.
17798 (grep-files-history): Set to nil by default instead of '("ch" "el").
17799 (grep-compute-defaults): Add "<X>" to `grep-template'.
17800 (grep-read-files): Bind new local variables `default-alias' and
17801 `default-extension'. Use a list of default values for the file prompt.
17802 (lgrep): Add `--exclude=' command line options composed from
17803 `grep-find-ignored-files'.
17804 (rgrep): Add `-name' command line options composed from
17805 `grep-find-ignored-files'. (Bug#4301)
17807 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
17809 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17812 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
17814 * calendar/time-date.el (autoload):
17815 Expand define-obsolete-function-alias into defalias and make-obsolete
17816 for old Emacsen that Gnus supports.
17817 (with-no-warnings): Define it for old Emacsen.
17818 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17820 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17821 float-time is available; suppress compile warning for time-to-seconds.
17823 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
17825 * net/imap.el (imap-message-map): Docstring fix.
17827 2009-09-09 Glenn Morris <rgm@gnu.org>
17829 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17830 line numbers too. (Bug#4374)
17832 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
17834 * smerge-mode.el (smerge-remove-props, smerge-refine):
17835 Use with-silent-modifications (bug#4342).
17837 * subr.el (with-silent-modifications): New macro.
17839 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
17841 * files.el (top-level): Require `cl' when compiling.
17843 2009-09-07 Glenn Morris <rgm@gnu.org>
17845 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17847 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17848 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
17850 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
17852 * vc-git.el (vc-git-annotate-command): Use separator to parse
17853 arguments correctly.
17855 2009-09-06 Eli Zaretskii <eliz@gnu.org>
17857 * proced.el (proced-mode): Doc fix.
17859 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
17861 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17863 (tramp-do-file-attributes-with-ls): Check for file existence at
17865 (tramp-do-file-attributes-with-stat): Likewise.
17866 (tramp-convert-file-attributes): Return nil when attr is nil.
17868 2009-09-05 Glenn Morris <rgm@gnu.org>
17870 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17871 properties to this button.
17872 (diary-fancy-display): Don't extend the button to the final newline.
17873 (diary-fancy-display-mode): Continue to define "q" as a local key.
17875 * calendar/cal-china.el (holiday-chinese): Make it slightly more
17878 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17880 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17881 (byte-compile-dest-file-function): New option.
17882 (byte-compile-dest-file): Doc fix.
17883 Obey byte-compile-dest-file-function.
17884 (byte-compile-cl-file-p): New function.
17885 (byte-compile-eval): Only suppress noruntime warnings about cl functions
17886 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
17887 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17888 than for file being previously loaded.
17889 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17890 (byte-compile-file-form-require): Handle the case where requiring a file
17891 indirectly causes CL to be loaded.
17893 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17895 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17896 before killing the old buffer, since by the time `kill-buffer' is
17897 run so many buffer variables have been set to nil that it may not
17898 behave as expected. (Bug#4061)
17900 2009-09-05 Karl Fogel <kfogel@red-bean.com>
17902 * files.el (find-alternate-file): If the old buffer is modified
17903 and visiting a file, behave similarly to `kill-buffer' when
17904 killing it, thus reverting to the pre-1.878 behavior; see
17905 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17906 for discussion. Also, consult `buffer-file-name' as a variable
17907 not as a function, for consistency with the rest of the code.
17909 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
17911 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17912 also when adding a new directory.
17914 * net/tramp-compat.el (tramp-compat-line-beginning-position):
17917 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
17919 * files.el (locate-file-completion-table): Make it provide boundary
17920 information, so partial-completion works better.
17922 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
17924 * mail/footnote.el (Footnote-text-under-cursor):
17925 Check footnote-text-marker-alist before using it (bug#4324).
17927 2009-09-04 Glenn Morris <rgm@gnu.org>
17929 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17930 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17931 * play/solitaire.el, play/tetris.el:
17932 Remove leading * from defcustom and defface docs.
17934 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17936 (diary-fancy-overriding-map): New variable.
17937 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17940 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17943 2009-09-03 Glenn Morris <rgm@gnu.org>
17945 * arc-mode.el (archive-mode):
17946 * dos-fns.el (set-default-process-coding-system):
17947 * man.el (Man-getpage-in-background):
17948 * menu-bar.el (menu-bar-describe-menu):
17949 * server.el (server-process-filter):
17950 * startup.el (command-line):
17951 * tar-mode.el (tar-header-block-tokenize, tar-extract):
17952 * w32-fns.el (set-default-process-coding-system):
17953 * x-dnd.el (x-dnd-handle-file-name):
17954 * international/mule-cmds.el (mule-menu-keymap)
17955 (set-default-coding-systems, language-info-alist, set-language-info)
17956 (set-language-environment, standard-display-european-internal)
17957 (set-locale-environment):
17958 * international/mule-diag.el (mule-diag):
17959 * mail/emacsbug.el (report-emacs-bug):
17960 * mail/rmail.el (rmail-mode):
17961 * mail/sendmail.el (mail-setup):
17962 Use default-value rather than default-enable-multibyte-characters.
17964 * progmodes/f90.el: Move all safe properties into the defcustoms.
17965 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17967 * calendar/appt.el (appt-check):
17968 * calendar/diary-lib.el (diary-set-header, diary-live-p)
17969 (diary-check-diary-file, diary-list-entries)
17970 (diary-include-other-diary-files, diary-simple-display)
17971 (diary-fancy-display, diary-print-entries)
17972 (diary-mark-included-diary-files, diary-make-entry):
17973 Don't call substitute-in-file-name on diary-file.
17975 2009-09-03 Eduard Wiebe <usenet@pusto.de>
17976 Stefan Monnier <monnier@iro.umontreal.ca>
17978 * mail/footnote.el (footnote-prefix): Make it a defcustom.
17979 (footnote-mode-map): Move initialization into the declaration.
17980 (footnote-minor-mode-map): Define it rather than changing global-map.
17981 (footnote-mode): Use define-minor-mode.
17983 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
17985 * net/tramp.el (tramp-handle-file-attributes-with-ls)
17986 (tramp-do-file-attributes-with-perl)
17987 (tramp-do-file-attributes-with-stat): Rename from
17988 `tramp-handle-file-attributes-with-*'.
17989 (tramp-handle-file-attributes): Use them.
17990 (tramp-do-directory-files-and-attributes-with-perl)
17991 (tramp-do-directory-files-and-attributes-with-stat): Rename from
17992 `tramp-handle-directory-files-and-attributes-with-*'.
17993 (tramp-handle-directory-files-and-attributes): Use them.
17994 (tramp-method-out-of-band-p): Additional parameter SIZE.
17995 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17996 (tramp-handle-write-region): Use it.
17997 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17998 (tramp-handle-vc-registered): Check, whether the first run did
17999 return files to be tested.
18000 (tramp-advice-make-auto-save-file-name): Do not call directly
18001 `tramp-handle-make-auto-save-file-name', because this would bypass
18002 the locking mechanism.
18004 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18005 (file-remote-p, process-file, start-file-process, set-file-times)
18006 (tramp-compat-file-attributes): Compatibility functions shall not
18007 call directly `tramp-handle-*', because this would bypass the
18009 (tramp-compat-number-sequence): New defun.
18011 2009-09-02 Glenn Morris <rgm@gnu.org>
18013 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18014 alias for float-time.
18015 (time-to-number-of-days): In Emacs, use float-time.
18016 * net/newst-backend.el (time-add): Suppress warnings from compat
18018 * time.el (emacs-uptime, emacs-init-time):
18019 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18020 Use float-time rather than time-to-seconds.
18022 * minibuffer.el (completion-initials-expand): Fix typo.
18024 * faces.el (modeline, modeline-inactive, modeline-highlight)
18025 (modeline-buffer-id):
18026 * info.el (info-menu-5): Mark these face aliases as obsolete.
18028 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18030 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18032 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18033 no "--thread" option.
18034 (gdb-stopped): Don't print "Switched to thread" message when it is
18037 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18039 * minibuffer.el (completion-try-completion)
18040 (completion-all-completions): Remove ill-defined (and
18041 mistakenly installed and luckily never used nor documented)
18042 `completion-styles' property.
18043 (completion-initials-expand, completion-initials-all-completions)
18044 (completion-initials-try-completion): New functions.
18045 (completion-styles-alist): Add doc to each entry.
18046 Add new `initials' entry.
18048 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18050 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18051 MI command -var-evaluate-expression.
18052 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18053 and tweak for case of string child.
18054 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18056 2009-09-01 Glenn Morris <rgm@gnu.org>
18058 * add-log.el (change-log-date-face, change-log-name-face)
18059 (change-log-email-face, change-log-file-face, change-log-list-face)
18060 (change-log-conditionals-face, change-log-function-face)
18061 (change-log-acknowledgement-face):
18062 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18063 (custom-modified-face, custom-set-face, custom-changed-face)
18064 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18065 (custom-documentation-face, custom-state-face, custom-comment-face)
18066 (custom-comment-tag-face, custom-variable-tag-face)
18067 (custom-variable-button-face, custom-face-tag-face)
18068 (custom-group-tag-face-1, custom-group-tag-face):
18069 * diff-mode.el (diff-header-face, diff-file-header-face)
18070 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18071 (diff-added-face, diff-changed-face, diff-function-face)
18072 (diff-context-face, diff-nonexistent-face):
18073 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18074 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18075 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18076 (Info-title-4-face):
18077 * isearch.el (isearch-lazy-highlight-face):
18078 * log-view.el (log-view-file-face, log-view-message-face):
18079 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18080 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18081 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18083 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18084 (smerge-base-face, smerge-markers-face):
18085 * wid-edit.el (widget-documentation-face, widget-button-face)
18086 (widget-field-face, widget-single-line-field-face)
18087 (widget-inactive-face, widget-button-pressed-face):
18088 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18089 (woman-addition-face):
18090 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18091 (eshell-ls-executable-face, eshell-ls-readonly-face)
18092 (eshell-ls-unreadable-face, eshell-ls-special-face)
18093 (eshell-ls-missing-face, eshell-ls-archive-face)
18094 (eshell-ls-backup-face, eshell-ls-product-face)
18095 (eshell-ls-clutter-face):
18096 * eshell/em-prompt.el (eshell-prompt-face):
18097 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18098 * obsolete/old-whitespace.el (whitespace-highlight-face):
18099 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18100 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18101 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18102 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18103 (antlr-font-lock-literal-face):
18104 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18105 (ebrowse-root-class-face, ebrowse-file-name-face)
18106 (ebrowse-default-face, ebrowse-member-attribute-face)
18107 (ebrowse-member-class-face, ebrowse-progress-face):
18108 * progmodes/make-mode.el (makefile-space-face):
18109 * progmodes/sh-script.el (sh-heredoc-face):
18110 * textmodes/flyspell.el (flyspell-incorrect-face)
18111 (flyspell-duplicate-face):
18112 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18113 * textmodes/texinfo.el (texinfo-heading-face):
18114 Mark face aliases with "-face" suffix as obsolete.
18116 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18119 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18120 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18121 easy-menu-define wants to modify these.
18123 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18125 * net/browse-url.el (browse-url-file-url):
18126 * term/internal.el (dos-codepage-setup):
18127 Use default-value rather than default-enable-multibyte-characters.
18129 * progmodes/etags.el (etags-goto-tag-location):
18130 * progmodes/flymake.el (flymake-highlight-line)
18131 (flymake-goto-file-and-line, flymake-goto-line):
18132 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18133 (gdb-goto-breakpoint):
18134 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18135 * progmodes/python.el (python-find-function)
18136 (python-pdbtrack-track-stack-file):
18137 * progmodes/verilog-mode.el (verilog-surelint-off):
18138 * term/ns-win.el (ns-open-file-select-line):
18139 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18140 Use forward-line rather than goto-line.
18142 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18143 * textmodes/reftex-index.el (reftex-display-index):
18144 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18145 * textmodes/reftex-toc.el (reftex-toc):
18146 Remove unnecessary bindings of default-major-mode (all are followed by
18147 major-mode check and possible mode switch).
18149 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18151 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18152 Handle watchpoints (bug#4282).
18153 (def-gdb-thread-buffer-command): Enable thread to be selected by
18154 clicking without selecting threads buffer first.
18155 (gdb-current-context-command): Use selected frame so that "up",
18156 "down" etc work in the GUD buffer.
18157 (gdb-update): Find selected frame before rendering stack buffer.
18158 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18160 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18162 * progmodes/sym-comp.el (displayed-completions): Remove.
18163 (symbol-complete): Use minibuffer-complete.
18165 2009-08-31 Glenn Morris <rgm@gnu.org>
18167 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18169 * apropos.el (apropos-symbols-internal):
18170 Handle (obsolete) face aliases.
18172 * faces.el (describe-face): Adjust the output format to be more like
18173 describe-variable, and to mention (obsolete) face aliases.
18174 Adjust the whitespace so that help-setup-xref works.
18176 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18177 * calendar/diary-lib.el (diary-button-face):
18178 Mark these face aliases as obsolete.
18180 * calendar/calendar.el (calendar-today): Doc fix.
18182 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18184 * progmodes/gdb-mi.el (gdb-control-all-threads)
18185 (gdb-control-current-thread): Force tool bar update.
18186 (gdb-non-stop-handler): New function.
18187 (gdb-init-1): Use it to test if non-stop mode is supported.
18188 Remove unused gdbmi buffer type.
18190 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18192 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18193 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18195 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18197 * comint.el (comint-exec-1): Check command is non-null first.
18198 Part of gdb-mi.el change (2009-08-28).
18200 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18202 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18204 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18206 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18207 instead of `dolist' to avoid a recursive require when bootstrapping.
18209 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18211 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18213 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18215 * net/imap.el (imap-send-command): Simplify.
18216 (imap-wait-for-tag): point-max -> buffer-size.
18218 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18220 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18221 with constant argument.
18223 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18225 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18227 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18228 Change default, since most of our files don't have a history.
18229 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18232 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18235 * calc/calc.el: Improve commenting convention.
18236 (calc-digit-map, toplevel): Simplify.
18238 * comint.el (comint-insert-input): Be careful to only set point if we
18239 don't delegate to some other command.
18241 * proced.el (proced-signal-list): Make it an alist.
18242 (proced-grammar-alist): Capitalize names.
18243 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18244 Disable undo manually and make it read-only.
18245 Use completion-annotate-function.
18247 * minibuffer.el (minibuffer-message): If the current buffer is not
18248 a minibuffer, insert the message in the echo area rather than at the
18250 (completion-annotate-function): New variable.
18251 (minibuffer-completion-help): Use it.
18252 (completion--embedded-envvar-table): Environment vars are
18253 always case-sensitive.
18255 2009-08-30 Glenn Morris <rgm@gnu.org>
18257 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18258 from fortran-current-defun.
18259 (fortran-beginning-of-subprogram): Be more precise about finding the
18260 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18261 (fortran-end-of-subprogram): Simplify.
18262 (fortran-current-defun): Use fortran-start-prog-re.
18264 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18266 * subr.el (do-after-load-evaluation): Simplify.
18268 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18270 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18272 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18273 (vc-rcs-print-log): Use it.
18275 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18277 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18279 * paths.el (abbrev-file-name): Move to abbrev.el.
18280 * abbrev.el (abbrev-file-name): Move from paths.el.
18281 Obey user-emacs-directory.
18282 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18283 user-emacs-directory.
18284 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18285 abbrev-file-name and calc-settings-file any more.
18286 * startup.el (command-line): Recompute abbrev-file-name and
18287 abbreviated-home-dir.
18288 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18289 of the special code for when C-h bindings haven't been changed.
18290 (display-startup-echo-area-message): Use with-current-buffer.
18291 (command-line-1): Use a list of strings, rather than a list of lists
18292 of strings for longopts.
18294 * files.el (get-free-disk-space): Use / for default-directory.
18296 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18297 Use with-current-buffer.
18299 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18300 Recognize immutable variables like most-positive-fixnum.
18301 (byte-compile-setq-default): Check and warn if trying to assign
18302 to an immutable variable, or a non-variable.
18304 * progmodes/cc-vars.el (c-comment-continuation-stars):
18305 * progmodes/cc-engine.el (c-looking-at-bos):
18306 * progmodes/cc-cmds.el (c-toggle-auto-state)
18307 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18308 (c-comment-line-break-function): Add version of obsolescence.
18310 2009-08-28 Juri Linkov <juri@jurta.org>
18312 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18313 associated with `archive-mode'.
18315 * image.el (image-type-header-regexps): Use only JPEG magic number
18316 to determine JPEG images, and don't use `image-jpeg-p' because
18317 Emacs can display non-JFIF non-Exif JPEG images.
18319 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18321 * arc-mode.el (archive-mode):
18322 * emacs-lisp/re-builder.el (re-builder-unload-function):
18323 Protect against the default value of `major-mode' being nil.
18325 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18327 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18328 Fix typos in docstrings.
18330 * progmodes/js.el (js--macro-decl-re): Doc fix.
18331 (js--plain-method-re, js--split-name): Refloc docstring.
18332 (js--class-styles, js--make-merged-item, js--splice-into-items):
18333 Fix typos in docstrings; reflow docstrings.
18334 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18335 (js--variable-decl-matcher, js--inside-pitem-p)
18336 (js--parse-state-at-point, js--get-all-known-symbols)
18337 (js--symbol-history, js-find-symbol, js--js-references)
18338 (js--moz-interactor, js--js-encode-value, js--read-tab):
18339 Fix typos in docstrings.
18341 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18343 * textmodes/reftex.el (reftex-get-file-buffer-force):
18344 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18345 * emulation/viper.el (viper-go-away, viper-set-hooks):
18346 * emacs-lisp/re-builder.el (re-builder-unload-function):
18347 * emacs-lisp/bytecomp.el (byte-compile-file):
18348 * ses.el (ses-unload-function):
18349 * hexl.el (hexl-find-file):
18350 * files.el (normal-mode):
18351 * ehelp.el (with-electric-help):
18352 * autoinsert.el (auto-insert-alist):
18353 * arc-mode.el (archive-mode):
18354 Use (default-value 'major-mode) instead of default-major-mode.
18356 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18357 * international/mule.el (load-with-code-conversion):
18358 * emacs-lisp/debug.el (debug):
18359 * ediff-vers.el (ediff-rcs-get-output-buffer):
18360 * dired.el (dired-internal-noselect): Don't let-bind
18361 default-major-mode around code that doesn't use it.
18362 E.g. buffer creation via get-buffer-create doesn't use it.
18364 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18366 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18367 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18368 when writing the temp file. Otherwise, epa-file gets confused.
18369 (tramp-register-file-name-handlers): Make it a defun. Move also
18370 `epa-file-handler' to the front of `file-name-handler-alist'.
18372 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18374 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18375 start right after a ^M.
18376 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18377 (tramp-completion-file-name-regexp-separate)
18378 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18379 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18380 Don't modify last-coding-system-used by accident.
18381 (tramp-completion-file-name-handler): Apply the checks here,
18382 instead during registration.
18383 (tramp-register-file-name-handlers): Rename from
18384 `tramp-register-file-name-handler'. Register both
18385 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18386 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18388 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18390 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18391 Remove variable ...
18392 (gdb-init-1, gdb-display-separate-io-buffer)
18393 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18395 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18396 (gdb-inferior-filter): Use comint-output-filter to stop
18397 echoing and remove ^M characters.
18399 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18401 * emulation/viper-init.el (viper-restore-cursor-type):
18402 * emulation/cua-base.el (cua--update-indications):
18403 Replace default-cursor-type with (default-value 'cursor-type).
18405 * mail/sendmail.el (mail-recover-1):
18406 * international/mule-diag.el (describe-current-coding-system-briefly)
18407 (describe-current-coding-system):
18408 * international/mule-cmds.el (select-safe-coding-system)
18409 (select-message-coding-system)
18410 (set-language-environment-coding-systems, set-locale-environment):
18411 * hexl.el (hexl-insert-multibyte-char):
18412 * dos-w32.el (find-buffer-file-type-coding-system):
18413 * simple.el (what-cursor-position):
18414 Replace uses of default-buffer-file-coding-system
18415 with (default-value 'buffer-file-coding-system).
18417 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18418 Replace uses of default-cursor-in-non-selected-windows
18419 with (default-value 'cursor-in-non-selected-windows).
18420 Use with-current-buffer.
18422 * mail/feedmail.el: Use CL macros.
18423 (feedmail-run-the-queue, feedmail-send-it-immediately):
18424 * dos-w32.el (find-buffer-file-type): Replace uses of
18425 default-buffer-file-type with (default-value 'buffer-file-type).
18427 2009-08-28 Glenn Morris <rgm@gnu.org>
18429 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18430 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18431 Use default-value of major-mode rather than default-major-mode.
18433 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18435 * Makefile.in (update-elcfiles): Report left over elc files.
18437 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18438 expand-file-name and with-current-buffer.
18439 (mail-get-names, mail-directory): Use with-current-buffer.
18441 * vc.el (vc-read-revision): New function.
18442 (vc-version-diff, vc-merge): Use it.
18444 2009-08-27 Sam Steingold <sds@gnu.org>
18446 * simple.el (kill-do-not-save-duplicates): New user option.
18447 (kill-new): When it is non-nil, and the new string is the same as
18448 the latest kill, set replace to t to avoid duplicates in kill-ring.
18450 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18452 * net/tramp.el (tramp-handle-process-file): Do not flush all
18453 caches when `process-file-side-effects' is set.
18454 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18455 instead of `tramp-find-file-exists-command'.
18456 Unset `process-file-side-effects'.
18458 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18460 * net/tramp.el (tramp-methods): New method "rsyncc".
18461 (top): Add completion function for "rsyncc".
18462 (tramp-message-show-message): New defvar.
18463 (tramp-message, tramp-error): Use it.
18464 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18466 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18467 `tramp-methods' entry `copy-env' of "rsyncc".
18468 (tramp-vc-registered-read-file-names): New defconst.
18469 (tramp-vc-registered-file-names): New defvar.
18470 (tramp-handle-vc-registered): Implement optimization strategy.
18471 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18472 (tramp-vc-file-name-handler): New defun.
18473 (tramp-get-ls-command, tramp-get-test-command)
18474 (tramp-get-file-exists-command, tramp-get-remote-ln)
18475 (tramp-get-remote-perl, tramp-get-remote-stat)
18476 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18478 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18479 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18481 (tramp-get-file-property): Check for timestamps in
18482 `tramp-cache-inhibit-cache'.
18483 (tramp-set-file-property): Write timestamp.
18485 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18487 * language/japan-util.el (japanese-symbol-table): Add entries for
18490 * international/characters.el: Add category `j' to cp932-2-byte.
18492 2009-08-27 Kenichi Handa <handa@m17n.org>
18494 * international/fontset.el (build-default-fontset-data): New macro.
18495 (setup-default-fontset): Use build-default-fontset-data for CJK,
18496 tibetan, ethiopic, and ipa.
18498 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18500 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18501 (enable-multibyte-characters): Not customizable any more.
18503 * subr.el (default-mode-line-format, default-header-line-format)
18504 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18505 (default-direction-reversed, default-truncate-lines)
18506 (default-left-margin, default-tab-width, default-case-fold-search)
18507 (default-left-margin-width, default-right-margin-width)
18508 (default-left-fringe-width, default-right-fringe-width)
18509 (default-fringes-outside-margins, default-scroll-bar-width)
18510 (default-vertical-scroll-bar, default-indicate-empty-lines)
18511 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18512 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18513 (default-scroll-down-aggressively, default-fill-column)
18514 (default-cursor-type, default-buffer-file-type)
18515 (default-cursor-in-non-selected-windows)
18516 (default-buffer-file-coding-system, default-major-mode)
18517 (default-enable-multibyte-characters): Mark as obsolete.
18519 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18521 * vc-dir.el (vc-dir-update): Remove debug helper.
18523 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18525 2009-08-26 Sam Steingold <sds@gnu.org>
18527 * simple.el (save-interprogram-paste-before-kill): New user option.
18528 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18529 save the interprogram-paste into kill-ring before overriding it
18530 with the Emacs kill.
18532 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18534 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18535 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18536 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18537 and move to vc-rcs.el.
18538 (vc-default-next-revision): Rename to vc-rcs-next-revision and
18540 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18541 (vc-rcs-update-changelog): Remove.
18542 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18543 and move to vc-rcs.el.
18545 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18546 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18548 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18549 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18550 vc.el, renamed to be RCS specific.
18552 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18554 (vc-cvs-update-changelog): Move here from vc.el.
18556 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18559 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
18561 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18563 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18565 * vc-git.el (vc-git-register): Use "git add" for directories.
18566 (vc-git-stash, vc-git-stash-show): New functions.
18567 (vc-git-extra-menu-map): Bind them.
18569 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18570 directory correctly in case the item is a directory itself.
18572 * vc.el: Document the desired behavior for reverted files in the
18574 (vc-default-prettify-state-info): Remove function, unused.
18576 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18578 2009-08-26 Glenn Morris <rgm@gnu.org>
18580 * bindings.el (standard-mode-line-format): Reposition dashes in
18581 which-func entry. (Bug#4217)
18583 * files.el (enable-local-variables, enable-local-eval)
18584 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18586 (auto-mode-alist, ignored-local-variables)
18587 (save-some-buffers-action-alist): Move risky declarations to the
18589 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18590 (font-lock-defaults, format-alist, imenu--index-alist)
18591 (imenu-generic-expression, input-method-alist, minor-mode-alist)
18592 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18593 (mode-line-modified, mode-line-mule-info, mode-line-position)
18594 (mode-line-process, mode-line-remote, outline-level)
18595 (parse-time-rules, rmail-output-file-alist)
18596 (special-display-buffer-names, vc-mode):
18597 Move risky declarations to the relevant files.
18598 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18599 (mode-line-modified, mode-line-process, mode-line-position)
18600 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18601 * font-core.el (font-lock-defaults):
18602 * format.el (format-alist):
18603 * vc-hooks.el (vc-mode):
18604 * window.el (special-display-buffer-names):
18605 * international/mule-cmds.el (input-method-alist):
18606 Define riskiness here (dumped file) rather than in files.el.
18607 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18608 * imenu.el (imenu-generic-expression, imenu--index-alist):
18609 * outline.el (outline-level):
18610 * time.el (display-time-string):
18611 * calendar/parse-time.el (parse-time-rules):
18612 * mail/rmailout.el (rmail-output-file-alist):
18613 Autoload riskiness here, rather than placing in files.el.
18615 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
18617 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18619 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
18621 * simple.el (process-file-side-effects): New defvar.
18623 * dired-aux.el (dired-show-file-type):
18624 * vc.el (vc-diff-internal):
18625 * vc-arch.el (vc-arch-diff):
18626 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18627 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18628 * vc-git.el (vc-git-registered, vc-git-working-revision)
18629 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18630 (vc-git--empty-db-p):
18631 * vc-hooks.el (vc-user-login-name):
18632 * vc-svn.el (vc-svn-registered, vc-svn-state)
18633 (vc-svn-dir-extra-headers, vc-svn-find-revision):
18634 * progmodes/grep.el (grep-probe): Let-bind
18635 `process-file-side-effects' with nil.
18637 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18639 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18640 daemon. Replace ping by checking for running service for bluez
18641 and zeroconf. (Bug#4239)
18643 2009-08-25 Kevin Ryde <user42@zip.com.au>
18645 * net/dig.el (dig): Add autoload cookie.
18647 2009-08-25 Glenn Morris <rgm@gnu.org>
18649 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18650 load-history for absolute file-names.
18651 (byte-compile-file-form-require): Warn about use of the cl package.
18653 * format.el (format-alist): Doc fix.
18655 * play/bubbles.el (top-level): Don't require cl at run-time.
18657 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18660 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
18662 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18664 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18666 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
18668 * calc/calc-alg.el (math-trig-rewrite)
18669 (math-hyperbolic-trig-rewrite): New functions.
18670 (calc-simplify): Simplify trig functions when asked.
18672 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18674 * diff-mode.el (diff-find-source-location): Avoid goto-line.
18676 2009-08-24 Kenichi Handa <handa@m17n.org>
18678 * language/ind-util.el (mapthread): Delete it.
18679 (combinatorial): New function.
18680 (indian--puthash-cv): Use combinatorial instead of mapthread.
18682 2009-08-22 Kevin Ryde <user42@zip.com.au>
18684 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18685 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18686 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18687 Clarify docstring that the value is strings not symbols.
18688 (checkdoc-list-of-strings-p): New function.
18690 2009-08-22 Glenn Morris <rgm@gnu.org>
18692 * files.el (auto-mode-alist):
18693 * hippie-exp.el (he-concat-directory-file-name):
18694 * lpr.el (lpr-windows-system, printer-name):
18695 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18696 * ps-print.el (ps-windows-system):
18697 * startup.el (command-line):
18698 * emulation/viper-ex.el (viper-glob-function):
18699 * international/mule-cmds.el (set-language-environment-coding-systems):
18700 * net/ange-ftp.el (ange-ftp-write-region):
18701 * obsolete/fast-lock.el (fast-lock-cache-name):
18702 Remove code for defunct system-types emx, macos, mswindows, next-mach,
18703 unisoft-unix, vax-vms, win32, w32.
18705 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18706 given name if the pattern is not more specific.
18708 * calendar/lunar.el (lunar-phase-names): New option.
18709 (lunar-phase): Doc fix.
18710 (lunar-cycles-per-year): New constant.
18711 (lunar-index): New function.
18712 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18713 (lunar-phase-name): Use lunar-phase-names.
18714 (calendar-lunar-phases): Use format.
18715 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18717 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18718 Copy imenu-example--name-and-position function here for own use.
18719 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18721 * bs.el (bs--redisplay):
18722 * cus-edit.el (custom-redraw):
18723 * ibuffer.el (ibuffer-bury-buffer):
18724 * server.el (server-goto-line-column):
18725 * startup.el (command-line-1):
18726 * strokes.el (strokes-xpm-for-stroke):
18727 * term.el (term-display-buffer-line):
18728 * view.el (View-goto-line):
18729 * calc/calc.el (calc-do, calc-trail-buffer):
18730 * play/gamegrid.el (gamegrid-add-score-insecure):
18731 * progmodes/ada-mode.el (ada-compile-goto-error):
18732 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18733 (ebrowse-select-1st-to-9nth):
18734 * progmodes/cperl-mode.el (cperl-time-fontification):
18735 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18736 * progmodes/gud.el (gud-display-line):
18737 (idlwave-shell-display-line):
18738 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18739 * progmodes/make-mode.el (makefile-browser-toggle):
18740 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18741 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18742 * textmodes/picture.el (picture-draw-rectangle):
18743 * textmodes/reftex-index.el (reftex-index-goto-letter):
18744 (reftex-select-jump-to-previous):
18745 * textmodes/reftex-sel.el (reftex-find-start-point)
18746 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18747 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18748 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18749 * textmodes/tex-mode.el (tex-compilation-parse-errors):
18750 * textmodes/two-column.el (2C-associated-buffer):
18751 Use forward-line rather than goto-line.
18753 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18756 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18757 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18758 (quick-check-list-to-regexp): Declare.
18760 * progmodes/make-mode.el (makefile-browser-insert-selection):
18761 Use goto-char rather than goto-line.
18763 * progmodes/prolog.el (compilation-error-regexp-alist)
18764 (compilation-forget-errors): Declare.
18766 2009-08-22 Juri Linkov <juri@jurta.org>
18768 * progmodes/grep.el (lgrep, rgrep): At the beginning
18769 set `dir' to `default-directory' unless `dir' is a non-nil
18770 readable directory. (Bug#4052)
18771 (lgrep, rgrep): Change a weird way to report an error
18772 from using `read-string' to using `error'.
18773 Instead of using interactive arguments in the function body,
18774 add new argument `confirm'.
18776 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
18778 * textmodes/remember.el (remember-buffer):
18779 * progmodes/cperl-mode.el (cperl-vc-header-alist):
18780 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18781 (icalendar-extract-ical-from-buffer):
18782 * net/newst-treeview.el (newsticker-groups-filename):
18783 * net/newst-backend.el (newsticker-cache-filename):
18784 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18785 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18786 (speedbar-add-ignored-path-regexp, speedbar-line-path)
18787 (speedbar-buffers-line-path, speedbar-path-line)
18788 (speedbar-buffers-line-path):
18789 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18791 * epa.el (epa-display-verify-result):
18792 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18794 2009-08-21 Glenn Morris <rgm@gnu.org>
18796 * progmodes/js.el (inferior-moz-process): Fix declaration.
18798 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18800 * obsolete/rnewspost.el (news-mail-reply):
18801 Use goto-char rather than goto-line.
18803 * term/ns-win.el (ns-open-file-select-line):
18804 Use line-beginning-position rather than goto-line.
18806 * apropos.el (apropos-command):
18807 * ehelp.el (electric-helpify):
18808 * printing.el (pr-show-setup):
18809 * strokes.el (strokes-help):
18810 * tutorial.el (tutorial--describe-nonstandard-key)
18811 (tutorial--detailed-help):
18812 * woman.el (woman-mini-help, woman-display-extended-fonts):
18813 * calc/calc-help.el (calc-describe-key):
18814 * emulation/edt.el (edt-electric-helpify):
18815 * international/mule-diag.el (mule-diag):
18816 * play/yow.el (apropos-zippy):
18817 * progmodes/python.el (python-describe-symbol):
18818 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18819 * textmodes/table.el (*table--cell-describe-mode)
18820 (*table--cell-describe-bindings):
18821 Use help-print-return-message rather than the now obsolete alias.
18823 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18824 (calendar-cursor-to-visible-date):
18825 * play/5x5.el (5x5-position-cursor):
18826 * play/decipher.el (decipher):
18827 * play/gomoku.el (gomoku-goto-xy):
18828 * play/landmark.el (lm-goto-xy):
18829 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18830 (mpuz-paint-digit):
18831 Use forward-line, not goto-line.
18833 * mail/rmail.el (rmail-obsolete): Delete custom group.
18834 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18835 (rmail-remote-password, rmail-remote-password-required):
18836 Remove unneeded :set-after and :set properties.
18838 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
18840 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18842 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
18844 * loadup.el: Remove leftover macos code.
18846 * vc-git.el (vc-git-annotate-command): Run asynchronously.
18847 Explicitly pass the date format to git blame so that user local
18848 so that the output format can be parsed.
18850 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
18852 * net/dbus.el (top): Don't check for (getenv
18853 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
18855 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
18857 * log-edit.el (log-edit-strip-single-file-name): New var.
18858 (log-edit-insert-changelog): Use it. Bug#3571
18860 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18862 * subr.el (read-passwd): Use read-key so keypad keys work as well.
18865 * help.el (help-print-return-message): Rename from
18866 print-help-return-message.
18868 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18869 cvs-mode-map parent hack.
18870 (log-view-mode): Derive from special-mode.
18872 * linum.el (linum-mode): window-size-change-functions is redundant.
18873 Adapt to new window-configuration-change-hook behavior.
18874 (linum-after-size, linum-after-config): Remove.
18876 * imenu.el (imenu-example--name-and-position)
18877 (imenu-example--lisp-extract-index-name)
18878 (imenu-example--create-lisp-index, imenu-example--create-c-index):
18881 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18882 (inferior-prolog-mode): Use it.
18883 (inferior-prolog-load-file): Reset list of errors.
18885 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18887 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18889 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18891 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
18893 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18894 is running already.
18896 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18898 * subr.el (listify-key-sequence-1): Use normal syntax since those
18899 integers are nowadays always represented by the same (positive) number
18901 (read-key-empty-map): New const.
18902 (read-key-delay): New var.
18903 (read-key): New function.
18904 (force-mode-line-update): Use with-current-buffer.
18905 (locate-user-emacs-file): Don't forget to abbreviate the file name.
18906 (start-process-shell-command, start-file-process-shell-command):
18907 Discourage the use of command-args.
18909 2009-08-19 Glenn Morris <rgm@gnu.org>
18911 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18913 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
18915 * simple.el (choose-completion-string): Don't rely on
18916 minibuffer-completing-file-name and ad-hoc checks to decide whether
18917 to continue completion or not.
18919 * minibuffer.el (minibuffer-hide-completions): New function.
18920 (completion--do-completion): Use it.
18921 (completions-annotations): New face.
18922 (completion--insert-strings): Use it.
18923 (completion-pcm--delim-wild-regex): Add docstring.
18924 (completion-pcm--string->pattern): Add support for 0-width delimiters
18925 in completion-pcm--delim-wild-regex.
18927 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
18929 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18930 Remove unused var `buffer-modified-p'.
18932 * minibuffer.el (completion--do-completion): Move point for the #b001
18933 case as well (bug#4176).
18934 (minibuffer-complete, minibuffer-complete-word): Don't move point.
18936 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
18938 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
18939 and :session buses.
18941 2009-08-18 Kenichi Handa <handa@m17n.org>
18943 * international/ucs-normalize.el (ucs-normalize-version):
18945 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18946 (utf-8-hfs): Make it perform normalization on encoding too.
18948 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
18949 (sentence-end-without-space): Delete duplicated chars.
18950 (sentence-end-base): Likewise.
18952 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
18953 (html-mode): Delete duplicated chars from sentence-end-base.
18955 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
18956 (texinfo-mode): Delete duplicated chars from sentence-end-base.
18958 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
18960 * files.el (hack-one-local-variable): If the mode function is for
18961 a minor mode, pass it an argument (Bug#4148).
18963 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
18965 * net/tramp.el (tramp-register-completion-file-name-handler):
18966 Check also for (member 'partial-completion completion-styles).
18968 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18970 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18973 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
18975 * progmodes/cperl-mode.el: Merge upstream 6.2.
18976 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18977 (cperl-forward-re): Check cperl-brace-recursing.
18978 (cperl-highlight-charclass): New function.
18979 (cperl-find-pods-heres): Use it.
18980 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18981 (cperl-beautify-regexp-piece): Fix column calculation.
18982 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18983 (cperl-beautify-level): Don't process entire regexp.
18984 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18986 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18987 (cperl-init-faces): Build a list in the normal way.
18989 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
18991 * calendar/parse-time.el (parse-time-string-chars): Save match
18994 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
18996 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18997 (sql-product): Use it.
18998 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18999 (sql-set-product): Add completion.
19000 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19001 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19002 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19003 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19004 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19005 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19006 (sql-highlight-db2-keywords): Remove.
19007 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19008 (sql-highlight-product): Use derived-mode-p.
19009 (sql-set-sqli-buffer): Use with-current-buffer.
19010 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19013 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19015 * term.el: Fix commenting convention, turn comments into docstrings.
19017 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19019 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19021 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19023 * calendar/parse-time.el (parse-time-string-chars): Compute using
19024 character classes, to handle non-ascii characters (Bug#3190).
19026 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19028 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19029 another heredoc if the user adds another < (Bug#3226).
19031 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19032 Don't initialize based on window-system (Bug#4124).
19034 * facemenu.el (facemenu-read-color): Use a completion function
19035 that accepts any defined color, such as RGB triplets (Bug#3677).
19037 * files.el (get-free-disk-space): Change fallback default
19038 directory to /. Expand DIR argument before switching to fallback.
19039 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19041 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19043 * files.el (load-library): Doc fix.
19045 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19047 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19048 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19049 incremental search string.
19051 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19054 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19055 (ediff-merge-region-is-non-clash)
19056 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19057 Also check if the job is really a merge job.
19059 * ediff.el (ediff-current-file): New function.
19061 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19063 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19065 (js-insert-and-indent): Delete function.
19066 (js-mode-map): Don't bind keys to js-insert-and-indent.
19067 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19068 (js-end-of-defun): Rename from js--end-of-defun.
19069 (js-auto-indent-flag): Delete variable.
19071 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19073 * progmodes/js.el: Remove proclaim statement.
19074 Defvar which-func-imenu-joiner-function to silence compiler.
19076 * files.el (auto-mode-alist): Use js-mode for .js files.
19078 * progmodes/js2-mode.el: Remove file.
19080 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19082 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19084 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19086 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19087 Karl Landstrom <karl.landstrom@brgeight.se>
19089 * progmodes/js.el: New file.
19091 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19093 * timezone.el (timezone-parse-date): Add ability to understand ISO
19094 basic format (minimal separators) dates in addition to the
19095 already-supported extended format dates.
19097 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19099 * international/ucs-normalize.el: Add a `coding' file variable.
19101 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19103 2009-08-14 Sam Steingold <sds@gnu.org>
19105 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19107 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19109 * faces.el (help-argument-name): Define it here instead of
19110 help-fns.el, because in daemon mode help-fns.el may be loaded when
19111 faces are still uninitialized (Bug#1078).
19113 * help-fns.el (help-argument-name): Move defface to faces.el.
19115 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19117 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19118 create buffer with a pty but no process so that GDB can make the
19119 inferior the controlling process.
19121 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19123 * international/ucs-normalize.el: New file.
19125 2009-08-13 Richard Stallman <rms@gnu.org>
19127 * mail/rmail.el (rmail-get-attr-names):
19128 Accept an attribute header that is too short.
19130 * mail/rmail.el (rmail-forget-messages):
19131 Ignore nil elt in rmail-message-vector. Use dotimes.
19133 * progmodes/compile.el (compilation-goto-locus):
19134 Use next-error-move-function.
19136 * simple.el (next-error-move-function): New variable.
19138 2009-08-12 Juri Linkov <juri@jurta.org>
19140 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19141 always non-nil. (Bug#4052)
19143 * replace.el (read-regexp): Return empty string when
19144 `default-value' is nil.
19145 (keep-lines-read-args): Don't use empty string as the
19146 default value for `read-regexp'. (Bug#2495)
19148 2009-08-12 Juri Linkov <juri@jurta.org>
19150 * international/mule-cmds.el (ucs-insert): Change arguments
19151 from `arg' to `character', `count', `inherit' to be the same
19152 as in `insert-char'. Doc fix. (Bug#4039)
19154 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19156 2009-08-12 Juri Linkov <juri@jurta.org>
19158 * files-x.el: New file.
19160 * files.el: Move code that deals with adding/deleting
19161 file/directory-local variables to files-x.el.
19163 * Makefile.in (ELCFILES): Add files-x.elc.
19165 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19167 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19168 to use `goto-line'.
19169 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19171 (gdb-invalidate-disassembly): Do not refresh upon receiving
19172 'update signal. Instead, update all disassembly buffers only after
19174 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19175 (gdb-starting): Move -data-list-register-names...
19176 (gdb-stopped): ...here so it's sent when first thread stops.
19177 (gdb-registers-handler-custom): Do nothing if register names are
19180 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19181 from `gdb-mi.el' to avoid extra tangling.
19183 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19184 change which breaks `gud-def' definitions used in `gdb'.
19185 (gdb-update-gud-running): No extra fuss for updating frame number.
19187 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19189 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19190 (describe-language-environment-map, setup-language-environment-map)
19191 (set-coding-system-map): Move initialization into declaration.
19192 (set-language-info-alist): Last arg to define-key-after can be skipped.
19194 * international/quail.el (quail-completion-1): Simplify.
19195 (quail-define-rules): Use slightly more compact code.
19196 (quail-insert-decode-map): Propertize keys, compact columns.
19198 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19201 2009-08-10 Miles Bader <miles@gnu.org>
19203 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19204 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19205 (js2-instance-member, js2-private-member, js2-private-function-call)
19206 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19207 (js2-magic-paren, js2-external-variable):
19208 Remove "-face" suffix from face names.
19209 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19210 (js2-highlight-undeclared-vars, js2-peek-token)
19211 (js2-parse-function-params, js2-mode-show-errors)
19212 (js2-mode-show-warnings, js2-make-magic-delimiter)
19213 (js2-mode-highlight-magic-parens): Update to use new face names.
19215 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19217 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19218 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19220 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19222 * subr.el: Provide hashtable-print-readable.
19224 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19225 hs-c-like-adjust-block-beginning.
19226 (hs-hide-block-at-point): Stop hiding at the beginning of
19227 hs-block-end-regexp (Bug#700).
19229 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19231 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19233 (gdb-registers-handler-custom): Do not fail when register names
19236 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19238 * progmodes/gdb-mi.el (gdb-control-all-threads)
19239 (gdb-control-current-thread): Interactive setters for
19240 `gdb-gud-control-all-threads' to use in menu.
19241 (gdb-show-run-p): Show «Go» when process is not active.
19242 (gud-tool-bar-map): Add non-stop/A,T indicator.
19243 Uses gud/thread.xpm and gud/all.xpm.
19245 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19247 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19248 (nslookup-font-lock-keywords): Make it a variable.
19249 (net-utils-mode): New mode for viewing diagnostic network output.
19250 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19251 (net-utils-run-simple): New function.
19252 (ifconfig, iwconfig, netstat, arp, route): Use it.
19254 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19256 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19257 (gdb-memory-set-address, def-gdb-set-positive-number)
19258 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19259 after changing settings.
19260 (gdb-invalidate-disassembly): Update when first shown.
19261 (gdb-edit-locals-value): Fixed.
19262 (gdb-registers-handler-custom): Print registers in right order and
19263 allow changing register values (only for current thread yet).
19264 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19265 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19266 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19267 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19268 Thread info in mode name.
19269 (gdb-registers-mode-map): TAB to switch to locals.
19271 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19273 * mail/rmail.el (rmail-add-mbox-headers)
19274 (rmail-set-message-counters-counter): Search for
19275 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19277 2009-08-08 Glenn Morris <rgm@gnu.org>
19279 * Makefile.in (ELCFILES): Update.
19281 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19283 * mail/sendmail.el (mail-yank-original):
19284 Set buffer-file-coding-system from the one used by the message whose
19287 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19288 to "windows" when "pgnuplot" is used.
19289 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19290 Don't call accept-process-output if "pgnuplot" is used.
19291 (calc-graph-init): Don't send -display and -geometry to
19292 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19293 running "pgnuplot -V" with shell-command-to-string.
19295 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19298 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19300 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19303 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19305 * vc-dispatcher.el (vc-resynch-window): Update comment.
19307 * term.el (term-handle-ansi-escape): Add comments with the
19308 terminfo capabilities implemented.
19310 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19312 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19313 (gdb-var-create-handler): Rewritten using JSON parser.
19314 (gdb-propertize-header): Move earlier.
19315 (gdb-set-header): Remove to avoid duplication.
19316 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19317 Refresh disassembly buffers only after threads list have been
19319 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19322 2009-08-04 Juri Linkov <juri@jurta.org>
19324 * files.el: Commands to add/delete file/directory-local variables.
19325 (read-file-local-variable, read-file-local-variable-value)
19326 (read-file-local-variable-mode, modify-file-local-variable)
19327 (modify-file-local-variable-prop-line)
19328 (modify-dir-local-variable): New functions.
19329 (add-file-local-variable, delete-file-local-variable)
19330 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19331 (add-dir-local-variable, delete-dir-local-variable)
19332 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19333 (copy-dir-locals-to-file-locals-prop-line): New commands.
19335 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19337 * abbrev.el (insert-abbrev-table-description): Prettify output.
19338 Suggested by Karl Chen.
19340 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19342 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19343 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19344 (gdb-overlay-arrow-position, gdb-thread-position)
19345 (gdb-disassembly-position): Declare variables.
19346 (gdb-wait-for-pending): Function now.
19347 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19348 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19349 compilation goes smoothly.
19350 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19351 (gdb-non-stop-setting): New customization setting which replaces
19352 `gdb-non-stop' so changing it doesn't break active GDB session.
19353 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19354 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19355 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19356 (gdb-show-threads-by-default): New customization options.
19357 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19359 (gdb-get-buffer-create): Send buffers update signal when they are
19361 (gdb-invalidate-locals, gdb-invalidate-registers)
19362 (gdb-invalidate-breakpoints)
19363 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19364 (gdb-invalidate-memory): Accept update signal.
19365 (gdb-current-context-command): Use --frame option.
19366 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19367 Implement `gdb-frame-number' selection logic.
19368 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19369 whether to show GUD toolbar buttons.
19370 (gdb-thread-exited): Unselect current thread when it exits.
19371 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19372 (gdb-mark-line): Routine which sets overlay arrow or inverses
19373 video on fringeless displays.
19374 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19375 to build aligned columns of data in GDB buffers and set text
19376 properties line-by-line.
19377 (gdb-invalidate-breakpoints)
19378 (gdb-breakpoints-list-handler-custom)
19379 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19380 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19381 (gdb-registers-handler-custom): Align data columns.
19382 (gdb-locals-handler-custom): Now prints data like in variable
19384 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19385 Remove confusing buttons.
19386 (gdb-invalidate-threads): Append --frame.
19387 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19388 between breakpoints/threads buffers.
19389 (gdb-set-window-buffer): Now can ignore dedicated windows.
19390 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19391 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19392 (def-gdb-thread-buffer-gud-command): Replaces
19393 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19394 for fine thread control.
19395 (gdb-preempt-existing-or-display-buffer): New function used to
19396 display bound buffers without breaking window layout.
19397 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19398 (gdb-select-frame): New version of `gdb-frames-select' which now
19399 sets `gdb-frame-number' so commands may use --frame option instead
19400 of inner debugger state.
19401 (gdb-frame-handler): Do not set `gdb-frame-number'.
19402 (gdb-threads-mode-map): Select threads with mouse.
19404 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19405 avoid compilation warning.
19406 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19409 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19410 Argument `key' renamed to `buffer-type'.
19411 (gdb-current-context-buffer-name): Do not add thread info to
19412 buffer name when no thread is selected.
19413 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19414 command (bug 3794).
19415 (gdb-thread-selected): Handle `=thread-selected' notification.
19416 (gdb-wait-for-pending): New macro to deal with congestion problems.
19417 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19419 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19420 This fixes problem similar to one described in bug 3947.
19421 (gud-menu-map): More menu items.
19422 (gdb-init-1): Reset `gdb-thread-number' to nil.
19424 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19427 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19428 (gdb-current-context-command): Do not append --thread if
19429 `gdb-thread-number' is nil.
19430 (gdb-running-threads-count, gdb-stopped-threads-count):
19432 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19433 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19434 New customization options.
19435 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19437 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19438 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19439 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19440 set `gdb-thread-number' and update `gud-running' properly.
19441 (gdb-running): Update threads list when new threads appear.
19442 (gdb-stopped): Support non-stop operation and new thread switching
19444 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19445 (gdb-json-partial-output): New set of JSON routines.
19446 (def-gdb-auto-update-trigger): New `signal-list' optional
19448 (gdb-thread-list-handler-custom): Update `gud-running',
19449 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19450 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19451 (gdb-continue-thread, gdb-step-thread): New commands for fine
19452 thread execution control.
19453 (gud-menu-map): New menu items to switch non-stop options.
19454 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19455 (gdb-send): Mimic RET properly (bug 3794).
19457 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19458 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19460 (def-gdb-auto-update-handler): New nopreserve optional argument.
19461 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19463 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19464 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19465 (gdb-parent-mode): New mode to derive other GDB modes from.
19466 (gdb-display-disassembly-for-thread)
19467 (gdb-frame-disassembly-for-thread): New commands for threads
19470 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19471 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19472 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19473 (gdb-update): We now store all GDB buffers in a list so that they
19474 can be updated by traversing a list instead of calling invalidate
19475 triggers explicitly.
19476 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19477 pair for GDB buffer.
19478 (gdb-stack-buffer-name): Add thread information.
19479 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19480 handle pending triggers.
19481 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19482 (def-gdb-thread-buffer-simple-command)
19483 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19484 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19485 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19486 New commands which show buffers bound to thread.
19487 (gdb-stack-list-locals-regexp): Remove unused regexp.
19489 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19490 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19491 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19492 to (gud-comint-buffer) in *-buffer-name functions
19493 because (gdb-get-target-string) already does that.
19494 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19495 (gdb-changed-registers-handler): Rewritten without regexps.
19497 * progmodes/gdb-mi.el: Basic thread selection support.
19498 (gdb-thread-number): New variable.
19499 (gdb-current-context-command): New macro which adds --thread
19501 (gdb-threads-mode-map): Select thread with SPC.
19502 (gdb-thread-list-handler-custom): Mark current thread with overlay
19503 arrow. Synchronize GDB thread and Emacs thread.
19504 (gdb-select-thread): New command which selects current thread.
19505 (gdb-invalidate-frames, gdb-invalidate-locals)
19506 (gdb-invalidate-registers): Use --thread option.
19508 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19510 * net/tramp.el (top): Make check for tramp-gvfs loading more
19512 (tramp-handle-insert-file-contents): `unwind-protect' must be
19513 inside `with-parsed-tramp-file-name'.
19515 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19518 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19520 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19521 directory if CLASSPATH is not set.
19523 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19525 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19527 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19529 2009-08-02 Kevin Ryde <user42@zip.com.au>
19531 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19532 Update freshmeat link. Delete newsforge.com as it seems gone.
19534 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19536 * select.el (x-set-selection): Doc fix (Bug#4021).
19538 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19540 * help-fns.el (describe-variable): Treat list return values from
19541 dir-locals-find-file properly (Bug#4005).
19543 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
19545 * net/tramp.el (tramp-debug-message): Print also microseconds.
19547 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
19549 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19551 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19552 (tramp-get-debug-buffer): Change `outline-regexp' according to new
19555 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19556 (tramp-get-file-property): Use it.
19558 * autorevert.el (auto-revert-handler):
19559 Allow `auto-revert-tail-mode' for remote files.
19561 2009-08-02 Jason Rumney <jasonr@gnu.org>
19563 * minibuffer.el (read-file-name): Treat confirm options to
19564 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
19566 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19568 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19569 (font-lock-variable-name-face, font-lock-constant-face):
19570 Darken the colors for light backgrounds.
19572 2009-08-01 Eli Zaretskii <eliz@gnu.org>
19574 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19575 month names. (Bug#3987)
19577 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
19579 * simple.el (line-move-finish): Pass whole number to
19580 line-move-to-column.
19581 (line-move-visual): Perform hscroll to the recorded position.
19583 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
19585 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19587 2009-07-29 Alan Mackenzie <acm@muc.de>
19589 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19591 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
19593 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19594 (gdb-place-breakpoints): Use full path when setting breakpoints.
19596 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
19598 * calc/calc.el (calc-mode-map): Add keybinding for
19599 `calc-transpose-lines'.
19601 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
19603 * calc/calc-misc.el (calc-transpose-lines): New function.
19605 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
19607 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19608 Simplify check for out-of-band methods.
19609 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19610 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
19612 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
19614 * vc-git.el (vc-git-checkin): Fix typo.
19616 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
19618 * progmodes/js2-mode.el: New file.
19620 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
19622 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19623 (gud-menu-map): Adjust tooltip accordingly.
19625 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
19627 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19628 (vc-bzr-log-view-mode): Adjust log-view-file-re.
19630 * add-log.el (change-log-mode-map): Add a menu.
19632 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
19634 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19635 function returns nil.
19636 (dbus-handle-event): Handle special return value :ignore.
19637 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19639 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
19641 * view.el (view-mode-enable): Don't define Helper-return-blurb if
19644 2009-07-25 Eli Zaretskii <eliz@gnu.org>
19648 * w32-vars.el (x-select-enable-clipboard): Doc fix.
19650 * term/pc-win.el (x-display-name, x-colors)
19651 (x-select-enable-clipboard, x-select-text): Doc fix.
19653 * term/common-win.el (x-display-name, x-colors): Doc fix.
19655 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19656 (xw-defined-colors): Doc fix.
19658 * w32-fns.el (x-select-text, x-setup-function-keys)
19659 (x-get-selection, x-set-selection): Doc fix.
19661 * term/x-win.el (x-select-text, x-setup-function-keys)
19662 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19664 * select.el (x-set-selection): Doc fix.
19666 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
19668 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19669 instead of "IsNSSSupportAvailable". Avahi ought to work also when
19670 "IsNSSSupportAvailable" method is not available.
19671 Reported by Steve Youngs <steve@sxemacs.org>.
19673 2009-07-24 Kenichi Handa <handa@m17n.org>
19675 * international/characters.el: Fix setting of category ?C, ?|, ?K,
19676 and ?H. Fix setting of case for Latin Extended and Greek Extended.
19677 (build-unicode-category-table): Fix range checks.
19679 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
19681 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19682 the buffer we try to sync is current when calling
19685 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19686 not show up to date files.
19688 2009-07-24 Glenn Morris <rgm@gnu.org>
19690 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19691 Add autoload cookies. If necessary, initialize.
19692 (elint-log): Handle non-file buffers.
19693 (elint-initialize): Add optional argument to reinitialize.
19694 (elint-find-builtin-variables): Save excursion.
19696 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
19698 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19701 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
19703 * vc.el (vc-print-log-internal): New function, split out from ...
19704 (vc-print-log): ... here.
19705 (vc-dir-move-to-goal-column): Declare.
19707 * vc-git.el (vc-git-add-signoff): New variable.
19708 (vc-git-checkin): Use it.
19709 (vc-git-toggle-signoff): New function.
19710 (vc-git-extra-menu-map): Bind it to menu.
19711 (vc-git--run-command-string): Accept a nil FILE argument.
19712 (vc-git-stash-list): New function.
19713 (vc-git-dir-extra-headers): Use it.
19715 2009-07-23 Glenn Morris <rgm@gnu.org>
19717 * help-fns.el (describe-variable): Describe ignored and risky local
19718 variables in a similar way to that in which we describe safe ones.
19720 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19721 (byte-compile-output-file-form, byte-compile-output-docform)
19722 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19723 Give some more local variables with common names a "bytecomp-" prefix,
19724 so as not to shadow things during compilation.
19725 * emacs-lisp/cl-macs.el (load-time-value)
19726 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19727 `outbuffer' to `bytecomp-outbuffer'.
19729 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19730 since the next two variables cover them automatically now.
19731 (elint-builtin-variables, elint-autoloaded-variables): New.
19732 (elint-unknown-builtin-args): Remove all members, since they can be
19733 parsed automatically now.
19734 (elint-extra-errors): New.
19735 (elint-env-add-env, elint-env-add-macro): Use cadr.
19736 (elint-current-buffer): Use or. Change final message.
19737 (elint-get-top-forms): Use line-end-position.
19738 (elint-init-env): Use cadr. Handle autoload, declare-function,
19740 (elint-add-required-env): Doc fix. Use or. Standardize error.
19741 (regexp-assoc): Remove unused function.
19742 (elint-top-form): Set elint-current-pos, to record the start of the
19743 top-level form, for compilation-mode.
19744 (elint-form): Trap errors in macro expansion. Use dolist.
19745 (elint-unbound-variable): Use elint-builtin-variables and
19746 elint-autoloaded-variables.
19747 (elint-get-args): Use cadr, or.
19748 (elint-check-cond-form): Use dolist, cadr.
19749 (elint-check-condition-case-form): Doc fix. Use cadr.
19750 Use elint-extra-errors.
19751 (elint-log): New function.
19752 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19753 Distinguish errors and warnings.
19754 (elint-log-message): Use with-current-buffer. Inhibit read-only.
19755 Use a bytecomp-style format.
19756 (elint-clear-log): Preserve default-directory. Inhibit read-only.
19757 (elint-get-log-buffer): Use compilation mode. Disable undo.
19758 Don't truncate lines.
19759 (elint-initialize): Set builtin and autoloaded variable lists.
19760 Only process elint-unknown-builtin-args if non-nil.
19761 (elint-find-builtin-variables, elint-find-autoloaded-variables):
19763 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
19765 2009-07-22 Kevin Ryde <user42@zip.com.au>
19767 * net/newst-backend.el (newsticker--parse-atom-1.0)
19768 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19769 (newsticker--parse-rss-1.0):
19770 * progmodes/idlwave.el (idlwave-mode):
19771 * progmodes/idlw-shell.el (idlwave-shell-mode):
19772 * progmodes/vera-mode.el (vera-mode):
19773 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19774 * progmodes/vhdl-mode.el (vhdl-mode):
19775 * textmodes/table.el (table-generate-source)
19776 (table--warn-incompatibility):
19777 Hyperlink urls in docstrings with URL `...'.
19779 2009-07-22 Glenn Morris <rgm@gnu.org>
19781 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19782 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19783 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19784 Remove leading * from defcustom docs.
19786 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
19788 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19790 (list-load-path-shadows): Optionally, just return shadows as a string.
19792 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19794 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
19796 * mail/rmailedit.el (rmail-edit-mode):
19797 Use auto-save-include-big-deletions.
19799 * mail/rmail.el (rmail-variables):
19800 Use auto-save-include-big-deletions.
19802 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19805 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
19807 * calc/calc.el (calc-undo-length): New variable.
19808 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19810 2009-07-21 Richard Stallman <rms@gnu.org>
19812 * files.el (auto-save-mode): Handle buffer-save-size = -2
19815 2009-07-21 Glenn Morris <rgm@gnu.org>
19817 * textmodes/ispell.el (ispell-looking-back): Update declaration.
19819 * calendar/todo-mode.el (calendar-current-date): Update declaration.
19821 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19822 silence compiler. Instead...
19823 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19824 (ps-print-ensure-fontified): Update for above function name changes.
19826 * printing.el (pr-mh-get-msg-num, pr-mh-show)
19827 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19828 silence compiler. Instead...
19829 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19830 (mh-show-buffer): Only define for compiler.
19831 (pr-mh-current-message): Update for above function name changes.
19833 * files.el (abort-if-file-too-large): Explicitly pass `filename'
19835 (find-file-noselect, insert-file-1): Update for above change.
19837 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19839 * mail/mailclient.el (mailclient-send-it): Fix message.
19841 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19842 (edebug-eval): Check cl-debug-env is bound.
19843 (print-level, print-circle): Don't redefine built-in variables.
19845 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19846 (custom-print-vectors): Remove old comments from doc.
19848 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19849 (emerge-version): Make the variable an obsolete alias for the
19850 emacs-version variable. Make the function obsolete.
19851 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19852 Emerge options, rather than merging in into the main Options menu.
19853 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
19854 and auto advance modes. Disable edit/fast items when not relevant.
19856 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
19858 * term/vt420.el (terminal-init-vt420): Fix typo.
19860 2009-07-20 Sam Steingold <sds@gnu.org>
19862 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19863 variable (removed from compile.el on 2004-03-11).
19865 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
19867 * files.el (hack-local-variables-filter): Fix last change.
19869 2009-07-19 Juri Linkov <juri@jurta.org>
19871 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19872 (dir-local-variables-alist): New buffer-local variable.
19873 (hack-local-variables-filter): If variable is not dir-local,
19874 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19875 because file-local overrides dir-local.
19876 (c-postprocess-file-styles) <declare-function>:
19877 Remove obsolete declaration.
19878 (hack-dir-local-variables): Add dir-local variable/value pair to
19879 `dir-local-variables-alist' and remove duplicates. Doc fix.
19881 * help-fns.el (describe-variable): Add information about
19882 file-local and dir-local variables.
19884 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
19886 * files.el (hack-local-variables-filter): Rewrite.
19888 2009-07-19 Glenn Morris <rgm@gnu.org>
19890 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19891 Silence compiler by only defining on XEmacs.
19893 * international/mule.el (auto-coding-regexp-alist): Only match
19894 BABYL... at the start of buffer, not of lines. (Bug#3790)
19896 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19897 non-calendar buffers (Bug#3862). Restore "not on a date" message.
19898 (cal-menu-context-mouse-menu): Doc fix.
19900 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19902 * simple.el (mail-user-agent): Doc fix. Set :version tag.
19904 2009-07-18 Juri Linkov <juri@jurta.org>
19906 * info.el: Virtual Info keyword finder.
19907 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19908 (Info-finder-file): New variable.
19909 (Info-finder-find-file): New function.
19910 (finder-known-keywords, finder-package-info)
19911 (find-library-name, lm-commentary): Use defvar and
19912 declare-function to silence compiler warnings.
19913 (Info-finder-find-node): New function.
19914 (info-finder): New command.
19916 * subr.el (process-kill-buffer-query-function): New function.
19917 (add-hook)<kill-buffer-query-functions>: Add hook
19918 `process-kill-buffer-query-function'.
19920 2009-07-18 Alan Mackenzie <acm@muc.de>
19922 * progmodes/cc-mode.el (c-before-hack-hook)
19923 (c-postprocess-file-styles): Give invocation of `c-set-style'
19924 DONT-OVERRIDE parameter of t. Already set style variables will
19925 thus not be overridden by style settings given by `c-file-syle'.
19927 * files.el (hack-local-variables-filter): Remove entries with
19928 duplicate keys from `file-local-variables-alist'.
19930 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19932 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19933 x-set-selection if display-selections-p returns nil for the
19936 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
19938 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19940 2009-07-18 Eli Zaretskii <eliz@gnu.org>
19942 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19943 Accept nil in addition to a regexp.
19944 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19945 Accept nil in addition to a regexp.
19946 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19947 buffers that have an associated file. Handle nil values of
19948 desktop-buffers-not-to-save and desktop-files-not-to-save.
19951 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19952 (x-disown-selection-internal): New functions.
19954 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
19956 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19958 (gdb-breakpoints-header): Move forward to avoid compiler warning.
19959 (gdb-make-header-line-mouse-map): Remove duplicate definition.
19961 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
19963 * simple.el (set-mark): Revert last change.
19965 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
19967 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19968 rendering of pngs is not possible instead of messaging a long
19971 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
19973 * w32-fns.el (x-selection-owner-p): New function.
19975 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19976 (mouse-yank-at-click, mouse-yank-primary):
19977 If select-active-regions is non-nil, deactivate the mark before
19980 * simple.el (deactivate-mark, set-mark): Only save selection if we
19983 2009-07-17 Kenichi Handa <handa@m17n.org>
19985 * case-table.el (describe-buffer-case-table): Fix for the case
19986 that KEY is a cons.
19988 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
19990 * vc-rcs.el (vc-rcs-find-file-hook):
19991 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19993 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
19995 * net/tramp.el (tramp-wait-for-output): Handle the case when
19996 commands do not return a newline but a null byte before the shell
19999 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20001 * term/ns-win.el (ns-set-alpha): Don't declare.
20002 (ns-set-background-alpha): Remove function.
20004 2009-07-16 Kevin Ryde <user42@zip.com.au>
20006 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20007 y-or-n-p, for safety.
20009 2009-07-16 Richard Stallman <rms@gnu.org>
20011 * files.el (auto-save-mode): If buffer-saved-size is -2,
20014 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20015 (rmail-retry-ignored-headers): Add more uninteresting fields.
20017 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20019 * net/rcirc.el (rcirc): Use history variables.
20020 (rcirc-server-name-history, rcirc-nick-name-history)
20021 (rcirc-server-port-history): New variables.
20023 2009-07-15 Kenichi Handa <handa@m17n.org>
20025 * international/mule-cmds.el (set-language-environment-charset):
20026 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20029 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20030 Delete unibyte-display.
20032 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20034 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20036 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20038 * simple.el (deactivate-mark): Optional argument FORCE.
20039 (set-mark): Use deactivate-mark.
20041 * info.el (Info-search): No need to check transient-mark-mode
20042 before calling deactivate-mark.
20044 * select.el (x-set-selection): Doc fix.
20045 (x-valid-simple-selection-p): Allow buffer values.
20046 (xselect--selection-bounds): Handle buffer values.
20047 Suggested by David De La Harpe Golden.
20049 * mouse.el (mouse-set-region, mouse-drag-track):
20050 Call copy-region-as-kill before setting the mark, to let
20051 select-active-regions work.
20053 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20055 * simple.el (deactivate-mark): If select-active-regions is
20056 non-nil, copy the selection data into a string.
20057 (activate-mark): If select-active-regions is non-nil, set the
20058 selection to the current buffer.
20059 (set-mark): Update selection if select-active-regions is non-nil.
20061 * select.el (x-valid-simple-selection-p): Allow buffer values.
20063 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20066 and more featureful message-mode.
20068 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20070 * select.el (x-set-selection): Doc fix.
20071 (x-valid-simple-selection-p): Disallow selection data consisting
20072 of a list or cons of integers, since that is not used.
20073 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20074 (xselect-convert-to-string, xselect-convert-to-length)
20075 (xselect-convert-to-filename, xselect-convert-to-charpos)
20076 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20078 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20080 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20081 output in -break-info command (Emacs bug #3794).
20083 2009-07-14 Glenn Morris <rgm@gnu.org>
20085 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20086 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20087 (edebug-print-length, edebug-print-level, edebug-print-circle)
20088 (edebug-sit-for-seconds, edebug-view-outside)
20089 (edebug-bounce-point, edebug-set-global-break-condition)
20090 (edebug-Go-nonstop-mode, edebug-trace-mode)
20091 (edebug-Trace-fast-mode, edebug-continue-mode)
20092 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20093 (edebug-visit-eval-list): Doc fixes.
20095 * subr.el (def-edebug-spec): Doc fix.
20097 2009-07-14 Kenichi Handa <handa@m17n.org>
20099 * international/characters.el: Fix setting of category ?C.
20101 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20103 * term/ns-win.el (x-select-font): defalias x-select-font to
20104 ns-popup-font-panel instead of generate-fontset-menu.
20106 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20108 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20110 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20112 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20113 the PK\003\004 header (Bug#3770).
20115 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20117 * pcomplete.el (pcomplete-comint-setup): Check for
20118 shell-dynamic-complete-filename too.
20120 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20122 * simple.el (temporary-goal-column): Change the value for
20123 line-move-visual to a cons cell.
20124 (line-move-visual): Record or set the window hscroll, if
20125 necessary (Bug#3494).
20126 (line-move-1): Handle cons value of temporary-goal-column.
20128 2009-07-11 Kenichi Handa <handa@m17n.org>
20130 * international/mule-diag.el (describe-character-set): Don't show
20133 2009-07-10 Sam Steingold <sds@gnu.org>
20135 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20136 Omake sometimes indents the errors it prints, so allow all
20137 regexps to start with spaces.
20139 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20141 * cus-edit.el (customize-changed-options-previous-release):
20142 Bump value to 22.1. (Bug#3804)
20144 2009-07-08 Sam Steingold <sds@gnu.org>
20146 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20147 to be a cons cell (test . ignored-directory) to selectively ignore
20148 some directories depending on the location of the search.
20150 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20152 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20153 remote user is root, on the local host.
20154 (tramp-local-host-p): Either the local user or the remote user
20155 must be root. (Bug#3771)
20157 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20159 * progmodes/gdb-mi.el (gdb): Remove description of
20160 gdb-use-separate-io-buffer.
20161 (menu): Don't allow toggling of or enable
20162 gdb-use-separate-io-buffer from menubar.
20164 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20166 * mail/unrmail.el (unrmail): Make sure the message ends with two
20167 newlines (Bug#3769).
20169 2009-07-08 Glenn Morris <rgm@gnu.org>
20171 * calendar/calendar.el (calendar-current-date): Rework previous change.
20173 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20175 * calendar/calendar.el (calendar-current-date):
20176 Add an optional argument giving an offset from today.
20178 2009-07-08 Glenn Morris <rgm@gnu.org>
20180 * tutorial.el (tutorial--describe-nonstandard-key):
20181 Adjust the message for when a key has been unbound.
20182 (help-with-tutorial): Hide the arch-tag.
20184 2009-07-08 Kenichi Handa <handa@m17n.org>
20186 * international/fontset.el (setup-default-fontset): For each
20187 script, append (not set) font-specs.
20189 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20192 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20194 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20195 -data-list-register-names to ...
20196 (gdb-starting): ... here because GDB 7.0 requires execution to
20197 have started when using this MI command.
20198 (gdb-set-header): New function to distinguish select and
20199 unselected tabs in gdb buffers.
20200 (gdb-propertize-header): New macro that uses gdb-set-header.
20201 (gdb-breakpoints-header, gdb-locals-header): Use it.
20202 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20204 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20206 * Makefile.in (ELCFILES): Remove fadr.elc.
20208 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20210 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20211 may contain frame information, so `string-match' should be used.
20212 (gdb-update): Disassembly is invalidated through
20213 `gdb-get-selected-frame'.
20214 (gdb-pad-string): New function to pad string with spaces.
20215 (gdb-invalidate-disassembly): Invalidate only if the buffer
20217 (gdb-disassembly-handler-custom): Column alignment.
20218 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20220 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20222 (gdb-frame-handler): Match convention to for disassembly buffer
20224 (gdb-stack-list-frames-handler): Rewritten without regexps.
20225 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20226 not highlight breakpoints without line information.
20227 (gdb-input): Add trailing newline to command.
20229 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20231 (gdb-breakpoints-list-handler-custom): Replacement for
20232 `gdb-break-list-handler'. Using real parser instead of regexps
20234 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20235 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20236 to place breakpoints.
20237 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20239 (gdb-disassembly-handler-custom): Show overlay arrow.
20240 (gdb-disassembly-place-breakpoints): Show breakpoints in
20241 disassembly buffer.
20242 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20243 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20244 instead of parsing breakpoints buffer. Fixed old menu references
20249 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20250 (gdb-memory-address): New variable which holds top address of
20251 memory page shown in memory buffer.
20252 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20253 New customization variables.
20255 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20256 display the memory buffer.
20257 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20258 buffer display parameters.
20259 (def-gdb-memory-format, gdb-memory-format-binary)
20260 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20261 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20262 Functions for setting memory buffer format.
20263 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20264 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20265 unit size used in memory buffer.
20266 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20267 Switch to next/previous page of memory buffer.
20268 Now using (bindat-get-field) instead of fadr functions.
20270 2009-07-07 Sam Steingold <sds@gnu.org>
20272 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20273 non-top-level files.
20275 2009-07-07 Kenichi Handa <handa@m17n.org>
20277 * international/mule-cmds.el (reset-language-environment):
20278 Put the highset priority to the charset iso-8859-1.
20280 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20282 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20283 to the end of the line when locating the block (Bug#700).
20285 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20287 * net/tramp.el (tramp-handle-write-region): Flush file properties
20288 in case of short track.
20290 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20292 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20293 Coded custom representation of verilog error regular expressions
20294 to work with Emacs-22's new format.
20295 (verilog-error-regexp-xemacs-alist): Coded custom representation
20296 of verilog error regular expressions to work with XEmacs format.
20297 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20298 error recognition into XEmacs.
20299 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20300 error recognition into Emacs-22.
20302 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20304 * woman.el: Remove stand-alone closing parentheses.
20305 (woman-file-name, woman2-format-paragraphs)
20306 (woman-leave-blank-lines): Code cleanup.
20307 (woman-use-own-frame): Change default to nil.
20308 (woman-italic, woman-bold, woman-unknown, woman-addition):
20309 Change defaults to inherit from default faces.
20310 (woman2-process-escapes): Consume the newline after a stand-alone
20311 filler character (Bug#3651).
20313 2009-07-06 Glenn Morris <rgm@gnu.org>
20315 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20316 (top-level): Move provide to the end.
20317 (ffap): Remove defunct URL from custom group.
20319 * subr.el (eval-after-load): Doc fix.
20321 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20323 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20324 `calc-embedded-word' is called twice.
20326 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20328 * files.el (find-alternate-file-other-window, find-alternate-file):
20329 Obey confirm-nonexistent-file-or-buffer.
20331 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20333 * dired-aux.el (dired-show-file-type): Handle remote files.
20335 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20337 * desktop.el (desktop-globals-to-save):
20338 Add file-name-history (Bug#2750).
20340 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20342 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20344 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20346 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20347 property on entire argument since this is what eshell-lisp-command
20350 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20352 * net/tramp-gvfs.el (tramp-gvfs-methods)
20353 (tramp-gvfs-zeroconf-domain)
20354 (tramp-bluez-discover-devices-timeout): Add version flag.
20355 (tramp-gvfs-handler-mounted-unmounted)
20356 (tramp-gvfs-connection-mounted-p): Polish handling of
20357 incompatibilities between GVFS 0.2 and 1.0.
20359 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20361 * cus-start.el (all): Add make-pointer-invisible.
20363 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20365 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20366 formatted correctly.
20368 2009-07-02 Juri Linkov <juri@jurta.org>
20370 * info.el: Virtual Info files and nodes.
20371 (Info-virtual-files, Info-virtual-nodes): New variables.
20372 (Info-current-node-virtual): New variable.
20373 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20375 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20376 to check for a virtual file instead of checking a fixed list
20378 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20379 instead of ad-hoc processing of "dir" and (apropos history toc).
20380 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20381 instead of ad-hoc processing of "dir" and (apropos history toc).
20382 Reread a file when moving from a virtual node.
20383 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20384 (Info-directory-toc-nodes, Info-directory-find-file)
20385 (Info-directory-find-node): New functions.
20386 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20387 (Info-history): Move part of code to
20388 `Info-history-find-node'.
20389 (Info-history-toc-nodes, Info-history-find-file)
20390 (Info-history-find-node): New functions.
20391 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20392 (Info-toc): Move part of code to `Info-toc-find-node'.
20393 (Info-toc-find-node): New function.
20394 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20395 the current Info file name to references because now the node
20396 "*TOC*" belongs to the same Info manual.
20397 (Info-toc-build): Rename from `Info-build-toc'.
20398 (Info-toc-nodes): Rename input argument `file' to `filename'.
20399 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20400 instead of ad-hoc processing of ("dir" apropos history toc).
20401 (Info-index-nodes): Use Info-virtual-file-p
20402 to check for a virtual file instead of checking a fixed list
20404 (Info-index-node): Add check for `Info-current-node-virtual'.
20405 Raise `save-match-data' higher up the tree to contain
20406 `search-forward' too (bug fix).
20407 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20408 (Info-virtual-index-nodes): New variable.
20409 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20410 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20411 (Info-apropos-file, Info-apropos-nodes): New variables.
20412 (Info-apropos-toc-nodes, Info-apropos-find-file)
20413 (Info-apropos-find-node, Info-apropos-matches): New functions.
20414 (info-apropos): Move part of code to `Info-apropos-find-node' and
20415 `Info-apropos-matches'.
20416 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20417 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20418 for a virtual file instead of checking a fixed list of node names.
20420 * simple.el (async-shell-command): New command.
20422 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20424 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20425 instead of `mount-info'.
20427 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20429 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20430 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20432 2009-07-02 Kenichi Handa <handa@m17n.org>
20434 * international/mule.el (set-keyboard-coding-system): Force *-unix
20435 coding-system to avoid eol conversion.
20437 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20439 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20440 Add handler for `process-file', `shell-command' and
20441 `start-file-process'.
20442 (tramp-gvfs-handle-shell-command)
20443 (tramp-gvfs-handle-start-file-process)
20444 (tramp-gvfs-handle-process-file): New defuns.
20445 (tramp-synce-list-devices): Simplify check for existence of property.
20447 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20449 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20451 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20453 * language/korean.el (set-language-info-alist): Add korean-cp949,
20456 2009-07-01 Kenichi Handa <handa@m17n.org>
20458 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20460 * international/encoded-kb.el: Deleted.
20462 * international/mule.el (set-keyboard-coding-system): Perform the
20463 necessary setup here instead of calling encoded-kbd-setup-display.
20465 2009-07-01 Glenn Morris <rgm@gnu.org>
20467 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20469 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20471 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20473 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20475 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20476 Handle also the 'rename case, when setting file modes. (Bug#3712)
20477 (tramp-default-file-modes): Remove execute permissions.
20479 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20480 (top): Add a default for "synce" in `tramp-default-user-alist'.
20481 Add completion function for "synce" method.
20482 (tramp-hal-service, tramp-hal-path-manager)
20483 (tramp-hal-interface-manager, tramp-hal-interface-device):
20485 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20486 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20489 * net/trampver.el: Update release number.
20491 2009-06-30 Kenichi Handa <handa@m17n.org>
20493 * international/fontset.el (setup-default-fontset): Add CJK fonts
20494 for symbols and the other miscellaneous characters.
20496 * language/korea-util.el (setup-korean-environment-internal):
20497 Make char-width-table suitable for Korean environments.
20498 (exit-korean-environment): Cancel above.
20500 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20501 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20502 setup-function to make char-width-table suitable for respective
20503 environments, and an exit-function to cancel that.
20505 * language/japan-util.el (setup-japanese-environment-internal):
20506 Call use-cjk-char-width-table with arg `ja_JP'.
20508 * international/characters.el (cjk-char-width-table): Delete it.
20509 (cjk-char-width-table-list): New variable.
20510 (use-cjk-char-width-table): New arg local-name.
20511 (use-default-char-width-table): Fix for the case that Emacs is
20512 already using the default char-width-table.
20514 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20516 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20517 modes mandatory. (Bug#3712)
20519 2009-06-29 Alan Mackenzie <acm@muc.de>
20521 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20522 correction between the visible width of TABs and their number of bytes.
20524 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20526 * server.el (server-buffer-done): Prevent kill-buffer from
20527 prompting by clearing the buffer modification flag (Bug#3696).
20529 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20531 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20532 (verilog-endcomment-reason-re): Support unique case and priority case.
20533 (verilog-basic-complete-re): Support localparam lineup.
20534 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20535 (verilog-set-auto-endcomments): Fix for unique case, always_comb
20537 (verilog-leap-to-case-head): Now support *nested* unique &
20538 priority case statements.
20539 (verilog-auto-lineup): Make just declarations the default (as it
20541 (verilog-leap-to-case-head): Support priority/unique case statements.
20542 (verilog-auto-lineup): Rework to give users radio buttons to
20543 select the various styles of automatic lineup.
20544 (verilog-error-regexp-alist): Rework to support the XEmacs style
20545 of error regular expressions from compilers, lint tools &
20546 simulators. Note that GNU Emacs has made it impossible for a mode
20547 to load such things.
20548 (electric-verilog-terminate-line, verilog-indent-declaration)
20549 (verilog-auto-wiure): Rework for radio button selection of
20550 auto-lineup selection of specification of auto lineup.
20551 (verilog-beg-of-statement-1): Redesign to support proper operation
20552 in additional code, based on testing with auto-lineup.
20553 (verilog-calculate-indent, assignments & declarations)
20554 (verilog-backward-token): Enhance to support auto-lineup of
20555 assignments & declarations.
20556 (verilog-in-directive-p, verilog-at-struct-p): New function for
20557 easy test of whether we are.
20558 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20559 to support safe execution at almost anyline.
20560 (verilog-calc-1): Properly support indenting deep inside generate
20562 (verilog-init-font): Remove definition & use of verilog-init-font,
20563 as it is redundant with font-lock-defaults.
20564 (verilog-mode): Alter the definition of verilog-font-lock-defaults
20565 to avoid circular calls if syntax-ppss is a function (as is the
20566 case now in 22.x GNU Emacs) as that function would sometimes call
20567 itself, leading to (nearly) infinite recursion.
20568 (verilog-ovm-begin-re, verilog-ovm-end-re)
20569 (verilog-ovm-statement-re, verilog-leap-to-head)
20570 (verilog-backward-token): Add support for OVM macros. Some are
20571 complete statements, and others open and close scopes like begin
20573 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20574 (verilog-defun-level-generate-only-re): Really fix the defun-list
20576 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20577 coverpoint, constraint and cross statements.
20578 (verilog-defun-level-list, verilog-generate-defun-level-list)
20579 (verilog-all-defun-level-list): Redo these specifications - it is
20580 too hard to support eval-when compile aggregation of lists also
20581 built at when-compile time.
20582 (verilog-defun-level-list): Place defconsts of variables used in
20583 building regular expressions which are built in eval-when-compile
20584 bodies in the same eval-when-compile body to facilitate compile
20586 (verilog-beg-block-re-ordered): Support indenting
20587 virtual/protected tasks and functions.
20588 (verilog-defun-level-list, verilog-in-generate-region-p)
20589 (verilog-backward-ws&directives, verilog-calc-1): Speed up
20590 indentation of some module items (generate items).
20591 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20592 across virtual/protected tasks and functions.
20594 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
20596 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20597 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
20598 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20599 in concatenations. Reported by Yishay Belkind.
20600 (verilog-auto-ascii-enum): Support one-hot state machines in
20601 AUTOASCIIENUM. Suggested by Lloyd Gomez.
20602 (verilog-auto-inst, verilog-auto-inst-port): Include interface
20603 modport in AUTOINST and add vl-modport for users.
20604 Reported by David Rogoff.
20605 (verilog-auto-inout-module, verilog-auto-inst)
20606 (verilog-decls-get-interfaces, verilog-insert-definition)
20607 (verilog-insert-one-definition, verilog-read-decls)
20608 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20609 (verilog-sig-modport, verilog-signals-combine-bus)
20610 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20611 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20612 Suggested by David Rogoff.
20613 (verilog-repair-open-comma): Fix non-insertion of comma when
20614 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
20615 (verilog-make-width-expression): Simplify [A-1:0] expression
20616 widths to just {A{1'b0}}.
20617 (verilog-mode): Cleanup checkdoc warnings.
20618 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20619 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20620 inputs/outputs or data type. Suggested by Vasu Kandadi.
20621 (next-error-last-buffer): Fix byte-compiler warning.
20622 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20623 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20624 or shell command text during AUTO expansion. Suggested by Tad Truex.
20625 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20626 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20627 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20628 in AUTOINOUT. Reported by Matthew Lovell.
20629 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20630 causing use of <= assignments. Reported by Alex Reed.
20631 (verilog-read-decls): Fix triand, trior, wand, wor to be
20632 recognized by AUTOWIRE. Reported by Spencer Isaacson.
20633 (verilog-extended-complete-re): Support import "DPI-C" functions.
20634 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20635 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
20636 (verilog-insert-date, verilog-insert-year)
20637 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20638 Windows systems. Reported by Michael Potts.
20639 (verilog-read-module-name): Fix AUTOINST when the child module
20640 declaration's name is a tick define. Reported by Elliot Mednick.
20641 (verilog-read-decls): Fix V2K parameter bit subscripts getting
20642 passed to next parameter's definition. Reported by Bruce T.
20643 (verilog-read-decls): Fix detecting "parameter int" when using
20644 AUTOINSTPARAM. Reported by Bruce T.
20645 (verilog-goto-defun): Fix goto not finding modules unless first
20646 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
20647 (verilog-mode): Expand -f flag arguments on entry to mode so
20648 verilog-goto-defun will work. Reported by Lawrence Butcher.
20649 (verilog-getopt): Expand environment variables in -f file
20650 arguments. Suggested by Lawrence Butcher.
20651 (verilog-set-define): Fix "Symbol's value as variable is void"
20652 when reading enumerations.
20653 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20654 Suggested by Stephen Peltan.
20655 (verilog-read-defines): Fix reading of enumerations in include
20656 files. Reported by Steve Peltan.
20658 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20660 * files.el (trash-directory): Fix defcustom type.
20662 2009-06-28 Juri Linkov <juri@jurta.org>
20664 * help-fns.el (describe-function-1): Correctly locate adviced
20665 functions in hyperlink (Bug#2438).
20667 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
20669 * files.el (trash-directory): Change default to nil.
20670 (move-file-to-trash): If trash-directory is nil and
20671 system-move-file-to-trash is unbound, perform freedesktop-style
20674 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
20676 * files.el (move-file-to-trash): Add freedesktop trash
20679 2009-06-28 Glenn Morris <rgm@gnu.org>
20681 * autorevert.el (global-auto-revert-non-file-buffers)
20682 (global-auto-revert-mode): Doc fixes.
20684 2009-06-27 Johan Bockgård <bojohan@gnu.org>
20686 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20688 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
20690 * faces.el (x-handle-named-frame-geometry): Ensure that we have
20691 opened an X connection before calling x-get-resource (Bug#3194).
20693 * play/doctor.el: Remove reference to obsolete website.
20694 (make-doctor-variables): Correct grammar mistake (Bug#2633).
20696 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
20698 Remove find-file-not-found-hook VC method. (Bug#2757)
20699 * vc-hooks.el (vc-file-not-found-hook)
20700 (vc-default-find-file-not-found-hook): Remove functions.
20701 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20702 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20705 * vc-git.el: Do not mention find-file-not-found-hook VC method.
20707 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
20709 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20710 compatibility function for `looking-back'.
20712 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20713 Use `ispell-looking-back'.
20715 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
20717 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20718 rather than `filename'.
20720 2009-06-23 Miles Bader <miles@gnu.org>
20722 * face-remap.el (text-scale-set): New function.
20724 2009-06-23 Glenn Morris <rgm@gnu.org>
20726 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20728 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20730 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20732 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20734 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20735 Simplify Persian conditionals.
20737 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20738 variable `filename'.
20740 * comint.el (comint-insert-input): Doc fix.
20742 * Makefile.in (ELCFILES): Fix typo in previous change.
20744 2009-06-23 Miles Bader <miles@gnu.org>
20746 * cus-start.el: Add entry for `recenter-redisplay'.
20748 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20750 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20751 Add an optional argument for the backend, use it instead of
20752 calling vc-backend.
20753 (vc-mode-line): Add an optional argument for the backend.
20754 Pass the backend to vc-state and vc-working-revision. Move code for
20755 special handling for vc-state being a buffer to ...
20757 * vc-rcs.el (vc-rcs-find-file-hook):
20758 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
20760 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20761 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20762 vc-stay-local-p and vc-mode-line calls.
20764 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20765 (vc-cvs-diff, vc-cvs-annotate-command)
20766 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20767 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20768 vc-mode-line calls.
20770 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20772 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20773 backend when calling vc-mode-line.
20774 (vc-register): Do not create a closure for calling the vc register
20775 function, call it directly.
20777 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
20779 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20780 to make it obvious item can be clicked.
20782 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20784 2009-06-23 Kenichi Handa <handa@m17n.org>
20786 * language/korea-util.el (korean-key-bindings): Change the binding
20787 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
20790 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
20792 Sync with Tramp 2.1.16.
20794 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20796 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
20797 when a loading of a package fails. Completion function for rsync
20798 is `tramp-completion-function-alist-ssh'.
20799 (all): Replace all calls of `split-string' and
20800 `tramp-split-string' by `tramp-compat-split-string'.
20801 (tramp-default-method): Use `tramp-compat-process-running-p'.
20802 (tramp-default-proxies-alist): Allow also Lisp forms.
20803 (tramp-remote-path): Add choice "Private Directories".
20804 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20805 (tramp-domain-regexp): Allow also "-", "_" and ".".
20806 (tramp-end-of-output): Remove newlines, and add "$" at the end.
20807 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20808 (tramp-debug-message): Insert header line in debug buffer.
20809 (tramp-handle-directory-files-and-attributes-with-stat):
20810 Care about filenames with spaces, or starting with "-".
20811 (tramp-handle-dired-uncache): New defun.
20812 (tramp-handle-insert-directory): Don't flush the directory from
20813 cache, this is handled by `dired-uncache' now.
20814 (tramp-handle-insert-file-contents): Improve error handling.
20815 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20816 Quote `tramp-end-of-output'.
20817 (tramp-action-password): Improve trace message.
20818 (tramp-check-for-regexp): Both echoes must be present, before removing.
20819 (tramp-open-connection-setup-interactive-shell): Trace coding system.
20820 (tramp-compute-multi-hops): Eval cons cells of
20821 `tramp-default-proxies-alist'.
20822 (tramp-maybe-open-connection): Use the same command pattern for
20823 first hop and further hops.
20824 (tramp-wait-for-output): Remove handling of newlines.
20825 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20826 (tramp-split-string): Remove function. It is handled in
20829 * net/tramp-cmds.el (tramp-bug):
20830 Recommend `tramp-cleanup-all-connections' in the bug mail.
20832 * net/tramp-compat.el (tramp-compat-split-string)
20833 (tramp-compat-process-running-p): New defuns.
20835 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20836 for `dired-uncache'.
20838 * net/tramp-gvfs.el: New package.
20840 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20841 Add handler for `dired-uncache'.
20842 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20844 * net/trampver.el: Update release number. Make version check fit
20847 2009-06-22 Jim Meyering <meyering@redhat.com>
20849 Automatically handle .xz suffix (XZ-compressed files), too.
20850 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20851 XZ is the successor to LZMA: <http://tukaani.org/xz/>
20853 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
20854 Nick Roberts <nickrob@snap.net.nz>
20856 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20857 repository (http://sphinx.net.ru/hg/gdb-mi/).
20859 2009-06-22 Glenn Morris <rgm@gnu.org>
20861 * files.el (dir-locals-collect-mode-variables): Allow for any number of
20862 `mode' and `eval' entries. (Bug#3430)
20864 * Makefile.in (ELCFILES): Add fadr.elc.
20866 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20867 differing behavior of \n and ^ in strings. (Bug#3385)
20869 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20871 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20873 (lisp-indent-function): Make it a defcustom.
20875 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
20877 * progmodes/gdb-ui.el: Replace with ...
20878 * progmodes/gdb-mi.el: ... this file.
20879 * progmodes/gud.el: Modify for gdb-mi.el.
20881 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
20883 * fadr.el: New file.
20885 See ChangeLog.14 for earlier changes.
20887 ;; Local Variables:
20891 Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
20893 This file is part of GNU Emacs.
20895 GNU Emacs is free software: you can redistribute it and/or modify
20896 it under the terms of the GNU General Public License as published by
20897 the Free Software Foundation, either version 3 of the License, or
20898 (at your option) any later version.
20900 GNU Emacs is distributed in the hope that it will be useful,
20901 but WITHOUT ANY WARRANTY; without even the implied warranty of
20902 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20903 GNU General Public License for more details.
20905 You should have received a copy of the GNU General Public License
20906 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.