1 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3 * files.el (locate-file-completion-table): Strip non-matching elements
4 before checking length of list (bug#7238).
6 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
8 * custom.el (custom-theme-set-variables): Mark as a safe function.
9 (load-theme): Check forms using unsafep.
11 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
13 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
15 * textmodes/ispell.el (ispell-aspell-find-dictionary):
16 Fix aspell data file searching (bug#7230).
18 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
20 * cus-theme.el (custom-theme--migrate-settings): New var.
21 (customize-create-theme): Allow editing the `user' theme.
22 (custom-theme-add-variable, custom-theme-add-var-1)
23 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
24 to the front of each variable or face widget.
25 (custom-theme-write): Save theme settings in the correct order.
26 Optionally, remove saved settings from user customizations.
27 (custom-theme-write-variables, custom-theme-write-faces):
28 Save only the checked widgets.
29 (customize-themes): Add a link for migrating custom settings.
31 * custom.el (custom-declare-theme, provide-theme):
32 Use custom-theme-name-valid-p.
33 (custom-theme-name-valid-p): Remove checks that are now
34 unnecessary since themes no longer obey load-path.
36 * cus-edit.el (custom-variable-value-create): For the simple
37 style, hide documentation string when hidden.
39 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
41 * cus-edit.el (custom-variable, custom-face): Combine the
42 :inhibit-magic and :display-style properties into a single
43 :custom-style property.
44 (custom-toggle-hide-variable, custom-toggle-hide-face):
45 New functions. If hiding an edited value, save it to :shown-value.
46 (custom-variable-value-create, custom-face-value-create): Use them.
47 (custom-magic-reset): Allow magic property to be unset.
49 * custom.el: Custom themes no longer use load-path.
50 (custom-theme-load-path): New option. Change built-in theme
52 (custom-enabled-themes): Add custom-theme-load-path dependency.
53 (custom-theme--load-path): New function.
54 (load-theme, custom-available-themes): Use it.
56 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
57 (customize-themes): Link to custom-theme-load-path variable.
58 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
59 :custom-style property.
61 * themes/*.el: Moved to etc/.
63 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
65 * textmodes/reftex-cite.el
66 (reftex-extract-bib-entries-from-thebibliography): Do not move
67 point when searching for \bibitem entries. Match entries with
68 spaces or tabs in front of arguments.
70 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
72 * cus-theme.el (customize-create-theme): Delete overlays after
73 erasing. If given a THEME arg, display only the faces of that arg
74 instead of custom-theme--listed-faces.
75 (custom-theme-variable-menu, custom-theme-variable-action)
76 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
77 (custom-theme-add-variable, custom-theme-add-face): Apply value
78 from the theme settings, instead of the current value.
79 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
80 (custom-theme-visit-theme): Allow calling outside theme buffers.
81 (custom-theme-merge-theme): Don't enable the theme when merging.
82 (custom-theme-write-variables, custom-theme-write-faces): Use the
83 :shown-value properties to save buffer values, not global ones.
84 (customize-themes): Display a warning about user customizations.
86 * cus-edit.el (custom-variable-value-create)
87 (custom-face-value-create): Obey new special properties
88 :shown-value and :inhibit-magic.
90 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
92 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
93 Suppress expansion of tabs to spaces.
95 2010-10-14 Kenichi Handa <handa@m17n.org>
97 * mail/rmail.el (rmail-show-message-1): Catch an error of
98 base64-decode-region and just show an error message (bug#7165).
100 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
101 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
102 a font-spec (bug#7197).
104 2010-10-14 Glenn Morris <rgm@gnu.org>
106 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
108 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
110 * international/mule.el (define-coding-system):
111 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
112 * composite.el (compose-region): Fix typo in docstring.
114 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
116 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
117 only after checking the theme-face property.
119 * faces.el (face-spec-reset-face): Reset all attributes in one
120 single call to set-face-attribute.
121 (face-spec-match-p): Make it a defsubst.
122 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
123 (x-create-frame-with-faces, tty-create-frame-with-faces)
124 (tty-set-up-initial-frame-faces): Don't recompute face specs in
125 frame-set-background-mode, since they are recomputed immediately
126 afterwards in face-set-after-frame-default.
127 (face-set-after-frame-default): Minor optimization.
128 (cursor): Provide non-trivial defface spec.
130 * custom.el (custom-theme-recalc-face): Simplify.
132 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
134 * calc/calc-alg.el (math-var): Rename from `var'.
135 (math-is-polynomial, math-is-poly-rec): Replace `var'
138 * calc/calcalg2.el (math-var): Rename from `var'.
139 (calcFunc-table, math-scan-for-limits): Replace `var'
142 2010-10-13 Glenn Morris <rgm@gnu.org>
144 * subr.el (last): Deal with dotted lists (reported in bug#7174).
146 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
148 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
150 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
152 * net/tls.el (tls-program): Remove spurious %s from openssl.
153 (tls-starttls-switches): Remove starttls hack.
154 (open-tls-stream): Ditto.
155 (tls-find-starttls-argument): Ditto.
157 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
159 * image.el (image-library-alist): Declare as obsolete alias.
160 (image-type-available-p): Use `dynamic-library-alist'.
162 * term/w32-win.el (dynamic-library-alist):
163 Use instead of `image-library-alist'.
165 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
167 * subr.el (last): Make it faster. (Bug#7174)
169 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
171 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
173 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
175 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
176 (describe-theme-1): Extract doc from unloaded themes.
178 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
180 * themes/tango-theme.el:
181 * themes/tango-dark-theme.el:
182 * themes/wheatgrass-theme.el: New files.
184 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
186 * cus-theme.el (describe-theme, customize-themes)
187 (custom-theme-save): New commands.
188 (custom-new-theme-mode-map): Bind C-x C-s.
189 (custom-new-theme-mode): Use custom--initialize-widget-variables.
190 (customize-create-theme): New optional arg THEME.
191 (custom-theme-revert): Use it.
192 (custom-theme-visit-theme): Remove dead code.
193 (custom-theme-merge-theme): Use custom-available-themes.
194 (custom-theme-write): Make interactive.
195 (custom-theme-write): Use custom-theme-name-valid-p.
196 (describe-theme-1, custom-theme-choose-revert)
197 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
199 (custom-theme-allow-multiple-selections): New option.
200 (custom-theme-choose-mode): New major mode.
202 * custom.el (custom-theme-set-variables): Remove dead code.
203 Obey custom--inhibit-theme-enable.
204 (custom--inhibit-theme-enable): New var.
205 (provide-theme): Obey it.
206 (load-theme): Replace load with manual read/eval, in order to
207 check for correctness. Use custom-theme-name-valid-p.
208 (custom-theme-name-valid-p): New function.
209 (custom-available-themes): Use it.
211 * cus-edit.el (custom--initialize-widget-variables): New function.
212 (Custom-mode): Use it.
214 * cus-face.el (custom-theme-set-faces): Remove dead code.
215 Obey custom--inhibit-theme-enable.
217 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
219 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
221 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
223 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
225 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
226 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
227 (mac-right-option-modifier): New alias for ns-right-option-modifier.
229 * cus-start.el (all): ns-right-alternate-modifier is new.
231 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
233 * emacs-lisp/lisp.el (lisp-completion-at-point):
234 Use emacs-lisp-mode-syntax-table for the whole function.
236 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
238 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
239 instead of font-lock-mode before adding keywords.
240 Remove hi-lock-mode off code. Remove inhibit hack.
241 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
242 non-nil; removed hook inhibit hack.
244 2010-10-12 Glenn Morris <rgm@gnu.org>
246 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
247 (load-path-shadows-find): ... to this.
248 (list-load-path-shadows): Update for above change.
250 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
252 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
254 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
255 Fix comment for declare-function.
257 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
259 * custom.el (custom-fix-face-spec): New function; code moved from
260 custom-face-edit-fix-value.
261 (custom-push-theme): Use it when checking if a face has been
262 changed outside customize.
263 (custom-available-themes): New function.
264 (load-theme): Use it.
266 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
268 * custom.el (custom-push-theme): Cleanup (use cond).
269 (disable-theme): Recompute the saved-face property.
270 (custom-theme-recalc-face): Follow face alias before setting prop.
272 * image.el (image-checkbox-checked, image-checkbox-unchecked):
273 New variables, containing checkbox images.
275 * startup.el (fancy-startup-tail):
276 * wid-edit.el (checkbox): Use them.
278 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
280 * shell.el (shell-mode-map):
281 * progmodes/modula2.el (m2-mode-map):
282 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
283 * play/mpuz.el (mpuz-mode-map):
284 * play/landmark.el (lm-mode-map):
285 * play/decipher.el (decipher-mode-map):
286 * play/5x5.el (5x5-mode-map):
287 * net/telnet.el (telnet-mode-map):
288 * net/quickurl.el (quickurl-list-mode-map):
289 * net/mairix.el (mairix-searches-mode-map):
290 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
291 * net/dig.el (dig-mode-map):
292 * mail/mspools.el (mspools-mode-map):
293 * hexl.el (hexl-mode-map):
294 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
295 (wordstar-C-o-map, wordstar-C-q-map):
296 * emacs-lisp/edebug.el (edebug-eval-mode-map):
297 * emacs-lisp/chart.el (chart-map):
298 * edmacro.el (edmacro-mode-map):
299 * erc/erc-list.el (erc-list-menu-mode-map):
300 * array.el (array-mode-map): Declare and define in one step.
302 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
304 2010-10-10 Daiki Ueno <ueno@unixuser.org>
306 * epa.el (epa-passphrase-callback-function): Display filename
307 passed as the 3rd arg.
308 * epa-file.el (epa-file-passphrase-callback-function):
309 Pass filename to epa-passphrase-callback-function.
311 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
313 * cus-edit.el (custom-face-widget-to-spec)
314 (custom-face-get-current-spec, custom-face-state): New functions.
315 (custom-face-set, custom-face-mark-to-save)
316 (custom-face-value-create, custom-face-state-set): Use them.
318 * cus-theme.el (custom-theme--listed-faces): New var.
319 (customize-create-theme): Use *Custom Theme* as the buffer name.
320 Set revert-buffer-function. Optional arg BUFFER. Insert all
321 faces listed in custom-theme--listed-faces.
322 (custom-theme-revert): New function.
323 (custom-theme-add-variable, custom-theme-add-face): Insert at the
325 (custom-theme-write): Prompt for theme name if empty.
326 (custom-theme-write-variables): Use dolist.
327 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
329 2010-10-09 Alan Mackenzie <acm@muc.de>
331 Enhance fontification of declarators to take account of the
332 presence/absence of "typedef".
334 * cc-engine.el (c-forward-type): New &optional param
336 (c-forward-decl-or-cast-1): cdr of return value now indicates the
337 presence of either or both of a "struct"-like keyword and "typedef".
339 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
340 fontification of declarators which follow a "}".
341 (c-font-lock-declarations): Fontify declarators according to the
342 presence/absence of "typedef".
344 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
346 (c-typedef-decl-key): New lang variable built from
349 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
351 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
352 since that's too annoying. Move the filter groups commands to
355 * epa.el (epa-passphrase-callback-function): Say what we're
356 querying the password for.
358 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
359 behaviour, don't bury the ibuffer buffer when visiting other buffers.
361 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
363 * cus-edit.el (custom-commands, custom-buffer-create-internal)
364 (custom-magic-value-create): Pad button tags with spaces.
365 (custom-face-edit): New variable.
366 (custom-face-value-create): Determine whether to use the usual
367 face editor here, instead of using custom-face-selected.
368 Pass face defaults to custom-face-edit widget.
369 (custom-face-selected, custom-display-unselected): Delete widgets.
370 (custom-display-unselected-match): Function removed.
371 (custom-face-set, custom-face-mark-to-save):
372 Accept custom-face-edit widgets as the direct widget child.
374 * wid-edit.el (widget--completing-widget): New var.
375 (widget-default-complete): Bind it when doing completion.
376 (widget-string-complete, widget-file-complete): Use it.
378 2010-10-09 Glenn Morris <rgm@gnu.org>
380 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
381 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
382 (holiday-hebrew-misc): Small simplifications.
384 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
386 * net/browse-url.el: Don't require thingatpt, term, dired,
387 executable, or w3-auto when compiling.
388 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
390 (browse-url-text-emacs): Require term.
392 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
394 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
396 2010-10-08 Glenn Morris <rgm@gnu.org>
398 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
400 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
401 (shadows-compare-text-p): Make it an obsolete alias for...
402 (load-path-shadows-compare-text): ... new name.
403 (find-emacs-lisp-shadows): Update for above name change.
404 (load-path-shadows-same-file-or-nonexistent): New name for the old
405 shadow-same-file-or-nonexistent.
407 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
409 * minibuffer.el (completion--some, completion--do-completion)
410 (minibuffer-complete-and-exit, minibuffer-completion-help)
411 (completion-basic-try-completion)
412 (completion-basic-all-completions)
413 (completion-pcm--find-all-completions): Use lexical-let to
414 avoid some false matches in variable completion (Bug#7056)
416 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
418 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
420 2010-10-08 Leo <sdl.web@gmail.com>
422 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
423 return non-nil if the file exists (Bug#7090).
425 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
427 * minibuffer.el (completion--replace):
428 Better preserve markers (bug#7138).
430 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
432 * server.el (server-process-filter): Doc fix.
434 2010-10-08 Drew Adams <drew.adams@oracle.com>
436 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
438 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
440 * Makefile.in (ELCFILES): Update.
442 2010-10-08 Glenn Morris <rgm@gnu.org>
444 * vc/ediff-wind.el (ediff-setup-control-frame):
445 * vc/ediff-ptch.el (ediff-default-backup-extension):
446 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
447 (ediff-exec-process): Remove system-types emx, windows-95.
449 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
451 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
453 * cus-edit.el (custom-variable, custom-face): Doc fix.
454 (custom-face-edit): Add value-create attribute.
455 (custom-face-edit-value-create)
456 (custom-face-edit-value-visibility-action): New functions.
457 Hide unused face attributes by default, and add a visibility toggle.
458 (custom-face-edit-deactivate): Show empty values with shadow face.
459 (custom-face-selected): Only use this for face specs with default
461 (custom-face-value-create): Cleanup.
463 * wid-edit.el (widget-checklist-value-create): Use dolist.
464 (widget-checklist-match-find): Make second arg optional.
466 2010-10-07 Glenn Morris <rgm@gnu.org>
468 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
471 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
472 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
473 load-path-shadows-mode, update references.
474 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
475 Rename variable and button.
476 (list-load-path-shadows): Update button caller.
478 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
480 * emacs-lisp/smie.el (smie-bnf-classify): New function.
481 (smie-bnf-precedence-table): Use it to remember the closers/openers.
482 (smie-merge-prec2s): Handle those new entries.
483 (smie-prec2-levels): Only set precedence to nil for actual
485 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
486 that is now unnecessary.
488 2010-10-07 Miles Bader <miles@gnu.org>
490 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
492 2010-10-07 Glenn Morris <rgm@gnu.org>
494 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
495 (mail-position-on-field): Remove declarations.
496 (mail-position-on-field): Autoload it.
497 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
498 and mail-header-end. Don't require sendmail.
500 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
501 (shadow-mode): New mode.
502 (shadow-find-file): New button.
503 (list-load-path-shadows): Use shadow-mode and buttons.
505 * iimage.el (iimage-version): Remove.
506 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
507 Turn into defcustoms.
508 (iimage-mode-map): Give it a doc string.
510 * calendar/appt.el (appt-activate): Give a warning rather than an error
511 if there is no diary-file.
513 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
515 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
516 Use `tramp-handle-find-backup-file-name'.
518 2010-10-06 Glenn Morris <rgm@gnu.org>
520 * font-core.el (font-lock-defaults-alist): Remove variable.
521 (font-lock-mode): Doc fix.
522 (font-lock-default-function): Do not consult font-lock-defaults-alist.
523 * font-lock.el (font-lock-refresh-defaults): Doc fix.
524 (font-lock-set-defaults): Doc fix.
525 Do not consult font-lock-defaults-alist.
527 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
529 * emacs-lisp/cl.el: No longer provide cl-19.
531 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
533 * net/tramp.el (tramp-handle-directory-files-and-attributes)
534 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
535 New defuns, taken from tramp-smb.el.
536 (tramp-coding-system-change-eol-conversion)
537 (tramp-set-process-query-on-exit-flag): Remove.
539 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
540 (tramp-compat-coding-system-change-eol-conversion)
541 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
545 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
546 by `tramp-compat-set-process-query-on-exit-flag'.
548 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
549 Use `tramp-handle-directory-files-and-attributes',
550 `tramp-handle-file-exists-p' and
551 `tramp-handle-file-newer-than-file-p'.
552 (tramp-imap-handle-file-exists-p)
553 (tramp-imap-handle-file-executable-p)
554 (tramp-imap-handle-file-readable-p)
555 (tramp-imap-handle-directory-files-and-attributes)
556 (tramp-imap-handle-file-newer-than-file-p): Remove.
558 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
559 by `tramp-compat-set-process-query-on-exit-flag' and
560 `tramp-coding-system-change-eol-conversion' by
561 `tramp-compat-coding-system-change-eol-conversion'.
563 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
564 Use `tramp-handle-directory-files-and-attributes',
565 `tramp-handle-file-exists-p' and
566 `tramp-handle-file-newer-than-file-p'.
567 (tramp-smb-handle-directory-files-and-attributes)
568 (tramp-smb-handle-file-exists-p)
569 (tramp-smb-handle-file-newer-than-file-p): Remove.
570 (tramp-smb-maybe-open-connection):
571 Replace `tramp-set-process-query-on-exit-flag' by
572 `tramp-compat-set-process-query-on-exit-flag'.
574 2010-10-05 Glenn Morris <rgm@gnu.org>
576 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
578 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
580 Continue reorganization of load dependencies. (Bug#7156)
582 * net/tramp.el (tramp-handle-file-local-copy-hook)
583 (tramp-delete-temp-file-function): Move down.
584 (tramp-exists-file-name-handler): Move up.
585 (tramp-register-file-name-handlers): Simplify autoload.
586 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
587 (tramp-handle-directory-files, tramp-handle-dired-uncache)
588 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
589 (tramp-handle-file-name-completion)
590 (tramp-handle-file-name-directory)
591 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
592 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
593 (tramp-handle-find-backup-file-name)
594 (tramp-handle-insert-file-contents, tramp-handle-load)
595 (tramp-handle-substitute-in-file-name)
596 (tramp-handle-unhandled-file-name-directory)
597 (tramp-mode-string-to-int, tramp-local-host-p)
598 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
600 * net/tramp-gvfs.el (top):
601 * net/tramp-smb.el (top): Do not require 'tramp-sh.
603 * net/tramp-sh.el (all): Move several objects to tramp.el, see
604 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
606 2010-10-04 Glenn Morris <rgm@gnu.org>
608 * calendar/appt.el (appt-add): Ensure reminders are enabled.
609 (appt-activate): Give status messages.
611 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
613 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
614 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
615 `gnutls-negotiate' (formerly `starttls-negotiate').
616 Remove trivial wrapper `starttls-open-stream'.
618 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
620 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
621 log-outgoing commands.
622 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
623 to create a buffer local revert-buffer-function variable.
624 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
625 revert-buffer-function lambda.
627 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
629 * net/gnutls.el (starttls-negotiate): Use the plist interface to
630 `gnutls-boot'. Make TYPE the only required parameter.
631 Allow TRUSTFILES and KEYFILES to be lists.
632 (open-ssl-stream): Use it.
634 2010-10-03 Glenn Morris <rgm@gnu.org>
636 * subr.el (directory-sep-char): Remove obsolete variable.
637 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
640 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
641 * vc/vc.el (vc-static-header-alist): Doc fix.
642 * vc/vc-cvs.el (vc-cvs-header):
643 * vc/vc-rcs.el (vc-rcs-header):
644 * vc/vc-sccs.el (vc-sccs-header):
645 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
646 * obsolete/vc-mcvs.el (vc-mcvs-header):
647 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
650 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
652 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
653 Remove obsolete use of binary-overwrite-mode (Bug#7001).
655 2010-10-03 Glenn Morris <rgm@gnu.org>
657 * obsolete/x-menu.el: Remove file, obsolete since 21.1
659 * textmodes/rst.el (rst-font-lock-keywords-function):
662 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
664 * printing.el: Drop Emacs 20 code.
666 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
667 without having used appt.el already).
669 * subr.el (make-local-hook): Remove function obsolete since 21.1.
670 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
671 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
673 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
674 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
676 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
677 (charset-width, find-charset-region, chars-in-region, forward-point)
678 (encode-coding-string, coding-system-p, ccl-execute-on-string)
679 (define-ccl-program, multibyte-string-p, string-make-multibyte):
680 Remove compatibility cruft (none of these are used by ps*.el).
682 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
684 * subr.el (booleanp): Return t instead of a list (Bug#7086).
686 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
688 * server.el (server-process-filter, server-return-error):
689 Give emacsclient time to shut down after receiving an error string.
691 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
693 * files.el (remote-file-name-inhibit-cache): New defcustom.
695 * time.el (display-time-file-nonempty-p):
696 Use `remote-file-name-inhibit-cache'.
698 * net/tramp.el (tramp-completion-reread-directory-timeout):
701 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
702 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
703 `remote-file-name-inhibit-cache'. Check also for an integer
704 value. Add/increase counter when `tramp-verbose' >= 10.
705 (tramp-set-file-property): Add/increase counter when
706 `tramp-verbose' >= 10.
708 * net/tramp-cmds.el (tramp-cleanup-all-connections)
709 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
710 (tramp-bug): Set tramp-autoload cookie. Report all interned
711 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
712 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
713 characters only in strings.
715 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
716 to backward compatibility.
718 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
719 (tramp-handle-file-name-all-completions)
720 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
721 (tramp-open-connection-setup-interactive-shell):
722 Call `tramp-cleanup-connection' directly.
724 2010-10-02 Glenn Morris <rgm@gnu.org>
726 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
728 * subr.el (char-bytes): Remove obsolete function.
730 * isearch.el (isearch-return-char): Remove obsolete function.
732 * mouse.el: No longer provide mldrag.
733 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
734 Remove obsolete aliases.
736 * comint.el (comint-kill-output): Remove obsolete alias.
738 * composite.el (decompose-composite-char): Remove obsolete function.
739 * ps-def.el (decompose-composite-char): Remove unused function.
741 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
743 * outline.el (outline-visible): Remove obsolete function.
745 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
746 * faces.el (internal-find-face, internal-get-face)
747 (frame-update-faces, frame-update-face-colors)
748 (x-frob-font-weight, x-frob-font-slant)
749 (internal-frob-font-weight, internal-frob-font-slant)
750 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
751 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
752 (x-make-font-bold-italic): Remove functions and aliases, obsolete
754 * emulation/viper-util.el (viper-get-face):
755 * obsolete/lucid.el (find-face, get-face): Use facep.
756 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
757 Remove unused functions.
758 * vc/ediff-util.el (ediff-submit-report): Doc fix.
760 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
761 delete tempfile if interrupted during compilation.
763 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
765 * net/tls.el (tls-starttls-switches): Give up on using starttls with
767 (tls-program): Add --insecure to be consistent with the defaults from
768 openssl s_client. Now all three commands are insecure.
770 2010-10-01 Eli Zaretskii <eliz@gnu.org>
772 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
773 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
774 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
776 2010-10-01 Glenn Morris <rgm@gnu.org>
778 * obsolete/sc.el: Remove file.
780 * files.el (temporary-file-directory): On darwin, also try
781 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
783 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
785 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
786 Let's not break compatibility gratuitously, shall we?
788 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
790 * net/tls.el (tls-starttls-switches): New variable.
791 (tls-find-starttls-argument): Use it.
792 (open-tls-stream): Ditto.
794 * net/netrc.el (netrc-credentials): Return the value of the "default"
796 (netrc-machine): Ditto.
798 2010-09-30 Eli Zaretskii <eliz@gnu.org>
800 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
802 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
804 * server.el (server-start): Don't write pid to the authentication file.
805 (server-create-tty-frame): Don't send pid.
806 (server-process-filter): Send pid at the start of every connection.
808 2010-09-30 Glenn Morris <rgm@gnu.org>
810 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
811 (show-all-diary-entries): Remove obsolete function aliases.
813 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
814 Remove options, obsolete since 22.1.
815 (appt-display-format, appt-display-message): Remove
816 backwards-compatibility code.
817 (appt-check): No longer check appt-issue-message.
818 (appt-make-list): No longer autoload it. Doc fix. No longer
819 activate the package.
821 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
823 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
824 (starttls-negotiate): Just call boot, and let the handshake be
825 triggered from the read loop.
827 2010-09-29 Glenn Morris <rgm@gnu.org>
829 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
830 not displaying the diary.
831 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
832 * calendar/appt.el (appt-check): No longer need to kill diary.
834 * calendar/diary-lib.el (diary-list-entries): Move the
835 "Preparing..." message entirely here.
836 (diary-simple-display, diary-fancy-display): Move "Preparing..."
837 messages to diary-list-entries.
838 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
839 diary-display-function.
841 * calendar/diary-lib.el (diary-include-other-diary-files):
842 Trap some recursive includes.
844 * calendar/appt.el (appt-activate): Check diary file.
846 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
848 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
851 * calendar/time-date.el: No need to require cl for Emacs 21.
853 2010-09-28 Glenn Morris <rgm@gnu.org>
855 * calendar/appt.el (appt-check): Minor simplification.
857 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
859 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
862 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
864 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
865 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
867 2010-09-27 Kenichi Handa <handa@m17n.org>
869 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
872 2010-09-27 Kenichi Handa <handa@m17n.org>
874 * international/mule.el (define-coding-system): Docstring fixed.
876 * international/mule-diag.el (describe-character-set): Use princ
877 with proper print-length and print-level instead of insert.
879 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
881 * window.el (walk-windows): Doc fix (bug#7105).
883 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
885 * emacs-lisp/float-sup.el (e): Remove.
887 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
889 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
891 (starttls-negotiate): Use it.
893 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
895 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
898 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
900 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
902 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
904 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
906 * net/netrc.el (netrc-store-data): New function.
908 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
910 * net/gnutls.el: GnuTLS glue code to set up a connection.
912 2010-09-25 Julien Danjou <julien@danjou.info>
914 * notifications.el: Call dbus-register-signal only if it is bound.
916 2010-09-25 Glenn Morris <rgm@gnu.org>
918 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
919 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
920 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
921 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
922 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
923 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
924 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
925 * eshell/esh-util.el, eshell/esh-var.el:
926 Remove leading `*' from docs of faces and defcustoms.
928 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
930 * eshell/em-ls.el (eshell-ls-archive-regexp):
931 * eshell/esh-util.el (eshell-tar-regexp):
932 * ibuffer.el (ibuffer-compressed-file-name-regexp):
933 * info.el (Info-suffix-list):
934 * international/mule.el (auto-coding-alist):
935 * woman.el (woman-file-regexp, woman-file-compression-regexp):
936 * progmodes/etags.el (tags-compression-info-list):
937 Support xz compression.
939 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
941 * files.el (get-free-disk-space): Don't assume the "df" output
942 columns line up (Bug#6995).
944 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
946 * finder.el (finder-unknown-keywords):
947 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
948 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
950 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
952 * server.el (server-start): Revert part of 2010-08-08 change. Using
953 address 127.0.0.1 for local host is now done in Fmake_network_process.
955 2010-09-24 Glenn Morris <rgm@gnu.org>
957 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
958 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
959 * textmodes/css-mode.el, textmodes/dns-mode.el:
960 Move autoloaded auto-mode-alist entries to files.el.
961 * files.el (auto-mode-alist): Move entries here.
963 2010-09-23 Glenn Morris <rgm@gnu.org>
965 * isearch.el (isearch-lazy-highlight-cleanup)
966 (isearch-lazy-highlight-initial-delay)
967 (isearch-lazy-highlight-interval)
968 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
969 * net/net-utils.el (ipconfig-program-options):
970 Move aliases to options before the associated definitions.
972 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
974 * newcomment.el (comment-normalize-vars): Better test validity of
977 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
979 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
980 (float-e): New name for `e'.
981 (degrees-to-radians, radians-to-degrees):
982 * calendar/solar.el (solar-longitude):
983 * calculator.el (calculator-registers, calculator-funcall):
984 * textmodes/artist.el (artist-spray-random-points):
985 * play/bubbles.el (bubbles--initialize-images): Use new names.
987 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
989 Update to CEDET 1.0's version of EIEIO.
991 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
993 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
994 (eieio-default-eval-maybe): Eval val instead of unquoting only.
995 (class-precedence-list): If class is nil, return nil.
996 (eieio-generic-call): If class of first input arg is nil, don't
997 look up static methods, and do check for primary methods.
998 (initialize-instance): See if the default needs to be evaluated
999 during the constructor.
1000 (eieio-perform-slot-validation-for-default): Don't do the check
1001 for values that will eventually be evaluated.
1002 (eieio-eval-default-p): New function.
1003 (eieio-default-eval-maybe): Use it.
1005 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
1007 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1008 method-invocation-order.
1009 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1010 (eieio-class-precedence-dfs): Compute class precedence list using
1012 (eieio-class-precedence-bfs): Compute class precedence list using
1014 (eieio-class-precedence-c3): Compute class precedence list using
1016 (class-precedence-list): New function.
1017 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1018 (inconsistent-class-hierarchy): New error symbol.
1019 (call-next-method): Stow the replacement argument list for future
1020 call-next-method invocations.
1022 2010-09-23 Glenn Morris <rgm@gnu.org>
1024 * calendar/appt.el (appt-check): If not displaying the diary,
1025 use (diary 1) to only get the entries we need.
1026 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1027 that it is in day order. (Bug#7019)
1029 * calendar/appt.el (appt-check): Rather than showing the diary,
1030 just turn off invisible display, and only if needed.
1032 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
1034 2010-09-23 Glenn Morris <rgm@gnu.org>
1036 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1037 (byte-compile-defvar, byte-compile-cl-warn):
1038 Start warnings with lower-case, like the majority.
1040 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1042 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
1044 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1045 * files.el (auto-mode-alist): Move ld-script entries here, further down
1048 * vc/add-log.el: Don't require timezone when compiling.
1049 (timezone-make-date-sortable): Autoload it.
1050 (change-log-sortable-date-at): Don't require timezone.
1051 Use `ignore-errors'.
1053 * comint.el (comint-use-prompt-regexp-instead-of-fields):
1054 Move alias before definition, so it does not need autoloading.
1056 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1057 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1058 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1059 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1060 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1061 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1062 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1063 * textmodes/tex-mode.el, textmodes/two-column.el:
1064 Remove leading `*' from docs of defcustoms etc.
1066 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
1068 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1070 2010-09-22 Dan Christensen <jdc@uwo.ca>
1072 * calendar/time-date.el (date-to-time): Try using parse-time-string
1073 first before using the slower timezone-make-date-arpa-standard.
1075 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
1077 * calendar/time-date.el (format-seconds): Comment fix.
1079 2010-09-22 Glenn Morris <rgm@gnu.org>
1081 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1082 is not automatically buffer-local.
1084 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1087 (smie-indent-comment): Be more careful with comment-start-skip.
1088 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1089 (smie-indent-functions): Use them.
1091 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
1093 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1095 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
1097 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1098 tool-bar-position. Don't modify frame parameters here.
1099 (menu-bar-options-save): Add tool-bar-position.
1101 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1103 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * textmodes/reftex-parse.el (reftex-what-macro)
1106 (reftex-context-substring): Let-bind forward-sexp-function to nil
1107 since we don't need/want to treat \begin...\end as a block (bug#7053).
1109 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1111 * simple.el (blink-matching-open): Use syntax-class.
1113 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1114 Set invisibility spec for pascal's outline mode.
1115 (pascal-outline-change): Clean up calling convention.
1116 (pascal-show-all, pascal-hide-other-defuns): Update callers.
1118 * progmodes/prolog.el (prolog-smie-forward-token)
1119 (prolog-smie-backward-token): New functions.
1120 (prolog-mode-variables): Use them to parse "!," correctly.
1121 Set up smie-blink-matching for ".".
1123 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1125 (ispell-region, ispell-process-line): Update users.
1127 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1130 * textmodes/ispell.el: Fix commenting convention.
1131 (ispell-parse-output): Simplify, use push.
1132 (ispell-region): Use match-string-no-properties.
1133 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1134 (ispell-minor-mode): Use define-minor-mode.
1135 (ispell-message): Remove unused var `skip-regexp'.
1136 (ispell-add-per-file-word-list): Use dynamic let-binding.
1137 Try and use the proper comment marker.
1139 * mail/sendmail.el: Fix commenting convention.
1140 (sendmail-send-it): Use line-beginning-position.
1142 * help-fns.el (describe-variable): Add original value, if applicable.
1144 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
1146 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1148 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1150 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1153 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1154 (smie-prec2-levels): Use them to better diagnose precedence cycles.
1155 (smie-blink-matching-check): Don't signal a mismatch if car is t.
1156 (smie-blink-matching-open): Rewrite to remove assumptions, so that
1157 something like "." can also be a closer.
1158 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1159 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1160 Rename internal functions to use "--". Update callers.
1162 * frame.el (make-frame-names-alist): Don't list frames on other displays.
1164 * fringe.el (fringe-styles): New var.
1165 (fringe-mode, fringe-query-style): Use it.
1167 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
1169 * progmodes/sql.el: Version 2.8
1170 (sql-login-params): Update widget structure; changes still needed.
1171 (sql-product-alist): Add :list-all and :list-table features for
1172 SQLite, Postgres and MySQL products.
1173 (sql-redirect): Handle default value.
1174 (sql-execute, sql-execute-feature): New functions.
1175 (sql-read-table-name): New function.
1176 (sql-list-all, sql-list-table): New functions. User API.
1177 (sql-mode-map, sql-interactive-mode-map): Add key definitions
1178 for above functions.
1179 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1180 for above functions.
1181 (sql-postgres-login-params): Add user and database defaults.
1182 (sql-buffer-live-p): Bug fix.
1183 (sql-product-history): New variable.
1184 (sql-read-product): New function. Use it.
1185 (sql-set-product, sql-product-interactive): Use it.
1186 (sql-connection-history): New variable.
1187 (sql-read-connection): New function. Use it.
1188 (sql-connect): New function.
1189 (sql-for-each-login): Redesign function interface.
1190 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1191 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
1192 (sql-comint): Check for program. Existing live buffer.
1193 (sql-comint-postgres): Add port parameter.
1195 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * emacs-lisp/warnings.el: Fix commenting convention.
1198 (display-warning): Use special mode and make the buffer read-only.
1200 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
1202 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1203 empty string when it follows a repeated or optional pattern.
1205 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1207 * indent.el (indent-according-to-mode): Apply syntax-propertize.
1208 (indent-region): Use indent-according-to-mode.
1210 2010-09-18 Eli Zaretskii <eliz@gnu.org>
1212 * fringe.el (fringe-mode): Doc fix.
1214 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
1216 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1217 refreshing the preview buffer.
1219 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1222 (latex-syntax-propertize-rules): New consts; replace
1223 tex-font-lock-syntactic-keywords.
1224 (tex-env-mark, latex-env-before-change): New functions.
1225 (latex-electric-env-pair-mode): New minor mode.
1226 (tex-font-lock-verb): Change arguments; do move point.
1227 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1228 representation as a form of comment.
1229 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1230 (doctex-syntax-propertize-rules): New const; replaces
1231 doctex-font-lock-syntactic-keywords.
1232 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1234 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1235 (fortran-make-syntax-propertize-function): New function; replaces
1236 fortran-font-lock-syntactic-keywords.
1237 (fortran-mode): Use it.
1238 (fortran-line-length): Use it. Improve interactive spec.
1240 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1241 (syntax-propertize-rules): Add var-ref case. Fix offset computation
1242 when adding surrounding \(..\).
1244 * progmodes/js.el (js-mode): Fix last change (bug#7054).
1246 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1249 Use with-current-buffer.
1251 * isearch.el (isearch-face): Rename from `isearch'.
1252 (isearch-highlight): Use new name.
1254 2010-09-17 Eli Zaretskii <eliz@gnu.org>
1256 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1257 5, for `half' width fringes. (Bug#6933)
1259 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1261 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1262 (byte-compile-defvar): "foo/bar" does not lack a prefix.
1264 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1266 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
1268 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1269 in calculating new frame position. Add more space between new and
1270 parent on the left (Bug#7048).
1272 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
1274 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1277 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
1279 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1281 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1282 obsolete alias for x-selection-value.
1284 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1286 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
1288 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1291 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
1293 * net/tramp-compat.el (tramp-compat-with-temp-message)
1294 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1295 (tramp-compat-process-put): New defuns.
1297 * net/tramp.el (top):
1298 * net/tramp-gvfs.el (top):
1299 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1301 * net/tramp.el (tramp-progress-reporter-update):
1302 Use `tramp-compat-funcall'.
1304 * net/tramp.el (tramp-process-actions):
1305 * net/tramp-gvfs.el (tramp-handle-vc-registered):
1306 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1307 (tramp-get-remote-stat, tramp-get-remote-readlink):
1308 Use `tramp-compat-with-temp-message'.
1310 * net/tramp-sh.el (top): Require 'cl.
1311 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1312 (tramp-open-connection-setup-interactive-shell):
1313 Use `tramp-compat-process-put'.
1315 2010-09-15 Alan Mackenzie <acm@muc.de>
1317 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1319 (c-forward-<>-arglist-recur): Fix an infinite recursion.
1321 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1323 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1324 `lexical' for warnings related to lexical scoping.
1325 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1326 global vars which don't have a prefix and could hence affect lexical
1327 scoping in unrelated files.
1329 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1331 * net/imap.el: Revert back to version
1332 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1335 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
1337 * obsolete/old-whitespace.el (whitespace-unload-function):
1338 Explicitly pass `obarray' to `unintern' to avoid a warning.
1340 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1342 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1343 Add `when' argument. Update callers.
1345 * subr.el (unintern): Declare the obarray arg mandatory.
1347 2010-09-14 Glenn Morris <rgm@gnu.org>
1349 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1352 * calendar/diary-lib.el (diary-included-files): New variable.
1353 (diary-list-entries): Maybe initialize diary-included-files.
1354 (diary-include-other-diary-files): Append to diary-included-files.
1355 * calendar/appt.el (appt-update-list): Also check the members of
1356 diary-included-files. (Bug#6999)
1357 (appt-check): Doc fix.
1359 2010-09-14 David Reitter <david.reitter@gmail.com>
1361 * simple.el (line-move-visual): Do not truncate goal column to
1362 integer size. (Bug#7020)
1364 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * repeat.el (repeat): Allow repeating when the last event is a click.
1367 Suggested by Drew Adams (bug#6256).
1369 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
1371 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1372 Replace setting HGRCPATH to "" by some less invasive --config options.
1374 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1376 * font-lock.el (font-lock-beginning-of-syntax-function):
1379 2010-09-14 Glenn Morris <rgm@gnu.org>
1381 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1382 and tool-bar modes. (Bug#6211)
1383 (menu-bar-mode): Move setting of standard-value after the
1384 minor-mode definition, otherwise it seems to have no effect.
1386 2010-09-14 Masatake YAMATO <yamato@redhat.com>
1388 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1389 Fix typo. (Bug#6976)
1391 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1393 * whitespace.el: Allow cleaning up blanks without blank
1394 visualization (Bug#6651). Adjust help window for
1395 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1396 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
1397 (whitespace-style): Add new value 'face. Adjust docstring.
1398 (whitespace-space, whitespace-hspace, whitespace-tab):
1399 Adjust foreground property face.
1400 (whitespace-line-column): Adjust docstring and type declaration.
1401 (whitespace-style-value-list, whitespace-toggle-option-alist)
1402 (whitespace-help-text): Adjust const initialization.
1403 (whitespace-toggle-options, global-whitespace-toggle-options):
1405 (whitespace-display-window, whitespace-interactive-char)
1406 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1407 (whitespace-help-scroll): New fun.
1409 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1411 * calendar/time-date.el (format-seconds): Comment fix.
1413 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
1415 * progmodes/sql.el: Version 2.7.
1416 (sql-buffer-live-p): Improve detection.
1417 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1418 (sql-set-sqli-buffer): Use it.
1419 (sql-product-interactive): Run `sql-set-sqli-hook'.
1420 (sql-rename-buffer): Code cleanup.
1421 (sql-redirect, sql-redirect-value): New functions. More to come.
1423 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
1425 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.
1426 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1427 (TRAMP_SRC): New macro.
1428 ($(lisp)/net/tramp-loaddefs.el): New target.
1430 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
1432 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
1434 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
1436 * net/tramp.el (top): Don't show loading message. Require just
1437 'tramp-compat, everything else is required there.
1438 Use `ignore-errors' where appropriate.
1439 (tramp-inline-compress-start-size, tramp-copy-size-limit)
1440 (tramp-terminal-type, tramp-end-of-output)
1441 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1442 (tramp-completion-function-alist-ssh)
1443 (tramp-completion-function-alist-telnet)
1444 (tramp-completion-function-alist-su)
1445 (tramp-completion-function-alist-putty, tramp-remote-path)
1446 (tramp-remote-process-environment, tramp-sh-extra-args)
1447 (tramp-actions-before-shell, tramp-uudecode)
1448 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1449 (tramp-perl-file-attributes)
1450 (tramp-perl-directory-files-and-attributes)
1451 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1452 (tramp-perl-encode, tramp-perl-decode)
1453 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1454 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1455 (tramp-handle-make-symbolic-link, tramp-handle-load)
1456 (tramp-handle-file-name-as-directory)
1457 (tramp-handle-file-name-directory)
1458 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1459 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1460 (tramp-do-file-attributes-with-ls)
1461 (tramp-do-file-attributes-with-perl)
1462 (tramp-do-file-attributes-with-stat)
1463 (tramp-handle-set-visited-file-modtime)
1464 (tramp-handle-verify-visited-file-modtime)
1465 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1466 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1467 (tramp-handle-file-selinux-context)
1468 (tramp-handle-set-file-selinux-context)
1469 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1470 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1471 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1472 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1473 (tramp-handle-file-ownership-preserved-p)
1474 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1475 (tramp-handle-directory-files-and-attributes)
1476 (tramp-do-directory-files-and-attributes-with-perl)
1477 (tramp-do-directory-files-and-attributes-with-stat)
1478 (tramp-handle-file-name-all-completions)
1479 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1480 (tramp-handle-copy-file, tramp-handle-copy-directory)
1481 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1482 (tramp-do-copy-or-rename-file-via-buffer)
1483 (tramp-do-copy-or-rename-file-directly)
1484 (tramp-do-copy-or-rename-file-out-of-band)
1485 (tramp-handle-make-directory, tramp-handle-delete-directory)
1486 (tramp-handle-delete-file)
1487 (tramp-handle-dired-recursive-delete-directory)
1488 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1489 (tramp-handle-insert-directory)
1490 (tramp-handle-unhandled-file-name-directory)
1491 (tramp-handle-expand-file-name)
1492 (tramp-handle-substitute-in-file-name)
1493 (tramp-handle-executable-find, tramp-process-sentinel)
1494 (tramp-handle-start-file-process, tramp-handle-process-file)
1495 (tramp-handle-call-process-region, tramp-handle-shell-command)
1496 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1497 (tramp-handle-insert-file-contents)
1498 (tramp-handle-insert-file-contents-literally)
1499 (tramp-handle-find-backup-file-name)
1500 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1501 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1502 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1503 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1504 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1505 (tramp-find-file-exists-command, tramp-open-shell)
1506 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1507 (tramp-open-connection-setup-interactive-shell)
1508 (tramp-local-coding-commands, tramp-remote-coding-commands)
1509 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1510 (tramp-inline-compress-commands, tramp-find-inline-compress)
1511 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1512 (tramp-send-command, tramp-wait-for-output)
1513 (tramp-send-command-and-check, tramp-barf-unless-okay)
1514 (tramp-send-command-and-read, tramp-mode-string-to-int)
1515 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1516 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1517 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1518 (tramp-method-out-of-band-p, tramp-local-host-p)
1519 (tramp-get-remote-path, tramp-get-remote-tmpdir)
1520 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1521 (tramp-get-test-command, tramp-get-test-nt-command)
1522 (tramp-get-file-exists-command, tramp-get-remote-ln)
1523 (tramp-get-remote-perl, tramp-get-remote-stat)
1524 (tramp-get-remote-readlink, tramp-get-remote-trash)
1525 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1526 (tramp-get-local-uid, tramp-get-local-gid)
1527 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1529 (tramp-methods, tramp-default-method-alist)
1530 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1531 Move initialization to tramp-sh.el.
1532 (tramp-temp-name-prefix): Make it a defconst.
1533 (tramp-dissect-file-name): Don't check anymore for multi-hop
1535 (tramp-debug-outline-regexp): Add a docstring.
1536 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1537 (tramp-get-debug-buffer): Use it.
1539 * net/tramp-cache.el (top): Set tramp-autoload cookie for
1540 initialization forms.
1541 (tramp-set-connection-property): Don't protect `tramp-message'
1542 call, it isn't necessary any longer.
1543 (tramp-dump-connection-properties): Use `ignore-errors'.
1545 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1546 'password-cache and 'auth-source.
1548 * net/tramp-gvfs.el (top):
1549 * net/tramp-smb.el (top): Require 'tramp-sh.
1551 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1553 * net/tramp-sh.el: New file, derived from tramp.el.
1554 (top): Initialize `tramp-methods', `tramp-default-method-alist',
1555 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1556 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1557 Use `ignore-errors' where appropriate.
1558 (tramp-sh-file-name-handler-alist): Rename from
1559 `tramp-file-name-handler-alist'.
1560 (tramp-send-command-and-check): Return t or nil. Remove all
1561 `zerop' checks, where called.
1562 (tramp-handle-set-file-modes)
1563 (tramp-do-copy-or-rename-file-directly)
1564 (tramp-handle-delete-directory, tramp-handle-delete-file)
1565 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1566 (tramp-sh-file-name-handler, tramp-send-command-and-check)
1567 (tramp-get-remote-ln): Set tramp-autoload cookie.
1569 * net/tramp-fish.el: Remove file.
1571 2010-09-13 Daiki Ueno <ueno@unixuser.org>
1573 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1574 buffer-file-name to avoid file-locking. (Bug#7026)
1576 2010-09-13 Julien Danjou <julien@danjou.info>
1578 * notifications.el (notifications-notify): Add support for
1579 image-path and sound-name.
1580 (notifications-specification-version): Add this variable.
1582 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1586 2010-09-12 Leo <sdl.web@gmail.com>
1588 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1589 (rcirc-completion-start): New variables.
1590 (rcirc-nick-completions): Rename to rcirc-completions.
1591 (rcirc-nick-completion-start-offset): Delete.
1592 (rcirc-completion-at-point): New function for constructing
1593 completion data for both nicks and irc commands. Add to
1594 completion-at-point-functions in rcirc mode.
1595 (rcirc-complete): Rename from rcirc-nick-complete; use
1596 rcirc-completion-at-point.
1597 (defun-rcirc-command): Update rcirc-client-commands.
1599 2010-09-11 Glenn Morris <rgm@gnu.org>
1601 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1602 atomically, to avoid parallel build errors. (Bug#4196)
1604 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
1606 * progmodes/sql.el: Version 2.6
1607 (sql-dialect): Synonym for "sql-product".
1608 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1609 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1610 Set "sql-buffer" to buffer name not buffer object so multiple sql
1611 interactive buffers work properly. Reverts misguided changes in
1613 (sql-comint): Make sure different buffer name is used if "*SQL*"
1614 buffer is for a different product.
1615 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1617 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1618 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1619 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1620 Accept new buffer name or prompt for one.
1621 (sql-port): Default to zero.
1622 (sql-comint-mysql): Handle "sql-port" as a numeric.
1623 (sql-port-history): Delete unused variable.
1624 (sql-get-login): Default "sql-port" to a number.
1625 (sql-product-alist): Correct Postgres prompt and terminator regexp.
1626 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1627 "sqlite3" executables.
1628 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1629 (sql-buffer-live-p): New function.
1630 (sql-mode-menu, sql-send-string): Use it.
1631 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1633 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1634 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1636 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1638 * net/netrc.el (netrc-credentials): New convenience function.
1640 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1642 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1643 to replace texinfo-font-lock-syntactic-keywords.
1644 (texinfo-mode): Use it.
1646 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1647 Use syntax-propertize-function.
1649 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
1650 replace sgml-font-lock-syntactic-keywords.
1651 (sgml-mode): Use it.
1653 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1654 since we don't use it.
1656 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1658 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1660 (vhdl-fontify-buffer): Adjust.
1662 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1663 replace tcl-font-lock-syntactic-keywords.
1666 * progmodes/simula.el (simula-syntax-propertize-function): New var to
1667 replace simula-font-lock-syntactic-keywords.
1668 (simula-mode): Use it.
1670 * progmodes/sh-script.el (sh-st-symbol): Remove.
1671 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1672 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1673 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1674 (sh-font-lock-paren): Set syntax-multiline.
1675 (sh-font-lock-syntactic-keywords): Remove.
1676 (sh-syntax-propertize-function): New function to replace it.
1679 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1680 Define while compiling.
1681 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1682 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1683 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1684 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1685 (ruby-here-doc-end-syntax): Only define when
1686 syntax-propertize is not available.
1687 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1689 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1690 (electric-indent-chars): Silence bytecompiler.
1691 (ruby-mode): Use prog-mode, syntax-propertize-function, and
1692 electric-indent-chars.
1694 * progmodes/python.el (python-syntax-propertize-function): New var to
1695 replace python-font-lock-syntactic-keywords.
1696 (python-mode): Use it.
1697 (python-quote-syntax): Simplify and adjust to new use.
1699 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1700 replace perl-font-lock-syntactic-keywords.
1701 (perl-syntax-propertize-special-constructs): New fun to replace
1702 perl-font-lock-special-syntactic-constructs.
1703 (perl-font-lock-syntactic-face-function): New fun.
1704 (perl-mode): Use it.
1706 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1707 to replace octave-font-lock-close-quotes.
1708 (octave-syntax-propertize-function): New function to replace
1709 octave-font-lock-syntactic-keywords.
1710 (octave-mode): Use it.
1712 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1713 replaces mixal-font-lock-syntactic-keywords.
1714 (mixal-mode): Use it.
1716 * progmodes/make-mode.el (makefile-syntax-propertize-function):
1717 New var; replaces makefile-font-lock-syntactic-keywords.
1718 (makefile-mode): Use it.
1719 (makefile-imake-mode): Adjust.
1721 * progmodes/js.el (js--regexp-literal): Define while compiling.
1722 (js-syntax-propertize-function): New var; replaces
1723 js-font-lock-syntactic-keywords.
1726 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1727 replaces gdb-script-font-lock-syntactic-keywords.
1728 (gdb-script-mode): Use it.
1730 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1731 (fortran--font-lock-syntactic-keywords): New var.
1732 (fortran-line-length): Update syntax-propertize-function and
1733 fortran--font-lock-syntactic-keywords.
1735 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1737 * progmodes/cfengine.el (cfengine-mode):
1738 Use syntax-propertize-function.
1739 (cfengine-font-lock-syntactic-keywords): Remove.
1741 * progmodes/autoconf.el (autoconf-mode):
1742 Use syntax-propertize-function.
1743 (autoconf-font-lock-syntactic-keywords): Remove.
1745 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1746 (ada-after-change-function, ada-initialize-syntax-table-properties)
1747 (ada-handle-syntax-table-properties): Only define when
1748 syntax-propertize is not available.
1749 (ada-mode): Use syntax-propertize-function.
1751 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1752 (font-lock-fontify-syntactic-keywords-region): Move handling of
1753 font-lock-syntactically-fontified to...
1754 (font-lock-default-fontify-region): ...here.
1755 Let syntax-propertize-function take precedence.
1756 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1758 * emacs-lisp/syntax.el (syntax-propertize-function)
1759 (syntax-propertize-chunk-size, syntax-propertize--done)
1760 (syntax-propertize-extend-region-functions): New vars.
1761 (syntax-propertize-wholelines, syntax-propertize-multiline)
1762 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1763 (syntax-propertize): New functions.
1764 (syntax-propertize-rules): New macro.
1765 (syntax-ppss-flush-cache): Set syntax-propertize--done.
1766 (syntax-ppss): Call syntax-propertize.
1768 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1770 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
1772 * textmodes/ispell.el (ispell-init-process): Improve comments.
1773 XEmacs compatibility changes regarding (add-hook) 'local option
1774 and (set-process-query-on-exit-flag).
1776 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
1778 * net/tramp-cache.el (tramp-parse-connection-properties):
1779 Set tramp-autoload cookie.
1781 2010-09-09 Glenn Morris <rgm@gnu.org>
1783 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1784 (imagemagick-register-types): Doc fix.
1786 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1788 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1790 * progmodes/js.el (require): Require is already "eval-and-compile".
1791 (js--re-search-forward): Avoid `eval'. Preserve the error data.
1792 (js--re-search-backward): Use js--re-search-forward.
1794 * progmodes/fortran.el (fortran-line-length): Don't recompute
1795 syntactic keywords redundantly a second time.
1797 * progmodes/ada-mode.el: Replace "(set '" with setq.
1798 (ada-mode): Simplify.
1799 (ada-create-case-exception, ada-adjust-case-interactive)
1800 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1801 (ada-search-ignore-string-comment, ada-move-to-start)
1802 (ada-move-to-end): Use with-syntax-table.
1804 * font-lock.el (save-buffer-state): Remove `varlist' arg.
1805 (font-lock-unfontify-region, font-lock-default-fontify-region):
1806 Update usage correspondingly.
1807 (font-lock-fontify-syntactic-keywords-region):
1808 Set parse-sexp-lookup-properties buffer-locally here.
1809 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1811 * simple.el (blink-matching-open): Don't burp if we can't find a match.
1813 2010-09-08 Glenn Morris <rgm@gnu.org>
1815 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1816 Error if not compiled with -DBYTE_CODE_METER.
1818 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1819 Ignore dir-locals-file.
1821 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1825 (compilation-error-regexp-alist-alist): Rule out ": " in file names
1826 for the `gnu' messages.
1827 (compilation-set-skip-threshold): New command.
1828 (compilation-start): Use \' rather than $.
1829 (compilation-forget-errors): Use clrhash.
1831 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
1833 * textmodes/ispell.el (ispell-valid-dictionary-list):
1836 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
1838 Migrate to Tramp 2.2. Rearrange load dependencies.
1839 (Bug#1529, Bug#5448, Bug#5705)
1841 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1842 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1843 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1845 * net/tramp.el (top): Remove all other tramp-* loads except
1846 tramp-compat.el. Remove all changes to tramp-unload-hook for
1847 other tramp-* packages. Rearrange defun order. Change calls of
1848 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1849 `tramp-compat-octal-to-decimal' to new function names.
1850 (tramp-terminal-type, tramp-initial-end-of-output)
1851 (tramp-methods, tramp-foreign-file-name-handler-alist)
1852 (tramp-tramp-file-p, tramp-completion-mode-p)
1853 (tramp-send-command-and-check, tramp-get-remote-path)
1854 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1855 (tramp-shell-quote-argument): Set tramp-autoload cookie.
1856 (with-file-property, with-connection-property): Move to
1858 (tramp-local-call-process, tramp-decimal-to-octal)
1859 (tramp-octal-to-decimal): Move to tramp-compat.el.
1860 (tramp-handle-shell-command): Do not require 'shell.
1861 (tramp-compute-multi-hops): No special handling for tramp-gw-*
1863 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1865 * net/tramp-cache.el (top): Require 'tramp. Add to
1866 `tramp-unload-hook'.
1867 (tramp-cache-data, tramp-get-file-property)
1868 (tramp-set-file-property, tramp-flush-file-property)
1869 (tramp-flush-directory-property, tramp-get-connection-property)
1870 (tramp-set-connection-property, tramp-flush-connection-property)
1871 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1873 (with-file-property, with-connection-property): New defuns, moved
1875 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1878 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1879 (tramp-version): Set tramp-autoload cookie.
1881 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
1882 changes to tramp-unload-hook for other tramp-* packages. Add to
1883 `tramp-unload-hook'.
1884 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1885 (tramp-compat-call-process): New defuns, moved from tramp.el.
1887 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
1888 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1889 to `tramp-unload-hook'. Change call of
1890 `tramp-compat-decimal-to-octal' to new function name.
1891 (tramp-fish-method): Make it a defconst.
1892 (tramp-fish-file-name-p): Make it a defsubst.
1893 (tramp-fish-method, tramp-fish-file-name-handler)
1894 (tramp-fish-file-name-p): Set tramp-autoload cookie.
1896 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1897 `tramp-foreign-file-name-handler-alist'. Add to
1898 `tramp-unload-hook'.
1899 (tramp-ftp-method): Make it a defconst.
1900 (tramp-ftp-file-name-p): Make it a defsubst.
1901 (tramp-ftp-method, tramp-ftp-file-name-handler)
1902 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1904 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1905 `tramp-foreign-file-name-handler-alist'. Add to
1906 `tramp-unload-hook'. Change checks, whether package can be
1908 (tramp-gvfs-file-name-p): Make it a defsubst.
1909 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1910 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1911 (tramp-gvfs-handle-file-directory-p): New defun.
1912 (tramp-gvfs-file-name-handler-alist): Use it.
1914 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1915 `tramp-foreign-file-name-handler-alist'. Add to
1916 `tramp-unload-hook'.
1917 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1918 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1920 (tramp-gw-tunnel-method, tramp-gw-socks-method)
1921 (tramp-gw-open-connection): Set tramp-autoload cookie.
1923 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
1924 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1925 to `tramp-unload-hook'. Change checks, whether package can be
1927 (tramp-imap-file-name-p): Make it a defsubst.
1928 (tramp-imap-method, tramp-imaps-method)
1929 (tramp-imap-file-name-handler)
1930 (tramp-imap-file-name-p): Set tramp-autoload cookie.
1932 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
1933 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1934 to `tramp-unload-hook'. Change checks, whether package can be
1935 loaded. Change call of `tramp-compat-decimal-to-octal' to new
1937 (tramp-smb-tunnel-method): Make it a defconst.
1938 (tramp-smb-file-name-p): Make it a defsubst.
1939 (tramp-smb-method, tramp-smb-file-name-handler)
1940 (tramp-smb-file-name-p): Set tramp-autoload cookie.
1942 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1943 (tramp-uuencode-region): Set tramp-autoload cookie.
1945 * net/trampver.el (top) Add to `tramp-unload-hook'.
1946 (tramp-version, tramp-bug-report-address): Set tramp-autoload
1947 cookie. Update release number.
1949 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
1951 * textmodes/ispell.el (ispell-start-process): Make sure original
1952 arg list is properly initialized (Bug#6993, Bug#6994).
1954 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1956 * files.el (directory-abbrev-alist): Use \` as default regexp.
1958 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1959 chars like - or ] (bug#6984).
1960 (rx-any-condense-range): Explode 2-char ranges.
1962 2010-09-06 Glenn Morris <rgm@gnu.org>
1964 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1966 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * textmodes/bibtex.el:
1969 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1971 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1973 * net/imap.el (imap-message-map): Remove optional buffer parameter,
1974 since no callers use it.
1975 (imap-message-get): Ditto.
1976 (imap-message-put): Ditto.
1977 (imap-mailbox-map): Ditto.
1978 (imap-mailbox-put): Ditto.
1979 (imap-mailbox-get): Ditto.
1980 (imap-mailbox-get): Revert last change for this function.
1982 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1984 * net/imap.el (imap-fetch-safe): Remove function, and alter all
1985 callers to use `imap-fetch' instead. According to the comments, this
1986 should be safe, since all other IMAP clients use the 1:* syntax.
1987 (imap-enable-exchange-bug-workaround): Remove.
1988 (imap-debug): Remove -- doesn't seem very useful.
1990 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1992 * net/imap.el (imap-log): New convenience function used throughout
1993 instead of repeating the same code all over the place.
1995 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
1997 * mouse.el (mouse-save-then-kill): Save region to kill-ring
1998 when mouse-drag-copy-region is non-nil (Bug#6956).
2000 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
2002 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2003 Improve regexps (Bug#6987).
2004 (dired-sort-toggle): Search more robustly for -t flag.
2006 * files.el (get-free-disk-space): Search more robustly for
2007 "available" column. Suggested by Ehud Karni
2008 <ehud@unix.mvs.co.il>.
2010 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
2012 * international/uni-bidi.el:
2013 * international/uni-category.el:
2014 * international/uni-combining.el:
2015 * international/uni-decimal.el:
2016 * international/uni-mirrored.el:
2017 * international/uni-name.el: Regenerate.
2019 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2021 * electric.el (electric-indent-post-self-insert-function):
2022 Don't reindent with a sloppy indentation function.
2024 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2025 border case in change-log-mode.
2027 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
2029 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2030 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2031 Recognize leading tab in gcc-include regexp. Ignore names with
2032 leading "from" or "in" in gnu regexp (Bug#6937).
2034 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2036 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2037 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2038 (ispell-start-process): Avoid setq and simplify logic.
2039 (ispell-init-process): Setup kill-buffer-hook locally when needed.
2040 (kill-buffer-hook): Don't use it globally with code that uses
2041 expand-file-name since that may call kill-buffer via
2042 code_conversion_restore.
2044 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
2046 * emacs-lisp/package.el (package-directory-list): Only call
2047 file-name-nondirectory on a string.
2049 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2051 * emacs-lisp/package.el (package--download-one-archive):
2052 Ensure that archive-contents is valid before saving it.
2053 (package-activate-1, package-mark-obsolete, define-package)
2054 (package-compute-transaction, package-list-maybe-add): Use push.
2056 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2058 Use SMIE's blink-paren for octave-mode.
2059 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2060 Backslashes do not escape single-quotes, single-quotes do.
2061 (octave-block-else-regexp, octave-block-end-regexp)
2062 (octave-block-match-alist): Remove.
2063 (octave-smie-bnf-table): New var, with old content.
2064 (octave-smie-op-levels): Use it.
2065 (octave-smie-closer-alist): New var.
2066 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
2067 (octave-blink-matching-block-open): Remove.
2068 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2069 (octave-electric-space): Let self-insert-command run expand-abbrev and
2072 * electric.el (electricity): New group.
2073 (electric-indent-chars): New var.
2074 (electric-indent-post-self-insert-function): New fun.
2075 (electric-indent-mode): New minor mode.
2076 (electric-pair-skip-self): New custom.
2077 (electric-pair-post-self-insert-function): New function.
2078 (electric-pair-mode): New minor mode.
2080 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2081 calcAlg-blink-matching-open.
2082 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2083 (calc-do-alg-entry): Only touch the part of the keymap that varies.
2084 Use the new blink-matching-check-function.
2086 Provide blink-matching support to SMIE.
2087 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2088 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2089 (smie-blink-matching-check, smie-blink-matching-open): New functions.
2091 * simple.el (newline): Fix last change to properly remove itself from
2094 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2096 * simple.el (newline): Eliminate optimization.
2097 Use post-self-insert-hook to set hard-newline and things before
2098 running post-self-insert-hook.
2099 (blink-matching-check-mismatch): New function.
2100 (blink-matching-check-function): New variable.
2101 (blink-matching-open): Use them.
2102 Skip back forward over prefix chars skipped by forward-sexp.
2103 Don't check if the parens are backslash escaped.
2104 (blink-paren-post-self-insert-function): Check backslash escaping here.
2106 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2108 * emacs-lisp/package.el (package-menu-mode-map):
2109 Change package-menu-revert bindings to revert-buffer.
2110 (package-menu-mode): Set revert-buffer-function.
2111 (package-menu-revert): Doc fix.
2113 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
2115 * textmodes/ispell.el (ispell-init-process): Use "~/" as
2116 `default-directory' unless using Ispell per-directory personal
2117 dictionaries and not in a mini-buffer under XEmacs.
2118 (kill-buffer-hook): Do not kill ispell process on exit when
2119 `ispell-process-directory' is "~/". (Bug#6143)
2121 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
2123 * simple.el (kill-new): Call interprogram-cut-function with only
2126 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2127 Remove cut buffer from error message.
2129 * term/x-win.el (x-select-text):
2130 * term/pc-win.el (x-selection-value):
2131 * term/ns-win.el (x-selection-value):
2132 * eshell/em-term.el:
2133 * w32-fns.el (x-get-selection-value):
2134 * mouse-sel.el (mouse-sel-set-selection-function):
2135 * frame.el (display-selections-p): Remove cut-buffer in documentation.
2137 * term/x-win.el: Update documentation for x-last-selected-text-*.
2138 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2139 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2140 (x-select-text): Remove argument PUSH, update documentation. Remove
2142 (x-selection-value-internal): Was previously x-selection-value.
2143 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2144 Update documentation, remove cut-buffer code. Call
2145 x-selection-value-internal.
2146 (x-clipboard-yank): Call x-selection-value-internal.
2147 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2149 * term/pc-win.el (x-last-selected-text):
2150 x-cut-buffer-or-selection-value renamed to x-selection-value
2151 (x-select-text): Remove argument PUSH, update documentation.
2153 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2154 x-cut-buffer-or-selection-value renamed to x-selection-value
2155 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2156 (x-select-text): Remove argument PUSH, update documentation.
2158 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2160 * w32-fns.el (x-last-selected-text):
2161 x-cut-buffer-or-selection-value renamed to x-selection-value.
2162 (x-cut-buffer-max): Remove.
2163 (x-select-text): Remove argument PUSH, update documentation.
2165 * simple.el (interprogram-cut-function): Remove mention of PUSH.
2167 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2169 * mouse-sel.el (mouse-sel-get-selection-function):
2170 x-cut-buffer-or-selection-value renamed to x-selection-value.
2171 (x-select-text): Remove optional push.
2173 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * simple.el (blink-paren-function): Move from C to here.
2176 (blink-paren-post-self-insert-function): New function.
2177 (post-self-insert-hook): Use it.
2179 * emacs-lisp/pcase.el (pcase-split-memq):
2180 Fix overenthusiastic optimisation.
2181 (pcase-u1): Handle the case of a lambda pred.
2183 2010-08-31 Kenichi Handa <handa@m17n.org>
2185 * international/mule-cmds.el (standard-display-european-internal):
2186 Setup standard-display-table for 8-bit characters by storing 8-bit
2187 characters in the element vector.
2189 * disp-table.el (standard-display-8bit):
2190 Setup standard-display-table for 8-bit characters by storing 8-bit
2191 characters in the element vector.
2192 (standard-display-european): Likewise.
2194 2010-08-31 Masatake YAMATO <yamato@redhat.com>
2196 * textmodes/nroff-mode.el (nroff-view): New command.
2197 (nroff-mode-map): Bind it to C-c C-c.
2199 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2201 * emacs-lisp/smie.el (smie-down-list): New command.
2203 Remove old indentation and navigation code on octave-mode.
2204 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2205 smie-down-list rather than add a binding for octave-down-block.
2206 (octave-mark-block, octave-blink-matching-block-open):
2207 Rely on forward-sexp-function.
2208 (octave-fill-paragraph): Don't narrow, so you can use
2209 indent-according-to-mode.
2210 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2211 (octave-in-block-p, octave-re-search-forward-kw)
2212 (octave-re-search-backward-kw, octave-indent-calculate)
2213 (octave-end-as-array-index-p, octave-block-end-offset)
2214 (octave-scan-blocks, octave-forward-block, octave-backward-block)
2215 (octave-down-block, octave-backward-up-block, octave-up-block)
2216 (octave-before-magic-comment-p, octave-indent-line): Remove.
2218 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
2220 * emacs-lisp/package.el (package--read-archive-file): Just use
2221 `read', to avoid copying an additional string.
2222 (package-menu-mode): Set header-line-format here.
2223 (package-menu-refresh, package-menu-revert): Signal an error if
2224 not in the Package Menu.
2225 (package-menu-package-list): New var.
2226 (package--generate-package-list): Operate on the current buffer;
2227 don't assume that it is *Packages*, since the user may rename it.
2228 Allow persistent package listings and sort keys using
2229 package-menu-package-list and package-menu-package-sort-key.
2230 (package-menu--version-predicate): Fix version calculation.
2231 (package-menu-sort-by-column): Don't select the window.
2232 (package--list-packages): Create the *Packages* buffer.
2233 Set package-menu-package-list-key.
2234 (list-packages): Sorting by status is now the default.
2235 (package-buffer-info): Use match-string-no-properties.
2236 (define-package): Add a &rest argument for future proofing, but
2238 (package-install-from-buffer, package-install-buffer-internal):
2239 Merge into a single function, package-install-from-buffer.
2240 (package-install-file): Change caller.
2242 * finder.el: Load finder-inf using `require'.
2243 (finder-list-matches): Sorting by status is now the default.
2244 (finder-compile-keywords): Simpify printing.
2246 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2249 (octave-mode-map): Remove special bindings for forward/backward-block
2250 and octave-backward-up-block. Use smie-close-block.
2251 (octave-continuation-marker-regexp): New var.
2252 (octave-continuation-regexp): Use it.
2253 (octave-operator-table, octave-smie-op-levels)
2254 (octave-operator-regexp, octave-smie-indent-rules): New vars.
2255 (octave-smie-backward-token, octave-smie-forward-token): New funs.
2256 (octave-mode): Use SMIE.
2257 (octave-close-block): Delete.
2259 2010-08-30 Eli Zaretskii <eliz@gnu.org>
2261 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2262 CLIPBOARD, not in PRIMARY. (Bug#6944)
2264 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2268 (smie-indent-column): Allow indirection through variables.
2270 * composite.el (save-buffer-state): Delete, unused.
2271 * font-lock.el (save-buffer-state): Use with-silent-modifications.
2272 (font-lock-default-fontify-region): Use with-syntax-table.
2273 * jit-lock.el (with-buffer-unmodified): Remove.
2274 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2276 Use `declare' in defmacros.
2277 * window.el (save-selected-window):
2278 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2279 * progmodes/python.el (def-python-skeleton):
2280 * net/dbus.el (dbus-ignore-errors):
2281 * jka-cmpr-hook.el (with-auto-compression-mode):
2282 * international/mule.el (with-category-table):
2283 * emacs-lisp/timer.el (with-timeout):
2284 * emacs-lisp/lisp-mnt.el (lm-with-file):
2285 * emacs-lisp/eieio.el (with-slots):
2286 * emacs-lisp/easymenu.el (easy-menu-define):
2287 * emacs-lisp/debug.el (debugger-env-macro):
2288 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2289 (Multiple-value-call, Multiple-value-prog1):
2290 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2291 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2292 edebug rule to definition.
2293 * emacs-lisp/lisp-mode.el (save-selected-window)
2294 (with-current-buffer, combine-after-change-calls)
2295 (with-output-to-string, with-temp-file, with-temp-buffer)
2296 (with-temp-message, with-syntax-table, read-if, eval-after-load)
2297 (dolist, dotimes, when, unless):
2298 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2300 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2302 * finder.el: Require `package'.
2303 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
2304 (finder-package-info): Var deleted.
2305 (finder-keywords-hash, finder--builtins-alist): New vars.
2306 (finder-compile-keywords): Compute package--builtins and
2307 finder-keywords-hash instead of finder-keywords-hash, respecting
2308 the "Package" header.
2309 (finder-unknown-keywords, finder-list-matches):
2310 Use finder-keywords-hash and package--list-packages.
2311 (finder-mode): Don't set font-lock-defaults.
2312 (finder-exit): We don't use "*Finder-package*" and "*Finder
2313 Category*" buffers anymore.
2315 * emacs-lisp/package.el (package--builtins-base): Var deleted.
2316 (package--builtins): Set default value to nil.
2317 (package-initialize): Load precomputed value of package--builtins
2319 (package-alist, package-compute-transaction)
2320 (package-download-transaction): Improve docstring.
2321 (package-read-all-archive-contents): Do not change
2322 package--builtins here.
2323 (list-packages): Make package-list-packages an alias for this.
2324 Sort by status by default.
2325 (package--list-packages): Add optional PACKAGES arg.
2326 (describe-package-1): Use font-lock-face property. For built-in
2327 packages, insert file commentary.
2328 (package--generate-package-list): Rename from
2329 package-list-packages-internal; all callers changed. Add optional
2330 PACKAGES arg. Add alphabetical sort fallbacks.
2331 (package-menu--version-predicate, package-menu--status-predicate)
2332 (package-menu--description-predicate)
2333 (package-menu--name-predicate): New functions.
2335 * info.el (Info-finder-find-node): Search package-alist instead of
2336 finder-package-info.
2338 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2340 * subr.el (version-regexp-alist): Don't use "a" and "b" for
2342 (version-to-list): Handle versions like "10.3d".
2344 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2347 (macroexp-accumulate): Use `declare'.
2349 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2351 * whitespace.el (whitespace-style): Adjust type declaration.
2353 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
2355 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2356 empty argument to gvfs-copy.
2358 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2360 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2361 handle new TRASH arg of `delete-file'.
2363 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
2365 * net/tramp.el (tramp-handle-insert-directory): Don't use
2366 `forward-word', its default syntax could be changed.
2368 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2369 Michael Albinus <michael.albinus@gmx.de>
2371 Implement compression for inline methods.
2373 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2374 (tramp-copy-size-limit): Allow also nil.
2375 (tramp-inline-compress-commands): New defconst.
2376 (tramp-find-inline-compress, tramp-get-inline-compress)
2377 (tramp-get-inline-coding): New defuns.
2378 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2379 replaced by `tramp-get-inline-coding'.
2380 (tramp-handle-file-local-copy, tramp-handle-write-region)
2381 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2383 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
2385 Detect ssh 'ControlMaster' argument automatically in some cases.
2387 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2388 (tramp-default-method): Use it.
2390 2010-08-26 Karel Klíč <kklic@redhat.com>
2392 * net/tramp.el (tramp-file-name-for-operation):
2393 Add file-selinux-context.
2395 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
2397 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2399 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2401 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2404 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
2406 * progmodes/js.el: Make indentation more customizable (Bug#6914).
2407 (js-paren-indent-offset, js-square-indent-offset)
2408 (js-curly-indent-offset): New options.
2409 (js--proper-indentation): Use them.
2411 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
2413 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2414 instead of inspecting font-lock properties (Bug#6916).
2416 2010-08-26 David Reitter <david.reitter@gmail.com>
2418 * server.el (server-visit-files): Run pre-command-hook and
2419 post-command-hook for each buffer while it is current (Bug#6910).
2420 (server-execute): Do not run hooks here.
2422 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
2424 Sync with Tramp 2.1.19.
2426 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2427 (tramp-reporter-dump-variable, tramp-load-report-modules)
2428 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2429 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2431 * net/tramp-compat.el (top): Do not autoload
2432 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2433 only when `start-file-process' is not bound.
2434 (byte-compile-not-obsolete-vars): Define if not bound.
2435 (tramp-compat-funcall): New defmacro.
2436 (tramp-compat-line-beginning-position)
2437 (tramp-compat-line-end-position)
2438 (tramp-compat-temporary-file-directory)
2439 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2440 (tramp-compat-copy-file, tramp-compat-copy-directory)
2441 (tramp-compat-delete-file, tramp-compat-delete-directory)
2442 (tramp-compat-number-sequence, tramp-compat-process-running-p):
2444 (tramp-advice-file-expand-wildcards): Do not use
2445 `tramp-handle-file-remote-p'.
2446 (tramp-compat-make-temp-file): Simplify fallback implementation.
2447 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2448 (tramp-compat-copy-tree): Remove function.
2449 (tramp-compat-delete-file): New defun.
2450 (tramp-compat-delete-directory): Provide implementation for older
2452 (tramp-compat-file-attributes): Handle only
2453 `wrong-number-of-arguments' error.
2455 * net/tramp-fish.el (tramp-fish-handle-copy-file):
2456 Add PRESERVE_SELINUX_CONTEXT.
2457 (tramp-fish-handle-delete-file): Add TRASH arg.
2458 (tramp-fish-handle-directory-files-and-attributes):
2459 Do not use `tramp-fish-handle-file-attributes.
2460 (tramp-fish-handle-file-local-copy)
2461 (tramp-fish-handle-insert-file-contents)
2462 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2464 * net/tramp-gvfs.el (top): Require url-util.
2465 (tramp-gvfs-mount-point): Remove.
2466 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2467 and `set-file-selinux-context'.
2468 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2469 (tramp-gvfs-handle-file-selinux-context)
2470 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2471 (with-tramp-dbus-call-method): Format trace message.
2472 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2473 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2474 Implement backup call, when operation on local files fails.
2475 Use progress reporter. Flush properties of changed files.
2476 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2477 `tramp-compat-delete-file'.
2478 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2479 (tramp-gvfs-handle-make-directory): Make more traces.
2480 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2481 (tramp-gvfs-url-file-name): Hexify file name in url.
2482 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2483 into account for the resulting file name.
2484 (tramp-gvfs-handler-askquestion): Preserve current message, in
2485 order to let progress reporter continue afterwards. (Bug#6257)
2486 Return dummy mountpoint, when the answer is "no".
2487 See `tramp-gvfs-maybe-open-connection'.
2488 (tramp-gvfs-handler-mounted-unmounted)
2489 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2490 attribute "default_location". Set "prefix" property.
2491 Handle default-location.
2492 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2493 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2494 exists. Raise an error, if not (due to a corresponding answer
2495 "no" in interactive questions, for example).
2496 Use `tramp-compat-funcall'.
2498 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2499 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2500 (tramp-imap-do-copy-or-rename-file)
2501 (tramp-imap-handle-insert-file-contents)
2502 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2503 (tramp-imap-handle-delete-file): Add TRASH arg.
2505 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2506 Add PRESERVE-SELINUX-CONTEXT.
2507 (tramp-smb-handle-copy-file)
2508 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2509 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2510 Use `with-progress-reporter'.
2511 (tramp-smb-handle-delete-file): Add TRASH arg.
2513 * net/tramp.el (tramp-methods): Move hostname to the end in all
2514 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2516 (tramp-verbose): Describe verbose level 9.
2517 (tramp-completion-function-alist)
2518 (tramp-file-name-regexp, tramp-chunksize)
2519 (tramp-local-coding-commands, tramp-remote-coding-commands)
2520 (with-connection-property, tramp-completion-mode-p)
2521 (tramp-action-process-alive, tramp-action-out-of-band)
2522 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2523 (tramp-exists-file-name-handler): Fix docstring.
2524 (tramp-remote-process-environment): Use `format' instead of
2525 `concat'. Protect version string by apostroph.
2526 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2528 (tramp-file-name-regexp-unified)
2529 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2530 not regard the volume letter as remote filename. (Bug#5447)
2531 (tramp-perl-file-attributes)
2532 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2533 (tramp-vc-registered-read-file-names): Read input as
2534 here-document, otherwise the command could exceed maximum length
2536 (tramp-file-name-handler-alist): Add `file-selinux-context' and
2537 `set-file-selinux-context'.
2538 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2539 backtrace functions.
2540 (tramp-error-with-buffer): Don't show the connection buffer when
2541 we are in completion mode.
2542 (tramp-progress-reporter-update, tramp-remote-selinux-p)
2543 (tramp-handle-file-selinux-context)
2544 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2545 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2547 (with-progress-reporter): New defmacro.
2548 (tramp-debug-outline-regexp): New defconst.
2549 (top, tramp-rfn-eshadow-setup-minibuffer)
2550 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2551 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2552 (tramp-completion-mode-p, tramp-check-for-regexp)
2553 (tramp-open-connection-setup-interactive-shell)
2554 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2555 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2556 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2557 Use `tramp-compat-funcall'.
2558 (tramp-handle-make-symbolic-link): Flush file properties.
2559 (tramp-handle-load, tramp-handle-file-local-copy)
2560 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2561 (tramp-handle-vc-registered, tramp-maybe-send-script)
2562 (tramp-find-shell): Use `with-progress-reporter'.
2563 (tramp-do-file-attributes-with-stat): Add space in format string,
2564 in order to work around a bug in pdksh. Reported by Gilles Pion
2566 (tramp-handle-verify-visited-file-modtime): Do not send a command
2567 when the connection is not established.
2568 (tramp-handle-set-file-times): Simplify the check for utc.
2569 (tramp-handle-directory-files-and-attributes)
2570 (tramp-get-remote-path): Use `copy-tree'.
2571 (tramp-completion-handle-file-name-all-completions): Ensure, that
2572 non remote files are still checked. Oops.
2573 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2574 Handle PRESERVE-SELINUX-CONTEXT.
2575 (tramp-do-copy-or-rename-file): Add progress reporter.
2576 (tramp-do-copy-or-rename-file-directly): Do not use
2577 `tramp-handle-file-remote-p'.
2578 (tramp-do-copy-or-rename-file-out-of-band):
2579 Use `tramp-compat-delete-directory'.
2580 (tramp-do-copy-or-rename-file-out-of-band)
2581 (tramp-compute-multi-hops, tramp-maybe-open-connection):
2582 Use `format-spec-make'.
2583 (tramp-handle-delete-file): Add TRASH arg.
2584 (tramp-handle-dired-uncache): Flush directory cache, not only file
2586 (tramp-handle-expand-file-name)
2587 (tramp-completion-handle-file-name-all-completions)
2588 (tramp-completion-handle-file-name-completion):
2589 Use `tramp-connectable-p'.
2590 (tramp-handle-start-file-process): Set connection property "vec".
2591 Use it, in order to invalidate file caches. Check only for
2592 `remote-tty' process property.
2593 Implement tty setting. (Bug#4604, Bug#6360)
2594 (tramp-file-name-for-operation): Add `call-process-region' and
2595 `set-file-selinux-context'.
2596 (tramp-find-foreign-file-name-handler)
2597 (tramp-advice-make-auto-save-file-name)
2598 (tramp-set-auto-save-file-modes): Remove superfluous check for
2599 `stringp'. This is done inside `tramp-tramp-file-p'.
2600 (tramp-file-name-handler): Trace 'quit. Catch the error for some
2601 operations when we are in completion mode. This gives the user
2602 the chance to correct the file name in the minibuffer.
2603 (tramp-completion-mode-p): Use `non-essential'.
2604 (tramp-handle-file-name-all-completions): Backward/ XEmacs
2605 compatibility: Use `completion-ignore-case' if
2606 `read-file-name-completion-ignore-case' does not exist.
2607 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2608 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2610 (tramp-action-password): Hide password prompt before next run.
2611 (tramp-process-actions): Widen connection buffer for the trace.
2612 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2613 process property. Trace stty settings if `tramp-verbose' >= 9.
2614 Apply workaround for IRIX64 bug. Move argument of last
2615 `tramp-send-command' where it belongs to.
2616 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2617 front of `login-args'.
2618 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2619 on "/dev/null" instead of "/".
2620 (tramp-get-ls-command-with-dired): Make test for "--dired"
2622 (tramp-set-auto-save-file-modes): Adapt version check.
2623 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2624 (tramp-handle-process-file): Call the program in a subshell, in
2625 order to preserve working directory.
2626 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2627 `tramp-remote-sh' from `tramp-methods'.
2628 (tramp-get-ls-command): Make test for "--color=never" stronger.
2629 (tramp-check-for-regexp): Use (forward-line 1).
2631 * net/trampver.el: Update release number.
2633 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2635 * help.el (help-map): Bind `C-h P' to describe-package.
2637 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2639 * emacs-lisp/package.el (package-refresh-contents): Catch errors
2640 when downloading archives.
2641 (describe-package-1): Add package commentary.
2642 (package-install-button-action): New function.
2643 (package-menu-mode-map): Bind ? to package-menu-describe-package.
2644 (package-menu-view-commentary): Function removed.
2645 (package-list-packages-internal): Hide the `package' package too.
2647 2010-08-25 Kenichi Handa <handa@m17n.org>
2649 * language/misc-lang.el ("Arabic"): New language environment.
2650 Setup composition-function-table for Arabic characters.
2652 * international/fontset.el (setup-default-fontset): Fix typo for
2653 arabic OTF spec (fini->fina).
2655 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
2657 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2660 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2662 * whitespace.el: Allow cleaning up blanks without blank
2663 visualization (Bug#6651). Adjust help window for
2664 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2665 instead of whitespace-line-column (from EmacsWiki). New version
2667 (whitespace-style): Added new value 'face. Adjust docstring.
2668 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2669 foreground property face.
2670 (whitespace-line-column): Adjust docstring and type declaration.
2671 (whitespace-style-value-list, whitespace-toggle-option-alist)
2672 (whitespace-help-text): Adjust const initialization.
2673 (whitespace-toggle-options, global-whitespace-toggle-options):
2675 (whitespace-display-window, whitespace-interactive-char)
2676 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2677 (whitespace-help-scroll): New fun.
2679 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2681 * emacs-lisp/package.el (list-packages): Alias for
2682 package-list-packages.
2684 2010-08-24 Kevin Ryde <user42@zip.com.au>
2686 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2689 * progmodes/ruby-mode.el (ruby): Add defgroup.
2691 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2693 * progmodes/python.el: Add Ipython support (Bug#5390).
2694 (python-shell-prompt-alist)
2695 (python-shell-continuation-prompt-alist): New options.
2696 (python--set-prompt-regexp): New function.
2697 (inferior-python-mode, run-python, python-shell): Require
2698 ansi-color. Use python--set-prompt-regexp to set the comint
2699 prompt based on the Python interpreter.
2700 (python--prompt-regexp): New var.
2701 (python-check-comint-prompt)
2702 (python-comint-output-filter-function): Use it.
2703 (run-python): Use a pipe (Bug#5694).
2705 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
2707 * progmodes/python.el (python-send-region): Send a different
2708 Python command if Ipython is in use.
2709 (python-check-version): Use a Python command to find the version.
2711 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2713 * mouse.el (mouse-yank-primary): Avoid setting primary when
2714 deactivating the mark (Bug#6872).
2716 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
2718 * progmodes/python.el (python-block-pairs): Allow use of "finally"
2719 with "else" (Bug#3991).
2721 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
2723 * net/dbus.el: Accept UNIX domain sockets as bus address.
2724 (top): Don't initialize `dbus-registered-objects-table' anymore,
2725 this is done in dbusbind,c.
2726 (dbus-check-event): Adapt test for bus.
2727 (dbus-return-values-table, dbus-unregister-service)
2728 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2731 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
2733 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2735 2010-08-22 Juri Linkov <juri@jurta.org>
2737 * simple.el (read-extended-command): New function with the logic
2738 for `completing-read' moved to Elisp from `execute-extended-command'.
2739 Use `function-called-at-point' in `minibuffer-default-add-function'
2740 to get a command name for M-n (bug#5364, bug#5214).
2742 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2744 * startup.el (command-line-1): Issue warning for ignored arguments
2745 --unibyte, etc (Bug#6886).
2747 2010-08-22 Leo <sdl.web@gmail.com>
2749 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2750 (ignore, bright, dim, keyword): Split list of nicknames before
2751 passing to rcirc-add-or-remove (Bug#6894).
2753 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2755 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2757 2010-08-22 Leo <sdl.web@gmail.com>
2759 Fix buffer-list rename&refresh after killing a buffer in ido.
2760 * ido.el: Revert Óscar's.
2761 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2762 Remember the buffers at head, rather than their name.
2763 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2765 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
2766 Stefan Monnier <monnier@iro.umontreal.ca>
2768 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2769 extra backslash added to each line (bug#6890).
2771 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2773 * subr.el (read-key): Don't echo keystrokes (bug#6883).
2775 2010-08-22 Glenn Morris <rgm@gnu.org>
2777 * menu-bar.el (menu-bar-games-menu): Add landmark.
2779 2010-08-22 Glenn Morris <rgm@gnu.org>
2781 * align.el (align-regexp): Make group and spacing arguments
2782 use the interactive defaults when non-interactive. (Bug#6698)
2784 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2785 expansion, so as not to need sendmail.
2786 (mail-text-start): Remove declaration.
2787 (rmail-retry-failure): Require sendmail.
2789 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2791 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2793 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
2795 * progmodes/flymake.el (flymake-start-syntax-check-process):
2796 Use `start-file-process' in order to let it run also on remote hosts.
2798 2010-08-22 Kenichi Handa <handa@m17n.org>
2800 * files.el: Add `word-wrap' as safe local variable.
2802 2010-08-22 Glenn Morris <rgm@gnu.org>
2804 * woman.el (woman-translate): Case matters. (Bug#6849)
2806 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2808 * simple.el (kill-region): Doc fix (Bug#6787).
2810 2010-08-22 Glenn Morris <rgm@gnu.org>
2812 * calendar/diary-lib.el (diary-header-line-format):
2813 Fit it to the window, not the frame.
2815 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
2817 * subr.el (ignore-errors): Add debug declaration.
2819 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
2821 * whitespace.el (whitespace-color-off): Remove post-command-hook
2824 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2826 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2828 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2830 * cus-edit.el (custom-group-value-create): Add extra newline
2831 before end line (Bug#6876).
2833 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2835 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2836 when extending it. Before killing on the second click, check if
2837 the buffer is the correct one. Doc fix.
2838 (mouse-secondary-save-then-kill): Allow usage without first
2839 calling mouse-start-secondary, by defaulting to point. Don't save
2840 an empty secondary selection. Doc fix.
2842 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2844 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
2845 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2847 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2848 Adjust initialization.
2849 (whitespace-bob-marker, whitespace-eob-marker)
2850 (whitespace-buffer-changed): New vars.
2851 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2852 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2853 (whitespace-post-command-hook, whitespace-display-char-on):
2855 (whitespace-looking-back, whitespace-buffer-changed): New funs.
2856 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2858 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2860 * files.el (locate-file-completion-table): Only list the .el and .elc
2861 extensions if there's no other choice (bug#5955).
2863 * facemenu.el (facemenu-self-insert-data): New var.
2864 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2866 (facemenu-add-face): Use them.
2868 * simple.el (blink-matching-open): Obey forward-sexp-function.
2870 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2872 * simple.el (prog-mode-map): New var.
2873 (prog-indent-sexp): New command.
2875 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2877 * progmodes/prolog.el (smie): Require.
2879 * emacs-lisp/smie.el (smie-default-backward-token)
2880 (smie-default-forward-token): Strip properties.
2881 (smie-next-sexp): Be more careful with associative operators.
2882 (smie-forward-sexp-command): Generalize.
2883 (smie-backward-sexp-command): Simplify.
2884 (smie-closer-alist): New var.
2885 (smie-close-block): New command.
2886 (smie-indent-debug-log): New var.
2887 (smie-indent-offset-rule): Add a few more cases.
2888 (smie-indent-column): New function.
2889 (smie-indent-after-keyword): Use it.
2890 (smie-indent-keyword): Use it.
2891 Fix up the opener code's point position.
2892 (smie-indent-comment): Only applies at BOL.
2893 (smie-indent-debug): New command.
2895 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2896 declarations that are useful before running the macro.
2898 2010-08-18 Joakim Verona <joakim@verona.se>
2900 * image.el (imagemagick-types-inhibit): New variable.
2901 (imagemagick-register-types): New function.
2902 * image-mode.el (image-transform-properties): New function.
2903 (image-transform-set-scale, image-transform-fit-to-height)
2904 (image-transform-set-rotation, image-transform-set-resize)
2905 (image-transform-fit-to-width, image-transform-fit-to-height):
2907 (image-toggle-display-image): Support image transforms.
2909 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
2911 * image.el (create-animated-image): Don't add heuristic mask to image
2914 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
2916 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2917 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2919 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2923 Font-lock '...' strings, plus various simplifications and fixes.
2924 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2925 (octave-font-lock-close-quotes): New function.
2926 (octave-font-lock-syntactic-keywords): New var.
2927 (octave-mode): Use it. Set beginning-of-defun-function.
2928 (octave-mode-map): Don't override the <foo>-defun commands.
2929 (octave-mode-menu): Pass it directly to easy-menu-define;
2930 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2931 (octave-block-match-alist): Fix up last change so that
2932 octave-close-block uses the more specific keyword.
2933 (info-lookup-mode): Silence byte-compiler.
2934 (octave-beginning-of-defun): Not interactive any more.
2936 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2937 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2938 (octave-completion-at-point-function): Make sure point is within
2940 (octave-reindent-then-newline-and-indent):
2941 Use reindent-then-newline-and-indent.
2942 (octave-add-octave-menu): Remove.
2944 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
2946 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2947 (report-emacs-bug-can-use-xdg-email): New functions.
2948 (report-emacs-bug): Set can-xdg-email to result of
2949 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
2950 \C-cm to report-emacs-bug-insert-to-mailer and add help text
2953 * net/browse-url.el (browse-url-default-browser): Add cond
2954 for browse-url-xdg-open.
2955 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2957 2010-08-17 Glenn Morris <rgm@gnu.org>
2959 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2960 (c-fontify-recorded-types-and-refs): Define for compiler.
2961 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2964 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2967 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
2969 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2971 (tramp-handle-process-file): Call the program in a subshell, in
2972 order to preserve working directory.
2973 (tramp-action-password): Hide password prompt before next run.
2974 (tramp-process-actions): Widen connection buffer for the trace.
2976 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2978 * net/rcirc.el (rcirc-log-process-buffers): New option.
2979 (rcirc-print): Use it.
2980 (rcirc-generate-log-filename): New function.
2981 (rcirc-log-filename-function): Change default to
2982 rcirc-generate-log-filename (Bug#6828).
2984 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
2986 * simple.el (deactivate-mark): If select-active-regions is `only',
2987 only set selection for temporarily active regions.
2989 * cus-start.el: Change defcustom for select-active-regions.
2991 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2993 * mouse.el (mouse--drag-set-mark-and-point): New function.
2994 (mouse-drag-track): Use LOCATION arg to push-mark.
2995 Use mouse--drag-set-mark-and-point to take click-count into
2996 consideration when updating point and mark (Bug#6840).
2998 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3000 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3001 Give the Ruby rule a lower priority than Gnu (Bug#6778).
3003 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
3005 * font-lock.el (lisp-font-lock-keywords-2):
3006 Add combine-after-change-calls, condition-case-no-debug,
3007 with-demoted-errors, and with-silent-modifications (Bug#6025).
3009 2010-08-14 Kevin Ryde <user42@zip.com.au>
3011 * emacs-lisp/copyright.el (copyright-update-year)
3012 (copyright-update): Temporary switch-to-buffer to ensure the
3013 buffer change being queried is visible (Bug#5394).
3015 2010-08-14 Tom Tromey <tromey@redhat.com>
3017 * progmodes/etags.el (tags-file-name): Mark safe if stringp
3020 2010-08-14 Eli Zaretskii <eliz@gnu.org>
3022 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3025 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
3027 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3028 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3029 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3030 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3031 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3032 Call menu-bar-set-tool-bar-position.
3034 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3036 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3037 comment style (bug#6834).
3038 * progmodes/scheme.el (scheme-mode-syntax-table):
3039 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3040 "b" flag in "' 14b" syntax.
3042 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3043 for (un)commenting the region and performing completion.
3044 (octave-mode-menu): Use standard commands for help and completion.
3045 (octave-mode-syntax-table): Support %{..%} comments (sort of).
3046 (octave-mode): Use define-derived-mode.
3047 Set completion-at-point-functions and don't set columns.
3048 Don't disable adaptive-fill-regexp.
3049 (octave-describe-major-mode, octave-comment-region)
3050 (octave-uncomment-region, octave-comment-indent)
3051 (octave-indent-for-comment): Remove.
3052 (octave-indent-calculate): Rename from calculate-octave-indent.
3053 (octave-indent-line, octave-fill-paragraph): Update caller.
3054 (octave-initialize-completions): No need to make an alist.
3055 (octave-completion-at-point-function): New function.
3056 (octave-complete-symbol): Use it.
3057 (octave-insert-defun): Use define-skeleton.
3059 * progmodes/octave-mod.el (octave-mode): Set comment-add.
3060 (octave-mode-map): Use comment-dwim (bug#6829).
3062 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
3064 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3065 indentation of inserted comment.
3067 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
3069 * faces.el (region): Add type gtk that uses gtk colors.
3071 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3072 Handle theme-name change.
3074 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
3076 * progmodes/sql.el: Version 2.5
3077 (sql-product-alist): Add :prompt-cont-regexp property for several
3079 (sql-prompt-cont-regexp): New variable.
3080 (sql-output-newline-count, sql-output-by-send):
3081 New variables. Record number of newlines in input text.
3082 (sql-send-string): Handle multiple filters and count newlines.
3083 (sql-send-magic-terminator): Count terminator newline.
3084 (sql-interactive-remove-continuation-prompt): Filters output to
3085 remove continuation prompts; one for each newline.
3086 (sql-interactive-mode): Set up new variables, prompt regexp and
3088 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3089 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3091 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * emacs-lisp/pcase.el: New file.
3095 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
3097 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3098 as here-document, otherwise the command could exceed maximum
3099 length of command line.
3100 (tramp-handle-vc-registered): Call script accordingly.
3101 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3103 2010-08-10 Kenichi Handa <handa@m17n.org>
3105 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3108 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
3110 * emacs-lisp/package.el (package-version-split)
3111 (package--version-first-nonzero, package-version-compare):
3113 (package-directory-list, package-load-all-descriptors)
3114 (package--built-in, package-activate, define-package)
3115 (package-installed-p, package-compute-transaction)
3116 (package-read-all-archive-contents)
3117 (package--add-to-archive-contents, package-buffer-info)
3118 (package-tar-file-info, package-list-packages-internal):
3119 Use version-to-list and version-list-*.
3121 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3122 Use version-to-list.
3123 (package-upload-buffer-internal): Use version-list-<=.
3125 2010-08-09 Kenichi Handa <handa@m17n.org>
3127 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3130 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
3132 * tutorial.el (tutorial--default-keys): C-d is now bound to
3133 delete-forward-char (Bug#6826).
3135 * mouse.el (mouse-drag-track): Remove accidentally-removed check
3136 for `double' value of mouse-1-click-follows-link (Bug#6807).
3138 2010-08-08 Johan Bockgård <bojohan@gnu.org>
3140 * replace.el (replace-highlight): Bind isearch-forward and
3141 isearch-error, ensuring that highlighting is updated if the user
3142 switches the search direction (Bug#6808).
3144 * isearch.el (isearch-lazy-highlight-forward): New var.
3145 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3146 (isearch-lazy-highlight-update): Use it.
3148 2010-08-08 Kenichi Handa <handa@m17n.org>
3150 * international/mule.el (define-charset): Store NAME as :base property.
3151 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3152 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3153 current priority. Force using the designation of the specific
3154 charset by adding `charset' text property. Improve the whole algorithm.
3156 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3158 * emulation/pc-select.el (pc-selection-mode-hook)
3159 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3160 (pc-selection-mode): Fix typos in docstrings.
3162 2010-08-08 Kenichi Handa <handa@m17n.org>
3164 * language/cyrillic.el: Don't add "microsoft-cp1251" to
3165 ctext-non-standard-encodings-alist here.
3167 * international/mule.el (ctext-non-standard-encodings-alist):
3168 Add "koi8-r" and "microsoft-cp1251".
3169 (ctext-standard-encodings): New variable.
3170 (ctext-non-standard-encodings-table): List only elements for
3171 non-standard encodings.
3172 (ctext-pre-write-conversion): Adjust for the above change.
3173 Check ctext-standard-encodings.
3175 * international/mule-conf.el (compound-text): Doc fix.
3176 (ctext-no-compositions): Doc fix.
3177 (compound-text-with-extensions): Doc fix.
3179 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3183 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3185 * progmodes/which-func.el (which-func-format): Split help-echo text
3186 into lines, like other mode-line tooltips.
3188 * server.el (server-start): When using TCP sockets, force IPv4
3189 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
3191 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3195 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3197 * term.el (term-delimiter-argument-list): Reflow docstring.
3198 (term-read-input-ring, term-write-input-ring, term-send-input)
3199 (term-bol, term-erase-in-display, serial-supported-or-barf):
3200 Fix typos in docstrings.
3202 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3204 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3206 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3208 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3210 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
3212 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3213 Fix typo in docstring (bug#6747).
3215 2010-08-08 Leo <sdl.web@gmail.com>
3217 * eshell/esh-io.el (eshell-get-target): Better detection of
3218 read-only file (Bug#6762).
3220 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3222 * align.el (align-default-spacing): Doc fix.
3223 (align-region-heuristic, align-regexp): Fix typos in docstrings.
3225 2010-08-08 Stephen Peters <speters@itasoftware.com>
3227 * calendar/icalendar.el
3228 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
3229 (icalendar--get-weekday-numbers): New.
3230 (icalendar--convert-recurring-to-diary): Handle multiple byday
3231 values in weekly rules. (Bug#6766)
3233 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
3235 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3236 (icalendar--create-uid, icalendar-export-region)
3237 (icalendar--parse-summary-and-rest): Code formatting.
3239 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3241 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3242 to italicize headers.
3243 (calc-highlight-selections-with-faces): New variable.
3244 (calc-selected-face, calc-nonselected-face): New faces.
3246 * calc/calccomp.el (math-comp-highlight-string): Use
3247 `calc-highlight-selections-with-faces' to determine how to highlight
3250 * calc/calc-sel.el (calc-show-selections): Change message to when
3251 using faces to highlight selections.
3253 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
3255 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3256 Add SQLite 3 keywords, functions and datatypes.
3257 (sql-interactive-mode): Remove `comint-process-echoes' set to t
3260 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
3262 * simple.el (select-active-regions): Move to keyboard.c.
3263 (deactivate-mark): Used saved-region-selection.
3264 (select-active-region): Function removed.
3265 (activate-mark, set-mark, push-mark-command)
3266 (handle-shift-selection): Don't call it.
3267 (keyboard-quit): Avoid adding the region to the window selection.
3269 * mouse.el (mouse-drag-track): Remove hacks to deal with old
3270 select-active-regions implementation.
3271 (mouse-yank-at-click): Doc fix.
3273 * cus-start.el: Add custom declaration for select-active-regions.
3275 2010-08-07 Eli Zaretskii <eliz@gnu.org>
3277 * simple.el (delete-forward-char): Doc fix.
3279 * tutorial.el (help-with-tutorial): Hack safe file-local variables
3280 after reading the tutorial.
3282 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
3284 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3285 for the case that a C style comment has its delimiters alone on
3286 their respective lines.
3288 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
3290 * net/tramp.el (tramp-handle-start-file-process): Set connection
3292 (tramp-process-sentinel): Use it for flushing the cache. We
3293 cannot do it via the process buffer, the buffer could be deleted
3294 already when running the sentinel.
3296 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3298 * comint.el (comint-mode): Make directory tracking functions
3299 functional on remote files. (Bug#6764)
3301 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
3303 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3305 2010-08-05 Eli Zaretskii <eliz@gnu.org>
3307 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3308 unexec.c => unexcoff.c.
3310 * emacs-lisp/authors.el (authors-fixed-entries): Rename
3311 unexec.c => unexcoff.c.
3313 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
3315 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3316 cache, not only file cache.
3317 (tramp-process-sentinel): New defun.
3318 (tramp-handle-start-file-process): Use it, in order to invalidate
3321 2010-08-03 Leo <sdl.web@gmail.com>
3323 * server.el (server-start): Simplify loop.
3325 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3327 * frame.el (screen-height, screen-width, set-screen-width)
3328 (set-screen-height): Remove ancient compatibility aliases.
3330 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3331 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
3333 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3334 that change current buffer.
3336 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3338 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3339 beginning of the string. Use `string-match-p'. (Bug#6765)
3341 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
3343 * cus-start.el (x-gtk-use-system-tooltips): New variable.
3345 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
3347 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3348 (package--builtins): Tweak descriptions.
3349 (package-print-package): Upcase descriptions if necessary.
3350 Show all built-in packages in font-lock-builtin-face.
3351 (package-list-packages-internal): Omit "emacs" package.
3352 Show status of built-in packages as "built-in".
3354 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
3356 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
3357 before killing to preserve the primary selection (Bug#6701).
3359 * term/x-win.el (x-select-text): Doc fix.
3361 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
3363 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3364 The following functions were modified or created:
3366 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3367 (objc-font-lock-extra-types):
3368 * progmodes/cc-mode.el (c-basic-common-init):
3369 * progmodes/cc-langs.el (c-make-mode-syntax-table)
3370 (c++-make-template-syntax-table)
3371 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3372 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3373 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3374 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3375 * progmodes/cc-fonts.el (c-make-inverse-face)
3376 (c-basic-matchers-after):
3377 * progmodes/cc-engine.el (c-forward-keyword-clause)
3378 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3379 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3380 (c-guess-continued-construct, c-guess-basic-syntax):
3382 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
3384 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3386 2010-07-31 Eli Zaretskii <eliz@gnu.org>
3388 * files.el (bidi-paragraph-direction): Define safe local values.
3390 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3391 language-info-alist. Remove outdated FIXME in a comment.
3393 2010-07-31 Alan Mackenzie <acm@muc.de>
3395 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3396 Auto-fill broken in C/C++ modes.
3398 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
3400 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3401 (menu-bar-showhide-tool-bar-menu-customize-disable)
3402 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3403 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3404 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3405 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3406 make a menu for Options => toolbar that can move it.
3408 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
3410 * emacs-lisp/package-x.el (package--make-rss-entry):
3411 (package-maint-add-news-item, package--update-news)
3412 (package-upload-buffer-internal): New arg ARCHIVE-URL.
3414 * emacs-lisp/package.el (package-archive-url): Rename from
3416 (package-install): Doc fix.
3417 (package-download-single, package-download-tar, package-install)
3418 (package-menu-view-commentary): Callers changed.
3420 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
3422 * net/tramp.el (tramp-handle-start-file-process): Check only for
3423 `remote-tty' process property.
3424 (tramp-open-shell): Don't check for tty.
3425 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3428 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3431 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
3433 * emacs-lisp/package.el (package-load-list, package-archives)
3434 (package-archive-contents, package-user-dir)
3435 (package-directory-list, package--builtins, package-alist)
3436 (package-activated-list, package-obsolete-alist): Mark as risky.
3438 2010-07-28 Phil Hagelberg <phil@evri.com>
3440 Add support for non-default package repositories.
3441 * emacs-lisp/package.el (package-archive-base): Var deleted.
3442 (package-archives): New variable.
3443 (package-archive-contents): Doc fix.
3444 (package-load-descriptor): Do nothing if descriptor file is missing.
3445 (package--write-file-no-coding): New function.
3446 (package-unpack-single): Use it.
3447 (package-archive-id): New function.
3448 (package-download-single, package-download-tar)
3449 (package-menu-view-commentary): Use it.
3450 (package-installed-p): Make second argument optional.
3451 (package-read-all-archive-contents): New function.
3452 (package-initialize): Use it.
3453 (package-read-archive-contents): Add ARCHIVE argument.
3454 (package--add-to-archive-contents): New function.
3455 (package-install): Don't call package-read-archive-contents.
3456 (package--download-one-archive): Store archive file in a
3457 subdirectory of package-user-dir.
3458 (package-menu-execute): Remove spurious line movement.
3460 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
3462 * cus-start.el (tool-bar-style): Add text-image-horiz.
3464 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3466 * progmodes/gud.el (gud-common-init): Check for remoteness of
3467 `file', and not of `default-directory'.
3469 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3471 * net/tramp.el (tramp-methods): Move hostname to the end in all
3472 ssh `tramp-login-args'.
3473 (tramp-verbose): Describe verbose level 9.
3474 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3475 (tramp-open-connection-setup-interactive-shell): Trace stty
3476 settings if `tramp-verbose' >= 9.
3477 (tramp-handle-start-file-process): Implement tty setting.
3478 (Bug#4604, Bug#6360)
3480 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3481 `tramp-verbose' to 9.
3483 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3485 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3486 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3487 Remove references to package `lisp-re' (bug#4369).
3489 2010-07-27 Tom Tromey <tromey@redhat.com>
3491 * progmodes/js.el (js-mode):
3492 * progmodes/make-mode.el (makefile-mode):
3493 * progmodes/simula.el (simula-mode):
3494 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3496 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3498 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3500 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3501 (display-time-world-buffer-name, display-time-world-mode-map):
3502 Fix typos in docstrings.
3504 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3506 * image-mode.el (image-display-size): New function.
3507 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3508 (image-mode-fit-frame): Use it (Bug#6639).
3510 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3512 * dired.el (dired-buffers-for-dir): Handle list values of
3513 dired-directory (Bug#6636).
3515 2010-07-26 Sam Steingold <sds@gnu.org>
3517 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3518 Do not call `x-get-selection' the second time, reuse the value.
3520 2010-07-26 Daiki Ueno <ueno@unixuser.org>
3522 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3523 which consist of control chars only. Suggested by Richard Stallman.
3525 2010-07-25 Daiki Ueno <ueno@unixuser.org>
3527 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3528 exists before passing an error to find-file-not-found-functions
3531 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
3533 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3534 Remove leading nil element, adjust values.
3535 (tetris-shapes, tetris-shape-scores):
3536 Change representation of shapes and remove some redundancy.
3537 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3538 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3539 Adjust for working with new representation of shapes.
3540 (tetris-shape-rotations): New function.
3541 (tetris-move-bottom, tetris-move-left, tetris-move-right)
3542 (tetris-rotate-prev, tetris-rotate-next):
3543 Adjust for working with the new version of tetris-test-shape.
3545 2010-07-23 Markus Triska <markus.triska@gmx.at>
3547 * progmodes/ps-mode.el: Use comint (bug#5954).
3548 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3549 (ps-mode-other-newline): Simplify.
3550 (ps-run-mode): Derive from comint-mode instead of
3551 fundamental-mode, yielding input history etc.
3552 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3553 (ps-run-send-string): Adapt for comint-mode.
3554 (ps-run-newline): Remove now unneeded function.
3556 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3558 * net/tramp.el (tramp-methods): Move hostname to the end in all
3559 plink `tramp-login-args'.
3561 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3563 * net/tramp.el (tramp-open-shell): New defun.
3564 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3567 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3569 * net/tramp.el (tramp-file-name-regexp-unified)
3570 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3571 not regard the volume letter as remote filename. (Bug#5447)
3573 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
3575 * custom.el (custom-declare-variable): Give a clearer error message
3576 when the docstring is missing (bug#6476).
3578 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
3580 * progmodes/sql.el: Version 2.4. Improved Login prompting.
3581 (sql-login-params): New widget definition.
3582 (sql-oracle-login-params, sql-mysql-login-params)
3583 (sql-solid-login-params, sql-sybase-login-params)
3584 (sql-informix-login-params, sql-ingres-login-params)
3585 (sql-ms-login-params, sql-postgres-login-params)
3586 (sql-interbase-login-params, sql-db2-login-params)
3587 (sql-linter-login-params): Use it.
3588 (sql-sqlite-login-params): Use it; Define "database" parameter as
3590 (sql-sqlite-program): Change to "sqlite3".
3591 (sql-comint-sqlite): Make sure database name is complete.
3592 (sql-for-each-login): New function.
3593 (sql-connect, sql-save-connection): Use it.
3594 (sql-get-login-ext): New function.
3595 (sql-get-login): Use it.
3596 (sql-make-alternate-buffer-name): Handle :file parameters.
3598 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
3600 * dired.el (dired-no-confirm): Document value t and fix defcustom to
3601 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
3603 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3605 * dired.el (dired-mode-map): Use command remapping (bug#6632).
3607 2010-07-22 Lawrence Mitchell <wence@gmx.li>
3609 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3611 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
3613 * net/tramp.el (tramp-get-ls-command)
3614 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3617 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
3619 * progmodes/sql.el: Version 2.3.
3620 (sql-connection-alist): Changed keys from symbols to strings;
3621 enhanced the widget definition.
3622 (sql-mode-menu): Added submenu to select connections.
3623 (sql-interactive-mode-menu): Added "Save Connection" item.
3624 (sql-add-product): Fixed menu item.
3625 (sql-get-product-feature): Improved error handling.
3626 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3627 (sql-make-alternate-buffer-name): Simplified.
3628 (sql-product-interactive): Handle missing product.
3629 (sql-connect): Support string keys, minor improvements.
3630 (sql-save-connection): New function.
3631 (sql-connection-menu-filter): New function.
3633 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3635 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3636 (tramp-open-connection-setup-interactive-shell): Apply
3637 workaround for IRIX64 bug. Move argument of last
3638 `tramp-send-command' where it belongs to.
3640 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3642 * net/tramp.el (tramp-perl-file-attributes)
3643 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3644 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3645 front of `login-args'.
3647 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
3649 * time.el (display-time-world-mode): Define with `define-derived-mode'.
3650 Set `show-trailing-whitespace' to nil.
3651 (display-time-world-display): Simplify.
3653 2010-07-18 Alan Mackenzie <acm@muc.de>
3655 Enhance `c-file-style' in file/directory local variables.
3656 * progmodes/cc-mode.el (c-count-cfss): New function.
3657 (c-before-hack-hook): Call `c-set-style' differently according to
3658 whether c-file-style was set in file or directory local
3661 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
3663 * progmodes/sql.el: Version 2.2.
3664 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3665 defcustom :safe keyword rather than putting safe-local-variable
3667 (sql-password): Use defcustom :risky keyword rather than putting
3668 risky-local-variable property.
3669 (sql-oracle-login-params, sql-sqlite-login-params)
3670 (sql-solid-login-params, sql-sybase-login-params)
3671 (sql-informix-login-params, sql-ingres-login-params)
3672 (sql-ms-login-params, sql-postgres-login-params)
3673 (sql-interbase-login-params, sql-db2-login-params)
3674 (sql-linter-login-params): Add `port' option.
3675 (sql-get-product-feature): Added NO-INDIRECT parameter.
3676 (sql-comint-oracle, sql-comint-sybase)
3677 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3678 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3679 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3680 (sql-comint-linter): Renamed sql-connect-* functions to
3682 (sql-product-alist, sql-mode-menu): Renamed as above and
3683 :sqli-connect-func to :sqli-comint-func.
3684 (sql-connection): New variable.
3685 (sql-interactive-mode): Set it.
3686 (sql-connection-alist): New variable.
3687 (sql-connect): New function.
3688 (sql--alt-buffer-part, sql--alt-if-not-empty)
3689 (sql-make-alternate-buffer-name): Improved alternative buffer name.
3691 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3693 * image-mode.el (image-bookmark-make-record): Do not set context
3694 in an image (Bug#6650).
3696 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3698 * simple.el (select-active-region): New function.
3699 (push-mark-command, set-mark, activate-mark)
3700 (handle-shift-selection): Use it.
3701 (deactivate-mark): Don't check for size of region.
3703 * mouse.el (mouse-drag-track): Use select-active-region.
3705 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
3707 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3710 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3712 * term/x-win.el (x-select-enable-primary): Change default to nil.
3713 (x-select-enable-clipboard): Add :version keyword.
3715 * mouse.el (mouse-drag-copy-region):
3716 * simple.el (select-active-regions): Likewise.
3718 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
3720 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3721 (vc-coding-system-for-diff): Use it to decide whether to inherit
3722 from the file the EOL format for reading the diffs of that file.
3725 2010-07-16 Eli Zaretskii <eliz@gnu.org>
3727 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3728 unibyte, so compressed attachments are not compressed again.
3730 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
3732 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3733 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3734 (tramp-find-shell): Simplify setting connection property.
3735 (tramp-get-ls-command): Make test for "--color=never" stronger.
3737 2010-07-15 Simon South <ssouth@member.fsf.org>
3739 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3740 blocks within record declarations (i.e. variant parts) correctly.
3742 2010-07-15 Simon South <ssouth@member.fsf.org>
3744 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3745 over literal tokens when parsing so newlines aren't "absorbed" by
3746 single-line comments. Corrects the indentation of case blocks
3747 that have a comment on the first line.
3749 2010-07-14 Karl Fogel <kfogel@red-bean.com>
3751 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3752 by Drew Adams (Bug#5504).
3754 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
3756 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3757 now that Unicode is used (Bug#6594).
3759 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
3761 * term/x-win.el (x-select-enable-clipboard): Default to t.
3762 (x-initialize-window-system): Don't overwrite Paste menu item.
3764 * simple.el (select-active-regions): Default to t.
3765 (push-mark-command): Don't overwrite primary with empty string.
3767 * mouse.el: Bind mouse-2 to mouse-yank-primary.
3768 (mouse-drag-copy-region): Default to nil.
3770 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3771 Cut/Copy/Paste menu bar items.
3773 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3775 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3776 Patch applied by Karl Fogel.
3778 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3779 and `bookmark-current-buffer' if they have been already set in
3780 another buffer (e.g gnus-art).
3782 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3783 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3785 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3787 * bookmark.el (bookmark-make-record-default): Allow unneeded
3788 information to be omitted from the record.
3790 Adjust declarations and calls:
3792 * info.el (bookmark-make-record-default): Adjust declaration.
3793 (Info-bookmark-make-record): Adjust call.
3795 * woman.el (bookmark-make-record-default): Adjust declaration.
3796 (woman-bookmark-make-record): Adjust call.
3798 * man.el (bookmark-make-record-default): Adjust declaration.
3799 (Man-bookmark-make-record): Adjust call.
3801 * image-mode.el (bookmark-make-record-default): Adjust declaration.
3803 * doc-view.el (bookmark-make-record-default): Adjust declaration.
3805 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3807 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3808 This is also from Thierry Volpiatto's patch in bug #6444. However,
3809 because it was extraneous to the functional change in that patch,
3810 and causes a re-indendation, I am committing it separately.
3812 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3814 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3815 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3816 Patch applied by Karl Fogel (Bug#6444).
3818 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
3820 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3822 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
3824 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3825 Dempsky; bug#5084). Remove incorrect binding for S-tab.
3826 (ns-alternatives-map): Change S-tab binding to backtab
3829 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3832 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
3834 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3837 * language/tv-util.el (tai-viet-re): Remove format.
3839 2010-07-12 Kenichi Handa <handa@m17n.org>
3841 * language/hebrew.el: Remove no-byte-compile declaration.
3842 Change coding: tag to utf-8. Register hebrew-shape-gstring in
3843 composition-function-table for 3-character looking back.
3844 (hebrew-font-get-precomposed): New function.
3845 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3847 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
3849 * mouse.el (mouse-drag-track): Handle select-active-regions
3852 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
3854 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3855 empty argument to gvfs-copy.
3857 2010-07-10 Glenn Morris <rgm@gnu.org>
3859 * calendar/calendar.el (calendar-week-end-day): New function.
3860 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3861 Respect calendar-week-start-day. (Bug#6606)
3862 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3863 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3864 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3865 respect calendar-week-start-day.
3867 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
3869 * simple.el (use-region-p): Doc fix (Bug#6607).
3871 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
3873 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3874 regexps for cucumber and ruby.
3876 2010-07-08 Daiki Ueno <ueno@unixuser.org>
3878 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3879 (epa-file-insert-file-contents): Hack to prevent
3880 find-file from opening empty buffer when decryption failed
3883 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
3885 * textmodes/ispell.el (ispell-alternate-dictionary):
3886 Use file-readable-p.
3887 Return nil if no word-list is found at default locations.
3888 (ispell-complete-word-dict): Default to nil.
3889 (ispell-command-loop): Use 'word-list' when using lookup-words.
3890 (lookup-words): Use ispell-complete-word-dict or
3891 ispell-alternate-dictionary. Check for word-list availability
3892 and handle errors if needed with better messages (Bug#6539).
3893 (ispell-complete-word): Use ispell-complete-word-dict or
3894 ispell-alternate-dictionary.
3896 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
3898 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3899 builtins (BufferError, BytesWarning, WindowsError; callables
3900 bin, bytearray, bytes, format, memoryview, next, print; __package__).
3902 2010-07-07 Glenn Morris <rgm@gnu.org>
3904 * play/zone.el (top-level): Do not require timer, tabify, or cl.
3905 (zone-shift-left): Ignore intangibility, and any errors from
3907 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
3908 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3909 deleting, and copying text properties.
3910 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3911 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3912 to point-max is hard.
3913 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3914 (zone-fill-out-screen): Ignore intangibility.
3916 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
3918 * menu-bar.el (menu-bar-mode):
3919 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3922 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3923 word/line selection (Bug#6565).
3925 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
3927 * net/dbus.el (dbus-send-signal): Declare function.
3929 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
3931 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3932 (dbus-register-property): New optional argument EMITS-SIGNAL.
3933 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3935 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
3937 * mouse.el (mouse-drag-overlay): Variable deleted.
3938 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3939 (mouse--remap-link-click-p): New function.
3940 (mouse-drag-track): Handle dragging by using temporary Transient
3941 Mark mode, instead of a special overlay.
3942 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3945 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3948 2010-07-02 Juri Linkov <juri@jurta.org>
3950 * autoinsert.el (auto-insert-alist): Fix readability
3951 by using dotted pair notation for lambda.
3953 2010-07-02 Juri Linkov <juri@jurta.org>
3955 * faces.el (read-face-name): Rename arg `string-describing-default'
3956 to `default'. Doc fix. Display the default value in quotes
3957 in the prompt. With empty input, return the `default' arg,
3958 unless the default value is a string (in which case return nil).
3959 (describe-face): Replace the string `default' arg of `read-face-name'
3960 with the symbol `default'.
3962 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
3964 * emulation/viper-cmd.el (viper-delete-backward-char)
3965 (viper-del-backward-char-in-insert)
3966 (viper-del-backward-char-in-replace, viper-change)
3967 (viper-backward-indent): Replace delete-backward-char with
3968 delete-char (Bug#6552).
3970 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
3972 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3974 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3976 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3977 argument passed to frame-creation-function (Bug#5378).
3979 * faces.el (x-handle-named-frame-geometry)
3980 (x-handle-reverse-video, x-create-frame-with-faces)
3981 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3982 separately consult default-frame-alist. It is now passed as the
3985 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
3987 * startup.el (command-line): Don't call tool-bar-setup in a
3990 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3992 * ruler-mode.el (ruler--save-header-line-format): New fun.
3993 (ruler-mode): Use it as a setter function, so as not to overwrite
3994 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3996 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
3998 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
3999 (vc-root-diff, vc-print-root-log, vc-log-incoming)
4000 (vc-log-outgoing): Use it.
4001 (vc-diff-internal): Set diff-vc-backend.
4003 * vc/diff-mode.el (diff-vc-backend): New var.
4005 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
4007 * dynamic-setting.el (font-setting-change-default-font): Remove
4010 2010-06-28 Kenichi Handa <handa@m17n.org>
4012 * international/quail.el (quail-insert-kbd-layout): Fix the
4013 showing of untranslated characters.
4015 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
4017 * simple.el (delete-active-region): New option.
4018 (delete-backward-char): Implement in Lisp.
4019 (delete-forward-char): New command.
4021 * mouse.el (mouse-region-delete-keys): Deleted.
4022 (mouse-show-mark): Simplify.
4024 * bindings.el (global-map): Bind delete and DEL, the former to
4025 delete-forward-char.
4027 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
4029 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4030 (ruby-mode): Bind indent-line-function (Bug#5119).
4032 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4034 * startup.el (command-line): Recognize "0" X resource value.
4036 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4038 * startup.el (command-line): Use X resources to set the value of
4039 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4041 * menu-bar.el (menu-bar-mode):
4042 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4043 Set init-value to t.
4045 * frame.el (frame-notice-user-settings): Don't change
4046 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4047 vice versa (Bug#2249).
4049 2010-06-26 Eli Zaretskii <eliz@gnu.org>
4051 * w32-fns.el (w32-convert-standard-filename): Doc fix.
4053 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4055 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4056 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4058 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4059 default directories are expanded (Bug#6143).
4061 2010-06-24 Juri Linkov <juri@jurta.org>
4063 * minibuffer.el (completions-format): Change default from nil to
4064 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
4066 2010-06-24 Juri Linkov <juri@jurta.org>
4068 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4069 buffer-locally to lambda that re-runs the vc diff command.
4072 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
4074 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4075 echo area is in use (Bug#3412).
4077 2010-06-22 Glenn Morris <rgm@gnu.org>
4079 * textmodes/texinfmt.el (texinfo-format-region)
4080 (texinfo-raise-lower-sections, texinfo-format-separate-node)
4081 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4082 (texinfo-format-option, texinfo-noindent):
4083 Use line-beginning-position and line-end-position.
4085 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4086 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4087 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4090 2010-06-21 Karl Fogel <kfogel@red-bean.com>
4092 * play/zone.el (zone-fall-through-ws): Fix next-line ->
4093 forward-line fallout.
4095 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
4097 * mouse.el (mouse-appearance-menu): Add docstring.
4099 * help.el (describe-key): Print up-event using key-description.
4101 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
4103 * net/zeroconf.el (zeroconf-resolve-service)
4104 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4105 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4107 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
4109 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4111 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
4113 Avoid displaying files with a nil state in vc-dir.
4114 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4115 cases that cause insertion.
4116 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4119 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4121 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4123 2010-06-29 Leo <sdl.web@gmail.com>
4125 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
4127 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4129 * generic-x.el (bat-generic-mode): Fix regexp for command line
4130 switches (Bug#5719).
4132 2010-06-27 Masatake YAMATO <yamato@redhat.com>
4134 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4135 of nconc to avoid pure storage error (Bug#6239).
4137 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
4139 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4140 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4141 bindings of bookmark-automatically-show-annotations (Bug#6515).
4143 2010-06-25 Eli Zaretskii <eliz@gnu.org>
4145 * arc-mode.el (archive-zip-extract): Don't quote the file name on
4146 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
4148 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
4150 * comint.el (make-comint, make-comint-in-buffer): Mention return
4151 value in the docstrings. (Bug#6498)
4153 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
4155 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4156 since it is not present when using some non-default switches.
4158 2010-06-23 Karl Fogel <kfogel@red-bean.com>
4160 * simple.el (compose-mail): Fix doc string to refer to
4161 `compose-mail-user-agent-warnings', instead of to the
4162 nonexistent `compose-mail-check-user-agent'.
4164 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
4166 Fix an indentation bug:
4168 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4169 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4172 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4173 (c-clear->-pair-props-if-match-before): now return t when they've
4174 cleared properties, nil otherwise.
4175 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4176 by taking account of the existing value.
4178 * progmodes/cc-defs.el
4179 (c-clear-char-property-with-value-function): Fix this to clear the
4180 property rather than overwriting it with nil.
4182 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
4184 * emacs-lisp/package.el (package-print-package): Add link to
4185 package description via describe-package.
4186 (describe-package-1): List package requirements. Add button to
4187 perform installation.
4188 (package-menu-describe-package): New command.
4190 * help-mode.el (help-package): New button type.
4192 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
4194 * emacs-lisp/package.el: Move package-list-packages binding to
4196 (describe-package, describe-package-1, package--dir): New funs.
4197 (package-activate-1): Use package--dir.
4199 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4201 * help-mode.el (help-package-def): New button type.
4203 * menu-bar.el: Move package-list-packages binding here from
4206 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
4208 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
4210 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * emacs-lisp/edebug.el (edebug-read-list):
4213 Phase out old-style backquotes.
4215 2010-06-17 Juri Linkov <juri@jurta.org>
4217 * help-mode.el (help-mode): Set buffer-local variable
4218 revert-buffer-function to help-mode-revert-buffer.
4219 (help-mode-revert-buffer): New function.
4221 * info.el (Info-revert-find-node): Check for major-mode Info-mode
4222 before popping to "*info*" (like in other Info functions).
4223 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
4224 old-history-forward. Pop to old-buffer-name or "*info*" to
4225 recreate the killed buffer. Set Info-history-forward from
4226 old-history-forward.
4227 (Info-breadcrumbs-depth): Add :group and :version.
4229 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
4231 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4233 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
4235 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4236 for languages like Portuguese with pt_{BR,PT} and no plain pt.
4238 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
4240 * emacs-lisp/package.el (package-menu-mode-map):
4241 Move initialization into declaration.
4243 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4245 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
4247 * emacs-lisp/package.el (package-archive-base): Point to
4249 (package-enable, package-load-list): New defcustoms.
4250 (package-user-dir, package-directory-list): Turn into defcustoms.
4251 Don't include package-user-dir in package-directory-list.
4252 (package--builtins-base): Don't include Emacs as a "package".
4253 (package-subdirectory-regexp): New var.
4254 (package-load-all-descriptors, package-compute-transaction)
4255 (package-download-transaction): Obey package-load-list.
4256 (package-activate-1): Rename from package-do-activate.
4257 (package-list-packages-internal): Check package-load-list.
4258 (package-load-descriptor, package-generate-autoloads)
4259 (package-unpack, package-unpack-single)
4260 (package--read-archive-file, package-delete): Use
4263 * emacs-lisp/package-x.el: New file. Package uploading
4264 functionality split out from package.el.
4266 * startup.el (command-line): Load packages after reading init file.
4268 2010-06-17 Tom Tromey <tromey@redhat.com>
4270 * emacs-lisp/package.el: New file.
4272 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4274 Fix vc-annotate for renamed files when using Git.
4275 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4276 ls-files. Doe not pass the object as a file name to cat-file, it
4278 (vc-git-annotate-command): Pass the file name using -- to avoid
4279 ambiguity with the revision.
4280 (vc-git-previous-revision): Pass a relative file name.
4282 2010-06-22 Glenn Morris <rgm@gnu.org>
4284 * progmodes/js.el (js-mode-map): Use standard capitalization and
4285 ellipses for menu entries.
4287 * wid-edit.el (widget-complete): Doc fix.
4289 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
4291 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4293 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4295 Fix annotating other revisions for renamed files in vc-annotate.
4296 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4297 VC backend. Use it when non-nil.
4298 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4301 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4302 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4303 Do not pass the file name to the 'previous-revision call when we
4304 don't want a file diff. (Bug#6489)
4306 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4308 Fix finding revisions for renamed files in vc-annotate.
4309 * vc/vc.el (vc-find-revision): Add an optional argument for
4310 the VC backend. Use it when non-nil.
4311 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4312 backend to vc-find-revision. (Bug#6487)
4314 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4316 Fix reading file names in Git annotate buffers.
4317 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4318 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
4320 2010-06-20 Alan Mackenzie <acm@muc.de>
4322 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4323 in file local variables, set it first.
4325 2010-06-19 Glenn Morris <rgm@gnu.org>
4327 * descr-text.el (describe-char-unicode-data): Insert separating
4328 space when needed. (Bug#6422)
4330 * progmodes/idlwave.el (idlwave-action-and-binding):
4331 Fix typo in 2009-12-03 change. (Bug#6450)
4333 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4336 handling for `lambda' (misunderstanding).
4338 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
4340 * calc/calc-poly.el (math-accum-factors): Make sure that
4341 constants aren't distributed after they are factored out.
4343 2010-06-16 Juri Linkov <juri@jurta.org>
4345 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4346 `list-colors-print'. (Bug#6332)
4348 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4350 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4353 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
4355 * font-lock.el (font-lock-major-mode): Rename from
4356 font-lock-mode-major-mode to distinguish it from
4357 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4358 (font-lock-set-defaults):
4359 * font-core.el (font-lock-default-function): Adjust users.
4360 (font-lock-mode): Don't set it at all.
4362 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4366 2010-06-16 Glenn Morris <rgm@gnu.org>
4368 * calendar/appt.el (appt-time-msg-list): Doc fix.
4369 (appt-check): Let-bind appt-warn-time.
4370 (appt-add): Make the 3rd argument optional.
4371 Simplify argument names. Doc fix. Check for integer WARNTIME.
4372 Only add WARNTIME to the output list if non-nil.
4374 2010-06-16 Ivan Kanis <apple@kanis.eu>
4376 * calendar/appt.el (appt-check): Let the 3rd element of
4377 appt-time-msg-list specify the warning time.
4378 (appt-add): Add new argument with the warning time. (Bug#5176)
4380 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4382 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4383 older than version 1.6. (Bug#6361)
4385 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
4387 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4388 used by cl-do-arglist. (Bug#6408)
4390 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
4392 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4393 portuguese casechars/not-casechars for missing 'çÇ'.
4394 Suggested by Rolando Pereira (bug#6434).
4396 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
4398 * facemenu.el (list-colors-sort): Doc fix.
4400 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4402 * progmodes/sql.el (sql-connect-mysql): Fix typo.
4404 2010-06-14 Juri Linkov <juri@jurta.org>
4406 Add sort option `list-colors-sort'. (Bug#6332)
4407 * facemenu.el (color-rgb-to-hsv): New function.
4408 (list-colors-sort): New defcustom.
4409 (list-colors-sort-key): New function.
4410 (list-colors-display): Doc fix. Sort list according to the option
4412 (list-colors-print): Add HSV values to `help-echo' property of
4415 2010-06-14 Juri Linkov <juri@jurta.org>
4417 * compare-w.el: Move to the "vc" subdirectory.
4419 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * image-mode.el (image-mode-map): Remap left-char and right-char.
4423 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4425 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
4427 * term/common-win.el (x-colors): Add all the color names defined
4428 in rgb.txt (Bug#6332).
4430 * facemenu.el (list-colors-print): Don't print extra names if it
4431 will overflow the window width.
4433 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4436 2010-06-12 Eli Zaretskii <eliz@gnu.org>
4438 * files.el (make-directory): Doc fix (bug#6396).
4440 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
4442 * net/tramp.el (tramp-remote-process-environment): Protect version
4443 string by apostroph.
4444 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4446 (tramp-file-name-for-operation): Add `call-process-region'.
4447 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4449 * net/tramp-compat.el (top): Do not autoload
4450 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4451 only when `start-file-process' is not bound.
4452 (tramp-advice-file-expand-wildcards): Do not use
4453 `tramp-handle-file-remote-p'.
4454 (tramp-compat-make-temp-file): Handle the case, that
4455 `make-temp-file' has no third argument EXTENSION.
4457 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
4459 * makefile.w32-in (WINS_BASIC): Include new directory vc.
4461 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4463 2010-06-11 Juri Linkov <juri@jurta.org>
4465 * finder.el (finder-known-keywords): Add keyword "vc"
4466 for version control.
4468 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4469 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4470 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4471 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4473 2010-06-11 Juri Linkov <juri@jurta.org>
4475 Move version control related files to the "vc" subdirectory.
4476 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4477 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4478 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4479 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4480 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4481 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4482 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4483 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4484 Move files to the "vc" subdirectory.
4486 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4488 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4491 2010-06-11 Stephen Eglen <stephen@gnu.org>
4493 * shell.el: Bind `shell-resync-dirs' to M-RET.
4495 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4497 * notifications.el: Move file from lisp/net, because it is
4498 supposed to talk locally to the user.
4500 2010-06-10 Julien Danjou <julien@danjou.info>
4502 * net/notifications.el (notifications-on-action-signal)
4503 (notifications-on-closed-signal): Pass notification id as first
4504 argument to the callback functions. Add docstrings.
4505 (notifications-notify): Fix docstring.
4507 2010-06-10 Glenn Morris <rgm@gnu.org>
4509 * emacs-lisp/authors.el (authors-ignored-files)
4510 (authors-valid-file-names): Add some files.
4512 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4514 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4515 merge conflict, giving preference to the emacs-23 version of the code.
4517 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * emacs-lisp/advice.el (ad-compile-function):
4520 Define warning-suppress-types before we let-bind it (bug#6275).
4522 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4523 declare it, make it buffer-local and permanent-local (bug#6324).
4524 (vc-resynch-window): Adjust name.
4525 * vc-hooks.el (vc-find-file-hook): Adjust name.
4527 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
4529 * net/notifications.el (notifications-notify): Fix docstring.
4531 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4533 Update to Unicode 6.0.0 beta.
4534 * international/charprop.el: Update copyright.
4535 * international/mule-cmds.el (ucs-names): Update character ranges.
4536 * international/uni-bidi.el:
4537 * international/uni-category.el:
4538 * international/uni-combining.el:
4539 * international/uni-comment.el:
4540 * international/uni-decimal.el:
4541 * international/uni-decomposition.el:
4542 * international/uni-digit.el:
4543 * international/uni-lowercase.el:
4544 * international/uni-mirrored.el:
4545 * international/uni-name.el:
4546 * international/uni-numeric.el:
4547 * international/uni-old-name.el:
4548 * international/uni-titlecase.el:
4549 * international/uni-uppercase.el: Regenerate.
4551 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4553 * emacs-lisp/smie.el (comment-string-strip): Declare function.
4554 (smie-precs-precedence-table): Fix typo in docstring.
4556 * vc-mtn.el (log-edit-extract-headers): Declare function.
4558 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4560 * net/notifications.el (dbus-register-signal): Declare function.
4561 (notifications-notify): Fix typos and reflow docstring.
4563 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4565 Improve VC create/retrieve tag/branch.
4566 * vc.el (vc-create-tag): Do not read the directory name for VCs
4567 with repository revision granularity. Adjust the tag/branch
4568 prompt. Reset VC properties.
4569 (vc-retrieve-tag): Do not read the directory name for VCs
4570 with repository revision granularity. Reset VC properties.
4572 2010-06-09 Julien Danjou <julien@danjou.info>
4574 * net/notifications.el: New file.
4576 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4578 Add optional support for resetting VC properties.
4579 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4580 call vc-file-clearprops when true.
4581 (vc-resynch-buffer): Add new optional argument, pass it down.
4582 (vc-resynch-buffers-in-directory): Likewise.
4584 Improve support for special markup in the VC commit message.
4585 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4586 * vc-hg.el (vc-hg-checkin): Add support for Date:.
4587 * vc-git.el (vc-git-checkin):
4588 * vc-bzr.el (vc-bzr-checkin): Likewise.
4590 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4593 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4595 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
4597 * iimage.el: Remove images as soon as the underlying text is modified.
4598 (iimage-modification-hook): New function.
4599 (iimage-mode-buffer): Use it.
4601 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4603 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4604 smie-indent-offset-after. Add :prev case. Make a bit more generic.
4605 (smie-indent-virtual): Remove `virtual' arg. Update callers.
4606 (smie-indent-keyword): Add handling of open-paren keywords.
4607 (smie-indent-comment-continue): Don't assume comment-continue.
4609 2010-06-07 Martin Rudalics <rudalics@gmx.at>
4611 * window.el (pop-to-buffer): Remove the conditional that
4612 compares new-window and old-window, so it will reselect
4613 the selected window unconditionally.
4614 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4616 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * emacs-lisp/smie.el (smie-indent-offset-after)
4619 (smie-indent-forward-token, smie-indent-backward-token): New functions.
4620 (smie-indent-after-keyword): Use them.
4621 (smie-indent-fixindent): Only applies to the indentation of the BOL.
4622 (smie-indent-keyword): Tweak the black magic.
4623 (smie-indent-comment-continue): Strip comment-continue before use.
4624 (smie-indent-functions): Indent comments before keywords.
4626 2010-06-06 Juri Linkov <juri@jurta.org>
4628 * isearch.el (isearch-lazy-highlight-search): Fix looping
4629 by checking for empty match. This syncs this loop with the
4630 similar loop in `isearch-search'. (Bug#6362)
4632 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
4634 * net/dbus.el (dbus-register-method): Declare function.
4635 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4636 (dbus-introspect): Doc fix.
4637 (dbus-event-bus-name, dbus-introspect-get-interface)
4638 (dbus-introspect-get-argument): Reflow docstrings.
4640 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
4642 vc-log-incoming/vc-log-outgoing fixes for Git.
4643 * vc-git.el (vc-git-log-view-mode): Fix font lock for
4644 incoming/outgoing logs.
4645 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4646 instead of vc-git-compute-remote.
4647 (vc-git-compute-remote): Remove.
4649 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
4651 * term/common-win.el (x-colors): Add "dark green" and "dark
4652 turquoise" (Bug#6332).
4654 2010-06-04 Juri Linkov <juri@jurta.org>
4656 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4657 Instead of setting `replace' to t and replacing the same string
4658 with itself, don't do certain actions when
4659 kill-do-not-save-duplicates is non-nil and string is equal to car
4660 of kill-ring: don't call menu-bar-update-yank-menu, don't push
4661 interprogram-paste strings to kill-ring, and don't push the input
4662 argument `string' to kill-ring.
4663 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4665 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4667 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4669 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
4671 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4672 (tramp-gvfs-handler-mounted-unmounted)
4673 (tramp-gvfs-connection-mounted-p): Handle default-location.
4675 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4676 move files to trash.
4678 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4680 * international/mule-cmds.el (nonascii-insert-offset)
4681 (nonascii-translation-table): Add obsolescence information.
4683 * international/mule.el (make-translation-table-from-vector): Doc fix.
4685 2010-06-03 Glenn Morris <rgm@gnu.org>
4687 * desktop.el (desktop-clear-preserve-buffers):
4688 Add "*Warnings*" buffer. (Bug#6336)
4690 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
4692 vc-log-incoming/vc-log-outgoing improvements for Git.
4693 * vc-git.el (vc-git-log-outgoing): Use the same format as the
4695 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
4697 Add bindings for vc-log-incoming and vc-log-outgoing.
4698 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4699 and vc-log-outgoing.
4700 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4701 and vc-log-outgoing.
4703 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4705 * net/rcirc.el (rcirc-sort-nicknames): Remove.
4706 (rcirc-handler-366): Always sort nicknames.
4708 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
4710 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4712 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4714 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4716 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * net/rcirc.el (rcirc-sort-nicknames): Change default.
4719 (rcirc-sort-nicknames-join): Avoid setq.
4721 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4723 * net/rcirc.el (rcirc-sort-nicknames): New custom.
4724 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4725 (rcirc-handler-366): Use them.
4727 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4729 Split smie-indent-calculate into more manageable chunks.
4730 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4731 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4732 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4733 (smie-indent-exps): Extract from smie-indent-calculate.
4734 (smie-indent-functions): New var.
4735 (smie-indent-functions): Use them.
4737 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4740 (smie-indent-calculate): Simplify and cleanup.
4742 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
4744 * net/tramp-gvfs.el (top): Require url-util.
4745 (tramp-gvfs-mount-point): Remove.
4746 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4748 (with-tramp-dbus-call-method): Format trace message.
4749 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4750 Implement backup call, when operation on local files fails.
4751 Use progress reporter. Flush properties of changed files.
4752 (tramp-gvfs-handle-make-directory): Make more traces.
4753 (tramp-gvfs-url-file-name): Hexify file name in url.
4754 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4755 into account for the resulting file name.
4756 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4757 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
4758 (tramp-gvfs-handler-mounted-unmounted)
4759 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4760 attribute "default_location". Set "prefix" property.
4761 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4762 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4763 exists. Raise an error, if not (due to a corresponding answer
4764 "no" in interactive questions, for example).
4766 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
4768 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4770 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
4772 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4775 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
4777 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4778 * vc-git.el (vc-git-compute-remote): New function.
4779 (vc-git-log-outgoing): Use it instead of hard coding a value.
4780 (vc-git-log-incoming): New function.
4782 Improve state updating for VC tag commands.
4783 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4784 to update the state of all buffers in the directory.
4786 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4788 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4790 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4791 `file-directory-p' to the filename part rather than to the whole text.
4793 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4797 2010-05-31 Drew Adams <drew.adams@oracle.com>
4799 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4801 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
4803 * subr.el (momentary-string-display): Just use read-event to read
4804 the exit event (Bug#6238).
4806 2010-05-30 Eli Zaretskii <eliz@gnu.org>
4808 * international/mule.el (define-coding-system): Doc fix (bug#6313).
4810 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4812 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4813 Suggested by Eli Zaretskii <eliz@gnu.org>.
4815 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4817 * minibuffer.el (completion-file-name-table): Don't return a boundary
4818 past the end of `string' (bug#6299).
4819 (completion--file-name-table): Delegate to completion-file-name-table
4820 for the `boundaries' case.
4822 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4824 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4827 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4828 `path-separator', but maintain compatibility with Emacs 20.2.
4830 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4832 * server.el (server-process-filter): Receive parent-id argument
4834 (server-create-window-system-frame): New arg. Pass parent-id as
4837 2010-05-29 Eli Zaretskii <eliz@gnu.org>
4839 Bidi-sensitive word movement with arrow keys.
4840 * subr.el (right-arrow-command, left-arrow-command): Move to
4843 * bindings.el (right-char, left-char): Move from subr.el and
4844 rename from right-arrow-command and left-arrow-command.
4845 (right-word, left-word): New functions.
4846 (global-map) <right>: Bind to right-char.
4847 (global-map) <left>: Bind to left-char.
4848 (global-map) <C-right>: Bind to right-word.
4849 (global-map) <C-left>: Bind to left-word.
4851 * ls-lisp.el (ls-lisp-classify-file): New function.
4852 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4853 (ls-lisp-classify): Call ls-lisp-classify-file.
4854 (insert-directory): Remove blanks from switches.
4856 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4858 * ansi-color.el: Delete unused escape sequences (Bug#6085).
4859 (ansi-color-drop-regexp): New constant.
4860 (ansi-color-apply, ansi-color-filter-region)
4861 (ansi-color-apply-on-region): Delete unrecognized control sequences.
4862 (ansi-color-apply): Build string list before calling concat.
4864 2010-05-28 Juri Linkov <juri@jurta.org>
4866 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4867 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4870 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4872 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4873 to ignored backtrace functions.
4874 (with-progress-reporter): Expand docstring.
4875 (tramp-handle-delete-file): Implement TRASH argument.
4876 (tramp-get-remote-trash): New defun.
4878 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4880 * net/tramp-compat.el (tramp-compat-delete-file): Use
4881 `symbol-value' for backward compatibility.
4883 * net/tramp.el (tramp-handle-make-symbolic-link)
4885 (tramp-do-copy-or-rename-file-via-buffer)
4886 (tramp-do-copy-or-rename-file-directly)
4887 (tramp-do-copy-or-rename-file-out-of-band)
4888 (tramp-handle-process-file, tramp-handle-call-process-region)
4889 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4890 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4891 (tramp-delete-temp-file-function): Use `delete-file' instead
4892 of `tramp-compat-delete-file'.
4894 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4895 (tramp-fish-handle-make-symbolic-link)
4896 (tramp-fish-handle-process-file): Use `delete-file' instead
4897 of `tramp-compat-delete-file'.
4899 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4900 `delete-file' instead of `tramp-compat-delete-file'.
4902 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4903 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4904 `tramp-compat-delete-file'.
4906 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4907 `delete-file' instead of `tramp-compat-delete-file'.
4909 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4910 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4911 (tramp-smb-handle-write-region): Use `delete-file' instead of
4912 `tramp-compat-delete-file'.
4913 (tramp-smb-handle-delete-directory): Use 'trash as arg.
4915 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4917 * dired.el (dired-delete-file): New arg TRASH.
4918 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
4919 (dired-do-flagged-delete, dired-do-delete): Use trash.
4921 * speedbar.el (speedbar-item-delete): Allow trashing.
4923 * files.el (delete-directory): New arg TRASH.
4925 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4926 (ange-ftp-rename-remote-to-remote)
4927 (ange-ftp-rename-local-to-remote)
4928 (ange-ftp-rename-remote-to-local, ange-ftp-load)
4929 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4931 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4934 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4935 handle new TRASH arg of `delete-file'.
4937 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4938 (tramp-handle-make-symbolic-link, tramp-handle-load)
4939 (tramp-do-copy-or-rename-file-via-buffer)
4940 (tramp-do-copy-or-rename-file-directly)
4941 (tramp-do-copy-or-rename-file-out-of-band)
4942 (tramp-handle-process-file, tramp-handle-call-process-region)
4943 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4944 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4945 (tramp-delete-temp-file-function): Use null TRASH arg in
4946 tramp-compat-delete-file call.
4948 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4949 (tramp-fish-handle-delete-file)
4950 (tramp-fish-handle-make-symbolic-link)
4951 (tramp-fish-handle-process-file): Use null TRASH arg in
4952 `tramp-compat-delete-file' call.
4954 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4955 arg in `tramp-compat-delete-file' call.
4957 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4958 (tramp-gvfs-handle-write-region): Use null TRASH arg in
4959 `tramp-compat-delete-file' call.
4961 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4962 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4963 `tramp-compat-delete-file' call.
4965 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4966 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4967 (tramp-smb-handle-write-region): Use null TRASH arg in
4968 tramp-compat-delete-file call.
4969 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4970 (tramp-smb-handle-delete-file): Rename arg.
4972 * diff.el (diff-sentinel):
4973 * epg.el (epg--make-temp-file, epg-decrypt-string)
4974 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4975 * jka-compr.el (jka-compr-partial-uncompress)
4976 (jka-compr-call-process, jka-compr-write-region):
4977 * server.el (server-sentinel): Remove optional arg from
4978 delete-file, reverting 2010-05-03 change.
4980 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4982 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4983 font-lock-constant-face, not obsolete font-lock-reference-face.
4985 2010-05-27 Kenichi Handa <handa@m17n.org>
4987 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4988 element of GSTRING is nil.
4990 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * emacs-lisp/smie.el (smie-forward-token-function)
4993 (smie-backward-token-function): New vars.
4994 (smie-backward-sexp, smie-forward-sexp)
4995 (smie-indent-hanging-p, smie-indent-calculate): Use them.
4996 (smie-default-backward-token): Rename from smie-backward-token and
4998 (smie-default-forward-token): Rename from smie-forward-token and
5000 (smie-next-sexp): Handle nil results from next-token.
5001 (smie-indent-calculate): Add a new case for special `fixindent' comments.
5003 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5005 * progmodes/verilog-mode.el (verilog-type-font-keywords):
5006 Use font-lock-constant-face, not obsolete font-lock-reference-face.
5008 2010-05-27 Masatake YAMATO <yamato@redhat.com>
5010 * htmlfontify.el (hfy-face-resolve-face): New function.
5011 (hfy-face-to-style): Use it (Bug#6279).
5013 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5015 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5016 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5018 2010-05-26 Glenn Morris <rgm@gnu.org>
5020 * emulation/edt.el (edt-load-keys): Use locate-library.
5022 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
5024 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5025 (log-edit-changelog-entries): Doc fix.
5026 (log-edit-changelog-insert-entries): Args changed.
5027 Rename relative filenames in ChangeLog entries. Delete tabs.
5028 (log-edit-insert-changelog-entries): Reorganize return value of
5029 `log-edit-changelog-entries' to pass filenames to
5030 log-edit-changelog-insert-entries.
5032 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5034 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5035 `image-dired-dired-insert-marked-thumbs' to
5036 `image-dired-dired-toggle-marked-thumbs'.
5038 * image-dired.el: Require cl when compiling.
5039 (image-dired-dired-toggle-marked-thumbs): Rename from
5040 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
5041 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
5042 to 'no-dir. Skip files whose names don't match
5043 `image-file-name-regexp'. When file has a thumbnail overlay,
5044 delete it. (Bug#5270)
5046 2010-05-25 Juri Linkov <juri@jurta.org>
5048 * image-mode.el (image-mode): Add image-after-revert-hook to
5050 (image-after-revert-hook): New function. (Bug#5669)
5052 2010-05-25 Juri Linkov <juri@jurta.org>
5054 * image.el (image-animated-p): When delay between animated images
5055 is 0, set it to 10 (0.1 sec). (Bug#6258)
5057 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5059 * net/tramp.el (tramp-handle-insert-directory): Don't use
5060 `forward-word', its default syntax could be changed.
5062 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
5064 * net/tramp.el (tramp-progress-reporter-update): New defun.
5065 (with-progress-reporter): Use it.
5066 (tramp-process-actions):
5067 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5068 current message, in order to let progress reporter continue
5069 afterwards. (Bug#6257)
5071 2010-05-25 Glenn Morris <rgm@gnu.org>
5073 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5076 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5078 * net/rcirc.el (rcirc-default-user-name): Change to "user".
5079 (rcirc-default-full-name): Change to "unknown".
5080 (rcirc-user-name-history): Add variable.
5082 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5083 Jonathan Rockway <jon@jrock.us>
5085 * net/rcirc.el (rcirc-server-alist): Add :pass.
5086 (rcirc): When prompting for connection parameters, also prompt for
5087 username and password.
5088 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
5089 value to server when connecting.
5091 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5093 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5094 (smie-merge-prec2s): Pass the tables as separate args.
5095 (smie-bnf-precedence-table): Adjust call accordingly.
5096 (smie-prec2-levels): Set levels at the end.
5098 Replace Lisp calls to delete-backward-char by delete-char.
5099 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5100 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5101 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5102 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5103 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5104 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5105 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5106 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5107 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5108 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5109 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5110 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5111 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5112 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5113 delete-backward-char by calls to delete-char.
5115 2010-05-25 Kenichi Handa <handa@m17n.org>
5117 * language/hebrew.el (hebrew-shape-gstring): New function.
5118 Register it in composition-function-table for all Hebrew combining
5121 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5123 * epa.el (epa--select-keys): Don't explicitly delete the window since
5124 that can fail (e.g. sole window in frame). Use dedication instead.
5126 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5128 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5130 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
5132 * image.el (image-refresh): Define as an alias for image-flush.
5134 * image-mode.el (image-toggle-display-image): Caller changed.
5136 2010-05-21 Juri Linkov <juri@jurta.org>
5138 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5139 Remove "all" from grep-files-aliases. Split grep-files-aliases by
5140 whitespace, call wildcard-to-regexp on substrings and concat them
5141 with "\\|". (Bug#6114)
5143 2010-05-21 Alan Mackenzie <acm@muc.de>
5145 * progmodes/cc-engine.el (c-parse-state-get-strategy):
5146 Replace parameter `here' with `here-' and `here-plus', which sandwich
5147 any pertinent CPP construct.
5148 (c-remove-stale-state-cache-backwards): Fix a bug which happens
5149 when doing (c-parse-state) in a CPP construct: Exclude any "new"
5150 CPP construct from taking part in the scanning.
5152 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
5154 * net/tramp.el (tramp-do-copy-or-rename-file)
5155 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5156 Tune `with-progress-reporter' messages.
5157 (tramp-handle-vc-registered):
5158 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5159 (tramp-fish-handle-insert-file-contents)
5160 (tramp-fish-maybe-open-connection):
5161 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5162 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5163 (tramp-imap-handle-insert-file-contents)
5164 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5166 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
5168 * add-log.el (change-log-font-lock-keywords):
5169 Highlight all authors in multi-author entries.
5171 * smerge-mode.el (smerge-refine-ignore-whitespace)
5172 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5173 Fix typos in docstrings.
5174 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5176 2010-05-21 Glenn Morris <rgm@gnu.org>
5178 * progmodes/fortran.el (fortran-mode):
5179 * progmodes/f90.el (f90-mode): Derive from prog-mode.
5181 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5182 having a relative path in src/Makefile.in.
5184 2010-05-20 Kevin Ryde <user42@zip.com.au>
5186 * help-mode.el (help-make-xrefs): For Info node links turn
5187 newlines into spaces. Link node names with newlines are matched
5188 by help-xref-info-regexp and buttonized, this change ensures they
5189 can be followed successfully with RET. (Bug#6206)
5191 2010-05-20 Juri Linkov <juri@jurta.org>
5193 * locate.el (locate): Use pop-to-buffer instead of
5194 switch-to-buffer-other-window. (Bug#6204)
5196 2010-05-20 Juri Linkov <juri@jurta.org>
5198 * replace.el (replace-highlight): Fix lazy-highlighting
5199 for `M-s w str M-% str RET'.
5201 2009-12-15 Masatake YAMATO <yamato@redhat.com>
5203 * isearch.el (isearch-yank-word-or-char): Pull next subword
5204 when `subword-mode' is activated. (Bug#6220)
5206 2010-05-20 Mark A. Hershberger <mah@everybody.org>
5208 * isearch.el (isearch-update-post-hook): New hook.
5209 (isearch-update): Use the new hook. (Bug#6225)
5211 2010-05-20 Juri Linkov <juri@jurta.org>
5213 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5214 [f1], [help], and (char-to-string help-char) instead of "\C-h".
5217 2010-05-20 Juri Linkov <juri@jurta.org>
5219 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5222 2010-05-20 Juri Linkov <juri@jurta.org>
5224 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5225 FILE-NAME to read from the minibuffer when called interactively
5226 with prefix argument instead of using buffer-file-name.
5227 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5229 * dired.el: Update autoloads.
5231 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
5233 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5234 nxml-finish-element, for consistency with SGML mode.
5236 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5239 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
5241 * composite.el: Require cl when compiling.
5242 (reference-point-alist, compose-gstring-for-graphic)
5243 (compose-gstring-for-terminal): Fix typos in docstrings.
5245 2010-05-19 Juri Linkov <juri@jurta.org>
5247 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5248 set-window-parameter.
5250 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5252 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5254 (tramp-maybe-open-connection): Use it.
5256 2010-05-19 Eli Zaretskii <eliz@gnu.org>
5258 * simple.el (move-end-of-line): Make sure we are at line beginning
5259 before backing up to end of previous line.
5261 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5263 * password-cache.el (password-cache-remove): Fix docstring.
5265 * net/secrets.el: Autoload the widget functions.
5266 (secrets-search-items, secrets-create-item)
5267 (secrets-get-attributes, secrets-expand-item): Attributes will be
5268 stored on the password database without leading ":", as all other
5270 (secrets-mode): Fix docstring.
5271 (secrets-show-secrets): Provide it as autoloaded command only when
5272 D-Bus support is available. Check existence of Secret Service API.
5274 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * indent.el (indent-region): Deactivate region (bug#6200).
5278 2010-05-19 Glenn Morris <rgm@gnu.org>
5280 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
5282 2010-05-19 Kenichi Handa <handa@m17n.org>
5284 * composite.el: Register compose-gstring-for-graphic in
5285 composition-function-table only for combining characters (Mn, Mc, Me).
5287 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
5289 * calc/calc-trail.el (calc-trail-isearch-forward)
5290 (calc-trail-isearch-backward): Ensure that the new window
5291 point is set correctly.
5293 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5295 * subr.el (read-quoted-char): Resolve modifiers after key
5296 remapping (bug#6212).
5298 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
5300 Add visualization code for secrets.
5301 * net/secrets.el (secrets-mode): New major mode.
5302 (secrets-show-secrets, secrets-show-collections)
5303 (secrets-expand-collection, secrets-expand-item)
5304 (secrets-tree-widget-after-toggle-function)
5305 (secrets-tree-widget-show-password): New defuns.
5307 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5310 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5311 handled in smie-next-sexp.
5312 (smie-indent-calculate): Provide a starting indentation (so the
5313 recursion is well-founded ;-).
5315 Fix handling of non-associative equal levels.
5316 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5317 when it's not needed.
5318 (smie-op-left, smie-op-right): New functions.
5319 (smie-next-sexp): New function, extracted from smie-backward-sexp.
5320 Better handle equal levels to distinguish the associative case from
5321 the "multi-keyword construct" case.
5322 (smie-backward-sexp, smie-forward-sexp): Use it.
5324 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
5326 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5328 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5329 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5331 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5333 Provide a simple generic indentation engine and use it for Prolog.
5334 * emacs-lisp/smie.el: New file.
5335 * progmodes/prolog.el (prolog-smie-op-levels)
5336 (prolog-smie-indent-rules): New var.
5337 (prolog-mode-variables): Use them to configure SMIE.
5338 (prolog-indent-line, prolog-indent-level): Remove.
5340 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5342 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5343 order before computing the averages.
5345 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
5347 * calc/calc-vec.el (calc-histogram):
5348 (calcFunc-histogram): Allow vectors as inputs.
5349 (math-vector-avg): New function.
5351 * calc/calc-ext.el (math-group-float): Have the number of digits
5352 being grouped depend on the radix (Bug#6189).
5354 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
5356 * version.el (emacs-copyright, emacs-version): Don't define here,
5357 now that emacs.c defines it.
5359 2010-05-15 Eli Zaretskii <eliz@gnu.org>
5361 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5362 "Describe Language Environment" menu item.
5364 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5366 Bidi-sensitive movement with arrow keys.
5367 * subr.el (right-arrow-command, left-arrow-command): New functions.
5369 * bindings.el (global-map): Bind them to right and left arrow keys.
5371 Don't override standard definition of convert-standard-filename.
5372 * files.el (convert-standard-filename): Call
5373 w32-convert-standard-filename and dos-convert-standard-filename on
5374 the corresponding systems.
5376 * w32-fns.el (w32-convert-standard-filename): Rename from
5377 convert-standard-filename. Doc fix.
5379 * dos-fns.el (dos-convert-standard-filename): Doc fix.
5380 (convert-standard-filename): Don't defalias.
5381 (register-name-alist, make-register, register-value)
5382 (set-register-value, intdos): Obsolete aliases for the
5383 corresponding dos-* functions and variables.
5384 (dos-intdos): Add a doc string.
5386 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
5388 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5389 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5390 (math-compose-tex-func):
5391 * calc/calccomp.el (math-compose-expr):
5392 * calc/calc-ext.el (math-format-flat-expr-fancy):
5393 * calc/calc-store.el (calc-read-var-name):
5394 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5396 * calc/calc.el (var-π, var-φ, var-γ): New variables.
5397 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5398 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5399 (math-standard-units): Add units.
5401 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5403 * progmodes/asm-mode.el (asm-mode):
5404 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5406 * pcomplete.el (pcomplete-completions-at-point): New function,
5407 extracted from pcomplete-std-complete.
5408 (pcomplete-std-complete): Use it.
5410 2010-05-15 Glenn Morris <rgm@gnu.org>
5412 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5413 Remove references to CVS, RCS and Old directories.
5415 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
5417 * calc/calc-bin.el (math-format-twos-complement): Group digits when
5420 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5422 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5423 (sh-mode-syntax-table): Give it a default value instead.
5424 (sh-header-marker): Make buffer-local.
5425 (sh-mode): Move make-local-variable to the corresponding setq.
5426 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5427 Use complete-with-action.
5429 * simple.el (prog-mode): New (abstract) major mode.
5430 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5431 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5433 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
5435 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5436 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5437 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5438 (sql-make-alternate-buffer-name, sql-placeholders-filter)
5439 (sql-escape-newlines-filter, sql-input-sender)
5440 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5442 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
5444 Add TeX open-block and close-block keybindings to SGML, and vice versa.
5446 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5447 latex-open-block and C-c / to latex-close-block.
5449 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5450 and C-c C-e to sgml-close-tag.
5452 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
5454 * net/tramp.el (with-progress-reporter): Create reporter object
5455 only when the message would be displayed. Handle nested calls.
5456 (tramp-handle-load, tramp-handle-file-local-copy)
5457 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5458 (tramp-maybe-send-script, tramp-find-shell):
5459 Use `with-progress-reporter'.
5460 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5463 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5464 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5465 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5466 Use `with-progress-reporter'.
5468 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5470 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5471 process everytime when spellchecking from the minibuffer (bug#6143).
5473 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5475 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5477 * dos-fns.el: Add "dos-" prefix for namespace control.
5478 (convert-standard-filename): Define as alias for
5479 dos-convert-standard-filename but only if applicable.
5481 2010-05-12 Alan Mackenzie <acm@muc.de>
5483 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5484 Push the mark at the start of these functions when appropriate.
5486 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * minibuffer.el (completion-cycle-threshold): New custom var.
5489 (completion--do-completion): Use it.
5490 (minibuffer-complete): Use cycling if appropriate.
5492 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5494 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5495 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5497 2010-05-11 Juri Linkov <juri@jurta.org>
5499 * scroll-all.el (scroll-all-check-to-scroll):
5500 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5502 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5504 * iimage.el (iimage-mode-map): Move initialization into declaration.
5505 (iimage-mode-buffer): Use with-silent-modifications.
5506 Simplify calling convention. Adjust callers.
5507 (iimage-mode): Don't run hook redundantly.
5509 * minibuffer.el (completion-pcm--pattern->regex):
5510 Fix last change (bug#6160).
5512 2010-05-10 Juri Linkov <juri@jurta.org>
5514 Remove nodes visited during Isearch from the Info history.
5515 * info.el (Info-isearch-initial-history)
5516 (Info-isearch-initial-history-list): New variables.
5517 (Info-isearch-start): Record initial values of
5518 Info-isearch-initial-history and Info-isearch-initial-history-list.
5519 Add Info-isearch-end to isearch-mode-end-hook.
5520 (Info-isearch-end): New function.
5522 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
5524 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5525 format string, in order to work around a bug in pdksh.
5526 Reported by Gilles Pion <gpion@lfdj.com>.
5527 (tramp-handle-verify-visited-file-modtime): Do not send a command
5528 when the connection is not established.
5529 (tramp-handle-set-file-times): Simplify the check for utc.
5531 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
5533 Fix use of `filter-buffer-substring' (rework previous change).
5534 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5535 (cua-repeat-replace-region):
5536 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5537 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5538 (cua-cut-region-to-global-mark): Use it.
5540 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
5542 * progmodes/sql.el: Version 2.1.
5543 (sql-product-alist): Redesign structure of product info.
5544 (sql-product, sql-user, sql-server, sql-database): Safe variables.
5545 (sql-port, sql-port-history): New variables.
5546 (sql-interactive-product): New variable.
5547 (sql-send-terminator): New variable.
5548 (sql-imenu-generic-expression): Add "Types" imenu entry.
5549 (sql-oracle-login-params, sql-sqlite-login-params)
5550 (sql-mysql-login-params, sql-solid-login-params)
5551 (sql-sybase-login-params, sql-informix-login-params)
5552 (sql-ingres-login-params, sql-ms-login-params)
5553 (sql-postgres-login-params, sql-interbase-login-params)
5554 (sql-db2-login-params, sql-linter-login-params)
5555 (sql-oracle-scan-on): New variables.
5556 (sql-mode-map): Add C-c C-i to start interactive mode.
5557 (sql-mode-menu): Update existing menu entries.
5558 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5559 (sql-mode-oracle-font-lock-keywords)
5560 (sql-mode-postgres-font-lock-keywords)
5561 (sql-mode-ms-font-lock-keywords)
5562 (sql-mode-sybase-font-lock-keywords)
5563 (sql-mode-informix-font-lock-keywords)
5564 (sql-mode-interbase-font-lock-keywords)
5565 (sql-mode-ingres-font-lock-keywords)
5566 (sql-mode-solid-font-lock-keywords)
5567 (sql-mode-mysql-font-lock-keywords)
5568 (sql-mode-sqlite-font-lock-keywords)
5569 (sql-mode-db2-font-lock-keywords)
5570 (sql-mode-linter-font-lock-keywords): Update initialization to
5571 reduce run-time complexity.
5572 (sql-add-product, sql-del-product): New functions.
5573 (sql-set-product-feature, sql-get-product-feature): New functions.
5574 (sql-product-font-lock): Update product API.
5575 (sql-add-product-keywords): New function.
5576 (sql-highlight-product): Update product API.
5577 (sql-help-list-products): New function.
5578 (sql-help): Dynamically lists free and non-free products.
5579 (sql-get-login): Correct bug in handling history and added
5581 (sql-copy-column): Copy without properties.
5582 (sqli-input-sender): Apply filters to SQLi input.
5583 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5584 Implement as a filter.
5585 (sql-escape-newlines-filter): Implement as a filter.
5586 (sql-remove-tabs-filter): New function.
5587 (sql-send-magic-terminator): New function.
5588 (sql-send-string): Implement magic terminator.
5589 (sql-send-region): Use `sql-send-string'.
5590 (sql-interactive-mode): Use product API.
5591 (sql-product-interactive): Use product API.
5592 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5593 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5594 (sql-db2, sql-linter): Use `sql-product-interactive'.
5595 (sql-connect): New function.
5596 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5597 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5598 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5599 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5602 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5605 New custom variable.
5606 (completion-pcm--string->pattern): Use it.
5607 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5608 Make it handle any symbol as `any'.
5609 (completion-pcm--merge-completions): Extract common suffix for the new
5610 `prefix' symbol as well.
5611 (completion-substring--all-completions): Use the new `prefix' symbol.
5613 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
5615 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5617 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5618 (tramp-compat-funcall): New defmacro.
5619 (tramp-compat-line-beginning-position)
5620 (tramp-compat-line-end-position)
5621 (tramp-compat-temporary-file-directory)
5622 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5623 (tramp-compat-copy-file, tramp-compat-copy-directory)
5624 (tramp-compat-delete-file, tramp-compat-delete-directory)
5625 (tramp-compat-number-sequence, tramp-compat-process-running-p)
5626 * net/tramp.el (top, with-progress-reporter)
5627 (tramp-rfn-eshadow-setup-minibuffer)
5628 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5629 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5630 (tramp-completion-mode-p, tramp-check-for-regexp)
5631 (tramp-open-connection-setup-interactive-shell)
5632 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5633 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5634 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5635 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5636 (tramp-reporter-dump-variable, tramp-load-report-modules)
5637 (tramp-append-tramp-buffers)
5638 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5640 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5642 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5644 * progmodes/compile.el (compilation-buffer-modtime): Rename from
5645 buffer-modtime. Adjust users.
5647 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5649 * international/mule.el (auto-coding-alist): Only purecopy
5650 car of each item, not the whole list (Bug#6083).
5652 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5654 * progmodes/js.el (js-mode): Make paragraph variables local before
5655 calling c-setup-paragraph-variables (Bug#6071).
5657 2010-05-08 Eli Zaretskii <eliz@gnu.org>
5659 * composite.el (compose-region, reference-point-alist): Fix typos
5662 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5664 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5665 gnuplot's "set" command.
5667 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5669 * abbrev.el (last-abbrev-text): Doc fix.
5670 (abbrev-prefix-mark): Don't escape parenthesis.
5672 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
5674 * composite.el (find-composition): Doc fix.
5676 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5678 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5679 (sql-oracle-program, sql-sqlite-options)
5680 (sql-query-placeholders-and-send): Doc fixes.
5681 (sql-set-product, sql-interactive-mode): Reflow docstrings.
5682 (sql-imenu-generic-expression, sql-buffer)
5683 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5684 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5685 (sql-mode-sybase-font-lock-keywords)
5686 (sql-mode-informix-font-lock-keywords)
5687 (sql-mode-interbase-font-lock-keywords)
5688 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5689 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5690 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5691 (sql-product-feature, sql-highlight-product)
5692 (comint-line-beginning-position, sql-rename-buffer)
5693 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5694 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5695 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5696 Fix typos in docstrings.
5698 2010-05-08 Juri Linkov <juri@jurta.org>
5700 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5701 property instead of `invisible' and `after-string' (bug#5998).
5703 2010-05-08 Juri Linkov <juri@jurta.org>
5705 * image-mode.el (image-mode-as-text): Fix typo in docstring.
5707 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5709 * filecache.el (file-cache-add-directory-list)
5710 (file-cache-add-directory-recursively): Fix typos in docstrings.
5712 2010-05-08 Kenichi Handa <handa@m17n.org>
5714 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5715 (gujarati-composable-pattern): Fix typo.
5717 2010-05-08 Kenichi Handa <handa@m17n.org>
5719 * language/indian.el (oriya-composable-pattern)
5720 (tamil-composable-pattern, malayalam-composable-pattern):
5721 Add two-part vowels to "v" (vowel sign).
5723 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5725 * files.el (copy-directory): Handle symlinks (Bug#5982).
5727 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
5729 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5730 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
5733 2010-05-08 Glenn Morris <rgm@gnu.org>
5735 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5737 * minibuffer.el (completion-at-point): Doc fix.
5739 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5741 * electric.el (Electric-command-loop): Minor tweak.
5743 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5744 better with dedicated windows.
5746 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
5748 * Version 23.2 released.
5750 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
5751 Stefan Monnier <monnier@iro.umontreal.ca>
5753 Highlight vendor specific properties.
5754 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5755 (css-proprietary-property): New face.
5756 (css-font-lock-keywords): Use them.
5758 2010-05-07 Eli Zaretskii <eliz@gnu.org>
5760 * cus-start.el (all): Add native condition for tool-bar-* symbols.
5762 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5765 * files.el (auto-mode-alist): Remove redundant entries.
5767 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5768 * simple.el (auto-save-mode): Move from files.el.
5769 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5771 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5773 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5775 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
5777 * mail/binhex.el (binhex-decode-region-internal)
5778 * mail/uudecode.el (uudecode-decode-region-internal)
5779 * net/dns.el (dns-read-string-name, dns-write, dns-read)
5780 (dns-read-type, dns-query)
5781 * pgg-parse.el (pgg-parse-armor)
5782 * pgg.el (pgg-verify-region)
5783 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5786 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5788 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
5790 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5792 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5793 * emulation/cua-base.el (cua-repeat-replace-region):
5794 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5795 (cua-cut-region-to-global-mark):
5796 Remove text properties with `set-text-properties'.
5798 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
5800 * net/tramp.el (top, with-progress-reporter):
5801 Use `symbol-function' inside `funcall'.
5803 * net/tramp-compat.el (tramp-compat-file-attributes)
5804 (tramp-compat-delete-file, tramp-compat-delete-directory):
5805 Handle only `wrong-number-of-arguments' error.
5807 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5808 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5811 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * minibuffer.el (completion--sreverse, completion--common-suffix):
5815 (completion-pcm--merge-completions): Extract common suffix when safe.
5817 * emacs-lisp/easy-mmode.el (define-minor-mode):
5818 Make :variable more flexible.
5819 * files.el (auto-save-mode): Use it to define using define-minor-mode.
5821 2010-05-05 Juri Linkov <juri@jurta.org>
5823 Add `slow' and `history' tags to the desktop data.
5825 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5826 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5827 (Info-finder-find-node): Require `finder.el' to be able
5828 to restore node from the desktop.
5829 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
5830 data `Info-history' and `slow' tag in the assoc list.
5831 (Info-restore-desktop-buffer): Don't restore nodes with the
5832 `slow' tag. Restore `Info-history'.
5834 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
5836 Add FORCE argument to `delete-file'.
5838 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5839 forcing to delete the temporary file.
5840 (ange-ftp-delete-file): Add FORCE arg.
5841 (ange-ftp-rename-remote-to-remote)
5842 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5843 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5844 Force file deletion.
5846 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5848 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5849 (tramp-handle-make-symbolic-link, tramp-handle-load)
5850 (tramp-do-copy-or-rename-file-via-buffer)
5851 (tramp-do-copy-or-rename-file-directly)
5852 (tramp-do-copy-or-rename-file-out-of-band)
5853 (tramp-handle-process-file, tramp-handle-call-process-region)
5854 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5855 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5856 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5858 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5859 (tramp-fish-handle-make-symbolic-link)
5860 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5862 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5863 Use `tramp-compat-delete-file'.
5865 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5866 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5868 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5869 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5871 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5872 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5873 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5874 `tramp-compat-delete-file'.
5876 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * subr.el (add-minor-mode): Use push.
5880 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5881 * emulation/edt.el (edt-select-mode): Simplify.
5883 Use define-minor-mode in more cases.
5884 * term/tvi970.el (tvi970-set-keypad-mode):
5885 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5886 (normal-erase-is-backspace-mode):
5887 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5888 (set-scroll-bar-mode-1): (Re)move to its sole caller.
5889 (get-scroll-bar-mode): New function.
5890 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5892 Use define-minor-mode for less obvious cases.
5893 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5894 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5895 * international/iso-ascii.el (iso-ascii-mode):
5896 * frame.el (auto-raise-mode, auto-lower-mode):
5897 * composite.el (global-auto-composition-mode): Use define-minor-mode.
5899 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
5901 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5902 in order to see error messages for failed logins.
5904 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
5906 * diff.el (diff-sentinel):
5908 * epg.el (epg--make-temp-file, epg-decrypt-string)
5909 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5911 * jka-compr.el (jka-compr-partial-uncompress)
5912 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5914 * server.el (server-sentinel): Use delete-file's new FORCE arg
5917 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5919 Use define-minor-mode where applicable.
5920 * view.el (view-mode):
5921 * type-break.el (type-break-query-mode)
5922 (type-break-mode-line-message-mode):
5923 * textmodes/reftex.el (reftex-mode):
5924 * term/vt100.el (vt100-wide-mode):
5925 * tar-mode.el (tar-subfile-mode):
5926 * savehist.el (savehist-mode):
5927 * ibuf-ext.el (ibuffer-auto-mode):
5928 * composite.el (auto-composition-mode):
5929 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5930 Use define-minor-mode.
5931 (vhdl-mode): Use static mode-line format.
5932 (vhdl-mode-line-update): Delete.
5933 (vhdl-create-mode-menu, vhdl-activate-customizations)
5934 (vhdl-hs-minor-mode): Don't bother calling it.
5936 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * simple.el (with-wrapper-hook): Move.
5939 (buffer-substring-filters): Mark obsolete.
5940 (filter-buffer-substring-functions): New variable.
5941 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
5943 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5944 Michael Albinus <michael.albinus@gmx.de>
5946 Implement compression for inline methods.
5948 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5949 (tramp-copy-size-limit): Allow also nil.
5950 (tramp-inline-compress-commands): New defconst.
5951 (tramp-find-inline-compress, tramp-get-inline-compress)
5952 (tramp-get-inline-coding): New defuns.
5953 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5954 replaced by `tramp-get-inline-coding'.
5955 (tramp-handle-file-local-copy, tramp-handle-write-region)
5956 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5958 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5960 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5961 Remove unused functions.
5963 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5964 Set find-tag-default-function as a variable rather than a property.
5966 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5967 * progmodes/etags.el (tags-completion-at-point-function):
5968 Remove left over interactive spec. Add autoloading stub.
5969 (complete-tag): Use tags-completion-at-point-function.
5971 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
5973 * minibuffer.el (tags-completion-at-point-function): Fix return value.
5975 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5977 * ido.el (ido-init-completion-maps): Remove C-v binding.
5978 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5980 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5982 * minibuffer.el (tags-completion-at-point-function): New function.
5983 (completion-at-point-functions): Use it.
5985 * progmodes/etags.el (complete-tag): Revert last change.
5987 2010-04-29 Alan Mackenzie <acm@muc.de>
5989 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5990 off-by-one error (in end of macro position).
5992 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5995 firefox is absent. Don't autoload.
5996 (browse-url-galeon-program): Don't autoload.
5998 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6000 * bindings.el (complete-symbol): Move into minibuffer.el.
6002 * minibuffer.el (complete-tag): Move from etags.el. If tags
6003 completion cannot be performed, return nil instead of signalling
6005 (completion-at-point): Make it an alias for complete-symbol.
6006 (complete-symbol): Move from bindings.el, and replace with the
6007 body of completion-at-point.
6009 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6011 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
6013 * net/tramp.el (tramp-remote-selinux-p): New defun.
6014 (tramp-handle-file-selinux-context)
6015 (tramp-handle-set-file-selinux-context): Use it.
6017 2010-04-28 Sam Steingold <sds@gnu.org>
6019 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6020 `safe-local-variable' if the value is a string or a symbol with
6021 the property `bug-reference-url-format'.
6023 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6025 * progmodes/bug-reference.el (bug-reference-url-format):
6026 Revert 2010-04-27 change due to security risk.
6028 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6030 Make it possible to locally disable a globally enabled mode.
6031 * simple.el (fundamental-mode): Run fundamental-mode-hook.
6032 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6033 rather than kill-all-local-variables so it runs fundamental-mode-hook.
6034 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6035 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6036 that subsequent hooks get a chance to disable it.
6038 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6041 Avoid re-enabling a minor mode after the user turned the minor mode
6042 off if MODE-enable-in-buffers is run twice (typically once from
6043 fundamental-mode's after-change-major-mode-hook and a second time from
6044 run-mode-hook's own after-change-major-mode-hook).
6046 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6048 2010-04-27 Sam Steingold <sds@gnu.org>
6050 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6051 `safe-local-variable' if the value is a string or a function, as
6052 documented and implemented on 2010-04-02.
6054 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
6056 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6057 when method is 'kill.
6059 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
6061 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6062 condition in default directory check.
6063 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6064 Kill ispell process when killing its associated buffer.
6066 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
6068 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6069 but we aren't using it.
6071 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
6073 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6074 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6076 2010-04-24 Glenn Morris <rgm@gnu.org>
6078 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6079 Ignore VCS-ignore files, and deleted nextstep preferences files.
6080 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6081 (authors-ambiguous-files): New list.
6082 (authors-valid-file-names): Add some deleted files.
6083 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6084 (authors-disambiguate-file-name): New function. (Bug#5501)
6085 (authors-canonical-file-name): Doc fix.
6086 Don't warn about obsolete files.
6087 (authors-canonical-file-name, authors-scan-el):
6088 Use authors-disambiguate-file-name.
6090 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6091 Add autoload cookies.
6092 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6093 (generated-autoload-file): Set file-local value to "htmlfontify.el".
6094 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6095 They have definitions / compiler macros in cl.el.
6096 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6097 Replace manual autoloads with generated ones.
6098 (htmlfontify-unload-rgb-file): Remove autoload.
6099 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6101 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6104 (byte-compile-setq-default): Optimize for the
6105 single-var case and don't call byte-compile-form in this case to avoid
6106 inf-loop with byte-compile-set-default.
6108 * progmodes/compile.el (compilation-start): Abbreviate default directory.
6110 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
6112 Implement SELINUX backends.
6114 * net/tramp.el (tramp-file-name-handler-alist):
6115 Add `file-selinux-context' and `set-file-selinux-context'.
6116 (tramp-handle-file-selinux-context)
6117 (tramp-handle-set-file-selinux-context): New defuns.
6118 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6119 Handle PRESERVE-SELINUX-CONTEXT.
6121 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6122 Add `file-selinux-context' and `set-file-selinux-context'.
6123 (tramp-gvfs-handle-file-selinux-context)
6124 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6125 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6127 * net/ange-ftp.el (ange-ftp-copy-file):
6128 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6129 * net/tramp-imap.el (tramp-imap-handle-copy-file):
6130 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6131 Add PRESERVE-SELINUX-CONTEXT.
6133 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6135 Synchronize with Tramp repository.
6137 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6138 (tramp-action-process-alive, tramp-action-out-of-band)
6139 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6140 (tramp-exists-file-name-handler): Fix docstring.
6141 (with-progress-reporter): New defmacro.
6142 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6143 (tramp-maybe-open-connection): Use it.
6145 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
6147 Detect ssh 'ControlMaster' argument automatically in some cases.
6149 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6150 (tramp-default-method): Use it.
6152 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6154 * net/tramp.el (tramp-handle-copy-file): Add new optional
6155 parameter `preserve-selinux-context'.
6156 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6158 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6160 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6161 Ensure, that non remote files are still checked. Oops.
6163 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
6167 * icomplete.el (icomplete-completions): Use `non-essential'.
6169 * net/tramp.el (tramp-connectable-p): New defun.
6170 (tramp-handle-expand-file-name)
6171 (tramp-completion-handle-file-name-all-completions)
6172 (tramp-completion-handle-file-name-completion): Use it.
6174 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6176 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6178 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
6180 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6182 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6184 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6187 * info.el (info-tool-bar-map): Add labels.
6189 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6191 * cus-edit.el (custom-commands): Add labels for tool bar.
6192 (custom-buffer-create-internal, Custom-mode): Adjust for
6193 labels in custom-commands.
6195 * dynamic-setting.el: Renamed from font-setting.el.
6197 2010-04-21 John Wiegley <jwiegley@gmail.com>
6199 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6200 toggles the use of virtual buffers.
6201 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6202 (ido-toggle-virtual-buffers): New function.
6204 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
6206 Use `define-derived-mode'; fix window selection; doc fixes.
6207 * play/tetris.el (tetris, tetris-update-speed-function)
6208 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6209 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6210 (tetris-rotate-next, tetris-end-game, tetris-start-game)
6211 (tetris-pause-game): Fix typos in docstrings.
6212 (tetris-mode-map, tetris-null-map):
6213 Move initialization into declaration.
6214 (tetris-mode): Define with `define-derived-mode';
6215 set show-trailing-whitespace to nil.
6216 (tetris): Prefer window already displaying the "*Tetris*" buffer.
6218 2010-04-21 Karel Klíč <kklic@redhat.com>
6220 * files.el (backup-buffer): Handle SELinux context, and return it
6221 if a backup was made by renaming.
6222 (backup-buffer-copy): Set SELinux context to the target file.
6223 (basic-save-buffer): Set SELinux context of the newly written file.
6224 (basic-save-buffer-1): Now it also returns any SELinux context.
6225 (basic-save-buffer-2): Set SELinux context of the newly created file,
6227 * net/tramp.el (tramp-file-name-for-operation):
6228 Add file-selinux-context.
6230 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6232 Make the log-edit comments use RFC822 format throughout.
6234 * vc.el (vc-checkin, vc-modify-change-comment):
6235 Adjust to new vc-start/finish-logentry.
6236 (vc-find-conflicted-file): New command.
6237 (vc-transfer-file): Adjust to new vc-checkin.
6238 (vc-next-action): Improve scoping.
6240 * vc-hg.el (vc-hg-log-edit-mode): Remove.
6241 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
6243 * vc-git.el (vc-git-log-edit-mode): Remove.
6244 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
6245 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6247 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6248 (vc-start-logentry): Remove argument `extra'.
6249 (vc-finish-logentry): Remove extra args.
6251 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6252 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
6253 (vc-bzr-conflicted-files): New function.
6255 * log-edit.el (log-edit-extra-flags)
6256 (log-edit-before-checkin-process): Remove.
6257 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6258 (log-edit-headers-alist): New var.
6259 (log-edit-header-contents-regexp): New const.
6260 (log-edit-match-to-eoh): New function.
6261 (log-edit-font-lock-keywords): Use them.
6262 (log-edit): Insert a "Summary:" header as default.
6263 (log-edit-mode): Mark font-lock rules as case-insensitive.
6264 (log-edit-done): Cleanup headers.
6265 (log-view-process-buffer): Remove.
6266 (log-edit-extract-headers): New function to replace it.
6268 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
6270 * subr.el (default-direction-reversed): Remove obsolescence info.
6272 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6277 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6278 I.e. include text after point in the completion region.
6279 Also, return nil when we're not after/in a symbol.
6281 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6282 default enable-multibyte-characters.
6284 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * international/mule.el: Help the user choose a valid coding-system.
6287 (read-buffer-file-coding-system): New function.
6288 (set-buffer-file-coding-system): Use it. Prompt the user if the
6289 coding-system cannot encode all the chars.
6291 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6292 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6293 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6294 Don't use *vc-bzr-shelve*.
6296 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
6298 Fix the version number for added files.
6299 * vc-hg.el (vc-hg-working-revision): Check if the file is
6300 registered after hg parent fails (Bug#5961).
6302 2010-04-19 Glenn Morris <rgm@gnu.org>
6304 * htmlfontify.el (htmlfontify-buffer)
6305 (htmlfontify-copy-and-link-dir): Autoload entry points.
6307 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
6309 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6310 name relative to the project root (Bug#5960).
6312 2010-04-19 Glenn Morris <rgm@gnu.org>
6314 * vc-git.el (vc-git-print-log): Doc fix.
6316 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
6318 * ido.el (ido-file-internal): Fix 2009-12-02 change.
6320 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
6322 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6323 default settings (Bug#5928).
6325 2010-04-19 Glenn Morris <rgm@gnu.org>
6327 * progmodes/fortran.el (fortran-match-and-skip-declaration):
6329 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
6331 2010-04-19 Kenichi Handa <handa@m17n.org>
6333 * language/indian.el (malayalam-composable-pattern): Fix previous
6334 change (add U+0D4D "SIGN VIRAMA").
6335 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6336 (tamil-composable-pattern): Fix typo in the regexp.
6337 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6338 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6339 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6341 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6343 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6344 paragraph-separate (Bug#5821).
6346 2010-04-19 Juri Linkov <juri@jurta.org>
6348 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6350 * info.el (Info-find-node-2): Comment out code that skips
6352 (Info-mouse-follow-link): New command.
6353 (Info-link-keymap): New keymap.
6354 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6355 Return a string with links instead of inserting breadcrumbs
6357 (Info-fontify-node): Comment out code that inserts breadcrumbs.
6358 Instead of putting the `invisible' text property over the Info
6359 header, make an overlay over the Info header with the `invisible'
6360 property and `after-string' set to the string returned by
6363 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6365 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6366 Reported by monkey@sandpframing.com.
6368 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6371 (tmm-get-keymap): Add key-binding shortcuts now that they're not
6372 available in the "keyseq cache" any more.
6374 * custom.el (defcustom): Add edebug spec.
6376 2010-04-18 Juri Linkov <juri@jurta.org>
6378 Test for special mode-class in view-buffer instead of view-file (bug#5513).
6380 * view.el (view-file, view-buffer): Move test for special mode-class
6381 from view-file to view-buffer.
6383 * tar-mode.el (tar-extract): Turn if's into one cond
6384 like in arc-mode.el.
6386 2010-04-18 Juri Linkov <juri@jurta.org>
6388 Add 7z archive format support (bug#5475).
6390 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6391 (archive-7z-extract): New defcustom.
6392 (archive-find-type): Add magic string for 7z.
6393 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6394 If `stderr-file' is non-nil, use `(t stderr-file)' for the
6395 `buffer' arg of `call-process'.
6396 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6397 call the function `archive-7z-extract' with the variable
6398 `archive-7z-extract' let-bound to `archive-zip-extract'.
6399 (archive-7z-summarize, archive-7z-extract): New functions.
6401 * international/mule.el (auto-coding-alist):
6402 * files.el (auto-mode-alist): Add 7z file extension.
6404 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6406 * loadup.el: Setup hash-cons for pure data.
6408 Fix duplicate entries in cedet's loaddefs.el files.
6409 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6410 Should make most file-local generated-autoload-file unnecessary.
6411 (print-readably): Silence warnings.
6412 (autoload-find-destination): Take load-name as an arg to make sure
6413 it's the same as the one that will be in the file.
6414 (autoload-generate-file-autoloads): Adjust to above changes.
6415 Try to make the dataflow a bit simpler.
6417 * cvs-status.el (cvs-refontify): Remove unused.
6419 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
6421 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6423 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6424 twos-complement mode.
6426 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
6428 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6429 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
6430 (calc-inverse): Add "Option" to message, as appropriate.
6431 (calc-hyperbolic): Add "Option" to message, as appropriate.
6432 (calc-option, calc-is-option): New functions.
6434 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6435 (calc-option-prefix-help): New function.
6437 * calc/calc-misc.el (calc-help): Add "Option" entry.
6439 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6440 (calc-option-flag): New variable.
6441 (calc-do): Set `calc-option-flag to nil.
6442 (calc-set-mode-line): Add "Opt " as appropriate.
6444 2010-04-16 Juri Linkov <juri@jurta.org>
6446 Move scrolling commands from simple.el to window.el
6447 because their primitives are implemented in window.c.
6449 * simple.el (scroll-error-top-bottom)
6450 (scroll-up-command, scroll-down-command, scroll-up-line)
6451 (scroll-down-line, scroll-other-window-down)
6452 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6453 * window.el (scroll-error-top-bottom)
6454 (scroll-up-command, scroll-down-command, scroll-up-line)
6455 (scroll-down-line, scroll-other-window-down)
6456 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6457 Move from simple.el to window.el because their primitives are
6458 implemented in window.c.
6460 2010-04-16 Juri Linkov <juri@jurta.org>
6462 * isearch.el (isearch-lookup-scroll-key): Check both
6463 `isearch-scroll' and `scroll-command' properties.
6464 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6466 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6468 * simple.el (scroll-up-command, scroll-down-command)
6469 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6471 2010-04-15 Juri Linkov <juri@jurta.org>
6473 * simple.el (scroll-up-command, scroll-down-command)
6474 (scroll-up-line, scroll-down-line): Put `scroll-command'
6475 property on the these symbols. Remove them from
6476 `scroll-preserve-screen-position-commands'.
6478 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6479 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6480 Remove it from `scroll-preserve-screen-position-commands'.
6482 * isearch.el (isearch-allow-scroll): Doc fix.
6484 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6486 * net/tramp.el (tramp-error-with-buffer): Don't show the
6487 connection buffer when we are in completion mode.
6488 (tramp-file-name-handler): Catch the error for some operations
6489 when we are in completion mode. This gives the user the chance to
6490 correct the file name in the minibuffer.
6492 2010-04-15 Glenn Morris <rgm@gnu.org>
6494 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6496 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6498 Simplify by using `define-derived-mode'.
6499 * info.el (Info-mode):
6500 * calendar/todo-mode.el (todo-mode):
6501 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6502 (gomoku-mode-map): Move initialization into declaration.
6504 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6507 * ido.el (ido-file-name-all-completions-1):
6508 * minibuffer.el (minibuffer-completion-help):
6509 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6511 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6513 * simple.el (non-essential): New var.
6515 Add a new field `location' to bookmarks for non-file bookmarks.
6516 * bookmark.el (bookmark-location): Use the new field, if present.
6517 (bookmark-insert-location): Undo last change, not needed any more.
6518 * man.el (Man-bookmark-make-record):
6519 * woman.el (woman-bookmark-make-record): Add `location' field.
6521 2010-04-14 Juri Linkov <juri@jurta.org>
6523 * simple.el (scroll-error-top-bottom): New defcustom.
6524 (scroll-up-command, scroll-down-command): Use it. Doc fix.
6526 * emulation/pc-select.el (pc-select-override-scroll-error):
6527 Obsolete in favor of `scroll-error-top-bottom'.
6529 2010-04-14 Juri Linkov <juri@jurta.org>
6531 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6532 `scroll-up-command' and `M-v' to `scroll-down-command'.
6534 * emulation/cua-rect.el (cua--init-rectangles):
6535 * forms.el (forms--change-commands):
6536 * image-mode.el (image-mode-map):
6537 Remap scroll-down-command and scroll-up-command
6538 in addition to scroll-down and scroll-up.
6540 2010-04-14 Juri Linkov <juri@jurta.org>
6542 * mwheel.el (scroll-preserve-screen-position-commands):
6543 Add mwheel-scroll to this list of commands.
6545 * simple.el (scroll-preserve-screen-position-commands):
6546 Add scroll-up-command, scroll-down-command, scroll-up-line,
6547 scroll-down-line to this list of commands.
6549 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * obsolete/complete.el: Move from lisp/complete.el.
6553 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6555 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6556 to the minor mode function now turns the mode ON unconditionally.
6558 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6560 * vc-dir.el (vc-dir-kill-line): New command.
6561 (vc-dir-mode-map): Bind it to C-k.
6563 * bookmark.el (bookmark-insert-location): Handle a nil filename.
6565 * woman.el: Add bookmark declarations to silence the compiler.
6566 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6567 step to compatibility between man and woman bookmarks.
6568 Adjust for Man-default-bookmark-title renaming.
6569 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
6571 * man.el: Add bookmark declarations to silence the compiler.
6572 (Man-name-local-regexp): Make it match NAME as well.
6573 (Man-getpage-in-background): Return the buffer.
6574 (Man-notify-when-ready): Use `case'.
6575 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6576 Don't hardcode "NAME". Simplify.
6577 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6578 Rename from Man-bookmark-make-record.
6579 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
6580 we have the actual man-args. Use Man-getpage-in-background rather
6581 than `man' since the arg is already processed. Let bookmark.el do the
6582 window handling. Only wait for the relevant process.
6583 Don't forget to autoload.
6585 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6587 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6589 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6591 (woman-mode): Setup bookmark support.
6593 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6594 (man-bookmark-jump): New functions.
6595 (Man-mode): Setup bookmark support.
6597 2010-04-10 Jari Aalto <jari.aalto@cante.net>
6599 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6600 recognize ssh-keygen prompt (Bug#2817).
6602 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6604 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6606 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6608 Synchronize with Tramp repository.
6610 * net/tramp.el (tramp-completion-function-alist)
6611 (tramp-file-name-regexp, tramp-chunksize)
6612 (tramp-local-coding-commands, tramp-remote-coding-commands):
6614 (tramp-remote-process-environment): Use `format' instead of `concat'.
6615 (tramp-handle-directory-files-and-attributes)
6616 (tramp-get-remote-path): Use `copy-tree'.
6617 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6618 compatibility: Use `completion-ignore-case' if
6619 `read-file-name-completion-ignore-case' does not exist.
6620 (tramp-do-copy-or-rename-file-directly): Do not use
6621 `tramp-handle-file-remote-p'.
6622 (tramp-do-copy-or-rename-file-out-of-band):
6623 Use `tramp-compat-delete-directory'.
6624 (tramp-do-copy-or-rename-file-out-of-band)
6625 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6626 Use `format-spec-make'.
6627 (tramp-find-foreign-file-name-handler)
6628 (tramp-advice-make-auto-save-file-name)
6629 (tramp-set-auto-save-file-modes): Remove superfluous check for
6630 `stringp'. This is done inside `tramp-tramp-file-p'.
6631 (tramp-debug-outline-regexp): New defconst.
6632 (tramp-get-debug-buffer): Use it.
6633 (tramp-check-for-regexp): Use (forward-line 1).
6634 (tramp-set-auto-save-file-modes): Adapt version check.
6636 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6637 Wrap call of `featurep' for 2nd argument.
6638 (tramp-compat-make-temp-file): Simplify fallback implementation.
6639 (tramp-compat-copy-tree): Remove function.
6640 (tramp-compat-delete-directory): Provide implementation for older
6643 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6644 Do not use `tramp-fish-handle-file-attributes.
6646 * net/trampver.el: Update release number.
6648 2010-04-10 Glenn Morris <rgm@gnu.org>
6650 * progmodes/compile.el (compilation-save-buffers-predicate):
6651 Add missing :version tag.
6653 2010-04-09 Sam Steingold <sds@gnu.org>
6655 * progmodes/compile.el (compilation-save-buffers-predicate):
6656 Remove the "autoload" cookie.
6658 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6659 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6660 and `bug-reference-prog-mode' can be used in hooks directly.
6662 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
6664 Add --author support to git commit.
6665 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6666 (vc-git-log-edit-mode): New minor mode.
6667 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6670 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
6672 * vc-hooks.el, vc-git.el: Improve documentation comments.
6674 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6676 Fix some of the problems in defsubst* (bug#5728).
6677 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6678 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6680 2010-04-07 Sam Steingold <sds@gnu.org>
6682 * progmodes/compile.el (compilation-save-buffers-predicate):
6683 New custom variable.
6684 (compile, recompile): Pass it to `save-some-buffers'.
6686 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
6688 * wid-edit.el (widget-choose): Move cursor to the second line of
6689 the buffer (Bug#5695).
6691 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6693 Add new VC methods: vc-log-incoming and vc-log-outgoing.
6694 * vc.el (vc-print-log-setup-buttons): New function split out from
6695 vc-print-log-internal.
6696 (vc-log-internal-common): New function, a parametrized version of
6697 vc-print-log-internal.
6698 (vc-print-log-internal): Just call vc-log-internal-common with the
6700 (vc-incoming-outgoing-internal):
6701 (vc-log-incoming, vc-log-outgoing): New functions.
6702 (vc-log-view-type): New permanent local variable.
6704 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6706 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6707 of the dynamic bound vc-short-log.
6708 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6710 * vc-git.el (vc-git-log-outgoing): New function.
6711 (vc-git-log-view-mode): Use vc-log-view-type instead
6712 of the dynamic bound vc-short-log.
6714 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6715 of the dynamic bound vc-short-log. Highlight the tag.
6716 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6717 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6718 (vc-hg-incoming-mode): Remove.
6719 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6721 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6723 Fix default-directory for vc-root-diff.
6724 * vc.el (vc-root-diff): Bind default-directory to the root
6725 directory for the diff command.
6727 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
6729 * progmodes/verilog-mode.el (verilog-forward-sexp):
6730 (verilog-calc-1): Support "disable fork" and "fork wait" multi
6731 word keywords, suggested by Steve Pearlmutter.
6732 (verilog-pretty-declarations): Support lineup of declarations in
6734 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6735 fix bug for /* / comments.
6736 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6737 Speed up and simplfy as this is never called with a bound.
6738 (verilog-pretty-declarations): Enhance to line up declarations
6739 inside a parameter list, suggested by Alan Morgan.
6740 (verilog-pretty-expr): Tune assignment regular expression match
6741 string for corner cases; also use markers instead of character
6742 number as indent changes the later.
6744 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
6746 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6748 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6749 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
6750 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6751 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
6754 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6755 1800-2009 keywords, including "global.".
6757 2010-04-06 John Wiegley <jwiegley@gmail.com>
6759 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6760 appearing in buffer list (if a live buffer name matched a recentf
6761 file basename). Should use uniquify to offer a real solution.
6763 2010-04-06 John Wiegley <jwiegley@gmail.com>
6765 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6766 comment to code, and add a :version tag.
6767 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6769 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
6771 Enable recentf-mode if using virtual buffers.
6772 * ido.el (recentf-list): Declare for byte-compiler.
6773 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
6774 (ido-make-buffer-list): Simplify.
6775 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
6777 2010-04-05 Juri Linkov <juri@jurta.org>
6779 Scrolling commands which scroll a line instead of full screen.
6780 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6782 * simple.el (scroll-up-line, scroll-down-line): New commands.
6783 Put property isearch-scroll=t on them.
6785 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6788 2010-04-05 Juri Linkov <juri@jurta.org>
6790 Scrolling commands which do not signal errors at top/bottom.
6791 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6793 * simple.el (scroll-up-command, scroll-down-command): New commands.
6794 Put property isearch-scroll=t on them.
6796 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6797 `scroll-down-command' and [next] from `scroll-up' to
6798 `scroll-up-command'.
6800 * emulation/cua-base.el: Put property CUA=move on
6801 `scroll-up-command' and `scroll-down-command'.
6802 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6803 and `scroll-down-command' to `cua-scroll-down'.
6805 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
6807 * help.el (describe-mode): Return nil.
6809 2010-04-04 John Wiegley <jwiegley@gmail.com>
6811 * ido.el (ido-use-virtual-buffers): New variable to indicate
6812 whether "virtual buffer" support is enabled for IDO.
6813 (ido-virtual): Face used to indicate virtual buffers in the list.
6814 (ido-buffer-internal): If a buffer is chosen, and no such buffer
6815 exists, but a virtual buffer of that name does (which would be why
6816 it was in the list), recreate the buffer by reopening the file.
6817 (ido-make-buffer-list): If virtual buffers are being used, call
6818 `ido-add-virtual-buffers-to-list' before the make list hook.
6819 (ido-virtual-buffers): New variable which contains a copy of the
6820 current contents of the `recentf-list', albeit pared down for the
6821 sake of speed, and with proper faces applied.
6822 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6823 create a list of "virtual buffers" to present to the user in
6824 addition to the currently open set. Note that this logic could
6825 get rather slow if that list is too large. With the default
6826 `recentf-max-saved-items' of 200, there is little speed penalty.
6828 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6830 * font-lock.el: Require CL when compiling.
6831 (font-lock-turn-on-thing-lock): Use `case'.
6833 2010-04-03 Eli Zaretskii <eliz@gnu.org>
6835 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6838 2010-04-02 Juri Linkov <juri@jurta.org>
6840 * ehelp.el (electric-help-orig-major-mode):
6841 New buffer-local variable.
6842 (electric-help-mode): Set it to original major-mode. Doc fix.
6843 (with-electric-help): Use `electric-help-orig-major-mode' instead
6844 of (default-value 'major-mode). Doc fix.
6845 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6847 2010-04-02 Sam Steingold <sds@gnu.org>
6849 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6850 `vc-hg-command' with a list of flags.
6852 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6853 Also accept "patch" and "RFE".
6854 (bug-reference-fontify): `bug-reference-url-format' can also be a
6855 function to be able to handle the bug kind.
6856 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6858 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
6860 * tmm.el (tmm-get-keymap): Check with symbolp before passing
6861 value to fboundp, it may not be a symbol.
6863 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6865 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6867 2010-03-31 Juri Linkov <juri@jurta.org>
6869 * simple.el (next-line, previous-line): Re-throw a signal
6870 with `signal' instead of using `ding'.
6871 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6873 2010-03-31 Juri Linkov <juri@jurta.org>
6875 * simple.el (keyboard-escape-quit): Raise deselecting the active
6876 region higher than exiting the minibuffer.
6877 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6879 2010-03-31 Juri Linkov <juri@jurta.org>
6881 * image.el (image-animated-p): Use `image-metadata' instead of
6882 `image-extension-data'. Get GIF extenstion data from metadata
6883 property `extension-data'.
6885 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6887 * simple.el (append-to-buffer): Simplify.
6889 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
6891 * textmodes/artist.el (artist-mode): Fix typo in docstring.
6892 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
6894 2010-03-31 Kenichi Handa <handa@m17n.org>
6896 * language/sinhala.el (composition-function-table): Fix regexp for
6897 the new Unicode specification.
6899 * language/indian.el (devanagari-composable-pattern)
6900 (tamil-composable-pattern, kannada-composable-pattern)
6901 (malayalam-composable-pattern): Adjust for the new Unicode
6903 (bengali-composable-pattern, gurmukhi-composable-pattern)
6904 (gujarati-composable-pattern, oriya-composable-pattern)
6905 (telugu-composable-pattern): New variables to cope with the new
6906 Unicode specification. Use them in composition-function-table.
6908 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6910 Make tmm-menubar work for the Buffers menu again (bug#5726).
6911 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6912 vectors rather than cons cells, as used in menu-bar-update-buffers.
6914 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6916 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6917 (js-insert-and-indent): Revert 2009-08-15 change, restoring
6918 electric punctuation for "{}();,:" (Bug#5586).
6920 * mail/sendmail.el (mail-default-directory): Doc fix.
6922 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6924 * mail/sendmail.el (mail-default-directory): Doc fix.
6926 2010-03-31 Eli Zaretskii <eliz@gnu.org>
6928 * subr.el (version-regexp-alist, version-to-list)
6929 (version-list-<, version-list-=, version-list-<=)
6930 (version-list-not-zero, version<, version<=, version=): Doc fix.
6933 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
6935 * vc.el (vc-root-diff): Doc fix.
6937 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6939 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6941 * simple.el (append-to-buffer): Fix last change.
6943 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6945 * simple.el (append-to-buffer): Ensure that point is preserved if
6946 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
6949 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * files.el (auto-mode-case-fold): Change default to t.
6953 2010-03-30 Juri Linkov <juri@jurta.org>
6955 * dired-x.el (dired-omit-mode): Doc fix.
6957 2010-03-30 Juri Linkov <juri@jurta.org>
6959 * replace.el (occur-accumulate-lines): Move occur-engine related
6960 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6961 to be located after `occur-engine'.
6963 2010-03-30 Juri Linkov <juri@jurta.org>
6965 Make occur handle multi-line matches cleanly with context.
6966 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6968 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6969 (occur-engine): Add local variables `ret', `prev-after-lines',
6970 `prev-lines'. Use more arguments for `occur-context-lines'.
6971 Set first elem of its returned list to `data', and the second elem
6972 to `prev-after-lines'. Don't print the separator line.
6973 In the end, print remaining context after-lines.
6974 (occur-context-lines): Add new arguments `begpt', `endpt',
6975 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
6976 after-lines of the previous match with before-lines of the
6977 current match and not overlap them. Return a list with two
6978 values: the output line and the list of context after-lines.
6980 2010-03-30 Juri Linkov <juri@jurta.org>
6982 * replace.el (occur-accumulate-lines): Fix a bug where the first
6983 context line at the beginning of the buffer was missing.
6985 2010-03-30 Eli Zaretskii <eliz@gnu.org>
6987 * files.el: Make bidi-display-reordering safe variable for boolean
6990 2010-03-29 Phil Hagelberg <phil@evri.com>
6991 Chong Yidong <cyd@stupidchicken.com>
6993 * subr.el: Extend progress reporters to perform "spinning".
6994 (progress-reporter-update, progress-reporter-do-update):
6995 Handle non-numeric value arguments.
6996 (progress-reporter--pulse-characters): New var.
6998 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
7000 * progmodes/compile.el (compilation-start): Fix regexp detection
7001 of initial cd command (Bug#5771).
7003 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
7005 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7007 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
7009 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7010 * progmodes/gdb-mi.el: Restore.
7011 * progmodes/gdb-ui.el: Remove.
7012 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7014 2010-03-25 Glenn Morris <rgm@gnu.org>
7016 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7017 all dired buffers, even tramp ones. (Bug#5755)
7019 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7021 Add "union tags" in mpc.el.
7022 * mpc.el: Remove backward compatibility code.
7023 (mpc-browser-tags): Change default.
7024 (mpc--find-memoize-union-tags): New var.
7025 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7026 (mpc-cmd-find): Handle the case where the playlist does not exist.
7028 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
7029 (mpc-cmd-add): Use mpc-cmd-flush.
7030 (mpc-tagbrowser-tag-name): New fun.
7031 (mpc-tagbrowser-buf): Use it.
7032 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
7034 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7038 Use replace-regexp-in-string.
7039 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7040 (makefile-imake-mode-syntax-table): Move init into defvar.
7041 (makefile-mode): Use define-derived-mode.
7043 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7044 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7045 not be present any more.
7047 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7049 * faces.el (set-face-attribute): Fix typo in docstring.
7050 (face-valid-attribute-values): Reflow docstring.
7052 2010-03-24 Glenn Morris <rgm@gnu.org>
7054 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7056 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7058 * indent.el (indent-for-tab-command): Doc fix.
7060 2010-03-24 Alan Mackenzie <acm@muc.de>
7062 * progmodes/cc-engine.el (c-remove-stale-state-cache):
7063 Fix off-by-one error. Fixes bug #5747.
7065 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7067 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7068 (image-dired-read-comment): Doc fix.
7070 * json.el (json-object-type, json-array-type, json-key-type)
7071 (json-false, json-null, json-read-number):
7072 * minibuffer.el (completion-in-region-functions):
7073 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7074 (cal-tex-cursor-week):
7075 * emacs-lisp/trace.el (trace-function):
7076 * eshell/em-basic.el (eshell/printnl):
7077 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7078 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7079 * obsolete/levents.el (allocate-event, event-key, event-object)
7080 (event-point, event-process, event-timestamp, event-to-character)
7081 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7082 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7083 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7084 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7085 (reftex-highlight-selection): Fix typos in docstrings.
7087 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7089 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7091 2010-03-24 Glenn Morris <rgm@gnu.org>
7093 * mail/rmail.el (rmail-highlight-face): Restore option deleted
7094 2008-02-13 without comment; mark it obsolete.
7095 (rmail-highlight-headers): Use rmail-highlight-face once more.
7097 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7099 * woman.el (woman2-process-escapes): Only consume the newline if
7100 the filler character is on a line by itself (Bug#5729).
7102 2010-03-24 Kenichi Handa <handa@m17n.org>
7104 * language/indian.el (devanagari-composable-pattern): Add more
7107 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7109 * net/trampver.el: Update release number.
7111 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7113 * net/tramp.el (tramp-find-executable):
7114 Use `tramp-get-connection-buffer'. Make the regexp for checking
7115 output of "wc -l" more robust.
7116 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7117 (tramp-open-connection-setup-interactive-shell): Remove workaround
7118 for OpenSolaris bug, it is not needed anymore.
7120 2010-03-24 Glenn Morris <rgm@gnu.org>
7122 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
7124 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
7126 * files.el (auto-mode-alist): Accept more verilog file patterns.
7128 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7130 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7132 2010-03-24 Glenn Morris <rgm@gnu.org>
7134 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7135 log-edit-before-checkin-process.
7137 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7139 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7141 * vc-dispatcher.el (vc-start-logentry): Doc fix.
7142 (log-view-process-buffer, log-edit-extra-flags): Declare.
7144 * log-edit.el (log-edit-before-checkin-process): Doc fix.
7146 2010-03-23 Sam Steingold <sds@gnu.org>
7148 Fix bug#5620: recalculate all markers on compilation buffer
7149 modifications, not on file modifications.
7150 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7151 the buffer modification time, for buffers not associated with files.
7152 (compilation-mode): Create it.
7153 (compilation-filter): Update it.
7154 (compilation-next-error-function): Use it instead of
7155 `visited-file-modtime' for timestamp.
7157 2010-03-23 Juri Linkov <juri@jurta.org>
7159 Implement Occur multi-line matches.
7160 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7162 * replace.el (occur): Doc fix.
7163 (occur-engine): Set `begpt' to the beginning of the first line.
7164 Set `endpt' to the end of the last match line. At first, count
7165 line numbers between `origpt' and `begpt'. Split out code from
7166 `out-line' variable to new let-bindings `match-prefix' and
7167 `match-str'. In `out-line' add non-numeric prefix to all
7168 non-first lines of multi-line matches. Finally, count lines
7169 between `begpt' and `endpt' and add to `lines'.
7171 2010-03-23 Juri Linkov <juri@jurta.org>
7173 * replace.el (occur-accumulate-lines, occur-engine):
7174 Use `occur-engine-line' instead of duplicate code.
7175 (occur-engine-line): New function created from duplicate code
7176 in `occur-accumulate-lines' and `occur-engine'.
7178 * replace.el (occur-engine-line): Add optional arg `keep-props'.
7179 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7181 2010-03-23 Juri Linkov <juri@jurta.org>
7183 * finder.el: Remove TODO tasks.
7185 * info.el (Info-finder-find-node): Add node "all"
7186 with all package info. Handle a list of multiple keywords
7188 (info-finder): In interactive use with a prefix argument,
7189 use `completing-read-multiple' to read a list of keywords
7192 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7194 Add a new completion style `substring'.
7195 * minibuffer.el (completion-basic--pattern): New function.
7196 (completion-basic-try-completion, completion-basic-all-completions):
7198 (completion-substring--all-completions)
7199 (completion-substring-try-completion)
7200 (completion-substring-all-completions): New functions.
7201 (completion-styles-alist): New style `substring'.
7203 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7205 Get rid of .elc files after removal of the corresponding .el.
7206 * Makefile.in (compile-clean): New target.
7207 (compile-main): Use it.
7209 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
7211 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7212 don't do make there. When compiling with separate object dir, there
7213 is no Makefile there.
7215 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7217 Get rid of the ELCFILES abomination, again.
7218 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7219 (all, compile): Don't call compile-last.
7220 (compile-main): Build the "elcfiles" list dynamically.
7221 (compile-targets): New (internal) target.
7223 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
7225 * Makefile.in (top_srcdir): Define.
7226 (abs_top_builddir): Define.
7227 (srcdir): Don't append `/..'.
7228 (EMACS): Use ${abs_top_builddir}.
7229 (all, compile, compile-always, compile-last): Don't set emacswd.
7230 (update-subdirs, update-authors): Use $(top_srcdir) instead of
7232 (lisp): Use $(srcdir) instead of @srcdir@.
7234 2010-03-21 Juri Linkov <juri@jurta.org>
7236 Fix message of multi-line occur regexps and multi-buffer header lines.
7237 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7239 * replace.el (occur-1): Don't display regexp if it is longer
7240 than window-width. Use `query-replace-descr' to display regexp.
7241 (occur-engine): Don't display regexp in the buffer header for
7242 multi-buffer occur. Display a separate header line with total
7243 match count and regexp for multi-buffer occur.
7244 Use `query-replace-descr' to display regexp.
7246 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
7248 * net/secrets.el: Fix parenthesis.
7249 (secrets-enabled): Fix parenthesis.
7251 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7253 Use more relative file and directory names.
7254 * Makefile.in (EMACS): Arrange for it to work when we chdir.
7255 (setwins, setwins_almost, setwins_for_subdirs):
7256 Don't `cd'; output relative names.
7257 (all, compile, compile-always, compile-last): Set emacswd.
7258 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7259 Just cd to the lisp source dir so we can use relative file names.
7261 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7263 2010-03-20 Glenn Morris <rgm@gnu.org>
7265 * textmodes/rst.el: Use faces for font-lock customization, and make the
7266 old -face variables obsolete.
7267 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7268 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7269 (rst-block-face, rst-external-face, rst-definition-face)
7270 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7271 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7273 (rst-font-lock-keywords-function): Update for above changes.
7275 2010-03-20 Juri Linkov <juri@jurta.org>
7278 * obsolete/s-region.el: Move to obsolete.
7280 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
7282 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7284 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7286 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7288 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7290 Add special markup processing for commit logs.
7291 * log-edit.el (log-edit-extra-flags): New variable.
7292 (log-edit): Add new argument MODE. Use that mode when non-nil
7293 instead of the log-view-mode.
7294 (log-view-process-buffer): New function.
7296 * vc.el: Document that the checkin method takes optional
7297 arguments. Document new backend specific method: log-view-mode.
7298 (vc-default-log-edit-mode): New function.
7299 (vc-checkin): Use a backend specific log-view-mode.
7300 Pass extra arguments to the checkin method.
7301 (vc-modify-change-comment): Pass a dummy extra argument.
7303 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7305 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7306 (vc-finish-logentry): Process the log buffer before passing it
7307 down. Pass log-edit-extra-flags.
7309 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7311 (log-edit-extra-flags, log-edit-before-checkin-process):
7314 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7316 (log-edit-extra-flags, log-edit-before-checkin-process):
7318 (vc-hg-log-edit-mode): New derived mode.
7320 * vc-arch.el (vc-arch-checkin):
7321 * vc-cvs.el (vc-cvs-checkin):
7322 * vc-git.el (vc-git-checkin):
7323 * vc-mtn.el (vc-mtn-checkin):
7324 * vc-rcs.el (vc-rcs-checkin):
7325 * vc-sccs.el (vc-sccs-checkin):
7326 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7328 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7330 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7333 2010-03-19 Glenn Morris <rgm@gnu.org>
7335 * password-cache.el (password-cache, password-cache-expiry): Autoload.
7337 2010-03-18 Glenn Morris <rgm@gnu.org>
7339 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7341 * replace.el (query-replace-history): Give it a doc string.
7342 (map-query-replace-regexp): Use query-replace-from-history-variable
7343 and query-replace-to-history-variable.
7345 * mail/hashcash.el (declare-function): Remove duplicate definition.
7347 * mail/emacsbug.el (report-emacs-bug-pretest-address):
7348 Make it an obsolete alias for report-emacs-bug-address.
7349 (message-strip-special-text-properties): Declare.
7350 (report-emacs-bug): Remove test for a pretest bug address.
7351 Combine message-mode-specific code.
7353 * mail/supercite.el: Don't require sendmail.
7354 (mh-in-header-p): Declare rather than using with-no-warnings.
7355 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7356 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
7358 * calendar/cal-french.el: Convert to utf-8.
7360 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7363 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
7365 * net/secrets.el (secrets-enabled): New variable. Use it instead
7368 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
7370 * net/secrets.el (top): Register the D-Bus signals only when the
7371 service "org.freedesktop.secrets" can be pinged.
7372 Provide subfeature `enabled'.
7374 2010-03-14 Juri Linkov <juri@jurta.org>
7376 Add finder unknown keywords.
7378 * finder.el (finder-unknown-keywords): New function.
7380 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7381 to create a Finder node with unknown keywords.
7383 2010-03-14 Juri Linkov <juri@jurta.org>
7385 * finder.el (finder-compile-keywords): Replace `princ' with
7386 `prin1' on a list of symbols interned from keyword strings.
7388 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7389 a comma, then split keywords using a comma and optional whitespace.
7390 Otherwise, split by whitespace.
7398 * progmodes/mixal-mode.el: Fix keywords.
7400 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
7402 * Makefile.in (ELCFILES): Add net/secrets.elc.
7404 * net/secrets.el: New file.
7406 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7408 * facemenu.el (list-colors-display, list-colors-print): New arg
7409 callback. Use it to allow selecting colors.
7411 * wid-edit.el (widget-image-insert): Insert image prop even if the
7412 current display is non-graphic.
7413 (widget-field-value-set): New fun.
7414 (editable-field): Use it.
7415 (widget-field-value-get): Clean up unused var.
7416 (widget-color-value-create, widget-color--choose-action):
7417 New funs. Allow using list-colors-display to choose color.
7419 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7421 * cus-edit.el: Resort topmost custom groups.
7422 (custom-buffer-sort-alphabetically): Default to t.
7423 (customize-apropos): Use apropos-parse-pattern.
7424 (custom-search-field): New var.
7425 (custom-buffer-create-internal): Add custom-apropos search field.
7426 (custom-add-parent-links): Don't display parent doc.
7427 (custom-group-value-create): Don't sort top-level custom group.
7428 (custom-magic-value-create): Show visibility button before option name.
7430 (custom-variable-state): New fun, from custom-variable-state-set.
7431 (custom-variable-state-set): Use it.
7432 (custom-group-value-create): Hide options with standard values
7433 using the :hidden-states property. Use progress reporter.
7435 (custom-show): Simplify.
7436 (custom-visibility): Disable images by default.
7437 (custom-variable): New property :hidden-states.
7438 (custom-variable-value-create): Enable images for
7439 custom-visibility widgets. Use :hidden-states property to
7440 determine initial visibility.
7442 * wid-edit.el (widget-image-find): Give images center ascent.
7443 (visibility): Add :on-image and :off-image properties.
7444 (widget-visibility-value-create): Use them.
7446 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7448 * cus-edit.el (processes): Remove from development group.
7449 (oop, hypermedia): Delete group.
7450 (comm): Promote to top-level group.
7452 * net/browse-url.el (browse-url):
7453 * net/xesam.el (xesam):
7454 * net/tramp.el (tramp):
7455 * net/goto-addr.el (goto-address):
7456 * net/ange-ftp.el (ange-ftp): Put in comm group.
7458 * view.el (view): Remove from editing group.
7460 * uniquify.el (uniquify): Put in files group.
7462 * net/browse-url.el (browse-url):
7463 * ps-print.el (postscript): Put in external group.
7465 * cus-edit.el (outlines):
7466 * textmodes/text-mode.el (text-mode-hook):
7467 * textmodes/table.el (table):
7468 * textmodes/picture.el (picture):
7469 * outline.el (outlines): Put in wp group.
7471 * nxml/nxml-mode.el (nxml): Remove from wp group.
7473 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7475 * mail/metamail.el (metamail): Remove from hypermedia group.
7477 * cus-edit.el (abbrev):
7478 * whitespace.el (whitespace):
7479 * vcursor.el (vcursor):
7480 * reveal.el (reveal):
7481 * hl-line.el (hl-line): Put in convenience group.
7483 * epg-config.el (epg): Put in data group.
7485 * emulation/pc-select.el (pc-select): Put in emulations group.
7487 * calculator.el (calculator): Put in applications group.
7489 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7491 Add .dir-locals.el support for file-less buffers.
7492 * files.el (hack-local-variables): Split out code to apply local
7493 variable settings ...
7494 (hack-local-variables-apply): ... here. New function.
7495 (hack-dir-local-variables): Use the default directory for when the
7496 buffer does not have an associated file.
7497 (hack-dir-local-variables-non-file-buffer): New function.
7498 * diff-mode.el (diff-mode):
7499 * vc-annotate.el (vc-annotate-mode):
7500 * vc-dir.el (vc-dir-mode):
7501 * log-edit.el (log-edit-mode):
7502 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7504 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7506 Add support for shelving snapshots and for showing shelves.
7507 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7508 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7510 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7511 (vc-bzr-extra-menu-map): Map them.
7513 2010-03-11 Glenn Morris <rgm@gnu.org>
7515 * cus-edit.el (customize-changed-options-previous-release):
7518 * image.el (image-animate-max-time): Fix :version tag.
7520 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
7524 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * vc-git.el (vc-git-revision-table): Include remote branches.
7528 2010-03-10 Kim F. Storm <storm@cua.dk>
7531 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7533 * image.el (image-animate-max-time): New defcustom.
7534 (image-animated-types): New defconst.
7535 (create-animated-image, image-animate-timer)
7536 (image-animate-start, image-animate-stop, image-animate-timeout)
7537 (image-animated-p): New functions.
7539 * image-mode.el (image-toggle-display-image):
7540 Replace `create-image' with `create-animated-image'.
7542 2010-03-09 Miles Bader <miles@gnu.org>
7544 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7545 instead of "format:"; this ensures that the output is
7548 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
7550 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7551 that all errors are caught, and that the return value is always a
7554 2010-03-08 Kenichi Handa <handa@m17n.org>
7556 * language/misc-lang.el (windows-1256): New coding system.
7557 (cp1256): New alias of windows-1256 (bug#5690).
7559 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
7561 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7562 call to rfc822-bad-address. (Bug#5692)
7564 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
7566 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7567 Use vc-git-root as default directory for revision path (Bug#5657).
7569 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
7571 * calculator.el (calculator): Don't bind split-window-keep-point
7574 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7576 * vc-git.el: Re-flow to fit into 80 columns.
7577 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7578 Remove spurious `quote' element in each case alternative.
7579 (vc-git-show-log-entry): Use prog1.
7580 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7582 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7586 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
7588 * macros.el (insert-kbd-macro): Look up keyboard macro using the
7589 definition, not the name (Bug#5481).
7591 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
7593 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7594 argument with a local variable. (Bug#5670)
7596 2010-03-02 Juri Linkov <juri@jurta.org>
7598 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
7600 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
7602 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7603 error when FILENAME and NEWNAME are existing remote directories.
7605 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7608 2010-03-02 Glenn Morris <rgm@gnu.org>
7610 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7611 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7613 2010-03-01 Kenichi Handa <handa@m17n.org>
7615 * language/burmese.el (burmese-composable-pattern): Rename from
7616 myanmar-composable-pattern.
7618 * international/characters.el (script-list):
7619 * international/fontset.el (script-representative-chars):
7620 Change myanmar to burmese.
7621 (otf-script-alist): Likewise.
7622 (setup-default-fontset): Likewise. Re-fix :otf spec.
7624 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
7626 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7628 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
7630 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7632 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7634 * net/tramp.el (tramp-handle-write-region): START can be a string.
7635 Take care in the checks. Reported by Dan Davison
7636 <davison@stats.ox.ac.uk>.
7638 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7640 * net/dbus.el (dbus-introspect, dbus-get-property)
7641 (dbus-set-property, dbus-get-all-properties):
7642 Use `dbus-call-method' when noninteractive. (Bug#5645)
7644 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
7646 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7647 * emacs-lisp/elint.el (elint-add-required-env):
7648 * calendar/icalendar.el (icalendar--add-diary-entry):
7649 * calc/calcalg2.el (math-tracing-integral):
7650 * files.el (recover-session-finish): Use with-current-buffer
7651 instead of save-excursion.
7653 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
7655 Fix in-buffer completion when after-change-functions modify the buffer.
7656 * minibuffer.el (completion--replace): New function.
7657 (completion--do-completion): Use it and use relative movement.
7659 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
7661 * international/fontset.el (setup-default-fontset): Fix :otf spec.
7663 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
7665 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7666 Allow the characters _<> in the stack entry (Bug#5653).
7668 2010-02-26 Kenichi Handa <handa@m17n.org>
7670 * language/burmese.el: Fix entries in composition-function-table.
7671 (myanmar-composable-pattern): New variable.
7673 * international/fontset.el (setup-default-fontset): Add an entry
7676 * international/characters.el (script-list): Add Myanmar
7679 2010-02-26 Glenn Morris <rgm@gnu.org>
7681 * custom.el (custom-initialize-delay): Doc fix.
7683 * mail/sendmail.el (send-mail-function): Autoload the call
7684 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7686 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
7688 * files.el (hack-local-variables-filter): For eval forms, also
7689 check safe-local-variable-p (Bug#5636).
7691 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
7693 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7694 setting the modes by `ignore-errors'. It might fail, for example
7695 if the file is not owned by the user but the group.
7696 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7698 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
7700 * files.el (directory-listing-before-filename-regexp): Use
7701 stricter matching for iso-style dates, to avoid false matches with
7702 date-like filenames (Bug#5597).
7704 * htmlfontify.el (htmlfontify): Doc fix.
7706 * eshell/eshell.el (eshell): Doc fix.
7708 * startup.el (fancy-about-screen): In mode-line, apply
7709 mode-line-buffer-id face only to the buffer name (Bug#5613).
7711 2010-02-20 Kevin Ryde <user42@zip.com.au>
7713 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7714 In `watcom' anchor regexp to start of line, to avoid slowness
7717 2010-02-20 Eli Zaretskii <eliz@gnu.org>
7719 * subr.el (remove-yank-excluded-properties): Explain in a comment
7720 why `category' property is removed.
7722 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
7724 * isearch.el (isearch-update-post-hook, isearch-update): Revert
7727 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
7729 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7730 (icalendar--convert-weekly-to-ical)
7731 (icalendar--convert-yearly-to-ical)
7732 (icalendar--convert-block-to-ical)
7733 (icalendar--convert-cyclic-to-ical)
7734 (icalendar--convert-anniversary-to-ical): Take care of time
7735 specifications where hour has 1-digit only (Bug#5549).
7737 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
7739 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7740 of disassemble output in GDB 7.1.
7742 2010-02-19 Glenn Morris <rgm@gnu.org>
7744 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7745 property. (Bug#5593)
7747 2010-02-18 Sam Steingold <sds@gnu.org>
7749 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7751 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
7753 Use abbreviated file names in bookmarks (bug#5591).
7754 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7755 calls to expand-file-name.
7756 (bookmark-relocate): Use abbreviated file names in bookmarks.
7757 (bookmark-load): Use abbreviated file names in messages.
7759 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7761 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7762 expand "." and "..". Reported by Thierry Volpiatto
7763 <thierry.volpiatto@gmail.com>.
7765 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7767 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7768 permissions of the temporary file to "0600". In case the remote
7769 file has no read permissions for the owner, there might be
7770 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
7772 22010-02-18 Glenn Morris <rgm@gnu.org>
7774 * emacs-lisp/authors.el (authors-renamed-files-alist):
7775 Add entries for INSTALL.CVS.
7777 2010-02-17 Mark A. Hershberger <mah@everybody.org>
7779 * vc-bzr.el: Fix typo in Known Bugs section.
7781 * isearch.el (isearch-update-post-hook): New hook.
7782 (isearch-update): Use the new hook.
7784 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
7786 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7787 Fix errors in copying directories.
7788 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7789 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7790 (tramp-handle-delete-file)
7791 (tramp-handle-dired-recursive-delete-directory)
7792 (tramp-handle-write-region): Flush also the cache for the upper
7795 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
7797 * simple.el (save-interprogram-paste-before-kill): Doc fix.
7799 * cus-edit.el (hardware): Doc fix.
7801 * man.el (man): Add to external custom group.
7803 * delim-col.el (columns): Move to wp custom group.
7805 * doc-view.el (doc-view): Add to data custom group.
7807 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7809 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7810 by ispell-parse-output (Bug#5575).
7812 2010-02-16 Kenichi Handa <handa@m17n.org>
7814 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7815 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7816 (skkdic-convert): Use `euc-japan' coding system for writing.
7818 2010-02-16 Glenn Morris <rgm@gnu.org>
7820 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7821 tex-main-file before using it. (Bug#5562)
7823 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7826 warnings, since it is annoying for the user to see them each time he
7829 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
7831 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7832 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7833 instead of PROC for caching "first-password-request". Otherwise,
7834 new processes would not profit from passwords already entered.
7836 * net/tramp-cache.el (tramp-dump-connection-properties):
7837 Don't save "first-password-request" property.
7839 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
7841 * outline.el (outline-head-from-level):
7842 * simple.el (with-wrapper-hook):
7843 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7844 (elint-defun, elint-buffer-env, elint-top-form-logged)
7845 (elint-unbound-variable):
7846 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7847 Fix typos in docstrings.
7849 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
7851 * files.el (insert-directory): When WILDCARD-REGEXP and
7852 FULL-DIRECTORY-P are nil, insert the file entry instead of the
7853 whole directory. (Bug#5551)
7855 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
7856 dired's alignment sanity. (Bug#5516)
7858 2010-02-14 Juri Linkov <juri@jurta.org>
7860 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7861 Remove remaining ^H with their preceding chars. (Bug#5566)
7863 2010-02-13 Glenn Morris <rgm@gnu.org>
7865 * simple.el (transpose-subr): Give it a doc-string.
7867 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7870 2010-02-12 Juri Linkov <juri@jurta.org>
7872 * arc-mode.el (archive-unique-fname): Make directories for nested
7873 archives. (Bug#5540)
7875 2010-02-12 Juri Linkov <juri@jurta.org>
7877 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
7879 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * subr.el (copy-overlay): Handle deleted overlays.
7883 * man.el (Man-completion-table): Don't signal an error if we can't run
7884 manual-program (bug#4056).
7886 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
7888 * textmodes/artist.el (artist-mt): Fix typos in docstring.
7890 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7892 * info.el (Info-bookmark-jump): Simplify.
7894 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7895 (bookmark-default-handler): Accept new bookmark field `buffer'.
7897 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
7899 * iswitchb.el (iswitchb-completions): Revert last change.
7901 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
7903 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7904 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7905 This prevents file names like "~/" being listed literally.
7907 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
7909 * term/xterm.el (xterm-maybe-set-dark-background-mode):
7910 Remove dead code. (Bug#5546)
7912 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
7914 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7915 correctly (Bug#5548).
7917 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
7919 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7920 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7922 2010-02-08 Kenichi Handa <handa@m17n.org>
7924 * international/mule-util.el (with-coding-priority): Add autoload
7925 cookie for putting `lisp-indent-function'.
7927 2010-02-07 Glenn Morris <rgm@gnu.org>
7929 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7930 Move F2003 named interfaces from keywords-2 to keywords-1, and
7931 use function-name-face rather than constant-face.
7932 Simplify "abstract interface" regexp.
7934 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
7936 * eshell/esh-util.el (eshell-file-attributes): New optional arg
7937 ID-FORMAT. Pass it to `file-attributes'.
7939 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7941 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
7943 * faces.el (set-face-attribute): Allow calling
7944 internal-set-lisp-face-attribute with 'unspecified family and
7945 foundry argument (Bug#5536).
7947 2010-02-07 Glenn Morris <rgm@gnu.org>
7949 * progmodes/f90.el (f90-font-lock-keywords-2)
7950 (f90-looking-at-type-like, f90-looking-at-program-block-end):
7951 Handle F2003 named interfaces.
7953 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
7955 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7956 beg and end before calling c-get-state-before-change-functions.
7958 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
7960 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7962 2010-02-05 Juri Linkov <juri@jurta.org>
7964 * doc-view.el (doc-view-mode):
7965 * image-mode.el (image-mode): Put property mode-class=special.
7968 2010-02-05 Mark A. Hershberger <mah@everybody.org>
7970 * vc-svn.el (vc-svn-revision-table): New function.
7972 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
7974 * net/ange-ftp.el (ange-ftp-insert-directory):
7975 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7976 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7977 Handle also directories. (Bug#5478)
7979 2010-02-05 Glenn Morris <rgm@gnu.org>
7981 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7983 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
7985 * startup.el (command-line-1): Convert options beginning with a
7986 single dash as well (Bug#5519).
7988 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
7990 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7991 * minibuffer.el (completion-initials-expand): Only check the presence
7992 of delims *within* the boundaries, since otherwise the / delim is
7993 always found for files.
7995 Fix up various corner case problems.
7996 * doc-view.el (doc-view-last-page-number): New function.
7997 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7998 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7999 (doc-view-kill-proc): Avoid inf-loop in freak cases.
8000 (doc-view-reconvert-doc): Use the new recursive delete-directory.
8001 (doc-view-convert-current-doc): Don't create the resolution.el file
8003 (doc-view-pdf/ps->png): Do it here instead.
8004 (doc-view-already-converted-p): Check that resolution.el is present.
8005 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8006 windows that are not yet showing images.
8008 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
8010 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8011 `dired-uncache' for every elemnt which is an absolute file name.
8013 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8014 directory, handle its directory component.
8015 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8016 function is called permanently and creates noise, otherwise.
8018 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8019 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8020 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
8022 2010-02-04 David Burger <dburger@google.com> (tiny change)
8024 * macros.el (apply-macro-to-region-lines):
8025 Minor simplification. (Bug#5485)
8027 2010-02-04 Glenn Morris <rgm@gnu.org>
8029 * mail/rmail.el (rmail-show-message-1): Handle malformed
8030 quoted-printable text. (Bug#5441)
8032 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8034 * simple.el (visual-line-mode): Capitalize lighter.
8036 2010-02-03 John Wiegley <jwiegley@gmail.com>
8038 * iswitchb.el (iswitchb-completions): Add bookmark files to the
8039 list of files considered for "virtual buffer" completions.
8041 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
8043 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8044 also in case of (and (not full) (not wildcard)). This is needed
8045 when dired is called with a list of files, which are not in
8046 `default-directory'. (Bug#5478)
8048 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
8050 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8052 2010-02-02 Juri Linkov <juri@jurta.org>
8054 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8055 from unidiff to allow function-line after @@.
8057 2010-02-02 Juri Linkov <juri@jurta.org>
8059 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8060 '(RCS SCCS) with inverted condition.
8062 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
8064 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8067 2010-02-01 Juri Linkov <juri@jurta.org>
8069 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8070 compare with "pkunzip" and "pkzip" instead of only "pkzip".
8071 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8072 only when (car archive-zip-extract) is "unzip". (Bug#5475)
8074 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
8076 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8077 (doc-view-revert-buffer): New command.
8078 (doc-view-mode-map): Use it.
8080 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
8082 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8083 pending merge is detected.
8085 2010-01-31 Juri Linkov <juri@jurta.org>
8087 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8088 beginning of interactive spec like all other grep commands do.
8089 Put "all" in front of "gz". (Bug#5260)
8091 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
8093 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8095 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
8097 * dirtrack.el (dirtrack): Warn instead of signalling error if the
8098 regexp is incorrect (Bug#5476).
8100 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
8102 * net/tramp.el (tramp-handle-insert-directory): Handle also
8103 symlinks, when FILENAME is not in `default-directory'.
8105 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8107 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8108 FILE is not in `default-directory'. (Bug#5478)
8110 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8111 of SWITCHES. Handle the case, FILENAME is not in
8112 `default-directory'. (Bug#5478)
8113 (tramp-register-file-name-handlers): Add safe-magic property.
8115 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
8117 * arc-mode.el (archive-zip-extract): Quote the argument passed to
8120 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
8122 * progmodes/flymake.el (flymake-allowed-file-name-masks)
8123 (flymake-master-make-header-init): Add other C++ filename masks.
8124 (flymake-find-possible-master-files)
8125 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8127 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8129 Fix some busybox annoyances.
8131 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8132 not responding." string.
8133 (tramp-open-connection-setup-interactive-shell): Dump stty
8134 settings. Enable "neveropen" arg for all `tramp-send-command'
8135 calls. Handle "=" in variable values properly.
8136 (tramp-find-inline-encoding): Raise an error, when no encoding is
8138 (tramp-wait-for-output): Check, whether PROC buffer is available.
8139 Remove spurious " ^H" sequences, sent by busybox.
8140 (tramp-get-ls-command): Suppress coloring, if possible.
8142 2010-01-28 Glenn Morris <rgm@gnu.org>
8144 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
8146 * log-edit.el (log-edit-strip-single-file-name): Add missing
8147 :safe, :group, and :version tags.
8149 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
8151 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8154 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
8156 * files.el (delete-directory): Handle moving to trash without
8157 first doing recursion (Bug#5436).
8159 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
8161 * vc-hooks.el (vc-path): Mark as obsolete.
8163 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
8165 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8168 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8170 (vc-bzr-log-view-mode): Adjust regexp for the above change.
8172 2010-01-25 Mark A. Hershberger <mah@everybody.org>
8174 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8176 * vc-bzr.el (vc-bzr-revision-table): New function.
8178 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
8180 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8181 diff-index command. This requires at least git-1.5.5. (Bug#1589).
8183 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
8185 Remove support for adding --signoff on commit.
8186 Future support will use an incompatible generic mechanism.
8187 * vc-git.el (vc-git-add-signoff): Remove variable.
8188 (vc-git-toggle-signoff): Remove function.
8189 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8191 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8192 from xterm-set-background-mode. Return t if the background mode
8194 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8195 earlier, call it again in case the background mode has changed.
8197 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
8199 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8202 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
8204 * emacs-lisp/assoc.el (aelement): Doc fix.
8205 (aput, adelete, amake): Use lexical-let (Bug#5450).
8207 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
8209 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8210 is the same as subprogram call, not declaration. (Bug#5435).
8212 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
8214 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8215 (tramp-smb-maybe-open-connection): Use it.
8217 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
8219 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
8221 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8224 just because we see "encoding: 8bit".
8225 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8227 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
8229 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8231 2010-01-22 Eli Zaretskii <eliz@gnu.org>
8233 * jka-compr.el (jka-compr-load): If load-file is not in
8234 load-history, try its file-truename version. (bug#5447)
8236 2010-01-21 Alan Mackenzie <acm@muc.de>
8238 Fix a situation where deletion of a cpp construct throws an error.
8239 * progmodes/cc-engine.el (c-invalidate-state-cache):
8240 Before invoking c-with-all-but-one-cpps-commented-out, check that the
8241 special cpp construct is still in the buffer.
8242 (c-parse-state): Record the special cpp with markers, not numbers.
8244 2010-01-21 Kenichi Handa <handa@m17n.org>
8246 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8247 process last-command-event, as it is now decoded first (Bug#5380).
8249 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
8251 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8253 2010-01-20 Glenn Morris <rgm@gnu.org>
8255 * indent.el (tab-always-indent): Fix custom-type.
8257 2010-01-19 Alan Mackenzie <acm@muc.de>
8259 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8260 buffer throws "args out of range".
8261 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8262 playing the role of delimiter.
8264 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
8266 * progmodes/ada-mode.el: Fix bug#5400.
8267 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8268 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8269 changed. Delete RECURSIVE parameter; never used. Improve doc string.
8270 Improve comments in "is" portion. Handle null procedure declaration.
8271 (ada-move-to-end): Improve doc string.
8273 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
8275 * ido.el (ido-cur-list): Initialize to nil.
8276 Remove obsolete information from commentary.
8277 (ido-choice-list): Initialize to nil.
8278 (ido-get-bufname): Reject minibuffers.
8279 (ido-make-buffer-list): If "default" is a nonexistent
8280 buffer, ignore it, as per the function's comment.
8281 (ido-kill-buffer-internal): New function.
8282 (ido-kill-buffer-at-head): Use it.
8283 (ido-visit-buffer): Likewise.
8285 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
8287 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8289 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
8291 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8292 Fix typos in chart titles.
8294 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8295 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8296 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8297 (describe-class, eieio-describe-generic, describe-generic):
8298 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8299 (eieio-speedbar-expand):
8300 * emulation/viper-cmd.el (viper-exec-form-in-vi)
8301 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8302 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8303 (viper-del-backward-char-in-replace, viper-backward-indent)
8304 (viper-brac-function, viper-register-to-point, viper-submit-report):
8305 * net/tramp.el (tramp-remote-coding-commands):
8306 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8307 Fix typos in docstrings.
8309 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
8311 * mail/sendmail.el (mail-yank-original): Set the mark if the
8312 specified function for yanking does not do it.
8314 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
8316 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
8318 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8319 resyncing a directory.
8321 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
8323 * progmodes/ada-mode.el: Fix bug#1920.
8324 (ada-ident-re): Delete ., allow multibyte characters.
8325 (ada-goto-label-re): New; matches goto labels.
8326 (ada-block-label-re): New; matches block labels.
8327 (ada-label-re): New; matches both.
8328 (ada-named-block-re): Deleted; callers changed to use
8329 `ada-block-label-re' instead.
8330 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8331 Use `ada-block-label-re'.
8332 (ada-indent-on-previous-lines): Improve handling of goto labels.
8333 (ada-get-indent-block-start): Special-case block label.
8334 (ada-get-indent-label): Split into `ada-indent-block-label' and
8335 `ada-indent-goto-label'.
8336 (ada-goto-stmt-start, ada-goto-next-non-ws):
8337 Optionally ignore goto labels.
8338 (ada-goto-next-word): Simplify.
8339 (ada-indent-newline-indent-conditional): Insert newline before
8340 trying to fix indentation; doc fix.
8342 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
8344 * calc/calc.el (calc-command-flags): Give it an initial value.
8346 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
8348 * files.el (minibuffer-with-setup-hook):
8349 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8350 (artist-key-draw-continously, artist-key-do-continously-continously)
8351 (artist-key-set-point-continously, artist-mouse-draw-continously):
8352 Fix typos in docstrings.
8354 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
8356 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8357 return t (Bug#3898).
8359 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
8361 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8362 can parse the output of the external commands (Bug#5279).
8364 2010-01-16 Jari Aalto <jari.aalto@cante.net>
8366 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8368 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
8370 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8372 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8374 * startup.el (command-line): Remove unused --icon-type arg.
8375 Handle --display arg, passing it to command-line-1 (Bug#5392).
8377 2010-01-16 Mario Lang <mlang@delysid.org>
8379 * emacs-lisp/chart.el (chart-translate-namezone):
8380 * textmodes/artist.el (artist-compute-popup-menu-table):
8381 Remove duplicated words in doc-strings.
8383 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
8385 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8386 to mairix-search to suppress threading (Bug#5342).
8388 2010-01-15 Kenichi Handa <handa@m17n.org>
8390 * international/mule-cmds.el (canonicalize-coding-system-name):
8391 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8393 2010-01-15 Glenn Morris <rgm@gnu.org>
8395 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
8397 * wid-edit.el (widget-keymap): Doc fix.
8399 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8400 former seems to be more widely accepted by various svn versions.
8402 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8404 * find-cmd.el (find-constituents):
8405 * vc-arch.el (vc-arch-root):
8406 * window.el (window-body-height, pop-up-frames):
8407 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8408 * progmodes/ada-stmt.el (ada-if):
8409 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8410 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8411 (ispell-encoding8-command, ispell-aspell-supports-utf8)
8412 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8414 * progmodes/flymake.el (flymake-post-syntax-check):
8415 Fix typo in error message.
8417 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8419 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8420 which is always a string. (Bug#5313)
8422 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8424 * progmodes/ada-xref.el (ada-default-prj-properties):
8425 Simplify previous change.
8427 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8429 * progmodes/ada-xref.el (ada-default-prj-properties):
8430 Default ada_project_path to $ADA_PROJECT_PATH.
8432 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8434 * progmodes/ada-mode.el (ada-create-keymap):
8435 Override `narrow-to-defun' with `ada-narrow-to-defun'.
8437 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8439 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8440 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8441 (ada-get-current-indent, ada-imenu-generic-expression)
8442 (ada-which-function): Check for it.
8444 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8446 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8447 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8449 2010-01-14 Glenn Morris <rgm@gnu.org>
8451 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
8453 2010-01-14 Kenichi Handa <handa@m17n.org>
8455 * composite.el (auto-composition-mode): Make it a buffer local
8456 variable (permanent-local).
8457 (auto-composition-function): Set the default value to
8459 (auto-composition-mode): Make it a simple function, not a minor mode.
8460 (global-auto-composition-mode): Likewise.
8461 (turn-on-auto-composition-if-enabled): Delete it.
8463 2010-01-13 Karl Fogel <kfogel@red-bean.com>
8465 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8467 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8469 * files.el (copy-directory): Compute target for recursive
8470 directories with identical names. (Bug#5343)
8472 2010-01-12 Glenn Morris <rgm@gnu.org>
8474 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8475 it to bug-gnu-emacs rather than emacs-pretest-bug.
8477 2010-01-11 Sam Steingold <sds@gnu.org>
8479 * imenu.el (imenu-default-create-index-function): Detect infinite
8480 loops caused by imenu-prev-index-position-function.
8482 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8484 * htmlfontify.el (htmlfontify-load-rgb-file)
8485 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8486 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8487 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8488 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8489 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8490 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8491 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8492 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8493 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8494 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8495 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8496 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8497 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8498 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8499 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8500 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8501 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8502 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8503 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8504 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8505 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8506 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8507 backslash-quoting from parentheses, etc.
8509 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8511 * progmodes/js.el: Autoload javascript-mode alias.
8513 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8515 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8516 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8517 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8518 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8519 Fix typos in docstrings.
8520 (ffap-url-regexp): Doc fix.
8521 (ffap-at-mouse): Fix typo in message.
8523 2010-01-11 Glenn Morris <rgm@gnu.org>
8525 * version.el (emacs-copyright): Set copyright year to 2010.
8527 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
8529 * format.el (format-annotate-function): Only set
8530 write-region-post-annotation-function after running to-fn so as not to
8531 affect nested write-region calls (bug#5273).
8533 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
8535 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8538 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8540 * man.el (Man-goto-section): Signal error if the section is not
8543 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
8545 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8546 URLs with a leading triple slash in the file: scheme. (Bug#5345)
8548 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8550 * progmodes/compile.el: Don't treat compile-command as safe if
8551 compilation-read-command might be nil (Bug#4218).
8553 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
8555 * startup.el (command-line-1): Use orig-argi to check for ignored X and
8558 2010-01-08 Kenichi Handa <handa@m17n.org>
8560 * international/fontset.el (build-default-fontset-data):
8561 Exclude characters in scripts kana, hangul, han, or cjk-misc.
8563 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
8565 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8566 to `create-file-buffer' as it expects, not just a buffer name.
8567 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8568 to help uniquify. (Bug#3224)
8570 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
8572 * font-setting.el (font-setting-change-default-font): Use user-spec
8575 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
8577 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8579 2010-01-05 Tom Tromey <tromey@redhat.com>
8581 * progmodes/python.el (python-font-lock-keywords):
8582 Handle qualified decorators (Bug#881).
8584 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8586 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8587 in a lightweight checkout.
8589 2010-01-05 Kenichi Handa <handa@m17n.org>
8591 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8593 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8595 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8597 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
8599 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8600 checkouts. (Bug#618)
8601 (vc-bzr-log-view-mode): Also highlight the author.
8602 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8603 (vc-bzr-shelve-menu-map):
8604 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8605 (vc-bzr-shelve-apply): Make prompt more explicit.
8607 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8609 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8610 They are valid characters in URL paths (rfc3986), and at least
8611 Firefox does not understand the encoded version (Bug#3166).
8613 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
8615 * progmodes/octave-mod.el (octave-end-keywords)
8616 (octave-block-begin-or-end-regexp, octave-block-match-alist):
8617 Add "end" keyword (Bug#3061).
8618 (octave-end-as-array-index-p): New function.
8619 (calculate-octave-indent): Use it.
8621 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8623 * bookmark.el: Consistently put the text property on the bookmark name.
8624 (bookmark-bmenu-marks-width): Bump back to 2, to include
8626 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8627 property on the bookmark name, instead of not putting it at all.
8628 (bookmark-bmenu-list): Fix where we put the text property.
8630 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8632 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8633 for showing buffer modified state (as added in the previous change).
8635 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8637 * bookmark.el: Show modified state of bookmark buffer more accurately.
8638 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8639 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8640 (with-buffer-modified-unmodified): New macro.
8641 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8642 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8643 Use new macro to preserve the buffer modified state.
8645 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8647 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8648 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
8649 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
8650 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
8651 (bookmark-bmenu-rename, bookmark-bmenu-locate)
8652 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8653 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8655 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8657 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8658 Make the lines in the generated doc string shorter. (Bug#4668)
8660 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
8662 * net/rcirc.el: Add follow-link binding (Bug#4738).
8664 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8666 * Makefile.in (bzr-update): Rename from cvs-update.
8667 (cvs-update): New target for backward compatibility.
8669 * makefile.w32-in (bzr-update): Rename from cvs-update.
8670 (cvs-update): New target for backward compatibility.
8672 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8674 * bookmark.el: Remove gratuitous gratitude.
8676 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8678 * bookmark.el (bookmark-bmenu-any-marks): New function.
8679 (bookmark-bmenu-save): Clear buffer modification if no marks.
8681 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8683 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8684 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8685 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8686 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8688 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8689 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8690 To: emacs-devel {_AT_} gnu.org
8691 Subject: bookmark.el bug report
8692 Date: Mon, 28 Dec 2009 14:19:16 +0800
8693 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8695 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8697 * bookmark.el: Improvements suggested by Drew Adams:
8698 (bookmark-bmenu-ensure-position): New name for
8699 `bookmark-bmenu-check-position'. Just ensure the position,
8700 don't return any meaningful value.
8701 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8704 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
8706 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8707 (bookmark-yank-point, bookmark-bmenu-check-position):
8708 Fix typos in docstrings.
8709 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8710 (bookmark-name-from-full-record, bookmark-get-position)
8711 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8712 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8713 Remove useless quoting of parenthesis, etc. in docstrings.
8715 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8716 (ediff-append-custom-diff): Fix typo in error message.
8717 (ediff-meta-mark-equal-files): Fix typos in messages.
8719 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8721 * net/imap-hash.el (imap-hash-make): Doc fix.
8722 (imap-hash-test): Fix typo in error message; reflow docstring.
8723 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8724 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8725 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8726 Fix typos in docstrings.
8727 (imap-hash-open-connection): Fix typo in error message.
8729 * play/gomoku.el (gomoku): Fix typos in docstring.
8731 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8732 (gdb-jsonify-buffer): Fix typos in docstring.
8733 (gdb-goto-breakpoint): Fix typo in error message.
8734 ("Display Other Windows"): Fix typo in help message.
8735 (gdb-speedbar-expand-node): Fix typo in question.
8737 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8738 (idlwave-html-system-help-location, idlwave-html-help-location)
8739 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8740 (idlwave-help-browser-generic-args, idlwave-help-directory)
8741 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8742 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8743 (idlwave-online-help, idlwave-help-html-link)
8744 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8745 Fix typos in docstrings.
8746 (idlwave-help-with-source, idlwave-help-find-routine-definition):
8748 (idlwave-help-assistant-start): Fix typo in error message.
8750 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8751 (octave-electric-space): Fix typos in docstrings.
8753 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
8755 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8757 2010-01-01 Juri Linkov <juri@jurta.org>
8759 * comint.el (comint-input-ring-size): Make it a defcustom and
8760 increase the default to 500 (Bug#5148).
8762 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
8764 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8765 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8766 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8768 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
8770 Show working revision correctly for mercurial.
8771 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8772 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8774 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
8776 Declare some functions for the byte-compiler.
8777 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8778 (speedbar-timer-fn, speedbar-change-expand-button-char)
8779 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8781 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
8783 This changeset reverts GDB Graphical Interface to use annotations.
8784 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8786 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
8788 Make vc-dir work on subdirectories of the bzr root.
8789 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
8790 file names relative to it.
8791 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8792 relative directory to vc-bzr-after-dir-status.
8794 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
8796 * font-lock.el (font-lock-refresh-defaults): New function, which
8797 can be used to let font-lock react to external changes in
8798 variables like font-lock-defaults and keywords.
8799 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8801 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
8803 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8805 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8807 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
8809 Supersede color.diff settings in git log (bug#5211).
8811 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8812 escape chars in its output when the user has color.diff set to `always'.
8813 This fix works on git 1.4.2 and newer (released on 2006-08-13).
8815 2009-12-26 Kevin Ryde <user42@zip.com.au>
8817 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8818 node. Keep previous "Index" name to work with past coreutils too.
8820 * man.el (man): Revise docstring a bit to show -a and -l as
8821 examples. Add -k description since support for it has otherwise
8822 been a secret. (Further to bug#3717.)
8823 (Man-bgproc-sentinel): When "-k foo" produces no output show error
8824 "no matches" rather than "Can't find manpage", as the latter reads
8825 like -k was interpreted as a page name, which is not so. (Bug#5431)
8827 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
8829 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8830 switches. Check also for //SUBDIRED// line.
8832 2009-12-25 Kenichi Handa <handa@m17n.org>
8834 * language/indian.el (devanagari-composable-pattern): Fixed to
8835 handle ZWNJ and ZWJ. Use it in composition-function-table for
8837 (malayalam-composable-pattern): Fix previous change.
8839 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8841 * ps-print.el (ps-face-attributes): It was not returning the
8842 attribute face for faces specified as string. Reported by harven
8843 <harven@free.fr>. (Bug#5254)
8844 (ps-print-version): New version 7.3.5.
8846 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
8848 * calendar/icalendar.el (icalendar--convert-tz-offset):
8850 (icalendar--convert-tz-offset): Fix the "last-day-problem".
8851 (icalendar--add-diary-entry): Remove the trailing blank that
8852 diary-make-entry inserts.
8854 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
8856 Make `file-expand-wildcards' work for remote files.
8858 * files.el (file-expand-wildcards): In case of remote files, check
8859 only local file name part for wildcards. Provide feature 'files
8860 and subfeature 'remote-wildcards. (Bug#5198)
8862 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8863 if there is already an established connection.
8864 (tramp-advice-file-expand-wildcards): Remove it.
8866 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8867 (tramp-advice-file-expand-wildcards): Move from tramp.el.
8868 Activate advice for older GNU Emacs versions. (Bug#5237)
8870 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
8872 Some doc fixes (more needed).
8874 * find-cmd.el (find-constituents): Reflow docstring.
8875 (find-cmd, find-prune, find-command): Fix typos in docstrings.
8876 (find-generic): Doc fix.
8878 2009-12-17 Juri Linkov <juri@jurta.org>
8880 Fix regression from 23.1 to allow multiple modes in Local Variables.
8882 * files.el (hack-local-variables-filter): While ignoring duplicates,
8883 don't take `mode' into account.
8884 (hack-local-variables-filter, hack-dir-local-variables):
8885 Don't remove duplicate `mode' from local-variables-alist (like `eval').
8887 2009-12-17 Juri Linkov <juri@jurta.org>
8889 Make `dired-diff' safer. (Bug#5225)
8891 * dired-aux.el (dired-diff): Signal an error when `file' equals to
8892 `current' or when `file' is a directory of the `current' file.
8894 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
8896 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8897 unconditionally preloaded files.
8899 2009-12-16 Juri Linkov <juri@jurta.org>
8901 Revert to old 23.1 logic of using the file at the mark as default.
8902 * dired-aux.el (dired-diff): Use the file at the mark as default
8903 if it's not the same as the current file, and the target dir is
8904 the current dir or the mark is active. Add the current file
8905 as the arg of `dired-dwim-target-defaults'. Use the default file
8906 in the prompt. (Bug#5225)
8908 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
8910 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8911 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8912 (tramp-check-for-regexp): Check also, when an echoing shell stops
8913 to echo sent commands.
8915 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8917 * Makefile.in: Revert last change (Bug#5191).
8919 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
8921 * vc-hg.el (vc-hg-print-log): Fix argument order.
8922 (vc-hg-working-revision): Make sure the command is executed in a
8923 known environment so that we can parse the output. (Bug#4417)
8925 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8927 * progmodes/python.el (python-symbol-completions): Remove text
8928 properties from symbol string before calling python-send-receive.
8930 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
8932 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8933 when there are values for both file and line. (Bug#5060)
8935 2009-12-14 Juri Linkov <juri@jurta.org>
8937 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8938 whitespace after the file name of the first line of unified format,
8939 because git-diff doesn't output whitespace and file modification time
8940 after the file name.
8942 2009-12-14 David Kastrup <dak@gnu.org>
8944 * info.el (Info-hide-cookies-node): Before hiding a cookie,
8945 check if it already has the `display' property added by
8946 `Info-display-images-node', and not put the `invisible' property
8949 2009-12-13 Glenn Morris <rgm@gnu.org>
8951 * mail/emacsbug.el (message-sort-headers): Define for compiler.
8952 (report-emacs-bug): In message-mode, sort manually before storing
8953 original report text. (Bug#5178)
8954 Remove superfluous save-excursion.
8956 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
8958 * net/dbus.el (dbus-property-handler): Filter lambda forms out
8959 when responding to "GetAll" properties.
8961 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
8963 * simple.el (compose-mail): Remove mail-setup-with-from from
8964 customization checks.
8966 2009-12-12 Eli Zaretskii <eliz@gnu.org>
8968 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8969 RAR archives created on Unix systems.
8971 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8974 the varalias that was accidentally removed by the 2009-11-19 change
8977 2009-12-12 Kenichi Handa <handa@m17n.org>
8979 * language/indian.el (indian-compose-regexp): New function.
8980 (malayalam-composable-pattern): Fix the pattern.
8981 (composition-function-table): Set malayalam-composable-pattern for
8982 Malayalam characters.
8984 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
8986 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8987 rather than down-mouse-1, based on follow-link conventions.
8989 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8992 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
8994 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8995 (verilog-vmm-statement-re, verilog-ovm-statement-re)
8996 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8997 (verilog-leap-to-head, verilog-backward-token):
8998 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
9000 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
9002 * progmodes/verilog-mode.el (verilog-auto-lineup)
9003 (verilog-nameable-item-re): Cleanup user-visible spelling and
9004 documentation errors. One reported by Gary Delp.
9005 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9006 (verilog-read-decls): Fix AUTOWIRE with types declared in a
9007 package, bug195. Reported by Pierre-David Pfister.
9009 2009-12-11 Glenn Morris <rgm@gnu.org>
9011 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9013 * mail/emacsbug.el: No longer require sendmail.
9014 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
9015 (report-emacs-bug-orig-text): Doc fix.
9016 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9017 New local variables, to adapt to different mail-user-agents.
9018 (report-emacs-bug): Fix test for a gnu.org address.
9019 Use overlays for emphasis, since font-lock defeats 'face property.
9020 Pretest bugs also end up at the newsgroup these days.
9021 Stop message-mode stripping text properties.
9022 Set and use the new buffer-local variables.
9023 (report-emacs-bug-hook): Add doc-string.
9024 Remove some unnecessary save-excursions and simplify.
9025 Use the appropriate hook and send-command.
9027 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9028 capitalization of some menu entries.
9030 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9032 * whitespace.el (whitespace-display-char-on):
9033 Ensure `buffer-display-table' is unique when two or more windows are
9034 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9037 2009-12-10 Eli Zaretskii <eliz@gnu.org>
9039 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9040 characters in the Attribute field.
9042 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
9044 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
9046 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
9048 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9049 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9050 Disregard autoload-excludes.
9051 (update-directory-autoloads): Obey autoload-excludes here instead.
9052 But don't store its contents in no-autoloads and remove entries that
9053 refer to excludes files.
9055 2009-12-10 Glenn Morris <rgm@gnu.org>
9057 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9058 (expand-mail-aliases): Define for compiler.
9060 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9061 Define for compiler.
9063 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9064 appropriate for the mail-user-agent in use.
9066 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
9068 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9070 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
9072 Fix short log parsing and fontification.
9073 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9074 Fix fontification for the [merge] label.
9076 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
9078 Drop some properties to avoid surprises (bug#5002).
9079 * htmlfontify.el (hfy-ignored-properties): New defcustom.
9080 (hfy-fontify-buffer): Use it.
9082 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
9085 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9087 (ffap-locate-file): Remove unused arg `dir-ok' and make other
9088 args compulsory. Adjust callers.
9089 (ffap-gopher-at-point): Remove unused var `name'.
9091 Get rid of the ELCFILES abomination.
9092 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9093 (compile-elcfiles): New phony target.
9094 (compile-main): Compute ELCFILES dynamically.
9095 (compile-clean): New target to remove left-over elc files.
9096 (compile, all): Use it.
9098 2009-12-09 Kenichi Handa <handa@etlken>
9100 * international/mule-diag.el: Require help-mode instead of help-fns.
9102 2009-12-09 Kenichi Handa <handa@m17n.org>
9104 * international/mule-cmds.el (ucs-names): Supply sufficiently
9105 fine ranges instead of pre-calculating accurate ranges.
9106 Iterate with bigger gc-cons-threshold.
9108 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
9110 Add support for stashing a snapshot of the current tree.
9111 * vc-git.el (vc-git-stash-snapshot): New function.
9112 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9114 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
9116 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9117 instead of `(beginning|end)-of-line'.
9119 2009-12-08 Glenn Morris <rgm@gnu.org>
9121 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9123 * Makefile.in (ELCFILES): Regenerate.
9125 2009-12-07 Juri Linkov <juri@jurta.org>
9127 Don't lazy-highlight the comint output in history Isearch mode.
9129 * comint.el (comint-history-isearch-search): Instead of
9130 `comint-line-beginning-position', use `comint-after-pmark-p'
9131 to check if point if before the process mark, and go to
9132 `process-mark' in this case.
9134 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9136 * textmodes/tex-mode.el (latex-complete)
9137 (latex-indent-or-complete): Remove.
9138 (latex-mode): Set completion-at-point-functions instead.
9140 Provide a standard completion command and hook it into TAB.
9141 * minibuffer.el (completion-at-point-functions): New var.
9142 (completion-at-point): New command.
9143 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9144 * progmodes/python.el (python-mode-map): Use completion-at-point.
9145 (python-completion-at-point): Rename from python-partial-symbol and
9146 adjust for use in completion-at-point-functions.
9147 (python-mode): Setup completion-at-point for Python completion.
9148 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9149 extracted from lisp-complete-symbol.
9150 (lisp-complete-symbol): Use it.
9151 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9152 setup completion-at-point for Elisp completion.
9153 (emacs-lisp-mode-map, lisp-interaction-mode-map):
9154 Use completion-at-point.
9155 * ielm.el (ielm-map): Use completion-at-point.
9156 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9157 * progmodes/sym-comp.el: Move to...
9158 * obsolete/sym-comp.el: Move from progmodes.
9160 2009-12-07 Eli Zaretskii <eliz@gnu.org>
9162 Prevent save-buffer in Rmail buffers from using the coding-system
9163 of the current message, and from clobbering the encoding mnemonics
9164 in the mode line (Bug#4623).
9166 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9168 (rmail-message-encoding): New variable.
9169 (rmail-write-region-annotate): Record the encoding of the current
9170 message in rmail-message-encoding.
9171 (rmail-after-save-hook): New function, restores the encoding of
9172 the current message after the message collection is saved.
9174 2009-12-07 Juri Linkov <juri@jurta.org>
9176 * progmodes/grep.el (grep-read-files): Use `completing-read'
9177 instead of `read-string'. Set its `collection' arg to
9178 `read-file-name-internal'. (Bug#4301)
9180 2009-12-07 Juri Linkov <juri@jurta.org>
9182 Correctly restore original Isearch point. (Bug#4994)
9184 * isearch.el (isearch-mode): Move `isearch-push-state' after
9185 `(run-hooks 'isearch-mode-hook)'.
9186 (isearch-cancel): When `isearch-push-state-function' is defined,
9187 let-bind `isearch-cmds' to the first state (the last element of
9188 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9189 function and restores the original point). Otherwise, move point
9190 to `isearch-opoint'.
9192 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9194 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9195 chars that don't have names, so the table can be built much faster at
9198 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
9200 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9201 change. Suggested by David Kastrup.
9203 * simple.el (compose-mail): Check for incompatibilities and warn.
9204 (compose-mail-user-agent-warnings): New option.
9206 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9208 Support showing a single log entry from vc-annotate.
9209 * vc.el (print-log): Add a new argument: START-REVISION.
9210 (vc-print-log-internal): Add a new optional argument and
9211 pass it to the backend.
9212 (vc-print-log, vc-print-root-log): Adjust callers.
9213 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9214 buffer already displays the requested log entry, use it.
9215 Otherwise display only the log entry in question.
9216 * vc-svn.el (vc-svn-print-log):
9217 * vc-mtn.el (vc-mtn-print-log):
9218 * vc-hg.el (vc-hg-state):
9219 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9220 (vc-git-show-log-entry): Return t on success.
9221 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9222 (vc-bzr-show-log-entry): Return t on success.
9223 * vc-rcs.el (vc-rcs-print-log):
9224 * vc-sccs.el (vc-sccs-print-log):
9225 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9227 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9229 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9230 Add menus to the meta mode. (Bug#5043)
9232 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
9234 * ediff-init.el (ediff-event-key): Use event-to-character instead of
9237 * ediff.el (ediff-buffers-internal): Add unwind-protect.
9239 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
9241 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
9242 Berbain <raphael.berbain@gmail.com>.
9244 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
9246 (tramp-initial-end-of-output): New defconst.
9247 (tramp-methods, tramp-find-shell)
9248 (tramp-open-connection-setup-interactive-shell)
9249 (tramp-maybe-open-connection): Use it.
9250 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9251 existence of `#' and `$'.
9253 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9254 `tramp-initial-end-of-output'.
9256 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9258 Get the background mode from the terminal for xterm, and set
9260 * term/xterm.el (xterm-set-background-mode): New function.
9261 (terminal-init-xterm): Use it in case xterm supports background
9262 color queries. Recompute faces after getting the background
9265 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
9267 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9268 number comment back on its own line, for easier parsing.
9270 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9272 Make it work for non-file buffers (bug#5102).
9273 * doc-view.el (doc-view-current-cache-dir):
9274 Use doc-view-buffer-file-name rather than buffer-file-name.
9275 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9277 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
9279 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9280 author field is too short.
9282 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
9284 * vc-git.el (vc-git-print-log): Handle a limit argument.
9285 Display the short log in graph form and with labels.
9286 (vc-git-log-view-mode): Handle labels.
9288 Make vc-revert change VC state from 'added to 'unregistered.
9289 * vc-git.el (vc-git-revert): Call git reset first.
9291 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9293 * net/newst-backend.el, net/newst-plainview.el:
9294 * net/newst-reader.el, net/newst-ticker.el:
9295 * net/newst-treeview.el, net/newsticker.el:
9296 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
9298 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9300 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9302 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9303 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
9304 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9305 Update annotation regexp.
9307 * simple.el (beginning-of-visual-line): Constrain to field
9308 boundaries (Bug#5106).
9310 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9312 * xml.el (xml-substitute-numeric-entities): Move
9313 newsticker--decode-numeric-entities in newst-backend.el to
9314 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9315 * net/newst-backend.el (newsticker--parse-generic-feed)
9316 (newsticker--parse-generic-items)
9317 (newsticker--decode-numeric-entities): Move
9318 newsticker--decode-numeric-entities in newst-backend.el to
9319 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9321 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
9323 * progmodes/js.el (js--js-not): Add null to the list of values.
9325 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9327 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9329 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9331 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9332 delimiter if it is at the end of the current line.
9333 (bibtex-generate-url-list): Fix docstring.
9335 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9337 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9338 minibuffer's content with itself.
9339 Fold the confirm-after-completion case into the `confirm' case.
9340 (completion-pcm-word-delimiters): Add : and / to the delimiters.
9342 2009-12-06 Kevin Ryde <user42@zip.com.au>
9344 * ffap.el (ffap-rfc-path): Make this a defcustom since
9345 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
9347 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9348 manuals, similar to existing setup for help-mode. (Bug#3913.)
9350 2009-12-05 Juri Linkov <juri@jurta.org>
9352 Save and restore dired buffer's point positions too. (Bug#4880)
9354 * dired.el (dired-save-positions): Return in the first element
9355 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9357 (dired-restore-positions): First restore buffer's position.
9358 While restoring window's positions, check if window still displays
9359 the original buffer.
9361 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
9363 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9366 * shell.el (shell): Require ansi-color (Bug#5113).
9368 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9370 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9372 2009-12-05 Alan Mackenzie <acm@muc.de>
9374 * progmodes/cc-mode.el (c-before-hack-hook)
9375 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9376 `c-file-style' to work again. This reversion restores the current
9377 software to its state in Emacs 23.1. (Bug#4146)
9379 2009-12-05 Kevin Ryde <user42@zip.com.au>
9381 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9382 comment-start-skip to comment-end-skip as comment (Bug#4781).
9384 2009-12-05 Juri Linkov <juri@jurta.org>
9386 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9387 for virtual nodes. (Bug#4147)
9388 (Info-find-node-2): Set `Info-current-node-virtual' to nil
9389 when moving from a virtual node.
9390 (Info-mode-menu): Add `Info-virtual-index' to the menu.
9391 (Info-mode): Add `Info-virtual-index' to the docstring.
9393 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9395 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9396 track of the buffer position of the end of a BibTeX entry as this
9397 position may change during reformatting.
9398 (bibtex-format-entry): Remove whitespace before processing
9399 numerical fields so that we recognize the latter properly.
9400 (bibtex-reformat): Do not use push which changes the global value
9401 of bibtex-entry-format.
9402 (bibtex-field-braces-alist, bibtex-field-strings-alist)
9403 (bibtex-field-re-init): Replace only space characters by regexp
9405 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9406 (bibtex-initialize): Also update bibtex-strings.
9407 (bibtex-kill-field): Preserve white space at end of entry.
9408 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9409 Update bibtex-reference-keys.
9411 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
9413 * minibuffer.el (completion-pcm--merge-try): Also consider placing
9414 point after a star, if that's the only place where modifications can
9417 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
9419 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9422 2009-12-04 Juri Linkov <juri@jurta.org>
9424 * proced.el (proced): Call `(proced-update t)' to update process
9425 information instead of only running proced-post-display-hook.
9426 (proced-send-signal): Add a leading space to the buffer name
9427 " *Marked Processes*" to make this buffer ephemeral.
9429 2009-12-04 Juri Linkov <juri@jurta.org>
9431 * dired.el (dired-auto-revert-buffer): New defcustom.
9432 (dired-internal-noselect): Use it.
9434 2009-12-04 Juri Linkov <juri@jurta.org>
9436 Change roles of modes and functions in image-mode.el (Bug#5062).
9438 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9439 in `auto-mode-alist'.
9440 (image-mode-previous-major-mode): New variable.
9441 (image-minor-mode-map): Rename from `image-mode-text-map'.
9442 (image-mode): Move graceful error-handling code from
9443 `image-minor-mode' to here. On errors call `image-mode-as-text'.
9444 (image-minor-mode): Remove all image-handling code.
9445 Replace `image-mode-text-map' with `image-minor-mode-map'.
9446 Check for `image-type' in mode-line format string.
9447 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9448 (image-mode-as-text): New function with most code from
9450 (image-toggle-display-text): Move code that removes image
9451 properties from `image-toggle-display' to here.
9452 (image-toggle-display-image): New function with code that adds
9453 image properties copied from `image-toggle-display'.
9454 (image-toggle-display): Remove most code with leaving only code
9455 that toggles between `image-mode-as-text' and `image-mode'.
9457 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
9459 * net/newst-treeview.el
9460 (newsticker--treeview-list-highlight-start): Restored call to
9461 save-excursion: Selected item was stuck.
9462 (newsticker--treeview-list-select): New.
9463 (newsticker--treeview-item-show-text)
9464 (newsticker--treeview-item-show)
9465 (newsticker--treeview-item-update): Use new
9466 newsticker-treeview-item-mode.
9467 (newsticker-treeview-update): Keep current item.
9468 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9469 (newsticker--treeview-first-feed): Doc change.
9470 (newsticker-treeview-list-menu)
9471 (newsticker-treeview-item-menu): Added menu entries.
9472 (newsticker-treeview-item-mode): New.
9474 * net/newst-backend.el (newsticker-customize): Delete other
9477 2009-12-04 Sam Steingold <sds@gnu.org>
9479 * log-view.el (log-view-mode-map): "q" calls quit-window,
9480 like in all the other non-self-insert buffers.
9482 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9486 key decoding rather than do it manually via last-input-event +
9488 (term-exec): Use delete-and-extract-region.
9489 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9490 (term-process-pager): Remove unused var `i'.
9491 (term-dynamic-simple-complete): Make obsolete.
9492 (serial-update-config-menu): Remove unused vars `y' and `str'.
9493 (term-update-mode-line): Remove unused var `temp'.
9495 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9497 Limit the number of log entries displayed by default.
9498 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9499 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9500 using a prefix argument.
9502 2009-12-03 Glenn Morris <rgm@gnu.org>
9504 * progmodes/idlwave.el (class): Restore still useful declaration.
9506 2009-12-03 Alan Mackenzie <acm@muc.de>
9508 Enhance `c-parse-state' to run efficiently in "brace deserts".
9510 * progmodes/cc-mode.el (c-basic-common-init):
9511 Call c-state-cache-init.
9512 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9513 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9514 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9516 * progmodes/cc-langs.el (c-before-font-lock-function):
9517 c-extend-and-neutralize-syntax-in-CPP has been renamed
9518 c-neutralize-syntax-in-and-mark-CPP.
9520 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9521 with `category' properties now, not `syntax-table' ones.
9523 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9524 enhanced (but slower) version of c-end-of-macro that won't land
9525 inside a literal or on another awkward character.
9526 (c-state-cache-too-far, c-state-cache-start)
9527 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9528 (c-state-nonlit-pos-cache-limit, c-state-point-min)
9529 (c-state-point-min-lit-type, c-state-point-min-lit-start)
9530 (c-state-min-scan-pos, c-state-brace-pair-desert)
9531 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9532 buffer local variables.
9533 (c-state-literal-at, c-state-lit-beg)
9534 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9535 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9536 (c-state-cache-top-paren, c-state-cache-after-top-paren)
9537 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9538 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9539 (c-renarrow-state-cache)
9540 (c-append-lower-brace-pair-to-state-cache)
9541 (c-state-push-any-brace-pair, c-append-to-state-cache)
9542 (c-remove-stale-state-cache)
9543 (c-remove-stale-state-cache-backwards, c-state-cache-init)
9544 (c-invalidate-state-cache-1, c-parse-state-1)
9545 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9546 (c-parse-state): Enhance and refactor.
9547 (c-debug-parse-state): Amend to deal with all the new variables.
9549 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9550 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9551 modify to use category text properties rather than syntax-table ones.
9552 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9553 to switch off/on the syntactic paren property of C++ template
9554 delimiters using the category property.
9555 (c-with-<->-as-parens-suppressed): Macro to invoke code with
9556 template delims suppressed.
9557 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9558 New constant/macros which apply category properties to the start
9559 and end of preprocessor constructs.
9560 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9561 "comment out" the syntactic value of characters in preprocessor
9563 (c-with-cpps-commented-out)
9564 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9565 with characters in all or all but one preprocessor constructs
9568 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9570 * proced.el (proced-filter-alist): Use regexp-quote.
9572 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
9575 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9576 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
9577 arguments. Expand `default-directory'.
9579 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9580 the benefit of returning an expanded localname.
9581 (tramp-tramp-file-p): Handle the case NAME is not a string.
9583 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9585 Add support for bzr shelve/unshelve.
9586 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9587 (vc-bzr-extra-menu-map): New variables.
9588 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9589 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9590 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9591 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9592 (vc-bzr-dir-extra-headers): Display shelves.
9594 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9596 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9598 * textmodes/bibtex.el (bibtex-complete-internal):
9599 Use completion-in-region.
9600 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9602 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9604 Support applying stashes. Improve UI.
9605 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9606 (vc-git-stash-apply, vc-git-stash-pop)
9607 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9608 (vc-git-stash-menu): New functions.
9609 (vc-git-stash-menu-map): New variable.
9610 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9612 2009-12-03 Glenn Morris <rgm@gnu.org>
9614 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9615 (vc-print-log-internal): Fix previous change.
9616 (vc-revert): Correct pluralization.
9618 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * progmodes/make-mode.el (makefile-special-targets-list): No need for
9621 it to be an alist any more.
9622 (makefile-complete): Use completion-in-region.
9624 * progmodes/octave-mod.el (octave-complete-symbol):
9625 Use completion-in-region.
9628 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9629 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9630 (idlwave-complete-class): Don't quote lambda.
9631 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9632 (idlwave-mode-map): Move initialization into declaration.
9633 (idlwave-action-and-binding): Use backquotes.
9634 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9636 (idlwave-is-pointer-dereference): Remove unused var `pos'.
9637 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9638 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9639 `parts', and `all-parts'.
9640 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9641 (idlwave-convert-xml-system-routine-info): Remove unused string
9643 (idlwave-display-user-catalog-widget): Use dolist.
9644 (idlwave-scanning-lib): Declare dynamically-scoped var.
9645 (idlwave-scan-library-catalogs): Remove unused var `flags'.
9646 (completion-highlight-first-word-only): Declare to silence bytecomp.
9647 (idlwave-popup-select): Tighten scope of `resp'.
9648 (idlwave-find-struct-tag): Remove unused var `beg'.
9649 (idlwave-after-load-rinfo-hook): Declare.
9650 (idlwave-sintern-class-info): Remove unused var `taglist'.
9651 (idlwave-find-class-definition): Remove unused var `list'.
9652 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9653 (idlwave-what-module-find-class): Remove unused var `classes'.
9655 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
9657 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9659 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9661 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9662 buffers visited. Remove redundant current-buffer-saving.
9664 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9666 Use completion-in-buffer and remove uses of dynamic scoping.
9667 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9668 (pascal-buffer-to-use, pascal-flag): Don't declare.
9669 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9670 (pascal-get-completion-decl, pascal-keyword-completion):
9671 Add `pascal-str' argument, save-excursion,
9672 return the found completions, and don't filter with pascal-pred.
9673 (pascal-completion-cache): New var.
9674 (pascal-completion): Don't switch buffer any more (it was never
9675 necessary). Don't save-excursion any more (it's done by the called
9676 subroutines). Use a cache to avoid redundant computations.
9677 Use complete-with-action rather than pascal-completion-response and
9678 let it apply the predicate as well.
9679 (pascal-complete-word): Use completion-in-buffer when
9680 pascal-toggle-completions is nil.
9681 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9683 (pascal-comp-defun): Don't change buffer any more.
9684 Use complete-with-action rather than pascal-completion-response and
9685 let it apply the predicate as well.
9686 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9689 2009-12-02 Kenichi Handa <handa@m17n.org>
9691 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9692 shape for all Indic scripts.
9694 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9696 Use completion-in-buffer.
9697 * wid-edit.el (widget-field-text-end): New function.
9698 (widget-field-value-get): Use it.
9699 (widget-string-complete, widget-file-complete)
9700 (widget-color-complete): Use it and completion-in-region.
9701 (widget-complete): Don't narrow the buffer.
9703 2009-12-02 Glenn Morris <rgm@gnu.org>
9705 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
9706 (rmail-select-summary): Use rmail-pop-to-buffer.
9707 * mail/rmailsum.el: Replace all pop-to-buffer calls with
9708 rmail-pop-to-buffer, to prevent horizontal splits.
9710 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9711 save-excursion with save-current-buffer.
9712 Widen before searching. (Bug#5093)
9713 (diary-list-sexp-entries): Remove superfluous save-excursion.
9715 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
9717 * woman.el (woman-make-bufname): Handle man-pages with "." in the
9720 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
9722 * ido.el (ido-file-internal): Handle filenames at point that do
9723 not have a directory part. (Bug#5049)
9725 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
9727 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9728 (mpc-songs-jump-to, mpc-resume): Doc fixes.
9730 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
9732 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9733 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9736 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * comint.el (comint-insert-input): Ignore clicks to the right of
9739 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9741 * vc.el (vc-print-log-internal): Don't wait for the process to
9742 terminate before setting up the major mode.
9744 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9747 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9750 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9752 2009-12-01 Glenn Morris <rgm@gnu.org>
9754 * window.el (window--display-buffer-2): Fix previous changes.
9756 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
9758 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9760 2009-12-01 Glenn Morris <rgm@gnu.org>
9762 * Makefile.in (ELCFILES): Add mpc.elc.
9764 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9768 2009-12-01 Glenn Morris <rgm@gnu.org>
9770 * window.el (window-to-use): Define for compiler.
9772 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9773 consistent with others (no final period).
9775 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9776 (rmail-mime-show): Downcase the encoding. (Bug#5070)
9778 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
9780 Make vc-print-log buttons work.
9781 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9783 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
9785 * savehist.el (savehist-autosave-interval): Allow setting to nil
9786 through customize. (Bug#5056)
9788 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
9790 Fix references to jit-lock properties.
9791 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9792 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9793 (perl-font-lock-special-syntactic-constructs):
9794 Quote jit-lock-defer-multiline property.
9796 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
9798 * vc-git.el (vc-git-registered): Call vc-git-root only once.
9800 2009-11-30 Juri Linkov <juri@jurta.org>
9802 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9803 value `buffer' of `multi-isearch-next-buffer-current-function'.
9804 Use `(current-buffer)' when `buffer' is nil.
9805 (multi-isearch-next-buffer-from-list): Don't fallback to
9806 `(current-buffer)' when `buffer' is nil. (Bug#4947)
9808 2009-11-30 Juri Linkov <juri@jurta.org>
9810 * misearch.el (multi-isearch-read-buffers): Move canonicalization
9811 of buffers with `get-buffer' to `multi-isearch-buffers'.
9812 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9813 Canonicalize BUFFERS with `get-buffer'. Doc fix.
9814 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9815 FILES with `expand-file-name' converting relative file names
9816 to absolute. Doc fix. (Bug#4727)
9818 2009-11-30 Juri Linkov <juri@jurta.org>
9820 * misearch.el (multi-isearch-read-buffers)
9821 (multi-isearch-read-matching-buffers): New functions.
9822 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9823 Use them in the `interactive' spec. Doc fix.
9824 (multi-isearch-read-files, multi-isearch-read-matching-files):
9826 (multi-isearch-files, multi-isearch-files-regexp):
9827 Use them in the `interactive' spec. Doc fix. (Bug#4725)
9829 2009-11-30 Juri Linkov <juri@jurta.org>
9831 * doc-view.el (doc-view-continuous):
9832 Rename from `doc-view-continuous-mode'.
9833 (doc-view-menu): Move "Toggle display" to the top.
9834 Add submenu "Continuous" with radio buttons "Off"/"On"
9835 and "Save as Default".
9836 (doc-view-scroll-up-or-next-page)
9837 (doc-view-scroll-down-or-previous-page)
9838 (doc-view-next-line-or-next-page)
9839 (doc-view-previous-line-or-previous-page): Rename
9840 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
9842 2009-11-30 Juri Linkov <juri@jurta.org>
9844 * comint.el (comint-mode-map): Rebind `M-r' from
9845 `comint-previous-matching-input' to
9846 `comint-history-isearch-backward-regexp'.
9847 Unbind `M-s' to allow global key binding `M-s'.
9848 Add menu items for `comint-history-isearch-backward' and
9849 `comint-history-isearch-backward-regexp'. (Bug#3746)
9851 2009-11-30 Juri Linkov <juri@jurta.org>
9853 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9854 For def=recenter, replace `recenter' with `recenter-top-bottom'
9855 that is called with `this-command' and `last-command' let-bound
9856 to `recenter-top-bottom'. When the last `def' was not `recenter',
9857 set `recenter-last-op' to nil. (Bug#4981)
9859 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
9861 Minor cleanup and simplification.
9862 * filecache.el (file-cache-add-directory)
9863 (file-cache-add-directory-recursively)
9864 (file-cache-add-from-file-cache-buffer)
9865 (file-cache-delete-file-regexp, file-cache-delete-directory)
9866 (file-cache-files-matching-internal, file-cache-display): Use dolist.
9867 (file-cache-temp-minibuffer-message): Delete function.
9868 (file-cache-minibuffer-complete): Use minibuffer-message instead.
9870 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9871 Don't signal an error when bumping into EOB in tr, s, or y.
9873 2009-11-29 Juri Linkov <juri@jurta.org>
9875 * startup.el (fancy-about-text): Fix wording of Guided Tour.
9878 * descr-text.el (describe-char-unidata-list): Use lowercase name
9879 for "Unicode name" like in other tags.
9881 2009-11-29 Juri Linkov <juri@jurta.org>
9883 * ediff-util.el (ediff-minibuffer-with-setup-hook):
9884 New compatibility macro.
9885 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9887 2009-11-29 Juri Linkov <juri@jurta.org>
9889 Add defcustom to define the cycling order of `recenter-top-bottom'.
9892 * window.el (recenter-last-op): Doc fix.
9893 (recenter-positions): New defcustom.
9894 (recenter-top-bottom): Rewrite to use `recenter-positions'.
9895 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9897 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
9899 Improve integration of Tramp and ange-ftp in eshell.
9901 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9902 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
9903 (eshell/sudo): Flatten args. Let-bind `default-directory'.
9905 * eshell/esh-util.el (top): Require also Tramp when compiling.
9906 (eshell-directory-files-and-attributes): Check for FTP remote
9908 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9909 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9910 (eshell-file-attributes): Handle ".". Return `entry'.
9912 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9913 (ange-ftp-directory-files-and-attributes)
9914 (ange-ftp-real-directory-files-and-attributes): New defuns.
9916 * net/tramp.el (tramp-maybe-open-connection): Open the remote
9917 shell with "exec" when possible. This prevents trailing prompts
9918 in `start-file-process'.
9920 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9922 Try and remove assumptions about point-min==1.
9923 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9924 (rng-compute-mode-line-string): Show the validation percentage in
9925 terms of the narrowed text, not the widened text.
9926 (rng-do-some-validation): Don't catch internal errors when debugging.
9927 (rng-first-error): Simplify.
9928 (rng-after-change-function): Remove work around. AFAIK the bug has
9929 been fixed a while ago.
9931 * image-mode.el (image-minor-mode): Exit more gracefully when the image
9932 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9934 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9936 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9937 `cd' doesn't always do it for us (bug#5067).
9939 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9940 on 2009-10-25 as part of some other change (bug#5067).
9942 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9944 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9946 (byte-compile-warnings): Use byte-compile-warning-types.
9947 (byte-compile-save-excursion): Warn about use of set-buffer right
9948 after save-excursion.
9950 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9951 the excursion as well.
9953 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
9955 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9956 providing a Tramp related implementation of "su" and "sudo".
9957 (eshell-unix-initialize): Add "su" and "sudo".
9959 2009-11-27 Daiki Ueno <ueno@unixuser.org>
9961 * net/socks.el (socks-send-command): Convert binary request to
9962 unibyte before sending. This fixes mishandling of some port
9963 numbers such as 129.
9965 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * help.el (describe-bindings-internal): Remove `interactive'.
9969 * man.el (Man-completion-table): Trim a terminating "(".
9970 Remove the space between name page a section.
9971 Add the command's description on the `help-echo' property.
9972 Remove `process-connection-type' binding since it's unused by
9974 Provide completion for the "<section> <name>" format as well.
9975 (Man-default-man-entry): Remove spurious var shadowing the argument.
9977 2009-11-26 Kevin Ryde <user42@zip.com.au>
9979 * log-view.el: Add "Keywords: tools", since its other keywords
9980 aren't in finder-known-keywords, and following vc.el.
9982 * sha1.el (sha1-string-external): default-directory "/" in case
9983 otherwise non-existent. process-connection-type pipe for touch of
9984 efficiency recommended by elisp manual. (An aside in Bug#3911.)
9986 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9988 Misc coding convention cleanups.
9989 * htmlfontify.el (hfy-init-kludge-hook): Rename from
9990 hfy-init-kludge-hooks.
9991 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9992 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9993 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9995 (hfy-slant, hfy-weight): Use tables rather than code.
9996 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9997 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9998 (hfy-face-attr-for-class): Initialize `face-spec' directly.
9999 (hfy-face-to-css): Remove `nconc' with single arg.
10000 (hfy-p-to-face-lennart): Use `or'.
10001 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
10002 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10003 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10004 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10005 (hfy-force-fontification): Use run-hooks.
10007 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
10009 Various minor fixes.
10010 * htmlfontify.el (hfy-default-header): Add toggle_invis since
10011 Javascript belongs in the header, not the body.
10012 (hfy-javascript): Remove.
10013 (hfy-fontify-buffer): Don't insert it any more.
10014 (hfy-face-at): Handle (face0 face1 face2) style face properties.
10015 Fix bug in invis handling when there were no invis props in a chunk.
10017 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10021 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
10023 * finder.el (finder-mode-map): Add a menu.
10025 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
10027 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10028 "unsigned" structs.
10030 (verilog-leap-to-head, verilog-backward-token): Handle "disable
10031 fork" statement better.
10033 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
10035 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10036 (verilog-delete-auto, verilog-delete-empty-auto-pair)
10037 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10038 Reported by Clay Douglass.
10040 (verilog-auto-inst, verilog-auto-star-safe)
10041 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10042 Fix removing "// Interfaces" when saving .* expansions. Reported by
10043 Pierre-David Pfister.
10045 2009-11-26 Glenn Morris <rgm@gnu.org>
10047 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10050 2009-11-25 Johan Bockgård <bojohan@gnu.org>
10052 * vc-annotate.el (vc-annotate-revision-previous-to-line):
10053 Really use previous revision.
10055 2009-11-25 Kevin Ryde <user42@zip.com.au>
10057 * man.el (Man-completion-table): default-directory "/" in case
10058 doesn't otherwise exist. process-environment COLUMNS=999 so as
10059 not to truncate long names. process-connection-type pipe to avoid
10060 any chance of hitting the pseudo-tty TIOCGWINSZ.
10061 (man): completion-ignore-case t for friendliness and since man
10062 itself is case-insensitive on the command line.
10063 Further to Bug#3717.
10065 * arc-mode.el: Add "Keywords: files", so the details in its
10066 commentary can be reached from finder-by-keyword.
10067 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
10068 editing mode, but it's comms related and sgml-mode.el has "comm"
10070 * textmodes/bibtex-style.el: Add "Keywords: tex".
10071 * international/isearch-x.el, international/ja-dic-cnv.el:
10072 * international/ja-dic-utl.el, international/kkc.el:
10073 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10075 2009-11-25 Juri Linkov <juri@jurta.org>
10077 * man.el (Man-completion-table): Modify regexp to include
10078 section names to completion strings. (Bug#3717)
10080 2009-11-25 Juri Linkov <juri@jurta.org>
10082 Search recursively in gzipped files. (Bug#4982)
10084 * progmodes/grep.el (grep-highlight-matches): Add new options
10085 `always' and `auto'. Doc fix.
10086 (grep-process-setup): Check `grep-highlight-matches' for
10087 `auto-detect' to determine the need to compute grep defaults.
10088 Move Windows/DOS specific --colors settings handling
10089 to `grep-compute-defaults'. Check `grep-highlight-matches'
10090 to get the value of "--color=".
10091 (grep-compute-defaults): Compute `grep-highlight-matches' when it
10092 has the value `auto-detect'. Move Windows/DOS specific settings
10093 from `grep-process-setup'.
10094 (zrgrep): New command with alias `rzgrep'.
10096 2009-11-25 Juri Linkov <juri@jurta.org>
10098 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10099 to nil instead of switching off view-mode. (Bug#4896)
10101 2009-11-25 Juri Linkov <juri@jurta.org>
10103 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
10105 * mwheel.el (mwheel-scroll-up-function)
10106 (mwheel-scroll-down-function): New defvars.
10107 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10108 `scroll-up', and `mwheel-scroll-down-function' instead of
10111 * doc-view.el (doc-view-scroll-up-or-next-page)
10112 (doc-view-scroll-down-or-previous-page): Add optional ARG.
10113 Use this ARG in the call to image-scroll-up/image-scroll-down.
10114 Change `interactive' spec to "P". Goto next/previous page only
10115 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10116 SPC/DEL case). Doc fix.
10117 (doc-view-next-line-or-next-page)
10118 (doc-view-previous-line-or-previous-page): Rename arg to ARG
10120 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10121 `doc-view-scroll-up-or-next-page', and buffer-local
10122 `mwheel-scroll-down-function' to
10123 `doc-view-scroll-down-or-previous-page'.
10125 2009-11-25 Juri Linkov <juri@jurta.org>
10127 Provide additional default values (directories at other Dired
10128 windows) via M-n in the minibuffer of some Dired commands.
10130 * dired-aux.el (dired-diff, dired-compare-directories)
10131 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10132 `minibuffer-default' in `minibuffer-with-setup-hook'.
10133 (dired-dwim-target-directory): Find a window that displays Dired
10134 buffer instead of failing when the next window is not Dired.
10135 Use `get-window-with-predicate' to find for the next Dired window.
10136 (dired-dwim-target-defaults): New function.
10138 * ediff-util.el (ediff-read-file-name):
10139 Use `dired-dwim-target-defaults' to set `minibuffer-default'
10140 in `minibuffer-with-setup-hook'.
10142 2009-11-25 Juri Linkov <juri@jurta.org>
10144 Provide additional default values (file name at point or at the
10145 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
10147 * minibuffer.el (read-file-name-defaults): New function.
10148 (read-file-name): Reset `minibuffer-default' to nil when
10149 it duplicates initial input `insdef'.
10150 Bind `minibuffer-default-add-function' to lambda that
10151 calls `read-file-name-defaults' in `minibuffer-selected-window'.
10152 (minibuffer-insert-file-name-at-point): New command.
10154 * files.el (file-name-at-point-functions): New defcustom.
10155 (find-file-default): Remove defvar.
10156 (find-file-read-args): Don't use `find-file-default'.
10157 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10158 to `read-file-name'.
10159 (find-file-literally): Use `read-file-name' with
10160 `confirm-nonexistent-file-or-buffer'.
10162 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10164 * dired.el (dired-read-dir-and-switches):
10165 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10166 to `read-file-name'.
10167 (dired-file-name-at-point): New function.
10168 (dired-mode): Add hook `dired-file-name-at-point' to
10169 `file-name-at-point-functions'.
10171 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10173 Really make the *Completions* window soft-dedicated (bug#5030).
10174 * window.el (window--display-buffer-2): Add `dedicated' argument.
10175 (display-buffer): Pass it when needed so the dedicated flag is set
10176 after calling set-window-buffer, which would otherwise reset it.
10178 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * progmodes/meta-mode.el (meta-complete-symbol):
10181 * progmodes/etags.el (complete-tag):
10182 * mail/mailabbrev.el (mail-abbrev-complete-alias):
10183 Use completion-in-region.
10185 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10186 (dabbrev-completion): Use completion-in-region.
10187 (dabbrev--abbrev-at-point): Simplify regexp.
10189 * abbrev.el (abbrev--before-point): Use word-motion functions
10190 if :regexp is not specified (bug#5031).
10192 * subr.el (string-prefix-p): New function.
10194 * man.el (Man-completion-cache): New var.
10195 (Man-completion-table): Use it.
10197 * vc.el (vc-print-log-internal): Make `limit' optional for better
10198 compatibility (e.g. with vc-annotate.el).
10200 2009-11-24 Kevin Ryde <user42@zip.com.au>
10202 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10203 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
10205 * emacs-lisp/elint.el (elint-add-required-env): Better error message
10206 when .el source file not found or other error.
10208 2009-11-24 Markus Triska <markus.triska@gmx.at>
10210 * linum.el (linum-update-window): Ignore intangible (bug#4996).
10212 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10214 Handle the [back] button properly (bug#4979).
10215 * descr-text.el (describe-text-properties): Add a `buffer' argument.
10216 Use help-setup-xref, help-buffer, and with-help-window.
10217 (describe-char): Add `buffer' argument.
10218 Pass proper command to help-setup-xref. Don't meddle with
10219 help-xref-stack-item directly.
10220 (describe-text-category): Use with-help-window and help-buffer.
10222 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10223 for the displayed buffer (bug#4887).
10225 * man.el (Man-completion-table): New function.
10228 2009-11-24 David Reitter <david.reitter@gmail.com>
10230 * vc-git.el (vc-git-registered): Use checkout directory (where
10231 .git is) rather than the file's directory and a relative path spec
10232 to work around a bug in git.
10234 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
10236 Improve handling of processes on remote hosts.
10238 * eshell/esh-util.el (eshell-path-env): New defvar.
10239 (eshell-parse-colon-path): New defun.
10240 (eshell-file-attributes): Use `eshell-parse-colon-path'.
10242 * eshell/esh-ext.el (eshell-search-path):
10243 Use `eshell-parse-colon-path'.
10244 (eshell-remote-command): Remove argument HANDLER.
10245 (eshell-external-command): Check for FTP remote connection.
10247 * eshell/esh-proc.el (eshell-gather-process-output):
10248 Use `file-truename', in order to start also symlinked files.
10249 Apply `start-file-process' instead of `start-process'.
10250 Shorten `command' to the local file name part.
10252 * eshell/em-cmpl.el (eshell-complete-commands-list):
10253 Use `eshell-parse-colon-path'.
10255 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10257 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
10258 to `eshell-directory-change-hook'.
10260 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
10262 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10263 because it could be enabled automatically if view-read-only is non-nil.
10265 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
10267 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10268 made on 2009-11-22.
10270 2009-11-24 Glenn Morris <rgm@gnu.org>
10272 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10273 deleted variable bookmark-bmenu-bookmark-column.
10275 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10277 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10279 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
10281 * net/browse-url.el (browse-url-filename-alist): On Windows, add
10282 two slashes to the "file:" prefix.
10283 (browse-url-file-url): De-munge Cygwin filenames before passing
10284 them to Windows browser.
10285 (browse-url-default-windows-browser): Use call-process.
10287 2009-11-23 Juri Linkov <juri@jurta.org>
10289 Implement DocView Continuous mode. (Bug#4896)
10290 * doc-view.el (doc-view-continuous-mode): New defcustom.
10291 (doc-view-mode-map): Bind C-n/<down> to
10292 `doc-view-next-line-or-next-page', C-p/<up> to
10293 `doc-view-previous-line-or-previous-page'.
10294 (doc-view-next-line-or-next-page)
10295 (doc-view-previous-line-or-previous-page): New commands.
10297 2009-11-23 Juri Linkov <juri@jurta.org>
10299 Implement Isearch in comint input history. (Bug#3746)
10300 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10301 `isearch-mode-hook'.
10302 (comint-history-isearch): New defcustom.
10303 (comint-history-isearch-backward)
10304 (comint-history-isearch-backward-regexp): New commands.
10305 (comint-history-isearch-message-overlay): New buffer-local variable.
10306 (comint-history-isearch-setup, comint-history-isearch-end)
10307 (comint-goto-input, comint-history-isearch-search)
10308 (comint-history-isearch-message, comint-history-isearch-wrap)
10309 (comint-history-isearch-push-state)
10310 (comint-history-isearch-pop-state): New functions.
10312 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
10314 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10316 (tramp-handle-make-symbolic-link)
10317 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10319 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10320 (tramp-handle-process-file): Use it.
10322 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10324 * window.el (move-to-window-line-last-op): Remove.
10325 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10327 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10329 Make M-r mirror the new cycling behavior of C-l.
10330 * window.el (move-to-window-line-last-op): New var.
10331 (move-to-window-line-top-bottom): New command.
10332 (global-map): Bind M-r move-to-window-line-top-bottom.
10334 2009-11-23 Sven Joachim <svenjoac@gmx.de>
10336 * dired-x.el (dired-guess-shell-alist-default):
10337 Support xz format. (Bug#4953)
10339 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
10341 * emulation/viper-cmd.el: Use viper-last-command-char instead of
10342 last-command-char/last-command-event.
10343 (viper-prefix-arg-value): Do correct conversion of event-char for
10346 * emulation/viper-util.el, emulation/viper.el:
10347 Use viper-last-command-char instead of
10348 last-command-char/last-command-event.
10350 * ediff-init.el, ediff-mult.el, ediff-util.el:
10351 Replace last-command-char and last-command-event
10352 with (ediff-last-command-char) everywhere.
10354 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10355 created in fundamental mode.
10357 * ediff.el (ediff-version): Revert the change of interactive-p to
10358 called-interactively-p.
10360 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
10362 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10363 generation from word-movement command names.
10365 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
10367 * cus-start.el (all): Add native condition for font-use-system-font.
10369 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
10371 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10372 Correct the patch from 2009-11-18. (Bug#3910)
10374 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
10376 * progmodes/subword.el: Rename from lisp/subword.el.
10378 * subword.el: Rename to progmodes/subword.el.
10380 * Makefile.in (ELCFILES): Adapt to subword.el move.
10382 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10383 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10386 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10387 (bookmark-bmenu-show-filenames): Use push.
10388 (bookmark-bmenu-hide-filenames): Use local var instead of
10389 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
10390 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10391 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10392 filenames now that the bookmark names are always available.
10394 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10397 (bookmark-search-pattern): Move and leave unbound.
10398 (bookmark-bmenu-mode-map): Change binding.
10399 (bookmark-read-search-input): Simplify.
10400 Don't use text-char-description. Don't error on non-char events.
10401 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10402 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10403 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10404 Use a local var for the timer.
10405 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10406 (i.e. bookmark-bmenu-search).
10408 2009-11-21 Glenn Morris <rgm@gnu.org>
10410 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
10412 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
10414 * net/browse-url.el (browse-url-default-windows-browser):
10415 Use cygstart for cygwin.
10417 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
10419 * bookmark.el: Formatting and doc fixes only:
10420 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10421 (bookmark-bmenu-search): Wrap to fit within 80 columns.
10422 Minor grammar and punctuation fixes in doc string.
10423 (bookmark-read-search-input): Adjust to fit within 80 columns.
10425 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10427 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10428 (c-backward-into-nomenclature): Adapt to subword renaming.
10430 * subword.el (subword-forward, subword-backward, subword-mark)
10431 (subword-kill, subword-backward-kill, subword-transpose)
10432 (subword-downcase, subword-upcase, subword-capitalize)
10433 (subword-forward-internal, subword-backward-internal):
10434 Rename from forward-subword, backward-subword, mark-subword,
10435 kill-subword, backward-kill-subword, transpose-subwords,
10436 downcase-subword, upcase-subword, capitalize-subword,
10437 forward-subword-internal, backward-subword-internal.
10439 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10441 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10443 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10445 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10446 (bookmark-bmenu-filter-alist-by-regexp)
10447 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10448 (bookmark-bmenu-search): New command.
10449 (bookmark-bmenu-mode-map): Bind it.
10451 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10453 * progmodes/cc-cmds.el: declare-functioned forward-subword and
10454 backward-subword to quit the byte-compiler.
10456 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10458 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10460 * progmodes/cc-cmds.el (c-update-modeline)
10461 (c-forward-into-nomenclature, c-backward-into-nomenclature):
10462 Refer to subword.el functions instead of cc-subword.el.
10464 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10465 subword.el functions instead of cc-subword.el.
10467 * progmodes/cc-subword.el: Rename to subword.el.
10468 * subword.el: Rename from progmodes/cc-subword.el.
10469 (subword-mode-map): Rename from c-subword-mode-map.
10470 (subword-mode): Rename from c-subword-mode.
10471 (global-subword-mode): New global minor mode.
10472 (forward-subword): Rename from c-forward-subword.
10473 (backward-subword): Rename from c-backward-subword.
10474 (mark-subword): Rename from c-mark-subword.
10475 (kill-subword): Rename from c-kill-subword.
10476 (backward-kill-subword): Rename from c-backward-kill-subword.
10477 (transpose-subwords): Rename from c-tranpose-subword.
10478 (downcase-subword): Rename from c-downcase-subword.
10479 (capitalize-subword): Rename from c-capitalize-subword.
10480 (forward-subword-internal): Rename from c-forward-subword-internal.
10481 (backward-subword-internal): Rename from c-backward-subword-internal.
10483 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10485 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10486 from a dired buffer.
10487 (vc-dired-deduce-fileset): New function.
10488 (vc-root-diff, vc-print-root-log): Use it.
10490 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10491 nil LIMIT argument to vc-print-log-internal.
10493 2009-11-20 Glenn Morris <rgm@gnu.org>
10495 * Makefile.in (ELCFILES): Regenerate.
10497 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10499 * calc/calc.el (calc-set-mode-line):
10500 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10501 (math-format-number): Rename `math-format-complement-signed' to
10502 `math-format-twos-complement'.
10504 * calc/calc-bin.el (math-format-twos-complement): Rename from
10505 math-format-complement-signed.
10506 (calc-radix): Rename `calc-complement-signed-mode' to
10507 `calc-twos-complement-mode'.
10508 (calc-octal-radix, calc-hex-radix): Add an argument for
10511 * calc/calc-embed.el (calc-embedded-mode-vars):
10512 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10514 * calc/calc-ext.el (calc-init-extensions):
10515 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10516 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10518 * calc/calc-units.el (math-build-units-table-buffer):
10519 Let `calc-twos-complement-mode' be nil.
10521 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10524 * calc/calc-vec.el (calcFunc-vunpack):
10525 * calc/calc-aent.el (calc-do-calc-eval):
10526 * calc/calc-forms.el (math-format-date):
10527 * calc/calc-graph.el (calc-graph-plot):
10528 * calc/calc-math.el (math-use-emacs-fn):
10529 * calc/calccomp.el (math-compose-expr):
10530 Let `calc-twos-complement-mode' be nil.
10532 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10534 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10535 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
10536 * minibuffer.el (completion-in-region-functions): New hook.
10537 (completion-in-region): New function.
10538 * emacs-lisp/lisp.el (lisp-complete-symbol):
10539 * pcomplete.el (pcomplete-std-complete): Use it.
10541 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10543 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10544 (latex-complete-alist): New vars.
10545 (latex-string-prefix-p, latex-complete-bibtex-keys)
10546 (latex-complete-envnames, latex-complete-refkeys)
10547 (latex-complete-data): New functions.
10548 (latex-complete, latex-indent-or-complete): New commands.
10550 * window.el (display-buffer-mark-dedicated): New var.
10551 (display-buffer): Obey it.
10552 * minibuffer.el (minibuffer-completion-help): Use it.
10554 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10556 * filecache.el (file-cache-add-file): Use push and cons.
10557 (file-cache-delete-file-regexp): Use push.
10558 (file-cache-complete): Use completion-in-region.
10560 * simple.el (with-wrapper-hook): Fix thinko.
10562 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10563 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10564 Use with-current-buffer and string-to-number.
10565 (hfy-fallback-colour-values): Use assoc-string.
10566 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10567 (hfy-face-at): Remove unused var `found-face'.
10568 (hfy-compile-stylesheet): Remove unused var `css'.
10569 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10571 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10572 Use with-current-buffer.
10573 (hfy-text-p): Use expand-file-name and fewer setq.
10575 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
10577 * htmlfontify.el, hfy-cmap.el: New files.
10579 2009-11-19 Juri Linkov <juri@jurta.org>
10581 * minibuffer.el (completions-format): New defcustom.
10582 (completion--insert-strings): Implement vertical format.
10584 * simple.el (switch-to-completions): Move point to the first
10585 completion when point was at the beginning of the buffer.
10587 2009-11-19 Juri Linkov <juri@jurta.org>
10589 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
10591 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10593 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
10595 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10596 (mail-signature): Change default to t.
10597 (mail-from-style): Deprecate `system-default' value.
10598 (mail-insert-from-field): For default value of mail-from-style,
10599 default to `angles' unless `angles' needs quoting and `parens'
10601 (mail-citation-prefix-regexp): Use citation regexp from
10604 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
10606 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10607 Set variables for computing the prompt for reading password.
10609 2009-11-19 Glenn Morris <rgm@gnu.org>
10611 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
10613 * textmodes/flyspell.el (sgml-lexical-context): Declare.
10615 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10616 (newsticker-treeview-listwindow-height): Fix custom type.
10618 2009-11-19 Kenichi Handa <handa@m17n.org>
10620 * descr-text.el (describe-char-padded-string): Compose with TAB
10621 only if there's a font for CH.
10622 (describe-char): Fix the condition for detecting a trivial composition.
10624 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
10626 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10627 more accurate version of the regexp. (Bug#3910)
10629 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10631 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10633 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
10635 * font-setting.el (font-use-system-font): Declare for byte-compiler.
10636 (font-setting-change-default-font): Fix typo in docstring.
10638 2009-11-18 Alan Mackenzie <acm@muc.de>
10640 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10642 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10644 * font-setting.el (font-use-system-font): Move ...
10646 * cus-start.el (all): ... to here.
10648 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
10650 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
10651 Don't set `ad-return-value' if `ad-do-it' doesn't.
10653 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10656 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10658 * menu-bar.el: Put "Use system font" in Option-menu.
10659 (menu-bar-options-save): Add font-use-system-font.
10661 * loadup.el: If feature system-font-setting or font-render-setting is
10662 there, load font-setting.
10664 * Makefile.in (ELCFILES): Add font-settings.el.
10665 * font-setting.el: New file.
10667 2009-11-17 Glenn Morris <rgm@gnu.org>
10669 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10671 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10672 Preserve point in the list buffer. (Bug#4939)
10674 (newsticker--treeview-list-update-highlight)
10675 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10677 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10679 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10682 * calc/calc-ext.el (calc-init-extensions): Remove references to
10685 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10687 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10688 * calc/calc-help.el (calc-b-prefix-help): Remove references to
10691 2009-11-16 Kevin Ryde <user42@zip.com.au>
10693 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10694 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10696 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10697 (lm-keywords-list): Allow comma-only separator like "foo,bar".
10698 Ignore trailing spaces by omit-nulls to split-string (fixing
10699 regression from Emacs 21 due to the incompatible split-string
10700 change). (Bug #4928.)
10702 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
10704 * vc.el (vc-log-show-limit): Default to 2000.
10705 (vc-print-log-internal): Insert buttons to request more entries
10706 when limiting the output.
10708 * vc-sccs.el (vc-sccs-print-log):
10709 * vc-rcs.el (vc-rcs-print-log):
10710 * vc-cvs.el (vc-cvs-print-log):
10711 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10714 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10716 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10717 error when `tramp-gvfs-dbus-event-vector' is set.
10718 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10720 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10722 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10724 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10726 * net/dbus.el (dbus-unregister-service): New defun.
10727 (dbus-register-property): Register the handlers of
10728 "org.freedesktop.DBus.Properties" for SERVICE.
10729 (dbus-property-handler): Fix docstring.
10731 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10733 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10734 Quote doc string reference in defvaralias as it is not in special form.
10735 (byte-compile-output-docform): Doc fix.
10737 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10739 * calc/calc.el (math-2-word-size, math-half-2-word-size)
10740 (calc-complement-signed-mode): New variables.
10741 (calc-set-mode-line): Add indicator for twos-complements.
10742 (math-format-number): Format twos-complement notation.
10744 * calc/calc-bin.el (calc-word-size): Reset the variables
10745 `math-2-word-size' and `math-half-2-word-size'.
10746 (math-format-complement-signed, math-symclip, calcFunc-symclip)
10747 (calc-symclip): New functions.
10749 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10751 * calc/calc-embed.el (calc-embedded-mode-vars):
10752 Add `calc-complement-signed-mode' to the list of modes.
10754 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10755 (calc-b-oper-keys): Add `calc-symclip' to list.
10757 * calc/calc-ext.el (math-read-number-fancy): Read complement
10759 (calc-init-extensions): Add binding for `calc-symclip'.
10760 Add autoload for `calcFunc-symclip' and `calc-symclip'.
10762 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10764 (calc-modes-menu): Add item for twos complement mode.
10766 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10768 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10770 * register.el (jump-to-register, insert-register): Handle Semantic
10771 tags. From commented-out advice in semantic/senator.el.
10773 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
10775 * vc.el (vc-log-show-limit): New variable.
10776 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
10777 when using a prefix argument.
10778 (vc-print-log-internal): Add new argument LIMIT.
10780 * vc-svn.el (vc-svn-print-log):
10781 * vc-mtn.el (vc-mtn-print-log):
10782 * vc-hg.el (vc-hg-print-log):
10783 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10784 pass it to the log command when set. Make the BUFFER argument
10787 * vc-sccs.el (vc-sccs-print-log):
10788 * vc-rcs.el (vc-rcs-print-log):
10789 * vc-git.el (vc-git-print-log):
10790 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10791 ignore it. Make the BUFFER argument non-optional
10793 * bindings.el (mode-line-buffer-identification): Do not purecopy.
10795 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10797 * dired.el (dired-mode-map): Move encryption items to "Operate"
10800 * strokes.el (strokes-update-window-configuration): Make strokes
10801 buffer current before erasing (Bug#4906).
10803 2009-11-15 Juri Linkov <juri@jurta.org>
10805 * simple.el (set-mark-default-inactive): Add :type, :group
10806 and :version. (Bug#4876)
10808 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
10810 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10811 (archive-unique-fname): ... here. (Bug#4929)
10813 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
10815 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10818 * novice.el (disabled-command-function): Add useful args.
10819 Setup the help buffer so that [back] works.
10820 Remove redundant call to help-mode.
10821 (disabled-command-function): Use `case'.
10822 (en/disable-command): New function extracted from enable-command.
10823 (enable-command, disable-command): Use it.
10825 2009-11-14 Glenn Morris <rgm@gnu.org>
10827 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10828 constants. (Bug#4913)
10830 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10832 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10834 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10835 defined in C that have no doc-strings. (Bug#1063)
10837 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
10839 * cus-edit.el (data, files):
10840 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
10842 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
10844 * simple.el (shell-command): Doc fix (Bug#4891).
10846 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10848 2009-11-14 Glenn Morris <rgm@gnu.org>
10850 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10851 statements for vc-diff, emerge-quit, and rmail-cease-edit.
10852 If they are already loaded, eval-after-load will do the right thing.
10854 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10857 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10859 * simple.el (x-selection-owner-p): Declare.
10860 (read-mail-command): Use custom radio type rather than choice.
10861 (completion-no-auto-exit): Doc fix.
10863 * custom.el (defgroup):
10864 * epg-config.el (epg): Doc fixes.
10866 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
10868 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10869 * international/ccl.el (define-ccl-program): Do not purecopy the
10870 docstring, defconst does it anyway.
10872 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10874 * add-log.el (add-change-log-entry): Avoid displaying the changelog
10877 * x-dnd.el (x-dnd-maybe-call-test-function):
10878 * window.el (split-window-vertically):
10879 * whitespace.el (whitespace-help-on):
10880 * vc-rcs.el (vc-rcs-consult-headers):
10881 * userlock.el (ask-user-about-lock-help)
10882 (ask-user-about-supersession-help):
10883 * type-break.el (type-break-force-mode-line-update):
10884 * time-stamp.el (time-stamp-conv-warn):
10885 * terminal.el (te-set-output-log, te-more-break, te-filter)
10886 (te-sentinel, terminal-emulator):
10887 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10888 (term-write-input-ring, term-check-source, term-start-output-log):
10889 (term-display-buffer-line, term-dynamic-list-completions):
10890 (term-ansi-make-term, serial-term):
10891 * subr.el (selective-display):
10892 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10893 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10894 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10895 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10896 (speedbar-remove-localized-speedbar-support)
10897 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10898 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10899 (speedbar-buffers-line-directory):
10900 * simple.el (shell-command-on-region, append-to-buffer)
10901 (prepend-to-buffer):
10902 * shadowfile.el (shadow-save-todo-file):
10903 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10904 (scroll-bar-maybe-set-window-start):
10905 * sb-image.el (speedbar-image-dump):
10906 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10907 (load-save-place-alist-from-file):
10908 * ps-samp.el (ps-print-message-from-summary):
10909 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10910 (ps-background-image, ps-begin-job, ps-do-despool):
10911 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10912 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10913 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10914 (pr-call-process, pr-file-list, pr-interface-save):
10915 * novice.el (disabled-command-function)
10916 (enable-command, disable-command):
10917 * mouse.el (mouse-buffer-menu-alist):
10918 * mouse-copy.el (mouse-kill-preserving-secondary):
10919 * macros.el (kbd-macro-query):
10920 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10921 * informat.el (batch-info-validate):
10922 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10923 * hippie-exp.el (try-expand-dabbrev-visible):
10924 * help-mode.el (help-make-xrefs):
10925 * help-fns.el (describe-variable):
10926 * generic-x.el (bat-generic-mode-run-as-comint):
10927 * finder.el (finder-mouse-select):
10928 * find-dired.el (find-dired-sentinel):
10929 * filesets.el (filesets-file-close):
10930 * files.el (list-directory):
10931 * faces.el (list-faces-display, describe-face):
10932 * facemenu.el (list-colors-display):
10933 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10934 * epg.el (epg--process-filter, epg-cancel):
10935 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10936 (epa--read-signature-type):
10937 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10938 (emerge-file-names):
10939 * ehelp.el (electric-helpify):
10940 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10941 * ediff-vers.el (rcs-ediff-view-revision):
10942 * ediff-util.el (ediff-setup):
10943 * ediff-mult.el (ediff-append-custom-diff):
10944 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10946 * echistory.el (Electric-command-history-redo-expression):
10947 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10948 * disp-table.el (describe-display-table):
10949 * dired.el (dired-find-buffer-nocreate):
10950 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10951 * dabbrev.el (dabbrev--same-major-mode-p):
10952 * chistory.el (list-command-history):
10953 * apropos.el (apropos-documentation):
10954 * allout.el (allout-obtain-passphrase):
10955 (allout-copy-exposed-to-buffer):
10956 (allout-verify-passphrase): Use with-current-buffer.
10958 2009-11-13 Glenn Morris <rgm@gnu.org>
10960 * Makefile.in (ELCFILES): Regenerate.
10962 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
10964 * net/dbus.el (dbus-registered-objects-table): Rename from
10965 `dbus-registered-functions-table', because it contains also properties.
10966 (dbus-unregister-object): Unregister also properties.
10967 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10968 Use a timeout of 500 msec, in order to not block.
10969 (dbus-register-property, dbus-property-handler): New defuns.
10971 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10973 * simple.el (minibuffer-default-add-completions): Drop deprecated
10976 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
10978 * textmodes/artist.el (artist-mouse-choose-operation):
10979 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10980 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10981 (artist-compute-up-event-key): New function.
10982 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10984 2009-11-13 Kenichi Handa <handa@m17n.org>
10986 * language/japan-util.el: Make sure that the value of jisx0208
10987 property is jisx0208 character.
10989 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
10991 * international/mule.el (auto-coding-regexp-alist): Only purecopy
10992 car or each item, not the whole list.
10994 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * minibuffer.el (minibuffer-completion-help):
10997 Use minibuffer-hide-completions.
10999 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
11001 * dired.el (dired-save-positions, dired-restore-positions): New funs.
11002 (dired-revert): Use them (bug#4880).
11004 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11006 * tooltip.el (tooltip-frame-parameters): Undo previous change.
11008 2009-11-12 Juri Linkov <juri@jurta.org>
11010 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11012 (find-file-literally-at-point): Alias of `ffap-literally'.
11014 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11016 * textmodes/ispell.el (ispell-skip-region-alist):
11017 * textmodes/css-mode.el (auto-mode-alist):
11018 * progmodes/compile.el (auto-mode-alist):
11019 * international/mule.el (ctext-non-standard-encodings-alist)
11020 (ctext-non-standard-encodings-regexp):
11021 * simple.el (shell-command-switch, text-read-only):
11022 * replace.el (occur-mode-map):
11023 * paths.el (rmail-file-name):
11024 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11025 * find-file.el (ff-special-constructs):
11026 * files.el (file-name-handler-alist):
11027 * composite.el: Purecopy strings.
11029 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11031 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11033 * widget.el (define-widget): Purecopy the docstring.
11034 * international/mule-cmds.el (charset): Do not purecopy the
11035 docstring here, define-widget does it.
11037 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11038 * textmodes/bibtex-style.el (auto-mode-alist):
11039 * progmodes/inf-lisp.el (inferior-lisp-prompt):
11040 * progmodes/compile.el (compile-command):
11041 * language/korea-util.el (default-korean-keyboard):
11042 * international/mule-conf.el (file-coding-system-alist):
11043 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11044 * tooltip.el (tooltip-frame-parameters):
11045 * newcomment.el (comment-end, comment-padding):
11046 * dired.el (dired-trivial-filenames):
11047 * comint.el (comint-file-name-prefix): Purecopy initial values.
11049 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
11051 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11052 (tramp-advice-minibuffer-electric-tilde): Unload advices via
11054 (tramp-advice-make-auto-save-file-name)
11055 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11056 after removing the advice.
11058 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11060 * progmodes/grep.el (grep-regexp-alist):
11061 * international/mule-cmds.el (iso-2022-control-alist):
11062 * emacs-lisp/timer.el (timer-duration-words):
11063 * subr.el (version-separator, version-regexp-alist):
11064 * minibuffer.el (completion-styles-alist):
11065 * faces.el (face-attribute-name-alist, list-faces-sample-text):
11066 Change defvars to defconsts.
11068 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11069 * loadup.el ("international/mule-conf"): Load the byte compiled version.
11070 * international/mule-conf.el: Allow to be byte compiled.
11072 * international/mule.el (define-charset): Purecopy props.
11073 (load-with-code-conversion): Purecopy doc string and file name.
11074 (put-charset-property): Purecopy strings.
11075 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11077 * international/mule-cmds.el (register-input-method): Purecopy arguments.
11078 (define-char-code-property): Correctly purecopy the table.
11080 * international/ccl.el (define-ccl-program): Purecopy the docstring.
11082 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11084 * subr.el (add-hook): Purecopy strings.
11085 (eval-after-load): Purecopy load-history-regexp and the form.
11087 * custom.el (custom-declare-group): Purecopy load-file-name.
11089 * subr.el (menu-bar-separator): New defconst.
11090 * net/eudc.el (eudc-tools-menu):
11091 * international/mule-cmds.el (set-coding-system-map)
11092 (mule-menu-keymap):
11093 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11094 * vc-hooks.el (vc-menu-map):
11095 * replace.el (occur-mode-map):
11096 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11097 (menu-bar-edit-menu, menu-bar-goto-menu)
11098 (menu-bar-custom-menu, menu-bar-showhide-menu)
11099 (menu-bar-options-menu, menu-bar-tools-menu)
11100 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11101 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11102 (menu-bar-help-menu):
11103 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11104 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11106 * term/x-win.el (x-gtk-stock-map):
11107 * progmodes/vera-mode.el (auto-mode-alist):
11108 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11109 (inferior-lisp-program, inferior-lisp-load-command):
11110 * progmodes/hideshow.el (hs-special-modes-alist):
11111 * progmodes/gud.el (same-window-regexps):
11112 * progmodes/grep.el (grep-program, find-program, xargs-program):
11113 * net/telnet.el (same-window-regexps):
11114 * net/rlogin.el (same-window-regexps):
11115 * language/ethiopic.el (font-ccl-encoder-alist):
11116 * vc-sccs.el (vc-sccs-master-templates):
11117 * vc-rcs.el (vc-rcs-master-templates):
11118 * subr.el (cl-assertion-failed):
11119 * simple.el (next-error-overlay-arrow-position):
11120 * lpr.el (lpr-command):
11121 * locate.el (locate-ls-subdir-switches):
11122 * info.el (same-window-regexps, info)
11123 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11124 * image-mode.el (image-mode, auto-mode-alist):
11125 * hippie-exp.el (hippie-expand-ignore-buffers):
11126 * format.el (format-alist):
11127 * find-dired.el (find-ls-subdir-switches, find-grep-options)
11129 * facemenu.el (facemenu-keybindings):
11130 * dired.el (dired-listing-switches, dired-chown-program):
11131 * diff.el (diff-switches, diff-command):
11132 * cus-edit.el (same-window-regexps):
11133 * bindings.el (mode-line-mule-info)
11134 (mode-line-buffer-identification): Purecopy strings.
11136 2009-11-11 Juri Linkov <juri@jurta.org>
11138 * simple.el (dired-get-filename) <declare-function>:
11139 Tell the byte-compiler about dired-get-filename.
11140 (shell-command): In Dired mode, get filename from the current line
11141 as the default value.
11143 2009-11-10 Glenn Morris <rgm@gnu.org>
11145 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11146 * calendar/holidays.el, progmodes/cperl-mode.el:
11147 Update x-popup-menu declarations.
11149 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11150 (list-load-path-shadows): Use dolist.
11151 (list-load-path-shadows): Use with-current-buffer.
11153 2009-11-10 Juri Linkov <juri@jurta.org>
11155 * minibuffer.el (read-file-name): Support a list of default values
11156 in `default-filename'. Use the first file name where only one
11157 element is required. Doc fix.
11159 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
11161 * net/dbus.el (dbus-unregister-object): Release service, if no
11162 other method is registered for it.
11164 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
11166 * bookmark.el (bookmark-completing-read): Sort bookmark names if
11167 bookmark-sort-flag is non-nil (Bug#4653).
11169 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11171 * emulation/cua-base.el: Add CUA property to some CC mode commands
11174 2009-11-08 Kevin Ryde <user42@zip.com.au>
11176 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11177 at end of sentence (Bug#4818).
11179 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
11181 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11182 Handle "see declaration of" MSFT statements (Bug#4100).
11184 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
11186 * net/tramp.el (tramp-advice-make-auto-save-file-name)
11187 (tramp-advice-file-expand-wildcards): Unload via
11188 `ad-remove-advice'.
11190 * net/trampver.el: Update release number.
11192 2009-11-08 Kevin Ryde <user42@zip.com.au>
11194 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11197 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
11199 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11200 in order to keep context in SELinux.
11202 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11204 * dired-aux.el (dired-query): Place cursor in echo area and allow
11207 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11208 menu item if not on a directory (Bug#4701).
11210 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
11212 Sync with Tramp 2.1.17.
11214 * net/tramp.el (tramp-handle-copy-directory): Don't use
11215 `file-remote-p' (due to compatibility).
11217 * net/tramp-compat.el (tramp-compat-copy-directory)
11218 (tramp-compat-delete-directory): New defuns.
11220 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11221 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11222 `tramp-compat-delete-directory'.
11224 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11225 (tramp-smb-handle-delete-directory): Use
11226 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11228 * net/trampver.el: Update release number.
11230 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
11232 * tar-mode.el (tar-copy): Call write-region on the right buffer
11235 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11236 by hand, if necessary (Bug#4878).
11238 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
11240 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11241 align size column (Bug#4839).
11243 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11246 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11248 * progmodes/ld-script.el (auto-mode-alist):
11249 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11251 * cus-face.el (custom-declare-face): Purecopy face spec.
11253 2009-11-06 Kenichi Handa <handa@m17n.org>
11255 * international/uni-bidi.el: Re-generated.
11256 * international/uni-category.el: Re-generated.
11257 * international/uni-combining.el: Re-generated.
11258 * international/uni-mirrored.el: Re-generated.
11260 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11262 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11263 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11264 (tex-start-options, slitex-run-command, latex-run-command)
11265 (tex-run-command, tex-directory):
11266 * textmodes/ispell.el (ispell-html-skip-alists)
11267 (ispell-tex-skip-alists, ispell-tex-skip-alists):
11268 * textmodes/fill.el (adaptive-fill-first-line-regexp):
11269 (adaptive-fill-regexp):
11270 * textmodes/dns-mode.el (auto-mode-alist):
11271 * progmodes/python.el (interpreter-mode-alist):
11272 * progmodes/etags.el (tags-compression-info-list):
11273 * progmodes/etags.el (tags-file-name):
11274 * net/browse-url.el (browse-url-galeon-program)
11275 (browse-url-firefox-program):
11276 * mail/sendmail.el (mail-signature-file)
11277 (mail-citation-prefix-regexp):
11278 * international/mule-conf.el (eight-bit):
11279 * international/latexenc.el (latex-inputenc-coding-alist):
11280 * international/fontset.el (x-pixel-size-width-font-regexp):
11281 * emacs-lisp/warnings.el (warning-type-format):
11282 * emacs-lisp/trace.el (trace-buffer):
11283 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11284 (emacs-lisp-mode-map):
11285 * calendar/holidays.el (holiday-solar-holidays)
11286 (holiday-bahai-holidays, holiday-islamic-holidays)
11287 (holiday-christian-holidays, holiday-hebrew-holidays)
11288 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11289 (hebrew-holidays-1, holiday-oriental-holidays)
11290 (holiday-general-holidays):
11291 * x-dnd.el (x-dnd-known-types):
11292 * tool-bar.el (tool-bar):
11293 * startup.el (site-run-file):
11294 * shell.el (shell-dumb-shell-regexp):
11295 * rfn-eshadow.el (file-name-shadow-tty-properties)
11296 (file-name-shadow-properties):
11297 * paths.el (remote-shell-program, news-directory):
11298 * mouse.el ([C-down-mouse-3]):
11299 * menu-bar.el (menu-bar-tools-menu):
11300 * jka-cmpr-hook.el (jka-compr-load-suffixes)
11301 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11302 (jka-compr-compression-info-list):
11303 * isearch.el (search-whitespace-regexp):
11304 * image-file.el (image-file-name-extensions):
11305 * find-dired.el (find-ls-option):
11306 * files.el (directory-listing-before-filename-regexp)
11307 (directory-free-space-args, insert-directory-program)
11308 (list-directory-brief-switches, magic-fallback-mode-alist)
11309 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11310 (automount-dir-prefix):
11311 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11312 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11313 (face-font-registry-alternatives, face-font-registry-alternatives)
11314 (face-font-family-alternatives):
11315 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11316 (facemenu-foreground-menu, facemenu-face-menu):
11317 * epa-hook.el (epa-file-name-regexp):
11318 * dnd.el (dnd-protocol-alist):
11319 * textmodes/rst.el (auto-mode-alist):
11320 * button.el (default-button): Purecopy strings.
11322 2009-11-06 Glenn Morris <rgm@gnu.org>
11324 * Makefile.in (ELCFILES): Update.
11326 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11328 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11329 * emacs-lisp/levents.el: Move to obsolete/levents.el.
11331 * nxml/xsd-regexp.el (xsdre-gen-categories):
11332 * nxml/xmltok.el (xmltok-parse-entity):
11333 * nxml/rng-parse.el (rng-parse-validate-file):
11334 * nxml/rng-maint.el (rng-format-manual)
11335 (rng-manual-output-force-new-line):
11336 * nxml/rng-loc.el (rng-save-schema-location-1):
11337 * nxml/rng-cmpct.el (rng-c-parse-file):
11338 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11339 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11341 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
11343 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11344 Remove extra save-excursions and make-variable-buffer-local's.
11345 Suggested by Stefan Monnier.
11347 (verilog-getopt-file, verilog-module-inside-filename-p)
11348 (verilog-set-define): Merge GNU 1.35 and repair changes from
11349 switching to using with-current-buffer.
11351 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11352 being treated as a number and confusing AUTORESET.
11353 Reported by Dan Dever.
11355 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11356 Add verilog-auto-ignore-concat to fix backward compatibility with
11357 older verilog-modes. Reported by Dan Katz.
11359 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11360 containing closing anchors "...$".
11362 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11363 Reported by Wade Smith.
11365 (verilog-batch-execute-func): Comment on function usage.
11367 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
11369 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11372 (verilog-label-re, verilog-calc-1): Support proper indent of named
11375 (verilog-backward-token, verilog-basic-complete-re)
11376 (verilog-beg-of-statement, verilog-indent-re): Support proper
11377 indent of the assert statement at the beginning of a block of text.
11379 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11380 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11383 2009-11-05 Glenn Morris <rgm@gnu.org>
11385 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11386 Emacs 19. (Bug#1531)
11387 (byte-compile-fix-header): Update for the above change.
11388 Drop test for epoch::version.
11390 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11391 * cus-dep.el (custom-make-dependencies):
11392 * finder.el (finder-compile-keywords):
11393 Use autoload-rubric's feature argument.
11395 * calendar/diary-lib.el (top-level): Make load behave more like require.
11397 * vc-git.el (vc-git-stash-map): Move definition before use.
11399 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
11401 * custom.el (custom-declare-group): Purecopy standard-value.
11402 (custom-declare-group): Purecopy custom-prefix.
11404 * international/mule.el (load-with-code-conversion):
11405 Call do-after-load-evaluation unconditionally.
11407 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11409 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11411 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11413 2009-11-04 Glenn Morris <rgm@gnu.org>
11415 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11416 (byte-compile-compatibility): Remove option.
11417 (byte-compile-close-variables, byte-compile-fix-header)
11418 (byte-compile-insert-header, byte-compile-output-docform)
11419 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11420 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11421 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11422 (byte-compile-insert, byte-compile-defun):
11423 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
11424 (byte-defop-compiler19): Remove.
11425 Without byte-compile-compatibility, the 'emacs19-opcode property is not
11426 used by anything. Replace all calls with byte-defop-compiler.
11428 2009-11-04 Juri Linkov <juri@jurta.org>
11430 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11431 (menu-bar-options-menu): Don't quote the `prop' arg of
11432 `menu-bar-make-mm-toggle'.
11434 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
11436 * calendar/calendar.el (cal-loaddefs):
11437 * calendar/diary-lib.el (diary-loaddefs):
11438 * calendar/holidays.el (hol-loaddefs):
11439 * eshell/esh-module.el (esh-groups): Load rather than require.
11441 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11443 * calendar/todo-mode.el (todo-add-category): Don't hardcode
11445 (todo-top-priorities): Only display-buffer when called interactively.
11446 (todo-item-start): Don't save excursion point.
11447 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
11448 (todo-insert-item-here, todo-file-item, todo-remove-item):
11449 Adjust uses of todo-item-start and todo-item-end.
11451 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11452 (autoload-rubric): Don't use any more.
11454 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11455 and only put a prop if it is non-nil.
11457 2009-11-03 Juri Linkov <juri@jurta.org>
11459 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11460 (menu-bar-options-menu): Fix list quoting (Bug#4429).
11462 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11463 and "Menu" to make top-level menu item visually one unit (like
11464 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11465 multi-word menu items). Fix :help string for quit-window.
11467 2009-11-03 Glenn Morris <rgm@gnu.org>
11469 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11470 (byte-compile-file-form-define-abbrev-table)
11471 (byte-compile-file-form-custom-declare-variable)
11472 (byte-compile-variable-ref, byte-compile-defvar):
11473 Whether or not a warning is enabled should only affect whether we issue
11474 the warning, not whether or not we collect the relevant data.
11475 Eg warnings can be turned on and off throughout the course of a file.
11477 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11478 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11480 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11482 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11483 * play/mpuz.el (mpuz-create-buffer):
11484 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11485 (lm-print-y,s,noise, lm-print-w0, lm-init):
11486 * play/gomoku.el (gomoku-prompt-for-move):
11487 * play/fortune.el (fortune-in-buffer):
11488 * play/dissociate.el (dissociated-press):
11489 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11490 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11491 * mail/supercite.el (sc-eref-show):
11492 * mail/smtpmail.el (smtpmail-send-it):
11493 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11494 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11495 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11496 (rmail-summary-goto-msg, rmail-summary-expunge)
11497 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11498 (rmail-summary-add-label, rmail-summary-output-menu)
11499 (rmail-summary-output-body):
11500 * mail/rfc822.el (rfc822-addresses):
11501 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11502 * mail/mailpost.el (post-mail-send-it):
11503 * mail/hashcash.el (hashcash-generate-payment):
11504 * mail/feedmail.el (feedmail-run-the-queue)
11505 (feedmail-queue-send-edit-prompt-help-first)
11506 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11507 (feedmail-deduce-address-list):
11508 * eshell/esh-ext.el (eshell-remote-command):
11509 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11510 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11511 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11512 (viper-save-string-in-file, viper-valid-marker):
11513 * emulation/viper-keym.el (viper-toggle-key):
11514 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11515 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11516 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11517 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11518 (viper-exec-form-in-emacs, viper-brac-function):
11519 * emulation/viper.el (viper-delocalize-var):
11520 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11521 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11522 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11523 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11524 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11525 * emulation/edt.el (edt-electric-helpify):
11526 * emulation/cua-rect.el (cua--rectangle-aux-replace):
11527 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11528 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11529 (cua-indent-to-global-mark-column):
11530 * calendar/diary-lib.el (calendar-mark-1):
11531 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11532 Use with-current-buffer.
11533 * emulation/viper.el (viper-delocalize-var): Use dolist.
11535 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
11537 * comint.el (comint-replace-by-expanded-history-before-point):
11538 Replace !! with the previous input string literally (Bug#1795).
11540 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
11542 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11543 to be made up of whitespace.
11545 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
11547 * minibuffer.el (read-file-name): Don't use file dialogs for
11548 remote directories (Bug#99).
11550 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
11552 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11554 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
11556 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11557 instead of deleting the window or frame.
11559 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11561 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11562 Support face colors.
11564 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11565 New function. Support face colors (Bug#1168).
11566 (tex-common-initialization): Use it.
11568 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11569 mode allows it (Bug#1168).
11571 2009-10-31 Juri Linkov <juri@jurta.org>
11573 * facemenu.el (list-colors-display): Don't mark buffer as
11574 modified (Bug#3948).
11576 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11578 * international/mule-diag.el (list-character-sets-1): Minor
11579 message fix (Bug#3526).
11581 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11582 face property (Bug#4834).
11583 (etags-list-tags, etags-tags-apropos-additional)
11584 (etags-tags-apropos, tags-select-tags-table): Add follow-link
11587 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11590 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * textmodes/two-column.el (2C-split):
11593 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11594 * textmodes/tex-mode.el (tex-set-buffer-directory):
11595 * textmodes/spell.el (spell-region, spell-string):
11596 * textmodes/reftex.el (reftex-erase-buffer):
11597 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11598 * textmodes/reftex-toc.el (reftex-toc-promote-action):
11599 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11600 (reftex-select-item):
11601 * textmodes/reftex-ref.el (reftex-label-info-update)
11602 (reftex-offer-label-menu):
11603 * textmodes/reftex-index.el (reftex-index-change-entry)
11604 (reftex-index-phrases-info):
11605 * textmodes/reftex-global.el (reftex-create-tags-file)
11606 (reftex-save-all-document-buffers, reftex-ensure-write-access):
11607 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11608 (reftex-view-crossref-from-bibtex):
11609 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11610 (reftex-extract-bib-entries-from-thebibliography)
11611 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11612 * textmodes/refbib.el (r2b-capitalize-title):
11613 (r2b-convert-buffer, r2b-help):
11614 * textmodes/page-ext.el (pages-directory)
11615 (pages-directory-goto-with-mouse):
11616 * textmodes/bibtex.el (bibtex-validate-globally):
11617 * textmodes/bib-mode.el (bib-capitalize-title):
11618 * textmodes/artist.el (artist-clear-buffer, artist-system):
11619 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11620 (local-set-scheme-interaction-buffer, xscheme-process-filter)
11621 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11622 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11623 (xscheme-send-control-g-interrupt, xscheme-start-process)
11624 (xscheme-process-sentinel, xscheme-cd):
11625 * progmodes/verilog-mode.el (verilog-read-always-signals)
11626 (verilog-set-define, verilog-getopt-file)
11627 (verilog-module-inside-filename-p):
11628 * progmodes/sh-script.el:
11629 * progmodes/python.el (python-pdbtrack-get-source-buffer)
11630 (python-pdbtrack-grub-for-buffer, python-execute-file):
11631 * progmodes/octave-inf.el (inferior-octave):
11632 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11633 (idlwave-shell-compile-helper-routines, idlwave-set-local)
11634 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11635 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11636 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11637 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11638 (idlwave-shell-filter, idlwave-shell-examine-highlight)
11639 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11640 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11641 (idlwave-shell-examine-display, idlwave-shell-run-region)
11642 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11643 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11644 * progmodes/idlw-help.el (idlwave-help-get-special-help)
11645 (idlwave-help-get-help-buffer):
11646 * progmodes/gud.el (gud-basic-call, gud-find-class)
11647 (gud-tooltip-activate-mouse-motions-if-enabled):
11648 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11649 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
11650 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
11651 (ebrowse-tags-next-file):
11652 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11653 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11654 (ebnf-eps-finish-and-write):
11655 * progmodes/cpp.el (cpp-edit-save):
11656 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11657 * progmodes/cc-defs.el (c-emacs-features):
11658 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11659 (antlr-directory-dependencies):
11660 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11661 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11662 (ada-find-any-references, ada-make-filename-from-adaname)
11663 (ada-make-body-gnatstub):
11664 * obsolete/rnews.el (news-list-news-groups):
11665 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11666 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11667 * net/rcirc.el (rcirc-debug):
11668 * net/newst-treeview.el (newsticker--treeview-list-add-item)
11669 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11670 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11671 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11672 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11673 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11674 (newsticker--treeview-list-clear-highlight)
11675 (newsticker--treeview-list-update-highlight)
11676 (newsticker--treeview-list-highlight-start)
11677 (newsticker--treeview-tree-update-highlight)
11678 (newsticker--treeview-get-selected-item)
11679 (newsticker-treeview-mark-list-items-old)
11680 (newsticker--treeview-set-current-node):
11681 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11682 * net/newst-backend.el (newsticker--get-news-by-funcall)
11683 (newsticker--get-news-by-wget, newsticker--image-get)
11684 (newsticker--image-sentinel):
11685 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11686 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11687 (eudc-ph-close-session):
11688 * net/eudc.el (eudc-save-options):
11689 * language/thai-word.el (thai-update-word-table):
11690 * language/japan-util.el (japanese-string-conversion):
11691 * international/titdic-cnv.el (tsang-quick-converter)
11692 (ziranma-converter, ctlau-converter):
11693 * international/mule-cmds.el (describe-language-environment):
11694 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11695 (skkdic-convert-postfix, skkdic-convert-prefix):
11696 (skkdic-convert-okuri-nasi, skkdic-convert):
11697 * emacs-lisp/re-builder.el (reb-update-overlays):
11698 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11699 * emacs-lisp/gulp.el (gulp-send-requests):
11700 * emacs-lisp/find-gc.el (trace-call-tree):
11701 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11702 (eieio-describe-generic):
11703 * emacs-lisp/eieio-base.el (eieio-persistent-read):
11704 * emacs-lisp/edebug.el (edebug-outside-excursion):
11705 * emacs-lisp/debug.el (debugger-make-xrefs):
11706 * emacs-lisp/cust-print.el (custom-prin1-to-string):
11707 * emacs-lisp/chart.el (chart-new-buffer):
11708 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11709 Use with-current-buffer.
11710 * textmodes/artist.el (artist-system): Don't call
11711 copy-sequence on a fresh string.
11712 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11714 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
11716 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11717 is no item to edit. (Bug#4820)
11718 (todo-top-priorities): Restore point and restore narrowing in Todo
11721 2009-10-31 Glenn Morris <rgm@gnu.org>
11723 * net/ange-ftp.el (top-level): Don't require dired when compiling.
11724 (comint-last-output-start, comint-last-input-start)
11725 (comint-last-input-end): Don't defvar when compiling.
11726 (ange-ftp-process-file): Use bound-and-true-p.
11728 * pcmpl-rpm.el (top-level): Move provide statement to end.
11729 (pcmpl-rpm): Remove unused custom group.
11731 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11733 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11735 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11736 (byte-compile-warnings): Add `constants' as an option.
11737 (byte-compile-callargs-warn, byte-compile-arglist-warn)
11738 (display-call-tree): Update for byte-compile-fdefinition possibly
11739 returning `(macro lambda ...)'. (Bug#4778)
11740 (byte-compile-variable-ref, byte-compile-setq-default):
11741 Respect `constants' member of byte-compile-warnings.
11743 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11745 * vc-bzr.el (vc-bzr-revision-keywords): New var.
11746 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11749 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
11751 * textmodes/ispell.el (ispell-skip-region-alist):
11752 * international/mule-conf.el (eight-bit):
11753 * international/fontset.el (font-encoding-alist):
11754 * startup.el (pure-space-overflow-message):
11755 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11756 * paths.el (gnus-nntp-service, rmail-spool-directory)
11757 (term-file-prefix):
11758 * files.el (save-some-buffers-action-alist):
11759 * cmuscheme.el (same-window-buffer-names):
11760 * ielm.el (same-window-buffer-names):
11761 * shell.el (same-window-buffer-names):
11762 * mail/sendmail.el (same-window-buffer-names):
11763 * progmodes/inf-lisp.el (same-window-buffer-names):
11764 * bindings.el (mode-line-client)
11765 (mode-line-column-line-number-mode-map):
11766 * language/tibetan.el (tibetan-precomposition-rule-regexp)
11767 (tibetan-precomposed-regexp): Purecopy string arguments.
11769 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11771 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11772 (calcDigit-nondigit):
11773 * calc/calc-yank.el (calc-copy-to-buffer):
11774 * calc/calc-units.el (calc-invalidate-units-table):
11775 * calc/calc-trail.el (calc-trail-yank):
11776 * calc/calc-store.el (calc-insert-variables):
11777 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11778 * calc/calc-prog.el (calc-read-parse-table):
11779 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11780 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11781 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11782 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11783 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11784 (calc-graph-name, calc-graph-find-command, calc-graph-view)
11785 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11786 * calc/calc-ext.el (calc-realign):
11787 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11788 (calc-embedded-finish-edit, calc-embedded-make-info)
11789 (calc-embedded-finish-command, calc-embedded-stack-change):
11790 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11792 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11793 shell-dynamic-complete-filename in preference to
11794 comint-dynamic-complete-filename.
11796 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11797 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11798 Don't consider whether the display supports colors.
11799 (bookmark-import-new-list): Use dolist.
11800 (bookmark-bmenu-mode-map): Move initialization into declaration.
11801 (bookmark-bmenu-list): Use dolist, simplify.
11802 (bookmark-show-all-annotations): Use save-selected-window and dolist.
11803 (menu-bar-final-items): Use push.
11805 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11807 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11808 it works on remote files.
11809 (vc-hg-diff): Don't pass any `--cwd' argument.
11811 2009-10-27 Kevin Ryde <user42@zip.com.au>
11813 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11814 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11815 (Further to Bug#3921).
11817 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
11819 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11820 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11821 calling `tramp-imap-put-file'. Add file size to the call.
11822 (tramp-imap-get-file-entries): Compute also user name, file size,
11824 (tramp-imap-handle-insert-directory): Insert uid and gid.
11825 (tramp-imap-handle-file-attributes): Transform uid and gid
11826 according to `id-format'.
11827 (tramp-imap-put-file): New optional parameter SIZE. Encode file
11828 size in header X-Size.
11830 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
11832 * simple.el (transpose-subr): Give clearer error when the mark
11833 is not set. (Bug#4807)
11835 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
11837 * net/tramp.el (tramp-perl-file-truename): New defconst.
11838 Perl code contributed by yary <not.com@gmail.com> (tiny change).
11839 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11840 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11841 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11843 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11844 Ignore `dired-call-process'.
11845 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11847 2009-10-26 Julian Scheid <julians37@gmail.com>
11849 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11850 (tramp-get-remote-readlink): New defun.
11851 (tramp-handle-file-truename): Use it.
11852 (tramp-handle-file-exists-p): Check file-attributes cache, assume
11853 file exists if cache value present.
11854 (tramp-check-cached-permissions): New defun.
11855 (tramp-handle-file-readable-p): Use it.
11856 (tramp-handle-file-writable-p): Likewise.
11857 (tramp-handle-file-executable-p): Likewise.
11858 (tramp-handle-file-name-all-completions): Try using Perl to get
11859 partial completions. When perl not available, combine `cd' and
11860 `ls' into single remote operation and use shell expansion to get
11861 partial remote directory contents. Set `file-exists-p' cache for
11862 directory and any files returned by ls. Change cache handling to
11863 support partial directory contents. Use error message emitted by
11864 remote `cd' or Perl code for local tramp-error.
11865 (tramp-do-copy-or-rename-file-directly): Avoid separate
11866 tramp-send-command-and-check call.
11867 (tramp-handle-process-file): Merge three remote ops into one.
11868 Do not flush all caches when `process-file-side-effects' is set.
11869 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11870 file-attributes shows uid/gid to be set already.
11872 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
11874 * textmodes/tex-mode.el (tex-dvi-view-command)
11875 (tex-show-queue-command, tex-open-quote):
11876 * progmodes/ruby-mode.el (auto-mode-alist)
11877 (interpreter-mode-alist): Purecopy strings.
11879 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11881 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11882 string for the hook, keymap and abbrev table.
11884 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11886 * x-dnd.el (x-dnd-xdnd-to-action):
11887 * startup.el (fancy-startup-text, fancy-about-text): Change to
11888 defconst from defvar.
11890 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11892 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11893 Purecopy initialization strings.
11895 * mail/sendmail.el (mail-header-separator)
11896 (mail-personal-alias-file):
11897 * mail/rmail.el (rmail-default-dont-reply-to-names)
11898 (rmail-ignored-headers, rmail-retry-ignored-headers)
11899 (rmail-highlighted-headers, rmail-secondary-file-directory)
11900 (rmail-secondary-file-regexp):
11901 * files.el (null-device, file-name-invalid-regexp)
11902 (locate-dominating-stop-dir-regexp)
11903 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11904 (interpreter-mode-alist): Use mapcar instead of mapc.
11906 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11908 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11909 (completion-ignored-extensions):
11910 (debug-ignored-errors): Purecopy strings.
11912 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11915 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11916 (pcomplete--here): Use push.
11918 * subr.el (all-completions): Declare the 4th arg obsolete.
11920 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11922 * pcomplete.el (pcomplete-unquote-argument-function): New var.
11923 (pcomplete-unquote-argument): New function.
11924 (pcomplete--common-suffix): Always pay attention to case.
11925 (pcomplete--table-subvert): Quote and unquote the text.
11926 (pcomplete--common-quoted-suffix): New function.
11927 (pcomplete-std-complete): Use it and pcomplete-begin.
11929 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11930 we're inside a dedicated or minibuffer window.
11932 2009-10-24 Karl Fogel <kfogel@red-bean.com>
11934 * bookmark.el: Update documentation, especially documentation
11935 of `bookmark-alist' and of the bookmark file format.
11936 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
11938 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
11940 * mail/emacsbug.el (report-emacs-bug): Clarify that the
11941 keybindings apply to the mail buffer (Bug#4003). Shrink help
11944 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11945 (global-whitespace-mode, global-whitespace-newline-mode)
11946 (whitespace-toggle-options, global-whitespace-toggle-options):
11947 Doc fix (Bug#3660).
11949 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11950 of xmltok-start before the end tag was inserted (Bug#2840).
11952 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11953 patterns that are preceded by an open-paren (Bug#1320).
11955 2009-10-24 Sven Joachim <svenjoac@gmx.de>
11957 * files.el (delete-directory): Delete symlinks to directories with
11958 delete-file (Bug#4739).
11960 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
11962 * vc.el (vc-backend-for-registration): Rename from
11963 vc-get-backend-for-registration. Update callers.
11965 * international/mule-cmds.el (set-language-info-alist):
11967 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11968 (charset): Purecopy the name.
11969 (define-char-code-property): Purecopy string arguments.
11971 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11972 Purecopy string arguments.
11974 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11975 * ediff-hook.el (menu-bar-ediff-menu):
11976 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11977 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11979 2009-10-24 Glenn Morris <rgm@gnu.org>
11981 * comint.el (comint-dynamic-list-completions):
11982 * term.el (term-dynamic-list-completions): Use choose-completion rather
11983 than obsolete alias mouse-choose-completion.
11985 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11986 file-cache-choose-completion.
11987 (file-cache-choose-completion): Handle an optional event argument.
11988 (file-cache-mouse-choose-completion): Make it an obsolete alias.
11990 * progmodes/octave-mod.el (octave-complete-symbol):
11991 Use choose-completion if mouse-choose-completion is ever removed.
11993 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11996 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11999 * vc-hooks.el (vc-responsible-backend): Fix declaration.
12001 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12003 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12004 Ignore `pred' now that we receive one.
12005 Handle test-completion specially.
12007 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12009 * vc.el (vc-responsible-backend): Throw an error if not backend is
12010 found. Remove the REGISTER argument. Move the code dealing with
12012 (vc-get-backend-for-registration): ... here. New function.
12013 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12014 of vc-responsible-backend, pass the file name instead of the
12017 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12019 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12021 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
12022 (pcomplete-comint-setup): Don't modify a global var via
12023 accidental side-effects.
12024 (pcomplete-shell-setup): Adjust call accordingly.
12025 (pcomplete-parse-comint-arguments): Use push.
12027 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
12029 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12030 Allow uncapitalized info node names (Bug#3921).
12032 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12033 to the DEBUG file (Bug#3781).
12035 2009-10-23 Jari Aalto <jari.aalto@cante.net>
12037 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12038 dictionary entry (Bug#4579).
12040 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
12042 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12043 from `rfn-eshadow-update-overlay-hook' when unloading.
12044 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12045 "rsyncc". Adjust doc string.
12046 (tramp-temp-buffer-file-name): New buffer-local defvar.
12047 (tramp-handle-insert-file-contents, tramp-handle-write-region):
12048 Keep temporary file when indicated by method ("rsync" and
12050 (tramp-handle-write-region): Handle APPEND.
12051 (tramp-delete-temp-file-function): New defun. Added to
12052 `kill-buffer-hook'.
12054 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
12056 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12058 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12060 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12061 (color-name-rgb-alist, tty-standard-colors)
12062 (tty-color-mode-alist): Change to defconst.
12064 * simple.el (mark-inactive): Purecopy message.
12066 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12067 (global-map, yank-menu):
12068 * textmodes/ispell.el (ispell-menu-map):
12069 * net/eudc.el (eudc-tools-menu):
12070 * international/mule-cmds.el (describe-language-environment-map)
12071 (setup-language-environment-map, set-coding-system-map)
12072 (mule-menu-keymap):
12073 * vc-hooks.el (vc-menu-entry, vc-menu-map):
12074 * replace.el (occur-mode-map):
12075 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12077 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
12079 * calc/calc.el (math-read-number, math-read-number-simple): Use
12082 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12084 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12085 rather than fiddling with global-map bindings, since it should only
12086 affect per-terminal settings.
12087 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12089 * minibuffer.el (completion-table-with-terminator): Allow to specify
12090 the terminator-regexp.
12092 * simple.el (switch-to-completions): Look for *Completions* in other
12095 * pcomplete.el: Allow the use of completion-tables.
12096 (pcomplete-std-complete): New command.
12097 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12098 (pcomplete--here): Use a function for `form' rather than an expression,
12099 so it can be byte-compiled.
12100 (pcomplete-here, pcomplete-here*): Adjust accordingly.
12101 Add edebug declaration.
12102 (pcomplete-show-completions): Remove unused var `curbuf'.
12103 (pcomplete-do-complete, pcomplete-stub):
12104 Don't assume `completions' is a list of strings any more.
12106 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
12108 * find-dired.el (find-name-arg): Fix typo in docstring.
12110 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12112 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12113 (pcmpl-linux-fs-types): Same, and update to new modules layout.
12115 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12118 * comint.el (comint-read-input-ring, comint-write-input-ring)
12119 (comint-substitute-in-file-name)
12120 (comint-dynamic-complete-as-filename)
12121 (comint-dynamic-simple-complete)
12122 (comint-dynamic-list-filename-completions)
12123 (comint-dynamic-list-completions)
12124 (comint-redirect-results-list-from-process): Minor simplifications.
12126 2009-10-21 Kevin Ryde <user42@zip.com.au>
12128 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12129 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12130 the first form. And insert a blank line after ";;; Code" since
12131 that's usual style. (Bug#4612)
12133 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12135 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12137 * minibuffer.el (completion-table-with-terminator): Properly implement
12138 boundaries, in case `terminator' appears in the suffix.
12139 (completion--embedded-envvar-table): Don't return boundaries if
12140 there's no valid completion. Simplify.
12141 (completion-file-name-table): New completion table extracted from
12142 completion--file-name-table.
12143 (completion--file-name-table): Use it.
12144 (read-file-name-predicate): Declare obsolete.
12145 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12146 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12147 completion-file-name-table, and use the `pred' argument.
12148 * files.el (locate-file-completion-table): Use the `pred' arg rather
12149 than read-file-name-predicate.
12150 (abbreviate-file-name): Use \` rather than ^ for BOS.
12152 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
12154 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12155 vc-responsible-backend to register, it causes problems.
12157 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12159 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12161 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
12163 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12164 (tramp-smb-handle-file-attributes): Use it.
12165 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12166 (tramp-smb-handle-insert-directory): Use `mapc' rather than
12167 `mapcar'. Use `tramp-smb-get-stat-capability'.
12168 Add `dired-filename' text properties.
12169 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12170 (tramp-smb-maybe-open-connection): Simplify check for smbclient
12173 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
12175 * subr.el (read-key-delay): Reduce to 0.01.
12176 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12179 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12181 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12183 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12184 (Info-menu): Remove unused vars `last' and `completions'.
12185 (Info-index-nodes): Remove unused var `node'.
12187 * info.el (Info-complete-menu-item): Use complete-with-action.
12189 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
12191 Make vc-annotate work through copies and renames.
12192 * vc-annotate.el (vc-annotate-extract-revision-at-line):
12193 Return the file name too.
12194 (vc-annotate-revision-at-line)
12195 (vc-annotate-find-revision-at-line)
12196 (vc-annotate-revision-previous-to-line)
12197 (vc-annotate-show-log-revision-at-line): Update to get the file
12198 name from vc-annotate-extract-revision-at-line.
12199 (vc-annotate-show-diff-revision-at-line-internal): Change the
12200 argument to mean whether to show a file diff or not. Get the file
12201 name from vc-annotate-extract-revision-at-line.
12202 (vc-annotate-show-diff-revision-at-line):
12203 Update vc-annotate-show-diff-revision-at-line call.
12204 (vc-annotate-warp-revision): Add an optional file argument.
12206 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12207 (vc-git-annotate-extract-revision-at-line): Also return the file
12210 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12211 command. Remove unused code.
12212 (vc-hg-annotate-re): Update to match --follow output.
12213 (vc-hg-annotate-extract-revision-at-line): Also return the file
12216 * vc.el: Update annotate-extract-revision-at-line documentation.
12218 2009-10-18 Kevin Ryde <user42@zip.com.au>
12220 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12221 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12223 * net/browse-url.el (browse-url): Identify alist with "consp and
12224 not functionp" and let all other things go down the `apply' leg,
12225 as suggested by Stefan. (Further to bug#4531.)
12227 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
12229 * minibuffer.el (read-file-name): Check for repeat before putting
12230 a default argument in file-name-history (Bug#4657).
12232 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12233 read syntax (Bug#4737).
12235 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12237 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12239 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12240 (html-tag-alist, html-tag-help): Add descriptions for undocumented
12241 entries and make note of obsolete tags.
12243 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12245 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12247 2009-10-18 Glenn Morris <rgm@gnu.org>
12249 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12250 grep, so that binary files (eg international/uni-bidi.el) can match.
12251 Remove test for "UnicodeData" files, since it is hopefully unnecessary
12252 now, and in any case the file header format has changed.
12254 2009-10-17 Glenn Morris <rgm@gnu.org>
12256 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12257 (flyspell-get-word, flyspell-large-region)
12258 (flyspell-auto-correct-previous-word): Doc/error message fixes.
12260 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
12262 * Makefile.in (ELCFILES): Add ede/shell.
12264 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
12266 * term/common-win.el (x-colors): Purecopy it.
12268 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12270 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12271 permissive for when the buffer is empty.
12272 (tar-header-block-tokenize): Decode the username and groupname.
12273 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12275 2009-10-17 Eric Ludlam <zappo@gnu.org>
12277 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12278 contains multibyte characters, choose first applicable coding
12279 system automatically.
12281 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12283 * international/mule-cmds.el (select-safe-coding-system): If the file
12284 has a coding cookie, use it regardless of any other setting (bug#4712).
12286 2009-10-17 Glenn Morris <rgm@gnu.org>
12288 * foldout.el (foldout-mouse-swallow-events):
12289 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12291 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12292 (dired-keep-marker-copy, dired-keep-marker-hardlink)
12293 (dired-keep-marker-symlink, dired-dwim-target)
12294 (dired-copy-preserve-time): Do not autoload these defcustoms.
12296 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12297 messages from messing up the file coding. (Bug#4623)
12299 2009-10-17 Jari Aalto <jari.aalto@cante.net>
12301 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12302 if no match is found for the current dictionary. (Bug#4578)
12304 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12305 optional, since that is how it is documented, and this is often called
12306 with a nil argument. (Bug#4577)
12307 (flyspell-external-point-words, flyspell-auto-correct-word)
12308 (flyspell-correct-word-before-point, flyspell-word-search-forward)
12309 (flyspell-word-search-backward): Remove nil argument in calls to
12310 flyspell-get-word, since it is not needed now.
12312 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
12314 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
12316 2009-10-16 Glenn Morris <rgm@gnu.org>
12318 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12320 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12322 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12323 (ange-ftp-file-size): New function.
12324 (ange-ftp-file-attributes): Use it.
12326 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
12328 * net/tramp-smb.el (tramp-smb-version): New defvar.
12329 (tramp-smb-maybe-open-connection): Use it, in order to avoid
12332 2009-10-16 Glenn Morris <rgm@gnu.org>
12334 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12335 Maybe copy some custom properties from old to new name. (Bug#4706)
12337 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
12339 * subr.el (error, sit-for, start-process-shell-command)
12340 (start-file-process-shell-command): Set the calling convention
12341 after the function definition.
12343 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12345 * subr.el (error, sit-for, start-process-shell-command)
12346 (start-file-process-shell-command): Use the new
12347 set-advertised-calling-convention feature.
12349 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
12351 * international/ucs-normalize.el (ucs-normalize-version):
12353 (check-range): Adjust for Unicode 5.2.
12355 2009-10-15 Juri Linkov <juri@jurta.org>
12357 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12358 to the `menu-item' format.
12360 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
12362 * net/tramp.el (tramp-replace-environment-variables): Do not fail
12363 if the environment variable does not exist.
12365 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12366 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12368 (tramp-smb-handle-add-name-to-file)
12369 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12370 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12371 (tramp-smb-handle-file-attributes)
12372 (tramp-smb-do-file-attributes-with-stat)
12373 (tramp-smb-handle-file-local-copy)
12374 (tramp-smb-handle-insert-directory)
12375 (tramp-smb-handle-make-directory)
12376 (tramp-smb-handle-make-directory-internal)
12377 (tramp-smb-handle-make-symbolic-link)
12378 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12379 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12380 (tramp-smb-maybe-open-connection): Apply the changed parameters.
12381 (tramp-smb-read-file-entry): Read Disk names in compressed format.
12382 Handle long file names.
12383 (tramp-smb-get-cifs-capabilities): Check, whether the connection
12384 process is running.
12385 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12386 Read share names with "-g" option.
12388 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
12390 * net/rcirc.el (rcirc-view-log-file): New command.
12391 (rcirc-track-minor-mode-map): Remove C-c ` binding.
12392 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12395 2009-10-15 Glenn Morris <rgm@gnu.org>
12397 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12398 from the second command-line argument.
12399 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12400 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12401 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12402 w32-batch-update-autoloads.
12403 * emacs-lisp/autoload.el (autoload-make-program): New variable.
12404 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12406 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12407 the headers cannot be located. Simplify, subtracting superflous
12410 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
12412 Replace completion-base-size by completion-base-position to fix bugs
12413 such as (bug#4699).
12414 * simple.el (completion-base-position): New var.
12415 (completion-base-size): Mark as obsolete.
12416 (choose-completion): Make it work for mouse events as well.
12417 Pass the new base-position to choose-completion-string.
12418 (choose-completion-guess-base-position): New function, extracted from
12419 choose-completion-delete-max-match.
12420 (choose-completion-delete-max-match): Use it. Make obsolete.
12421 (choose-completion-string): Use the new base-position info.
12422 (completion-root-regexp): Delete.
12423 (completion-setup-function): Preserve completion-base-position.
12424 Eliminate obsolete base-size manipulation.
12425 * minibuffer.el (display-completion-list): Don't mess with base-size.
12426 (minibuffer-completion-help): Set completion-base-position instead.
12427 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12429 * textmodes/bibtex.el (bibtex-complete):
12430 * emacs-lisp/crm.el (crm--choose-completion-string):
12431 Adjust to new calling convention.
12432 * complete.el (partial-completion-mode): Use minibufferp to avoid
12433 bumping into incompatible change to choose-completion-string-functions.
12434 * ido.el (ido-choose-completion-string): Make its calling convention
12436 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12437 base-size manipulation.
12438 (comint-dynamic-list-input-ring): Use dotimes and push.
12439 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12440 fundamental-mode. Use `or'.
12442 2009-10-14 Juri Linkov <juri@jurta.org>
12444 * misearch.el (multi-isearch-next-buffer-from-list)
12445 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
12447 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12449 * Makefile.in (compile-onefile): Load `bytecomp' rather than
12452 * minibuffer.el (completion-pcm--merge-completions): Make sure the
12453 string we return is all made up of text from the completions rather
12454 than part from the completions and part from the input (bug#4219).
12456 * ido.el (ido-everywhere): Use define-minor-mode.
12458 * buff-menu.el (list-buffers, ctl-x-map):
12459 Mark the entry points with ;;;###autoload cookies.
12461 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
12463 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12464 correctly in the detached head case.
12465 (vc-git-print-log): Remove unused binding.
12467 * vc.el (vc-responsible-backend): When a directory is passed for
12468 for registration create a VC repository if no backend is
12469 responsible for the directory argument.
12470 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12472 * vc.el: Move comments about RCS and SCCS ...
12474 * vc-sccs.el: ... here, respectively.
12476 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12478 * minibuffer.el (completion--file-name-table): Return nil if there's
12479 no file completion, even if substitute-in-file-name changed
12480 the string (bug#4708).
12482 2009-10-13 Juri Linkov <juri@jurta.org>
12484 * files-x.el (read-file-local-variable-value): Don't filter out
12485 minor modes from mode name completion (bug#4664).
12487 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12489 * international/mule-cmds.el (ucs-names): Remove exclusion of
12490 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12492 2009-10-13 Kenichi Handa <handa@m17n.org>
12494 * international/uni-name.el: Regenerated.
12496 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12498 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12499 should be automatically buffer-local, but isn't.)
12501 2009-10-12 Sam Steingold <sds@gnu.org>
12503 * progmodes/compile.el (compilation-next-error-function): Fix the
12504 timestamps if the buffer has been visited before.
12505 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12506 non-anchored patterns, like the perl one (bug#3928).
12508 2009-10-12 Glenn Morris <rgm@gnu.org>
12510 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12513 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12515 * proced.el (proced-unload-function): New function.
12517 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12518 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12521 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12523 2009-10-11 Juri Linkov <juri@jurta.org>
12525 * files-x.el (read-file-local-variable-value):
12526 Provide default value only for bound variables (bug#4664).
12528 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
12530 * net/tramp.el (tramp-local-host-p): Function shall return nil for
12531 connection methods like smb.
12533 * net/tramp-cache.el (tramp-flush-connection-property): The hash
12536 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12537 (tramp-smb-file-name-handler-alist): Add handlers for
12538 `add-name-to-file', `make-symbolic-link'.
12539 (tramp-smb-handle-add-name-to-file)
12540 (tramp-smb-do-file-attributes-with-stat)
12541 (tramp-smb-handle-make-symbolic-link)
12542 (tramp-smb-get-cifs-capabilities): New defuns.
12543 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12544 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12545 (tramp-smb-handle-file-local-copy)
12546 (tramp-smb-handle-make-directory-internal)
12547 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12548 The file name syntax depends on cifs capabilities.
12549 (tramp-smb-handle-file-attributes):
12550 Call `tramp-smb-do-file-attributes-with-stat' if possible.
12551 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12552 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12554 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
12556 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12557 (eieio-defclass): Apply deftype handler and setf-method properties
12559 (eieio-add-new-slot): Avoid union function from cl library.
12560 (eieio--typep): New function.
12561 (eieio-perform-slot-validation): Use it.
12563 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12565 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12566 Update documentation to refer to the variables documented in r1.135.
12569 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12571 * bookmark.el (Info-suffix-list): Remove this unused variable.
12572 (bookmark-current-point): Remove this obsolete variable.
12573 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12574 Adjust for removal of bookmark-current-point.
12576 (bookmarks-already-loaded, bookmark-current-buffer)
12577 (bookmark-yank-point): Document. (Bug#4188)
12579 2009-10-10 Glenn Morris <rgm@gnu.org>
12581 * frame.el (frame-height): Doc fix.
12583 * calendar/calendar.el (calendar-split-width-threshold): New option.
12584 (calendar-basic-setup): Use calendar-split-width-threshold.
12586 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
12588 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12589 Ideographic Supplement" range (U+1F200..U+1F2FF).
12591 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12593 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12594 since the list will have been rebuilt anyway. (Bug#4349)
12596 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12598 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12599 (bookmark-bmenu-execute-deletions): Don't save here, as
12600 bookmark-delete will now do so if necessary.
12601 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12604 2009-10-09 Glenn Morris <rgm@gnu.org>
12606 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12608 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12610 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12611 (bookmark-jump-other-window): Just invoke bookmark-jump with new
12612 argument now, so the two function's behaviors will match. (Bug#3645)
12614 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
12616 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12617 (tramp-file-name-real-host, tramp-file-name-port):
12618 Apply `save-match-data'.
12620 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12621 case both directories are remote.
12622 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12623 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12625 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12627 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12629 2009-10-07 Glenn Morris <rgm@gnu.org>
12631 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12634 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * files-x.el (read-file-local-variable): Include some
12637 non-user-variables in the completion table (bug#4664).
12639 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
12641 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12644 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12645 (tramp-smb-file-name-handler-alist): Add handler for
12646 `copy-directory', `expand-file-name', `set-file-modes'.
12647 (tramp-smb-handle-copy-directory)
12648 (tramp-smb-handle-expand-file-name)
12649 (tramp-smb-handle-set-file-modes): New defuns.
12650 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12651 (tramp-smb-handle-file-attributes): Simplify check for retrieving
12653 (tramp-smb-handle-insert-directory): Don't flush the cache.
12654 (tramp-smb-maybe-open-connection): Check for samba client and
12657 2009-10-07 Eli Zaretskii <eliz@gnu.org>
12659 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12660 to not error out of search for "^lisp=" fails.
12662 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12664 * makefile.w32-in (WINS_UPDATES): New macro.
12665 (custom-deps, finder-data, autoloads): Use it.
12667 2009-10-07 Glenn Morris <rgm@gnu.org>
12669 * Makefile.in (autoloads): Revert previous change.
12670 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12671 the list of preloaded files passed on the command-line, get
12672 it from src/Makefile.
12674 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12675 show the original buffer rather than a random one.
12677 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
12679 * help.el (describe-no-warranty): Place point in a slightly better
12680 position in the GPLv3 text.
12682 2009-10-06 Sam Steingold <sds@gnu.org>
12684 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12685 the comm attribute is present before calling regexp-quote.
12687 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
12689 * play/animate.el (animate-string): For good effect, make sure
12690 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12692 * play/animate.el (animate-sequence, animate-birthday-present):
12693 * misc.el (butterfly): Don't set `indent-tabs-mode'.
12695 2009-10-06 Glenn Morris <rgm@gnu.org>
12697 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12699 * emacs-lisp/autoload.el (autoload-excludes): New variable.
12700 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12701 (batch-update-autoloads): Process a string value of autoload-excludes,
12702 set during the build process.
12703 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
12705 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12706 inside with-parsed... macro so that `v' is defined.
12708 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12709 * progmodes/fortran.el (fortran-end-of-block)
12710 (fortran-beginning-of-block):
12711 Also push mark in the macro case.
12713 * emerge.el (emerge-show-file-name):
12714 * calc/calc.el (calc-quit):
12715 * calc/calc-misc.el (calc-big-or-small):
12716 * calc/calc-graph.el (calc-graph-view):
12717 * calc/calc-ext.el (calc-reset):
12718 * calendar/calendar.el (calendar-basic-setup):
12719 Use window-full-height-p.
12721 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12722 header we don't understand, don't insert another. (Bug#4624)
12723 If changing mime charset, insert the new one in the right place.
12725 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
12727 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12728 (cal-tex-cursor-month): Correctly increment the end date for diary and
12729 holiday listing. (Bug#4626)
12731 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12733 * help-fns.el (describe-function-1): Don't burp if the function is not
12736 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
12738 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12739 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12740 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12741 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12743 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12744 (eieio-default-superclass): Reflow docstrings.
12745 (this, class-option-assoc, defclass, eieio-class-un-autoload)
12746 (eieio-unbind-method-implementations, defmethod)
12747 (eieio-validate-slot-value, eieio-validate-class-slot-value)
12748 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12749 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12750 (eieio-slot-originating-class-p, eieio-slot-name-index)
12751 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12752 (constructor, initialize-instance, no-next-method, object-print)
12753 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12754 Fix typos in docstrings.
12755 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12756 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12757 (next-method-p): Doc fixes.
12758 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12759 Fix typos in error messages.
12760 (eieio-defmethod): Fix typo in description of generic method.
12762 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12763 (eieio-persistent-save-interactive, slot-missing):
12764 Fix typos in docstrings.
12765 (eieio-instance-inheritor-slot-boundp): Doc fix.
12767 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12768 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12770 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12771 (eieio-custom-object-apply-reset):
12772 Fix typos in docstrings and error messages.
12774 * emacs-lisp/eieio-datadebug.el (data-debug-show):
12775 Fix typo in docstring.
12777 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12778 (eieio-browse-tree): Doc fix.
12779 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12780 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12781 Fix typos in docstrings.
12783 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12784 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12785 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12786 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12789 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
12791 * vc-hg.el (log-view-vc-backend): Declare for compiler.
12792 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12793 Set log-view-vc-backend so that diff can work.
12795 * log-view.el (log-view-diff): Use vc-diff-internal instead of
12797 (vc-diff-internal): Autoload this instead of vc-version-diff.
12799 2009-10-05 Eli Zaretskii <eliz@gnu.org>
12801 * simple.el (eval-expression): Doc fix.
12803 * progmodes/cwarn.el (cwarn-mode): Doc fix.
12805 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
12807 * files.el (directory-files-no-dot-files-regexp): New defconst.
12808 (delete-directory): Use it.
12809 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
12811 * net/tramp.el (tramp-verbose): Fix docstring.
12812 (tramp-methods): Add recursive option to `tramp-copy-args'.
12813 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
12814 "scp1_old", "scp2_old", "rsync", "rsyncc".
12815 (tramp-default-method): Check also for `auth-source-user-or-password'.
12816 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12817 Add handler for `copy-directory'.
12818 (tramp-handle-copy-directory): New defun.
12819 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12820 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12821 Optimize sent command.
12823 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12825 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12826 window if necessary.
12828 * calendar/calendar.el (calendar-basic-setup): Don't call
12829 switch-to-buffer in a dedicated window.
12831 2009-10-05 Karl Fogel <kfogel@red-bean.com>
12833 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12834 don't do anything related to relocating, just return nil.
12835 (bookmark-error-no-filename): New error.
12836 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12837 bookmark has no file. Don't even attempt to handle things that
12838 are not files; the whole point of custom handlers is to keep that
12839 knowledge elsewhere anyway. Tighten some comments.
12840 (bookmark-file-or-variation-thereof): Remove now-unused function.
12841 (bookmark-location): Doc string fix.
12844 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12846 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12847 don't use a file dialog, because they usually don't know how to read
12848 a directory target from the user. (Bug#4230)
12849 Also, make sure the prompt can display directories as well as files.
12851 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12853 * bookmark.el (bookmark-set, bookmark-buffer-name):
12854 Improve doc strings. (Bug#1193)
12856 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12858 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12859 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12860 (bookmark-get-annotation, bookmark-set-annotation)
12861 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12862 (bookmark-set-position, bookmark-get-front-context-string)
12863 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12864 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12865 (bookmark-jump-other-window, bookmark-handle-bookmark)
12866 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12867 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12868 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12869 Improve doc strings to say whether bookmark can be a string or
12870 a record or both, and make other consistency and clarity fixes.
12871 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12872 (bookmark-default-annotation-text, bookmark-yank-word)
12873 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12874 (bookmark-import-new-list, bookmark-maybe-rename)
12875 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12876 (bookmark-bmenu-bookmark): Give these doc strings.
12877 (bookmark-bmenu-check-position): Give this a doc string, but also
12878 add a FIXME comment about how the function may be pointless.
12879 (bookmark-default-handler): Rework doc string and change a
12880 parameter name, to clarify that this takes a bookmark record
12881 not a bookmark name.
12882 (bookmark-set): Change a parameter name to indicate its meaning,
12883 and improve the doc string a bit.
12886 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12888 * bookmark.el (bookmark-alist): Document the new `handler' element
12889 in the param alist.
12890 (bookmark-make-record-function): Adjust documentation for above.
12893 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12895 * info.el (Info-bookmark-make-record): Document this function.
12896 (Info-bookmark-jump): Document with a doc string, not just a comment.
12899 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
12901 * files.el (copy-directory): New defun.
12903 * dired-aux.el (dired-copy-file-recursive): Use it.
12905 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
12907 * files-x.el (modify-dir-local-variable)
12908 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12911 * recentf.el (recentf-unload-function): New function.
12913 2009-10-04 Glenn Morris <rgm@gnu.org>
12915 * window.el (window-full-height-p): Add doc string.
12917 2009-10-04 Martin Rudalics <rudalics@gmx.at>
12919 * window.el (window-full-height-p): New function. (Bug#4543)
12921 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
12923 * vc.el: Remove commented out code.
12924 (vc-derived-from-dir-mode): Remove, unused.
12925 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12927 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
12929 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12930 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
12931 there could be recursive loading when `default-directory' is a
12932 remote file name. (Bug#4614)
12934 2009-10-03 Glenn Morris <rgm@gnu.org>
12936 * calendar/calendar.el (calendar-basic-setup): Handle the case where
12938 (calendar-generate-window): Test for shrinkability rather than width.
12940 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12941 reusing existing buffers, in case we happen to visit two files with the
12942 same basename. (Bug#4593)
12944 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12946 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12947 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12948 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12949 subdirs of cedet as well.
12950 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12952 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12954 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12955 Obey advertised-signature-table.
12957 * help-fns.el (help-function-arglist): Don't check
12958 advertised-signature-table.
12959 (describe-function-1): Do it here instead so it also applies to subrs.
12961 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
12963 * simple.el (start-file-process): Say in the doc-string, that file
12964 handlers might not support pty association, if PROGRAM is nil.
12966 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12967 HOST and USER are strings. They are nil, when there are
12968 incomplete entries in ~/.netrc, for example.
12969 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
12970 root directory ("device busy" error otherwise).
12972 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12973 Flush file properties of created directory.
12975 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12977 * makefile.w32-in (WINS_BASIC): Remove cedet.
12978 (WINS_CEDET): Add cedet.
12979 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12981 2009-10-02 Kevin Ryde <user42@zip.com.au>
12983 * net/browse-url.el (browse-url): Pass any symbol in
12984 browse-url-browser-function to `apply', since if you've mistakenly put
12985 an unbound symbol then the error is clearer. (Bug#4531)
12987 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12989 * allout.el (allout-init, allout-back-to-current-heading)
12990 (allout-beginning-of-current-entry, allout-ascend-to-depth)
12991 (allout-ascend, allout-up-current-level, allout-end-of-level)
12992 (allout-previous-visible-heading, allout-forward-current-level)
12993 (allout-backward-current-level, allout-show-children):
12994 * apropos.el (apropos-describe-plist):
12995 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12996 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12997 * completion.el (add-completion, add-permanent-completion):
12998 * descr-text.el (describe-text-category, describe-char):
12999 * desktop.el (desktop-lazy-abort):
13000 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13001 * dired.el (dired-build-subdir-alist):
13002 * ediff.el (ediff-version):
13003 * elide-head.el (elide-head, elide-head-show):
13004 * emerge.el (emerge-version):
13006 * face-remap.el (variable-pitch-mode):
13007 * faces.el (describe-face):
13008 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13010 * files.el (find-file-existing, auto-save-mode):
13011 * font-lock.el (font-lock-fontify-buffer):
13012 * help-fns.el (describe-function, describe-variable)
13013 (describe-syntax, describe-categories):
13014 * help.el (view-lossage, describe-bindings, describe-key)
13016 * hexl.el (hexl-current-address):
13017 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13018 * info.el (Info-goto-emacs-key-command-node):
13019 * log-edit.el (log-edit-insert-cvs-template)
13020 (log-edit-insert-cvs-rcstemplate):
13021 * menu-bar.el (menu-bar-mode):
13022 * mouse.el (mouse-appearance-menu):
13023 * newcomment.el (comment-indent-new-line):
13024 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13025 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13026 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13027 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13028 * recentf.el (recentf-mode):
13029 * savehist.el (savehist-mode, savehist-save):
13030 * shadowfile.el (shadow-copy-files):
13031 * simple.el (kill-ring-save, next-line, previous-line)
13032 (normal-erase-is-backspace-mode):
13033 * strokes.el (strokes-update-window-configuration)
13034 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13035 (strokes-xpm-for-stroke):
13036 * time.el (emacs-uptime, emacs-init-time):
13037 * tutorial.el (tutorial--describe-nonstandard-key)
13038 (tutorial--detailed-help):
13039 * type-break.el (type-break-mode)
13040 (type-break-mode-line-message-mode, type-break-query-mode)
13041 (type-break-guesstimate-keystroke-threshold):
13042 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13043 * version.el (emacs-version):
13044 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13045 * winner.el (winner-mode):
13046 * calendar/timeclock.el (timeclock-in, timeclock-out)
13047 (timeclock-status-string, timeclock-change)
13048 (timeclock-workday-remaining-string)
13049 (timeclock-workday-elapsed-string)
13050 (timeclock-when-to-leave-string):
13051 * calendar/todo-mode.el (todo-add-category):
13052 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13053 * emacs-lisp/autoload.el (update-file-autoloads):
13054 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13055 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13056 (checkdoc-message-text, checkdoc-defun):
13057 * emacs-lisp/debug.el (debugger-list-functions):
13058 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13059 * emacs-lisp/eieio-opt.el (eieio-describe-class)
13060 (eieio-describe-generic):
13061 * emacs-lisp/lisp-mnt.el (lm-synopsis):
13062 * emacs-lisp/shadow.el (list-load-path-shadows):
13063 * emulation/cua-base.el (cua-mode):
13064 * emulation/edt.el (edt-set-scroll-margins):
13065 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13066 (tpu-toggle-regexp, tpu-toggle-search-direction)
13067 (tpu-toggle-rectangle, tpu-toggle-control-keys):
13068 * emulation/tpu-extras.el (tpu-set-scroll-margins):
13069 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13070 (viper-set-parsing-style-toggling-macro)
13071 (viper-set-emacs-state-searchstyle-macros):
13072 * emulation/viper.el (viper-set-hooks):
13073 * eshell/esh-mode.el (eshell-truncate-buffer):
13074 * international/mule-cmds.el (prefer-coding-system)
13075 (describe-input-method, describe-language-environment):
13076 * international/mule-diag.el (list-character-sets)
13077 (describe-character-set, describe-coding-system)
13078 (describe-fontset, list-fontsets, list-input-methods):
13079 * mail/sendmail.el (mail-signature):
13080 * net/ange-ftp.el (ange-ftp-copy-file):
13081 * net/browse-url.el (browse-url):
13082 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13083 * net/quickurl.el (quickurl-add-url):
13084 * net/rcirc.el (names, topic):
13085 * net/xesam.el (xesam-mode):
13086 * play/5x5.el (5x5-new-game):
13087 * play/yow.el (apropos-zippy):
13088 * progmodes/ada-mode.el (ada-mode-version):
13089 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13091 (f90-beginning-of-block):
13092 * progmodes/fortran.el (fortran-end-of-block)
13093 (fortran-beginning-of-block):
13094 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13095 * progmodes/python.el (python-describe-symbol, python-shell):
13096 * term/ns-win.el (ns-print-buffer):
13097 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13098 * textmodes/flyspell.el (flyspell-mode-on):
13099 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13100 (pages-directory-for-addresses):
13101 * textmodes/table.el (table-recognize-cell)
13102 (table-query-dimension, table-generate-source)
13103 (table-insert-sequence, table--warn-incompatibility):
13104 * textmodes/tex-mode.el (tex-validate-buffer):
13105 * textmodes/texinfmt.el (texinfmt-version)
13106 (texinfo-format-buffer):
13107 Use `called-interactively-p' instead of `interactive-p'.
13109 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13111 * image-mode.el (image-toggle-display):
13112 * emacs-lisp/elp.el (elp-instrument-function):
13113 * emacs-lisp/advice.el (ad-make-advised-definition):
13114 * emacs-lisp/easy-mmode.el (define-minor-mode):
13115 * net/browse-url.el (browse-url-maybe-new-window):
13116 * progmodes/sh-script.el (sh-learn-buffer-indent):
13117 Pass new argument 'any to `called-interactively-p'.
13119 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
13121 * international/uni-bidi.el:
13122 * international/uni-category.el:
13123 * international/uni-combining.el:
13124 * international/uni-comment.el:
13125 * international/uni-decimal.el:
13126 * international/uni-decomposition.el:
13127 * international/uni-digit.el:
13128 * international/uni-lowercase.el:
13129 * international/uni-mirrored.el:
13130 * international/uni-name.el:
13131 * international/uni-numeric.el:
13132 * international/uni-old-name.el:
13133 * international/uni-titlecase.el:
13134 * international/uni-uppercase.el:
13135 Regenerate from Unicode 5.2.0 data.
13137 2009-10-01 Glenn Morris <rgm@gnu.org>
13139 * Makefile.in (ELCFILES): Regenerate.
13141 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13143 * subr.el (interactive-p): Mark obsolete.
13144 (called-interactively-p): Make the optional-ness of `kind' obsolete.
13145 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13146 advertised-signature-table for subroutines as well.
13148 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13149 (set-advertised-calling-convention): New function.
13150 (make-obsolete, define-obsolete-function-alias)
13151 (make-obsolete-variable, define-obsolete-variable-alias):
13152 Make the optional-ness of `when' obsolete.
13153 (define-obsolete-face-alias): Make `when' non-optional.
13154 * help-fns.el (help-function-arglist):
13155 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13156 Use advertised-signature-table.
13158 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
13160 * files.el (delete-directory): New defun. The original function
13161 in fileio.c has been renamed to `delete-directory-internal'.
13163 * dired.el (dired-delete-file): Call `delete-directory' with
13164 RECURSIVE parameter.
13166 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13167 parameter RECURSIVE. Implementation is missing.
13169 * net/tramp.el (tramp-handle-make-directory): Flush upper
13170 directory's file properties.
13171 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13172 (tramp-handle-dired-recursive-delete-directory): Flush directory
13173 properties after the remove command only.
13175 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13176 Handle optional parameter RECURSIVE.
13178 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13179 Handle optional parameter RECURSIVE.
13181 * net/tramp-smb.el (tramp-smb-errors): Add error message for
13182 connection timeout.
13183 (tramp-smb-handle-delete-directory): Handle optional parameter
13186 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13188 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13189 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13190 (byte-compile-defmacro): Use backquotes.
13192 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13194 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13195 has no associated file.
13196 (vc-resynch-buffer): Use vc-dir-buffers.
13198 2009-10-01 Glenn Morris <rgm@gnu.org>
13200 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13201 (chart-file-count):
13202 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13203 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13204 * emacs-lisp/eieio-opt.el (eieio-describe-class):
13205 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13206 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13207 (eieio-copy-parents-into-subclass, make-instance, class-children)
13208 (eieio-generic-form):
13210 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13211 match-data. (Bug#4555).
13213 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13214 rather than parsing it as a regexp. This relaxes the layout
13215 requirements and makes errors easier to detect.
13216 (check-declare-verify): Check file is regular.
13217 (check-declare-directory): Doc fix.
13218 * subr.el (declare-function): Doc fix.
13220 * ibuffer.el (ibuffer-format-qualifier):
13221 * isearch.el (hi-lock-regexp-okay):
13222 * calc/calc.el (math-zerop):
13223 * mail/uce.el (rmail-msgbeg, rmail-msgend):
13224 * term/w32-win.el (setup-default-fontset, set-fontset-font):
13225 Remove unused declarations.
13227 2009-09-30 Eric Ludlam <zappo@gnu.org>
13229 * emacs-lisp/eieio.el (boolean-p): Delete.
13231 2009-09-30 Glenn Morris <rgm@gnu.org>
13233 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13235 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13236 filename is not a string.
13238 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
13240 * files.el (safe-local-eval-forms): Fix typo.
13242 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13244 * vc-hooks.el (vc-dir-buffers): New var.
13245 (vc-state-refresh): New function.
13246 (vc-state): Use it.
13247 (vc-after-save): Always ask the backend to recompute the new state.
13248 Always call vc-dir if necessary, using vc-dir-buffers.
13249 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13250 Use vc-dir-buffers.
13251 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13252 (vc-dir-prepare-status-buffer, vc-dir-update)
13253 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13254 Don't call expand-file-name on default-directory.
13256 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13258 * speedbar.el (speedbar-item-delete):
13259 * calc/calc-prog.el (calc-kbd-if):
13260 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13262 * epa.el (epa-key-list-mode-map):
13263 * hi-lock.el (hi-lock-menu): Fix typos in menus.
13265 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13266 (hs-show-hook): Fix typo in docstring.
13268 2009-09-29 Glenn Morris <rgm@gnu.org>
13270 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13271 file-name-nondirectory call preventing location of cedet files.
13272 (check-declare-verify): Use literal search rather than re-search.
13273 Add basic defmethod and defclass, and define-overloadable-function.
13275 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13276 Use tramp-compat-file-attributes rather than nonexistent
13277 tramp-compat-handle-file-attributes.
13279 * Makefile.in (lisptagsfiles4): New.
13280 (AUTOGENEL): Add cedet loaddefs files.
13281 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13282 (update-elclist, compile-always, backup-compiled-files)
13283 (bootstrap-clean): Add yet another directory level.
13284 (update-elclist): Use LC_COLLATE rather than COLLATE.
13285 (ELCFILES): Update, via `make update-elclist'.
13287 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13289 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13290 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13291 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13293 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
13295 * Makefile.in (lisptagsfiles3): Define.
13296 (TAGS, TAGS-LISP): Use it.
13297 (update-elclist): Add third directory level to look for elc files.
13298 (compile-always): Likewise.
13299 (backup-compiled-files): Likewise.
13300 (bootstrap-clean): Likewise.
13301 (ELCFILES): Update.
13303 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
13305 * Makefile.in (ELCFILES): Add CEDET files.
13307 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
13309 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13311 * net/tramp.el (top): Require tramp-imap.
13313 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13314 Use `tramp-compat-handle-file-attributes'.
13316 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
13318 * net/tramp-imap.el: New package.
13320 2009-09-28 Eric Ludlam <zappo@gnu.org>
13322 * emacs-lisp/chart.el:
13323 * emacs-lisp/eieio-base.el:
13324 * emacs-lisp/eieio-comp.el:
13325 * emacs-lisp/eieio-custom.el:
13326 * emacs-lisp/eieio-datadebug.el:
13327 * emacs-lisp/eieio-opt.el:
13328 * emacs-lisp/eieio-speedbar.el:
13329 * emacs-lisp/eieio.el: New files.
13331 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13333 * whitespace.el (whitespace-trailing-regexp)
13334 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13337 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
13339 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13342 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13343 menu-bar-ediff-menu.
13345 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13346 define-overloadable-function.
13348 * progmodes/autoconf.el: Provide autoconf as well, so that this
13349 file can be `require'd.
13351 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13353 * emacs-lisp/autoload.el (generated-autoload-feature)
13354 (generated-autoload-load-name): New vars.
13355 (autoload-rubric, autoload-generate-file-autoloads): Use them.
13356 (make-autoload): Recognize define-overloadable-function and
13357 defclass forms (for EIEIO).
13359 * Makefile.in (update-subdirs): Exclude cedet directory.
13361 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
13363 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13365 * faces.el: Default light-background background for region face to
13366 ns_selection_color under NS.
13368 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13370 * net/imap-hash.el: New library, see NEWS.
13372 * Makefile.in (ELCFILES): Add imap-hash.el.
13374 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13376 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13377 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13378 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13379 definition where the docstring could be taken for the return value.
13381 2009-09-26 Glenn Morris <rgm@gnu.org>
13383 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13384 Add option to only show images below a certain size.
13385 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13386 save-excursion calls.
13388 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13390 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13391 subdirectories) and eieio.
13393 2009-09-26 Alan Mackenzie <acm@muc.de>
13395 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13396 buggy bracketing. (Bug#4289)
13398 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13399 character constants (as case labels). (Bug#4289)
13401 2009-09-25 Juri Linkov <juri@jurta.org>
13403 * files.el (safe-local-eval-forms): Allow time-stamp in
13404 before-save-hook (Bug#4554).
13406 2009-09-25 Drew Adams <drew.adams@oracle.com>
13408 * menu-bar.el (list-buffers-directory): Doc fix.
13410 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13412 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13413 Try and avoid copying twice the same paragraph.
13414 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13415 Remove save-excursion.
13416 (log-edit-changelog-entry): Do it here instead.
13418 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13420 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13421 when available, instead of hardcoding mode names. Doc fix.
13423 * menu-bar.el (list-buffers-directory): Add docstring.
13424 Make automatically buffer-local.
13426 * dired.el (dired-mode):
13427 * files.el (cd-absolute):
13428 * pcvs.el (cvs-temp-buffer):
13429 * pcvs-util.el (cvs-get-buffer-create):
13430 * shell.el (shell-mode):
13431 * vc-dir.el (vc-dir-mode):
13432 Don't make `list-buffers-directory' buffer local.
13434 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13436 * comint.el (comint-exec, comint-run, make-comint):
13437 Doc fixes (Bug#4542).
13439 2009-09-25 Glenn Morris <rgm@gnu.org>
13441 * mail/rmailmm.el (rmail-mime): New custom group.
13442 Move all defcustoms in this file into this group.
13443 (rmail-mime-media-type-handlers-alist): Revert previous change.
13444 (rmail-mime-show-images): New option.
13445 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13446 references to it, since it wasn't actually used for anything.
13447 (rmail-mime-insert-image): New function.
13448 (rmail-mime-image): Use rmail-mime-insert-image.
13449 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13450 obey the value of `rmail-mime-show-images' option. Print the size of
13453 2009-09-25 David Engster <deng@randomsample.de>
13455 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13457 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13459 * whitespace.el: Does not highlight trailing spaces While point is
13460 at end of line. Does not highligt spaces at beginning of buffer
13461 while point is at beginning of buffer. Does not highlight spaces
13462 at end of buffer while point is at end of buffer. (Bug#4177)
13464 (whitespace-display-mappings): Adjust initialization.
13465 (whitespace-point, whitespace-font-lock-refontify): New vars.
13466 (whitespace-color-on, whitespace-color-off): Adjust code.
13467 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13468 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13469 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13471 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13473 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13475 * textmodes/sgml-mode.el: Remove xml-mode alias.
13477 * files.el (auto-mode-alist, conf-mode-maybe)
13478 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13480 2009-09-24 Alan Mackenzie <acm@muc.de>
13482 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13483 c-forward-conditionals, but it doesn't move point and doesn't set
13485 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13486 (c-down-conditional-with-else, c-backward-conditional)
13487 (c-forward-conditional): Refactor to use c-scan-conditionals.
13489 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13491 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13492 (help-default-arg-highlight): Remove.
13493 (help-highlight-arg): New function.
13494 (help-do-arg-highlight): Use it.
13495 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13497 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13499 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13500 Undo last change, which didn't fix the problem and introduced others.
13502 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13504 * progmodes/gdb-mi.el: Don't require speedbar.
13505 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13507 2009-09-24 Glenn Morris <rgm@gnu.org>
13509 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13511 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13513 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13514 there is no newline after the final mime boundary. (Bug#4539)
13515 Move markers on insertion so that any buttons inserted don't end up in
13516 the next part of a multipart message.
13517 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13518 (rmail-mime-bulk-handler): Optionally handle images.
13519 (rmail-mime-image): New button action.
13520 (rmail-mime-image-handler): New function.
13521 (rmail-mime-mode): New mode.
13522 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13524 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13526 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13527 than just dropping elements from it (bug#4504).
13529 * term.el (term-set-scroll-region): Don't move cursor any more.
13530 (term-handle-ansi-escape): Call term-goto here instead.
13531 Suggested by Ivan Kanis <apple@kanis.eu>.
13533 * term.el: Require CL.
13534 (term-ansi-reset): New function.
13535 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13536 (term-handle-colors-array): Simplify.
13538 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13540 * allout.el (allout-overlay-interior-modification-handler)
13541 (allout-obtain-passphrase):
13542 * epa-file.el (epa-file-write-region):
13543 * ps-print.el (ps-begin-job):
13544 * vc-hooks.el (vc-toggle-read-only):
13545 * vc-rcs.el (vc-rcs-rollback):
13546 * vc-sccs.el (vc-sccs-rollback):
13547 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13548 (vc-version-diff, vc-revert, vc-rollback):
13549 * wdired.el (wdired-check-kill-buffer):
13550 * emacs-lisp/authors.el (authors):
13551 * net/socks.el (socks-open-connection):
13552 * net/zeroconf.el (zeroconf-service-add-hook):
13553 * obsolete/vc-mcvs.el (vc-mcvs-register):
13554 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13555 (gdb-select-frame):
13556 * progmodes/grep.el (lgrep, rgrep):
13557 * progmodes/idlw-help.el (idlwave-help-check-locations)
13558 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13559 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13560 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13561 (reftex-toc-rename-label): Fix typos in error messages.
13563 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13564 (dired-copy-how-to-fn): Doc fix.
13565 (dired-files-attributes, dired-read-shell-command):
13566 Fix typos in docstrings.
13568 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13569 (dired-x-find-file-other-window): Reflow docstrings.
13570 (dired-omit-marker-char, dired-read-shell-command)
13571 (dired-x-submit-report): Fix typos in docstrings.
13573 * shell.el (shell-mode-hook):
13574 * view.el (View-scroll-line-forward):
13575 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13576 Fix typos in docstrings.
13578 * net/dig.el (dig-invoke): Fix typo in docstring.
13579 (query-dig): Reflow docstring.
13581 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13582 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13583 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13584 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13585 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13586 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13587 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13588 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13589 (idlwave-completion-map, idlwave-current-indent)
13590 (idlwave-custom-ampersand-surround, idlwave-customize)
13591 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13592 (idlwave-define-abbrev, idlwave-determine-class-special)
13593 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13594 (idlwave-end-block-reg, idlwave-end-of-statement)
13595 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13596 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13597 (idlwave-explicit-class-listed, idlwave-file-header)
13598 (idlwave-fill-paragraph, idlwave-find-class-definition)
13599 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13600 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13601 (idlwave-in-quote, idlwave-indent-action-table)
13602 (idlwave-indent-expand-table, idlwave-indent-line)
13603 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13604 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13605 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13606 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13607 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13608 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13609 (idlwave-outlawed-buffers, idlwave-popup-select)
13610 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13611 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13612 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13613 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13614 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13615 (idlwave-statement-type, idlwave-struct-skip)
13616 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13617 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13618 (idlwave-what-module-find-class): Fix typos in docstrings.
13619 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13620 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13621 (idlwave-find-module, idlwave-find-structure-definition)
13622 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13623 (idlwave-list-load-path-shadows, idlwave-next-statement)
13624 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13625 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13626 (idlwave-template): Reflow docstrings.
13628 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13629 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13630 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13631 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13632 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13633 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13634 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13635 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13636 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13637 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13638 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13639 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13640 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13641 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13642 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13643 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13644 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13645 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13646 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13647 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13648 Fix typos in docstrings.
13649 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13650 (idlwave-shell-hide-output, idlwave-shell-mode)
13651 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13654 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13656 2009-09-24 Ivan Kanis <apple@kanis.eu>
13658 * term.el (term-bold-attribute): New var.
13659 (term-handle-colors-array): Use it.
13661 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
13663 * progmodes/gdb-mi.el (gdb-version): New variable.
13664 (gdb-non-stop-handler): Set gdb-version.
13665 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13666 Condition "--thread" option on gdb-version.
13667 (gdb-invalidate-threads): Remove unused argument.
13669 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13671 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13672 to looking-back to avoid ridiculous slow down in large files (bug#4511).
13674 2009-09-23 Glenn Morris <rgm@gnu.org>
13676 * mail/rmail.el (rmail-reply): Don't try to add a References header when
13677 replying to mail without References or Message-Id. (Bug#4525)
13679 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
13681 * term/ns-win.el (ns-reg-to-script): New variable.
13683 2009-09-23 Daiki Ueno <ueno@unixuser.org>
13685 * epg.el (epg-wait-for-status): Preserve existing 'error results.
13687 2009-09-22 Sam Steingold <sds@gnu.org>
13689 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13690 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13691 to 1 because hg returns status 1 when nothing is found.
13692 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13694 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
13696 * textmodes/fill.el: Convert to utf-8 encoding.
13697 (fill-french-nobreak-p): Remove redundant » and « inherited from our
13700 * add-log.el (change-log-fill-forward-paragraph): New function.
13701 (change-log-mode): Use it so fill-region DTRT.
13702 Set fill-indent-according-to-mode here rather than in
13703 change-log-fill-paragraph.
13704 (change-log-fill-paragraph): Remove.
13706 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
13708 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13709 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
13711 2009-09-22 Glenn Morris <rgm@gnu.org>
13713 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13714 the scroll-bar scroll the calendar window rather than the buffer.
13716 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13717 commands that move point (as opposed to scrolling).
13719 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13721 * emacs-lisp/elint.el (elint): New custom group.
13722 (elint-log-buffer): Make it a defcustom.
13723 (elint-scan-preloaded, elint-ignored-warnings)
13724 (elint-directory-skip-re): New options.
13725 (elint-builtin-variables): Doc fix.
13726 (elint-preloaded-env): New variable.
13727 (elint-unknown-builtin-args): Add an entry for encode-time.
13728 (elint-extra-errors): Make it a variable rather than a constant.
13729 (elint-preloaded-skip-re): New constant.
13730 (elint-directory): Skip files matching elint-directory-skip-re.
13731 (elint-features): New variable, local to linted buffers.
13732 (elint-update-env): Initialize elint-features. Possibly add
13733 elint-preloaded-env to the buffer's environment.
13734 (elint-get-top-forms): Bind elint-current-pos, for log messages.
13736 (elint-init-form): New function, extracted from elint-init-env.
13737 Make non-list forms a warning rather than an error.
13738 Add the mode-map for define-derived-mode. Handle define-minor-mode,
13739 easy-menu-define, put that adds an error-condition, and provide.
13740 When requiring cl, also require cl-macs. Really require cl, to handle
13741 some cl macros. Store required libraries in the list elint-features,
13742 so as not to re-load them. Treat cc-require like require.
13743 (elint-init-env): Call elint-init-form to do the work.
13744 Handle eval-and-compile and such like.
13745 (elint-add-required-env): Do not clear messages.
13746 (elint-special-forms): Add handlers for function, defalias, if, when,
13748 (elint-form): Add optional argument to ignore elint-special-forms,
13749 useful to prevent recursive calls from handlers. Doc fix.
13750 Respect elint-ignored-warnings.
13751 (elint-form): Respect elint-ignored-warnings.
13752 (elint-bound-variable, elint-bound-function): New variables.
13753 (elint-unbound-variable): Respect elint-bound-variable.
13754 (elint-get-args): Respect elint-bound-function.
13755 (elint-check-cond-form): Add some simple handling for (f)boundp and
13757 (elint-check-defalias-form): New handler.
13758 (elint-check-let-form): Make an empty let a warning rather than an
13760 (elint-check-setq-form): Make an empty setq a warning rather than an
13761 error. Respect elint-ignored-warnings.
13762 (elint-check-defvar-form): Accept null doc-strings.
13763 (elint-check-conditional-form): New handler. Does some simple-minded
13764 checking of featurep and (f)boundp tests.
13765 (elint-put-function-args): New function.
13766 (elint-initialize): Use elint-scan-doc-file rather than
13767 elint-find-builtin-variables. Use elint-put-function-args.
13768 Possibly scan preloaded-file-list.
13769 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13770 extend to handle functions as well.
13772 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
13774 * linum.el (linum-delete-overlays, linum-update-window):
13775 Do not modify the right margin. (Bug#3971)
13777 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
13779 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13780 nxml-mode instead of xml-mode.
13782 2009-09-21 Kevin Ryde <user42@zip.com.au>
13784 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
13786 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13788 * net/dig.el (dig-mode): Use define-derived-mode.
13790 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
13792 * vc-dispatcher.el (vc-do-command): Return the process object in
13793 the asynchronous case. Use when instead of if. Do not run
13794 vc-exec-after to display a message if not enabled. (Bug#4463)
13796 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13797 properties to the stash strings.
13798 (vc-git-stash-list): Return a list of strings.
13799 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13800 (vc-git-stash-show-at-point): New functions.
13801 (vc-git-stash-map): New keymap.
13803 * register.el (ctl-x-r-map): Define the keys here instead of
13806 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13808 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13809 list, to workaround performance problem (bug#4485).
13811 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13813 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13815 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13817 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13818 Document that this option is not recommended to use.
13820 2009-09-19 Glenn Morris <rgm@gnu.org>
13822 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13825 * calc/calc-alg.el (var):
13826 * calc/calcalg2.el (var): Define for compiler.
13828 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13830 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13831 Doc fix (Bug#3932).
13833 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13835 * time-stamp.el (time-stamp-month-dd-yyyy)
13836 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13837 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13838 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13839 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13840 Remove functions that have been obsolete since 1995 (Bug#4436).
13842 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13843 indent buffer only if called interactively (Bug#4452).
13845 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13846 Eli Zaretskii <eliz@gnu.org>
13848 This fixes bug#4197 (merged to bug#865, though not identical).
13849 * server.el (server-auth-dir): Add docstring note about FAT32.
13850 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13851 but warn against using them.
13853 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13855 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13856 older GDB where there is no has_more field.
13858 2009-09-19 Glenn Morris <rgm@gnu.org>
13860 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13862 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13864 * files.el (auto-mode-alist): Change default for XML files to nXML
13867 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13869 * server.el (server-ensure-safe-dir): Pass 'integer
13870 to `file-attributes', as suggested.
13872 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13874 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13875 (dired-query): Use read-key.
13877 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13879 * cus-start.el (ns-use-qd-smoothing): Remove.
13881 2009-09-18 Glenn Morris <rgm@gnu.org>
13883 * allout.el (top-level): Remove unnecessary progn.
13885 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13887 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13888 definition of abbrev table.
13890 * speedbar.el (speedbar-track-mouse):
13891 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13892 * net/eudc.el (eudc-expand-inline):
13893 * net/newst-backend.el (newsticker--cache-read-feed):
13894 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13895 condition-case handlers.
13897 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13899 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13900 (gdb-var-list): Add an element for has_more field.
13901 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13902 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13903 (gdb-var-update-handler-1): Parse output of dynamic variable
13904 objects (STL containers).
13905 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13906 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13908 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13910 (gud-speedbar-buttons): Make node expandable if expression "has more"
13913 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13915 * startup.el (emacs-quick-startup): Remove variable and all uses.
13916 (command-line): Set `inhibit-x-resources' instead.
13917 (command-line-1): Use `inhibit-x-resources' instead.
13919 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13921 * subr.el: Fix last change to avoid using the `unless' macro,
13922 which breaks bootstrapping.
13924 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13927 extended definitions, in case we reload subr.el after having
13929 (eval-next-after-load): Mark as obsolete.
13931 2009-09-17 Juri Linkov <juri@jurta.org>
13933 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13934 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13935 (menu-bar-showhide-menu, menu-bar-tools-menu)
13936 (menu-bar-describe-menu, menu-bar-help-menu)
13937 (minibuffer-local-completion-map, minibuffer-local-map):
13940 2009-09-17 Glenn Morris <rgm@gnu.org>
13942 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13943 arguments, whether or not it has a handler.
13945 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13947 * simple.el (hard-newline): Give it a doc-string.
13949 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13950 (lisp-mode-syntax-table): Give them doc-strings.
13952 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13954 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13955 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13956 (menu-bar-options-menu, menu-bar-showhide-menu)
13957 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13958 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13959 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13960 (menu-bar-options-menu, menu-bar-tools-menu)
13961 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13962 (menu-bar-help-menu):
13963 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13966 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13967 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13968 calls for the menu names and :help.
13970 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13972 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13973 to :minor-mode-function (bug#4455).
13975 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13977 * startup.el (command-line): Initialize the window-system after
13978 processing the command-line.
13980 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13981 page-delimiter matches the empty string.
13983 2009-09-16 Glenn Morris <rgm@gnu.org>
13985 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13986 byte-compile-not-obsolete-var. It's a list now.
13987 (byte-compile-not-obsolete-funcs): New variable.
13988 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13989 byte-compile-not-obsolete-funcs.
13990 (byte-compile-variable-ref, byte-compile-defvar): Update for
13991 byte-compile-not-obsolete-vars name-change and list nature.
13992 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13993 and variables behind (f)boundp tests.
13994 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13996 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13998 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14000 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14002 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14003 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14006 2009-09-15 Stephen Eglen <stephen@gnu.org>
14008 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14009 the virtual-buffers, use the name of the buffer specified by
14010 find-file-noselect, as the match may be a symlink. (This was a
14011 problem if the target and the symlink had different names.)
14013 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14015 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14017 * desktop.el (desktop-path): Check user-emacs-directory.
14019 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14021 * loadup.el: Use after-load-functions to GC after loading each file.
14022 Remove the explicit GC calls that used to be sprinkled around.
14024 * subr.el (after-load-functions): New hook.
14025 (do-after-load-evaluation): Run it. Use string-match-p to detect
14026 `obsolete' packages, rather than painfully extracting the relevant
14029 2009-09-15 Glenn Morris <rgm@gnu.org>
14031 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14032 free variable `doc'.
14034 * dired.el (dired-mode-map): Add menu entry for async shell command.
14036 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14037 variables, also consider the .elc files, since the .el files are
14038 normally gzipped (subsequent code locates the .el.gz from the .elc).
14040 * calc/calc-prog.el (arglist): Define for compiler.
14042 * calendar/diary-lib.el (diary-display-function): Change the default to
14044 (body): Define for compiler.
14046 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14047 (byte-compile-file-form, byte-compile-lambda)
14048 (byte-compile-top-level-body, byte-compile-form)
14049 (byte-compile-variable-ref, byte-compile-setq)
14050 (byte-compile-setq-default, byte-compile-body)
14051 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14052 (batch-byte-compile): Give some more local variables with common names
14053 a "bytecomp-" prefix to avoid masking warnings about free variables.
14055 * startup.el (command-line-1): Give local variables with common names a
14056 distinguishing prefix, so as not to hide free variable warnings during
14059 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14060 clever and add a suffix to make a unique name, just let the user decide
14061 whether or not to overwrite it. If the input is a directory, write the
14062 default filename to that directory. (Bug#4388)
14063 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14064 is a filename-as-a-directory.
14066 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14068 * textmodes/page.el (what-page): Don't move to beginning of line.
14069 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14071 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14073 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14075 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
14077 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14078 * help.el (help-for-help-internal): Add purecopy calls for text.
14080 * vc.el (top): print-log method now takes an optional SHORTLOG
14081 argument. Add a new method: root.
14082 (vc-root-diff, vc-print-root-log): New functions.
14083 (vc-log-short-style): New variable.
14084 (vc-print-log-internal): Add support for showing short logs.
14086 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14087 vc-print-root-log and vc-print-root-diff.
14089 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14090 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14091 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14094 * vc-cvs.el (vc-cvs-print-log):
14095 * vc-mtn.el (vc-mtn-print-log):
14096 * vc-rcs.el (vc-rcs-print-log):
14097 * vc-sccs.el (vc-sccs-print-log):
14098 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14099 that is ignored for now.
14101 * vc-mtn.el (vc-mtn-annotate-command):
14102 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14104 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14106 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14107 to function-key-map, and give them ascii-character property.
14108 * term/x-win.el (x-alternatives-map):
14109 * term/ns-win.el (ns-alternatives-map):
14110 * term/internal.el (msdos-key-remapping-map):
14111 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14113 2009-09-14 Glenn Morris <rgm@gnu.org>
14115 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14116 temp-buffers (2009-09-12).
14118 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14120 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14121 the new read-key function.
14123 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14125 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14126 is defined (Bug#4405).
14128 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
14130 * recentf.el (recentf-cleanup): Use a hash table to find
14131 duplicates (Bug#4407).
14133 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
14135 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14136 kp-0 to ascii equivalents (Bug#4325).
14138 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14140 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14142 * eshell/em-hist.el:
14143 * eshell/em-dirs.el (eshell-complete-user-reference):
14144 Declare pcomplete functions and variables to avoid compiler warnings.
14146 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
14148 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14149 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14150 * eshell/em-alias.el (eshell-aliases-file):
14151 * eshell/em-hist.el (eshell-history-file-name):
14152 Use expand-file-name instead of concat to make file names (Bug#4308).
14154 2009-09-13 Glenn Morris <rgm@gnu.org>
14156 * ediff-merg.el (ediff-do-merge):
14157 * filesets.el (filesets-run-cmd):
14158 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14159 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14160 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14161 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14162 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14163 Replace empty `let's with `progn'.
14165 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14167 * mail/sendmail.el (send-mail-function):
14168 * tooltip.el (tooltip-mode):
14169 * simple.el (transient-mark-mode):
14170 * rfn-eshadow.el (file-name-shadow-mode):
14171 * frame.el (blink-cursor-mode):
14172 * font-core.el (global-font-lock-mode):
14173 * files.el (temporary-file-directory)
14174 (small-temporary-file-directory, auto-save-file-name-transforms):
14175 * epa-hook.el (auto-encryption-mode):
14176 * composite.el (global-auto-composition-mode):
14177 Use custom-initialize-delay.
14178 * startup.el (command-line): Don't explicitly call
14179 custom-reevaluate-setting for all the above vars.
14180 * custom.el (custom-initialize-safe-set)
14181 (custom-initialize-safe-default): Delete.
14183 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * term/x-win.el (x-initialize-window-system):
14186 * term/w32-win.el (w32-initialize-window-system):
14187 * term/ns-win.el (ns-initialize-window-system): Don't call
14188 mouse-wheel-mode since it's enabled globally by default already.
14190 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14191 actually define the variable, but only silences the byte-compiler.
14192 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14193 before looking it up.
14194 (mouse-wheel-scroll-amount): Also reset the bindings if this value
14197 2009-09-12 Glenn Morris <rgm@gnu.org>
14199 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14201 (elint-add-required-env): Don't beep on error.
14202 (elint-forms): In case of error, return ENV unchanged.
14203 (elint-init-env): Skip non-list forms.
14204 (elint-log): Handle unknown file positions.
14206 2009-09-12 Daiki Ueno <ueno@unixuser.org>
14208 * epg.el (epg-make-context): Add autoload cookie.
14209 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14210 (epg-decrypt-string, epg-start-verify, epg-verify-file)
14211 (epg-verify-string, epg-start-sign, epg-sign-file)
14212 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14213 (epg-encrypt-string, epg-start-export-keys)
14214 (epg-export-keys-to-file, epg-export-keys-to-string)
14215 (epg-start-import-keys, epg-import-keys-from-file)
14216 (epg-import-keys-from-string, epg-start-receive-keys)
14217 (epg-receive-keys, epg-import-keys-from-server)
14218 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14219 (epg-sign-keys, epg-start-generate-key)
14220 (epg-generate-key-from-file, epg-generate-key-from-string):
14221 Remove autoload cookie.
14223 2009-09-12 Eli Zaretskii <eliz@gnu.org>
14225 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14226 reevaluation of trash-directory.
14228 * mwheel.el: Fix last change.
14229 (mouse-wheel-mode): New defvar.
14230 (mouse-wheel-mode): Remove autoload cookie.
14232 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14234 * mwheel.el (mwheel-installed-bindings): New var.
14235 (mouse-wheel-mode): Use it, so as to make sure we really remove all
14236 the bindings we set last time. Use custom-initialize-delay.
14237 * loadup.el: Load mwheel after term/*-win.el.
14238 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14239 and mouse-wheel-up-event now that their first evaluation is done
14240 sufficiently late to be correct.
14242 * startup.el (tutorial-directory): Make it a defcustom.
14243 Use custom-initialize-delay rather than eval-at-startup to set it.
14244 * image.el (image-load-path): Make it a defcustom.
14245 Use custom-initialize-delay rather than eval-at-startup to set it.
14246 * subr.el (eval-at-startup): Remove.
14247 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14249 * subr.el (do-after-load-evaluation): Warn the user after loading an
14252 2009-09-12 Glenn Morris <rgm@gnu.org>
14254 * proced.el (proced-mark-alt): Remove alias.
14255 (proced-mode-map): Remove proced-mark-alt.
14257 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14258 Elint file and directory. Remove initialization entry.
14260 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14262 (elint-current-buffer): Set mode-line-process.
14263 (elint-init-env): Handle define-derived-mode.
14264 Fix declare-function with unspecified arglist. Guard against odd
14265 defalias statements (eg iso-insert's 8859-1-map).
14266 (elint-add-required-env): Use a temp buffer.
14267 (elint-form): Just print the function/macro name, not the whole form.
14268 Return env unchanged if we fail to parse a macro.
14269 (elint-forms): Guard against parse errors.
14270 (elint-output): New function, to handle batch mode.
14271 (elint-log-message): Add optional argument. Use elint-output.
14272 (elint-set-mode-line): New function.
14274 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
14276 * emacs-lisp/elp.el (elp-not-profilable): Add more
14277 functions (Bug#4233).
14279 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
14281 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14282 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14284 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14286 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14287 (gdb-var-list-children): Use json parsing.
14289 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
14291 * progmodes/js.el (js--proper-indentation): Handle the case where
14292 char-before is null. Reported by Deniz Dogan.
14294 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14296 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14298 2009-09-11 Daiki Ueno <ueno@unixuser.org>
14300 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14301 (epg-digest-algorithm-alist): Add SHA224.
14302 (epg-context-set-passphrase-callback)
14303 (epg-context-set-progress-callback): Add description about
14306 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14308 * custom.el (custom-delayed-init-variables): New var.
14309 (custom-initialize-delay): New function.
14310 * startup.el (command-line): "Re"evaluate all vars in
14311 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
14312 explicitly any more.
14313 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14314 to avoid creating a ~/.emacs.d at build-time (bug#4347).
14316 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14318 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14320 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14321 (gdb-var-update-handler): Use json parsing.
14323 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14325 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14326 decode annotated text, regardless of language environment. (Bug#2741)
14328 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14330 * Makefile.in (autoloads): Make rmail.el writable as well.
14332 2009-09-11 Glenn Morris <rgm@gnu.org>
14334 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14336 * dired.el: Regenerate with extracted autoloads.
14337 * Makefile.in (autoloads): Make dired.el writable.
14339 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14340 * ibuffer.el: Regenerate with extracted autoloads.
14341 * Makefile.in (autoloads): Make ibuffer.el writable.
14343 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14344 * version.el (emacs-copyright, emacs-major-version)
14345 (emacs-minor-version): Reformat doc-strings for make-docfile.
14347 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14348 functions and variables, since they must be stuff specific to some other
14350 (apropos-print): Make mouse-click message less specific about button.
14352 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14353 that records where a macro was defined.
14354 * help-fns.el (describe-function-1): Mention if a function has a
14356 * help-mode.el (help-function-cmacro): New button.
14358 * locate.el (top-level): Always require dired.
14359 (locate-mode-map): Initialize inside the defvar.
14361 * net/ange-ftp.el (dired-compress-file): Declare.
14362 (ange-ftp-dired-compress-file): Add doc string.
14364 * term/ns-win.el (x-display-name, x-setup-function-keys):
14365 Unify doc-strings with X versions.
14367 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14369 * emulation/crisp.el (crisp-mode-map): Move initialization
14371 (crisp-mode): Use define-minor-mode.
14373 * progmodes/xscheme.el (xscheme-evaluation-commands):
14374 Put a :advertised-binding property rather than using
14375 advertised-xscheme-send-previous-expression.
14376 (advertised-xscheme-send-previous-expression): Declare obsolete.
14377 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14379 (crisp-mode): Add corresponding bindings to
14380 undo's :advertised-binding instead.
14381 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14382 than using dired-advertised-find-file.
14383 (dired-advertised-find-file):
14384 * simple.el (advertised-undo):
14385 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14386 (widget-keymap): Put a :advertised-binding property rather
14387 than using advertised-widget-backward.
14388 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14389 than using advertised-undo.
14390 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14392 2009-09-10 Simon South <ssouth@slowcomputing.org>
14394 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14395 Mark mode is enabled and region is active; otherwise indent or
14396 insert TAB as usual.
14397 (delphi-mode): Update description of TAB-key binding.
14399 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * subr.el (define-key-rebound-commands): Mark obsolete.
14402 * startup.el (precompute-menubar-bindings): Remove.
14403 (normal-top-level): Remove obsolete code that tried to precompute
14405 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14406 define-key-rebound-commands and precompute-menubar-bindings.
14408 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14410 * net/imap.el (imap-interactive-login): Better messages.
14411 (imap-open): Fix bug with renamed buffer on reconnect.
14412 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14413 for easier debugging and cleaner code. On successful (guessed based on
14414 server capabilities) secondary authentication, set imap-state
14416 (imap-last-authenticator): Define imap-last-authenticator as a variable
14419 2009-09-10 Glenn Morris <rgm@gnu.org>
14421 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14423 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14424 (byte-compile-file-form-autoload): Don't warn about unknown functions
14425 where the autoload statement comes after the use.
14426 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14427 that any handlers inside the body (eg require) are in turn respected.
14429 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14432 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14433 and syntax and abbrev tables basic docs, if they don't have any.
14435 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14437 * international/mule-cmds.el (top-level): Require cl when compiling.
14438 (view-hello-file): Use default-value rather than
14439 default-enable-multibyte-characters.
14441 * progmodes/fortran.el: Move all safe and risky properties into the
14444 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14445 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14446 * mail/undigest.el:
14447 Put autoloads in rmail.el rather than loaddefs.el.
14448 * mail/rmail.el: Regenerate with extracted autoloads.
14450 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14451 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14453 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14455 Reported in thread for Bug#4375.
14456 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14457 "-data-evaluate-expression" instead of print.
14458 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14459 (gdb-tooltip-print): Parse output from above MI command.
14460 (gdb): Revert 2009-08-11 change. User should detach inferior
14463 Remove the word "separate" from IO functions as inferior
14464 output is now never displayed in the GUD buffer.
14466 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14468 * startup.el (command-line-normalize-file-name): On Windows and
14469 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14471 2009-09-10 Juri Linkov <juri@jurta.org>
14473 * isearch.el (isearch-text-char-description): Propertize escape
14474 character sequences with the `escape-glyph' face. (Bug#4344)
14476 * simple.el (shell-command): Set asynchronous process filter to
14477 `comint-output-filter'. (Bug#4343)
14479 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14480 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14481 the list. Move "asm" to the bottom.
14482 (grep-find-ignored-directories): Add `choice' with nil value
14483 to empty the list easily.
14484 (grep-find-ignored-files): New option.
14485 (grep-files-history): Set to nil by default instead of '("ch" "el").
14486 (grep-compute-defaults): Add "<X>" to `grep-template'.
14487 (grep-read-files): Bind new local variables `default-alias' and
14488 `default-extension'. Use a list of default values for the file prompt.
14489 (lgrep): Add `--exclude=' command line options composed from
14490 `grep-find-ignored-files'.
14491 (rgrep): Add `-name' command line options composed from
14492 `grep-find-ignored-files'. (Bug#4301)
14494 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14496 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14499 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14501 * calendar/time-date.el (autoload):
14502 Expand define-obsolete-function-alias into defalias and make-obsolete
14503 for old Emacsen that Gnus supports.
14504 (with-no-warnings): Define it for old Emacsen.
14505 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14507 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14508 float-time is available; suppress compile warning for time-to-seconds.
14510 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14512 * net/imap.el (imap-message-map): Docstring fix.
14514 2009-09-09 Glenn Morris <rgm@gnu.org>
14516 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14517 line numbers too. (Bug#4374)
14519 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14521 * smerge-mode.el (smerge-remove-props, smerge-refine):
14522 Use with-silent-modifications (bug#4342).
14524 * subr.el (with-silent-modifications): New macro.
14526 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14528 * files.el (top-level): Require `cl' when compiling.
14530 2009-09-07 Glenn Morris <rgm@gnu.org>
14532 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14534 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14535 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14537 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14539 * vc-git.el (vc-git-annotate-command): Use separator to parse
14540 arguments correctly.
14542 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14544 * proced.el (proced-mode): Doc fix.
14546 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14548 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14550 (tramp-do-file-attributes-with-ls): Check for file existence at
14552 (tramp-do-file-attributes-with-stat): Likewise.
14553 (tramp-convert-file-attributes): Return nil when attr is nil.
14555 2009-09-05 Glenn Morris <rgm@gnu.org>
14557 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14558 properties to this button.
14559 (diary-fancy-display): Don't extend the button to the final newline.
14560 (diary-fancy-display-mode): Continue to define "q" as a local key.
14562 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14565 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14567 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14568 (byte-compile-dest-file-function): New option.
14569 (byte-compile-dest-file): Doc fix.
14570 Obey byte-compile-dest-file-function.
14571 (byte-compile-cl-file-p): New function.
14572 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14573 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14574 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14575 than for file being previously loaded.
14576 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14577 (byte-compile-file-form-require): Handle the case where requiring a file
14578 indirectly causes CL to be loaded.
14580 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14582 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14583 before killing the old buffer, since by the time `kill-buffer' is
14584 run so many buffer variables have been set to nil that it may not
14585 behave as expected. (Bug#4061)
14587 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14589 * files.el (find-alternate-file): If the old buffer is modified
14590 and visiting a file, behave similarly to `kill-buffer' when
14591 killing it, thus reverting to the pre-1.878 behavior; see
14592 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14593 for discussion. Also, consult `buffer-file-name' as a variable
14594 not as a function, for consistency with the rest of the code.
14596 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14598 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14599 also when adding a new directory.
14601 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14604 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14606 * files.el (locate-file-completion-table): Make it provide boundary
14607 information, so partial-completion works better.
14609 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14611 * mail/footnote.el (Footnote-text-under-cursor):
14612 Check footnote-text-marker-alist before using it (bug#4324).
14614 2009-09-04 Glenn Morris <rgm@gnu.org>
14616 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14617 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14618 * play/solitaire.el, play/tetris.el:
14619 Remove leading * from defcustom and defface docs.
14621 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14623 (diary-fancy-overriding-map): New variable.
14624 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14627 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14630 2009-09-03 Glenn Morris <rgm@gnu.org>
14632 * arc-mode.el (archive-mode):
14633 * dos-fns.el (set-default-process-coding-system):
14634 * man.el (Man-getpage-in-background):
14635 * menu-bar.el (menu-bar-describe-menu):
14636 * server.el (server-process-filter):
14637 * startup.el (command-line):
14638 * tar-mode.el (tar-header-block-tokenize, tar-extract):
14639 * w32-fns.el (set-default-process-coding-system):
14640 * x-dnd.el (x-dnd-handle-file-name):
14641 * international/mule-cmds.el (mule-menu-keymap)
14642 (set-default-coding-systems, language-info-alist, set-language-info)
14643 (set-language-environment, standard-display-european-internal)
14644 (set-locale-environment):
14645 * international/mule-diag.el (mule-diag):
14646 * mail/emacsbug.el (report-emacs-bug):
14647 * mail/rmail.el (rmail-mode):
14648 * mail/sendmail.el (mail-setup):
14649 Use default-value rather than default-enable-multibyte-characters.
14651 * progmodes/f90.el: Move all safe properties into the defcustoms.
14652 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14654 * calendar/appt.el (appt-check):
14655 * calendar/diary-lib.el (diary-set-header, diary-live-p)
14656 (diary-check-diary-file, diary-list-entries)
14657 (diary-include-other-diary-files, diary-simple-display)
14658 (diary-fancy-display, diary-print-entries)
14659 (diary-mark-included-diary-files, diary-make-entry):
14660 Don't call substitute-in-file-name on diary-file.
14662 2009-09-03 Eduard Wiebe <usenet@pusto.de>
14663 Stefan Monnier <monnier@iro.umontreal.ca>
14665 * mail/footnote.el (footnote-prefix): Make it a defcustom.
14666 (footnote-mode-map): Move initialization into the declaration.
14667 (footnote-minor-mode-map): Define it rather than changing global-map.
14668 (footnote-mode): Use define-minor-mode.
14670 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
14672 * net/tramp.el (tramp-handle-file-attributes-with-ls)
14673 (tramp-do-file-attributes-with-perl)
14674 (tramp-do-file-attributes-with-stat): Rename from
14675 `tramp-handle-file-attributes-with-*'.
14676 (tramp-handle-file-attributes): Use them.
14677 (tramp-do-directory-files-and-attributes-with-perl)
14678 (tramp-do-directory-files-and-attributes-with-stat): Rename from
14679 `tramp-handle-directory-files-and-attributes-with-*'.
14680 (tramp-handle-directory-files-and-attributes): Use them.
14681 (tramp-method-out-of-band-p): Additional parameter SIZE.
14682 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14683 (tramp-handle-write-region): Use it.
14684 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14685 (tramp-handle-vc-registered): Check, whether the first run did
14686 return files to be tested.
14687 (tramp-advice-make-auto-save-file-name): Do not call directly
14688 `tramp-handle-make-auto-save-file-name', because this would bypass
14689 the locking mechanism.
14691 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14692 (file-remote-p, process-file, start-file-process, set-file-times)
14693 (tramp-compat-file-attributes): Compatibility functions shall not
14694 call directly `tramp-handle-*', because this would bypass the
14696 (tramp-compat-number-sequence): New defun.
14698 2009-09-02 Glenn Morris <rgm@gnu.org>
14700 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14701 alias for float-time.
14702 (time-to-number-of-days): In Emacs, use float-time.
14703 * net/newst-backend.el (time-add): Suppress warnings from compat
14705 * time.el (emacs-uptime, emacs-init-time):
14706 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14707 Use float-time rather than time-to-seconds.
14709 * minibuffer.el (completion-initials-expand): Fix typo.
14711 * faces.el (modeline, modeline-inactive, modeline-highlight)
14712 (modeline-buffer-id):
14713 * info.el (info-menu-5): Mark these face aliases as obsolete.
14715 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14717 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14719 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14720 no "--thread" option.
14721 (gdb-stopped): Don't print "Switched to thread" message when it is
14724 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
14726 * minibuffer.el (completion-try-completion)
14727 (completion-all-completions): Remove ill-defined (and
14728 mistakenly installed and luckily never used nor documented)
14729 `completion-styles' property.
14730 (completion-initials-expand, completion-initials-all-completions)
14731 (completion-initials-try-completion): New functions.
14732 (completion-styles-alist): Add doc to each entry.
14733 Add new `initials' entry.
14735 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14737 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14738 MI command -var-evaluate-expression.
14739 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14740 and tweak for case of string child.
14741 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14743 2009-09-01 Glenn Morris <rgm@gnu.org>
14745 * add-log.el (change-log-date-face, change-log-name-face)
14746 (change-log-email-face, change-log-file-face, change-log-list-face)
14747 (change-log-conditionals-face, change-log-function-face)
14748 (change-log-acknowledgement-face):
14749 * cus-edit.el (custom-invalid-face, custom-rogue-face)
14750 (custom-modified-face, custom-set-face, custom-changed-face)
14751 (custom-saved-face, custom-button-face, custom-button-pressed-face)
14752 (custom-documentation-face, custom-state-face, custom-comment-face)
14753 (custom-comment-tag-face, custom-variable-tag-face)
14754 (custom-variable-button-face, custom-face-tag-face)
14755 (custom-group-tag-face-1, custom-group-tag-face):
14756 * diff-mode.el (diff-header-face, diff-file-header-face)
14757 (diff-index-face, diff-hunk-header-face, diff-removed-face)
14758 (diff-added-face, diff-changed-face, diff-function-face)
14759 (diff-context-face, diff-nonexistent-face):
14760 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14761 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14762 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14763 (Info-title-4-face):
14764 * isearch.el (isearch-lazy-highlight-face):
14765 * log-view.el (log-view-file-face, log-view-message-face):
14766 * paren.el (show-paren-match-face, show-paren-mismatch-face):
14767 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14768 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14770 * smerge-mode.el (smerge-mine-face, smerge-other-face)
14771 (smerge-base-face, smerge-markers-face):
14772 * wid-edit.el (widget-documentation-face, widget-button-face)
14773 (widget-field-face, widget-single-line-field-face)
14774 (widget-inactive-face, widget-button-pressed-face):
14775 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14776 (woman-addition-face):
14777 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14778 (eshell-ls-executable-face, eshell-ls-readonly-face)
14779 (eshell-ls-unreadable-face, eshell-ls-special-face)
14780 (eshell-ls-missing-face, eshell-ls-archive-face)
14781 (eshell-ls-backup-face, eshell-ls-product-face)
14782 (eshell-ls-clutter-face):
14783 * eshell/em-prompt.el (eshell-prompt-face):
14784 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14785 * obsolete/old-whitespace.el (whitespace-highlight-face):
14786 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14787 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14788 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14789 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14790 (antlr-font-lock-literal-face):
14791 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14792 (ebrowse-root-class-face, ebrowse-file-name-face)
14793 (ebrowse-default-face, ebrowse-member-attribute-face)
14794 (ebrowse-member-class-face, ebrowse-progress-face):
14795 * progmodes/make-mode.el (makefile-space-face):
14796 * progmodes/sh-script.el (sh-heredoc-face):
14797 * textmodes/flyspell.el (flyspell-incorrect-face)
14798 (flyspell-duplicate-face):
14799 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14800 * textmodes/texinfo.el (texinfo-heading-face):
14801 Mark face aliases with "-face" suffix as obsolete.
14803 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14806 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14807 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14808 easy-menu-define wants to modify these.
14810 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14812 * net/browse-url.el (browse-url-file-url):
14813 * term/internal.el (dos-codepage-setup):
14814 Use default-value rather than default-enable-multibyte-characters.
14816 * progmodes/etags.el (etags-goto-tag-location):
14817 * progmodes/flymake.el (flymake-highlight-line)
14818 (flymake-goto-file-and-line, flymake-goto-line):
14819 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14820 (gdb-goto-breakpoint):
14821 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14822 * progmodes/python.el (python-find-function)
14823 (python-pdbtrack-track-stack-file):
14824 * progmodes/verilog-mode.el (verilog-surelint-off):
14825 * term/ns-win.el (ns-open-file-select-line):
14826 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14827 Use forward-line rather than goto-line.
14829 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14830 * textmodes/reftex-index.el (reftex-display-index):
14831 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14832 * textmodes/reftex-toc.el (reftex-toc):
14833 Remove unnecessary bindings of default-major-mode (all are followed by
14834 major-mode check and possible mode switch).
14836 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14838 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14839 Handle watchpoints (bug#4282).
14840 (def-gdb-thread-buffer-command): Enable thread to be selected by
14841 clicking without selecting threads buffer first.
14842 (gdb-current-context-command): Use selected frame so that "up",
14843 "down" etc work in the GUD buffer.
14844 (gdb-update): Find selected frame before rendering stack buffer.
14845 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14847 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14849 * progmodes/sym-comp.el (displayed-completions): Remove.
14850 (symbol-complete): Use minibuffer-complete.
14852 2009-08-31 Glenn Morris <rgm@gnu.org>
14854 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14856 * apropos.el (apropos-symbols-internal):
14857 Handle (obsolete) face aliases.
14859 * faces.el (describe-face): Adjust the output format to be more like
14860 describe-variable, and to mention (obsolete) face aliases.
14861 Adjust the whitespace so that help-setup-xref works.
14863 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14864 * calendar/diary-lib.el (diary-button-face):
14865 Mark these face aliases as obsolete.
14867 * calendar/calendar.el (calendar-today): Doc fix.
14869 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14871 * progmodes/gdb-mi.el (gdb-control-all-threads)
14872 (gdb-control-current-thread): Force tool bar update.
14873 (gdb-non-stop-handler): New function.
14874 (gdb-init-1): Use it to test if non-stop mode is supported.
14875 Remove unused gdbmi buffer type.
14877 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14879 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14880 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14882 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14884 * comint.el (comint-exec-1): Check command is non-null first.
14885 Part of gdb-mi.el change (2009-08-28).
14887 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14889 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14891 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14893 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14894 instead of `dolist' to avoid a recursive require when bootstrapping.
14896 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14898 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14900 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14902 * net/imap.el (imap-send-command): Simplify.
14903 (imap-wait-for-tag): point-max -> buffer-size.
14905 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14907 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14908 with constant argument.
14910 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14912 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14914 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14915 Change default, since most of our files don't have a history.
14916 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14919 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14922 * calc/calc.el: Improve commenting convention.
14923 (calc-digit-map, toplevel): Simplify.
14925 * comint.el (comint-insert-input): Be careful to only set point if we
14926 don't delegate to some other command.
14928 * proced.el (proced-signal-list): Make it an alist.
14929 (proced-grammar-alist): Capitalize names.
14930 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14931 Disable undo manually and make it read-only.
14932 Use completion-annotate-function.
14934 * minibuffer.el (minibuffer-message): If the current buffer is not
14935 a minibuffer, insert the message in the echo area rather than at the
14937 (completion-annotate-function): New variable.
14938 (minibuffer-completion-help): Use it.
14939 (completion--embedded-envvar-table): Environment vars are
14940 always case-sensitive.
14942 2009-08-30 Glenn Morris <rgm@gnu.org>
14944 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14945 from fortran-current-defun.
14946 (fortran-beginning-of-subprogram): Be more precise about finding the
14947 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14948 (fortran-end-of-subprogram): Simplify.
14949 (fortran-current-defun): Use fortran-start-prog-re.
14951 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14953 * subr.el (do-after-load-evaluation): Simplify.
14955 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14957 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14959 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14960 (vc-rcs-print-log): Use it.
14962 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14964 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14966 * paths.el (abbrev-file-name): Move to abbrev.el.
14967 * abbrev.el (abbrev-file-name): Move from paths.el.
14968 Obey user-emacs-directory.
14969 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14970 user-emacs-directory.
14971 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14972 abbrev-file-name and calc-settings-file any more.
14973 * startup.el (command-line): Recompute abbrev-file-name and
14974 abbreviated-home-dir.
14975 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14976 of the special code for when C-h bindings haven't been changed.
14977 (display-startup-echo-area-message): Use with-current-buffer.
14978 (command-line-1): Use a list of strings, rather than a list of lists
14979 of strings for longopts.
14981 * files.el (get-free-disk-space): Use / for default-directory.
14983 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14984 Use with-current-buffer.
14986 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14987 Recognize immutable variables like most-positive-fixnum.
14988 (byte-compile-setq-default): Check and warn if trying to assign
14989 to an immutable variable, or a non-variable.
14991 * progmodes/cc-vars.el (c-comment-continuation-stars):
14992 * progmodes/cc-engine.el (c-looking-at-bos):
14993 * progmodes/cc-cmds.el (c-toggle-auto-state)
14994 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14995 (c-comment-line-break-function): Add version of obsolescence.
14997 2009-08-28 Juri Linkov <juri@jurta.org>
14999 * files.el (magic-fallback-mode-alist): Add ZIP magic number
15000 associated with `archive-mode'.
15002 * image.el (image-type-header-regexps): Use only JPEG magic number
15003 to determine JPEG images, and don't use `image-jpeg-p' because
15004 Emacs can display non-JFIF non-Exif JPEG images.
15006 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15008 * arc-mode.el (archive-mode):
15009 * emacs-lisp/re-builder.el (re-builder-unload-function):
15010 Protect against the default value of `major-mode' being nil.
15012 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15014 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15015 Fix typos in docstrings.
15017 * progmodes/js.el (js--macro-decl-re): Doc fix.
15018 (js--plain-method-re, js--split-name): Refloc docstring.
15019 (js--class-styles, js--make-merged-item, js--splice-into-items):
15020 Fix typos in docstrings; reflow docstrings.
15021 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15022 (js--variable-decl-matcher, js--inside-pitem-p)
15023 (js--parse-state-at-point, js--get-all-known-symbols)
15024 (js--symbol-history, js-find-symbol, js--js-references)
15025 (js--moz-interactor, js--js-encode-value, js--read-tab):
15026 Fix typos in docstrings.
15028 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15030 * textmodes/reftex.el (reftex-get-file-buffer-force):
15031 * progmodes/verilog-mode.el (verilog-batch-execute-func):
15032 * emulation/viper.el (viper-go-away, viper-set-hooks):
15033 * emacs-lisp/re-builder.el (re-builder-unload-function):
15034 * emacs-lisp/bytecomp.el (byte-compile-file):
15035 * ses.el (ses-unload-function):
15036 * hexl.el (hexl-find-file):
15037 * files.el (normal-mode):
15038 * ehelp.el (with-electric-help):
15039 * autoinsert.el (auto-insert-alist):
15040 * arc-mode.el (archive-mode):
15041 Use (default-value 'major-mode) instead of default-major-mode.
15043 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15044 * international/mule.el (load-with-code-conversion):
15045 * emacs-lisp/debug.el (debug):
15046 * ediff-vers.el (ediff-rcs-get-output-buffer):
15047 * dired.el (dired-internal-noselect): Don't let-bind
15048 default-major-mode around code that doesn't use it.
15049 E.g. buffer creation via get-buffer-create doesn't use it.
15051 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
15053 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15054 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15055 when writing the temp file. Otherwise, epa-file gets confused.
15056 (tramp-register-file-name-handlers): Make it a defun. Move also
15057 `epa-file-handler' to the front of `file-name-handler-alist'.
15059 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15061 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15062 start right after a ^M.
15063 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15064 (tramp-completion-file-name-regexp-separate)
15065 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15066 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15067 Don't modify last-coding-system-used by accident.
15068 (tramp-completion-file-name-handler): Apply the checks here,
15069 instead during registration.
15070 (tramp-register-file-name-handlers): Renamed from
15071 `tramp-register-file-name-handler'. Register both
15072 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15073 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
15075 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
15077 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15078 Remove variable ...
15079 (gdb-init-1, gdb-display-separate-io-buffer)
15080 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15082 (gdb-inferior-io-mode): Use make-comint-in-buffer.
15083 (gdb-inferior-filter): Use comint-output-filter to stop
15084 echoing and remove ^M characters.
15086 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15088 * emulation/viper-init.el (viper-restore-cursor-type):
15089 * emulation/cua-base.el (cua--update-indications):
15090 Replace default-cursor-type with (default-value 'cursor-type).
15092 * mail/sendmail.el (mail-recover-1):
15093 * international/mule-diag.el (describe-current-coding-system-briefly)
15094 (describe-current-coding-system):
15095 * international/mule-cmds.el (select-safe-coding-system)
15096 (select-message-coding-system)
15097 (set-language-environment-coding-systems, set-locale-environment):
15098 * hexl.el (hexl-insert-multibyte-char):
15099 * dos-w32.el (find-buffer-file-type-coding-system):
15100 * simple.el (what-cursor-position):
15101 Replace uses of default-buffer-file-coding-system
15102 with (default-value 'buffer-file-coding-system).
15104 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15105 Replace uses of default-cursor-in-non-selected-windows
15106 with (default-value 'cursor-in-non-selected-windows).
15107 Use with-current-buffer.
15109 * mail/feedmail.el: Use CL macros.
15110 (feedmail-run-the-queue, feedmail-send-it-immediately):
15111 * dos-w32.el (find-buffer-file-type): Replace uses of
15112 default-buffer-file-type with (default-value 'buffer-file-type).
15114 2009-08-28 Glenn Morris <rgm@gnu.org>
15116 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15117 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15118 Use default-value of major-mode rather than default-major-mode.
15120 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15122 * Makefile.in (update-elcfiles): Report left over elc files.
15124 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15125 expand-file-name and with-current-buffer.
15126 (mail-get-names, mail-directory): Use with-current-buffer.
15128 * vc.el (vc-read-revision): New function.
15129 (vc-version-diff, vc-merge): Use it.
15131 2009-08-27 Sam Steingold <sds@gnu.org>
15133 * simple.el (kill-do-not-save-duplicates): New user option.
15134 (kill-new): When it is non-nil, and the new string is the same as
15135 the latest kill, set replace to t to avoid duplicates in kill-ring.
15137 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
15139 * net/tramp.el (tramp-handle-process-file): Do not flush all
15140 caches when `process-file-side-effects' is set.
15141 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15142 instead of `tramp-find-file-exists-command'.
15143 Unset `process-file-side-effects'.
15145 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
15147 * net/tramp.el (tramp-methods): New method "rsyncc".
15148 (top): Add completion function for "rsyncc".
15149 (tramp-message-show-message): New defvar.
15150 (tramp-message, tramp-error): Use it.
15151 (tramp-do-copy-or-rename-file-directly): Extend check for direct
15153 (tramp-do-copy-or-rename-file-out-of-band): Handle new
15154 `tramp-methods' entry `copy-env' of "rsyncc".
15155 (tramp-vc-registered-read-file-names): New defconst.
15156 (tramp-vc-registered-file-names): New defvar.
15157 (tramp-handle-vc-registered): Implement optimization strategy.
15158 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15159 (tramp-vc-file-name-handler): New defun.
15160 (tramp-get-ls-command, tramp-get-test-command)
15161 (tramp-get-file-exists-command, tramp-get-remote-ln)
15162 (tramp-get-remote-perl, tramp-get-remote-stat)
15163 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15165 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15166 (tramp-cache-inhibit-cache): Extend doc string. It allows also
15168 (tramp-get-file-property): Check for timestamps in
15169 `tramp-cache-inhibit-cache'.
15170 (tramp-set-file-property): Write timestamp.
15172 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15174 * language/japan-util.el (japanese-symbol-table): Add entries for
15177 * international/characters.el: Add category `j' to cp932-2-byte.
15179 2009-08-27 Kenichi Handa <handa@m17n.org>
15181 * international/fontset.el (build-default-fontset-data): New macro.
15182 (setup-default-fontset): Use build-default-fontset-data for CJK,
15183 tibetan, ethiopic, and ipa.
15185 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15187 * cus-start.el (default-major-mode): Customize `major-mode' instead.
15188 (enable-multibyte-characters): Not customizable any more.
15190 * subr.el (default-mode-line-format, default-header-line-format)
15191 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15192 (default-direction-reversed, default-truncate-lines)
15193 (default-left-margin, default-tab-width, default-case-fold-search)
15194 (default-left-margin-width, default-right-margin-width)
15195 (default-left-fringe-width, default-right-fringe-width)
15196 (default-fringes-outside-margins, default-scroll-bar-width)
15197 (default-vertical-scroll-bar, default-indicate-empty-lines)
15198 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15199 (default-fringe-cursor-alist, default-scroll-up-aggressively)
15200 (default-scroll-down-aggressively, default-fill-column)
15201 (default-cursor-type, default-buffer-file-type)
15202 (default-cursor-in-non-selected-windows)
15203 (default-buffer-file-coding-system, default-major-mode)
15204 (default-enable-multibyte-characters): Mark as obsolete.
15206 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
15208 * vc-dir.el (vc-dir-update): Remove debug helper.
15210 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15212 2009-08-26 Sam Steingold <sds@gnu.org>
15214 * simple.el (save-interprogram-paste-before-kill): New user option.
15215 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15216 save the interprogram-paste into kill-ring before overriding it
15217 with the Emacs kill.
15219 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15221 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15222 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15223 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15224 and move to vc-rcs.el.
15225 (vc-default-next-revision): Rename to vc-rcs-next-revision and
15227 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15228 (vc-rcs-update-changelog): Remove.
15229 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15230 and move to vc-rcs.el.
15232 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15233 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15235 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15236 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15237 vc.el, renamed to be RCS specific.
15239 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15241 (vc-cvs-update-changelog): Move here from vc.el.
15243 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15246 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
15248 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15250 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15252 * vc-git.el (vc-git-register): Use "git add" for directories.
15253 (vc-git-stash, vc-git-stash-show): New functions.
15254 (vc-git-extra-menu-map): Bind them.
15256 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15257 directory correctly in case the item is a directory itself.
15259 * vc.el: Document the desired behavior for reverted files in the
15261 (vc-default-prettify-state-info): Remove function, unused.
15263 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15265 2009-08-26 Glenn Morris <rgm@gnu.org>
15267 * bindings.el (standard-mode-line-format): Reposition dashes in
15268 which-func entry. (Bug#4217)
15270 * files.el (enable-local-variables, enable-local-eval)
15271 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15273 (auto-mode-alist, ignored-local-variables)
15274 (save-some-buffers-action-alist): Move risky declarations to the
15276 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15277 (font-lock-defaults, format-alist, imenu--index-alist)
15278 (imenu-generic-expression, input-method-alist, minor-mode-alist)
15279 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15280 (mode-line-modified, mode-line-mule-info, mode-line-position)
15281 (mode-line-process, mode-line-remote, outline-level)
15282 (parse-time-rules, rmail-output-file-alist)
15283 (special-display-buffer-names, vc-mode):
15284 Move risky declarations to the relevant files.
15285 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15286 (mode-line-modified, mode-line-process, mode-line-position)
15287 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15288 * font-core.el (font-lock-defaults):
15289 * format.el (format-alist):
15290 * vc-hooks.el (vc-mode):
15291 * window.el (special-display-buffer-names):
15292 * international/mule-cmds.el (input-method-alist):
15293 Define riskiness here (dumped file) rather than in files.el.
15294 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15295 * imenu.el (imenu-generic-expression, imenu--index-alist):
15296 * outline.el (outline-level):
15297 * time.el (display-time-string):
15298 * calendar/parse-time.el (parse-time-rules):
15299 * mail/rmailout.el (rmail-output-file-alist):
15300 Autoload riskiness here, rather than placing in files.el.
15302 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
15304 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15306 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
15308 * simple.el (process-file-side-effects): New defvar.
15310 * dired-aux.el (dired-show-file-type):
15311 * vc.el (vc-diff-internal):
15312 * vc-arch.el (vc-arch-diff):
15313 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15314 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15315 * vc-git.el (vc-git-registered, vc-git-working-revision)
15316 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15317 (vc-git--empty-db-p):
15318 * vc-hooks.el (vc-user-login-name):
15319 * vc-svn.el (vc-svn-registered, vc-svn-state)
15320 (vc-svn-dir-extra-headers, vc-svn-find-revision):
15321 * progmodes/grep.el (grep-probe): Let-bind
15322 `process-file-side-effects' with nil.
15324 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15326 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15327 daemon. Replace ping by checking for running service for bluez
15328 and zeroconf. (Bug#4239)
15330 2009-08-25 Kevin Ryde <user42@zip.com.au>
15332 * net/dig.el (dig): Add autoload cookie.
15334 2009-08-25 Glenn Morris <rgm@gnu.org>
15336 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15337 load-history for absolute file-names.
15338 (byte-compile-file-form-require): Warn about use of the cl package.
15340 * format.el (format-alist): Doc fix.
15342 * play/bubbles.el (top-level): Don't require cl at run-time.
15344 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15347 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
15349 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15351 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15353 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
15355 * calc/calc-alg.el (math-trig-rewrite)
15356 (math-hyperbolic-trig-rewrite): New functions.
15357 (calc-simplify): Simplify trig functions when asked.
15359 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15361 * diff-mode.el (diff-find-source-location): Avoid goto-line.
15363 2009-08-24 Kenichi Handa <handa@m17n.org>
15365 * language/ind-util.el (mapthread): Delete it.
15366 (combinatorial): New function.
15367 (indian--puthash-cv): Use combinatorial instead of mapthread.
15369 2009-08-22 Kevin Ryde <user42@zip.com.au>
15371 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15372 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15373 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15374 Clarify docstring that the value is strings not symbols.
15375 (checkdoc-list-of-strings-p): New function.
15377 2009-08-22 Glenn Morris <rgm@gnu.org>
15379 * files.el (auto-mode-alist):
15380 * hippie-exp.el (he-concat-directory-file-name):
15381 * lpr.el (lpr-windows-system, printer-name):
15382 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15383 * ps-print.el (ps-windows-system):
15384 * startup.el (command-line):
15385 * emulation/viper-ex.el (viper-glob-function):
15386 * international/mule-cmds.el (set-language-environment-coding-systems):
15387 * net/ange-ftp.el (ange-ftp-write-region):
15388 * obsolete/fast-lock.el (fast-lock-cache-name):
15389 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15390 unisoft-unix, vax-vms, win32, w32.
15392 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15393 given name if the pattern is not more specific.
15395 * calendar/lunar.el (lunar-phase-names): New option.
15396 (lunar-phase): Doc fix.
15397 (lunar-cycles-per-year): New constant.
15398 (lunar-index): New function.
15399 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15400 (lunar-phase-name): Use lunar-phase-names.
15401 (calendar-lunar-phases): Use format.
15402 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15404 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15405 Copy imenu-example--name-and-position function here for own use.
15406 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15408 * bs.el (bs--redisplay):
15409 * cus-edit.el (custom-redraw):
15410 * ibuffer.el (ibuffer-bury-buffer):
15411 * server.el (server-goto-line-column):
15412 * startup.el (command-line-1):
15413 * strokes.el (strokes-xpm-for-stroke):
15414 * term.el (term-display-buffer-line):
15415 * view.el (View-goto-line):
15416 * calc/calc.el (calc-do, calc-trail-buffer):
15417 * play/gamegrid.el (gamegrid-add-score-insecure):
15418 * progmodes/ada-mode.el (ada-compile-goto-error):
15419 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15420 (ebrowse-select-1st-to-9nth):
15421 * progmodes/cperl-mode.el (cperl-time-fontification):
15422 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15423 * progmodes/gud.el (gud-display-line):
15424 (idlwave-shell-display-line):
15425 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15426 * progmodes/make-mode.el (makefile-browser-toggle):
15427 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15428 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15429 * textmodes/picture.el (picture-draw-rectangle):
15430 * textmodes/reftex-index.el (reftex-index-goto-letter):
15431 (reftex-select-jump-to-previous):
15432 * textmodes/reftex-sel.el (reftex-find-start-point)
15433 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15434 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15435 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15436 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15437 * textmodes/two-column.el (2C-associated-buffer):
15438 Use forward-line rather than goto-line.
15440 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15443 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15444 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15445 (quick-check-list-to-regexp): Declare.
15447 * progmodes/make-mode.el (makefile-browser-insert-selection):
15448 Use goto-char rather than goto-line.
15450 * progmodes/prolog.el (compilation-error-regexp-alist)
15451 (compilation-forget-errors): Declare.
15453 2009-08-22 Juri Linkov <juri@jurta.org>
15455 * progmodes/grep.el (lgrep, rgrep): At the beginning
15456 set `dir' to `default-directory' unless `dir' is a non-nil
15457 readable directory. (Bug#4052)
15458 (lgrep, rgrep): Change a weird way to report an error
15459 from using `read-string' to using `error'.
15460 Instead of using interactive arguments in the function body,
15461 add new argument `confirm'.
15463 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15465 * textmodes/remember.el (remember-buffer):
15466 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15467 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15468 (icalendar-extract-ical-from-buffer):
15469 * net/newst-treeview.el (newsticker-groups-filename):
15470 * net/newst-backend.el (newsticker-cache-filename):
15471 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15472 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15473 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15474 (speedbar-buffers-line-path, speedbar-path-line)
15475 (speedbar-buffers-line-path):
15476 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15478 * epa.el (epa-display-verify-result):
15479 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15481 2009-08-21 Glenn Morris <rgm@gnu.org>
15483 * progmodes/js.el (inferior-moz-process): Fix declaration.
15485 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15487 * obsolete/rnewspost.el (news-mail-reply):
15488 Use goto-char rather than goto-line.
15490 * term/ns-win.el (ns-open-file-select-line):
15491 Use line-beginning-position rather than goto-line.
15493 * apropos.el (apropos-command):
15494 * ehelp.el (electric-helpify):
15495 * printing.el (pr-show-setup):
15496 * strokes.el (strokes-help):
15497 * tutorial.el (tutorial--describe-nonstandard-key)
15498 (tutorial--detailed-help):
15499 * woman.el (woman-mini-help, woman-display-extended-fonts):
15500 * calc/calc-help.el (calc-describe-key):
15501 * emulation/edt.el (edt-electric-helpify):
15502 * international/mule-diag.el (mule-diag):
15503 * play/yow.el (apropos-zippy):
15504 * progmodes/python.el (python-describe-symbol):
15505 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15506 * textmodes/table.el (*table--cell-describe-mode)
15507 (*table--cell-describe-bindings):
15508 Use help-print-return-message rather than the now obsolete alias.
15510 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15511 (calendar-cursor-to-visible-date):
15512 * play/5x5.el (5x5-position-cursor):
15513 * play/decipher.el (decipher):
15514 * play/gomoku.el (gomoku-goto-xy):
15515 * play/landmark.el (lm-goto-xy):
15516 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15517 (mpuz-paint-digit):
15518 Use forward-line, not goto-line.
15520 * mail/rmail.el (rmail-obsolete): Delete custom group.
15521 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15522 (rmail-remote-password, rmail-remote-password-required):
15523 Remove unneeded :set-after and :set properties.
15525 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15527 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15529 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15531 * loadup.el: Remove leftover macos code.
15533 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15534 Explicitly pass the date format to git blame so that user local
15535 so that the output format can be parsed.
15537 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15539 * net/dbus.el (top): Don't check for (getenv
15540 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15542 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15544 * log-edit.el (log-edit-strip-single-file-name): New var.
15545 (log-edit-insert-changelog): Use it. Bug#3571
15547 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15549 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15552 * help.el (help-print-return-message): Rename from
15553 print-help-return-message.
15555 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15556 cvs-mode-map parent hack.
15557 (log-view-mode): Derive from special-mode.
15559 * linum.el (linum-mode): window-size-change-functions is redundant.
15560 Adapt to new window-configuration-change-hook behavior.
15561 (linum-after-size, linum-after-config): Remove.
15563 * imenu.el (imenu-example--name-and-position)
15564 (imenu-example--lisp-extract-index-name)
15565 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15568 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15569 (inferior-prolog-mode): Use it.
15570 (inferior-prolog-load-file): Reset list of errors.
15572 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15574 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15576 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15578 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15580 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15581 is running already.
15583 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15585 * subr.el (listify-key-sequence-1): Use normal syntax since those
15586 integers are nowadays always represented by the same (positive) number
15588 (read-key-empty-map): New const.
15589 (read-key-delay): New var.
15590 (read-key): New function.
15591 (force-mode-line-update): Use with-current-buffer.
15592 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15593 (start-process-shell-command, start-file-process-shell-command):
15594 Discourage the use of command-args.
15596 2009-08-19 Glenn Morris <rgm@gnu.org>
15598 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15600 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15602 * simple.el (choose-completion-string): Don't rely on
15603 minibuffer-completing-file-name and ad-hoc checks to decide whether
15604 to continue completion or not.
15606 * minibuffer.el (minibuffer-hide-completions): New function.
15607 (completion--do-completion): Use it.
15608 (completions-annotations): New face.
15609 (completion--insert-strings): Use it.
15610 (completion-pcm--delim-wild-regex): Add docstring.
15611 (completion-pcm--string->pattern): Add support for 0-width delimiters
15612 in completion-pcm--delim-wild-regex.
15614 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15616 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15617 Remove unused var `buffer-modified-p'.
15619 * minibuffer.el (completion--do-completion): Move point for the #b001
15620 case as well (bug#4176).
15621 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15623 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15625 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15626 and :session buses.
15628 2009-08-18 Kenichi Handa <handa@m17n.org>
15630 * international/ucs-normalize.el (ucs-normalize-version):
15632 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15633 (utf-8-hfs): Make it perform normalization on encoding too.
15635 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15636 (sentence-end-without-space): Delete duplicated chars.
15637 (sentence-end-base): Likewise.
15639 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
15640 (html-mode): Delete duplicated chars from sentence-end-base.
15642 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
15643 (texinfo-mode): Delete duplicated chars from sentence-end-base.
15645 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
15647 * files.el (hack-one-local-variable): If the mode function is for
15648 a minor mode, pass it an argument (Bug#4148).
15650 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
15652 * net/tramp.el (tramp-register-completion-file-name-handler):
15653 Check also for (member 'partial-completion completion-styles).
15655 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15657 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15660 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
15662 * progmodes/cperl-mode.el: Merge upstream 6.2.
15663 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15664 (cperl-forward-re): Check cperl-brace-recursing.
15665 (cperl-highlight-charclass): New function.
15666 (cperl-find-pods-heres): Use it.
15667 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15668 (cperl-beautify-regexp-piece): Fix column calculation.
15669 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15670 (cperl-beautify-level): Don't process entire regexp.
15671 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15673 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15674 (cperl-init-faces): Build a list in the normal way.
15676 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15678 * calendar/parse-time.el (parse-time-string-chars): Save match
15681 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15684 (sql-product): Use it.
15685 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15686 (sql-set-product): Add completion.
15687 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15688 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15689 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15690 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15691 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15692 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15693 (sql-highlight-db2-keywords): Remove.
15694 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15695 (sql-highlight-product): Use derived-mode-p.
15696 (sql-set-sqli-buffer): Use with-current-buffer.
15697 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15700 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15702 * term.el: Fix commenting convention, turn comments into docstrings.
15704 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
15706 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15708 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
15710 * calendar/parse-time.el (parse-time-string-chars): Compute using
15711 character classes, to handle non-ascii characters (Bug#3190).
15713 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15715 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15716 another heredoc if the user adds another < (Bug#3226).
15718 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15719 Don't initialize based on window-system (Bug#4124).
15721 * facemenu.el (facemenu-read-color): Use a completion function
15722 that accepts any defined color, such as RGB triplets (Bug#3677).
15724 * files.el (get-free-disk-space): Change fallback default
15725 directory to /. Expand DIR argument before switching to fallback.
15726 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15728 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15730 * files.el (load-library): Doc fix.
15732 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
15734 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15735 (viper-if-string): Redefine C-s in the minibuffer to insert the last
15736 incremental search string.
15738 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15741 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15742 (ediff-merge-region-is-non-clash)
15743 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15744 Also check if the job is really a merge job.
15746 * ediff.el (ediff-current-file): New function.
15748 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15750 * progmodes/js.el: Edit docstrings throughout to follow Emacs
15752 (js-insert-and-indent): Delete function.
15753 (js-mode-map): Don't bind keys to js-insert-and-indent.
15754 (js-beginning-of-defun): Rename from js--beginning-of-defun.
15755 (js-end-of-defun): Rename from js--end-of-defun.
15756 (js-auto-indent-flag): Delete variable.
15758 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
15760 * progmodes/js.el: Remove proclaim statement.
15761 Defvar which-func-imenu-joiner-function to silence compiler.
15763 * files.el (auto-mode-alist): Use js-mode for .js files.
15765 * progmodes/js2-mode.el: Remove file.
15767 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15769 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15771 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15773 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
15774 Karl Landstrom <karl.landstrom@brgeight.se>
15776 * progmodes/js.el: New file.
15778 2009-08-14 Mark A. Hershberger <mah@everybody.org>
15780 * timezone.el (timezone-parse-date): Add ability to understand ISO
15781 basic format (minimal separators) dates in addition to the
15782 already-supported extended format dates.
15784 2009-08-14 Eli Zaretskii <eliz@gnu.org>
15786 * international/ucs-normalize.el: Add a `coding' file variable.
15788 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15790 2009-08-14 Sam Steingold <sds@gnu.org>
15792 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15794 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
15796 * faces.el (help-argument-name): Define it here instead of
15797 help-fns.el, because in daemon mode help-fns.el may be loaded when
15798 faces are still uninitialized (Bug#1078).
15800 * help-fns.el (help-argument-name): Move defface to faces.el.
15802 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
15804 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15805 create buffer with a pty but no process so that GDB can make the
15806 inferior the controlling process.
15808 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15810 * international/ucs-normalize.el: New file.
15812 2009-08-13 Richard Stallman <rms@gnu.org>
15814 * mail/rmail.el (rmail-get-attr-names):
15815 Accept an attribute header that is too short.
15817 * mail/rmail.el (rmail-forget-messages):
15818 Ignore nil elt in rmail-message-vector. Use dotimes.
15820 * progmodes/compile.el (compilation-goto-locus):
15821 Use next-error-move-function.
15823 * simple.el (next-error-move-function): New variable.
15825 2009-08-12 Juri Linkov <juri@jurta.org>
15827 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15828 always non-nil. (Bug#4052)
15830 * replace.el (read-regexp): Return empty string when
15831 `default-value' is nil.
15832 (keep-lines-read-args): Don't use empty string as the
15833 default value for `read-regexp'. (Bug#2495)
15835 2009-08-12 Juri Linkov <juri@jurta.org>
15837 * international/mule-cmds.el (ucs-insert): Change arguments
15838 from `arg' to `character', `count', `inherit' to be the same
15839 as in `insert-char'. Doc fix. (Bug#4039)
15841 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15843 2009-08-12 Juri Linkov <juri@jurta.org>
15845 * files-x.el: New file.
15847 * files.el: Move code that deals with adding/deleting
15848 file/directory-local variables to files-x.el.
15850 * Makefile.in (ELCFILES): Add files-x.elc.
15852 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15854 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15855 to use `goto-line'.
15856 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15858 (gdb-invalidate-disassembly): Do not refresh upon receiving
15859 'update signal. Instead, update all disassembly buffers only after
15861 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15862 (gdb-starting): Moved -data-list-register-names...
15863 (gdb-stopped): ...here so it's sent when first thread stops.
15864 (gdb-registers-handler-custom): Do nothing if register names are
15867 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15868 from `gdb-mi.el' to avoid extra tangling.
15870 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15871 change which breaks `gud-def' definitions used in `gdb'.
15872 (gdb-update-gud-running): No extra fuss for updating frame number.
15874 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15876 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15877 (describe-language-environment-map, setup-language-environment-map)
15878 (set-coding-system-map): Move initialization into declaration.
15879 (set-language-info-alist): Last arg to define-key-after can be skipped.
15881 * international/quail.el (quail-completion-1): Simplify.
15882 (quail-define-rules): Use slightly more compact code.
15883 (quail-insert-decode-map): Propertize keys, compact columns.
15885 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15888 2009-08-10 Miles Bader <miles@gnu.org>
15890 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15891 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15892 (js2-instance-member, js2-private-member, js2-private-function-call)
15893 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15894 (js2-magic-paren, js2-external-variable):
15895 Remove "-face" suffix from face names.
15896 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15897 (js2-highlight-undeclared-vars, js2-peek-token)
15898 (js2-parse-function-params, js2-mode-show-errors)
15899 (js2-mode-show-warnings, js2-make-magic-delimiter)
15900 (js2-mode-highlight-magic-parens): Update to use new face names.
15902 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15904 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15905 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15907 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15909 * subr.el: Provide hashtable-print-readable.
15911 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15912 hs-c-like-adjust-block-beginning.
15913 (hs-hide-block-at-point): Stop hiding at the beginning of
15914 hs-block-end-regexp (Bug#700).
15916 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15918 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15920 (gdb-registers-handler-custom): Do not fail when register names
15923 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15925 * progmodes/gdb-mi.el (gdb-control-all-threads)
15926 (gdb-control-current-thread): Interactive setters for
15927 `gdb-gud-control-all-threads' to use in menu.
15928 (gdb-show-run-p): Show «Go» when process is not active.
15929 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15930 gud/thread.xpm and gud/all.xpm.
15932 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15934 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15935 (nslookup-font-lock-keywords): Make it a variable.
15936 (net-utils-mode): New mode for viewing diagnostic network output.
15937 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15938 (net-utils-run-simple): New function.
15939 (ifconfig, iwconfig, netstat, arp, route): Use it.
15941 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15943 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15944 (gdb-memory-set-address, def-gdb-set-positive-number)
15945 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15946 after changing settings.
15947 (gdb-invalidate-disassembly): Update when first shown.
15948 (gdb-edit-locals-value): Fixed.
15949 (gdb-registers-handler-custom): Print registers in right order and
15950 allow changing register values (only for current thread yet).
15951 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15952 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15953 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15954 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15956 (gdb-registers-mode-map): TAB to switch to locals.
15958 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15960 * mail/rmail.el (rmail-add-mbox-headers)
15961 (rmail-set-message-counters-counter): Search for
15962 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15964 2009-08-08 Glenn Morris <rgm@gnu.org>
15966 * Makefile.in (ELCFILES): Update.
15968 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15970 * mail/sendmail.el (mail-yank-original): Set
15971 buffer-file-coding-system from the one used by the message whose
15974 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15975 to "windows" when "pgnuplot" is used.
15976 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15977 call accept-process-output if "pgnuplot" is used.
15978 (calc-graph-init): Don't send -display and -geometry to
15979 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15980 running "pgnuplot -V" with shell-command-to-string.
15982 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15985 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15987 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15990 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15992 * vc-dispatcher.el (vc-resynch-window): Update comment.
15994 * term.el (term-handle-ansi-escape): Add comments with the
15995 terminfo capabilities implemented.
15997 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15999 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16000 (gdb-var-create-handler): Rewritten using JSON parser.
16001 (gdb-propertize-header): Moved earlier.
16002 (gdb-set-header): Removed to avoid duplication.
16003 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16004 Refresh disassembly buffers only after threads list have been
16006 (gdb-threads-header, gdb-registers-header): Per-buffer header line
16009 2009-08-04 Juri Linkov <juri@jurta.org>
16011 * files.el: Commands to add/delete file/directory-local variables.
16012 (read-file-local-variable, read-file-local-variable-value)
16013 (read-file-local-variable-mode, modify-file-local-variable)
16014 (modify-file-local-variable-prop-line)
16015 (modify-dir-local-variable): New functions.
16016 (add-file-local-variable, delete-file-local-variable)
16017 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16018 (add-dir-local-variable, delete-dir-local-variable)
16019 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16020 (copy-dir-locals-to-file-locals-prop-line): New commands.
16022 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
16024 * abbrev.el (insert-abbrev-table-description): Prettify output.
16025 Suggested by Karl Chen.
16027 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
16029 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16030 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16031 (gdb-overlay-arrow-position, gdb-thread-position)
16032 (gdb-disassembly-position): Declare variables.
16033 (gdb-wait-for-pending): Function now.
16034 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16035 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16036 compilation goes smoothly.
16037 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16038 (gdb-non-stop-setting): New customization setting which replaces
16039 `gdb-non-stop' so changing it doesn't break active GDB session.
16040 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16041 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16042 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16043 (gdb-show-threads-by-default): New customization options.
16044 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16046 (gdb-get-buffer-create): Send buffers update signal when they are
16048 (gdb-invalidate-locals, gdb-invalidate-registers)
16049 (gdb-invalidate-breakpoints)
16050 (gdb-invalidate-threads, gdb-invalidate-disassembly)
16051 (gdb-invalidate-memory): Accept update signal.
16052 (gdb-current-context-command): Use --frame option.
16053 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16054 Implement `gdb-frame-number' selection logic.
16055 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16056 whether to show GUD toolbar buttons.
16057 (gdb-thread-exited): Unselect current thread when it exits.
16058 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16059 (gdb-mark-line): Routine which sets overlay arrow or inverses
16060 video on fringeless displays.
16061 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16062 to build aligned columns of data in GDB buffers and set text
16063 properties line-by-line.
16064 (gdb-invalidate-breakpoints)
16065 (gdb-breakpoints-list-handler-custom)
16066 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16067 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16068 (gdb-registers-handler-custom): Align data columns.
16069 (gdb-locals-handler-custom): Now prints data like in variable
16071 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16072 Removed confusing buttons.
16073 (gdb-invalidate-threads): Append --frame.
16074 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16075 between breakpoints/threads buffers.
16076 (gdb-set-window-buffer): Now can ignore dedicated windows.
16077 (gdb-propertize-header): Use `gdb-set-window-buffer'.
16078 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16079 (def-gdb-thread-buffer-gud-command): Replaces
16080 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16081 for fine thread control.
16082 (gdb-preempt-existing-or-display-buffer): New function used to
16083 display bound buffers without breaking window layout.
16084 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16085 (gdb-select-frame): New version of `gdb-frames-select' which now
16086 sets `gdb-frame-number' so commands may use --frame option instead
16087 of inner debugger state.
16088 (gdb-frame-handler): Do not set `gdb-frame-number'.
16089 (gdb-threads-mode-map): Select threads with mouse.
16091 * progmodes/gud.el (gdb-gud-context-call): Declare function to
16092 avoid compilation warning.
16093 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16096 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16097 Argument `key' renamed to `buffer-type'.
16098 (gdb-current-context-buffer-name): Do not add thread info to
16099 buffer name when no thread is selected.
16100 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16101 command (bug 3794).
16102 (gdb-thread-selected): Handle `=thread-selected' notification.
16103 (gdb-wait-for-pending): New macro to deal with congestion problems.
16104 (gdb-breakpoints-list-handler-custom): Don't fail on pending
16106 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16107 This fixes problem similar to one described in bug 3947.
16108 (gud-menu-map): More menu items.
16109 (gdb-init-1): Reset `gdb-thread-number' to nil.
16111 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16114 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16115 (gdb-current-context-command): Do not append --thread if
16116 `gdb-thread-number' is nil.
16117 (gdb-running-threads-count, gdb-stopped-threads-count): New
16119 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16120 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16121 customization options.
16122 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16124 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16125 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16126 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16127 set `gdb-thread-number' and update `gud-running' properly.
16128 (gdb-running): Update threads list when new threads appear.
16129 (gdb-stopped): Support non-stop operation and new thread switching
16131 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16132 (gdb-json-partial-output): New set of JSON routines.
16133 (def-gdb-auto-update-trigger): New `signal-list' optional
16135 (gdb-thread-list-handler-custom): Update `gud-running',
16136 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16137 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16138 (gdb-continue-thread, gdb-step-thread): New commands for fine
16139 thread execution control.
16140 (gud-menu-map): New menu items to switch non-stop options.
16141 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16142 (gdb-send): Mimic RET properly (bug 3794).
16144 * progmodes/gdb-mi.el (gdb-rules-name-maker)
16145 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16147 (def-gdb-auto-update-handler): New nopreserve optional argument.
16148 (gdb-stack-list-frames-custom): Print stack from top to bottom.
16150 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16151 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16152 (gdb-parent-mode): New mode to derive other GDB modes from.
16153 (gdb-display-disassembly-for-thread)
16154 (gdb-frame-disassembly-for-thread): New commands for threads
16157 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16158 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16159 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16160 (gdb-update): We now store all GDB buffers in a list so that they
16161 can be updated by traversing a list instead of calling invalidate
16162 triggers explicitly.
16163 (def-gdb-trigger-and-handler): New macro to define trigger-handler
16164 pair for GDB buffer.
16165 (gdb-stack-buffer-name): Add thread information.
16166 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16167 handle pending triggers.
16168 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16169 (def-gdb-thread-buffer-simple-command)
16170 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16171 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16172 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16173 New commands which show buffers bound to thread.
16174 (gdb-stack-list-locals-regexp): Removed unused regexp.
16176 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16177 (gdb-locals-buffer-name, gdb-registers-buffer-name)
16178 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16179 to (gud-comint-buffer) in *-buffer-name functions
16180 because (gdb-get-target-string) already does that.
16181 (gdb-locals-handler-custom, gdb-registers-handler-custom)
16182 (gdb-changed-registers-handler): Rewritten without regexps.
16184 * progmodes/gdb-mi.el: Basic thread selection support.
16185 (gdb-thread-number): New variable.
16186 (gdb-current-context-command): New macro which adds --thread
16188 (gdb-threads-mode-map): Select thread with SPC.
16189 (gdb-thread-list-handler-custom): Mark current thread with overlay
16190 arrow. Synchronize GDB thread and Emacs thread.
16191 (gdb-select-thread): New command which selects current thread.
16192 (gdb-invalidate-frames, gdb-invalidate-locals)
16193 (gdb-invalidate-registers): Use --thread option.
16195 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
16197 * net/tramp.el (top): Make check for tramp-gvfs loading more
16199 (tramp-handle-insert-file-contents): `unwind-protect' must be
16200 inside `with-parsed-tramp-file-name'.
16202 * net/tramp-gvfs.el (top): Remove superfluous message when loading
16205 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
16207 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16208 directory if CLASSPATH is not set.
16210 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
16212 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16214 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
16216 2009-08-02 Kevin Ryde <user42@zip.com.au>
16218 * net/newst-backend.el (newsticker--raw-url-list-defaults):
16219 Update freshmeat link. Delete newsforge.com as it seems gone.
16221 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16223 * select.el (x-set-selection): Doc fix (Bug#4021).
16225 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16227 * help-fns.el (describe-variable): Treat list return values from
16228 dir-locals-find-file properly (Bug#4005).
16230 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
16232 * net/tramp.el (tramp-debug-message): Print also microseconds.
16234 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
16236 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16238 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16239 (tramp-get-debug-buffer): Change `outline-regexp' according to new
16242 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16243 (tramp-get-file-property): Use it.
16245 * autorevert.el (auto-revert-handler): Allow
16246 `auto-revert-tail-mode' for remote files.
16248 2009-08-02 Jason Rumney <jasonr@gnu.org>
16250 * minibuffer.el (read-file-name): Treat confirm options to
16251 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
16253 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16255 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16256 (font-lock-variable-name-face, font-lock-constant-face): Darken
16257 the colors for light backgrounds.
16259 2009-08-01 Eli Zaretskii <eliz@gnu.org>
16261 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16262 month names. (Bug#3987)
16264 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
16266 * simple.el (line-move-finish): Pass whole number to
16267 line-move-to-column.
16268 (line-move-visual): Perform hscroll to the recorded position.
16270 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
16272 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16274 2009-07-29 Alan Mackenzie <acm@muc.de>
16276 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16278 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
16280 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16281 (gdb-place-breakpoints): Use full path when setting breakpoints.
16283 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
16285 * calc/calc.el (calc-mode-map): Add keybinding for
16286 `calc-transpose-lines'.
16288 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
16290 * calc/calc-misc.el (calc-transpose-lines): New function.
16292 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
16294 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16295 Simplify check for out-of-band methods.
16296 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16297 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
16299 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
16301 * vc-git.el (vc-git-checkin): Fix typo.
16303 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
16305 * progmodes/js2-mode.el: New file.
16307 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
16309 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16310 (gud-menu-map): Adjust tooltip accordingly.
16312 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
16314 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16315 (vc-bzr-log-view-mode): Adjust log-view-file-re.
16317 * add-log.el (change-log-mode-map): Add a menu.
16319 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
16321 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16322 function returns nil.
16323 (dbus-handle-event): Handle special return value :ignore.
16324 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16326 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
16328 * view.el (view-mode-enable): Don't define Helper-return-blurb if
16331 2009-07-25 Eli Zaretskii <eliz@gnu.org>
16335 * w32-vars.el (x-select-enable-clipboard): Doc fix.
16337 * term/pc-win.el (x-display-name, x-colors)
16338 (x-select-enable-clipboard, x-select-text): Doc fix.
16340 * term/common-win.el (x-display-name, x-colors): Doc fix.
16342 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16343 (xw-defined-colors): Doc fix.
16345 * w32-fns.el (x-select-text, x-setup-function-keys)
16346 (x-get-selection, x-set-selection): Doc fix.
16348 * term/x-win.el (x-select-text, x-setup-function-keys)
16349 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16351 * select.el (x-set-selection): Doc fix.
16353 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
16355 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16356 instead of "IsNSSSupportAvailable". Avahi ought to work also when
16357 "IsNSSSupportAvailable" method is not available. Reported by
16358 Steve Youngs <steve@sxemacs.org>.
16360 2009-07-24 Kenichi Handa <handa@m17n.org>
16362 * international/characters.el: Fix setting of category ?C, ?|, ?K,
16363 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16364 (build-unicode-category-table): Fix range checks.
16366 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16368 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16369 the buffer we try to sync is current when calling
16372 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16373 not show up to date files.
16375 2009-07-24 Glenn Morris <rgm@gnu.org>
16377 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16378 Add autoload cookies. If necessary, initialize.
16379 (elint-log): Handle non-file buffers.
16380 (elint-initialize): Add optional argument to reinitialize.
16381 (elint-find-builtin-variables): Save excursion.
16383 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16385 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16388 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16390 * vc.el (vc-print-log-internal): New function, split out from ...
16391 (vc-print-log): ... here.
16392 (vc-dir-move-to-goal-column): Declare.
16394 * vc-git.el (vc-git-add-signoff): New variable.
16395 (vc-git-checkin): Use it.
16396 (vc-git-toggle-signoff): New function.
16397 (vc-git-extra-menu-map): Bind it to menu.
16398 (vc-git--run-command-string): Accept a nil FILE argument.
16399 (vc-git-stash-list): New function.
16400 (vc-git-dir-extra-headers): Use it.
16402 2009-07-23 Glenn Morris <rgm@gnu.org>
16404 * help-fns.el (describe-variable): Describe ignored and risky local
16405 variables in a similar way to that in which we describe safe ones.
16407 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16408 (byte-compile-output-file-form, byte-compile-output-docform)
16409 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16410 Give some more local variables with common names a "bytecomp-" prefix,
16411 so as not to shadow things during compilation.
16412 * emacs-lisp/cl-macs.el (load-time-value)
16413 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16414 `outbuffer' to `bytecomp-outbuffer'.
16416 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16417 since the next two variables cover them automatically now.
16418 (elint-builtin-variables, elint-autoloaded-variables): New.
16419 (elint-unknown-builtin-args): Remove all members, since they can be
16420 parsed automatically now.
16421 (elint-extra-errors): New.
16422 (elint-env-add-env, elint-env-add-macro): Use cadr.
16423 (elint-current-buffer): Use or. Change final message.
16424 (elint-get-top-forms): Use line-end-position.
16425 (elint-init-env): Use cadr. Handle autoload, declare-function,
16427 (elint-add-required-env): Doc fix. Use or. Standardize error.
16428 (regexp-assoc): Remove unused function.
16429 (elint-top-form): Set elint-current-pos, to record the start of the
16430 top-level form, for compilation-mode.
16431 (elint-form): Trap errors in macro expansion. Use dolist.
16432 (elint-unbound-variable): Use elint-builtin-variables and
16433 elint-autoloaded-variables.
16434 (elint-get-args): Use cadr, or.
16435 (elint-check-cond-form): Use dolist, cadr.
16436 (elint-check-condition-case-form): Doc fix. Use cadr.
16437 Use elint-extra-errors.
16438 (elint-log): New function.
16439 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16440 Distinguish errors and warnings.
16441 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16442 Use a bytecomp-style format.
16443 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16444 (elint-get-log-buffer): Use compilation mode. Disable undo.
16445 Don't truncate lines.
16446 (elint-initialize): Set builtin and autoloaded variable lists.
16447 Only process elint-unknown-builtin-args if non-nil.
16448 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16450 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16452 2009-07-22 Kevin Ryde <user42@zip.com.au>
16454 * net/newst-backend.el (newsticker--parse-atom-1.0)
16455 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16456 (newsticker--parse-rss-1.0):
16457 * progmodes/idlwave.el (idlwave-mode):
16458 * progmodes/idlw-shell.el (idlwave-shell-mode):
16459 * progmodes/vera-mode.el (vera-mode):
16460 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16461 * progmodes/vhdl-mode.el (vhdl-mode):
16462 * textmodes/table.el (table-generate-source)
16463 (table--warn-incompatibility):
16464 Hyperlink urls in docstrings with URL `...'.
16466 2009-07-22 Glenn Morris <rgm@gnu.org>
16468 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16469 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16470 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16471 Remove leading * from defcustom docs.
16473 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16475 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16477 (list-load-path-shadows): Optionally, just return shadows as a string.
16479 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16481 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16483 * mail/rmailedit.el (rmail-edit-mode): Use
16484 auto-save-include-big-deletions.
16486 * mail/rmail.el (rmail-variables): Use
16487 auto-save-include-big-deletions.
16489 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16492 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16494 * calc/calc.el (calc-undo-length): New variable.
16495 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16497 2009-07-21 Richard Stallman <rms@gnu.org>
16499 * files.el (auto-save-mode): Handle buffer-save-size = -2
16502 2009-07-21 Glenn Morris <rgm@gnu.org>
16504 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16506 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16508 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16509 silence compiler. Instead...
16510 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16511 (ps-print-ensure-fontified): Update for above function name changes.
16513 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16514 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16515 silence compiler. Instead...
16516 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16517 (mh-show-buffer): Only define for compiler.
16518 (pr-mh-current-message): Update for above function name changes.
16520 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16522 (find-file-noselect, insert-file-1): Update for above change.
16524 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16526 * mail/mailclient.el (mailclient-send-it): Fix message.
16528 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16529 (edebug-eval): Check cl-debug-env is bound.
16530 (print-level, print-circle): Don't redefine built-in variables.
16532 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16533 (custom-print-vectors): Remove old comments from doc.
16535 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16536 (emerge-version): Make the variable an obsolete alias for the
16537 emacs-version variable. Make the function obsolete.
16538 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16539 Emerge options, rather than merging in into the main Options menu.
16540 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16541 and auto advance modes. Disable edit/fast items when not relevant.
16543 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16545 * term/vt420.el (terminal-init-vt420): Fix typo.
16547 2009-07-20 Sam Steingold <sds@gnu.org>
16549 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16550 variable (removed from compile.el on 2004-03-11).
16552 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16554 * files.el (hack-local-variables-filter): Fix last change.
16556 2009-07-19 Juri Linkov <juri@jurta.org>
16558 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16559 (dir-local-variables-alist): New buffer-local variable.
16560 (hack-local-variables-filter): If variable is not dir-local,
16561 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16562 because file-local overrides dir-local.
16563 (c-postprocess-file-styles) <declare-function>:
16564 Remove obsolete declaration.
16565 (hack-dir-local-variables): Add dir-local variable/value pair to
16566 `dir-local-variables-alist' and remove duplicates. Doc fix.
16568 * help-fns.el (describe-variable): Add information about
16569 file-local and dir-local variables.
16571 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16573 * files.el (hack-local-variables-filter): Rewrite.
16575 2009-07-19 Glenn Morris <rgm@gnu.org>
16577 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16578 Silence compiler by only defining on XEmacs.
16580 * international/mule.el (auto-coding-regexp-alist): Only match
16581 BABYL... at the start of buffer, not of lines. (Bug#3790)
16583 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16584 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16585 (cal-menu-context-mouse-menu): Doc fix.
16587 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16589 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16591 2009-07-18 Juri Linkov <juri@jurta.org>
16593 * info.el: Virtual Info keyword finder.
16594 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16595 (Info-finder-file): New variable.
16596 (Info-finder-find-file): New function.
16597 (finder-known-keywords, finder-package-info)
16598 (find-library-name, lm-commentary): Use defvar and
16599 declare-function to silence compiler warnings.
16600 (Info-finder-find-node): New function.
16601 (info-finder): New command.
16603 * subr.el (process-kill-buffer-query-function): New function.
16604 (add-hook)<kill-buffer-query-functions>: Add hook
16605 `process-kill-buffer-query-function'.
16607 2009-07-18 Alan Mackenzie <acm@muc.de>
16609 * progmodes/cc-mode.el (c-before-hack-hook)
16610 (c-postprocess-file-styles): Give invocation of `c-set-style'
16611 DONT-OVERRIDE parameter of t. Already set style variables will
16612 thus not be overridden by style settings given by `c-file-syle'.
16614 * files.el (hack-local-variables-filter): Remove entries with
16615 duplicate keys from `file-local-variables-alist'.
16617 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16619 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16620 x-set-selection if display-selections-p returns nil for the
16623 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16625 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16627 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16629 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16630 Accept nil in addition to a regexp.
16631 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16632 Accept nil in addition to a regexp.
16633 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16634 buffers that have an associated file. Handle nil values of
16635 desktop-buffers-not-to-save and desktop-files-not-to-save.
16638 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16639 (x-disown-selection-internal): New functions.
16641 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
16643 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16645 (gdb-breakpoints-header): Move forward to avoid compiler warning.
16646 (gdb-make-header-line-mouse-map): Remove duplicate definition.
16648 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
16650 * simple.el (set-mark): Revert last change.
16652 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
16654 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16655 rendering of pngs is not possible instead of messaging a long
16658 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
16660 * w32-fns.el (x-selection-owner-p): New function.
16662 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16663 (mouse-yank-at-click, mouse-yank-primary): If
16664 select-active-regions is non-nil, deactivate the mark before
16667 * simple.el (deactivate-mark, set-mark): Only save selection if we
16670 2009-07-17 Kenichi Handa <handa@m17n.org>
16672 * case-table.el (describe-buffer-case-table): Fix for the case
16673 that KEY is a cons.
16675 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
16677 * vc-rcs.el (vc-rcs-find-file-hook):
16678 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16680 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
16682 * net/tramp.el (tramp-wait-for-output): Handle the case when
16683 commands do not return a newline but a null byte before the shell
16686 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16688 * term/ns-win.el (ns-set-alpha): Don't declare.
16689 (ns-set-background-alpha): Remove function.
16691 2009-07-16 Kevin Ryde <user42@zip.com.au>
16693 * emacs-lisp/copyright.el (copyright-update): Save match-data across
16694 y-or-n-p, for safety.
16696 2009-07-16 Richard Stallman <rms@gnu.org>
16698 * files.el (auto-save-mode): If buffer-saved-size is -2,
16701 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16702 (rmail-retry-ignored-headers): Add more uninteresting fields.
16704 2009-07-15 Jari Aalto <jari.aalto@cante.net>
16706 * net/rcirc.el (rcirc): Use history variables.
16707 (rcirc-server-name-history, rcirc-nick-name-history)
16708 (rcirc-server-port-history): New variables.
16710 2009-07-15 Kenichi Handa <handa@m17n.org>
16712 * international/mule-cmds.el (set-language-environment-charset):
16713 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16716 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16717 Delete unibyte-display.
16719 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16721 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16723 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16725 * simple.el (deactivate-mark): Optional argument FORCE.
16726 (set-mark): Use deactivate-mark.
16728 * info.el (Info-search): No need to check transient-mark-mode
16729 before calling deactivate-mark.
16731 * select.el (x-set-selection): Doc fix.
16732 (x-valid-simple-selection-p): Allow buffer values.
16733 (xselect--selection-bounds): Handle buffer values. Suggested by
16734 David De La Harpe Golden.
16736 * mouse.el (mouse-set-region, mouse-drag-track): Call
16737 copy-region-as-kill before setting the mark, to let
16738 select-active-regions work.
16740 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
16742 * simple.el (deactivate-mark): If select-active-regions is
16743 non-nil, copy the selection data into a string.
16744 (activate-mark): If select-active-regions is non-nil, set the
16745 selection to the current buffer.
16746 (set-mark): Update selection if select-active-regions is non-nil.
16748 * select.el (x-valid-simple-selection-p): Allow buffer values.
16750 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
16752 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16753 and more featureful message-mode.
16755 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
16757 * select.el (x-set-selection): Doc fix.
16758 (x-valid-simple-selection-p): Disallow selection data consisting
16759 of a list or cons of integers, since that is not used.
16760 (xselect--selection-bounds, xselect--int-to-cons): New functions.
16761 (xselect-convert-to-string, xselect-convert-to-length)
16762 (xselect-convert-to-filename, xselect-convert-to-charpos)
16763 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16765 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
16767 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16768 output in -break-info command (Emacs bug #3794).
16770 2009-07-14 Glenn Morris <rgm@gnu.org>
16772 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16773 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16774 (edebug-print-length, edebug-print-level, edebug-print-circle)
16775 (edebug-sit-for-seconds, edebug-view-outside)
16776 (edebug-bounce-point, edebug-set-global-break-condition)
16777 (edebug-Go-nonstop-mode, edebug-trace-mode)
16778 (edebug-Trace-fast-mode, edebug-continue-mode)
16779 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16780 (edebug-visit-eval-list): Doc fixes.
16782 * subr.el (def-edebug-spec): Doc fix.
16784 2009-07-14 Kenichi Handa <handa@m17n.org>
16786 * international/characters.el: Fix setting of category ?C.
16788 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
16790 * term/ns-win.el (x-select-font): defalias x-select-font to
16791 ns-popup-font-panel instead of generate-fontset-menu.
16793 2009-07-12 Eli Zaretskii <eliz@gnu.org>
16795 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
16797 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
16799 * arc-mode.el (archive-find-type): Allow for a PK00 string before
16800 the PK\003\004 header (Bug#3770).
16802 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
16804 * pcomplete.el (pcomplete-comint-setup): Check for
16805 shell-dynamic-complete-filename too.
16807 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16809 * simple.el (temporary-goal-column): Change the value for
16810 line-move-visual to a cons cell.
16811 (line-move-visual): Record or set the window hscroll, if
16812 necessary (Bug#3494).
16813 (line-move-1): Handle cons value of temporary-goal-column.
16815 2009-07-11 Kenichi Handa <handa@m17n.org>
16817 * international/mule-diag.el (describe-character-set): Don't show
16820 2009-07-10 Sam Steingold <sds@gnu.org>
16822 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16823 Omake sometimes indents the errors it prints, so allow all
16824 regexps to start with spaces.
16826 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16828 * cus-edit.el (customize-changed-options-previous-release):
16829 Bump value to 22.1. (Bug#3804)
16831 2009-07-08 Sam Steingold <sds@gnu.org>
16833 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16834 to be a cons cell (test . ignored-directory) to selectively ignore
16835 some directories depending on the location of the search.
16837 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16839 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16840 remote user is root, on the local host.
16841 (tramp-local-host-p): Either the local user or the remote user
16842 must be root. (Bug#3771)
16844 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16846 * progmodes/gdb-mi.el (gdb): Remove description of
16847 gdb-use-separate-io-buffer.
16848 (menu): Don't allow toggling of or enable
16849 gdb-use-separate-io-buffer from menubar.
16851 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16853 * mail/unrmail.el (unrmail): Make sure the message ends with two
16854 newlines (Bug#3769).
16856 2009-07-08 Glenn Morris <rgm@gnu.org>
16858 * calendar/calendar.el (calendar-current-date): Rework previous change.
16860 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16862 * calendar/calendar.el (calendar-current-date):
16863 Add an optional argument giving an offset from today.
16865 2009-07-08 Glenn Morris <rgm@gnu.org>
16867 * tutorial.el (tutorial--describe-nonstandard-key):
16868 Adjust the message for when a key has been unbound.
16869 (help-with-tutorial): Hide the arch-tag.
16871 2009-07-08 Kenichi Handa <handa@m17n.org>
16873 * international/fontset.el (setup-default-fontset): For each
16874 script, append (not set) font-specs.
16876 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16879 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16881 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16882 -data-list-register-names to ...
16883 (gdb-starting): ... here because GDB 7.0 requires execution to
16884 have started when using this MI command.
16885 (gdb-set-header): New function to distinguish select and
16886 unselected tabs in gdb buffers.
16887 (gdb-propertize-header): New macro that uses gdb-set-header.
16888 (gdb-breakpoints-header, gdb-locals-header): Use it.
16889 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16891 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16893 * Makefile.in (ELCFILES): Remove fadr.elc.
16895 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16897 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16898 may contain frame information, so `string-match' should be used.
16899 (gdb-update): Disassembly is invalidated through
16900 `gdb-get-selected-frame'.
16901 (gdb-pad-string): New function to pad string with spaces.
16902 (gdb-invalidate-disassembly): Invalidate only if the buffer
16904 (gdb-disassembly-handler-custom): Column alignment.
16905 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16907 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16909 (gdb-frame-handler): Match convention to for disassembly buffer
16911 (gdb-stack-list-frames-handler): Rewritten without regexps.
16912 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16913 not highlight breakpoints without line information.
16914 (gdb-input): Add trailing newline to command.
16916 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16918 (gdb-breakpoints-list-handler-custom): Replacement for
16919 `gdb-break-list-handler'. Using real parser instead of regexps
16921 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16922 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16923 to place breakpoints.
16924 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16926 (gdb-disassembly-handler-custom): Show overlay arrow.
16927 (gdb-disassembly-place-breakpoints): Show breakpoints in
16928 disassembly buffer.
16929 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16930 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16931 instead of parsing breakpoints buffer. Fixed old menu references
16936 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16937 (gdb-memory-address): New variable which holds top address of
16938 memory page shown in memory buffer.
16939 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16940 customization variables.
16942 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16943 display the memory buffer.
16944 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16945 buffer display parameters.
16946 (def-gdb-memory-format, gdb-memory-format-binary)
16947 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16948 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16949 Functions for setting memory buffer format.
16950 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16951 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16952 unit size used in memory buffer.
16953 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16954 to next/previous page of memory buffer.
16955 Now using (bindat-get-field) instead of fadr functions.
16957 2009-07-07 Sam Steingold <sds@gnu.org>
16959 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16960 non-top-level files.
16962 2009-07-07 Kenichi Handa <handa@m17n.org>
16964 * international/mule-cmds.el (reset-language-environment): Put
16965 the highset priority to the charset iso-8859-1.
16967 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16969 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16970 to the end of the line when locating the block (Bug#700).
16972 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16974 * net/tramp.el (tramp-handle-write-region): Flush file properties
16975 in case of short track.
16977 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16979 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16980 Coded custom representation of verilog error regular expressions
16981 to work with Emacs-22's new format.
16982 (verilog-error-regexp-xemacs-alist): Coded custom representation
16983 of verilog error regular expressions to work with XEmacs format.
16984 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16985 error recognition into XEmacs.
16986 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16987 error recognition into Emacs-22.
16989 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16991 * woman.el: Remove stand-alone closing parentheses.
16992 (woman-file-name, woman2-format-paragraphs)
16993 (woman-leave-blank-lines): Code cleanup.
16994 (woman-use-own-frame): Change default to nil.
16995 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16996 defaults to inherit from default faces.
16997 (woman2-process-escapes): Consume the newline after a stand-alone
16998 filler character (Bug#3651).
17000 2009-07-06 Glenn Morris <rgm@gnu.org>
17002 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17003 (top-level): Move provide to the end.
17004 (ffap): Remove defunct URL from custom group.
17006 * subr.el (eval-after-load): Doc fix.
17008 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
17010 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17011 `calc-embedded-word' is called twice.
17013 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17015 * files.el (find-alternate-file-other-window, find-alternate-file):
17016 Obey confirm-nonexistent-file-or-buffer.
17018 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
17020 * dired-aux.el (dired-show-file-type): Handle remote files.
17022 2009-07-05 Jari Aalto <jari.aalto@cante.net>
17024 * desktop.el (desktop-globals-to-save):
17025 Add file-name-history (Bug#2750).
17027 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
17029 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17031 2009-07-04 Johan Bockgård <bojohan@gnu.org>
17033 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17034 property on entire argument since this is what eshell-lisp-command
17037 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
17039 * net/tramp-gvfs.el (tramp-gvfs-methods)
17040 (tramp-gvfs-zeroconf-domain)
17041 (tramp-bluez-discover-devices-timeout): Add version flag.
17042 (tramp-gvfs-handler-mounted-unmounted)
17043 (tramp-gvfs-connection-mounted-p): Polish handling of
17044 incompatibilities between GVFS 0.2 and 1.0.
17046 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
17048 * cus-start.el (all): Add make-pointer-invisible.
17050 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
17052 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17053 formatted correctly.
17055 2009-07-02 Juri Linkov <juri@jurta.org>
17057 * info.el: Virtual Info files and nodes.
17058 (Info-virtual-files, Info-virtual-nodes): New variables.
17059 (Info-current-node-virtual): New variable.
17060 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17062 (Info-file-supports-index-cookies): Use Info-virtual-file-p
17063 to check for a virtual file instead of checking a fixed list
17065 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17066 instead of ad-hoc processing of "dir" and (apropos history toc).
17067 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17068 instead of ad-hoc processing of "dir" and (apropos history toc).
17069 Reread a file when moving from a virtual node.
17070 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17071 (Info-directory-toc-nodes, Info-directory-find-file)
17072 (Info-directory-find-node): New functions.
17073 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17074 (Info-history): Move part of code to
17075 `Info-history-find-node'.
17076 (Info-history-toc-nodes, Info-history-find-file)
17077 (Info-history-find-node): New functions.
17078 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17079 (Info-toc): Move part of code to `Info-toc-find-node'.
17080 (Info-toc-find-node): New function.
17081 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
17082 the current Info file name to references because now the node
17083 "*TOC*" belongs to the same Info manual.
17084 (Info-toc-build): Rename from `Info-build-toc'.
17085 (Info-toc-nodes): Rename input argument `file' to `filename'.
17086 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17087 instead of ad-hoc processing of ("dir" apropos history toc).
17088 (Info-index-nodes): Use Info-virtual-file-p
17089 to check for a virtual file instead of checking a fixed list
17091 (Info-index-node): Add check for `Info-current-node-virtual'.
17092 Raise `save-match-data' higher up the tree to contain
17093 `search-forward' too (bug fix).
17094 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17095 (Info-virtual-index-nodes): New variable.
17096 (Info-virtual-index-find-node, Info-virtual-index): New functions.
17097 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17098 (Info-apropos-file, Info-apropos-nodes): New variables.
17099 (Info-apropos-toc-nodes, Info-apropos-find-file)
17100 (Info-apropos-find-node, Info-apropos-matches): New functions.
17101 (info-apropos): Move part of code to `Info-apropos-find-node' and
17102 `Info-apropos-matches'.
17103 (Info-mode-map): Bind "I" to `Info-virtual-index'.
17104 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17105 for a virtual file instead of checking a fixed list of node names.
17107 * simple.el (async-shell-command): New command.
17109 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17111 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17112 instead of `mount-info'.
17114 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
17116 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17117 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17119 2009-07-02 Kenichi Handa <handa@m17n.org>
17121 * international/mule.el (set-keyboard-coding-system): Force *-unix
17122 coding-system to avoid eol conversion.
17124 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
17126 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17127 Add handler for `process-file', `shell-command' and
17128 `start-file-process'.
17129 (tramp-gvfs-handle-shell-command)
17130 (tramp-gvfs-handle-start-file-process)
17131 (tramp-gvfs-handle-process-file): New defuns.
17132 (tramp-synce-list-devices): Simplify check for existence of property.
17134 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
17136 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17138 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
17140 * language/korean.el (set-language-info-alist): Add korean-cp949,
17143 2009-07-01 Kenichi Handa <handa@m17n.org>
17145 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17147 * international/encoded-kb.el: Deleted.
17149 * international/mule.el (set-keyboard-coding-system): Perform the
17150 necessary setup here instead of calling encoded-kbd-setup-display.
17152 2009-07-01 Glenn Morris <rgm@gnu.org>
17154 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17156 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
17158 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
17160 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
17162 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17163 Handle also the 'rename case, when setting file modes. (Bug#3712)
17164 (tramp-default-file-modes): Remove execute permissions.
17166 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17167 (top): Add a default for "synce" in `tramp-default-user-alist'.
17168 Add completion function for "synce" method.
17169 (tramp-hal-service, tramp-hal-path-manager)
17170 (tramp-hal-interface-manager, tramp-hal-interface-device):
17172 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17173 (tramp-synce-list-devices, tramp-synce-parse-device-names):
17176 * net/trampver.el: Update release number.
17178 2009-06-30 Kenichi Handa <handa@m17n.org>
17180 * international/fontset.el (setup-default-fontset): Add CJK fonts
17181 for symbols and the other miscellaneous characters.
17183 * language/korea-util.el (setup-korean-environment-internal):
17184 Make char-width-table suitable for Korean environments.
17185 (exit-korean-environment): Cancel above.
17187 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17188 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17189 setup-function to make char-width-table suitable for respective
17190 environments, and an exit-function to cancel that.
17192 * language/japan-util.el (setup-japanese-environment-internal):
17193 Call use-cjk-char-width-table with arg `ja_JP'.
17195 * international/characters.el (cjk-char-width-table): Delete it.
17196 (cjk-char-width-table-list): New variable.
17197 (use-cjk-char-width-table): New arg local-name.
17198 (use-default-char-width-table): Fix for the case that Emacs is
17199 already using the default char-width-table.
17201 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
17203 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17204 modes mandatory. (Bug#3712)
17206 2009-06-29 Alan Mackenzie <acm@muc.de>
17208 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17209 correction between the visible width of TABs and their number of bytes.
17211 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
17213 * server.el (server-buffer-done): Prevent kill-buffer from
17214 prompting by clearing the buffer modification flag (Bug#3696).
17216 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
17218 * progmodes/verilog-mode.el (verilog-beg-of-statement)
17219 (verilog-endcomment-reason-re): Support unique case and priority case.
17220 (verilog-basic-complete-re): Support localparam lineup.
17221 (verilog-beg-of-statement-1): Fix for robustness, unique case.
17222 (verilog-set-auto-endcomments): Fix for unique case, always_comb
17224 (verilog-leap-to-case-head): Now support *nested* unique &
17225 priority case statements.
17226 (verilog-auto-lineup): Make just declarations the default (as it
17228 (verilog-leap-to-case-head): Support priority/unique case statements.
17229 (verilog-auto-lineup): Rework to give users radio buttons to
17230 select the various styles of automatic lineup.
17231 (verilog-error-regexp-alist): Rework to support the XEmacs style
17232 of error regular expressions from compilers, lint tools &
17233 simulators. Note that GNU Emacs has made it impossible for a mode
17234 to load such things.
17235 (electric-verilog-terminate-line, verilog-indent-declaration)
17236 (verilog-auto-wiure): Rework for radio button selection of
17237 auto-lineup selection of specification of auto lineup.
17238 (verilog-beg-of-statement-1): Redesign to support proper operation
17239 in additional code, based on testing with auto-lineup.
17240 (verilog-calculate-indent, assignments & declarations)
17241 (verilog-backward-token): Enhance to support auto-lineup of
17242 assignments & declarations.
17243 (verilog-in-directive-p, verilog-at-struct-p): New function for
17244 easy test of whether we are.
17245 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17246 to support safe execution at almost anyline.
17247 (verilog-calc-1): Properly support indenting deep inside generate
17249 (verilog-init-font): Remove definition & use of verilog-init-font,
17250 as it is redundant with font-lock-defaults.
17251 (verilog-mode): Alter the definition of verilog-font-lock-defaults
17252 to avoid circular calls if syntax-ppss is a function (as is the
17253 case now in 22.x GNU Emacs) as that function would sometimes call
17254 itself, leading to (nearly) infinite recursion.
17255 (verilog-ovm-begin-re, verilog-ovm-end-re)
17256 (verilog-ovm-statement-re, verilog-leap-to-head)
17257 (verilog-backward-token): Add support for OVM macros. Some are
17258 complete statements, and others open and close scopes like begin
17260 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17261 (verilog-defun-level-generate-only-re): Really fix the defun-list
17263 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17264 coverpoint, constraint and cross statements.
17265 (verilog-defun-level-list, verilog-generate-defun-level-list)
17266 (verilog-all-defun-level-list): Redo these specifications - it is
17267 too hard to support eval-when compile aggregation of lists also
17268 built at when-compile time.
17269 (verilog-defun-level-list): Place defconsts of variables used in
17270 building regular expressions which are built in eval-when-compile
17271 bodies in the same eval-when-compile body to facilitate compile
17273 (verilog-beg-block-re-ordered): Support indenting
17274 virtual/protected tasks and functions.
17275 (verilog-defun-level-list, verilog-in-generate-region-p)
17276 (verilog-backward-ws&directives, verilog-calc-1): Speed up
17277 indentation of some module items (generate items).
17278 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17279 across virtual/protected tasks and functions.
17281 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
17283 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17284 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
17285 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17286 in concatenations. Reported by Yishay Belkind.
17287 (verilog-auto-ascii-enum): Support one-hot state machines in
17288 AUTOASCIIENUM. Suggested by Lloyd Gomez.
17289 (verilog-auto-inst, verilog-auto-inst-port): Include interface
17290 modport in AUTOINST and add vl-modport for users. Reported by
17292 (verilog-auto-inout-module, verilog-auto-inst)
17293 (verilog-decls-get-interfaces, verilog-insert-definition)
17294 (verilog-insert-one-definition, verilog-read-decls)
17295 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17296 (verilog-sig-modport, verilog-signals-combine-bus)
17297 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17298 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17299 Suggested by David Rogoff.
17300 (verilog-repair-open-comma): Fix non-insertion of comma when
17301 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
17302 (verilog-make-width-expression): Simplify [A-1:0] expression
17303 widths to just {A{1'b0}}.
17304 (verilog-mode): Cleanup checkdoc warnings.
17305 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17306 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17307 inputs/outputs or data type. Suggested by Vasu Kandadi.
17308 (next-error-last-buffer): Fix byte-compiler warning.
17309 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17310 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17311 or shell command text during AUTO expansion. Suggested by Tad Truex.
17312 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17313 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17314 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17315 in AUTOINOUT. Reported by Matthew Lovell.
17316 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17317 causing use of <= assignments. Reported by Alex Reed.
17318 (verilog-read-decls): Fix triand, trior, wand, wor to be
17319 recognized by AUTOWIRE. Reported by Spencer Isaacson.
17320 (verilog-extended-complete-re): Support import "DPI-C" functions.
17321 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17322 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
17323 (verilog-insert-date, verilog-insert-year)
17324 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17325 Windows systems. Reported by Michael Potts.
17326 (verilog-read-module-name): Fix AUTOINST when the child module
17327 declaration's name is a tick define. Reported by Elliot Mednick.
17328 (verilog-read-decls): Fix V2K parameter bit subscripts getting
17329 passed to next parameter's definition. Reported by Bruce T.
17330 (verilog-read-decls): Fix detecting "parameter int" when using
17331 AUTOINSTPARAM. Reported by Bruce T.
17332 (verilog-goto-defun): Fix goto not finding modules unless first
17333 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
17334 (verilog-mode): Expand -f flag arguments on entry to mode so
17335 verilog-goto-defun will work. Reported by Lawrence Butcher.
17336 (verilog-getopt): Expand environment variables in -f file
17337 arguments. Suggested by Lawrence Butcher.
17338 (verilog-set-define): Fix "Symbol's value as variable is void"
17339 when reading enumerations.
17340 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17341 Suggested by Stephen Peltan.
17342 (verilog-read-defines): Fix reading of enumerations in include
17343 files. Reported by Steve Peltan.
17345 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17347 * files.el (trash-directory): Fix defcustom type.
17349 2009-06-28 Juri Linkov <juri@jurta.org>
17351 * help-fns.el (describe-function-1): Correctly locate adviced
17352 functions in hyperlink (Bug#2438).
17354 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
17356 * files.el (trash-directory): Change default to nil.
17357 (move-file-to-trash): If trash-directory is nil and
17358 system-move-file-to-trash is unbound, perform freedesktop-style
17361 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17363 * files.el (move-file-to-trash): Add freedesktop trash
17366 2009-06-28 Glenn Morris <rgm@gnu.org>
17368 * autorevert.el (global-auto-revert-non-file-buffers)
17369 (global-auto-revert-mode): Doc fixes.
17371 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17373 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17375 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17377 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17378 opened an X connection before calling x-get-resource (Bug#3194).
17380 * play/doctor.el: Remove reference to obsolete website.
17381 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17383 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17385 Remove find-file-not-found-hook VC method. (Bug#2757)
17386 * vc-hooks.el (vc-file-not-found-hook)
17387 (vc-default-find-file-not-found-hook): Remove functions.
17388 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17389 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17392 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17394 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17396 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17397 compatibility function for `looking-back'.
17399 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17400 Use `ispell-looking-back'.
17402 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17404 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17405 rather than `filename'.
17407 2009-06-23 Miles Bader <miles@gnu.org>
17409 * face-remap.el (text-scale-set): New function.
17411 2009-06-23 Glenn Morris <rgm@gnu.org>
17413 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17415 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17417 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17419 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17421 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17422 Simplify Persian conditionals.
17424 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17425 variable `filename'.
17427 * comint.el (comint-insert-input): Doc fix.
17429 * Makefile.in (ELCFILES): Fix typo in previous change.
17431 2009-06-23 Miles Bader <miles@gnu.org>
17433 * cus-start.el: Add entry for `recenter-redisplay'.
17435 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17437 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17438 Add an optional argument for the backend, use it instead of
17439 calling vc-backend.
17440 (vc-mode-line): Add an optional argument for the backend.
17441 Pass the backend to vc-state and vc-working-revision. Move code for
17442 special handling for vc-state being a buffer to ...
17444 * vc-rcs.el (vc-rcs-find-file-hook):
17445 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17447 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17448 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17449 vc-stay-local-p and vc-mode-line calls.
17451 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17452 (vc-cvs-diff, vc-cvs-annotate-command)
17453 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17454 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17455 vc-mode-line calls.
17457 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17459 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17460 backend when calling vc-mode-line.
17461 (vc-register): Do not create a closure for calling the vc register
17462 function, call it directly.
17464 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17466 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17467 to make it obvious item can be clicked.
17469 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17471 2009-06-23 Kenichi Handa <handa@m17n.org>
17473 * language/korea-util.el (korean-key-bindings): Change the binding
17474 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17477 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17479 Sync with Tramp 2.1.16.
17481 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17483 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17484 when a loading of a package fails. Completion function for rsync
17485 is `tramp-completion-function-alist-ssh'.
17486 (all): Replace all calls of `split-string' and
17487 `tramp-split-string' by `tramp-compat-split-string'.
17488 (tramp-default-method): Use `tramp-compat-process-running-p'.
17489 (tramp-default-proxies-alist): Allow also Lisp forms.
17490 (tramp-remote-path): Add choice "Private Directories".
17491 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17492 (tramp-domain-regexp): Allow also "-", "_" and ".".
17493 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17494 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17495 (tramp-debug-message): Insert header line in debug buffer.
17496 (tramp-handle-directory-files-and-attributes-with-stat):
17497 Care about filenames with spaces, or starting with "-".
17498 (tramp-handle-dired-uncache): New defun.
17499 (tramp-handle-insert-directory): Don't flush the directory from
17500 cache, this is handled by `dired-uncache' now.
17501 (tramp-handle-insert-file-contents): Improve error handling.
17502 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17503 Quote `tramp-end-of-output'.
17504 (tramp-action-password): Improve trace message.
17505 (tramp-check-for-regexp): Both echoes must be present, before removing.
17506 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17507 (tramp-compute-multi-hops): Eval cons cells of
17508 `tramp-default-proxies-alist'.
17509 (tramp-maybe-open-connection): Use the same command pattern for
17510 first hop and further hops.
17511 (tramp-wait-for-output): Remove handling of newlines.
17512 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17513 (tramp-split-string): Remove function. It is handled in
17516 * net/tramp-cmds.el (tramp-bug):
17517 Recommend `tramp-cleanup-all-connections' in the bug mail.
17519 * net/tramp-compat.el (tramp-compat-split-string)
17520 (tramp-compat-process-running-p): New defuns.
17522 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17523 for `dired-uncache'.
17525 * net/tramp-gvfs.el: New package.
17527 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17528 Add handler for `dired-uncache'.
17529 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17531 * net/trampver.el: Update release number. Make version check fit
17534 2009-06-22 Jim Meyering <meyering@redhat.com>
17536 Automatically handle .xz suffix (XZ-compressed files), too.
17537 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17538 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17540 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17541 Nick Roberts <nickrob@snap.net.nz>
17543 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17544 repository (http://sphinx.net.ru/hg/gdb-mi/).
17546 2009-06-22 Glenn Morris <rgm@gnu.org>
17548 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17549 `mode' and `eval' entries. (Bug#3430)
17551 * Makefile.in (ELCFILES): Add fadr.elc.
17553 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17554 differing behavior of \n and ^ in strings. (Bug#3385)
17556 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17558 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17560 (lisp-indent-function): Make it a defcustom.
17562 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17564 * progmodes/gdb-ui.el: Replace with ...
17565 * progmodes/gdb-mi.el: ... this file.
17566 * progmodes/gud.el: Modify for gdb-mi.el.
17568 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17570 * fadr.el: New file.
17572 See ChangeLog.14 for earlier changes.
17574 ;; Local Variables:
17578 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17580 This file is part of GNU Emacs.
17582 GNU Emacs is free software: you can redistribute it and/or modify
17583 it under the terms of the GNU General Public License as published by
17584 the Free Software Foundation, either version 3 of the License, or
17585 (at your option) any later version.
17587 GNU Emacs is distributed in the hope that it will be useful,
17588 but WITHOUT ANY WARRANTY; without even the implied warranty of
17589 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17590 GNU General Public License for more details.
17592 You should have received a copy of the GNU General Public License
17593 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.