1 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3 * help-fns.el (describe-function-1): Don't burp is the function is not
6 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
8 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
9 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
10 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14 (eieio-default-superclass): Reflow docstrings.
15 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16 (eieio-unbind-method-implementations, defmethod)
17 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
19 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
20 (eieio-slot-originating-class-p, eieio-slot-name-index)
21 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
22 (constructor, initialize-instance, no-next-method, object-print)
23 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
24 Fix typos in docstrings.
25 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
26 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
27 (next-method-p): Doc fixes.
28 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
29 Fix typos in error messages.
30 (eieio-defmethod): Fix typo in description of generic method.
32 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
33 (eieio-persistent-save-interactive, slot-missing):
34 Fix typos in docstrings.
35 (eieio-instance-inheritor-slot-boundp): Doc fix.
37 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
38 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
40 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
41 (eieio-custom-object-apply-reset):
42 Fix typos in docstrings and error messages.
44 * emacs-lisp/eieio-datadebug.el (data-debug-show):
45 Fix typo in docstring.
47 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
48 (eieio-browse-tree): Doc fix.
49 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
50 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
51 Fix typos in docstrings.
53 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
54 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
55 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
56 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
59 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
61 * vc-hg.el (log-view-vc-backend): Declare for compiler.
62 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
63 Set log-view-vc-backend so that diff can work.
65 * log-view.el (log-view-diff): Use vc-diff-internal instead of
67 (vc-diff-internal): Autoload this instead of vc-version-diff.
69 2009-10-05 Eli Zaretskii <eliz@gnu.org>
71 * simple.el (eval-expression): Doc fix.
73 * progmodes/cwarn.el (cwarn-mode): Doc fix.
75 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
77 * files.el (directory-files-no-dot-files-regexp): New defconst.
78 (delete-directory): Use it.
79 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
81 * net/tramp.el (tramp-verbose): Fix docstring.
82 (tramp-methods): Add recursive option to `tramp-copy-args'.
83 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
84 "scp1_old", "scp2_old", "rsync", "rsyncc".
85 (tramp-default-method): Check also for `auth-source-user-or-password'.
86 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
87 Add handler for `copy-directory'.
88 (tramp-handle-copy-directory): New defun.
89 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
90 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
91 Optimize sent command.
93 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
95 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
98 * calendar/calendar.el (calendar-basic-setup): Don't call
99 switch-to-buffer in a dedicated window.
101 2009-10-05 Karl Fogel <kfogel@red-bean.com>
103 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
104 don't do anything related to relocating, just return nil.
105 (bookmark-error-no-filename): New error.
106 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
107 bookmark has no file. Don't even attempt to handle things that
108 are not files; the whole point of custom handlers is to keep that
109 knowledge elsewhere anyway. Tighten some comments.
110 (bookmark-file-or-variation-thereof): Remove now-unused function.
111 (bookmark-location): Doc string fix.
114 2009-10-04 Karl Fogel <kfogel@red-bean.com>
116 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
117 don't use a file dialog, because they usually don't know how to read
118 a directory target from the user. (Bug#4230)
119 Also, make sure the prompt can display directories as well as files.
121 2009-10-04 Karl Fogel <kfogel@red-bean.com>
123 * bookmark.el (bookmark-set, bookmark-buffer-name):
124 Improve doc strings. (Bug#1193)
126 2009-10-04 Karl Fogel <kfogel@red-bean.com>
128 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
129 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
130 (bookmark-get-annotation, bookmark-set-annotation)
131 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
132 (bookmark-set-position, bookmark-get-front-context-string)
133 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
134 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
135 (bookmark-jump-other-window, bookmark-handle-bookmark)
136 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
137 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
138 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
139 Improve doc strings to say whether bookmark can be a string or
140 a record or both, and make other consistency and clarity fixes.
141 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
142 (bookmark-default-annotation-text, bookmark-yank-word)
143 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
144 (bookmark-import-new-list, bookmark-maybe-rename)
145 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
146 (bookmark-bmenu-bookmark): Give these doc strings.
147 (bookmark-bmenu-check-position): Give this a doc string, but also
148 add a FIXME comment about how the function may be pointless.
149 (bookmark-default-handler): Rework doc string and change a
150 parameter name, to clarify that this takes a bookmark record
152 (bookmark-set): Change a parameter name to indicate its meaning,
153 and improve the doc string a bit.
156 2009-10-04 Karl Fogel <kfogel@red-bean.com>
158 * bookmark.el (bookmark-alist): Document the new `handler' element
160 (bookmark-make-record-function): Adjust documentation for above.
163 2009-10-04 Karl Fogel <kfogel@red-bean.com>
165 * info.el (Info-bookmark-make-record): Document this function.
166 (Info-bookmark-jump): Document with a doc string, not just a comment.
169 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
171 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
172 (semantic-new-buffer-fcn): Call parser setup functions here.
173 (semantic-mode): Don't call parser setup functions here, it's done
174 in semantic-new-buffer-fcn now.
175 (semantic-mode): Parse all existing buffers when enabled.
177 * cedet/srecode/compile.el (srecode-compile-file):
178 Call semantic-new-buffer-fcn if the buffer has not been parsed.
180 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
182 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
184 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
185 (proj-comp-insert-variable-once): New macro, renamed from
186 ede-pmake-insert-variable-once in ede/pmake.edl.
187 (ede-proj-makefile-insert-variables): Use it.
189 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
191 * files.el (copy-directory): New defun.
193 * dired-aux.el (dired-copy-file-recursive): Use it.
195 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
197 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
198 (makefile-end-of-command):
199 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
200 (semantic-end-of-context): Fix previous change. Doc fixes.
202 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
204 * files-x.el (modify-dir-local-variable)
205 (copy-dir-locals-to-file-locals-prop-line):
206 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
207 (makefile-end-of-command):
208 * cedet/semantic/lex.el (semantic-lex-token):
209 * cedet/semantic/analyze/fcn.el
210 (semantic-analyze-dereference-metatype-1):
211 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
212 (semantic-lex-cpp-undef):
213 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
214 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
215 (semantic-end-of-context): Fix typos in docstrings.
217 * recentf.el (recentf-unload-function): New function.
219 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
221 * cedet/ede.el (ede-project-placeholder-cache-file):
222 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
223 * cedet/srecode/map.el (srecode-map-save-file):
224 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
226 2009-10-04 Glenn Morris <rgm@gnu.org>
228 * window.el (window-full-height-p): Add doc string.
230 2009-10-04 Martin Rudalics <rudalics@gmx.at>
232 * window.el (window-full-height-p): New function. (Bug#4543)
234 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
236 * cedet/srecode/insert.el: Require srecode/args.
238 * cedet/srecode/args.el: Require srecode/dictionary instead of
241 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
243 * files.el (auto-mode-alist): Add .srt and Project.ede.
245 * cedet/semantic.el (semantic-mode):
246 Handle srecode-template-mode-hook as well.
247 (semantic-mode): Use js-mode-hook for Javascript hook.
249 * cedet/srecode/template.el: Remove hook variable.
251 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
253 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
255 (ede-project-placeholder-cache-file): Default to a file in
256 user-emacs-directory.
258 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
259 templates in data-directory.
260 (srecode-map-save-file): Default to a file in user-emacs-directory.
262 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
265 2009-09-30 Eric Ludlam <zappo@gnu.org>
267 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
270 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
271 Only insert each variable once.
273 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
274 (ede-pmake-insert-variable-shared): Use it.
276 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
277 for lexical table iff table is nil.
279 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
281 * vc.el: Remove commented out code.
282 (vc-derived-from-dir-mode): Remove, unused.
283 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
285 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
287 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
288 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
289 there could be recursive loading when `default-directory' is a
290 remote file name. (Bug#4614)
292 2009-10-03 Glenn Morris <rgm@gnu.org>
294 * calendar/calendar.el (calendar-basic-setup): Handle the case where
296 (calendar-generate-window): Test for shrinkability rather than width.
298 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
299 declaration, currently false.
301 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
302 reusing existing buffers, in case we happen to visit two files with the
303 same basename. (Bug#4593)
305 2009-10-02 Eli Zaretskii <eliz@gnu.org>
307 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
308 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
309 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
310 subdirs of cedet as well.
311 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
313 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
315 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
316 Obey advertised-signature-table.
318 * help-fns.el (help-function-arglist): Don't check
319 advertised-signature-table.
320 (describe-function-1): Do it here instead so it also applies to subrs.
322 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
324 * simple.el (start-file-process): Say in the doc-string, that file
325 handlers might not support pty association, if PROGRAM is nil.
327 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
328 HOST and USER are strings. They are nil, when there are
329 incomplete entries in ~/.netrc, for example.
330 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
331 root directory ("device busy" error otherwise).
333 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
334 Flush file properties of created directory.
336 2009-10-02 Eli Zaretskii <eliz@gnu.org>
338 * makefile.w32-in (WINS_BASIC): Remove cedet.
339 (WINS_CEDET): Add cedet.
340 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
342 2009-10-02 Kevin Ryde <user42@zip.com.au>
344 * net/browse-url.el (browse-url): Pass any symbol in
345 browse-url-browser-function to `apply', since if you've mistakenly put
346 an unbound symbol then the error is clearer. (Bug#4531)
348 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
350 * allout.el (allout-init, allout-back-to-current-heading)
351 (allout-beginning-of-current-entry, allout-ascend-to-depth)
352 (allout-ascend, allout-up-current-level, allout-end-of-level)
353 (allout-previous-visible-heading, allout-forward-current-level)
354 (allout-backward-current-level, allout-show-children):
355 * apropos.el (apropos-describe-plist):
356 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
357 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
358 * completion.el (add-completion, add-permanent-completion):
359 * descr-text.el (describe-text-category, describe-char):
360 * desktop.el (desktop-lazy-abort):
361 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
362 * dired.el (dired-build-subdir-alist):
363 * ediff.el (ediff-version):
364 * elide-head.el (elide-head, elide-head-show):
365 * emerge.el (emerge-version):
367 * face-remap.el (variable-pitch-mode):
368 * faces.el (describe-face):
369 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
371 * files.el (find-file-existing, auto-save-mode):
372 * font-lock.el (font-lock-fontify-buffer):
373 * help-fns.el (describe-function, describe-variable)
374 (describe-syntax, describe-categories):
375 * help.el (view-lossage, describe-bindings, describe-key)
377 * hexl.el (hexl-current-address):
378 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
379 * info.el (Info-goto-emacs-key-command-node):
380 * log-edit.el (log-edit-insert-cvs-template)
381 (log-edit-insert-cvs-rcstemplate):
382 * menu-bar.el (menu-bar-mode):
383 * mouse.el (mouse-appearance-menu):
384 * newcomment.el (comment-indent-new-line):
385 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
386 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
387 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
388 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
389 * recentf.el (recentf-mode):
390 * savehist.el (savehist-mode, savehist-save):
391 * shadowfile.el (shadow-copy-files):
392 * simple.el (kill-ring-save, next-line, previous-line)
393 (normal-erase-is-backspace-mode):
394 * strokes.el (strokes-update-window-configuration)
395 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
396 (strokes-xpm-for-stroke):
397 * time.el (emacs-uptime, emacs-init-time):
398 * tutorial.el (tutorial--describe-nonstandard-key)
399 (tutorial--detailed-help):
400 * type-break.el (type-break-mode)
401 (type-break-mode-line-message-mode, type-break-query-mode)
402 (type-break-guesstimate-keystroke-threshold):
403 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
404 * version.el (emacs-version):
405 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
406 * winner.el (winner-mode):
407 * calendar/timeclock.el (timeclock-in, timeclock-out)
408 (timeclock-status-string, timeclock-change)
409 (timeclock-workday-remaining-string)
410 (timeclock-workday-elapsed-string)
411 (timeclock-when-to-leave-string):
412 * calendar/todo-mode.el (todo-add-category):
413 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
414 * emacs-lisp/autoload.el (update-file-autoloads):
415 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
416 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
417 (checkdoc-message-text, checkdoc-defun):
418 * emacs-lisp/debug.el (debugger-list-functions):
419 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
420 * emacs-lisp/eieio-opt.el (eieio-describe-class)
421 (eieio-describe-generic):
422 * emacs-lisp/lisp-mnt.el (lm-synopsis):
423 * emacs-lisp/shadow.el (list-load-path-shadows):
424 * emulation/cua-base.el (cua-mode):
425 * emulation/edt.el (edt-set-scroll-margins):
426 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
427 (tpu-toggle-regexp, tpu-toggle-search-direction)
428 (tpu-toggle-rectangle, tpu-toggle-control-keys):
429 * emulation/tpu-extras.el (tpu-set-scroll-margins):
430 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
431 (viper-set-parsing-style-toggling-macro)
432 (viper-set-emacs-state-searchstyle-macros):
433 * emulation/viper.el (viper-set-hooks):
434 * eshell/esh-mode.el (eshell-truncate-buffer):
435 * international/mule-cmds.el (prefer-coding-system)
436 (describe-input-method, describe-language-environment):
437 * international/mule-diag.el (list-character-sets)
438 (describe-character-set, describe-coding-system)
439 (describe-fontset, list-fontsets, list-input-methods):
440 * mail/sendmail.el (mail-signature):
441 * net/ange-ftp.el (ange-ftp-copy-file):
442 * net/browse-url.el (browse-url):
443 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
444 * net/quickurl.el (quickurl-add-url):
445 * net/rcirc.el (names, topic):
446 * net/xesam.el (xesam-mode):
447 * play/5x5.el (5x5-new-game):
448 * play/yow.el (apropos-zippy):
449 * progmodes/ada-mode.el (ada-mode-version):
450 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
452 (f90-beginning-of-block):
453 * progmodes/fortran.el (fortran-end-of-block)
454 (fortran-beginning-of-block):
455 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
456 * progmodes/python.el (python-describe-symbol, python-shell):
457 * term/ns-win.el (ns-print-buffer):
458 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
459 * textmodes/flyspell.el (flyspell-mode-on):
460 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
461 (pages-directory-for-addresses):
462 * textmodes/table.el (table-recognize-cell)
463 (table-query-dimension, table-generate-source)
464 (table-insert-sequence, table--warn-incompatibility):
465 * textmodes/tex-mode.el (tex-validate-buffer):
466 * textmodes/texinfmt.el (texinfmt-version)
467 (texinfo-format-buffer):
468 Use `called-interactively-p' instead of `interactive-p'.
470 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
472 * image-mode.el (image-toggle-display):
473 * emacs-lisp/elp.el (elp-instrument-function):
474 * emacs-lisp/advice.el (ad-make-advised-definition):
475 * emacs-lisp/easy-mmode.el (define-minor-mode):
476 * net/browse-url.el (browse-url-maybe-new-window):
477 * progmodes/sh-script.el (sh-learn-buffer-indent):
478 Pass new argument 'any to `called-interactively-p'.
480 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
482 * international/uni-bidi.el:
483 * international/uni-category.el:
484 * international/uni-combining.el:
485 * international/uni-comment.el:
486 * international/uni-decimal.el:
487 * international/uni-decomposition.el:
488 * international/uni-digit.el:
489 * international/uni-lowercase.el:
490 * international/uni-mirrored.el:
491 * international/uni-name.el:
492 * international/uni-numeric.el:
493 * international/uni-old-name.el:
494 * international/uni-titlecase.el:
495 * international/uni-uppercase.el:
496 Regenerate from Unicode 5.2.0 data.
498 2009-10-01 Glenn Morris <rgm@gnu.org>
500 * Makefile.in (ELCFILES): Regenerate.
502 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
504 * subr.el (interactive-p): Mark obsolete.
505 (called-interactively-p): Make the optional-ness of `kind' obsolete.
506 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
507 advertised-signature-table for subroutines as well.
509 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
510 (set-advertised-calling-convention): New function.
511 (make-obsolete, define-obsolete-function-alias)
512 (make-obsolete-variable, define-obsolete-variable-alias):
513 Make the optional-ness of `when' obsolete.
514 (define-obsolete-face-alias): Make `when' non-optional.
515 * help-fns.el (help-function-arglist):
516 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
517 Use advertised-signature-table.
519 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
521 * files.el (delete-directory): New defun. The original function
522 in fileio.c has been renamed to `delete-directory-internal'.
524 * dired.el (dired-delete-file): Call `delete-directory' with
527 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
528 parameter RECURSIVE. Implementation is missing.
530 * net/tramp.el (tramp-handle-make-directory): Flush upper
531 directory's file properties.
532 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
533 (tramp-handle-dired-recursive-delete-directory): Flush directory
534 properties after the remove command only.
536 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
537 Handle optional parameter RECURSIVE.
539 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
540 Handle optional parameter RECURSIVE.
542 * net/tramp-smb.el (tramp-smb-errors): Add error message for
544 (tramp-smb-handle-delete-directory): Handle optional parameter
547 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
549 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
550 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
551 (byte-compile-defmacro): Use backquotes.
553 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
555 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
556 has no associated file.
557 (vc-resynch-buffer): Use vc-dir-buffers.
559 2009-10-01 Glenn Morris <rgm@gnu.org>
561 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
563 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
564 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
565 * emacs-lisp/eieio-opt.el (eieio-describe-class):
566 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
567 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
568 (eieio-copy-parents-into-subclass, make-instance, class-children)
569 (eieio-generic-form):
570 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
571 * cedet/cedet-idutils.el (cedet-idutils-search)
572 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
573 (cedet-idutils-version-check):
574 * cedet/cedet.el (cedet-version):
575 * cedet/data-debug.el (data-debug-insert-overlay-button)
576 (data-debug-insert-overlay-list-button)
577 (data-debug-insert-buffer-button)
578 (data-debug-insert-buffer-list-button)
579 (data-debug-insert-process-button, data-debug-insert-ring-button)
580 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
581 (data-debug-insert-stuff-vector-button)
582 (data-debug-insert-symbol-button, data-debug-insert-string)
583 (data-debug-insert-number, data-debug-insert-lambda-expression)
584 (data-debug-insert-nil, data-debug-insert-simple-thing)
585 (data-debug-insert-custom, data-debug-edebug-expr):
586 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
587 (global-ede-mode-map, ede-new, ede-debug-target)
588 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
589 * cedet/semantic.el (semantic-minimum-working-buffer-size)
590 (semantic-fetch-tags, semantic-submode-list)
591 (semantic-default-submodes):
592 * cedet/ede/source.el (ede-source-match):
593 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
594 (project-am-package-info):
595 * cedet/ede/proj.el (ede-proj-target, project-new-target):
596 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
597 * cedet/ede/proj-comp.el (ede-current-build-list):
598 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
599 * cedet/ede/files.el (ede-toplevel-project-or-nil):
600 * cedet/ede/cpp-root.el (initialize-instance):
601 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
602 (autoconf-parameter-strip, autoconf-insert-new-macro):
603 * cedet/semantic/wisent.el (wisent-lex-eoi):
604 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
605 (semantic-show-parser-state-mode):
606 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
607 * cedet/semantic/tag.el (semantic-tag-new-variable)
608 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
609 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
610 (semantic--tag-deep-copy-tag-list)
611 (semantic-tag-components-with-overlays-default):
612 * cedet/semantic/symref.el (semantic-symref-find-text):
613 * cedet/semantic/senator.el (senator-yank-tag)
614 (senator-transpose-tags-up):
615 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
616 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
617 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
618 * cedet/semantic/lex.el (semantic-lex-comment-regex)
619 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
620 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
621 * cedet/semantic/lex-spp.el
622 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
623 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
624 * cedet/semantic/idle.el
625 (semantic-idle-summary-current-symbol-info-brutish)
626 (semantic-idle-summary-current-symbol-info-default):
627 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
628 (semantic--grammar-macro-compl-dict):
629 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
630 * cedet/semantic/format.el (semantic-format-tag-custom-list)
631 (semantic-format-tag-canonical-name-default):
632 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
633 (semantic-find-tags-for-completion)
634 (semantic-find-tags-by-scope-protection-default)
635 (semantic-deep-find-tags-for-completion):
636 * cedet/semantic/edit.el
637 (semantic-edits-incremental-reparse-failed-hook)
638 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
639 (semantic-edits-splice-remove, semantic-edits-splice-replace):
640 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
641 * cedet/semantic/dep.el (semantic-dependency-include-path):
642 * cedet/semantic/db.el (semanticdb-default-find-index-class)
643 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
644 (semanticdb-project-roots):
645 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
646 (semanticdb-find-adebug-insert-scanned-tag-cons)
647 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
648 (semanticdb-brute-deep-find-tags-for-completion):
649 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
650 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
651 (semantic-end-of-context-default)
652 (semantic-ctxt-current-function-default)
653 (semantic-ctxt-scoped-types-default):
654 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
655 (semantic-complete-inline-tag-engine)
656 (semantic-complete-inline-custom-type)
657 (semantic-complete-read-tag-analyzer):
658 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
659 (semantic-chart-database-size):
660 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
661 (semantic-analyze-current-context):
662 * cedet/semantic/symref/list.el (semantic-symref)
663 (semantic-symref-hide-buffer, semantic-symref-symbol):
664 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
665 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
666 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
667 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
668 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
669 (semantic-c-dereference-template):
670 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
671 (semantic--analyze-refs-full-lookup-with-parents)
672 (semantic--analyze-refs-full-lookup-simple):
673 * cedet/semantic/analyze/complete.el
674 (semantic-analyze-possible-completions):
675 * cedet/srecode/table.el (srecode-mode-table-new):
676 * cedet/srecode/srt.el (srecode-read-variable-name):
677 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
678 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
679 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
680 * cedet/srecode/map.el (srecode-current-map):
681 * cedet/srecode/insert.el (srecode-insert)
682 (srecode-insert-variable-secondname-handler, srecode-insert-method)
683 (srecode-template-inserter-point-override)
684 (srecode-insert-include-lookup):
685 * cedet/srecode/getset.el (srecode-auto-choose-class):
686 * cedet/srecode/extract.el (srecode-inserter-extract):
687 * cedet/srecode/document.el
688 (srecode-document-autocomment-return-last-alist)
689 (srecode-document-autocomment-param-type-alist)
690 (srecode-document-insert-function-comment)
691 (srecode-document-insert-variable-one-line-comment)
692 (srecode-document-function-name-comment):
693 * cedet/srecode/dictionary.el (srecode-create-dictionary)
694 (srecode-compound-toString):
695 * cedet/srecode/compile.el (srecode-flush-active-templates):
696 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
699 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
700 match-data. (Bug#4555).
702 * cedet/semantic/bovine/gcc.el
703 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
704 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
706 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
707 rather than parsing it as a regexp. This relaxes the layout
708 requirements and makes errors easier to detect.
709 (check-declare-verify): Check file is regular.
710 (check-declare-directory): Doc fix.
711 * subr.el (declare-function): Doc fix.
713 * ibuffer.el (ibuffer-format-qualifier):
714 * isearch.el (hi-lock-regexp-okay):
715 * calc/calc.el (math-zerop):
716 * mail/uce.el (rmail-msgbeg, rmail-msgend):
717 * term/w32-win.el (setup-default-fontset, set-fontset-font):
718 Remove unused declarations.
720 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
722 * cedet/semantic/wisent/javat-wy.el
723 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
725 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
727 * cedet/srecode/expandproto.el: Fix provide statement.
729 2009-09-30 Eric Ludlam <zappo@gnu.org>
731 * emacs-lisp/eieio.el (boolean-p): Delete.
733 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
735 * cedet/ede/srecode.el: Fix provide statement.
737 2009-09-30 Glenn Morris <rgm@gnu.org>
739 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
740 * cedet/ede/proj-aux.el (ede-aux-source):
741 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
743 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
744 (semantic-mrub-switch-tags): Fix doc typos.
746 * cedet/semantic/db-global.el (data-debug-new-buffer)
747 (data-debug-insert-thing): Remove unneeded declarations (one broken).
748 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
750 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
752 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
753 use of CL function `remove-if-not'.
755 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
757 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
758 filename is not a string.
760 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
762 * files.el (safe-local-eval-forms): Fix typo.
764 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
766 * vc-hooks.el (vc-dir-buffers): New var.
767 (vc-state-refresh): New function.
769 (vc-after-save): Always ask the backend to recompute the new state.
770 Always call vc-dir if necessary, using vc-dir-buffers.
771 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
773 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
774 (vc-dir-prepare-status-buffer, vc-dir-update)
775 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
776 Don't call expand-file-name on default-directory.
778 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
780 * speedbar.el (speedbar-item-delete):
781 * calc/calc-prog.el (calc-kbd-if):
782 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
784 * epa.el (epa-key-list-mode-map):
785 * hi-lock.el (hi-lock-menu): Fix typos in menus.
787 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
788 (hs-show-hook): Fix typo in docstring.
790 2009-09-29 Glenn Morris <rgm@gnu.org>
792 * cedet/semantic/symref/idutils.el:
793 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
795 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
797 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
798 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
799 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
800 Mark declarations not understood by check-declare.
802 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
803 file-name-nondirectory call preventing location of cedet files.
804 (check-declare-verify): Use literal search rather than re-search.
805 Add basic defmethod and defclass, and define-overloadable-function.
807 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
808 Use tramp-compat-file-attributes rather than nonexistent
809 tramp-compat-handle-file-attributes.
811 * Makefile.in (lisptagsfiles4): New.
812 (AUTOGENEL): Add cedet loaddefs files.
813 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
814 (update-elclist, compile-always, backup-compiled-files)
815 (bootstrap-clean): Add yet another directory level.
816 (update-elclist): Use LC_COLLATE rather than COLLATE.
817 (ELCFILES): Update, via `make update-elclist'.
819 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
821 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
822 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
823 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
825 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
827 * Makefile.in (lisptagsfiles3): Define.
828 (TAGS, TAGS-LISP): Use it.
829 (update-elclist): Add third directory level to look for elc files.
830 (compile-always): Likewise.
831 (backup-compiled-files): Likewise.
832 (bootstrap-clean): Likewise.
835 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
837 * Makefile.in (ELCFILES): Add CEDET files.
839 2009-09-28 Eric Ludlam <zappo@gnu.org>
841 CEDET (development tools) package merged.
845 * cedet/semantic/*.el:
846 * cedet/srecode/*.el: New files.
848 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
850 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
852 * net/tramp.el (top): Require tramp-imap.
854 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
855 Use `tramp-compat-handle-file-attributes'.
857 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
859 * net/tramp-imap.el: New package.
861 2009-09-28 Eric Ludlam <zappo@gnu.org>
863 * emacs-lisp/chart.el:
864 * emacs-lisp/eieio-base.el:
865 * emacs-lisp/eieio-comp.el:
866 * emacs-lisp/eieio-custom.el:
867 * emacs-lisp/eieio-datadebug.el:
868 * emacs-lisp/eieio-opt.el:
869 * emacs-lisp/eieio-speedbar.el:
870 * emacs-lisp/eieio.el: New files.
872 * cedet/cedet-cscope.el:
873 * cedet/cedet-files.el:
874 * cedet/cedet-global.el:
875 * cedet/cedet-idutils.el:
876 * cedet/data-debug.el:
877 * cedet/inversion.el:
878 * cedet/mode-local.el:
879 * cedet/pulse.el: New files.
881 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
883 * whitespace.el (whitespace-trailing-regexp)
884 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
887 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
889 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
892 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
895 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
896 define-overloadable-function.
898 * progmodes/autoconf.el: Provide autoconf as well, so that this
899 file can be `require'd.
901 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
903 * emacs-lisp/autoload.el (generated-autoload-feature)
904 (generated-autoload-load-name): New vars.
905 (autoload-rubric, autoload-generate-file-autoloads): Use them.
906 (make-autoload): Recognize define-overloadable-function and
907 defclass forms (for EIEIO).
909 * Makefile.in (update-subdirs): Exclude cedet directory.
911 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
913 * term/ns-win.el: Don't set the region face background. (Bug#4381)
915 * faces.el: Default light-background background for region face to
916 ns_selection_color under NS.
918 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
920 * net/imap-hash.el: New library, see NEWS.
922 * Makefile.in (ELCFILES): Add imap-hash.el.
924 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
926 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
927 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
928 * help-macro.el (make-help-screen): Avoid using an ambiguous function
929 definition where the docstring could be taken for the return value.
931 2009-09-26 Glenn Morris <rgm@gnu.org>
933 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
934 Add option to only show images below a certain size.
935 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
936 save-excursion calls.
938 2009-09-26 Eli Zaretskii <eliz@gnu.org>
940 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
941 subdirectories) and eieio.
943 2009-09-26 Alan Mackenzie <acm@muc.de>
945 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
948 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
949 character constants (as case labels).
951 2009-09-25 Juri Linkov <juri@jurta.org>
953 * files.el (safe-local-eval-forms): Allow time-stamp in
954 before-save-hook (Bug#4554).
956 2009-09-25 Drew Adams <drew.adams@oracle.com>
958 * menu-bar.el (list-buffers-directory): Doc fix.
960 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
962 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
963 Try and avoid copying twice the same paragraph.
964 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
965 Remove save-excursion.
966 (log-edit-changelog-entry): Do it here instead.
968 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
970 * bs.el (bs--get-file-name): Use `list-buffers-directory'
971 when available, instead of hardcoding mode names. Doc fix.
973 * menu-bar.el (list-buffers-directory): Add docstring.
974 Make automatically buffer-local.
976 * dired.el (dired-mode):
977 * files.el (cd-absolute):
978 * pcvs.el (cvs-temp-buffer):
979 * pcvs-util.el (cvs-get-buffer-create):
980 * shell.el (shell-mode):
981 * vc-dir.el (vc-dir-mode):
982 Don't make `list-buffers-directory' buffer local.
984 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
986 * comint.el (comint-exec, comint-run, make-comint):
987 Doc fixes (Bug#4542).
989 2009-09-25 Glenn Morris <rgm@gnu.org>
991 * mail/rmailmm.el (rmail-mime): New custom group.
992 Move all defcustoms in this file into this group.
993 (rmail-mime-media-type-handlers-alist): Revert previous change.
994 (rmail-mime-show-images): New option.
995 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
996 references to it, since it wasn't actually used for anything.
997 (rmail-mime-insert-image): New function.
998 (rmail-mime-image): Use rmail-mime-insert-image.
999 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
1000 obey the value of `rmail-mime-show-images' option. Print the size of
1003 2009-09-25 David Engster <deng@randomsample.de>
1005 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
1007 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1009 * whitespace.el: Does not highlight trailing spaces While point is
1010 at end of line. Does not highligt spaces at beginning of buffer
1011 while point is at beginning of buffer. Does not highlight spaces
1012 at end of buffer while point is at end of buffer. (Bug#4177)
1014 (whitespace-display-mappings): Adjust initialization.
1015 (whitespace-point, whitespace-font-lock-refontify): New vars.
1016 (whitespace-color-on, whitespace-color-off): Adjust code.
1017 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1018 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
1019 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
1021 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
1023 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
1025 * textmodes/sgml-mode.el: Remove xml-mode alias.
1027 * files.el (auto-mode-alist, conf-mode-maybe)
1028 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
1030 2009-09-24 Alan Mackenzie <acm@muc.de>
1032 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
1033 c-forward-conditionals, but it doesn't move point and doesn't set
1035 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
1036 (c-down-conditional-with-else, c-backward-conditional)
1037 (c-forward-conditional): Refactor to use c-scan-conditionals.
1039 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
1041 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
1042 (help-default-arg-highlight): Remove.
1043 (help-highlight-arg): New function.
1044 (help-do-arg-highlight): Use it.
1045 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
1047 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * term.el (term-set-scroll-region, term-handle-ansi-escape):
1050 Undo last change, which didn't fix the problem and introduced others.
1052 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
1054 * progmodes/gdb-mi.el: Don't require speedbar.
1055 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
1057 2009-09-24 Glenn Morris <rgm@gnu.org>
1059 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
1061 * term/ns-win.el (ns-reg-to-script): Define for compiler.
1063 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
1064 there is no newline after the final mime boundary. (Bug#4539)
1065 Move markers on insertion so that any buttons inserted don't end up in
1066 the next part of a multipart message.
1067 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
1068 (rmail-mime-bulk-handler): Optionally handle images.
1069 (rmail-mime-image): New button action.
1070 (rmail-mime-image-handler): New function.
1071 (rmail-mime-mode): New mode.
1072 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
1074 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
1076 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
1077 than just dropping elements from it (bug#4504).
1079 * term.el (term-set-scroll-region): Don't move cursor any more.
1080 (term-handle-ansi-escape): Call term-goto here instead.
1081 Suggested by Ivan Kanis <apple@kanis.eu>.
1083 * term.el: Require CL.
1084 (term-ansi-reset): New function.
1085 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
1086 (term-handle-colors-array): Simplify.
1088 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
1090 * allout.el (allout-overlay-interior-modification-handler)
1091 (allout-obtain-passphrase):
1092 * epa-file.el (epa-file-write-region):
1093 * ps-print.el (ps-begin-job):
1094 * vc-hooks.el (vc-toggle-read-only):
1095 * vc-rcs.el (vc-rcs-rollback):
1096 * vc-sccs.el (vc-sccs-rollback):
1097 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
1098 (vc-version-diff, vc-revert, vc-rollback):
1099 * wdired.el (wdired-check-kill-buffer):
1100 * emacs-lisp/authors.el (authors):
1101 * net/socks.el (socks-open-connection):
1102 * net/zeroconf.el (zeroconf-service-add-hook):
1103 * obsolete/vc-mcvs.el (vc-mcvs-register):
1104 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
1106 * progmodes/grep.el (lgrep, rgrep):
1107 * progmodes/idlw-help.el (idlwave-help-check-locations)
1108 (idlwave-help-html-link, idlwave-help-assistant-open-link):
1109 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1110 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
1111 (reftex-toc-rename-label): Fix typos in error messages.
1113 * dired-aux.el (dired-do-shell-command): Reflow docstring.
1114 (dired-copy-how-to-fn): Doc fix.
1115 (dired-files-attributes, dired-read-shell-command):
1116 Fix typos in docstrings.
1118 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
1119 (dired-x-find-file-other-window): Reflow docstrings.
1120 (dired-omit-marker-char, dired-read-shell-command)
1121 (dired-x-submit-report): Fix typos in docstrings.
1123 * shell.el (shell-mode-hook):
1124 * view.el (View-scroll-line-forward):
1125 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
1126 Fix typos in docstrings.
1128 * net/dig.el (dig-invoke): Fix typo in docstring.
1129 (query-dig): Reflow docstring.
1131 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
1132 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
1133 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
1134 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
1135 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
1136 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
1137 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
1138 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
1139 (idlwave-completion-map, idlwave-current-indent)
1140 (idlwave-custom-ampersand-surround, idlwave-customize)
1141 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
1142 (idlwave-define-abbrev, idlwave-determine-class-special)
1143 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
1144 (idlwave-end-block-reg, idlwave-end-of-statement)
1145 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
1146 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
1147 (idlwave-explicit-class-listed, idlwave-file-header)
1148 (idlwave-fill-paragraph, idlwave-find-class-definition)
1149 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
1150 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
1151 (idlwave-in-quote, idlwave-indent-action-table)
1152 (idlwave-indent-expand-table, idlwave-indent-line)
1153 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
1154 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
1155 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
1156 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
1157 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
1158 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
1159 (idlwave-outlawed-buffers, idlwave-popup-select)
1160 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
1161 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
1162 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
1163 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
1164 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
1165 (idlwave-statement-type, idlwave-struct-skip)
1166 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
1167 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
1168 (idlwave-what-module-find-class): Fix typos in docstrings.
1169 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
1170 (idlwave-calculate-cont-indent, idlwave-expand-equal)
1171 (idlwave-find-module, idlwave-find-structure-definition)
1172 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
1173 (idlwave-list-load-path-shadows, idlwave-next-statement)
1174 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
1175 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
1176 (idlwave-template): Reflow docstrings.
1178 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
1179 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
1180 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
1181 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
1182 (idlwave-shell-display-line, idlwave-shell-display-wframe)
1183 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
1184 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
1185 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
1186 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
1187 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
1188 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
1189 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
1190 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
1191 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
1192 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
1193 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
1194 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
1195 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
1196 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
1197 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
1198 Fix typos in docstrings.
1199 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
1200 (idlwave-shell-hide-output, idlwave-shell-mode)
1201 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
1204 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
1206 2009-09-24 Ivan Kanis <apple@kanis.eu>
1208 * term.el (term-bold-attribute): New var.
1209 (term-handle-colors-array): Use it.
1211 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
1213 * progmodes/gdb-mi.el (gdb-version): New variable.
1214 (gdb-non-stop-handler): Set gdb-version.
1215 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
1216 Condition "--thread" option on gdb-version.
1217 (gdb-invalidate-threads): Remove unused argument.
1219 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
1222 to looking-back to avoid ridiculous slow down in large files (bug#4511).
1224 2009-09-23 Glenn Morris <rgm@gnu.org>
1226 * mail/rmail.el (rmail-reply): Don't try to add a References header when
1227 replying to mail without References or Message-Id. (Bug#4525)
1229 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
1231 * term/ns-win.el (ns-reg-to-script): New variable.
1233 2009-09-23 Daiki Ueno <ueno@unixuser.org>
1235 * epg.el (epg-wait-for-status): Preserve existing 'error results.
1237 2009-09-22 Sam Steingold <sds@gnu.org>
1239 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
1240 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
1241 to 1 because hg returns status 1 when nothing is found.
1242 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
1244 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
1246 * textmodes/fill.el: Convert to utf-8 encoding.
1247 (fill-french-nobreak-p): Remove redundant » and « inherited from our
1250 * add-log.el (change-log-fill-forward-paragraph): New function.
1251 (change-log-mode): Use it so fill-region DTRT.
1252 Set fill-indent-according-to-mode here rather than in
1253 change-log-fill-paragraph.
1254 (change-log-fill-paragraph): Remove.
1256 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
1258 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
1259 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
1261 2009-09-22 Glenn Morris <rgm@gnu.org>
1263 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
1264 the scroll-bar scroll the calendar window rather than the buffer.
1266 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
1267 commands that move point (as opposed to scrolling).
1269 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
1271 * emacs-lisp/elint.el (elint): New custom group.
1272 (elint-log-buffer): Make it a defcustom.
1273 (elint-scan-preloaded, elint-ignored-warnings)
1274 (elint-directory-skip-re): New options.
1275 (elint-builtin-variables): Doc fix.
1276 (elint-preloaded-env): New variable.
1277 (elint-unknown-builtin-args): Add an entry for encode-time.
1278 (elint-extra-errors): Make it a variable rather than a constant.
1279 (elint-preloaded-skip-re): New constant.
1280 (elint-directory): Skip files matching elint-directory-skip-re.
1281 (elint-features): New variable, local to linted buffers.
1282 (elint-update-env): Initialize elint-features. Possibly add
1283 elint-preloaded-env to the buffer's environment.
1284 (elint-get-top-forms): Bind elint-current-pos, for log messages.
1286 (elint-init-form): New function, extracted from elint-init-env.
1287 Make non-list forms a warning rather than an error.
1288 Add the mode-map for define-derived-mode. Handle define-minor-mode,
1289 easy-menu-define, put that adds an error-condition, and provide.
1290 When requiring cl, also require cl-macs. Really require cl, to handle
1291 some cl macros. Store required libraries in the list elint-features,
1292 so as not to re-load them. Treat cc-require like require.
1293 (elint-init-env): Call elint-init-form to do the work.
1294 Handle eval-and-compile and such like.
1295 (elint-add-required-env): Do not clear messages.
1296 (elint-special-forms): Add handlers for function, defalias, if, when,
1298 (elint-form): Add optional argument to ignore elint-special-forms,
1299 useful to prevent recursive calls from handlers. Doc fix.
1300 Respect elint-ignored-warnings.
1301 (elint-form): Respect elint-ignored-warnings.
1302 (elint-bound-variable, elint-bound-function): New variables.
1303 (elint-unbound-variable): Respect elint-bound-variable.
1304 (elint-get-args): Respect elint-bound-function.
1305 (elint-check-cond-form): Add some simple handling for (f)boundp and
1307 (elint-check-defalias-form): New handler.
1308 (elint-check-let-form): Make an empty let a warning rather than an
1310 (elint-check-setq-form): Make an empty setq a warning rather than an
1311 error. Respect elint-ignored-warnings.
1312 (elint-check-defvar-form): Accept null doc-strings.
1313 (elint-check-conditional-form): New handler. Does some simple-minded
1314 checking of featurep and (f)boundp tests.
1315 (elint-put-function-args): New function.
1316 (elint-initialize): Use elint-scan-doc-file rather than
1317 elint-find-builtin-variables. Use elint-put-function-args.
1318 Possibly scan preloaded-file-list.
1319 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
1320 extend to handle functions as well.
1322 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
1324 * linum.el (linum-delete-overlays, linum-update-window):
1325 Do not modify the right margin. (Bug#3971)
1327 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
1329 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
1330 nxml-mode instead of xml-mode.
1332 2009-09-21 Kevin Ryde <user42@zip.com.au>
1334 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
1336 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1338 * net/dig.el (dig-mode): Use define-derived-mode.
1340 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
1342 * vc-dispatcher.el (vc-do-command): Return the process object in
1343 the asynchronous case. Use when instead of if. Do not run
1344 vc-exec-after to display a message if not enabled.
1346 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
1347 properties to the stash strings.
1348 (vc-git-stash-list): Return a list of strings.
1349 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
1350 (vc-git-stash-show-at-point): New functions.
1351 (vc-git-stash-map): New keymap.
1353 * register.el (ctl-x-r-map): Define the keys here instead of
1356 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
1358 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
1359 list, to workaround performance problem (bug#4485).
1361 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
1363 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
1365 2009-09-20 Daiki Ueno <ueno@unixuser.org>
1367 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
1368 Document that this option is not recommended to use.
1370 2009-09-19 Glenn Morris <rgm@gnu.org>
1372 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
1375 * calc/calc-alg.el (var):
1376 * calc/calcalg2.el (var): Define for compiler.
1378 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
1380 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
1383 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
1385 * time-stamp.el (time-stamp-month-dd-yyyy)
1386 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
1387 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
1388 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
1389 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
1390 Remove functions that have been obsolete since 1995 (Bug#4436).
1392 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
1393 indent buffer only if called interactively (Bug#4452).
1395 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
1396 Eli Zaretskii <eliz@gnu.org>
1398 This fixes bug#4197 (merged to bug#865, though not identical).
1399 * server.el (server-auth-dir): Add docstring note about FAT32.
1400 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
1401 but warn against using them.
1403 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
1405 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
1406 older GDB where there is no has_more field.
1408 2009-09-19 Glenn Morris <rgm@gnu.org>
1410 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
1412 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
1414 * files.el (auto-mode-alist): Change default for XML files to nXML
1417 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
1419 * server.el (server-ensure-safe-dir): Pass 'integer
1420 to `file-attributes', as suggested.
1422 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * dired-aux.el (dired-query-alist): Remove spurious backslash.
1425 (dired-query): Use read-key.
1427 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
1429 * cus-start.el (ns-use-qd-smoothing): Remove.
1431 2009-09-18 Glenn Morris <rgm@gnu.org>
1433 * allout.el (top-level): Remove unnecessary progn.
1435 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
1437 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
1438 definition of abbrev table.
1440 * speedbar.el (speedbar-track-mouse):
1441 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
1442 * net/eudc.el (eudc-expand-inline):
1443 * net/newst-backend.el (newsticker--cache-read-feed):
1444 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
1445 condition-case handlers.
1447 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
1449 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
1450 (gdb-var-list): Add an element for has_more field.
1451 (gdb-non-stop-handler): Enable pretty printing for STL containers.
1452 (gdb-var-create-handler, gdb-var-list-children-handler-1)
1453 (gdb-var-update-handler-1): Parse output of dynamic variable
1454 objects (STL containers).
1455 (gdb-var-delete-1): Pass var1 as an explicit second argument.
1456 (gdb-get-field): Delete alias. Use bindat-get-field directly.
1458 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
1460 (gud-speedbar-buttons): Make node expandable if expression "has more"
1463 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
1465 * startup.el (emacs-quick-startup): Remove variable and all uses.
1466 (command-line): Set `inhibit-x-resources' instead.
1467 (command-line-1): Use `inhibit-x-resources' instead.
1469 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
1471 * subr.el: Fix last change to avoid using the `unless' macro,
1472 which breaks bootstrapping.
1474 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
1477 extended definitions, in case we reload subr.el after having
1479 (eval-next-after-load): Mark as obsolete.
1481 2009-09-17 Juri Linkov <juri@jurta.org>
1483 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
1484 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
1485 (menu-bar-showhide-menu, menu-bar-tools-menu)
1486 (menu-bar-describe-menu, menu-bar-help-menu)
1487 (minibuffer-local-completion-map, minibuffer-local-map):
1490 2009-09-17 Glenn Morris <rgm@gnu.org>
1492 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
1493 arguments, whether or not it has a handler.
1495 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
1497 * simple.el (hard-newline): Give it a doc-string.
1499 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1500 (lisp-mode-syntax-table): Give them doc-strings.
1502 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
1504 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
1505 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
1506 (menu-bar-options-menu, menu-bar-showhide-menu)
1507 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1508 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1509 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
1510 (menu-bar-options-menu, menu-bar-tools-menu)
1511 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
1512 (menu-bar-help-menu):
1513 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
1516 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
1517 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
1518 calls for the menu names and :help.
1520 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1522 * mouse.el (minor-mode-menu-from-indicator): Pay attention
1523 to :minor-mode-function (bug#4455).
1525 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1527 * startup.el (command-line): Initialize the window-system after
1528 processing the command-line.
1530 * textmodes/page.el (what-page): Make sure we don't inf-loop if
1531 page-delimiter matches the empty string.
1533 2009-09-16 Glenn Morris <rgm@gnu.org>
1535 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
1536 byte-compile-not-obsolete-var. It's a list now.
1537 (byte-compile-not-obsolete-funcs): New variable.
1538 (byte-compile-warn-obsolete): Don't warn about functions if they are in
1539 byte-compile-not-obsolete-funcs.
1540 (byte-compile-variable-ref, byte-compile-defvar): Update for
1541 byte-compile-not-obsolete-vars name-change and list nature.
1542 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
1543 and variables behind (f)boundp tests.
1544 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
1546 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
1548 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
1550 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
1553 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
1556 2009-09-15 Stephen Eglen <stephen@gnu.org>
1558 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
1559 the virtual-buffers, use the name of the buffer specified by
1560 find-file-noselect, as the match may be a symlink. (This was a
1561 problem if the target and the symlink had different names.)
1563 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1565 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
1567 * desktop.el (desktop-path): Check user-emacs-directory.
1569 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
1571 * loadup.el: Use after-load-functions to GC after loading each file.
1572 Remove the explicit GC calls that used to be sprinkled around.
1574 * subr.el (after-load-functions): New hook.
1575 (do-after-load-evaluation): Run it. Use string-match-p to detect
1576 `obsolete' packages, rather than painfully extracting the relevant
1579 2009-09-15 Glenn Morris <rgm@gnu.org>
1581 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
1582 free variable `doc'.
1584 * dired.el (dired-mode-map): Add menu entry for async shell command.
1586 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
1587 variables, also consider the .elc files, since the .el files are
1588 normally gzipped (subsequent code locates the .el.gz from the .elc).
1590 * calc/calc-prog.el (arglist): Define for compiler.
1592 * calendar/diary-lib.el (diary-display-function): Change the default to
1594 (body): Define for compiler.
1596 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
1597 (byte-compile-file-form, byte-compile-lambda)
1598 (byte-compile-top-level-body, byte-compile-form)
1599 (byte-compile-variable-ref, byte-compile-setq)
1600 (byte-compile-setq-default, byte-compile-body)
1601 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
1602 (batch-byte-compile): Give some more local variables with common names
1603 a "bytecomp-" prefix to avoid masking warnings about free variables.
1605 * startup.el (command-line-1): Give local variables with common names a
1606 distinguishing prefix, so as not to hide free variable warnings during
1609 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
1610 clever and add a suffix to make a unique name, just let the user decide
1611 whether or not to overwrite it. If the input is a directory, write the
1612 default filename to that directory. (Bug#4388)
1613 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
1614 is a filename-as-a-directory.
1616 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * textmodes/page.el (what-page): Don't move to beginning of line.
1619 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
1621 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
1623 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
1625 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
1627 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
1628 * help.el (help-for-help-internal): Add purecopy calls for text.
1630 * vc.el (top): print-log method now takes an optional SHORTLOG
1631 argument. Add a new method: root.
1632 (vc-root-diff, vc-print-root-log): New functions.
1633 (vc-log-short-style): New variable.
1634 (vc-print-log-internal): Add support for showing short logs.
1636 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
1637 vc-print-root-log and vc-print-root-diff.
1639 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
1640 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
1641 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
1644 * vc-cvs.el (vc-cvs-print-log):
1645 * vc-mtn.el (vc-mtn-print-log):
1646 * vc-rcs.el (vc-rcs-print-log):
1647 * vc-sccs.el (vc-sccs-print-log):
1648 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
1649 that is ignored for now.
1651 * vc-mtn.el (vc-mtn-annotate-command):
1652 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
1654 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
1657 to function-key-map, and give them ascii-character property.
1658 * term/x-win.el (x-alternatives-map):
1659 * term/ns-win.el (ns-alternatives-map):
1660 * term/internal.el (msdos-key-remapping-map):
1661 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
1663 2009-09-14 Glenn Morris <rgm@gnu.org>
1665 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
1666 temp-buffers (2009-09-12).
1668 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1670 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
1671 the new read-key function.
1673 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
1675 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
1676 is defined (Bug#4405).
1678 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
1680 * recentf.el (recentf-cleanup): Use a hash table to find
1681 duplicates (Bug#4407).
1683 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
1685 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
1686 kp-0 to ascii equivalents (Bug#4325).
1688 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
1690 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
1692 * eshell/em-hist.el:
1693 * eshell/em-dirs.el (eshell-complete-user-reference):
1694 Declare pcomplete functions and variables to avoid compiler warnings.
1696 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
1698 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
1699 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
1700 * eshell/em-alias.el (eshell-aliases-file):
1701 * eshell/em-hist.el (eshell-history-file-name):
1702 Use expand-file-name instead of concat to make file names (Bug#4308).
1704 2009-09-13 Glenn Morris <rgm@gnu.org>
1706 * ediff-merg.el (ediff-do-merge):
1707 * filesets.el (filesets-run-cmd):
1708 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
1709 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
1710 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
1711 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
1712 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
1713 Replace empty `let's with `progn'.
1715 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * mail/sendmail.el (send-mail-function):
1718 * tooltip.el (tooltip-mode):
1719 * simple.el (transient-mark-mode):
1720 * rfn-eshadow.el (file-name-shadow-mode):
1721 * frame.el (blink-cursor-mode):
1722 * font-core.el (global-font-lock-mode):
1723 * files.el (temporary-file-directory)
1724 (small-temporary-file-directory, auto-save-file-name-transforms):
1725 * epa-hook.el (auto-encryption-mode):
1726 * composite.el (global-auto-composition-mode):
1727 Use custom-initialize-delay.
1728 * startup.el (command-line): Don't explicitly call
1729 custom-reevaluate-setting for all the above vars.
1730 * custom.el (custom-initialize-safe-set)
1731 (custom-initialize-safe-default): Delete.
1733 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1735 * term/x-win.el (x-initialize-window-system):
1736 * term/w32-win.el (w32-initialize-window-system):
1737 * term/ns-win.el (ns-initialize-window-system): Don't call
1738 mouse-wheel-mode since it's enabled globally by default already.
1740 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
1741 actually define the variable, but only silences the byte-compiler.
1742 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
1743 before looking it up.
1744 (mouse-wheel-scroll-amount): Also reset the bindings if this value
1747 2009-09-12 Glenn Morris <rgm@gnu.org>
1749 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
1751 (elint-add-required-env): Don't beep on error.
1752 (elint-forms): In case of error, return ENV unchanged.
1753 (elint-init-env): Skip non-list forms.
1754 (elint-log): Handle unknown file positions.
1756 2009-09-12 Daiki Ueno <ueno@unixuser.org>
1758 * epg.el (epg-make-context): Add autoload cookie.
1759 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
1760 (epg-decrypt-string, epg-start-verify, epg-verify-file)
1761 (epg-verify-string, epg-start-sign, epg-sign-file)
1762 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
1763 (epg-encrypt-string, epg-start-export-keys)
1764 (epg-export-keys-to-file, epg-export-keys-to-string)
1765 (epg-start-import-keys, epg-import-keys-from-file)
1766 (epg-import-keys-from-string, epg-start-receive-keys)
1767 (epg-receive-keys, epg-import-keys-from-server)
1768 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
1769 (epg-sign-keys, epg-start-generate-key)
1770 (epg-generate-key-from-file, epg-generate-key-from-string):
1771 Remove autoload cookie.
1773 2009-09-12 Eli Zaretskii <eliz@gnu.org>
1775 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
1776 reevaluation of trash-directory.
1778 * mwheel.el: Fix last change.
1779 (mouse-wheel-mode): New defvar.
1780 (mouse-wheel-mode): Remove autoload cookie.
1782 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * mwheel.el (mwheel-installed-bindings): New var.
1785 (mouse-wheel-mode): Use it, so as to make sure we really remove all
1786 the bindings we set last time. Use custom-initialize-delay.
1787 * loadup.el: Load mwheel after term/*-win.el.
1788 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
1789 and mouse-wheel-up-event now that their first evaluation is done
1790 sufficiently late to be correct.
1792 * startup.el (tutorial-directory): Make it a defcustom.
1793 Use custom-initialize-delay rather than eval-at-startup to set it.
1794 * image.el (image-load-path): Make it a defcustom.
1795 Use custom-initialize-delay rather than eval-at-startup to set it.
1796 * subr.el (eval-at-startup): Remove.
1797 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
1799 * subr.el (do-after-load-evaluation): Warn the user after loading an
1802 2009-09-12 Glenn Morris <rgm@gnu.org>
1804 * proced.el (proced-mark-alt): Remove alias.
1805 (proced-mode-map): Remove proced-mark-alt.
1807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
1808 Elint file and directory. Remove initialization entry.
1810 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
1812 (elint-current-buffer): Set mode-line-process.
1813 (elint-init-env): Handle define-derived-mode.
1814 Fix declare-function with unspecified arglist. Guard against odd
1815 defalias statements (eg iso-insert's 8859-1-map).
1816 (elint-add-required-env): Use a temp buffer.
1817 (elint-form): Just print the function/macro name, not the whole form.
1818 Return env unchanged if we fail to parse a macro.
1819 (elint-forms): Guard against parse errors.
1820 (elint-output): New function, to handle batch mode.
1821 (elint-log-message): Add optional argument. Use elint-output.
1822 (elint-set-mode-line): New function.
1824 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
1826 * emacs-lisp/elp.el (elp-not-profilable): Add more
1827 functions (Bug#4233).
1829 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
1831 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
1832 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
1834 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
1836 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
1837 (gdb-var-list-children): Use json parsing.
1839 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
1841 * progmodes/js.el (js--proper-indentation): Handle the case where
1842 char-before is null. Reported by Deniz Dogan.
1844 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
1846 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
1848 2009-09-11 Daiki Ueno <ueno@unixuser.org>
1850 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
1851 (epg-digest-algorithm-alist): Add SHA224.
1852 (epg-context-set-passphrase-callback)
1853 (epg-context-set-progress-callback): Add description about
1856 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * custom.el (custom-delayed-init-variables): New var.
1859 (custom-initialize-delay): New function.
1860 * startup.el (command-line): "Re"evaluate all vars in
1861 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
1862 explicitly any more.
1863 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
1864 to avoid creating a ~/.emacs.d at build-time (bug#4347).
1866 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
1868 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
1870 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
1871 (gdb-var-update-handler): Use json parsing.
1873 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
1875 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
1876 decode annotated text, regardless of language environment. (Bug#2741)
1878 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * Makefile.in (autoloads): Make rmail.el writable as well.
1882 2009-09-11 Glenn Morris <rgm@gnu.org>
1884 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
1886 * dired.el: Regenerate with extracted autoloads.
1887 * Makefile.in (autoloads): Make dired.el writable.
1889 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
1890 * ibuffer.el: Regenerate with extracted autoloads.
1891 * Makefile.in (autoloads): Make ibuffer.el writable.
1893 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
1894 * version.el (emacs-copyright, emacs-major-version)
1895 (emacs-minor-version): Reformat doc-strings for make-docfile.
1897 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
1898 functions and variables, since they must be stuff specific to some other
1900 (apropos-print): Make mouse-click message less specific about button.
1902 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
1903 that records where a macro was defined.
1904 * help-fns.el (describe-function-1): Mention if a function has a
1906 * help-mode.el (help-function-cmacro): New button.
1908 * locate.el (top-level): Always require dired.
1909 (locate-mode-map): Initialize inside the defvar.
1911 * net/ange-ftp.el (dired-compress-file): Declare.
1912 (ange-ftp-dired-compress-file): Add doc string.
1914 * term/ns-win.el (x-display-name, x-setup-function-keys):
1915 Unify doc-strings with X versions.
1917 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * emulation/crisp.el (crisp-mode-map): Move initialization
1921 (crisp-mode): Use define-minor-mode.
1923 * progmodes/xscheme.el (xscheme-evaluation-commands):
1924 Put a :advertised-binding property rather than using
1925 advertised-xscheme-send-previous-expression.
1926 (advertised-xscheme-send-previous-expression): Declare obsolete.
1927 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
1929 (crisp-mode): Add corresponding bindings to
1930 undo's :advertised-binding instead.
1931 * dired.el (dired-mode-map): Put a :advertised-binding property rather
1932 than using dired-advertised-find-file.
1933 (dired-advertised-find-file):
1934 * simple.el (advertised-undo):
1935 * wid-edit.el (advertised-widget-backward): Declare obsolete.
1936 (widget-keymap): Put a :advertised-binding property rather
1937 than using advertised-widget-backward.
1938 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
1939 than using advertised-undo.
1940 * tutorial.el (tutorial--default-keys): Adjust accordingly.
1942 2009-09-10 Simon South <ssouth@slowcomputing.org>
1944 * progmodes/delphi.el (delphi-tab): Indent region when Transient
1945 Mark mode is enabled and region is active; otherwise indent or
1946 insert TAB as usual.
1947 (delphi-mode): Update description of TAB-key binding.
1949 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * subr.el (define-key-rebound-commands): Mark obsolete.
1952 * startup.el (precompute-menubar-bindings): Remove.
1953 (normal-top-level): Remove obsolete code that tried to precompute
1955 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
1956 define-key-rebound-commands and precompute-menubar-bindings.
1958 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
1960 * net/imap.el (imap-interactive-login): Better messages.
1961 (imap-open): Fix bug with renamed buffer on reconnect.
1962 (imap-authenticate): Add buffer-local imap-last-authenticator variable
1963 for easier debugging and cleaner code. On successful (guessed based on
1964 server capabilities) secondary authentication, set imap-state
1966 (imap-last-authenticator): Define imap-last-authenticator as a variable
1969 2009-09-10 Glenn Morris <rgm@gnu.org>
1971 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
1973 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
1974 (byte-compile-file-form-autoload): Don't warn about unknown functions
1975 where the autoload statement comes after the use.
1976 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
1977 that any handlers inside the body (eg require) are in turn respected.
1979 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
1982 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
1983 and syntax and abbrev tables basic docs, if they don't have any.
1985 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
1987 * international/mule-cmds.el (top-level): Require cl when compiling.
1988 (view-hello-file): Use default-value rather than
1989 default-enable-multibyte-characters.
1991 * progmodes/fortran.el: Move all safe and risky properties into the
1994 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
1995 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
1997 Put autoloads in rmail.el rather than loaddefs.el.
1998 * mail/rmail.el: Regenerate with extracted autoloads.
2000 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
2001 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
2003 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
2005 Reported in thread for Bug#4375.
2006 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
2007 "-data-evaluate-expression" instead of print.
2008 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
2009 (gdb-tooltip-print): Parse output from above MI command.
2010 (gdb): Revert 2009-08-11 change. User should detach inferior
2013 Remove the word "separate" from IO functions as inferior
2014 output is now never displayed in the GUD buffer.
2016 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
2018 * startup.el (command-line-normalize-file-name): On Windows and
2019 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
2021 2009-09-10 Juri Linkov <juri@jurta.org>
2023 * isearch.el (isearch-text-char-description): Propertize escape
2024 character sequences with the `escape-glyph' face. (Bug#4344)
2026 * simple.el (shell-command): Set asynchronous process filter to
2027 `comint-output-filter'. (Bug#4343)
2029 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
2030 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
2031 the list. Move "asm" to the bottom.
2032 (grep-find-ignored-directories): Add `choice' with nil value
2033 to empty the list easily.
2034 (grep-find-ignored-files): New option.
2035 (grep-files-history): Set to nil by default instead of '("ch" "el").
2036 (grep-compute-defaults): Add "<X>" to `grep-template'.
2037 (grep-read-files): Bind new local variables `default-alias' and
2038 `default-extension'. Use a list of default values for the file prompt.
2039 (lgrep): Add `--exclude=' command line options composed from
2040 `grep-find-ignored-files'.
2041 (rgrep): Add `-name' command line options composed from
2042 `grep-find-ignored-files'. (Bug#4301)
2044 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
2049 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
2051 * calendar/time-date.el (autoload):
2052 Expand define-obsolete-function-alias into defalias and make-obsolete
2053 for old Emacsen that Gnus supports.
2054 (with-no-warnings): Define it for old Emacsen.
2055 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
2057 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
2058 float-time is available; suppress compile warning for time-to-seconds.
2060 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
2062 * net/imap.el (imap-message-map): Docstring fix.
2064 2009-09-09 Glenn Morris <rgm@gnu.org>
2066 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
2067 line numbers too. (Bug#4374)
2069 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * smerge-mode.el (smerge-remove-props, smerge-refine):
2072 Use with-silent-modifications (bug#4342).
2074 * subr.el (with-silent-modifications): New macro.
2076 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
2078 * files.el (top-level): Require `cl' when compiling.
2080 2009-09-07 Glenn Morris <rgm@gnu.org>
2082 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
2084 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
2085 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
2087 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
2089 * vc-git.el (vc-git-annotate-command): Use separator to parse
2090 arguments correctly.
2092 2009-09-06 Eli Zaretskii <eliz@gnu.org>
2094 * proced.el (proced-mode): Doc fix.
2096 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
2098 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
2100 (tramp-do-file-attributes-with-ls): Check for file existence at
2102 (tramp-do-file-attributes-with-stat): Likewise.
2103 (tramp-convert-file-attributes): Return nil when attr is nil.
2105 2009-09-05 Glenn Morris <rgm@gnu.org>
2107 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
2108 properties to this button.
2109 (diary-fancy-display): Don't extend the button to the final newline.
2110 (diary-fancy-display-mode): Continue to define "q" as a local key.
2112 * calendar/cal-china.el (holiday-chinese): Make it slightly more
2115 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
2117 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
2118 (byte-compile-dest-file-function): New option.
2119 (byte-compile-dest-file): Doc fix.
2120 Obey byte-compile-dest-file-function.
2121 (byte-compile-cl-file-p): New function.
2122 (byte-compile-eval): Only suppress noruntime warnings about cl functions
2123 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
2124 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
2125 than for file being previously loaded.
2126 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
2127 (byte-compile-file-form-require): Handle the case where requiring a file
2128 indirectly causes CL to be loaded.
2130 2009-09-05 Karl Fogel <kfogel@red-bean.com>
2132 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
2133 before killing the old buffer, since by the time `kill-buffer' is
2134 run so many buffer variables have been set to nil that it may not
2135 behave as expected. (Bug#4061)
2137 2009-09-05 Karl Fogel <kfogel@red-bean.com>
2139 * files.el (find-alternate-file): If the old buffer is modified
2140 and visiting a file, behave similarly to `kill-buffer' when
2141 killing it, thus reverting to the pre-1.878 behavior; see
2142 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
2143 for discussion. Also, consult `buffer-file-name' as a variable
2144 not as a function, for consistency with the rest of the code.
2146 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
2148 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
2149 also when adding a new directory.
2151 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
2154 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * files.el (locate-file-completion-table): Make it provide boundary
2157 information, so partial-completion works better.
2159 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
2161 * mail/footnote.el (Footnote-text-under-cursor):
2162 Check footnote-text-marker-alist before using it (bug#4324).
2164 2009-09-04 Glenn Morris <rgm@gnu.org>
2166 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
2167 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
2168 * play/solitaire.el, play/tetris.el:
2169 Remove leading * from defcustom and defface docs.
2171 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
2173 (diary-fancy-overriding-map): New variable.
2174 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
2177 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
2180 2009-09-03 Glenn Morris <rgm@gnu.org>
2182 * arc-mode.el (archive-mode):
2183 * dos-fns.el (set-default-process-coding-system):
2184 * man.el (Man-getpage-in-background):
2185 * menu-bar.el (menu-bar-describe-menu):
2186 * server.el (server-process-filter):
2187 * startup.el (command-line):
2188 * tar-mode.el (tar-header-block-tokenize, tar-extract):
2189 * w32-fns.el (set-default-process-coding-system):
2190 * x-dnd.el (x-dnd-handle-file-name):
2191 * international/mule-cmds.el (mule-menu-keymap)
2192 (set-default-coding-systems, language-info-alist, set-language-info)
2193 (set-language-environment, standard-display-european-internal)
2194 (set-locale-environment):
2195 * international/mule-diag.el (mule-diag):
2196 * mail/emacsbug.el (report-emacs-bug):
2197 * mail/rmail.el (rmail-mode):
2198 * mail/sendmail.el (mail-setup):
2199 Use default-value rather than default-enable-multibyte-characters.
2201 * progmodes/f90.el: Move all safe properties into the defcustoms.
2202 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
2204 * calendar/appt.el (appt-check):
2205 * calendar/diary-lib.el (diary-set-header, diary-live-p)
2206 (diary-check-diary-file, diary-list-entries)
2207 (diary-include-other-diary-files, diary-simple-display)
2208 (diary-fancy-display, diary-print-entries)
2209 (diary-mark-included-diary-files, diary-make-entry):
2210 Don't call substitute-in-file-name on diary-file.
2212 2009-09-03 Eduard Wiebe <usenet@pusto.de>
2213 Stefan Monnier <monnier@iro.umontreal.ca>
2215 * mail/footnote.el (footnote-prefix): Make it a defcustom.
2216 (footnote-mode-map): Move initialization into the declaration.
2217 (footnote-minor-mode-map): Define it rather than changing global-map.
2218 (footnote-mode): Use define-minor-mode.
2220 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
2222 * net/tramp.el (tramp-handle-file-attributes-with-ls)
2223 (tramp-do-file-attributes-with-perl)
2224 (tramp-do-file-attributes-with-stat): Rename from
2225 `tramp-handle-file-attributes-with-*'.
2226 (tramp-handle-file-attributes): Use them.
2227 (tramp-do-directory-files-and-attributes-with-perl)
2228 (tramp-do-directory-files-and-attributes-with-stat): Rename from
2229 `tramp-handle-directory-files-and-attributes-with-*'.
2230 (tramp-handle-directory-files-and-attributes): Use them.
2231 (tramp-method-out-of-band-p): Additional parameter SIZE.
2232 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
2233 (tramp-handle-write-region): Use it.
2234 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
2235 (tramp-handle-vc-registered): Check, whether the first run did
2236 return files to be tested.
2237 (tramp-advice-make-auto-save-file-name): Do not call directly
2238 `tramp-handle-make-auto-save-file-name', because this would bypass
2239 the locking mechanism.
2241 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
2242 (file-remote-p, process-file, start-file-process, set-file-times)
2243 (tramp-compat-file-attributes): Compatibility functions shall not
2244 call directly `tramp-handle-*', because this would bypass the
2246 (tramp-compat-number-sequence): New defun.
2248 2009-09-02 Glenn Morris <rgm@gnu.org>
2250 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
2251 alias for float-time.
2252 (time-to-number-of-days): In Emacs, use float-time.
2253 * net/newst-backend.el (time-add): Suppress warnings from compat
2255 * time.el (emacs-uptime, emacs-init-time):
2256 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
2257 Use float-time rather than time-to-seconds.
2259 * minibuffer.el (completion-initials-expand): Fix typo.
2261 * faces.el (modeline, modeline-inactive, modeline-highlight)
2262 (modeline-buffer-id):
2263 * info.el (info-menu-5): Mark these face aliases as obsolete.
2265 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
2267 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
2269 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
2270 no "--thread" option.
2271 (gdb-stopped): Don't print "Switched to thread" message when it is
2274 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2276 * minibuffer.el (completion-try-completion)
2277 (completion-all-completions): Remove ill-defined (and
2278 mistakenly installed and luckily never used nor documented)
2279 `completion-styles' property.
2280 (completion-initials-expand, completion-initials-all-completions)
2281 (completion-initials-try-completion): New functions.
2282 (completion-styles-alist): Add doc to each entry.
2283 Add new `initials' entry.
2285 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
2287 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
2288 MI command -var-evaluate-expression.
2289 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
2290 and tweak for case of string child.
2291 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
2293 2009-09-01 Glenn Morris <rgm@gnu.org>
2295 * add-log.el (change-log-date-face, change-log-name-face)
2296 (change-log-email-face, change-log-file-face, change-log-list-face)
2297 (change-log-conditionals-face, change-log-function-face)
2298 (change-log-acknowledgement-face):
2299 * cus-edit.el (custom-invalid-face, custom-rogue-face)
2300 (custom-modified-face, custom-set-face, custom-changed-face)
2301 (custom-saved-face, custom-button-face, custom-button-pressed-face)
2302 (custom-documentation-face, custom-state-face, custom-comment-face)
2303 (custom-comment-tag-face, custom-variable-tag-face)
2304 (custom-variable-button-face, custom-face-tag-face)
2305 (custom-group-tag-face-1, custom-group-tag-face):
2306 * diff-mode.el (diff-header-face, diff-file-header-face)
2307 (diff-index-face, diff-hunk-header-face, diff-removed-face)
2308 (diff-added-face, diff-changed-face, diff-function-face)
2309 (diff-context-face, diff-nonexistent-face):
2310 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
2311 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
2312 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
2313 (Info-title-4-face):
2314 * isearch.el (isearch-lazy-highlight-face):
2315 * log-view.el (log-view-file-face, log-view-message-face):
2316 * paren.el (show-paren-match-face, show-paren-mismatch-face):
2317 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
2318 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
2320 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2321 (smerge-base-face, smerge-markers-face):
2322 * wid-edit.el (widget-documentation-face, widget-button-face)
2323 (widget-field-face, widget-single-line-field-face)
2324 (widget-inactive-face, widget-button-pressed-face):
2325 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
2326 (woman-addition-face):
2327 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
2328 (eshell-ls-executable-face, eshell-ls-readonly-face)
2329 (eshell-ls-unreadable-face, eshell-ls-special-face)
2330 (eshell-ls-missing-face, eshell-ls-archive-face)
2331 (eshell-ls-backup-face, eshell-ls-product-face)
2332 (eshell-ls-clutter-face):
2333 * eshell/em-prompt.el (eshell-prompt-face):
2334 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
2335 * obsolete/old-whitespace.el (whitespace-highlight-face):
2336 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
2337 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
2338 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
2339 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
2340 (antlr-font-lock-literal-face):
2341 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
2342 (ebrowse-root-class-face, ebrowse-file-name-face)
2343 (ebrowse-default-face, ebrowse-member-attribute-face)
2344 (ebrowse-member-class-face, ebrowse-progress-face):
2345 * progmodes/make-mode.el (makefile-space-face):
2346 * progmodes/sh-script.el (sh-heredoc-face):
2347 * textmodes/flyspell.el (flyspell-incorrect-face)
2348 (flyspell-duplicate-face):
2349 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
2350 * textmodes/texinfo.el (texinfo-heading-face):
2351 Mark face aliases with "-face" suffix as obsolete.
2353 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
2356 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
2357 (eudc-bob-sound-menu): Use defvar rather than defconst, since
2358 easy-menu-define wants to modify these.
2360 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
2362 * net/browse-url.el (browse-url-file-url):
2363 * term/internal.el (dos-codepage-setup):
2364 Use default-value rather than default-enable-multibyte-characters.
2366 * progmodes/etags.el (etags-goto-tag-location):
2367 * progmodes/flymake.el (flymake-highlight-line)
2368 (flymake-goto-file-and-line, flymake-goto-line):
2369 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
2370 (gdb-goto-breakpoint):
2371 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
2372 * progmodes/python.el (python-find-function)
2373 (python-pdbtrack-track-stack-file):
2374 * progmodes/verilog-mode.el (verilog-surelint-off):
2375 * term/ns-win.el (ns-open-file-select-line):
2376 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2377 Use forward-line rather than goto-line.
2379 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
2380 * textmodes/reftex-index.el (reftex-display-index):
2381 * textmodes/reftex-ref.el (reftex-offer-label-menu):
2382 * textmodes/reftex-toc.el (reftex-toc):
2383 Remove unnecessary bindings of default-major-mode (all are followed by
2384 major-mode check and possible mode switch).
2386 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
2388 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2389 Handle watchpoints (bug#4282).
2390 (def-gdb-thread-buffer-command): Enable thread to be selected by
2391 clicking without selecting threads buffer first.
2392 (gdb-current-context-command): Use selected frame so that "up",
2393 "down" etc work in the GUD buffer.
2394 (gdb-update): Find selected frame before rendering stack buffer.
2395 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
2397 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2399 * progmodes/sym-comp.el (displayed-completions): Remove.
2400 (symbol-complete): Use minibuffer-complete.
2402 2009-08-31 Glenn Morris <rgm@gnu.org>
2404 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
2406 * apropos.el (apropos-symbols-internal):
2407 Handle (obsolete) face aliases.
2409 * faces.el (describe-face): Adjust the output format to be more like
2410 describe-variable, and to mention (obsolete) face aliases.
2411 Adjust the whitespace so that help-setup-xref works.
2413 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
2414 * calendar/diary-lib.el (diary-button-face):
2415 Mark these face aliases as obsolete.
2417 * calendar/calendar.el (calendar-today): Doc fix.
2419 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
2421 * progmodes/gdb-mi.el (gdb-control-all-threads)
2422 (gdb-control-current-thread): Force tool bar update.
2423 (gdb-non-stop-handler): New function.
2424 (gdb-init-1): Use it to test if non-stop mode is supported.
2425 Remove unused gdbmi buffer type.
2427 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2429 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
2430 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
2432 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
2434 * comint.el (comint-exec-1): Check command is non-null first.
2435 Part of gdb-mi.el change (2009-08-28).
2437 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2439 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
2441 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
2443 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
2444 instead of `dolist' to avoid a recursive require when bootstrapping.
2446 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
2450 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
2452 * net/imap.el (imap-send-command): Simplify.
2453 (imap-wait-for-tag): point-max -> buffer-size.
2455 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
2457 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
2458 with constant argument.
2460 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
2462 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
2464 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
2465 Change default, since most of our files don't have a history.
2466 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
2469 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2472 * calc/calc.el: Improve commenting convention.
2473 (calc-digit-map, toplevel): Simplify.
2475 * comint.el (comint-insert-input): Be careful to only set point if we
2476 don't delegate to some other command.
2478 * proced.el (proced-signal-list): Make it an alist.
2479 (proced-grammar-alist): Capitalize names.
2480 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
2481 Disable undo manually and make it read-only.
2482 Use completion-annotate-function.
2484 * minibuffer.el (minibuffer-message): If the current buffer is not
2485 a minibuffer, insert the message in the echo area rather than at the
2487 (completion-annotate-function): New variable.
2488 (minibuffer-completion-help): Use it.
2489 (completion--embedded-envvar-table): Environment vars are
2490 always case-sensitive.
2492 2009-08-30 Glenn Morris <rgm@gnu.org>
2494 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
2495 from fortran-current-defun.
2496 (fortran-beginning-of-subprogram): Be more precise about finding the
2497 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
2498 (fortran-end-of-subprogram): Simplify.
2499 (fortran-current-defun): Use fortran-start-prog-re.
2501 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
2503 * subr.el (do-after-load-evaluation): Simplify.
2505 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2507 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
2509 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
2510 (vc-rcs-print-log): Use it.
2512 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
2514 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * paths.el (abbrev-file-name): Move to abbrev.el.
2517 * abbrev.el (abbrev-file-name): Move from paths.el.
2518 Obey user-emacs-directory.
2519 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
2520 user-emacs-directory.
2521 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
2522 abbrev-file-name and calc-settings-file any more.
2523 * startup.el (command-line): Recompute abbrev-file-name and
2524 abbreviated-home-dir.
2525 (normal-no-mouse-startup-screen): Improve the generic code and get rid
2526 of the special code for when C-h bindings haven't been changed.
2527 (display-startup-echo-area-message): Use with-current-buffer.
2528 (command-line-1): Use a list of strings, rather than a list of lists
2529 of strings for longopts.
2531 * files.el (get-free-disk-space): Use / for default-directory.
2533 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
2534 Use with-current-buffer.
2536 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
2537 Recognize immutable variables like most-positive-fixnum.
2538 (byte-compile-setq-default): Check and warn if trying to assign
2539 to an immutable variable, or a non-variable.
2541 * progmodes/cc-vars.el (c-comment-continuation-stars):
2542 * progmodes/cc-engine.el (c-looking-at-bos):
2543 * progmodes/cc-cmds.el (c-toggle-auto-state)
2544 (c-forward-into-nomenclature, c-backward-into-nomenclature)
2545 (c-comment-line-break-function): Add version of obsolescence.
2547 2009-08-28 Juri Linkov <juri@jurta.org>
2549 * files.el (magic-fallback-mode-alist): Add ZIP magic number
2550 associated with `archive-mode'.
2552 * image.el (image-type-header-regexps): Use only JPEG magic number
2553 to determine JPEG images, and don't use `image-jpeg-p' because
2554 Emacs can display non-JFIF non-Exif JPEG images.
2556 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
2558 * arc-mode.el (archive-mode):
2559 * emacs-lisp/re-builder.el (re-builder-unload-function):
2560 Protect against the default value of `major-mode' being nil.
2562 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
2564 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
2565 Fix typos in docstrings.
2567 * progmodes/js.el (js--macro-decl-re): Doc fix.
2568 (js--plain-method-re, js--split-name): Refloc docstring.
2569 (js--class-styles, js--make-merged-item, js--splice-into-items):
2570 Fix typos in docstrings; reflow docstrings.
2571 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
2572 (js--variable-decl-matcher, js--inside-pitem-p)
2573 (js--parse-state-at-point, js--get-all-known-symbols)
2574 (js--symbol-history, js-find-symbol, js--js-references)
2575 (js--moz-interactor, js--js-encode-value, js--read-tab):
2576 Fix typos in docstrings.
2578 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2580 * textmodes/reftex.el (reftex-get-file-buffer-force):
2581 * progmodes/verilog-mode.el (verilog-batch-execute-func):
2582 * emulation/viper.el (viper-go-away, viper-set-hooks):
2583 * emacs-lisp/re-builder.el (re-builder-unload-function):
2584 * emacs-lisp/bytecomp.el (byte-compile-file):
2585 * ses.el (ses-unload-function):
2586 * hexl.el (hexl-find-file):
2587 * files.el (normal-mode):
2588 * ehelp.el (with-electric-help):
2589 * autoinsert.el (auto-insert-alist):
2590 * arc-mode.el (archive-mode):
2591 Use (default-value 'major-mode) instead of default-major-mode.
2593 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
2594 * international/mule.el (load-with-code-conversion):
2595 * emacs-lisp/debug.el (debug):
2596 * ediff-vers.el (ediff-rcs-get-output-buffer):
2597 * dired.el (dired-internal-noselect): Don't let-bind
2598 default-major-mode around code that doesn't use it.
2599 E.g. buffer creation via get-buffer-create doesn't use it.
2601 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
2603 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
2604 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
2605 when writing the temp file. Otherwise, epa-file gets confused.
2606 (tramp-register-file-name-handlers): Make it a defun. Move also
2607 `epa-file-handler' to the front of `file-name-handler-alist'.
2609 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2611 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
2612 start right after a ^M.
2613 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
2614 (tramp-completion-file-name-regexp-separate)
2615 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
2616 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
2617 Don't modify last-coding-system-used by accident.
2618 (tramp-completion-file-name-handler): Apply the checks here,
2619 instead during registration.
2620 (tramp-register-file-name-handlers) Renamed from
2621 `tramp-register-file-name-handler'. Register both
2622 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
2623 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
2625 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
2627 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
2629 (gdb-init-1, gdb-display-separate-io-buffer)
2630 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
2632 (gdb-inferior-io-mode): Use make-comint-in-buffer.
2633 (gdb-inferior-filter): Use comint-output-filter to stop
2634 echoing and remove ^M characters.
2636 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * emulation/viper-init.el (viper-restore-cursor-type):
2639 * emulation/cua-base.el (cua--update-indications):
2640 Replace default-cursor-type with (default-value 'cursor-type).
2642 * mail/sendmail.el (mail-recover-1):
2643 * international/mule-diag.el (describe-current-coding-system-briefly)
2644 (describe-current-coding-system):
2645 * international/mule-cmds.el (select-safe-coding-system)
2646 (select-message-coding-system)
2647 (set-language-environment-coding-systems, set-locale-environment):
2648 * hexl.el (hexl-insert-multibyte-char):
2649 * dos-w32.el (find-buffer-file-type-coding-system):
2650 * simple.el (what-cursor-position):
2651 Replace uses of default-buffer-file-coding-system
2652 with (default-value 'buffer-file-coding-system).
2654 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
2655 Replace uses of default-cursor-in-non-selected-windows
2656 with (default-value 'cursor-in-non-selected-windows).
2657 Use with-current-buffer.
2659 * mail/feedmail.el: Use CL macros.
2660 (feedmail-run-the-queue, feedmail-send-it-immediately):
2661 * dos-w32.el (find-buffer-file-type): Replace uses of
2662 default-buffer-file-type with (default-value 'buffer-file-type).
2664 2009-08-28 Glenn Morris <rgm@gnu.org>
2666 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
2667 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
2668 Use default-value of major-mode rather than default-major-mode.
2670 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2672 * Makefile.in (update-elcfiles): Report left over elc files.
2674 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
2675 expand-file-name and with-current-buffer.
2676 (mail-get-names, mail-directory): Use with-current-buffer.
2678 * vc.el (vc-read-revision): New function.
2679 (vc-version-diff, vc-merge): Use it.
2681 2009-08-27 Sam Steingold <sds@gnu.org>
2683 * simple.el (kill-do-not-save-duplicates): New user option.
2684 (kill-new): When it is non-nil, and the new string is the same as
2685 the latest kill, set replace to t to avoid duplicates in kill-ring.
2687 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
2689 * net/tramp.el (tramp-handle-process-file): Do not flush all
2690 caches when `process-file-side-effects' is set.
2691 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
2692 instead of `tramp-find-file-exists-command'.
2693 Unset `process-file-side-effects'.
2695 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
2697 * net/tramp.el (tramp-methods): New method "rsyncc".
2698 (top): Add completion function for "rsyncc".
2699 (tramp-message-show-message): New defvar.
2700 (tramp-message, tramp-error): Use it.
2701 (tramp-do-copy-or-rename-file-directly): Extend check for direct
2703 (tramp-do-copy-or-rename-file-out-of-band): Handle new
2704 `tramp-methods' entry `copy-env' of "rsyncc".
2705 (tramp-vc-registered-read-file-names): New defconst.
2706 (tramp-vc-registered-file-names): New defvar.
2707 (tramp-handle-vc-registered): Implement optimization strategy.
2708 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
2709 (tramp-vc-file-name-handler): New defun.
2710 (tramp-get-ls-command, tramp-get-test-command)
2711 (tramp-get-file-exists-command, tramp-get-remote-ln)
2712 (tramp-get-remote-perl, tramp-get-remote-stat)
2713 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
2715 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
2716 (tramp-cache-inhibit-cache): Extend doc string. It allows also
2718 (tramp-get-file-property): Check for timestamps in
2719 `tramp-cache-inhibit-cache'.
2720 (tramp-set-file-property): Write timestamp.
2722 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2724 * language/japan-util.el (japanese-symbol-table): Add entries for
2727 * international/characters.el: Add category `j' to cp932-2-byte.
2729 2009-08-27 Kenichi Handa <handa@m17n.org>
2731 * international/fontset.el (build-default-fontset-data): New macro.
2732 (setup-default-fontset): Use build-default-fontset-data for CJK,
2733 tibetan, ethiopic, and ipa.
2735 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2737 * cus-start.el (default-major-mode): Customize `major-mode' instead.
2738 (enable-multibyte-characters): Not customizable any more.
2740 * subr.el (default-mode-line-format, default-header-line-format)
2741 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
2742 (default-direction-reversed, default-truncate-lines)
2743 (default-left-margin, default-tab-width, default-case-fold-search)
2744 (default-left-margin-width, default-right-margin-width)
2745 (default-left-fringe-width, default-right-fringe-width)
2746 (default-fringes-outside-margins, default-scroll-bar-width)
2747 (default-vertical-scroll-bar, default-indicate-empty-lines)
2748 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
2749 (default-fringe-cursor-alist, default-scroll-up-aggressively)
2750 (default-scroll-down-aggressively, default-fill-column)
2751 (default-cursor-type, default-buffer-file-type)
2752 (default-cursor-in-non-selected-windows)
2753 (default-buffer-file-coding-system, default-major-mode)
2754 (default-enable-multibyte-characters): Mark as obsolete.
2756 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
2758 * vc-dir.el (vc-dir-update): Remove debug helper.
2760 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
2762 2009-08-26 Sam Steingold <sds@gnu.org>
2764 * simple.el (save-interprogram-paste-before-kill): New user option.
2765 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
2766 save the interprogram-paste into kill-ring before overriding it
2767 with the Emacs kill.
2769 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
2771 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
2772 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
2773 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
2774 and move to vc-rcs.el.
2775 (vc-default-next-revision): Rename to vc-rcs-next-revision and
2777 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
2778 (vc-rcs-update-changelog): Remove.
2779 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
2780 and move to vc-rcs.el.
2782 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
2783 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
2785 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
2786 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
2787 vc.el, renamed to be RCS specific.
2789 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
2791 (vc-cvs-update-changelog): Move here from vc.el.
2793 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
2796 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
2798 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
2800 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
2802 * vc-git.el (vc-git-register): Use "git add" for directories.
2803 (vc-git-stash, vc-git-stash-show): New functions.
2804 (vc-git-extra-menu-map): Bind them.
2806 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
2807 directory correctly in case the item is a directory itself.
2809 * vc.el: Document the desired behavior for reverted files in the
2811 (vc-default-prettify-state-info): Remove function, unused.
2813 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
2815 2009-08-26 Glenn Morris <rgm@gnu.org>
2817 * bindings.el (standard-mode-line-format): Reposition dashes in
2818 which-func entry. (Bug#4217)
2820 * files.el (enable-local-variables, enable-local-eval)
2821 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
2823 (auto-mode-alist, ignored-local-variables)
2824 (save-some-buffers-action-alist): Move risky declarations to the
2826 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
2827 (font-lock-defaults, format-alist, imenu--index-alist)
2828 (imenu-generic-expression, input-method-alist, minor-mode-alist)
2829 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
2830 (mode-line-modified, mode-line-mule-info, mode-line-position)
2831 (mode-line-process, mode-line-remote, outline-level)
2832 (parse-time-rules, rmail-output-file-alist)
2833 (special-display-buffer-names, vc-mode):
2834 Move risky declarations to the relevant files.
2835 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
2836 (mode-line-modified, mode-line-process, mode-line-position)
2837 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
2838 * font-core.el (font-lock-defaults):
2839 * format.el (format-alist):
2840 * vc-hooks.el (vc-mode):
2841 * window.el (special-display-buffer-names):
2842 * international/mule-cmds.el (input-method-alist):
2843 Define riskiness here (dumped file) rather than in files.el.
2844 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
2845 * imenu.el (imenu-generic-expression, imenu--index-alist):
2846 * outline.el (outline-level):
2847 * time.el (display-time-string):
2848 * calendar/parse-time.el (parse-time-rules):
2849 * mail/rmailout.el (rmail-output-file-alist):
2850 Autoload riskiness here, rather than placing in files.el.
2852 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
2854 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
2856 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
2858 * simple.el (process-file-side-effects): New defvar.
2860 * dired-aux.el (dired-show-file-type):
2861 * vc.el (vc-diff-internal):
2862 * vc-arch.el (vc-arch-diff):
2863 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
2864 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
2865 * vc-git.el (vc-git-registered, vc-git-working-revision)
2866 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
2867 (vc-git--empty-db-p):
2868 * vc-hooks.el (vc-user-login-name):
2869 * vc-svn.el (vc-svn-registered, vc-svn-state)
2870 (vc-svn-dir-extra-headers, vc-svn-find-revision):
2871 * progmodes/grep.el (grep-probe): Let-bind
2872 `process-file-side-effects' with nil.
2874 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
2876 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
2877 daemon. Replace ping by checking for running service for bluez
2878 and zeroconf. (Bug#4239)
2880 2009-08-25 Kevin Ryde <user42@zip.com.au>
2882 * net/dig.el (dig): Add autoload cookie.
2884 2009-08-25 Glenn Morris <rgm@gnu.org>
2886 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
2887 load-history for absolute file-names.
2888 (byte-compile-file-form-require): Warn about use of the cl package.
2890 * format.el (format-alist): Doc fix.
2892 * play/bubbles.el (top-level): Don't require cl at run-time.
2894 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
2897 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
2899 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
2901 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
2903 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
2905 * calc/calc-alg.el (math-trig-rewrite)
2906 (math-hyperbolic-trig-rewrite): New functions.
2907 (calc-simplify): Simplify trig functions when asked.
2909 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2911 * diff-mode.el (diff-find-source-location): Avoid goto-line.
2913 2009-08-24 Kenichi Handa <handa@m17n.org>
2915 * language/ind-util.el (mapthread): Delete it.
2916 (combinatorial): New function.
2917 (indian--puthash-cv): Use combinatorial instead of mapthread.
2919 2009-08-22 Kevin Ryde <user42@zip.com.au>
2921 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
2922 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
2923 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
2924 Clarify docstring that the value is strings not symbols.
2925 (checkdoc-list-of-strings-p): New function.
2927 2009-08-22 Glenn Morris <rgm@gnu.org>
2929 * files.el (auto-mode-alist):
2930 * hippie-exp.el (he-concat-directory-file-name):
2931 * lpr.el (lpr-windows-system, printer-name):
2932 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
2933 * ps-print.el (ps-windows-system):
2934 * startup.el (command-line):
2935 * emulation/viper-ex.el (viper-glob-function):
2936 * international/mule-cmds.el (set-language-environment-coding-systems):
2937 * net/ange-ftp.el (ange-ftp-write-region):
2938 * obsolete/fast-lock.el (fast-lock-cache-name):
2939 Remove code for defunct system-types emx, macos, mswindows, next-mach,
2940 unisoft-unix, vax-vms, win32, w32.
2942 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
2943 given name if the pattern is not more specific.
2945 * calendar/lunar.el (lunar-phase-names): New option.
2946 (lunar-phase): Doc fix.
2947 (lunar-cycles-per-year): New constant.
2948 (lunar-index): New function.
2949 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
2950 (lunar-phase-name): Use lunar-phase-names.
2951 (calendar-lunar-phases): Use format.
2952 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
2954 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
2955 Copy imenu-example--name-and-position function here for own use.
2956 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
2958 * bs.el (bs--redisplay):
2959 * cus-edit.el (custom-redraw):
2960 * ibuffer.el (ibuffer-bury-buffer):
2961 * server.el (server-goto-line-column):
2962 * startup.el (command-line-1):
2963 * strokes.el (strokes-xpm-for-stroke):
2964 * term.el (term-display-buffer-line):
2965 * view.el (View-goto-line):
2966 * calc/calc.el (calc-do, calc-trail-buffer):
2967 * play/gamegrid.el (gamegrid-add-score-insecure):
2968 * progmodes/ada-mode.el (ada-compile-goto-error):
2969 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
2970 (ebrowse-select-1st-to-9nth):
2971 * progmodes/cperl-mode.el (cperl-time-fontification):
2972 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
2973 * progmodes/gud.el (gud-display-line):
2974 (idlwave-shell-display-line):
2975 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
2976 * progmodes/make-mode.el (makefile-browser-toggle):
2977 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
2978 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
2979 * textmodes/picture.el (picture-draw-rectangle):
2980 * textmodes/reftex-index.el (reftex-index-goto-letter):
2981 (reftex-select-jump-to-previous):
2982 * textmodes/reftex-sel.el (reftex-find-start-point)
2983 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
2984 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
2985 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
2986 * textmodes/tex-mode.el (tex-compilation-parse-errors):
2987 * textmodes/two-column.el (2C-associated-buffer):
2988 Use forward-line rather than goto-line.
2990 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
2993 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
2994 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
2995 (quick-check-list-to-regexp): Declare.
2997 * progmodes/make-mode.el (makefile-browser-insert-selection):
2998 Use goto-char rather than goto-line.
3000 * progmodes/prolog.el (compilation-error-regexp-alist)
3001 (compilation-forget-errors): Declare.
3003 2009-08-22 Juri Linkov <juri@jurta.org>
3005 * progmodes/grep.el (lgrep, rgrep): At the beginning
3006 set `dir' to `default-directory' unless `dir' is a non-nil
3007 readable directory. (Bug#4052)
3008 (lgrep, rgrep): Change a weird way to report an error
3009 from using `read-string' to using `error'.
3010 Instead of using interactive arguments in the function body,
3011 add new argument `confirm'.
3013 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * textmodes/remember.el (remember-buffer):
3016 * progmodes/cperl-mode.el (cperl-vc-header-alist):
3017 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
3018 (icalendar-extract-ical-from-buffer):
3019 * net/newst-treeview.el (newsticker-groups-filename):
3020 * net/newst-backend.el (newsticker-cache-filename):
3021 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
3022 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
3023 (speedbar-add-ignored-path-regexp, speedbar-line-path)
3024 (speedbar-buffers-line-path, speedbar-path-line)
3025 (speedbar-buffers-line-path):
3026 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
3028 * epa.el (epa-display-verify-result):
3029 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
3031 2009-08-21 Glenn Morris <rgm@gnu.org>
3033 * progmodes/js.el (inferior-moz-process): Fix declaration.
3035 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
3037 * obsolete/rnewspost.el (news-mail-reply):
3038 Use goto-char rather than goto-line.
3040 * term/ns-win.el (ns-open-file-select-line):
3041 Use line-beginning-position rather than goto-line.
3043 * apropos.el (apropos-command):
3044 * ehelp.el (electric-helpify):
3045 * printing.el (pr-show-setup):
3046 * strokes.el (strokes-help):
3047 * tutorial.el (tutorial--describe-nonstandard-key)
3048 (tutorial--detailed-help):
3049 * woman.el (woman-mini-help, woman-display-extended-fonts):
3050 * calc/calc-help.el (calc-describe-key):
3051 * emulation/edt.el (edt-electric-helpify):
3052 * international/mule-diag.el (mule-diag):
3053 * play/yow.el (apropos-zippy):
3054 * progmodes/python.el (python-describe-symbol):
3055 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
3056 * textmodes/table.el (*table--cell-describe-mode)
3057 (*table--cell-describe-bindings):
3058 Use help-print-return-message rather than the now obsolete alias.
3060 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
3061 (calendar-cursor-to-visible-date):
3062 * play/5x5.el (5x5-position-cursor):
3063 * play/decipher.el (decipher):
3064 * play/gomoku.el (gomoku-goto-xy):
3065 * play/landmark.el (lm-goto-xy):
3066 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
3068 Use forward-line, not goto-line.
3070 * mail/rmail.el (rmail-obsolete): Delete custom group.
3071 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
3072 (rmail-remote-password, rmail-remote-password-required):
3073 Remove unneeded :set-after and :set properties.
3075 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
3077 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
3079 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
3081 * loadup.el: Remove leftover macos code.
3083 * vc-git.el (vc-git-annotate-command): Run asynchronously.
3084 Explicitly pass the date format to git blame so that user local
3085 so that the output format can be parsed.
3087 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
3089 * net/dbus.el (top): Don't check for (getenv
3090 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
3092 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
3094 * log-edit.el (log-edit-strip-single-file-name): New var.
3095 (log-edit-insert-changelog): Use it. Bug#3571
3097 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * subr.el (read-passwd): Use read-key so keypad keys work as well.
3102 * help.el (help-print-return-message): Rename from
3103 print-help-return-message.
3105 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
3106 cvs-mode-map parent hack.
3107 (log-view-mode): Derive from special-mode.
3109 * linum.el (linum-mode): window-size-change-functions is redundant.
3110 Adapt to new window-configuration-change-hook behavior.
3111 (linum-after-size, linum-after-config): Remove.
3113 * imenu.el (imenu-example--name-and-position)
3114 (imenu-example--lisp-extract-index-name)
3115 (imenu-example--create-lisp-index, imenu-example--create-c-index):
3118 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
3119 (inferior-prolog-mode): Use it.
3120 (inferior-prolog-load-file): Reset list of errors.
3122 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
3124 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
3126 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
3128 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
3130 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
3133 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * subr.el (listify-key-sequence-1): Use normal syntax since those
3136 integers are nowadays always represented by the same (positive) number
3138 (read-key-empty-map): New const.
3139 (read-key-delay): New var.
3140 (read-key): New function.
3141 (force-mode-line-update): Use with-current-buffer.
3142 (locate-user-emacs-file): Don't forget to abbreviate the file name.
3143 (start-process-shell-command, start-file-process-shell-command):
3144 Discourage the use of command-args.
3146 2009-08-19 Glenn Morris <rgm@gnu.org>
3148 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
3150 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3152 * simple.el (choose-completion-string): Don't rely on
3153 minibuffer-completing-file-name and ad-hoc checks to decide whether
3154 to continue completion or not.
3156 * minibuffer.el (minibuffer-hide-completions): New function.
3157 (completion--do-completion): Use it.
3158 (completions-annotations): New face.
3159 (completion--insert-strings): Use it.
3160 (completion-pcm--delim-wild-regex): Add docstring.
3161 (completion-pcm--string->pattern): Add support for 0-width delimiters
3162 in completion-pcm--delim-wild-regex.
3164 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3166 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
3167 Remove unused var `buffer-modified-p'.
3169 * minibuffer.el (completion--do-completion): Move point for the #b001
3170 case as well (bug#4176).
3171 (minibuffer-complete, minibuffer-complete-word): Don't move point.
3173 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
3175 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
3178 2009-08-18 Kenichi Handa <handa@m17n.org>
3180 * international/ucs-normalize.el (ucs-normalize-version):
3182 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
3183 (utf-8-hfs): Make it perform normalization on encoding too.
3185 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
3186 (sentence-end-without-space): Delete duplicated chars.
3187 (sentence-end-base): Likewise.
3189 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
3190 (html-mode): Delete duplicated chars from sentence-end-base.
3192 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
3193 (texinfo-mode): Delete duplicated chars from sentence-end-base.
3195 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
3197 * files.el (hack-one-local-variable): If the mode function is for
3198 a minor mode, pass it an argument (Bug#4148).
3200 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
3202 * net/tramp.el (tramp-register-completion-file-name-handler):
3203 Check also for (member 'partial-completion completion-styles).
3205 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
3207 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
3210 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
3212 * progmodes/cperl-mode.el: Merge upstream 6.2.
3213 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
3214 (cperl-forward-re): Check cperl-brace-recursing.
3215 (cperl-highlight-charclass): New function.
3216 (cperl-find-pods-heres): Use it.
3217 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
3218 (cperl-beautify-regexp-piece): Fix column calculation.
3219 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
3220 (cperl-beautify-level): Don't process entire regexp.
3221 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
3223 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
3224 (cperl-init-faces): Build a list in the normal way.
3226 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
3228 * calendar/parse-time.el (parse-time-string-chars): Save match
3231 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
3234 (sql-product): Use it.
3235 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
3236 (sql-set-product): Add completion.
3237 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
3238 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
3239 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
3240 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
3241 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
3242 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
3243 (sql-highlight-db2-keywords): Remove.
3244 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3245 (sql-highlight-product): Use derived-mode-p.
3246 (sql-set-sqli-buffer): Use with-current-buffer.
3247 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
3250 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
3252 * term.el: Fix commenting convention, turn comments into docstrings.
3254 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3256 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
3258 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
3260 * calendar/parse-time.el (parse-time-string-chars): Compute using
3261 character classes, to handle non-ascii characters (Bug#3190).
3263 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
3265 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
3266 another heredoc if the user adds another < (Bug#3226).
3268 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
3269 Don't initialize based on window-system (Bug#4124).
3271 * facemenu.el (facemenu-read-color): Use a completion function
3272 that accepts any defined color, such as RGB triplets (Bug#3677).
3274 * files.el (get-free-disk-space): Change fallback default
3275 directory to /. Expand DIR argument before switching to fallback.
3276 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
3278 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
3280 * files.el (load-library): Doc fix.
3282 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
3284 * viper-cmd.el (viper-insert-isearch-string): New function.
3285 (viper-if-string): Redefine C-s in the minibuffer to insert the last
3286 incremental search string.
3288 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
3291 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
3292 (ediff-merge-region-is-non-clash)
3293 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
3294 Also check if the job is really a merge job.
3296 * ediff.el (ediff-current-file): New function.
3298 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
3300 * progmodes/js.el: Edit docstrings throughout to follow Emacs
3302 (js-insert-and-indent): Delete function.
3303 (js-mode-map): Don't bind keys to js-insert-and-indent.
3304 (js-beginning-of-defun): Rename from js--beginning-of-defun.
3305 (js-end-of-defun): Rename from js--end-of-defun.
3306 (js-auto-indent-flag): Delete variable.
3308 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
3310 * progmodes/js.el: Remove proclaim statement.
3311 Defvar which-func-imenu-joiner-function to silence compiler.
3313 * files.el (auto-mode-alist): Use js-mode for .js files.
3315 * progmodes/js2-mode.el: Remove file.
3317 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
3319 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
3321 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
3323 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
3324 Karl Landstrom <karl.landstrom@brgeight.se>
3326 * progmodes/js.el: New file.
3328 2009-08-14 Mark A. Hershberger <mah@everybody.org>
3330 * timezone.el (timezone-parse-date): Add ability to understand ISO
3331 basic format (minimal separators) dates in addition to the
3332 already-supported extended format dates.
3334 2009-08-14 Eli Zaretskii <eliz@gnu.org>
3336 * international/ucs-normalize.el: Add a `coding' file variable.
3338 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
3340 2009-08-14 Sam Steingold <sds@gnu.org>
3342 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
3344 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
3346 * faces.el (help-argument-name): Define it here instead of
3347 help-fns.el, because in daemon mode help-fns.el may be loaded when
3348 faces are still uninitialized (Bug#1078).
3350 * help-fns.el (help-argument-name): Move defface to faces.el.
3352 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
3354 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
3355 create buffer with a pty but no process so that GDB can make the
3356 inferior the controlling process.
3358 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
3360 * international/ucs-normalize.el: New file.
3362 2009-08-13 Richard Stallman <rms@gnu.org>
3364 * mail/rmail.el (rmail-get-attr-names):
3365 Accept an attribute header that is too short.
3367 * mail/rmail.el (rmail-forget-messages):
3368 Ignore nil elt in rmail-message-vector. Use dotimes.
3370 * progmodes/compile.el (compilation-goto-locus):
3371 Use next-error-move-function.
3373 * simple.el (next-error-move-function): New variable.
3375 2009-08-12 Juri Linkov <juri@jurta.org>
3377 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
3378 always non-nil. (Bug#4052)
3380 * replace.el (read-regexp): Return empty string when
3381 `default-value' is nil.
3382 (keep-lines-read-args): Don't use empty string as the
3383 default value for `read-regexp'. (Bug#2495)
3385 2009-08-12 Juri Linkov <juri@jurta.org>
3387 * international/mule-cmds.el (ucs-insert): Change arguments
3388 from `arg' to `character', `count', `inherit' to be the same
3389 as in `insert-char'. Doc fix. (Bug#4039)
3391 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
3393 2009-08-12 Juri Linkov <juri@jurta.org>
3395 * files-x.el: New file.
3397 * files.el: Move code that deals with adding/deleting
3398 file/directory-local variables to files-x.el.
3400 * Makefile.in (ELCFILES): Add files-x.elc.
3402 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
3404 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
3406 (gdb-place-breakpoints, gdb-get-location): Rewritten without
3408 (gdb-invalidate-disassembly): Do not refresh upon receiving
3409 'update signal. Instead, update all disassembly buffers only after
3411 (gdb): Send -target-detach when buffer is killed (Bug#3794).
3412 (gdb-starting): Moved -data-list-register-names...
3413 (gdb-stopped): ...here so it's sent when first thread stops.
3414 (gdb-registers-handler-custom): Do nothing if register names are
3417 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
3418 from `gdb-mi.el' to avoid extra tangling.
3420 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
3421 change which breaks `gud-def' definitions used in `gdb'.
3422 (gdb-update-gud-running): No extra fuss for updating frame number.
3424 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3426 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
3427 (describe-language-environment-map, setup-language-environment-map)
3428 (set-coding-system-map): Move initialization into declaration.
3429 (set-language-info-alist): Last arg to define-key-after can be skipped.
3431 * international/quail.el (quail-completion-1): Simplify.
3432 (quail-define-rules): Use slightly more compact code.
3433 (quail-insert-decode-map): Propertize keys, compact columns.
3435 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3438 2009-08-10 Miles Bader <miles@gnu.org>
3440 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
3441 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
3442 (js2-instance-member, js2-private-member, js2-private-function-call)
3443 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
3444 (js2-magic-paren, js2-external-variable):
3445 Remove "-face" suffix from face names.
3446 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
3447 (js2-highlight-undeclared-vars, js2-peek-token)
3448 (js2-parse-function-params, js2-mode-show-errors)
3449 (js2-mode-show-warnings, js2-make-magic-delimiter)
3450 (js2-mode-highlight-magic-parens): Update to use new face names.
3452 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
3454 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
3455 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
3457 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
3459 * subr.el: Provide hashtable-print-readable.
3461 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
3462 hs-c-like-adjust-block-beginning.
3463 (hs-hide-block-at-point): Stop hiding at the beginning of
3464 hs-block-end-regexp (Bug#700).
3466 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
3468 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
3470 (gdb-registers-handler-custom): Do not fail when register names
3473 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
3475 * progmodes/gdb-mi.el (gdb-control-all-threads)
3476 (gdb-control-current-thread): Interactive setters for
3477 `gdb-gud-control-all-threads' to use in menu.
3478 (gdb-show-run-p): Show «Go» when process is not active.
3479 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
3480 gud/thread.xpm and gud/all.xpm.
3482 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
3484 * net/net-utils.el (net-utils-font-lock-keywords): New var.
3485 (nslookup-font-lock-keywords): Make it a variable.
3486 (net-utils-mode): New mode for viewing diagnostic network output.
3487 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
3488 (net-utils-run-simple): New function.
3489 (ifconfig, iwconfig, netstat, arp, route): Use it.
3491 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
3493 * progmodes/gdb-mi.el (gdb-read-memory-custom)
3494 (gdb-memory-set-address, def-gdb-set-positive-number)
3495 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
3496 after changing settings.
3497 (gdb-invalidate-disassembly): Update when first shown.
3498 (gdb-edit-locals-value): Fixed.
3499 (gdb-registers-handler-custom): Print registers in right order and
3500 allow changing register values (only for current thread yet).
3501 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
3502 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
3503 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
3504 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
3506 (gdb-registers-mode-map): TAB to switch to locals.
3508 2009-08-08 Eli Zaretskii <eliz@gnu.org>
3510 * mail/rmail.el (rmail-add-mbox-headers)
3511 (rmail-set-message-counters-counter): Search for
3512 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
3514 2009-08-08 Glenn Morris <rgm@gnu.org>
3516 * Makefile.in (ELCFILES): Update.
3518 2009-08-07 Eli Zaretskii <eliz@gnu.org>
3520 * mail/sendmail.el (mail-yank-original): Set
3521 buffer-file-coding-system from the one used by the message whose
3524 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
3525 to "windows" when "pgnuplot" is used.
3526 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
3527 call accept-process-output if "pgnuplot" is used.
3528 (calc-graph-init): Don't send -display and -geometry to
3529 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
3530 running "pgnuplot -V" with shell-command-to-string.
3532 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
3535 2009-08-07 Eli Zaretskii <eliz@gnu.org>
3537 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
3540 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
3542 * vc-dispatcher.el (vc-resynch-window): Update comment.
3544 * term.el (term-handle-ansi-escape): Add comments with the
3545 terminfo capabilities implemented.
3547 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
3549 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
3550 (gdb-var-create-handler): Rewritten using JSON parser.
3551 (gdb-propertize-header): Moved earlier.
3552 (gdb-set-header): Removed to avoid duplication.
3553 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
3554 Refresh disassembly buffers only after threads list have been
3556 (gdb-threads-header, gdb-registers-header): Per-buffer header line
3559 2009-08-04 Juri Linkov <juri@jurta.org>
3561 * files.el: Commands to add/delete file/directory-local variables.
3562 (read-file-local-variable, read-file-local-variable-value)
3563 (read-file-local-variable-mode, modify-file-local-variable)
3564 (modify-file-local-variable-prop-line)
3565 (modify-dir-local-variable): New functions.
3566 (add-file-local-variable, delete-file-local-variable)
3567 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
3568 (add-dir-local-variable, delete-dir-local-variable)
3569 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
3570 (copy-dir-locals-to-file-locals-prop-line): New commands.
3572 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
3574 * abbrev.el (insert-abbrev-table-description): Prettify output.
3575 Suggested by Karl Chen.
3577 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
3579 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
3580 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
3581 (gdb-overlay-arrow-position, gdb-thread-position)
3582 (gdb-disassembly-position): Declare variables.
3583 (gdb-wait-for-pending): Function now.
3584 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
3585 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
3586 compilation goes smoothly.
3587 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
3588 (gdb-non-stop-setting): New customization setting which replaces
3589 `gdb-non-stop' so changing it doesn't break active GDB session.
3590 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
3591 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
3592 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
3593 (gdb-show-threads-by-default): New customization options.
3594 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
3596 (gdb-get-buffer-create): Send buffers update signal when they are
3598 (gdb-invalidate-locals, gdb-invalidate-registers)
3599 (gdb-invalidate-breakpoints)
3600 (gdb-invalidate-threads, gdb-invalidate-disassembly)
3601 (gdb-invalidate-memory): Accept update signal.
3602 (gdb-current-context-command): Use --frame option.
3603 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
3604 Implement `gdb-frame-number' selection logic.
3605 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
3606 whether to show GUD toolbar buttons.
3607 (gdb-thread-exited): Unselect current thread when it exits.
3608 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
3609 (gdb-mark-line): Routine which sets overlay arrow or inverses
3610 video on fringeless displays.
3611 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
3612 to build aligned columns of data in GDB buffers and set text
3613 properties line-by-line.
3614 (gdb-invalidate-breakpoints)
3615 (gdb-breakpoints-list-handler-custom)
3616 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
3617 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
3618 (gdb-registers-handler-custom): Align data columns.
3619 (gdb-locals-handler-custom): Now prints data like in variable
3621 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
3622 Removed confusing buttons.
3623 (gdb-invalidate-threads): Append --frame.
3624 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
3625 between breakpoints/threads buffers.
3626 (gdb-set-window-buffer): Now can ignore dedicated windows.
3627 (gdb-propertize-header): Use `gdb-set-window-buffer'.
3628 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
3629 (def-gdb-thread-buffer-gud-command): Replaces
3630 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
3631 for fine thread control.
3632 (gdb-preempt-existing-or-display-buffer): New function used to
3633 display bound buffers without breaking window layout.
3634 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
3635 (gdb-select-frame): New version of `gdb-frames-select' which now
3636 sets `gdb-frame-number' so commands may use --frame option instead
3637 of inner debugger state.
3638 (gdb-frame-handler): Do not set `gdb-frame-number'.
3639 (gdb-threads-mode-map): Select threads with mouse.
3641 * progmodes/gud.el (gdb-gud-context-call): Declare function to
3642 avoid compilation warning.
3643 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
3646 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
3647 Argument `key' renamed to `buffer-type'.
3648 (gdb-current-context-buffer-name): Do not add thread info to
3649 buffer name when no thread is selected.
3650 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
3652 (gdb-thread-selected): Handle `=thread-selected' notification.
3653 (gdb-wait-for-pending): New macro to deal with congestion problems.
3654 (gdb-breakpoints-list-handler-custom): Don't fail on pending
3656 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
3657 This fixes problem similar to one described in bug 3947.
3658 (gud-menu-map): More menu items.
3659 (gdb-init-1): Reset `gdb-thread-number' to nil.
3661 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
3664 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
3665 (gdb-current-context-command): Do not append --thread if
3666 `gdb-thread-number' is nil.
3667 (gdb-running-threads-count, gdb-stopped-threads-count): New
3669 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
3670 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
3671 customization options.
3672 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
3674 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
3675 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
3676 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
3677 set `gdb-thread-number' and update `gud-running' properly.
3678 (gdb-running): Update threads list when new threads appear.
3679 (gdb-stopped): Support non-stop operation and new thread switching
3681 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
3682 (gdb-json-partial-output): New set of JSON routines.
3683 (def-gdb-auto-update-trigger): New `signal-list' optional
3685 (gdb-thread-list-handler-custom): Update `gud-running',
3686 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
3687 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
3688 (gdb-continue-thread, gdb-step-thread): New commands for fine
3689 thread execution control.
3690 (gud-menu-map): New menu items to switch non-stop options.
3691 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
3692 (gdb-send): Mimic RET properly (bug 3794).
3694 * progmodes/gdb-mi.el (gdb-rules-name-maker)
3695 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
3697 (def-gdb-auto-update-handler): New nopreserve optional argument.
3698 (gdb-stack-list-frames-custom): Print stack from top to bottom.
3700 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
3701 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
3702 (gdb-parent-mode): New mode to derive other GDB modes from.
3703 (gdb-display-disassembly-for-thread)
3704 (gdb-frame-disassembly-for-thread): New commands for threads
3707 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
3708 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
3709 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
3710 (gdb-update): We now store all GDB buffers in a list so that they
3711 can be updated by traversing a list instead of calling invalidate
3712 triggers explicitly.
3713 (def-gdb-trigger-and-handler): New macro to define trigger-handler
3714 pair for GDB buffer.
3715 (gdb-stack-buffer-name): Add thread information.
3716 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
3717 handle pending triggers.
3718 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
3719 (def-gdb-thread-buffer-simple-command)
3720 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
3721 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
3722 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
3723 New commands which show buffers bound to thread.
3724 (gdb-stack-list-locals-regexp): Removed unused regexp.
3726 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
3727 (gdb-locals-buffer-name, gdb-registers-buffer-name)
3728 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
3729 to (gud-comint-buffer) in *-buffer-name functions
3730 because (gdb-get-target-string) already does that.
3731 (gdb-locals-handler-custom, gdb-registers-handler-custom)
3732 (gdb-changed-registers-handler): Rewritten without regexps.
3734 * progmodes/gdb-mi.el Basic thread selection support.
3735 (gdb-thread-number): New variable.
3736 (gdb-current-context-command): New macro which adds --thread
3738 (gdb-threads-mode-map): Select thread with SPC.
3739 (gdb-thread-list-handler-custom): Mark current thread with overlay
3740 arrow. Synchronize GDB thread and Emacs thread.
3741 (gdb-select-thread): New command which selects current thread.
3742 (gdb-invalidate-frames, gdb-invalidate-locals)
3743 (gdb-invalidate-registers): Use --thread option.
3745 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
3747 * net/tramp.el (top): Make check for tramp-gvfs loading more
3749 (tramp-handle-insert-file-contents): `unwind-protect' must be
3750 inside `with-parsed-tramp-file-name'.
3752 * net/tramp-gvfs.el (top): Remove superfluous message when loading
3755 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
3757 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
3758 directory if CLASSPATH is not set.
3760 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
3762 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
3764 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
3766 2009-08-02 Kevin Ryde <user42@zip.com.au>
3768 * net/newst-backend.el (newsticker--raw-url-list-defaults):
3769 Update freshmeat link. Delete newsforge.com as it seems gone.
3771 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
3773 * select.el (x-set-selection): Doc fix (Bug#4021).
3775 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
3777 * help-fns.el (describe-variable): Treat list return values from
3778 dir-locals-find-file properly (Bug#4005).
3780 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
3782 * net/tramp.el (tramp-debug-message): Print also microseconds.
3784 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
3786 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
3788 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
3789 (tramp-get-debug-buffer): Change `outline-regexp' according to new
3792 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
3793 (tramp-get-file-property): Use it.
3795 * autorevert.el (auto-revert-handler): Allow
3796 `auto-revert-tail-mode' for remote files.
3798 2009-08-02 Jason Rumney <jasonr@gnu.org>
3800 * minibuffer.el (read-file-name): Treat confirm options to
3801 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
3803 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
3805 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
3806 (font-lock-variable-name-face, font-lock-constant-face): Darken
3807 the colors for light backgrounds.
3809 2009-08-01 Eli Zaretskii <eliz@gnu.org>
3811 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
3812 month names. (Bug#3987)
3814 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
3816 * simple.el (line-move-finish): Pass whole number to
3817 line-move-to-column.
3818 (line-move-visual): Perform hscroll to the recorded position.
3820 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
3822 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
3824 2009-07-29 Alan Mackenzie <acm@muc.de>
3826 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
3828 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
3830 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
3831 (gdb-place-breakpoints): Use full path when setting breakpoints.
3833 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3835 * calc/calc.el (calc-mode-map): Add keybinding for
3836 `calc-transpose-lines'.
3838 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
3840 * calc/calc-misc.el (calc-transpose-lines): New function.
3842 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
3844 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
3845 Simplify check for out-of-band methods.
3846 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
3847 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
3849 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
3851 * vc-git.el (vc-git-checkin): Fix typo.
3853 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
3855 * progmodes/js2-mode.el: New file.
3857 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
3859 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
3860 (gud-menu-map): Adjust tooltip accordingly.
3862 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
3864 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
3865 (vc-bzr-log-view-mode): Adjust log-view-file-re.
3867 * add-log.el (change-log-mode-map): Add a menu.
3869 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
3871 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
3872 function returns nil.
3873 (dbus-handle-event): Handle special return value :ignore.
3874 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
3876 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
3878 * view.el (view-mode-enable): Don't define Helper-return-blurb if
3881 2009-07-25 Eli Zaretskii <eliz@gnu.org>
3885 * w32-vars.el (x-select-enable-clipboard): Doc fix.
3887 * term/pc-win.el (x-display-name, x-colors)
3888 (x-select-enable-clipboard, x-select-text): Doc fix.
3890 * term/common-win.el (x-display-name, x-colors): Doc fix.
3892 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
3893 (xw-defined-colors): Doc fix.
3895 * w32-fns.el (x-select-text, x-setup-function-keys)
3896 (x-get-selection, x-set-selection): Doc fix.
3898 * term/x-win.el (x-select-text, x-setup-function-keys)
3899 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
3901 * select.el (x-set-selection): Doc fix.
3903 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
3905 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
3906 instead of "IsNSSSupportAvailable". Avahi ought to work also when
3907 "IsNSSSupportAvailable" method is not available. Reported by
3908 Steve Youngs <steve@sxemacs.org>.
3910 2009-07-24 Kenichi Handa <handa@m17n.org>
3912 * international/characters.el: Fix setting of category ?C, ?|, ?K,
3913 and ?H. Fix setting of case for Latin Extended and Greek Extended.
3914 (build-unicode-category-table): Fix range checks.
3916 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
3918 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
3919 the buffer we try to sync is current when calling
3922 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
3923 not show up to date files.
3925 2009-07-24 Glenn Morris <rgm@gnu.org>
3927 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
3928 Add autoload cookies. If necessary, initialize.
3929 (elint-log): Handle non-file buffers.
3930 (elint-initialize): Add optional argument to reinitialize.
3931 (elint-find-builtin-variables): Save excursion.
3933 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
3935 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
3938 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3940 * vc.el (vc-print-log-internal): New function, split out from ...
3941 (vc-print-log): ... here.
3942 (vc-dir-move-to-goal-column): Declare.
3944 * vc-git.el (vc-git-add-signoff): New variable.
3945 (vc-git-checkin): Use it.
3946 (vc-git-toggle-signoff): New function.
3947 (vc-git-extra-menu-map): Bind it to menu.
3948 (vc-git--run-command-string): Accept a nil FILE argument.
3949 (vc-git-stash-list): New function.
3950 (vc-git-dir-extra-headers): Use it.
3952 2009-07-23 Glenn Morris <rgm@gnu.org>
3954 * help-fns.el (describe-variable): Describe ignored and risky local
3955 variables in a similar way to that in which we describe safe ones.
3957 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
3958 (byte-compile-output-file-form, byte-compile-output-docform)
3959 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
3960 Give some more local variables with common names a "bytecomp-" prefix,
3961 so as not to shadow things during compilation.
3962 * emacs-lisp/cl-macs.el (load-time-value)
3963 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
3964 `outbuffer' to `bytecomp-outbuffer'.
3966 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
3967 since the next two variables cover them automatically now.
3968 (elint-builtin-variables, elint-autoloaded-variables): New.
3969 (elint-unknown-builtin-args): Remove all members, since they can be
3970 parsed automatically now.
3971 (elint-extra-errors): New.
3972 (elint-env-add-env, elint-env-add-macro): Use cadr.
3973 (elint-current-buffer): Use or. Change final message.
3974 (elint-get-top-forms): Use line-end-position.
3975 (elint-init-env): Use cadr. Handle autoload, declare-function,
3977 (elint-add-required-env): Doc fix. Use or. Standardize error.
3978 (regexp-assoc): Remove unused function.
3979 (elint-top-form): Set elint-current-pos, to record the start of the
3980 top-level form, for compilation-mode.
3981 (elint-form): Trap errors in macro expansion. Use dolist.
3982 (elint-unbound-variable): Use elint-builtin-variables and
3983 elint-autoloaded-variables.
3984 (elint-get-args): Use cadr, or.
3985 (elint-check-cond-form): Use dolist, cadr.
3986 (elint-check-condition-case-form): Doc fix. Use cadr.
3987 Use elint-extra-errors.
3988 (elint-log): New function.
3989 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
3990 Distinguish errors and warnings.
3991 (elint-log-message): Use with-current-buffer. Inhibit read-only.
3992 Use a bytecomp-style format.
3993 (elint-clear-log): Preserve default-directory. Inhibit read-only.
3994 (elint-get-log-buffer): Use compilation mode. Disable undo.
3995 Don't truncate lines.
3996 (elint-initialize): Set builtin and autoloaded variable lists.
3997 Only process elint-unknown-builtin-args if non-nil.
3998 (elint-find-builtin-variables, elint-find-autoloaded-variables):
4000 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
4002 2009-07-22 Kevin Ryde <user42@zip.com.au>
4004 * net/newst-backend.el (newsticker--parse-atom-1.0)
4005 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
4006 (newsticker--parse-rss-1.0):
4007 * progmodes/idlwave.el (idlwave-mode):
4008 * progmodes/idlw-shell.el (idlwave-shell-mode):
4009 * progmodes/vera-mode.el (vera-mode):
4010 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
4011 * progmodes/vhdl-mode.el (vhdl-mode):
4012 * textmodes/table.el (table-generate-source)
4013 (table--warn-incompatibility):
4014 Hyperlink urls in docstrings with URL `...'.
4016 2009-07-22 Glenn Morris <rgm@gnu.org>
4018 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
4019 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
4020 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
4021 Remove leading * from defcustom docs.
4023 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
4025 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
4027 (list-load-path-shadows): Optionally, just return shadows as a string.
4029 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
4031 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
4033 * mail/rmailedit.el (rmail-edit-mode): Use
4034 auto-save-include-big-deletions.
4036 * mail/rmail.el (rmail-variables): Use
4037 auto-save-include-big-deletions.
4039 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
4042 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
4044 * calc/calc.el (calc-undo-length): New variable.
4045 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
4047 2009-07-21 Richard Stallman <rms@gnu.org>
4049 * files.el (auto-save-mode): Handle buffer-save-size = -2
4052 2009-07-21 Glenn Morris <rgm@gnu.org>
4054 * textmodes/ispell.el (ispell-looking-back): Update declaration.
4056 * calendar/todo-mode.el (calendar-current-date): Update declaration.
4058 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
4059 silence compiler. Instead...
4060 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
4061 (ps-print-ensure-fontified): Update for above function name changes.
4063 * printing.el (pr-mh-get-msg-num, pr-mh-show)
4064 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
4065 silence compiler. Instead...
4066 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
4067 (mh-show-buffer): Only define for compiler.
4068 (pr-mh-current-message): Update for above function name changes.
4070 * files.el (abort-if-file-too-large): Explicitly pass `filename'
4072 (find-file-noselect, insert-file-1): Update for above change.
4074 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
4076 * mail/mailclient.el (mailclient-send-it): Fix message.
4078 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
4079 (edebug-eval): Check cl-debug-env is bound.
4080 (print-level, print-circle): Don't redefine built-in variables.
4082 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
4083 (custom-print-vectors): Remove old comments from doc.
4085 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
4086 (emerge-version): Make the variable an obsolete alias for the
4087 emacs-version variable. Make the function obsolete.
4088 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
4089 Emerge options, rather than merging in into the main Options menu.
4090 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
4091 and auto advance modes. Disable edit/fast items when not relevant.
4093 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
4095 * term/vt420.el (terminal-init-vt420): Fix typo.
4097 2009-07-20 Sam Steingold <sds@gnu.org>
4099 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
4100 variable (removed from compile.el on 2004-03-11).
4102 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
4104 * files.el (hack-local-variables-filter): Fix last change.
4106 2009-07-19 Juri Linkov <juri@jurta.org>
4108 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
4109 (dir-local-variables-alist): New buffer-local variable.
4110 (hack-local-variables-filter): If variable is not dir-local,
4111 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
4112 because file-local overrides dir-local.
4113 (c-postprocess-file-styles)<declare-function>:
4114 Remove obsolete declaration.
4115 (hack-dir-local-variables): Add dir-local variable/value pair to
4116 `dir-local-variables-alist' and remove duplicates. Doc fix.
4118 * help-fns.el (describe-variable): Add information about
4119 file-local and dir-local variables.
4121 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
4123 * files.el (hack-local-variables-filter): Rewrite.
4125 2009-07-19 Glenn Morris <rgm@gnu.org>
4127 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
4128 Silence compiler by only defining on XEmacs.
4130 * international/mule.el (auto-coding-regexp-alist): Only match
4131 BABYL... at the start of buffer, not of lines. (Bug#3790)
4133 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
4134 non-calendar buffers (Bug#3862). Restore "not on a date" message.
4135 (cal-menu-context-mouse-menu): Doc fix.
4137 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
4139 * simple.el (mail-user-agent): Doc fix. Set :version tag.
4141 2009-07-18 Juri Linkov <juri@jurta.org>
4143 * info.el: Virtual Info keyword finder.
4144 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
4145 (Info-finder-file): New variable.
4146 (Info-finder-find-file): New function.
4147 (finder-known-keywords, finder-package-info)
4148 (find-library-name, lm-commentary): Use defvar and
4149 declare-function to silence compiler warnings.
4150 (Info-finder-find-node): New function.
4151 (info-finder): New command.
4153 * subr.el (process-kill-buffer-query-function): New function.
4154 (add-hook)<kill-buffer-query-functions>: Add hook
4155 `process-kill-buffer-query-function'.
4157 2009-07-18 Alan Mackenzie <acm@muc.de>
4159 * progmodes/cc-mode.el (c-before-hack-hook)
4160 (c-postprocess-file-styles): Give invocation of `c-set-style'
4161 DONT-OVERRIDE parameter of t. Already set style variables will
4162 thus not be overridden by style settings given by `c-file-syle'.
4164 * files.el (hack-local-variables-filter): Remove entries with
4165 duplicate keys from `file-local-variables-alist'.
4167 2009-07-18 Eli Zaretskii <eliz@gnu.org>
4169 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
4170 x-set-selection if display-selections-p returns nil for the
4173 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
4175 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
4177 2009-07-18 Eli Zaretskii <eliz@gnu.org>
4179 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
4180 Accept nil in addition to a regexp.
4181 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
4182 Accept nil in addition to a regexp.
4183 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
4184 buffers that have an associated file. Handle nil values of
4185 desktop-buffers-not-to-save and desktop-files-not-to-save.
4188 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4189 (x-disown-selection-internal): New functions.
4191 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
4193 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
4195 (gdb-breakpoints-header): Move forward to avoid compiler warning.
4196 (gdb-make-header-line-mouse-map): Remove duplicate definition.
4198 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
4200 * simple.el (set-mark): Revert last change.
4202 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
4204 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
4205 rendering of pngs is not possible instead of messaging a long
4208 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
4210 * w32-fns.el (x-selection-owner-p): New function.
4212 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
4213 (mouse-yank-at-click, mouse-yank-primary): If
4214 select-active-regions is non-nil, deactivate the mark before
4217 * simple.el (deactivate-mark, set-mark): Only save selection if we
4220 2009-07-17 Kenichi Handa <handa@m17n.org>
4222 * case-table.el (describe-buffer-case-table): Fix for the case
4225 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
4227 * vc-rcs.el (vc-rcs-find-file-hook):
4228 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
4230 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
4232 * net/tramp.el (tramp-wait-for-output): Handle the case when
4233 commands do not return a newline but a null byte before the shell
4236 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4238 * term/ns-win.el (ns-set-alpha): Don't declare.
4239 (ns-set-background-alpha): Remove function.
4241 2009-07-16 Kevin Ryde <user42@zip.com.au>
4243 * emacs-lisp/copyright.el (copyright-update): Save match-data across
4244 y-or-n-p, for safety.
4246 2009-07-16 Richard Stallman <rms@gnu.org>
4248 * files.el (auto-save-mode): If buffer-saved-size is -2,
4251 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
4252 (rmail-retry-ignored-headers): Add more uninteresting fields.
4254 2009-07-15 Jari Aalto <jari.aalto@cante.net>
4256 * net/rcirc.el (rcirc): Use history variables.
4257 (rcirc-server-name-history, rcirc-nick-name-history)
4258 (rcirc-server-port-history): New variables.
4260 2009-07-15 Kenichi Handa <handa@m17n.org>
4262 * international/mule-cmds.el (set-language-environment-charset):
4263 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
4266 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
4267 Delete unibyte-display.
4269 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
4271 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
4273 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
4275 * simple.el (deactivate-mark): Optional argument FORCE.
4276 (set-mark): Use deactivate-mark.
4278 * info.el (Info-search): No need to check transient-mark-mode
4279 before calling deactivate-mark.
4281 * select.el (x-set-selection): Doc fix.
4282 (x-valid-simple-selection-p): Allow buffer values.
4283 (xselect--selection-bounds): Handle buffer values. Suggested by
4284 David De La Harpe Golden.
4286 * mouse.el (mouse-set-region, mouse-drag-track): Call
4287 copy-region-as-kill before setting the mark, to let
4288 select-active-regions work.
4290 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
4292 * simple.el (deactivate-mark): If select-active-regions is
4293 non-nil, copy the selection data into a string.
4294 (activate-mark): If select-active-regions is non-nil, set the
4295 selection to the current buffer.
4296 (set-mark): Update selection if select-active-regions is non-nil.
4298 * select.el (x-valid-simple-selection-p): Allow buffer values.
4300 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
4302 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
4303 and more featureful message-mode.
4305 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
4307 * select.el (x-set-selection): Doc fix.
4308 (x-valid-simple-selection-p): Disallow selection data consisting
4309 of a list or cons of integers, since that is not used.
4310 (xselect--selection-bounds, xselect--int-to-cons): New functions.
4311 (xselect-convert-to-string, xselect-convert-to-length)
4312 (xselect-convert-to-filename, xselect-convert-to-charpos)
4313 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
4315 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
4317 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
4318 output in -break-info command (Emacs bug #3794).
4320 2009-07-14 Glenn Morris <rgm@gnu.org>
4322 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
4323 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
4324 (edebug-print-length, edebug-print-level, edebug-print-circle)
4325 (edebug-sit-for-seconds, edebug-view-outside)
4326 (edebug-bounce-point, edebug-set-global-break-condition)
4327 (edebug-Go-nonstop-mode, edebug-trace-mode)
4328 (edebug-Trace-fast-mode, edebug-continue-mode)
4329 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
4330 (edebug-visit-eval-list): Doc fixes.
4332 * subr.el (def-edebug-spec): Doc fix.
4334 2009-07-14 Kenichi Handa <handa@m17n.org>
4336 * international/characters.el: Fix setting of category ?C.
4338 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
4340 * term/ns-win.el (x-select-font): defalias x-select-font to
4341 ns-popup-font-panel instead of generate-fontset-menu.
4343 2009-07-12 Eli Zaretskii <eliz@gnu.org>
4345 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
4347 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
4349 * arc-mode.el (archive-find-type): Allow for a PK00 string before
4350 the PK\003\004 header (Bug#3770).
4352 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
4354 * pcomplete.el (pcomplete-comint-setup): Check for
4355 shell-dynamic-complete-filename too.
4357 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
4359 * simple.el (temporary-goal-column): Change the value for
4360 line-move-visual to a cons cell.
4361 (line-move-visual): Record or set the window hscroll, if
4362 necessary (Bug#3494).
4363 (line-move-1): Handle cons value of temporary-goal-column.
4365 2009-07-11 Kenichi Handa <handa@m17n.org>
4367 * international/mule-diag.el (describe-character-set): Don't show
4370 2009-07-10 Sam Steingold <sds@gnu.org>
4372 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4373 Omake sometimes indents the errors it prints, so allow all
4374 regexps to start with spaces.
4376 2009-07-10 Eli Zaretskii <eliz@gnu.org>
4378 * cus-edit.el (customize-changed-options-previous-release):
4379 Bump value to 22.1. (Bug#3804)
4381 2009-07-08 Sam Steingold <sds@gnu.org>
4383 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
4384 to be a cons cell (test . ignored-directory) to selectively ignore
4385 some directories depending on the location of the search.
4387 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
4389 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
4390 remote user is root, on the local host.
4391 (tramp-local-host-p): Either the local user or the remote user
4392 must be root. (Bug#3771)
4394 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
4396 * progmodes/gdb-mi.el (gdb): Remove description of
4397 gdb-use-separate-io-buffer.
4398 (menu): Don't allow toggling of or enable
4399 gdb-use-separate-io-buffer from menubar.
4401 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
4403 * mail/unrmail.el (unrmail): Make sure the message ends with two
4404 newlines (Bug#3769).
4406 2009-07-08 Glenn Morris <rgm@gnu.org>
4408 * calendar/calendar.el (calendar-current-date): Rework previous change.
4410 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
4412 * calendar/calendar.el (calendar-current-date):
4413 Add an optional argument giving an offset from today.
4415 2009-07-08 Glenn Morris <rgm@gnu.org>
4417 * tutorial.el (tutorial--describe-nonstandard-key):
4418 Adjust the message for when a key has been unbound.
4419 (help-with-tutorial): Hide the arch-tag.
4421 2009-07-08 Kenichi Handa <handa@m17n.org>
4423 * international/fontset.el (setup-default-fontset): For each
4424 script, append (not set) font-specs.
4426 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
4429 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
4431 * progmodes/gdb-mi.el (gdb-init-1): Move sending
4432 -data-list-register-names to ...
4433 (gdb-starting): ... here because GDB 7.0 requires execution to
4434 have started when using this MI command.
4435 (gdb-set-header): New function to distinguish select and
4436 unselected tabs in gdb buffers.
4437 (gdb-propertize-header): New macro that uses gdb-set-header.
4438 (gdb-breakpoints-header, gdb-locals-header): Use it.
4439 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
4441 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
4443 * Makefile.in (ELCFILES): Remove fadr.elc.
4445 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
4447 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
4448 may contain frame information, so `string-match' should be used.
4449 (gdb-update): Disassembly is invalidated through
4450 `gdb-get-selected-frame'.
4451 (gdb-pad-string): New function to pad string with spaces.
4452 (gdb-invalidate-disassembly): Invalidate only if the buffer
4454 (gdb-disassembly-handler-custom): Column alignment.
4455 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
4457 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
4459 (gdb-frame-handler): Match convention to for disassembly buffer
4461 (gdb-stack-list-frames-handler): Rewritten without regexps.
4462 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
4463 not highlight breakpoints without line information.
4464 (gdb-input): Add trailing newline to command.
4466 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
4468 (gdb-breakpoints-list-handler-custom): Replacement for
4469 `gdb-break-list-handler'. Using real parser instead of regexps
4471 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
4472 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
4473 to place breakpoints.
4474 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
4476 (gdb-disassembly-handler-custom): Show overlay arrow.
4477 (gdb-disassembly-place-breakpoints): Show breakpoints in
4479 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
4480 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
4481 instead of parsing breakpoints buffer. Fixed old menu references
4486 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
4487 (gdb-memory-address): New variable which holds top address of
4488 memory page shown in memory buffer.
4489 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
4490 customization variables.
4492 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
4493 display the memory buffer.
4494 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
4495 buffer display parameters.
4496 (def-gdb-memory-format, gdb-memory-format-binary)
4497 (gdb-memory-format-octal, gdb-memory-format-unsigned)
4498 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
4499 Functions for setting memory buffer format.
4500 (gdb-memory-unit-word, gdb-memory-unit-halfword)
4501 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
4502 unit size used in memory buffer.
4503 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
4504 to next/previous page of memory buffer.
4505 Now using (bindat-get-field) instead of fadr functions.
4507 2009-07-07 Sam Steingold <sds@gnu.org>
4509 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
4510 non-top-level files.
4512 2009-07-07 Kenichi Handa <handa@m17n.org>
4514 * international/mule-cmds.el (reset-language-environment): Put
4515 the highset priority to the charset iso-8859-1.
4517 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
4519 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
4520 to the end of the line when locating the block (Bug#700).
4522 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
4524 * net/tramp.el (tramp-handle-write-region): Flush file properties
4525 in case of short track.
4527 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
4529 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
4530 representation of verilog error regular expressions to work with
4531 Emacs-22's new format.
4532 (verilog-error-regexp-xemacs-alist): Coded custom representation
4533 of verilog error regular expressions to work with XEmacs format.
4534 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
4535 error recognition into XEmacs.
4536 (verilog-error-regexp-add-emacs): Hook routine to install verilog
4537 error recognition into Emacs-22.
4539 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
4541 * woman.el: Remove stand-alone closing parentheses.
4542 (woman-file-name, woman2-format-paragraphs)
4543 (woman-leave-blank-lines): Code cleanup.
4544 (woman-use-own-frame): Change default to nil.
4545 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
4546 defaults to inherit from default faces.
4547 (woman2-process-escapes): Consume the newline after a stand-alone
4548 filler character (Bug#3651).
4550 2009-07-06 Glenn Morris <rgm@gnu.org>
4552 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
4553 (top-level): Move provide to the end.
4554 (ffap): Remove defunct URL from custom group.
4556 * subr.el (eval-after-load): Doc fix.
4558 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
4560 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
4561 `calc-embedded-word' is called twice.
4563 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * files.el (find-alternate-file-other-window, find-alternate-file):
4566 Obey confirm-nonexistent-file-or-buffer.
4568 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
4570 * dired-aux.el (dired-show-file-type): Handle remote files.
4572 2009-07-05 Jari Aalto <jari.aalto@cante.net>
4574 * desktop.el (desktop-globals-to-save):
4575 Add file-name-history (Bug#2750).
4577 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
4579 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
4581 2009-07-04 Johan Bockgård <bojohan@gnu.org>
4583 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
4584 property on entire argument since this is what eshell-lisp-command
4587 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
4589 * net/tramp-gvfs.el (tramp-gvfs-methods)
4590 (tramp-gvfs-zeroconf-domain)
4591 (tramp-bluez-discover-devices-timeout): Add version flag.
4592 (tramp-gvfs-handler-mounted-unmounted)
4593 (tramp-gvfs-connection-mounted-p): Polish handling of
4594 incompatibilities between GVFS 0.2 and 1.0.
4596 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
4598 * cus-start.el (all): Add make-pointer-invisible.
4600 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
4602 * calc-math.el (math-use-emacs-fn): Make sure that the number is
4603 formatted correctly.
4605 2009-07-02 Juri Linkov <juri@jurta.org>
4607 * info.el: Virtual Info files and nodes.
4608 (Info-virtual-files, Info-virtual-nodes): New variables.
4609 (Info-current-node-virtual): New variable.
4610 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
4612 (Info-file-supports-index-cookies): Use Info-virtual-file-p
4613 to check for a virtual file instead of checking a fixed list
4615 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
4616 instead of ad-hoc processing of "dir" and (apropos history toc).
4617 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
4618 instead of ad-hoc processing of "dir" and (apropos history toc).
4619 Reread a file when moving from a virtual node.
4620 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
4621 (Info-directory-toc-nodes, Info-directory-find-file)
4622 (Info-directory-find-node): New functions.
4623 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
4624 (Info-history): Move part of code to
4625 `Info-history-find-node'.
4626 (Info-history-toc-nodes, Info-history-find-file)
4627 (Info-history-find-node): New functions.
4628 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
4629 (Info-toc): Move part of code to `Info-toc-find-node'.
4630 (Info-toc-find-node): New function.
4631 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
4632 the current Info file name to references because now the node
4633 "*TOC*" belongs to the same Info manual.
4634 (Info-toc-build): Rename from `Info-build-toc'.
4635 (Info-toc-nodes): Rename input argument `file' to `filename'.
4636 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
4637 instead of ad-hoc processing of ("dir" apropos history toc).
4638 (Info-index-nodes): Use Info-virtual-file-p
4639 to check for a virtual file instead of checking a fixed list
4641 (Info-index-node): Add check for `Info-current-node-virtual'.
4642 Raise `save-match-data' higher up the tree to contain
4643 `search-forward' too (bug fix).
4644 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
4645 (Info-virtual-index-nodes): New variable.
4646 (Info-virtual-index-find-node, Info-virtual-index): New functions.
4647 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
4648 (Info-apropos-file, Info-apropos-nodes): New variables.
4649 (Info-apropos-toc-nodes, Info-apropos-find-file)
4650 (Info-apropos-find-node, Info-apropos-matches): New functions.
4651 (info-apropos): Move part of code to `Info-apropos-find-node' and
4652 `Info-apropos-matches'.
4653 (Info-mode-map): Bind "I" to `Info-virtual-index'.
4654 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
4655 for a virtual file instead of checking a fixed list of node names.
4657 * simple.el (async-shell-command): New command.
4659 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
4661 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
4662 instead of `mount-info'.
4664 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
4666 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
4667 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
4669 2009-07-02 Kenichi Handa <handa@m17n.org>
4671 * international/mule.el (set-keyboard-coding-system): Force *-unix
4672 coding-system to avoid eol conversion.
4674 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
4676 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4677 Add handler for `process-file', `shell-command' and
4678 `start-file-process'.
4679 (tramp-gvfs-handle-shell-command)
4680 (tramp-gvfs-handle-start-file-process)
4681 (tramp-gvfs-handle-process-file): New defuns.
4682 (tramp-synce-list-devices): Simplify check for existence of property.
4684 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
4686 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
4688 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
4690 * language/korean.el (set-language-info-alist): Add korean-cp949,
4693 2009-07-01 Kenichi Handa <handa@m17n.org>
4695 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
4697 * international/encoded-kb.el: Deleted.
4699 * international/mule.el (set-keyboard-coding-system): Perform the
4700 necessary setup here instead of calling encoded-kbd-setup-display.
4702 2009-07-01 Glenn Morris <rgm@gnu.org>
4704 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
4706 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
4708 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
4710 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
4712 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
4713 Handle also the 'rename case, when setting file modes. (Bug#3712)
4714 (tramp-default-file-modes) Remove execute permissions.
4716 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
4717 (top): Add a default for "synce" in `tramp-default-user-alist'.
4718 Add completion function for "synce" method.
4719 (tramp-hal-service, tramp-hal-path-manager)
4720 (tramp-hal-interface-manager, tramp-hal-interface-device):
4722 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
4723 (tramp-synce-list-devices, tramp-synce-parse-device-names):
4726 * net/trampver.el: Update release number.
4728 2009-06-30 Kenichi Handa <handa@m17n.org>
4730 * international/fontset.el (setup-default-fontset): Add CJK fonts
4731 for symbols and the other miscellaneous characters.
4733 * language/korea-util.el (setup-korean-environment-internal):
4734 Make char-width-table suitable for Korean environments.
4735 (exit-korean-environment): Cancel above.
4737 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4738 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
4739 setup-funcion to make char-widht-table suitable for respective
4740 environments, and an exit-function to cancel that.
4742 * language/japan-util.el (setup-japanese-environment-internal):
4743 Call use-cjk-char-width-table with arg `ja_JP'.
4745 * international/characters.el (cjk-char-width-table): Delete it.
4746 (cjk-char-width-table-list): New variable.
4747 (use-cjk-char-width-table): New arg local-name.
4748 (use-default-char-width-table): Fix for the case that Emacs is
4749 already using the default char-width-table.
4751 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
4753 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
4754 modes mandatory. (Bug#3712)
4756 2009-06-29 Alan Mackenzie <acm@muc.de>
4758 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
4759 correction between the visible width of TABs and their number of bytes.
4761 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
4763 * server.el (server-buffer-done): Prevent kill-buffer from
4764 prompting by clearing the buffer modification flag (Bug#3696).
4766 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
4768 * verilog-mode.el (verilog-beg-of-statement)
4769 (verilog-endcomment-reason-re): Support unique case and priority case.
4770 (verilog-basic-complete-re): Support localparam lineup.
4771 (verilog-beg-of-statement-1): Fix for robustness, unique case.
4772 (verilog-set-auto-endcomments): Fix for unique case, always_comb
4774 (verilog-leap-to-case-head): Now support *nested* unique &
4775 priority case statements.
4776 (verilog-auto-lineup): Make just declarations the default (as it
4778 (verilog-leap-to-case-head): Support priority/unique case statements.
4779 (verilog-auto-lineup): Rework to give users radio buttons to
4780 select the various styles of automatic lineup.
4781 (verilog-error-regexp-alist): Rework to support the XEmacs style
4782 of error regular expressions from compilers, lint tools &
4783 simulators. Note that GNU Emacs has made it impossible for a mode
4784 to load such things.
4785 (electric-verilog-terminate-line, verilog-indent-declaration)
4786 (verilog-auto-wiure): Rework for radio button selection of
4787 auto-lineup selection of specification of auto lineup.
4788 (verilog-beg-of-statement-1): Redesign to support proper operation
4789 in additional code, based on testing with auto-lineup.
4790 (verilog-calculate-indent, assignments & declarations)
4791 (verilog-backward-token): Enhance to support auto-lineup of
4792 assignments & declarations.
4793 (verilog-in-directive-p, verilog-at-struct-p): New function for
4794 easy test of whether we are.
4795 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
4796 to support safe execution at almost anyline.
4797 (verilog-calc-1): Properly support indenting deep inside generate
4799 (verilog-init-font) Remove definition & use of verilog-init-font,
4800 as it is redundant with font-lock-defaults.
4801 (verilog-mode): Alter the definition of verilog-font-lock-defaults
4802 to avoid circular calls if syntax-ppss is a function (as is the
4803 case now in 22.x GNU Emacs) as that function would sometimes call
4804 itself, leading to (nearly) infinite recursion.
4805 (verilog-ovm-begin-re, verilog-ovm-end-re)
4806 (verilog-ovm-statement-re, verilog-leap-to-head)
4807 (verilog-backward-token): Add support for OVM macros. Some are
4808 complete statements, and others open and close scopes like begin
4810 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
4811 (verilog-defun-level-generate-only-re): Really fix the defun-list
4813 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
4814 coverpoint, constraint and cross statements.
4815 (verilog-defun-level-list, verilog-generate-defun-level-list)
4816 (verilog-all-defun-level-list): Redo these specifications - it is
4817 too hard to support eval-when compile aggregation of lists also
4818 built at when-compile time.
4819 (verilog-defun-level-list): Place defconsts of variables used in
4820 building regular expressions which are built in eval-when-compile
4821 bodies in the same eval-when-compile body to facilitate compile
4823 (verilog-beg-block-re-ordered): Support indenting
4824 virtual/protected tasks and functions.
4825 (verilog-defun-level-list, verilog-in-generate-region-p)
4826 (verilog-backward-ws&directives, verilog-calc-1): Speed up
4827 indentation of some module items (generate items).
4828 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
4829 across virtual/protected tasks and functions.
4831 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
4833 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
4834 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
4835 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
4836 in concatenations. Reported by Yishay Belkind.
4837 (verilog-auto-ascii-enum): Support one-hot state machines in
4838 AUTOASCIIENUM. Suggested by Lloyd Gomez.
4839 (verilog-auto-inst, verilog-auto-inst-port): Include interface
4840 modport in AUTOINST and add vl-modport for users. Reported by
4842 (verilog-auto-inout-module, verilog-auto-inst)
4843 (verilog-decls-get-interfaces, verilog-insert-definition)
4844 (verilog-insert-one-definition, verilog-read-decls)
4845 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
4846 (verilog-sig-modport, verilog-signals-combine-bus)
4847 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
4848 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
4849 Suggested by David Rogoff.
4850 (verilog-repair-open-comma): Fix non-insertion of comma when
4851 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
4852 (verilog-make-width-expression): Simplify [A-1:0] expression
4853 widths to just {A{1'b0}}.
4854 (verilog-mode): Cleanup checkdoc warnings.
4855 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
4856 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
4857 inputs/outputs or data type. Suggested by Vasu Kandadi.
4858 (next-error-last-buffer): Fix byte-compiler warning.
4859 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
4860 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
4861 or shell command text during AUTO expansion. Suggested by Tad Truex.
4862 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
4863 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
4864 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
4865 in AUTOINOUT. Reported by Matthew Lovell.
4866 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
4867 causing use of <= assignments. Reported by Alex Reed.
4868 (verilog-read-decls): Fix triand, trior, wand, wor to be
4869 recognized by AUTOWIRE. Reported by Spencer Isaacson.
4870 (verilog-extended-complete-re): Support import "DPI-C" functions.
4871 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
4872 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
4873 (verilog-insert-date, verilog-insert-year)
4874 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
4875 Windows systems. Reported by Michael Potts.
4876 (verilog-read-module-name): Fix AUTOINST when the child module
4877 declaration's name is a tick define. Reported by Elliot Mednick.
4878 (verilog-read-decls): Fix V2K parameter bit subscripts getting
4879 passed to next parameter's definition. Reported by Bruce T.
4880 (verilog-read-decls): Fix detecting "parameter int" when using
4881 AUTOINSTPARAM. Reported by Bruce T.
4882 (verilog-goto-defun): Fix goto not finding modules unless first
4883 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
4884 (verilog-mode): Expand -f flag arguments on entry to mode so
4885 verilog-goto-defun will work. Reported by Lawrence Butcher.
4886 (verilog-getopt): Expand environment variables in -f file
4887 arguments. Suggested by Lawrence Butcher.
4888 (verilog-set-define): Fix "Symbol's value as variable is void"
4889 when reading enumerations.
4890 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
4891 Suggested by Stephen Peltan.
4892 (verilog-read-defines): Fix reading of enumerations in include
4893 files. Reported by Steve Peltan.
4895 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
4897 * files.el (trash-directory): Fix defcustom type.
4899 2009-06-28 Juri Linkov <juri@jurta.org>
4901 * help-fns.el (describe-function-1): Correctly locate adviced
4902 functions in hyperlink (Bug#2438).
4904 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
4906 * files.el (trash-directory): Change default to nil.
4907 (move-file-to-trash): If trash-directory is nil and
4908 system-move-file-to-trash is unbound, perform freedesktop-style
4911 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
4913 * files.el (move-file-to-trash): Add freedesktop trash
4916 2009-06-28 Glenn Morris <rgm@gnu.org>
4918 * autorevert.el (global-auto-revert-non-file-buffers)
4919 (global-auto-revert-mode): Doc fixes.
4921 2009-06-27 Johan Bockgård <bojohan@gnu.org>
4923 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
4925 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
4927 * faces.el (x-handle-named-frame-geometry): Ensure that we have
4928 opened an X connection before calling x-get-resource (Bug#3194).
4930 * play/doctor.el: Remove reference to obsolete website.
4931 (make-doctor-variables): Correct grammar mistake (Bug#2633).
4933 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
4935 Remove find-file-not-found-hook VC method. (Bug#2757)
4936 * vc-hooks.el (vc-file-not-found-hook)
4937 (vc-default-find-file-not-found-hook): Remove functions.
4938 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
4939 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
4942 * vc-git.el: Do not mention find-file-not-found-hook VC method.
4944 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4946 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
4947 compatibility function for `looking-back'.
4949 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
4950 Use `ispell-looking-back'.
4952 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
4954 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
4955 rather than `filename'.
4957 2009-06-23 Miles Bader <miles@gnu.org>
4959 * face-remap.el (text-scale-set): New function.
4961 2009-06-23 Glenn Morris <rgm@gnu.org>
4963 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
4965 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
4967 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
4969 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
4971 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4972 Simplify Persian conditionals.
4974 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
4975 variable `filename'.
4977 * comint.el (comint-insert-input): Doc fix.
4979 * Makefile.in (ELCFILES): Fix typo in previous change.
4981 2009-06-23 Miles Bader <miles@gnu.org>
4983 * cus-start.el: Add entry for `recenter-redisplay'.
4985 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4987 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
4988 Add an optional argument for the backend, use it instead of
4990 (vc-mode-line): Add an optional argument for the backend.
4991 Pass the backend to vc-state and vc-working-revision. Move code for
4992 special handling for vc-state being a buffer to ...
4994 * vc-rcs.el (vc-rcs-find-file-hook):
4995 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
4997 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
4998 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
4999 vc-stay-local-p and vc-mode-line calls.
5001 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
5002 (vc-cvs-diff, vc-cvs-annotate-command)
5003 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
5004 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
5007 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
5009 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
5010 backend when calling vc-mode-line.
5011 (vc-register): Do not create a closure for calling the vc register
5012 function, call it directly.
5014 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
5016 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
5017 to make it obvious item can be clicked.
5019 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
5021 2009-06-23 Kenichi Handa <handa@m17n.org>
5023 * language/korea-util.el (korean-key-bindings): Change the binding
5024 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
5027 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
5029 Sync with Tramp 2.1.16.
5031 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
5033 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
5034 when a loading of a package fails. Completion function for rsync
5035 is `tramp-completion-function-alist-ssh'.
5036 (all): Replace all calls of `split-string' and
5037 `tramp-split-string' by `tramp-compat-split-string'.
5038 (tramp-default-method): Use `tramp-compat-process-running-p'.
5039 (tramp-default-proxies-alist): Allow also Lisp forms.
5040 (tramp-remote-path): Add choice "Private Directories".
5041 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
5042 (tramp-domain-regexp): Allow also "-", "_" and ".".
5043 (tramp-end-of-output): Remove newlines, and add "$" at the end.
5044 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
5045 (tramp-debug-message): Insert header line in debug buffer.
5046 (tramp-handle-directory-files-and-attributes-with-stat):
5047 Care about filenames with spaces, or starting with "-".
5048 (tramp-handle-dired-uncache): New defun.
5049 (tramp-handle-insert-directory): Don't flush the directory from
5050 cache, this is handled by `dired-uncache' now.
5051 (tramp-handle-insert-file-contents): Improve error handling.
5052 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5053 Quote `tramp-end-of-output'.
5054 (tramp-action-password): Improve trace message.
5055 (tramp-check-for-regexp): Both echoes must be present, before removing.
5056 (tramp-open-connection-setup-interactive-shell): Trace coding system.
5057 (tramp-compute-multi-hops): Eval cons cells of
5058 `tramp-default-proxies-alist'.
5059 (tramp-maybe-open-connection): Use the same command pattern for
5060 first hop and further hops.
5061 (tramp-wait-for-output): Remove handling of newlines.
5062 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
5063 (tramp-split-string): Remove function. It is handled in
5066 * net/tramp-cmds.el (tramp-bug):
5067 Recommend `tramp-cleanup-all-connections' in the bug mail.
5069 * net/tramp-compat.el (tramp-compat-split-string)
5070 (tramp-compat-process-running-p): New defuns.
5072 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
5073 for `dired-uncache'.
5075 * net/tramp-gvfs.el: New package.
5077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5078 Add handler for `dired-uncache'.
5079 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
5081 * net/trampver.el: Update release number. Make version check fit
5084 2009-06-22 Jim Meyering <meyering@redhat.com>
5086 Automatically handle .xz suffix (XZ-compressed files), too.
5087 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
5088 XZ is the successor to LZMA: <http://tukaani.org/xz/>
5090 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
5091 Nick Roberts <nickrob@snap.net.nz>
5093 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
5094 repository (http://sphinx.net.ru/hg/gdb-mi/).
5096 2009-06-22 Glenn Morris <rgm@gnu.org>
5098 * files.el (dir-locals-collect-mode-variables): Allow for any number of
5099 `mode' and `eval' entries. (Bug#3430)
5101 * Makefile.in (ELCFILES): Add fadr.elc.
5103 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
5104 differing behavior of \n and ^ in strings. (Bug#3385)
5106 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
5108 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
5110 (lisp-indent-function): Make it a defcustom.
5112 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
5114 * progmodes/gdb-ui.el: Replace with ...
5115 * progmodes/gdb-mi.el: ... this file.
5116 * progmodes/gud.el: Modify for gdb-mi.el.
5118 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
5120 * fadr.el: New file.
5122 See ChangeLog.14 for earlier changes.
5128 Copyright (C) 2009 Free Software Foundation, Inc.
5130 This file is part of GNU Emacs.
5132 GNU Emacs is free software: you can redistribute it and/or modify
5133 it under the terms of the GNU General Public License as published by
5134 the Free Software Foundation, either version 3 of the License, or
5135 (at your option) any later version.
5137 GNU Emacs is distributed in the hope that it will be useful,
5138 but WITHOUT ANY WARRANTY; without even the implied warranty of
5139 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5140 GNU General Public License for more details.
5142 You should have received a copy of the GNU General Public License
5143 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
5145 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1