1 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
3 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
4 from xterm-set-background-mode. Return t if the background mode
6 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7 earlier, call it again in case the background mode has changed.
9 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
16 * emacs-lisp/assoc.el (aelement): Doc fix.
17 (aput, adelete, amake): Use lexical-let (Bug#5450).
19 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
21 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
22 is the same as subprogram call, not declaration. (Bug#5435).
24 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
26 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
27 (tramp-smb-maybe-open-connection): Use it.
29 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
31 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
33 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
35 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
36 just because we see "encoding: 8bit".
37 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
39 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
41 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
43 2010-01-22 Eli Zaretskii <eliz@gnu.org>
45 * jka-compr.el (jka-compr-load): If load-file is not in
46 load-history, try its file-truename version. (bug#5447)
48 2010-01-21 Alan Mackenzie <acm@muc.de>
50 Fix a situation where deletion of a cpp construct throws an error.
51 * progmodes/cc-engine.el (c-invalidate-state-cache): Before
52 invoking c-with-all-but-one-cpps-commented-out, check that the
53 special cpp construct is still in the buffer.
54 (c-parse-state): Record the special cpp with markers, not numbers.
56 2010-01-21 Kenichi Handa <handa@m17n.org>
58 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
59 process last-command-event, as it is now decoded first (Bug#5380).
61 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
63 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
65 2010-01-20 Glenn Morris <rgm@gnu.org>
67 * indent.el (tab-always-indent): Fix custom-type.
69 2010-01-19 Alan Mackenzie <acm@muc.de>
71 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
72 buffer throws "args out of range".
73 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
74 playing the role of delimiter.
76 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
78 * lisp/progmodes/ada-mode.el: Fix bug#5400.
79 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
80 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
81 changed. Delete RECURSIVE parameter; never used. Improve doc string.
82 Improve comments in "is" portion. Handle null procedure declaration.
83 (ada-move-to-end): Improve doc string.
85 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
87 * ido.el (ido-cur-list): Initialize to nil.
88 Remove obsolete information from commentary.
89 (ido-choice-list): Initialize to nil.
90 (ido-get-bufname): Reject minibuffers.
91 (ido-make-buffer-list): If "default" is a nonexistent
92 buffer, ignore it, as per the function's comment.
93 (ido-kill-buffer-internal): New function.
94 (ido-kill-buffer-at-head): Use it.
95 (ido-visit-buffer): Likewise.
97 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
99 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
101 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
103 * cedet/ede/locate.el (ede-locate-file-in-project)
104 (ede-locate-file-in-project-impl): Fix typos in docstrings.
105 (ede-enable-locate-on-project): Fix typos in error messages.
107 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
108 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
109 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
110 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
111 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
112 Fix typos in menu help.
114 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
115 Fix typos in chart titles.
117 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
118 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
119 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
120 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
121 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
122 (semantic-parse-stream, semantic-parse-region)
123 (semantic-parse-region-default, semantic--set-buffer-cache)
124 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
125 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
126 (semantic-default-submodes):
127 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
128 (semanticdb-create-ebrowse-database)
129 (semanticdb-find-tags-for-completion-method)
130 (semanticdb-find-tags-by-class-method)
131 (semanticdb-deep-find-tags-by-name-method)
132 (semanticdb-deep-find-tags-for-completion-method):
133 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
134 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
135 (semanticdb-find-tags-for-completion-method)
136 (semanticdb-find-tags-by-class-method)
137 (semanticdb-deep-find-tags-for-completion-method):
138 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
139 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
140 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
141 (semanticdb-find-tags-by-name-method)
142 (semanticdb-find-tags-by-name-regexp-method)
143 (semanticdb-find-tags-for-completion-method)
144 (semanticdb-find-tags-by-class-method)
145 (semanticdb-find-tags-external-children-of-type-method)
146 (semanticdb-find-tags-subclasses-of-type-method)
147 (semanticdb-deep-find-tags-by-name-method)
148 (semanticdb-deep-find-tags-by-name-regexp-method)
149 (semanticdb-deep-find-tags-for-completion-method):
150 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
151 (semanticdb-enable-gnu-global-in-buffer)
152 (semanticdb-find-tags-for-completion-method)
153 (semanticdb-deep-find-tags-by-name-method)
154 (semanticdb-deep-find-tags-for-completion-method):
155 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
156 (javascript-mode, semanticdb-find-translate-path)
157 (semanticdb-find-tags-for-completion-method)
158 (semanticdb-find-tags-by-class-method)
159 (semanticdb-deep-find-tags-by-name-method)
160 (semanticdb-deep-find-tags-for-completion-method)
161 (semanticdb-find-tags-external-children-of-type-method):
162 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
163 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
164 (global-semantic-idle-scheduler-mode):
165 * cedet/srecode/dictionary.el (srecode-field-value)
166 (srecode-dictionary-add-section-dictionary):
167 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
168 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
169 (describe-class, eieio-describe-generic, describe-generic):
170 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
171 (eieio-speedbar-expand):
172 * emulation/viper-cmd.el (viper-exec-form-in-vi)
173 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
174 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
175 (viper-del-backward-char-in-replace, viper-backward-indent)
176 (viper-brac-function, viper-register-to-point, viper-submit-report):
177 * net/tramp.el (tramp-remote-coding-commands):
178 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
179 Fix typos in docstrings.
181 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
183 * mail/sendmail.el (mail-yank-original): Set the mark if the
184 specified function for yanking does not do it.
186 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
188 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
190 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
191 resyncing a directory.
193 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
195 * progmodes/ada-mode.el: Fix bug#1920.
196 (ada-ident-re): Delete ., allow multibyte characters.
197 (ada-goto-label-re): New; matches goto labels.
198 (ada-block-label-re): New; matches block labels.
199 (ada-label-re): New; matches both.
200 (ada-named-block-re): Deleted; callers changed to use
201 `ada-block-label-re' instead.
202 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
203 Use `ada-block-label-re'.
204 (ada-indent-on-previous-lines): Improve handling of goto labels.
205 (ada-get-indent-block-start): Special-case block label.
206 (ada-get-indent-label): Split into `ada-indent-block-label' and
207 `ada-indent-goto-label'.
208 (ada-goto-stmt-start, ada-goto-next-non-ws):
209 Optionally ignore goto labels.
210 (ada-goto-next-word): Simplify.
211 (ada-indent-newline-indent-conditional): Insert newline before
212 trying to fix indentation; doc fix.
214 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
216 * calc/calc.el (calc-command-flags): Give it an initial value.
218 2010-01-17 Glenn Morris <rgm@gnu.org>
220 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
222 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
224 * cedet/semantic.el (semantic-mode):
225 * files.el (minibuffer-with-setup-hook):
226 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
227 (artist-key-draw-continously, artist-key-do-continously-continously)
228 (artist-key-set-point-continously, artist-mouse-draw-continously):
229 Fix typos in docstrings.
231 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
233 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
236 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
238 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
239 can parse the output of the external commands (Bug#5279).
241 2010-01-16 Jari Aalto <jari.aalto@cante.net>
243 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
245 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
247 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
249 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
251 * startup.el (command-line): Remove unused --icon-type arg.
252 Handle --display arg, passing it to command-line-1 (Bug#5392).
254 2010-01-16 Mario Lang <mlang@delysid.org>
256 * cedet/ede/cpp-root.el (ede-cpp-root-project):
257 * cedet/ede/files.el (ede-expand-filename):
258 * cedet/ede/simple.el (ede-simple-project):
259 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
260 (semantic-complete-inline-tag-engine):
261 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
262 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
263 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
264 * cedet/semantic/db.el (semanticdb-equivalent-mode):
265 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
266 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
267 * emacs-lisp/chart.el (chart-translate-namezone):
268 * textmodes/artist.el (artist-compute-popup-menu-table):
269 Remove duplicated words in doc-strings.
271 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
273 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
274 to mairix-search to suppress threading (Bug#5342).
276 2010-01-15 Kenichi Handa <handa@m17n.org>
278 * international/mule-cmds.el (canonicalize-coding-system-name):
279 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
281 2010-01-15 Glenn Morris <rgm@gnu.org>
283 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
285 * wid-edit.el (widget-keymap): Doc fix.
287 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
288 former seems to be more widely accepted by various svn versions.
290 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
292 * find-cmd.el (find-constituents):
293 * vc-arch.el (vc-arch-root):
294 * window.el (window-body-height, pop-up-frames):
295 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
296 (semantic-no-reparse-needed-change-hook):
297 * cedet/srecode/insert.el (srecode-resolve-argument-list)
298 (srecode-template-inserter-blank, srecode-template-inserter-variable)
299 (srecode-template-inserter-ask, srecode-template-inserter-width)
300 (srecode-template-inserter-section-start)
301 (srecode-template-inserter-section-end, srecode-insert-method):
302 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
303 * progmodes/ada-stmt.el (ada-if):
304 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
305 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
306 (ispell-encoding8-command, ispell-aspell-supports-utf8)
307 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
309 * progmodes/flymake.el (flymake-post-syntax-check):
310 Fix typo in error message.
312 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
314 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
315 which is always a string. (Bug#5313)
317 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
319 * progmodes/ada-xref.el (ada-default-prj-properties):
320 Simplify previous change.
322 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
324 * progmodes/ada-xref.el (ada-default-prj-properties):
325 Default ada_project_path to $ADA_PROJECT_PATH.
327 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
329 * progmodes/ada-mode.el (ada-create-keymap):
330 Override `narrow-to-defun' with `ada-narrow-to-defun'.
332 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
334 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
335 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
336 (ada-get-current-indent, ada-imenu-generic-expression)
337 (ada-which-function): Check for it.
339 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
341 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
342 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
344 2010-01-14 Glenn Morris <rgm@gnu.org>
346 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
348 2010-01-14 Kenichi Handa <handa@m17n.org>
350 * composite.el (auto-composition-mode): Make it a buffer local
351 variable (permanent-local).
352 (auto-composition-function): Set the default value to
354 (auto-composition-mode): Make it a simple function, not a minor mode.
355 (global-auto-composition-mode): Likewise.
356 (turn-on-auto-composition-if-enabled): Delete it.
358 2010-01-13 Karl Fogel <kfogel@red-bean.com>
360 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
362 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
364 * files.el (copy-directory): Compute target for recursive
365 directories with identical names. (Bug#5343)
367 2010-01-12 Glenn Morris <rgm@gnu.org>
369 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
370 it to bug-gnu-emacs rather than emacs-pretest-bug.
372 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
374 * cedet/data-debug.el (data-debug): Fix customization group reference.
376 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
378 * cedet/semantic/analyze.el (semantic-analyze-push-error)
379 (semantic-analyze-context, semantic-analyze-context-assignment)
380 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
381 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
382 (semantic-java-doc-keywords-map):
383 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
384 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
385 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
386 (semantic-c-classname, semantic-format-tag-uml-prototype)
387 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
388 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
389 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
390 (semantic-get-local-variables, semantic-end-of-command)
391 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
393 * cedet/semantic/bovine/make.el (makefile-mode):
394 * cedet/semantic/wisent/python.el (wisent-python-string-re)
395 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
396 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
397 (semantic-lex, semantic-get-local-variables, python-mode):
398 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
399 * cedet/srecode/extract.el (srecode-extract-state-set)
400 (srecode-extract-method): Fix typos in docstrings.
402 2010-01-11 Sam Steingold <sds@gnu.org>
404 * imenu.el (imenu-default-create-index-function): Detect infinite
405 loops caused by imenu-prev-index-position-function.
407 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
409 * htmlfontify.el (htmlfontify-load-rgb-file)
410 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
411 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
412 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
413 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
414 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
415 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
416 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
417 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
418 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
419 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
420 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
421 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
422 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
423 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
424 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
425 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
426 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
427 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
428 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
429 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
430 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
431 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
432 backslash-quoting from parentheses, etc.
434 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
436 * progmodes/js.el: Autoload javascript-mode alias.
438 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
440 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
441 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
442 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
443 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
444 Fix typos in docstrings.
445 (ffap-url-regexp): Doc fix.
446 (ffap-at-mouse): Fix typo in message.
448 2010-01-11 Glenn Morris <rgm@gnu.org>
450 * version.el (emacs-copyright): Set copyright year to 2010.
452 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
454 * format.el (format-annotate-function): Only set
455 write-region-post-annotation-function after running to-fn so as not to
456 affect nested write-region calls (bug#5273).
458 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
460 * cedet/semantic.el (semantic-new-buffer-setup-functions):
463 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
466 2010-01-10 Richard Kim <emacs18@gmail.com>
468 * cedet/semantic/wisent/python-wy.el:
469 * cedet/semantic/wisent/python.el: New files.
471 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
473 * man.el (Man-goto-section): Signal error if the section is not
476 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
478 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
479 URLs with a leading triple slash in the file: scheme. (Bug#5345)
481 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
483 * progmodes/compile.el: Don't treat compile-command as safe if
484 compilation-read-command might be nil (Bug#4218).
486 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
488 * startup.el (command-line-1): Use orig-argi to check for ignored X and
491 2010-01-08 Kenichi Handa <handa@m17n.org>
493 * international/fontset.el (build-default-fontset-data):
494 Exclude characters in scripts kana, hangul, han, or cjk-misc.
496 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
498 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
499 to `create-file-buffer' as it expects, not just a buffer name.
500 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
501 to help uniquify. (Bug#3224)
503 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
505 * font-setting.el (font-setting-change-default-font): Use user-spec
508 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
510 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
512 2010-01-05 Tom Tromey <tromey@redhat.com>
514 * progmodes/python.el (python-font-lock-keywords):
515 Handle qualified decorators (Bug#881).
517 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
519 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
520 in a lightweight checkout.
522 2010-01-05 Kenichi Handa <handa@m17n.org>
524 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
526 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
528 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
530 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
532 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
534 (vc-bzr-log-view-mode): Also highlight the author.
535 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
536 (vc-bzr-shelve-menu-map):
537 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
538 (vc-bzr-shelve-apply): Make prompt more explicit.
540 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
542 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
543 They are valid characters in URL paths (rfc3986), and at least
544 Firefox does not understand the encoded version (Bug#3166).
546 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
548 * progmodes/octave-mod.el (octave-end-keywords)
549 (octave-block-begin-or-end-regexp, octave-block-match-alist):
550 Add "end" keyword (Bug#3061).
551 (octave-end-as-array-index-p): New function.
552 (calculate-octave-indent): Use it.
554 2010-01-02 Karl Fogel <kfogel@red-bean.com>
556 * bookmark.el: Consistently put the text property on the bookmark name.
557 (bookmark-bmenu-marks-width): Bump back to 2, to include
559 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
560 property on the bookmark name, instead of not putting it at all.
561 (bookmark-bmenu-list): Fix where we put the text property.
563 2010-01-02 Karl Fogel <kfogel@red-bean.com>
565 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
566 for showing buffer modified state (as added in the previous change).
568 2010-01-02 Karl Fogel <kfogel@red-bean.com>
570 * bookmark.el: Show modified state of bookmark buffer more accurately.
571 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
572 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
573 (with-buffer-modified-unmodified): New macro.
574 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
575 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
576 Use new macro to preserve the buffer modified state.
578 2010-01-02 Karl Fogel <kfogel@red-bean.com>
580 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
581 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
582 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
583 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
584 (bookmark-bmenu-rename, bookmark-bmenu-locate)
585 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
586 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
588 2010-01-02 Eli Zaretskii <eliz@gnu.org>
590 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
591 Make the lines in the generated doc string shorter. (Bug#4668)
593 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
595 * net/rcirc.el: Add follow-link binding (Bug#4738).
597 2010-01-02 Eli Zaretskii <eliz@gnu.org>
599 * Makefile.in (bzr-update): Rename from cvs-update.
600 (cvs-update): New target for backward compatibility.
602 * makefile.w32-in (bzr-update): Rename from cvs-update.
603 (cvs-update): New target for backward compatibility.
605 2010-01-02 Karl Fogel <kfogel@red-bean.com>
607 * bookmark.el: Remove gratuitous gratitude.
609 2010-01-02 Karl Fogel <kfogel@red-bean.com>
611 * bookmark.el (bookmark-bmenu-any-marks): New function
612 (bookmark-bmenu-save): Clear buffer modification if no marks.
614 2010-01-02 Karl Fogel <kfogel@red-bean.com>
616 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
617 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
618 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
619 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
621 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
622 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
623 To: emacs-devel {_AT_} gnu.org
624 Subject: bookmark.el bug report
625 Date: Mon, 28 Dec 2009 14:19:16 +0800
626 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
628 2010-01-02 Karl Fogel <kfogel@red-bean.com>
630 * bookmark.el: Improvements suggested by Drew Adams:
631 (bookmark-bmenu-ensure-position): New name for
632 `bookmark-bmenu-check-position'. Just ensure the position,
633 don't return any meaningful value.
634 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
637 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
639 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
640 (bookmark-yank-point, bookmark-bmenu-check-position):
641 Fix typos in docstrings.
642 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
643 (bookmark-name-from-full-record, bookmark-get-position)
644 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
645 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
646 Remove useless quoting of parenthesis, etc. in docstrings.
648 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
649 (ediff-append-custom-diff): Fix typo in error message.
650 (ediff-meta-mark-equal-files): Fix typos in messages.
652 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
654 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
655 Fix typo in docstring.
657 * net/imap-hash.el (imap-hash-make): Doc fix.
658 (imap-hash-test): Fix typo in error message; reflow docstring.
659 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
660 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
661 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
662 Fix typos in docstrings.
663 (imap-hash-open-connection): Fix typo in error message.
665 * play/gomoku.el (gomoku): Fix typos in docstring.
667 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
668 (gdb-jsonify-buffer): Fix typos in docstring.
669 (gdb-goto-breakpoint): Fix typo in error message.
670 ("Display Other Windows"): Fix typo in help message.
671 (gdb-speedbar-expand-node): Fix typo in question.
673 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
674 (idlwave-html-system-help-location, idlwave-html-help-location)
675 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
676 (idlwave-help-browser-generic-args, idlwave-help-directory)
677 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
678 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
679 (idlwave-online-help, idlwave-help-html-link)
680 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
681 Fix typos in docstrings.
682 (idlwave-help-with-source, idlwave-help-find-routine-definition):
684 (idlwave-help-assistant-start): Fix typo in error message.
686 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
687 (octave-electric-space): Fix typos in docstrings.
689 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
691 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
693 2010-01-01 Juri Linkov <juri@jurta.org>
695 * comint.el (comint-input-ring-size): Make it a defcustom and
696 increase the default to 500 (Bug#5148).
698 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
700 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
701 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
702 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
704 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
706 Show working revision correctly for mercurial.
707 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
708 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
710 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
712 Declare some functions for the byte-compiler.
713 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
714 (speedbar-timer-fn, speedbar-change-expand-button-char)
715 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
717 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
719 This changeset reverts GDB Graphical Interface to use annotations.
720 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
722 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
724 Make vc-dir work on subdirectories of the bzr root.
725 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
726 file names relative to it.
727 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
728 relative directory to vc-bzr-after-dir-status.
730 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
732 * font-lock.el (font-lock-refresh-defaults): New function, which
733 can be used to let font-lock react to external changes in
734 variables like font-lock-defaults and keywords.
735 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
737 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
739 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
741 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
743 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
745 Supersede color.diff settings in git log (bug#5211).
747 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
748 escape chars in its output when the user has color.diff set to `always'.
749 This fix works on git 1.4.2 and newer (released on 2006-08-13).
751 2009-12-26 Kevin Ryde <user42@zip.com.au>
753 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
754 node. Keep previous "Index" name to work with past coreutils too.
756 * man.el (man): Revise docstring a bit to show -a and -l as
757 examples. Add -k description since support for it has otherwise
758 been a secret. (Further to bug#3717.)
759 (Man-bgproc-sentinel): When "-k foo" produces no output show error
760 "no matches" rather than "Can't find manpage", as the latter reads
761 like -k was interpreted as a page name, which is not so. (Bug#5431)
763 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
765 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
766 switches. Check also for //SUBDIRED// line.
768 2009-12-25 Kenichi Handa <handa@m17n.org>
770 * language/indian.el (devanagari-composable-pattern): Fixed to
771 handle ZWNJ and ZWJ. Use it in composition-function-table for
773 (malayalam-composable-pattern): Fix previous change.
775 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
777 * ps-print.el (ps-face-attributes): It was not returning the
778 attribute face for faces specified as string. Reported by harven
780 (ps-print-version): New version 7.3.5.
782 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
784 * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
786 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
787 (icalendar--add-diary-entry): Remove the trailing blank that
788 diary-make-entry inserts.
790 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
792 Make `file-expand-wildcards' work for remote files.
794 * files.el (file-expand-wildcards): In case of remote files, check
795 only local file name part for wildcards. Provide feature 'files
796 and subfeature 'remote-wildcards. (Bug#5198)
798 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
799 if there is already an established connection.
800 (tramp-advice-file-expand-wildcards): Remove it.
802 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
803 (tramp-advice-file-expand-wildcards): Moved from tramp.el.
804 Activate advice for older GNU Emacs versions. (Bug#5237)
806 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
808 Some doc fixes (more needed).
810 * find-cmd.el (find-constituents): Reflow docstring.
811 (find-cmd, find-prune, find-command): Fix typos in docstrings.
812 (find-generic): Doc fix.
814 2009-12-17 Juri Linkov <juri@jurta.org>
816 Fix regression from 23.1 to allow multiple modes in Local Variables.
818 * files.el (hack-local-variables-filter): While ignoring duplicates,
819 don't take `mode' into account.
820 (hack-local-variables-filter, hack-dir-local-variables): Don't
821 remove duplicate `mode' from local-variables-alist (like `eval').
823 2009-12-17 Juri Linkov <juri@jurta.org>
825 Make `dired-diff' more safe. (Bug#5225)
827 * dired-aux.el (dired-diff): Signal an error when `file' equals to
828 `current' or when `file' is a directory of the `current' file.
830 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
832 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
833 unconditionally preloaded files.
835 2009-12-16 Juri Linkov <juri@jurta.org>
837 Revert to old 23.1 logic of using the file at the mark as default.
838 * dired-aux.el (dired-diff): Use the file at the mark as default
839 if it's not the same as the current file, and the target dir is
840 the current dir or the mark is active. Add the current file
841 as the arg of `dired-dwim-target-defaults'. Use the default file
842 in the prompt. (Bug#5225)
844 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
846 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
847 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
848 (tramp-check-for-regexp): Check also, when an echoing shell stops
849 to echo sent commands.
851 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
853 * Makefile.in: Revert last change (Bug#5191).
855 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
857 * vc-hg.el (vc-hg-print-log): Fix argument order.
858 (vc-hg-working-revision): Make sure the command is executed in a
859 known environment so that we can parse the output. (Bug#4417)
861 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
863 * progmodes/python.el (python-symbol-completions): Remove text
864 properties from symbol string before calling python-send-receive.
866 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
868 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
869 when there are values for both file and line. (Bug#5060)
871 2009-12-14 Juri Linkov <juri@jurta.org>
873 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
874 whitespace after the file name of the first line of unified format,
875 because git-diff doesn't output whitespace and file modification time
878 2009-12-14 David Kastrup <dak@gnu.org>
880 * info.el (Info-hide-cookies-node): Before hiding a cookie,
881 check if it already has the `display' property added by
882 `Info-display-images-node', and not put the `invisible' property
885 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
887 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
888 (semantic-mru-bookmark-mode): Doc fixes.
890 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
893 2009-12-13 Glenn Morris <rgm@gnu.org>
895 * mail/emacsbug.el (message-sort-headers): Define for compiler.
896 (report-emacs-bug): In message-mode, sort manually before storing
897 original report text. (Bug#5178)
898 Remove superfluous save-excursion.
900 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
902 * net/dbus.el (dbus-property-handler): Filter lambda forms out
903 when responding to "GetAll" properties.
905 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
907 * simple.el (compose-mail): Remove mail-setup-with-from from
908 customization checks.
910 2009-12-12 Eli Zaretskii <eliz@gnu.org>
912 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
913 RAR archives created on Unix systems.
915 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
917 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
918 the varalias that was accidentally removed by the 2009-11-19 change
921 2009-12-12 Kenichi Handa <handa@m17n.org>
923 * language/indian.el (indian-compose-regexp): New function.
924 (malayalam-composable-pattern): Fix the pattern.
925 (composition-function-table): Set malayalam-composable-pattern for
926 Malayalam characters.
928 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
930 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
931 rather than down-mouse-1, based on follow-link conventions.
933 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
936 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
938 * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
939 (verilog-vmm-statement-re, verilog-ovm-statement-re)
940 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
941 (verilog-leap-to-head, verilog-backward-token):
942 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
944 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
946 * verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
947 Cleanup user-visible spelling and documentation errors.
948 One reported by Gary Delp.
949 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
950 (verilog-read-decls): Fix AUTOWIRE with types declared in a
951 package, bug195. Reported by Pierre-David Pfister.
953 2009-12-11 Glenn Morris <rgm@gnu.org>
955 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
957 * mail/emacsbug.el: No longer require sendmail.
958 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
959 (report-emacs-bug-orig-text): Doc fix.
960 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
961 New local variables, to adapt to different mail-user-agents.
962 (report-emacs-bug): Fix test for a gnu.org address.
963 Use overlays for emphasis, since font-lock defeats 'face property.
964 Pretest bugs also end up at the newsgroup these days.
965 Stop message-mode stripping text properties.
966 Set and use the new buffer-local variables.
967 (report-emacs-bug-hook): Add doc-string.
968 Remove some unnecessary save-excursions and simplify.
969 Use the appropriate hook and send-command.
971 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
972 capitalization of some menu entries.
974 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
976 * whitespace.el (whitespace-display-char-on): Ensure
977 `buffer-display-table' is unique when two or more windows are
978 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
981 2009-12-10 Eli Zaretskii <eliz@gnu.org>
983 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
984 characters in the Attribute field.
986 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
988 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
990 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
992 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
993 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
994 Disregard autoload-excludes.
995 (update-directory-autoloads): Obey autoload-excludes here instead.
996 But don't store its contents in no-autoloads and remove entries that
997 refer to excludes files.
999 2009-12-10 Glenn Morris <rgm@gnu.org>
1001 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
1002 (expand-mail-aliases): Define for compiler.
1004 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
1005 Define for compiler.
1007 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
1008 appropriate for the mail-user-agent in use.
1010 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
1012 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
1014 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
1016 Fix short log parsing and fontification.
1017 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
1018 Fix fontification for the [merge] label.
1020 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
1022 Drop some properties to avoid surprises.
1023 * htmlfontify.el (hfy-ignored-properties): New defcustom.
1024 (hfy-fontify-buffer): Use it.
1026 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
1031 (ffap-locate-file): Remove unused arg `dir-ok' and make other
1032 args compulsory. Adjust callers.
1033 (ffap-gopher-at-point): Remove unused var `name'.
1035 Get rid of the ELCFILES abomination.
1036 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
1037 (compile-elcfiles): New phony target.
1038 (compile-main): Compute ELCFILES dynamically.
1039 (compile-clean): New target to remove left-over elc files.
1040 (compile, all): Use it.
1042 2009-12-09 Kenichi Handa <handa@etlken>
1044 * international/mule-diag.el: Require help-mode instead of help-fns.
1046 2009-12-09 Kenichi Handa <handa@m17n.org>
1048 * international/mule-cmds.el (ucs-names): Supply sufficiently
1049 fine ranges instead of pre-calculating accurate ranges.
1050 Iterate with bigger gc-cons-threshold.
1052 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
1054 Add support for stashing a snapshot of the current tree.
1055 * vc-git.el (vc-git-stash-snapshot): New function.
1056 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
1058 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
1060 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
1061 instead of `(beginning|end)-of-line'.
1063 2009-12-08 Glenn Morris <rgm@gnu.org>
1065 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
1067 * Makefile.in (ELCFILES): Regenerate.
1069 2009-12-07 Juri Linkov <juri@jurta.org>
1071 Don't lazy-highlight the comint output in history Isearch mode.
1073 * comint.el (comint-history-isearch-search): Instead of
1074 `comint-line-beginning-position', use `comint-after-pmark-p'
1075 to check if point if before the process mark, and go to
1076 `process-mark' in this case.
1078 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * textmodes/tex-mode.el (latex-complete)
1081 (latex-indent-or-complete): Remove.
1082 (latex-mode): Set completion-at-point-functions instead.
1084 Provide a standard completion command and hook it into TAB.
1085 * minibuffer.el (completion-at-point-functions): New var.
1086 (completion-at-point): New command.
1087 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
1088 * progmodes/python.el (python-mode-map): Use completion-at-point.
1089 (python-completion-at-point): Rename from python-partial-symbol and
1090 adjust for use in completion-at-point-functions.
1091 (python-mode): Setup completion-at-point for Python completion.
1092 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
1093 extracted from lisp-complete-symbol.
1094 (lisp-complete-symbol): Use it.
1095 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
1096 setup completion-at-point for Elisp completion.
1097 (emacs-lisp-mode-map, lisp-interaction-mode-map):
1098 Use completion-at-point.
1099 * ielm.el (ielm-map): Use completion-at-point.
1100 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
1101 * progmodes/sym-comp.el: Move to...
1102 * obsolete/sym-comp.el: Move from progmodes.
1104 2009-12-07 Eli Zaretskii <eliz@gnu.org>
1106 Prevent save-buffer in Rmail buffers from using the coding-system
1107 of the current message, and from clobbering the encoding mnemonics
1108 in the mode line (Bug#4623).
1110 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
1112 (rmail-message-encoding): New variable.
1113 (rmail-write-region-annotate): Record the encoding of the current
1114 message in rmail-message-encoding.
1115 (rmail-after-save-hook): New function, restores the encoding of
1116 the current message after the message collection is saved.
1118 2009-12-07 Juri Linkov <juri@jurta.org>
1120 * progmodes/grep.el (grep-read-files): Use `completing-read'
1121 instead of `read-string'. Set its `collection' arg to
1122 `read-file-name-internal'. (Bug#4301)
1124 2009-12-07 Juri Linkov <juri@jurta.org>
1126 Correctly restore original Isearch point. (Bug#4994)
1128 * isearch.el (isearch-mode): Move `isearch-push-state' after
1129 `(run-hooks 'isearch-mode-hook)'.
1130 (isearch-cancel): When `isearch-push-state-function' is defined,
1131 let-bind `isearch-cmds' to the first state (the last element of
1132 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
1133 function and restores the original point). Otherwise, move point
1134 to `isearch-opoint'.
1136 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
1139 chars that don't have names, so the table can be built much faster at
1142 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
1144 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
1145 change. Suggested by David Kastrup.
1147 * simple.el (compose-mail): Check for incompatibilities and warn.
1148 (compose-mail-user-agent-warnings): New option.
1150 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
1152 Support showing a single log entry from vc-annotate.
1153 * vc.el (print-log): Add a new argument: START-REVISION.
1154 (vc-print-log-internal): Add a new optional argument and
1155 pass it to the backend.
1156 (vc-print-log, vc-print-root-log): Adjust callers.
1157 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
1158 buffer already displays the requested log entry, use it.
1159 Otherwise display only the log entry in question.
1160 * vc-svn.el (vc-svn-print-log):
1161 * vc-mtn.el (vc-mtn-print-log):
1162 * vc-hg.el (vc-hg-state):
1163 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
1164 (vc-git-show-log-entry): Return t on success.
1165 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
1166 (vc-bzr-show-log-entry): Return t on success.
1167 * vc-rcs.el (vc-rcs-print-log):
1168 * vc-sccs.el (vc-sccs-print-log):
1169 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
1171 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
1173 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
1174 Add menus to the meta mode. (Bug#5043)
1176 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
1178 * ediff-init.el (ediff-event-key): Use event-to-character instead of
1181 * ediff.el (ediff-buffers-internal): Add unwind-protect.
1183 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
1185 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
1186 Berbain <raphael.berbain@gmail.com>.
1188 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
1190 (tramp-initial-end-of-output): New defconst.
1191 (tramp-methods, tramp-find-shell)
1192 (tramp-open-connection-setup-interactive-shell)
1193 (tramp-maybe-open-connection): Use it.
1194 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
1195 existence of `#' and `$'.
1197 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
1198 `tramp-initial-end-of-output'.
1200 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
1202 Get the background mode from the terminal for xterm, and set
1204 * term/xterm.el (xterm-set-background-mode): New function.
1205 (terminal-init-xterm): Use it in case xterm supports background
1206 color queries. Recompute faces after getting the background
1209 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
1211 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
1212 number comment back on its own line, for easier parsing.
1214 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1216 Make it work for non-file buffers (bug#5102).
1217 * doc-view.el (doc-view-current-cache-dir):
1218 Use doc-view-buffer-file-name rather than buffer-file-name.
1219 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
1221 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
1223 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
1224 author field is too short.
1226 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
1228 * vc-git.el (vc-git-print-log): Handle a limit argument.
1229 Display the short log in graph form and with labels.
1230 (vc-git-log-view-mode): Handle labels.
1232 Make vc-revert change VC state from 'added to 'unregistered.
1233 * vc-git.el (vc-git-revert): Call git reset first.
1235 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
1237 * net/newst-backend.el, net/newst-plainview.el:
1238 * net/newst-reader.el, net/newst-ticker.el:
1239 * net/newst-treeview.el, net/newsticker.el:
1240 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
1242 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
1244 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
1246 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
1247 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
1248 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
1249 Update annotation regexp.
1251 * simple.el (beginning-of-visual-line): Constrain to field
1252 boundaries (Bug#5106).
1254 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
1256 * xml.el (xml-substitute-numeric-entities): Move
1257 newsticker--decode-numeric-entities in newst-backend.el to
1258 xml-substitute-numeric-entities in xml.el. (Bug#5008)
1259 * net/newst-backend.el (newsticker--parse-generic-feed)
1260 (newsticker--parse-generic-items)
1261 (newsticker--decode-numeric-entities): Move
1262 newsticker--decode-numeric-entities in newst-backend.el to
1263 xml-substitute-numeric-entities in xml.el. (Bug#5008)
1265 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
1267 * progmodes/js.el (js--js-not): Add null to the list of values.
1269 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
1271 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
1273 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1275 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
1276 delimiter if it is at the end of the current line.
1277 (bibtex-generate-url-list): Fix docstring.
1279 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
1282 minibuffer's content with itself.
1283 Fold the confirm-after-completion case into the `confirm' case.
1284 (completion-pcm-word-delimiters): Add : and / to the delimiters.
1286 2009-12-06 Kevin Ryde <user42@zip.com.au>
1288 * ffap.el (ffap-rfc-path): Make this a defcustom since
1289 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
1291 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
1292 manuals, similar to existing setup for help-mode. (Bug#3913.)
1294 2009-12-05 Juri Linkov <juri@jurta.org>
1296 Save and restore dired buffer's point positions too. (Bug#4880)
1298 * dired.el (dired-save-positions): Return in the first element
1299 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
1301 (dired-restore-positions): First restore buffer's position.
1302 While restoring window's positions, check if window still displays
1303 the original buffer.
1305 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
1307 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
1310 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
1311 Make argument optional.
1313 * shell.el (shell): Require ansi-color (Bug#5113).
1315 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
1317 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
1319 2009-12-05 Alan Mackenzie <acm@muc.de>
1321 * progmodes/cc-mode.el (c-before-hack-hook)
1322 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
1323 `c-file-style' to work again. This reversion restores the current
1324 software to its state in Emacs 23.1. (Bug#4146)
1326 2009-12-05 Kevin Ryde <user42@zip.com.au>
1328 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
1329 comment-start-skip to comment-end-skip as comment (Bug#4781).
1331 2009-12-05 Juri Linkov <juri@jurta.org>
1333 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
1334 for virtual nodes. (Bug#4147)
1335 (Info-find-node-2): Set `Info-current-node-virtual' to nil
1336 when moving from a virtual node.
1337 (Info-mode-menu): Add `Info-virtual-index' to the menu.
1338 (Info-mode): Add `Info-virtual-index' to the docstring.
1340 2009-12-05 Eric Ludlam <zappo@gnu.org>
1342 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
1343 Describe project macro symbols.
1345 * cedet/semantic/complete.el (semantic-complete-do-completion):
1346 Don't call semantic-collector-current-exact-match.
1348 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
1349 ede-objects as targets.
1351 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
1352 a target's object list even if compiler vars are already in the
1355 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
1356 list of headers producing necessary macros.
1358 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1360 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
1361 track of the buffer position of the end of a BibTeX entry as this
1362 position may change during reformatting.
1363 (bibtex-format-entry): Remove whitespace before processing
1364 numerical fields so that we recognize the latter properly.
1365 (bibtex-reformat): Do not use push which changes the global value
1366 of bibtex-entry-format.
1367 (bibtex-field-braces-alist, bibtex-field-strings-alist)
1368 (bibtex-field-re-init): Replace only space characters by regexp
1370 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
1371 (bibtex-initialize): Also update bibtex-strings.
1372 (bibtex-kill-field): Preserve white space at end of entry.
1373 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
1374 Update bibtex-reference-keys.
1376 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * minibuffer.el (completion-pcm--merge-try): Also consider placing
1379 point after a star, if that's the only place where modifications can
1382 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
1384 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
1387 2009-12-04 Juri Linkov <juri@jurta.org>
1389 * proced.el (proced): Call `(proced-update t)' to update process
1390 information instead of only running proced-post-display-hook.
1391 (proced-send-signal): Add a leading space to the buffer name
1392 " *Marked Processes*" to make this buffer ephemeral.
1394 2009-12-04 Juri Linkov <juri@jurta.org>
1396 * dired.el (dired-auto-revert-buffer): New defcustom.
1397 (dired-internal-noselect): Use it.
1399 2009-12-04 Juri Linkov <juri@jurta.org>
1401 Change roles of modes and functions in image-mode.el (Bug#5062).
1403 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
1404 in `auto-mode-alist'.
1405 (image-mode-previous-major-mode): New variable.
1406 (image-minor-mode-map): Rename from `image-mode-text-map'.
1407 (image-mode): Move graceful error-handling code from
1408 `image-minor-mode' to here. On errors call `image-mode-as-text'.
1409 (image-minor-mode): Remove all image-handling code.
1410 Replace `image-mode-text-map' with `image-minor-mode-map'.
1411 Check for `image-type' in mode-line format string.
1412 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
1413 (image-mode-as-text): New function with most code from
1415 (image-toggle-display-text): Move code that removes image
1416 properties from `image-toggle-display' to here.
1417 (image-toggle-display-image): New function with code that adds
1418 image properties copied from `image-toggle-display'.
1419 (image-toggle-display): Remove most code with leaving only code
1420 that toggles between `image-mode-as-text' and `image-mode'.
1422 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
1424 * net/newst-treeview.el
1425 (newsticker--treeview-list-highlight-start): Restored call to
1426 save-excursion: Selected item was stuck.
1427 (newsticker--treeview-list-select): New.
1428 (newsticker--treeview-item-show-text)
1429 (newsticker--treeview-item-show)
1430 (newsticker--treeview-item-update): Use new
1431 newsticker-treeview-item-mode.
1432 (newsticker-treeview-update): Keep current item.
1433 (newsticker-treeview-next-new-or-immortal-item): Doc change.
1434 (newsticker--treeview-first-feed): Doc change.
1435 (newsticker-treeview-list-menu)
1436 (newsticker-treeview-item-menu): Added menu entries.
1437 (newsticker-treeview-item-mode): New.
1439 * net/newst-backend.el (newsticker-customize): Delete other
1442 2009-12-04 Sam Steingold <sds@gnu.org>
1444 * log-view.el (log-view-mode-map): "q" calls quit-window,
1445 like in all the other non-self-insert buffers.
1447 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1450 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
1451 key decoding rather than do it manually via last-input-event +
1453 (term-exec): Use delete-and-extract-region.
1454 (term-handle-ansi-terminal-messages): Remove unused var `end'.
1455 (term-process-pager): Remove unused var `i'.
1456 (term-dynamic-simple-complete): Make obsolete.
1457 (serial-update-config-menu): Remove unused vars `y' and `str'.
1458 (term-update-mode-line): Remove unused var `temp'.
1460 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1462 Limit the number of log entries displayed by default.
1463 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
1464 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
1465 using a prefix argument.
1467 2009-12-03 Glenn Morris <rgm@gnu.org>
1469 * progmodes/idlwave.el (class): Restore still useful declaration.
1471 2009-12-03 Alan Mackenzie <acm@muc.de>
1473 Enhance `c-parse-state' to run efficiently in "brace deserts".
1475 * progmodes/cc-mode.el (c-basic-common-init):
1476 Call c-state-cache-init.
1477 (c-neutralize-syntax-in-and-mark-CPP): Rename from
1478 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
1479 placing `category' properties value 'c-cpp-delimiter at its boundaries.
1481 * progmodes/cc-langs.el (c-before-font-lock-function):
1482 c-extend-and-neutralize-syntax-in-CPP has been renamed
1483 c-neutralize-syntax-in-and-mark-CPP.
1485 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
1486 with `category' properties now, not `syntax-table' ones.
1488 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
1489 enhanced (but slower) version of c-end-of-macro that won't land
1490 inside a literal or on another awkward character.
1491 (c-state-cache-too-far, c-state-cache-start)
1492 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
1493 (c-state-nonlit-pos-cache-limit, c-state-point-min)
1494 (c-state-point-min-lit-type, c-state-point-min-lit-start)
1495 (c-state-min-scan-pos, c-state-brace-pair-desert)
1496 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
1497 buffer local variables.
1498 (c-state-literal-at, c-state-lit-beg)
1499 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
1500 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
1501 (c-state-cache-top-paren, c-state-cache-after-top-paren)
1502 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
1503 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
1504 (c-renarrow-state-cache)
1505 (c-append-lower-brace-pair-to-state-cache)
1506 (c-state-push-any-brace-pair, c-append-to-state-cache)
1507 (c-remove-stale-state-cache)
1508 (c-remove-stale-state-cache-backwards, c-state-cache-init)
1509 (c-invalidate-state-cache-1, c-parse-state-1)
1510 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
1511 (c-parse-state): Enhance and refactor.
1512 (c-debug-parse-state): Amend to deal with all the new variables.
1514 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
1515 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
1516 modify to use category text properties rather than syntax-table ones.
1517 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
1518 to switch off/on the syntactic paren property of C++ template
1519 delimiters using the category property.
1520 (c-with-<->-as-parens-suppressed): Macro to invoke code with
1521 template delims suppressed.
1522 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
1523 New constant/macros which apply category properties to the start
1524 and end of preprocessor constructs.
1525 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
1526 "comment out" the syntactic value of characters in preprocessor
1528 (c-with-cpps-commented-out)
1529 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
1530 with characters in all or all but one preprocessor constructs
1533 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1535 * proced.el (proced-filter-alist): Use regexp-quote.
1537 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
1540 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
1541 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
1542 arguments. Expand `default-directory'.
1544 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
1545 the benefit of returning an expanded localname.
1546 (tramp-tramp-file-p): Handle the case NAME is not a string.
1548 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1550 Add support for bzr shelve/unshelve.
1551 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
1552 (vc-bzr-extra-menu-map): New variables.
1553 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
1554 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
1555 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
1556 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
1557 (vc-bzr-dir-extra-headers): Display shelves.
1559 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
1561 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * textmodes/bibtex.el (bibtex-complete-internal):
1564 Use completion-in-region.
1565 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
1567 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1569 Support applying stashes. Improve UI.
1570 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
1571 (vc-git-stash-apply, vc-git-stash-pop)
1572 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
1573 (vc-git-stash-menu): New functions.
1574 (vc-git-stash-menu-map): New variable.
1575 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
1577 2009-12-03 Glenn Morris <rgm@gnu.org>
1579 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
1580 (vc-print-log-internal): Fix previous change.
1581 (vc-revert): Correct pluralization.
1583 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * progmodes/make-mode.el (makefile-special-targets-list): No need for
1586 it to be an alist any more.
1587 (makefile-complete): Use completion-in-region.
1589 * progmodes/octave-mod.el (octave-complete-symbol):
1590 Use completion-in-region.
1593 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
1594 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
1595 (idlwave-complete-class): Don't quote lambda.
1596 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
1597 (idlwave-mode-map): Move initialization into declaration.
1598 (idlwave-action-and-binding): Use backquotes.
1599 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
1601 (idlwave-is-pointer-dereference): Remove unused var `pos'.
1602 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
1603 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
1604 `parts', and `all-parts'.
1605 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
1606 (idlwave-convert-xml-system-routine-info): Remove unused string
1608 (idlwave-display-user-catalog-widget): Use dolist.
1609 (idlwave-scanning-lib): Declare dynamically-scoped var.
1610 (idlwave-scan-library-catalogs): Remove unused var `flags'.
1611 (completion-highlight-first-word-only): Declare to silence bytecomp.
1612 (idlwave-popup-select): Tighten scope of `resp'.
1613 (idlwave-find-struct-tag): Remove unused var `beg'.
1614 (idlwave-after-load-rinfo-hook): Declare.
1615 (idlwave-sintern-class-info): Remove unused var `taglist'.
1616 (idlwave-find-class-definition): Remove unused var `list'.
1617 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
1618 (idlwave-what-module-find-class): Remove unused var `classes'.
1620 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
1622 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
1624 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
1627 buffers visited. Remove redundant current-buffer-saving.
1629 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1631 Use completion-in-buffer and remove uses of dynamic scoping.
1632 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
1633 (pascal-buffer-to-use, pascal-flag): Don't declare.
1634 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
1635 (pascal-get-completion-decl, pascal-keyword-completion):
1636 Add `pascal-str' argument, save-excursion,
1637 return the found completions, and don't filter with pascal-pred.
1638 (pascal-completion-cache): New var.
1639 (pascal-completion): Don't switch buffer any more (it was never
1640 necessary). Don't save-excursion any more (it's done by the called
1641 subroutines). Use a cache to avoid redundant computations.
1642 Use complete-with-action rather than pascal-completion-response and
1643 let it apply the predicate as well.
1644 (pascal-complete-word): Use completion-in-buffer when
1645 pascal-toggle-completions is nil.
1646 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
1648 (pascal-comp-defun): Don't change buffer any more.
1649 Use complete-with-action rather than pascal-completion-response and
1650 let it apply the predicate as well.
1651 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
1654 2009-12-02 Kenichi Handa <handa@m17n.org>
1656 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
1657 shape for all Indic scripts.
1659 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1661 Use completion-in-buffer.
1662 * wid-edit.el (widget-field-text-end): New function.
1663 (widget-field-value-get): Use it.
1664 (widget-string-complete, widget-file-complete)
1665 (widget-color-complete): Use it and completion-in-region.
1666 (widget-complete): Don't narrow the buffer.
1668 2009-12-02 Glenn Morris <rgm@gnu.org>
1670 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
1671 (rmail-select-summary): Use rmail-pop-to-buffer.
1672 * mail/rmailsum.el: Replace all pop-to-buffer calls with
1673 rmail-pop-to-buffer, to prevent horizontal splits.
1675 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
1676 save-excursion with save-current-buffer.
1677 Widen before searching. (Bug#5093)
1678 (diary-list-sexp-entries): Remove superfluous save-excursion.
1680 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
1682 * woman.el (woman-make-bufname): Handle man-pages with "." in the
1685 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
1687 * ido.el (ido-file-internal): Handle filenames at point that do
1688 not have a directory part. (Bug#5049)
1690 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
1692 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
1693 (mpc-songs-jump-to, mpc-resume): Doc fixes.
1695 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
1697 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
1698 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
1701 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * comint.el (comint-insert-input): Ignore clicks to the right of
1704 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
1706 * vc.el (vc-print-log-internal): Don't wait for the process to
1707 terminate before setting up the major mode.
1709 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
1712 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
1715 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
1717 2009-12-01 Glenn Morris <rgm@gnu.org>
1719 * window.el (window--display-buffer-2): Fix previous changes.
1721 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
1723 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
1725 2009-12-01 Glenn Morris <rgm@gnu.org>
1727 * Makefile.in (ELCFILES): Add mpc.elc.
1729 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1733 2009-12-01 Glenn Morris <rgm@gnu.org>
1735 * window.el (window-to-use): Define for compiler.
1737 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
1738 consistent with others (no final period).
1740 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
1741 (rmail-mime-show): Downcase the encoding. (Bug#5070)
1743 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1745 Make vc-print-log buttons work.
1746 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
1748 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
1750 * savehist.el (savehist-autosave-interval): Allow setting to nil
1751 through customize. (Bug#5056)
1753 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
1755 Fix references to jit-lock properties.
1756 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1757 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
1758 (perl-font-lock-special-syntactic-constructs):
1759 Quote jit-lock-defer-multiline property.
1761 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
1763 * vc-git.el (vc-git-registered): Call vc-git-root only once.
1765 2009-11-30 Juri Linkov <juri@jurta.org>
1767 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
1768 value `buffer' of `multi-isearch-next-buffer-current-function'.
1769 Use `(current-buffer)' when `buffer' is nil.
1770 (multi-isearch-next-buffer-from-list): Don't fallback to
1771 `(current-buffer)' when `buffer' is nil. (Bug#4947)
1773 2009-11-30 Juri Linkov <juri@jurta.org>
1775 * misearch.el (multi-isearch-read-buffers): Move canonicalization
1776 of buffers with `get-buffer' to `multi-isearch-buffers'.
1777 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1778 Canonicalize BUFFERS with `get-buffer'. Doc fix.
1779 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
1780 FILES with `expand-file-name' converting relative file names
1781 to absolute. Doc fix. (Bug#4727)
1783 2009-11-30 Juri Linkov <juri@jurta.org>
1785 * misearch.el (multi-isearch-read-buffers)
1786 (multi-isearch-read-matching-buffers): New functions.
1787 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1788 Use them in the `interactive' spec. Doc fix.
1789 (multi-isearch-read-files, multi-isearch-read-matching-files):
1791 (multi-isearch-files, multi-isearch-files-regexp):
1792 Use them in the `interactive' spec. Doc fix. (Bug#4725)
1794 2009-11-30 Juri Linkov <juri@jurta.org>
1796 * doc-view.el (doc-view-continuous):
1797 Rename from `doc-view-continuous-mode'.
1798 (doc-view-menu): Move "Toggle display" to the top.
1799 Add submenu "Continuous" with radio buttons "Off"/"On"
1800 and "Save as Default".
1801 (doc-view-scroll-up-or-next-page)
1802 (doc-view-scroll-down-or-previous-page)
1803 (doc-view-next-line-or-next-page)
1804 (doc-view-previous-line-or-previous-page): Rename
1805 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
1807 2009-11-30 Juri Linkov <juri@jurta.org>
1809 * comint.el (comint-mode-map): Rebind `M-r' from
1810 `comint-previous-matching-input' to
1811 `comint-history-isearch-backward-regexp'.
1812 Unbind `M-s' to allow global key binding `M-s'.
1813 Add menu items for `comint-history-isearch-backward' and
1814 `comint-history-isearch-backward-regexp'. (Bug#3746)
1816 2009-11-30 Juri Linkov <juri@jurta.org>
1818 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
1819 For def=recenter, replace `recenter' with `recenter-top-bottom'
1820 that is called with `this-command' and `last-command' let-bound
1821 to `recenter-top-bottom'. When the last `def' was not `recenter',
1822 set `recenter-last-op' to nil. (Bug#4981)
1824 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
1826 Minor cleanup and simplification.
1827 * filecache.el (file-cache-add-directory)
1828 (file-cache-add-directory-recursively)
1829 (file-cache-add-from-file-cache-buffer)
1830 (file-cache-delete-file-regexp, file-cache-delete-directory)
1831 (file-cache-files-matching-internal, file-cache-display): Use dolist.
1832 (file-cache-temp-minibuffer-message): Delete function.
1833 (file-cache-minibuffer-complete): Use minibuffer-message instead.
1835 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
1836 Don't signal an error when bumping into EOB in tr, s, or y.
1838 2009-11-29 Juri Linkov <juri@jurta.org>
1840 * startup.el (fancy-about-text): Fix wording of Guided Tour.
1843 * descr-text.el (describe-char-unidata-list): Use lowercase name
1844 for "Unicode name" like in other tags.
1846 2009-11-29 Juri Linkov <juri@jurta.org>
1848 * ediff-util.el (ediff-minibuffer-with-setup-hook):
1849 New compatibility macro.
1850 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
1852 2009-11-29 Juri Linkov <juri@jurta.org>
1854 Add defcustom to define the cycling order of `recenter-top-bottom'.
1857 * window.el (recenter-last-op): Doc fix.
1858 (recenter-positions): New defcustom.
1859 (recenter-top-bottom): Rewrite to use `recenter-positions'.
1860 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
1862 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
1864 Improve integration of Tramp and ange-ftp in eshell.
1866 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
1867 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
1868 (eshell/sudo): Flatten args. Let-bind `default-directory'.
1870 * eshell/esh-util.el (top): Require also Tramp when compiling.
1871 (eshell-directory-files-and-attributes): Check for FTP remote
1873 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
1874 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
1875 (eshell-file-attributes): Handle ".". Return `entry'.
1877 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
1878 (ange-ftp-directory-files-and-attributes)
1879 (ange-ftp-real-directory-files-and-attributes): New defuns.
1881 * net/tramp.el (tramp-maybe-open-connection): Open the remote
1882 shell with "exec" when possible. This prevents trailing prompts
1883 in `start-file-process'.
1885 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1887 Try and remove assumptions about point-min==1.
1888 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
1889 (rng-compute-mode-line-string): Show the validation percentage in
1890 terms of the narrowed text, not the widened text.
1891 (rng-do-some-validation): Don't catch internal errors when debugging.
1892 (rng-first-error): Simplify.
1893 (rng-after-change-function): Remove work around. AFAIK the bug has
1894 been fixed a while ago.
1896 * image-mode.el (image-minor-mode): Exit more gracefully when the image
1897 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
1899 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
1901 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
1902 `cd' doesn't always do it for us (bug#5067).
1904 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
1905 on 2009-10-25 as part of some other change (bug#5067).
1907 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1909 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1911 (byte-compile-warnings): Use byte-compile-warning-types.
1912 (byte-compile-save-excursion): Warn about use of set-buffer right
1913 after save-excursion.
1915 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
1916 the excursion as well.
1918 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
1920 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
1921 providing a Tramp related implementation of "su" and "sudo".
1922 (eshell-unix-initialize): Add "su" and "sudo".
1924 2009-11-27 Daiki Ueno <ueno@unixuser.org>
1926 * net/socks.el (socks-send-command): Convert binary request to
1927 unibyte before sending. This fixes mishandling of some port
1928 numbers such as 129.
1930 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * help.el (describe-bindings-internal): Remove `interactive'.
1934 * man.el (Man-completion-table): Trim a terminating "(".
1935 Remove the space between name page a section.
1936 Add the command's description on the `help-echo' property.
1937 Remove `process-connection-type' binding since it's unused by
1939 Provide completion for the "<section> <name>" format as well.
1940 (Man-default-man-entry): Remove spurious var shadowing the argument.
1942 2009-11-26 Kevin Ryde <user42@zip.com.au>
1944 * log-view.el: Add "Keywords: tools", since its other keywords
1945 aren't in finder-known-keywords, and following vc.el.
1947 * sha1.el (sha1-string-external): default-directory "/" in case
1948 otherwise non-existent. process-connection-type pipe for touch of
1949 efficiency recommended by elisp manual. (An aside in Bug#3911.)
1951 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1953 Misc coding convention cleanups.
1954 * htmlfontify.el (hfy-init-kludge-hook): Rename from
1955 hfy-init-kludge-hooks.
1956 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
1957 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
1958 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
1960 (hfy-slant, hfy-weight): Use tables rather than code.
1961 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
1962 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
1963 (hfy-face-attr-for-class): Initialize `face-spec' directly.
1964 (hfy-face-to-css): Remove `nconc' with single arg.
1965 (hfy-p-to-face-lennart): Use `or'.
1966 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
1967 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
1968 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
1969 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
1970 (hfy-force-fontification): Use run-hooks.
1972 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
1974 Various minor fixes.
1975 * htmlfontify.el (hfy-default-header): Add toggle_invis since
1976 Javascript belongs in the header, not the body.
1977 (hfy-javascript): Remove.
1978 (hfy-fontify-buffer): Don't insert it any more.
1979 (hfy-face-at): Handle (face0 face1 face2) style face properties.
1980 Fix bug in invis handling when there were no invis props in a chunk.
1982 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
1986 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
1988 * finder.el (finder-mode-map): Add a menu.
1990 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
1992 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
1995 (verilog-leap-to-head, verilog-backward-token): Handle "disable
1996 fork" statement better.
1998 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
2000 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
2001 (verilog-delete-empty-auto-pair, verilog-library-filenames):
2002 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
2004 (verilog-auto-inst, verilog-auto-star-safe)
2005 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
2006 Fix removing "// Interfaces" when saving .* expansions. Reported by
2007 Pierre-David Pfister.
2009 2009-11-26 Glenn Morris <rgm@gnu.org>
2011 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
2014 2009-11-25 Johan Bockgård <bojohan@gnu.org>
2016 * vc-annotate.el (vc-annotate-revision-previous-to-line):
2017 Really use previous revision.
2019 2009-11-25 Kevin Ryde <user42@zip.com.au>
2021 * man.el (Man-completion-table): default-directory "/" in case
2022 doesn't otherwise exist. process-environment COLUMNS=999 so as
2023 not to truncate long names. process-connection-type pipe to avoid
2024 any chance of hitting the pseudo-tty TIOCGWINSZ.
2025 (man): completion-ignore-case t for friendliness and since man
2026 itself is case-insensitive on the command line.
2027 Further to Bug#3717.
2029 * arc-mode.el: Add "Keywords: files", so the details in its
2030 commentary can be reached from finder-by-keyword.
2031 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
2032 editing mode, but it's comms related and sgml-mode.el has "comm"
2034 * textmodes/bibtex-style.el: Add "Keywords: tex".
2035 * international/isearch-x.el, international/ja-dic-cnv.el:
2036 * international/ja-dic-utl.el, international/kkc.el:
2037 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
2039 2009-11-25 Juri Linkov <juri@jurta.org>
2041 * man.el (Man-completion-table): Modify regexp to include
2042 section names to completion strings. (Bug#3717)
2044 2009-11-25 Juri Linkov <juri@jurta.org>
2046 Search recursively in gzipped files. (Bug#4982)
2048 * progmodes/grep.el (grep-highlight-matches): Add new options
2049 `always' and `auto'. Doc fix.
2050 (grep-process-setup): Check `grep-highlight-matches' for
2051 `auto-detect' to determine the need to compute grep defaults.
2052 Move Windows/DOS specific --colors settings handling
2053 to `grep-compute-defaults'. Check `grep-highlight-matches'
2054 to get the value of "--color=".
2055 (grep-compute-defaults): Compute `grep-highlight-matches' when it
2056 has the value `auto-detect'. Move Windows/DOS specific settings
2057 from `grep-process-setup'.
2058 (zrgrep): New command with alias `rzgrep'.
2060 2009-11-25 Juri Linkov <juri@jurta.org>
2062 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
2063 to nil instead of switching off view-mode. (Bug#4896)
2065 2009-11-25 Juri Linkov <juri@jurta.org>
2067 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
2069 * mwheel.el (mwheel-scroll-up-function)
2070 (mwheel-scroll-down-function): New defvars.
2071 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
2072 `scroll-up', and `mwheel-scroll-down-function' instead of
2075 * doc-view.el (doc-view-scroll-up-or-next-page)
2076 (doc-view-scroll-down-or-previous-page): Add optional ARG.
2077 Use this ARG in the call to image-scroll-up/image-scroll-down.
2078 Change `interactive' spec to "P". Goto next/previous page only
2079 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
2080 SPC/DEL case). Doc fix.
2081 (doc-view-next-line-or-next-page)
2082 (doc-view-previous-line-or-previous-page): Rename arg to ARG
2084 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
2085 `doc-view-scroll-up-or-next-page', and buffer-local
2086 `mwheel-scroll-down-function' to
2087 `doc-view-scroll-down-or-previous-page'.
2089 2009-11-25 Juri Linkov <juri@jurta.org>
2091 Provide additional default values (directories at other Dired
2092 windows) via M-n in the minibuffer of some Dired commands.
2094 * dired-aux.el (dired-diff, dired-compare-directories)
2095 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
2096 `minibuffer-default' in `minibuffer-with-setup-hook'.
2097 (dired-dwim-target-directory): Find a window that displays Dired
2098 buffer instead of failing when the next window is not Dired.
2099 Use `get-window-with-predicate' to find for the next Dired window.
2100 (dired-dwim-target-defaults): New function.
2102 * ediff-util.el (ediff-read-file-name):
2103 Use `dired-dwim-target-defaults' to set `minibuffer-default'
2104 in `minibuffer-with-setup-hook'.
2106 2009-11-25 Juri Linkov <juri@jurta.org>
2108 Provide additional default values (file name at point or at the
2109 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
2111 * minibuffer.el (read-file-name-defaults): New function.
2112 (read-file-name): Reset `minibuffer-default' to nil when
2113 it duplicates initial input `insdef'.
2114 Bind `minibuffer-default-add-function' to lambda that
2115 calls `read-file-name-defaults' in `minibuffer-selected-window'.
2116 (minibuffer-insert-file-name-at-point): New command.
2118 * files.el (file-name-at-point-functions): New defcustom.
2119 (find-file-default): Remove defvar.
2120 (find-file-read-args): Don't use `find-file-default'.
2121 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
2122 to `read-file-name'.
2123 (find-file-literally): Use `read-file-name' with
2124 `confirm-nonexistent-file-or-buffer'.
2126 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
2128 * dired.el (dired-read-dir-and-switches):
2129 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
2130 to `read-file-name'.
2131 (dired-file-name-at-point): New function.
2132 (dired-mode): Add hook `dired-file-name-at-point' to
2133 `file-name-at-point-functions'.
2135 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2137 Really make the *Completions* window soft-dedicated (bug#5030).
2138 * window.el (window--display-buffer-2): Add `dedicated' argument.
2139 (display-buffer): Pass it when needed so the dedicated flag is set
2140 after calling set-window-buffer, which would otherwise reset it.
2142 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2144 * progmodes/meta-mode.el (meta-complete-symbol):
2145 * progmodes/etags.el (complete-tag):
2146 * mail/mailabbrev.el (mail-abbrev-complete-alias):
2147 Use completion-in-region.
2149 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
2150 (dabbrev-completion): Use completion-in-region.
2151 (dabbrev--abbrev-at-point): Simplify regexp.
2153 * abbrev.el (abbrev--before-point): Use word-motion functions
2154 if :regexp is not specified (bug#5031).
2156 * subr.el (string-prefix-p): New function.
2158 * man.el (Man-completion-cache): New var.
2159 (Man-completion-table): Use it.
2161 * vc.el (vc-print-log-internal): Make `limit' optional for better
2162 compatibility (e.g. with vc-annotate.el).
2164 2009-11-24 Kevin Ryde <user42@zip.com.au>
2166 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
2167 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
2169 * emacs-lisp/elint.el (elint-add-required-env): Better error message
2170 when .el source file not found or other error.
2172 2009-11-24 Markus Triska <markus.triska@gmx.at>
2174 * linum.el (linum-update-window): Ignore intangible (bug#4996).
2176 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2178 Handle the [back] button properly (bug#4979).
2179 * descr-text.el (describe-text-properties): Add a `buffer' argument.
2180 Use help-setup-xref, help-buffer, and with-help-window.
2181 (describe-char): Add `buffer' argument.
2182 Pass proper command to help-setup-xref. Don't meddle with
2183 help-xref-stack-item directly.
2184 (describe-text-category): Use with-help-window and help-buffer.
2186 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
2187 for the displayed buffer (bug#4887).
2189 * man.el (Man-completion-table): New function.
2192 2009-11-24 David Reitter <david.reitter@gmail.com>
2194 * vc-git.el (vc-git-registered): Use checkout directory (where
2195 .git is) rather than the file's directory and a relative path spec
2196 to work around a bug in git.
2198 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
2200 Improve handling of processes on remote hosts.
2202 * eshell/esh-util.el (eshell-path-env): New defvar.
2203 (eshell-parse-colon-path): New defun.
2204 (eshell-file-attributes): Use `eshell-parse-colon-path'.
2206 * eshell/esh-ext.el (eshell-search-path):
2207 Use `eshell-parse-colon-path'.
2208 (eshell-remote-command): Remove argument HANDLER.
2209 (eshell-external-command): Check for FTP remote connection.
2211 * eshell/esh-proc.el (eshell-gather-process-output):
2212 Use `file-truename', in order to start also symlinked files.
2213 Apply `start-file-process' instead of `start-process'.
2214 Shorten `command' to the local file name part.
2216 * eshell/em-cmpl.el (eshell-complete-commands-list):
2217 Use `eshell-parse-colon-path'.
2219 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
2221 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
2222 to `eshell-directory-change-hook'.
2224 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
2226 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
2227 because it could be enabled automatically if view-read-only is non-nil.
2229 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
2231 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
2234 2009-11-24 Glenn Morris <rgm@gnu.org>
2236 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
2237 deleted variable bookmark-bmenu-bookmark-column.
2239 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2240 Move after definition of global-semantic-idle-tag-highlight-mode.
2242 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2244 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
2246 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
2248 * net/browse-url.el (browse-url-filename-alist): On Windows, add
2249 two slashes to the "file:" prefix.
2250 (browse-url-file-url): De-munge Cygwin filenames before passing
2251 them to Windows browser.
2252 (browse-url-default-windows-browser): Use call-process.
2254 2009-11-23 Juri Linkov <juri@jurta.org>
2256 Implement DocView Continuous mode. (Bug#4896)
2257 * doc-view.el (doc-view-continuous-mode): New defcustom.
2258 (doc-view-mode-map): Bind C-n/<down> to
2259 `doc-view-next-line-or-next-page', C-p/<up> to
2260 `doc-view-previous-line-or-previous-page'.
2261 (doc-view-next-line-or-next-page)
2262 (doc-view-previous-line-or-previous-page): New commands.
2264 2009-11-23 Juri Linkov <juri@jurta.org>
2266 Implement Isearch in comint input history. (Bug#3746)
2267 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
2268 `isearch-mode-hook'.
2269 (comint-history-isearch): New defcustom.
2270 (comint-history-isearch-backward)
2271 (comint-history-isearch-backward-regexp): New commands.
2272 (comint-history-isearch-message-overlay): New buffer-local variable.
2273 (comint-history-isearch-setup, comint-history-isearch-end)
2274 (comint-goto-input, comint-history-isearch-search)
2275 (comint-history-isearch-message, comint-history-isearch-wrap)
2276 (comint-history-isearch-push-state)
2277 (comint-history-isearch-pop-state): New functions.
2279 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
2281 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
2283 (tramp-handle-make-symbolic-link)
2284 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
2286 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
2287 (tramp-handle-process-file): Use it.
2289 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * window.el (move-to-window-line-last-op): Remove.
2292 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
2294 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
2296 Make M-r mirror the new cycling behavior of C-l.
2297 * window.el (move-to-window-line-last-op): New var.
2298 (move-to-window-line-top-bottom): New command.
2299 (global-map): Bind M-r move-to-window-line-top-bottom.
2301 2009-11-23 Sven Joachim <svenjoac@gmx.de>
2303 * dired-x.el (dired-guess-shell-alist-default):
2304 Support xz format. (Bug#4953)
2306 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2308 * cedet/srecode/map.el (srecode-get-maps):
2309 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2310 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2311 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
2312 (semantic-toggle-decoration-style):
2313 * cedet/semantic/decorate/include.el
2314 (semantic-decoration-include-describe)
2315 (semantic-decoration-unknown-include-describe)
2316 (semantic-decoration-unparsed-include-describe)
2317 (semantic-decoration-all-include-summary):
2318 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
2319 * cedet/semantic/analyze/complete.el
2320 (semantic-analyze-possible-completions):
2321 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
2322 (semantic-show-unmatched-syntax-mode)
2323 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2324 (semantic-highlight-func-mode):
2325 * cedet/semantic/util.el (semantic-describe-buffer):
2326 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
2327 (semantic-symref-find-tags-by-name)
2328 (semantic-symref-find-tags-by-regexp)
2329 (semantic-symref-find-tags-by-completion)
2330 (semantic-symref-find-file-references-by-name)
2331 (semantic-symref-find-text):
2332 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
2334 * cedet/semantic/scope.el (semantic-calculate-scope):
2335 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2336 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
2337 (define-semantic-idle-service):
2338 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
2339 (semantic-complete-analyze-inline-idle):
2340 * cedet/semantic/analyze.el (semantic-analyze-current-context):
2341 * cedet/mode-local.el (describe-mode-local-bindings)
2342 (describe-mode-local-bindings-in-mode):
2343 * cedet/ede/make.el (ede-make-check-version):
2344 * cedet/ede/locate.el (ede-enable-locate-on-project):
2345 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
2346 (cedet-idutils-version-check):
2347 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
2348 (cedet-gnu-global-version-check):
2349 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
2350 (cedet-cscope-version-check): Use called-interactively-p instead
2353 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
2354 Use semantic-format-tag-prototype.
2356 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
2358 * emulation/viper-cmd.el: Use viper-last-command-char instead of
2359 last-command-char/last-command-event.
2360 (viper-prefix-arg-value): Do correct conversion of event-char for
2363 * emulation/viper-util.el, emulation/viper.el:
2364 Use viper-last-command-char instead of
2365 last-command-char/last-command-event.
2367 * ediff-init.el, ediff-mult.el, ediff-util.el:
2368 Replace last-command-char and last-command-event
2369 with (ediff-last-command-char) everywhere.
2371 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
2372 created in fundamental mode.
2374 * ediff.el (ediff-version): Revert the change of interactive-p to
2375 called-interactively-p.
2377 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
2379 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
2380 generation from word-movement command names.
2382 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2384 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
2385 (semantic-complete-jump-local, semantic-complete-jump):
2386 Improve prompt string.
2388 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
2390 * cus-start.el (all): Add native condition for font-use-system-font.
2392 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
2394 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
2395 Correct the patch from 2009-11-18. (Bug#3910)
2397 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
2399 * progmodes/subword.el: Rename from lisp/subword.el.
2401 * subword.el: Rename to progmodes/subword.el.
2403 * Makefile.in (ELCFILES): Adapt to subword.el move.
2405 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2406 Stefan Monnier <monnier@iro.umontreal.ca>
2408 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
2409 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
2410 (bookmark-bmenu-show-filenames): Use push.
2411 (bookmark-bmenu-hide-filenames): Use local var instead of
2412 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
2413 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
2414 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
2415 filenames now that the bookmark names are always available.
2417 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2419 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
2420 (bookmark-search-pattern): Move and leave unbound.
2421 (bookmark-bmenu-mode-map): Change binding.
2422 (bookmark-read-search-input): Simplify.
2423 Don't use text-char-description. Don't error on non-char events.
2424 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
2425 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
2426 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
2427 Use a local var for the timer.
2428 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
2429 (i.e. bookmark-bmenu-search).
2431 2009-11-21 Glenn Morris <rgm@gnu.org>
2433 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
2435 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
2437 * net/browse-url.el (browse-url-default-windows-browser):
2438 Use cygstart for cygwin.
2440 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
2442 * bookmark.el: Formatting and doc fixes only:
2443 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
2444 (bookmark-bmenu-search): Wrap to fit within 80 columns.
2445 Minor grammar and punctuation fixes in doc string.
2446 (bookmark-read-search-input): Adjust to fit within 80 columns.
2448 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
2450 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2451 (c-backward-into-nomenclature): Adapt to subword renaming.
2453 * subword.el (subword-forward, subword-backward, subword-mark)
2454 (subword-kill, subword-backward-kill, subword-transpose)
2455 (subword-downcase, subword-upcase, subword-capitalize)
2456 (subword-forward-internal, subword-backward-internal):
2457 Rename from forward-subword, backward-subword, mark-subword,
2458 kill-subword, backward-kill-subword, transpose-subwords,
2459 downcase-subword, upcase-subword, capitalize-subword,
2460 forward-subword-internal, backward-subword-internal.
2462 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2464 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
2466 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
2468 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
2469 (bookmark-bmenu-filter-alist-by-regexp)
2470 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
2471 (bookmark-bmenu-search): New command.
2472 (bookmark-bmenu-mode-map): Bind it.
2474 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2476 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
2478 * cedet/semantic/idle.el (define-semantic-idle-service)
2479 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2481 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
2483 * progmodes/cc-cmds.el: declare-functioned forward-subword and
2484 backward-subword to quit the byte-compiler.
2486 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
2488 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
2490 * progmodes/cc-cmds.el (c-update-modeline)
2491 (c-forward-into-nomenclature, c-backward-into-nomenclature):
2492 Refer to subword.el functions instead of cc-subword.el.
2494 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
2495 subword.el functions instead of cc-subword.el.
2497 * progmodes/cc-subword.el: Rename to subword.el.
2498 * subword.el: Rename from progmodes/cc-subword.el.
2499 (subword-mode-map): Rename from c-subword-mode-map.
2500 (subword-mode): Rename from c-subword-mode.
2501 (global-subword-mode): New global minor mode.
2502 (forward-subword): Rename from c-forward-subword.
2503 (backward-subword): Rename from c-backward-subword.
2504 (mark-subword): Rename from c-mark-subword.
2505 (kill-subword): Rename from c-kill-subword.
2506 (backward-kill-subword): Rename from c-backward-kill-subword.
2507 (transpose-subwords): Rename from c-tranpose-subword.
2508 (downcase-subword): Rename from c-downcase-subword.
2509 (capitalize-subword): Rename from c-capitalize-subword.
2510 (forward-subword-internal): Rename from c-forward-subword-internal.
2511 (backward-subword-internal): Rename from c-backward-subword-internal.
2513 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
2515 * vc.el (vc-deduce-fileset): Allow non-state changing operations
2516 from a dired buffer.
2517 (vc-dired-deduce-fileset): New function.
2518 (vc-root-diff, vc-print-root-log): Use it.
2520 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
2521 nil LIMIT argument to vc-print-log-internal.
2523 2009-11-20 Glenn Morris <rgm@gnu.org>
2525 * Makefile.in (ELCFILES): Regenerate.
2527 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2529 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
2531 * cedet/semantic.el: Enable idle-mode menu items only if
2532 global-semantic-idle-scheduler-mode is enabled.
2533 (semantic-default-submodes): Doc fix.
2535 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2536 When turning off, disable other idle modes.
2538 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
2540 * calc/calc.el (calc-set-mode-line):
2541 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2542 (math-format-number): Rename `math-format-complement-signed' to
2543 `math-format-twos-complement'.
2545 * calc/calc-bin.el (math-format-twos-complement): Rename from
2546 math-format-complement-signed.
2547 (calc-radix): Rename `calc-complement-signed-mode' to
2548 `calc-twos-complement-mode'.
2549 (calc-octal-radix, calc-hex-radix): Add an argument for
2552 * calc/calc-embed.el (calc-embedded-mode-vars):
2553 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2555 * calc/calc-ext.el (calc-init-extensions):
2556 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2557 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2559 * calc/calc-units.el (math-build-units-table-buffer):
2560 Let `calc-twos-complement-mode' be nil.
2562 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
2565 * calc/calc-vec.el (calcFunc-vunpack):
2566 * calc/calc-aent.el (calc-do-calc-eval):
2567 * calc/calc-forms.el (math-format-date):
2568 * calc/calc-graph.el (calc-graph-plot):
2569 * calc/calc-math.el (math-use-emacs-fn):
2570 * calc/calccomp.el (math-compose-expr):
2571 Let `calc-twos-complement-mode' be nil.
2573 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
2576 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
2577 * minibuffer.el (completion-in-region-functions): New hook.
2578 (completion-in-region): New function.
2579 * emacs-lisp/lisp.el (lisp-complete-symbol):
2580 * pcomplete.el (pcomplete-std-complete): Use it.
2582 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2584 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
2585 (latex-complete-alist): New vars.
2586 (latex-string-prefix-p, latex-complete-bibtex-keys)
2587 (latex-complete-envnames, latex-complete-refkeys)
2588 (latex-complete-data): New functions.
2589 (latex-complete, latex-indent-or-complete): New commands.
2591 * window.el (display-buffer-mark-dedicated): New var.
2592 (display-buffer): Obey it.
2593 * minibuffer.el (minibuffer-completion-help): Use it.
2595 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
2597 * filecache.el (file-cache-add-file): Use push and cons.
2598 (file-cache-delete-file-regexp): Use push.
2599 (file-cache-complete): Use completion-in-region.
2601 * simple.el (with-wrapper-hook): Fix thinko.
2603 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
2604 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
2605 Use with-current-buffer and string-to-number.
2606 (hfy-fallback-colour-values): Use assoc-string.
2607 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
2608 (hfy-face-at): Remove unused var `found-face'.
2609 (hfy-compile-stylesheet): Remove unused var `css'.
2610 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
2612 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
2613 Use with-current-buffer.
2614 (hfy-text-p): Use expand-file-name and fewer setq.
2616 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
2618 * htmlfontify.el, hfy-cmap.el: New files.
2620 2009-11-19 Juri Linkov <juri@jurta.org>
2622 * minibuffer.el (completions-format): New defcustom.
2623 (completion--insert-strings): Implement vertical format.
2625 * simple.el (switch-to-completions): Move point to the first
2626 completion when point was at the beginning of the buffer.
2628 2009-11-19 Juri Linkov <juri@jurta.org>
2630 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
2632 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
2634 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
2636 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
2637 (mail-signature): Change default to t.
2638 (mail-from-style): Deprecate `system-default' value.
2639 (mail-insert-from-field): For default value of mail-from-style,
2640 default to `angles' unless `angles' needs quoting and `parens'
2642 (mail-citation-prefix-regexp): Use citation regexp from
2645 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
2647 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2648 Set variables for computing the prompt for reading password.
2650 2009-11-19 Glenn Morris <rgm@gnu.org>
2652 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
2654 * textmodes/flyspell.el (sgml-lexical-context): Declare.
2656 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
2657 (newsticker-treeview-listwindow-height): Fix custom type.
2659 2009-11-19 Kenichi Handa <handa@m17n.org>
2661 * descr-text.el (describe-char-padded-string): Compose with TAB
2662 only if there's a font for CH.
2663 (describe-char): Fix the condition for detecting a trivial composition.
2665 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
2667 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
2668 more accurate version of the regexp. (Bug#3910)
2670 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2672 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
2674 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
2676 * font-setting.el (font-use-system-font): Declare for byte-compiler.
2677 (font-setting-change-default-font): Fix typo in docstring.
2679 2009-11-18 Alan Mackenzie <acm@muc.de>
2681 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
2683 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2685 * font-setting.el (font-use-system-font): Move ...
2687 * cus-start.el (all): ... to here.
2689 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
2691 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
2692 Don't set `ad-return-value' if `ad-do-it' doesn't.
2694 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
2697 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2699 * menu-bar.el: Put "Use system font" in Option-menu.
2700 (menu-bar-options-save): Add font-use-system-font.
2702 * loadup.el: If feature system-font-setting or font-render-setting is
2703 there, load font-setting.
2705 * Makefile.in (ELCFILES): Add font-settings.el.
2706 * font-setting.el: New file.
2708 2009-11-17 Glenn Morris <rgm@gnu.org>
2710 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
2712 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
2713 Preserve point in the list buffer. (Bug#4939)
2715 (newsticker--treeview-list-update-highlight)
2716 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2718 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2720 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
2723 * calc/calc-ext.el (calc-init-extensions): Remove references to
2726 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
2728 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
2729 * calc/calc-help.el (calc-b-prefix-help): Remove references to
2732 2009-11-16 Kevin Ryde <user42@zip.com.au>
2734 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
2735 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
2737 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
2738 (lm-keywords-list): Allow comma-only separator like "foo,bar".
2739 Ignore trailing spaces by omit-nulls to split-string (fixing
2740 regression from Emacs 21 due to the incompatible split-string
2741 change). (Bug #4928.)
2743 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
2745 * vc.el (vc-log-show-limit): Default to 2000.
2746 (vc-print-log-internal): Insert buttons to request more entries
2747 when limiting the output.
2749 * vc-sccs.el (vc-sccs-print-log):
2750 * vc-rcs.el (vc-rcs-print-log):
2751 * vc-cvs.el (vc-cvs-print-log):
2752 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
2755 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2757 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
2758 error when `tramp-gvfs-dbus-event-vector' is set.
2759 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2761 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2763 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
2765 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2767 * net/dbus.el (dbus-unregister-service): New defun.
2768 (dbus-register-property): Register the handlers of
2769 "org.freedesktop.DBus.Properties" for SERVICE.
2770 (dbus-property-handler): Fix docstring.
2772 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2774 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
2775 Quote doc string reference in defvaralias as it is not in special form.
2776 (byte-compile-output-docform): Doc fix.
2778 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2780 * calc/calc.el (math-2-word-size, math-half-2-word-size)
2781 (calc-complement-signed-mode): New variables.
2782 (calc-set-mode-line): Add indicator for twos-complements.
2783 (math-format-number): Format twos-complement notation.
2785 * calc/calc-bin.el (calc-word-size): Reset the variables
2786 `math-2-word-size' and `math-half-2-word-size'.
2787 (math-format-complement-signed, math-symclip, calcFunc-symclip)
2788 (calc-symclip): New functions.
2790 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
2792 * calc/calc-embed.el (calc-embedded-mode-vars):
2793 Add `calc-complement-signed-mode' to the list of modes.
2795 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
2796 (calc-b-oper-keys): Add `calc-symclip' to list.
2798 * calc/calc-ext.el (math-read-number-fancy): Read complement
2800 (calc-init-extensions): Add binding for `calc-symclip'.
2801 Add autoload for `calcFunc-symclip' and `calc-symclip'.
2803 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
2805 (calc-modes-menu): Add item for twos complement mode.
2807 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
2809 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2811 * register.el (jump-to-register, insert-register): Handle Semantic
2812 tags. From commented-out advice in semantic/senator.el.
2814 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
2816 * vc.el (vc-log-show-limit): New variable.
2817 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
2818 when using a prefix argument.
2819 (vc-print-log-internal): Add new argument LIMIT.
2821 * vc-svn.el (vc-svn-print-log):
2822 * vc-mtn.el (vc-mtn-print-log):
2823 * vc-hg.el (vc-hg-print-log):
2824 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
2825 pass it to the log command when set. Make the BUFFER argument
2828 * vc-sccs.el (vc-sccs-print-log):
2829 * vc-rcs.el (vc-rcs-print-log):
2830 * vc-git.el (vc-git-print-log):
2831 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
2832 ignore it. Make the BUFFER argument non-optional
2834 * bindings.el (mode-line-buffer-identification): Do not purecopy.
2836 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2838 * dired.el (dired-mode-map): Move encryption items to "Operate"
2841 * strokes.el (strokes-update-window-configuration): Make strokes
2842 buffer current before erasing (Bug#4906).
2844 * cedet/semantic/idle.el (semantic-idle-summary-mode)
2845 (semantic-idle-summary-mode): Define using define-minor-mode
2846 instead of define-semantic-idle-service.
2847 (semantic-idle-summary-mode): New function.
2848 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2849 that mouse motion does not reset the echo area.
2851 2009-11-15 Juri Linkov <juri@jurta.org>
2853 * simple.el (set-mark-default-inactive): Add :type, :group
2854 and :version. (Bug#4876)
2856 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
2858 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
2859 (archive-unique-fname): ... here. (Bug#4929)
2861 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2863 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
2866 * novice.el (disabled-command-function): Add useful args.
2867 Setup the help buffer so that [back] works.
2868 Remove redundant call to help-mode.
2869 (disabled-command-function): Use `case'.
2870 (en/disable-command): New function extracted from enable-command.
2871 (enable-command, disable-command): Use it.
2873 2009-11-14 Glenn Morris <rgm@gnu.org>
2875 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
2876 constants. (Bug#4913)
2878 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
2880 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2882 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
2883 defined in C that have no doc-strings. (Bug#1063)
2885 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
2887 * cus-edit.el (data, files):
2888 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
2890 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
2892 * simple.el (shell-command): Doc fix (Bug#4891).
2894 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
2896 2009-11-14 Glenn Morris <rgm@gnu.org>
2898 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
2899 statements for vc-diff, emerge-quit, and rmail-cease-edit.
2900 If they are already loaded, eval-after-load will do the right thing.
2902 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
2905 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
2907 * simple.el (x-selection-owner-p): Declare.
2908 (read-mail-command): Use custom radio type rather than choice.
2909 (completion-no-auto-exit): Doc fix.
2911 * custom.el (defgroup):
2912 * epg-config.el (epg): Doc fixes.
2914 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2916 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
2917 * international/ccl.el (define-ccl-program): Do not purecopy the
2918 docstring, defconst does it anyway.
2920 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2922 * add-log.el (add-change-log-entry): Avoid displaying the changelog
2925 * x-dnd.el (x-dnd-maybe-call-test-function):
2926 * window.el (split-window-vertically):
2927 * whitespace.el (whitespace-help-on):
2928 * vc-rcs.el (vc-rcs-consult-headers):
2929 * userlock.el (ask-user-about-lock-help)
2930 (ask-user-about-supersession-help):
2931 * type-break.el (type-break-force-mode-line-update):
2932 * time-stamp.el (time-stamp-conv-warn):
2933 * terminal.el (te-set-output-log, te-more-break, te-filter)
2934 (te-sentinel, terminal-emulator):
2935 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
2936 (term-write-input-ring, term-check-source, term-start-output-log):
2937 (term-display-buffer-line, term-dynamic-list-completions):
2938 (term-ansi-make-term, serial-term):
2939 * subr.el (selective-display):
2940 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2941 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
2942 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
2943 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
2944 (speedbar-remove-localized-speedbar-support)
2945 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
2946 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
2947 (speedbar-buffers-line-directory):
2948 * simple.el (shell-command-on-region, append-to-buffer)
2949 (prepend-to-buffer):
2950 * shadowfile.el (shadow-save-todo-file):
2951 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
2952 (scroll-bar-maybe-set-window-start):
2953 * sb-image.el (speedbar-image-dump):
2954 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
2955 (load-save-place-alist-from-file):
2956 * ps-samp.el (ps-print-message-from-summary):
2957 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
2958 (ps-background-image, ps-begin-job, ps-do-despool):
2959 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
2960 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
2961 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
2962 (pr-call-process, pr-file-list, pr-interface-save):
2963 * novice.el (disabled-command-function)
2964 (enable-command, disable-command):
2965 * mouse.el (mouse-buffer-menu-alist):
2966 * mouse-copy.el (mouse-kill-preserving-secondary):
2967 * macros.el (kbd-macro-query):
2968 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
2969 * informat.el (batch-info-validate):
2970 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
2971 * hippie-exp.el (try-expand-dabbrev-visible):
2972 * help-mode.el (help-make-xrefs):
2973 * help-fns.el (describe-variable):
2974 * generic-x.el (bat-generic-mode-run-as-comint):
2975 * finder.el (finder-mouse-select):
2976 * find-dired.el (find-dired-sentinel):
2977 * filesets.el (filesets-file-close):
2978 * files.el (list-directory):
2979 * faces.el (list-faces-display, describe-face):
2980 * facemenu.el (list-colors-display):
2981 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
2982 * epg.el (epg--process-filter, epg-cancel):
2983 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
2984 (epa--read-signature-type):
2985 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
2986 (emerge-file-names):
2987 * ehelp.el (electric-helpify):
2988 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
2989 * ediff-vers.el (rcs-ediff-view-revision):
2990 * ediff-util.el (ediff-setup):
2991 * ediff-mult.el (ediff-append-custom-diff):
2992 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
2994 * echistory.el (Electric-command-history-redo-expression):
2995 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2996 * disp-table.el (describe-display-table):
2997 * dired.el (dired-find-buffer-nocreate):
2998 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
2999 * dabbrev.el (dabbrev--same-major-mode-p):
3000 * chistory.el (list-command-history):
3001 * apropos.el (apropos-documentation):
3002 * allout.el (allout-obtain-passphrase):
3003 (allout-copy-exposed-to-buffer):
3004 (allout-verify-passphrase): Use with-current-buffer.
3006 2009-11-13 Glenn Morris <rgm@gnu.org>
3008 * Makefile.in (ELCFILES): Regenerate.
3010 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
3012 * net/dbus.el (dbus-registered-objects-table): Rename from
3013 `dbus-registered-functions-table', because it contains also properties.
3014 (dbus-unregister-object): Unregister also properties.
3015 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3016 Use a timeout of 500 msec, in order to not block.
3017 (dbus-register-property, dbus-property-handler): New defuns.
3019 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * simple.el (minibuffer-default-add-completions): Drop deprecated
3024 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
3026 * textmodes/artist.el (artist-mouse-choose-operation):
3027 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
3028 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
3029 (artist-compute-up-event-key): New function.
3030 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
3032 2009-11-13 Kenichi Handa <handa@m17n.org>
3034 * language/japan-util.el: Make sure that the value of jisx0208
3035 property is jisx0208 character.
3037 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
3039 * international/mule.el (auto-coding-regexp-alist): Only purecopy
3040 car or each item, not the whole list.
3042 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3044 * minibuffer.el (minibuffer-completion-help):
3045 Use minibuffer-hide-completions.
3047 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
3049 * dired.el (dired-save-positions, dired-restore-positions): New funs.
3050 (dired-revert): Use them (bug#4880).
3052 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
3054 * tooltip.el (tooltip-frame-parameters): Undo previous change.
3056 2009-11-12 Juri Linkov <juri@jurta.org>
3058 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
3060 (find-file-literally-at-point): Alias of `ffap-literally'.
3062 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
3064 * textmodes/ispell.el (ispell-skip-region-alist):
3065 * textmodes/css-mode.el (auto-mode-alist):
3066 * progmodes/compile.el (auto-mode-alist):
3067 * international/mule.el (ctext-non-standard-encodings-alist)
3068 (ctext-non-standard-encodings-regexp):
3069 * simple.el (shell-command-switch, text-read-only):
3070 * replace.el (occur-mode-map):
3071 * paths.el (rmail-file-name):
3072 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
3073 * find-file.el (ff-special-constructs):
3074 * files.el (file-name-handler-alist):
3075 * composite.el: Purecopy strings.
3077 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
3079 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
3081 * widget.el (define-widget): Purecopy the docstring.
3082 * international/mule-cmds.el (charset): Do not purecopy the
3083 docstring here, define-widget does it.
3085 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
3086 * textmodes/bibtex-style.el (auto-mode-alist):
3087 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3088 * progmodes/compile.el (compile-command):
3089 * language/korea-util.el (default-korean-keyboard):
3090 * international/mule-conf.el (file-coding-system-alist):
3091 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
3092 * tooltip.el (tooltip-frame-parameters):
3093 * newcomment.el (comment-end, comment-padding):
3094 * dired.el (dired-trivial-filenames):
3095 * comint.el (comint-file-name-prefix): Purecopy initial values.
3097 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
3099 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
3100 (tramp-advice-minibuffer-electric-tilde): Unload advices via
3102 (tramp-advice-make-auto-save-file-name)
3103 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
3104 after removing the advice.
3106 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
3108 * progmodes/grep.el (grep-regexp-alist):
3109 * international/mule-cmds.el (iso-2022-control-alist):
3110 * emacs-lisp/timer.el (timer-duration-words):
3111 * subr.el (version-separator, version-regexp-alist):
3112 * minibuffer.el (completion-styles-alist):
3113 * faces.el (face-attribute-name-alist, list-faces-sample-text):
3114 Change defvars to defconsts.
3116 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
3117 * loadup.el ("international/mule-conf"): Load the byte compiled version.
3118 * international/mule-conf.el: Allow to be byte compiled.
3120 * international/mule.el (define-charset): Purecopy props.
3121 (load-with-code-conversion): Purecopy doc string and file name.
3122 (put-charset-property): Purecopy strings.
3123 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
3125 * international/mule-cmds.el (register-input-method): Purecopy arguments.
3126 (define-char-code-property): Correctly purecopy the table.
3128 * international/ccl.el (define-ccl-program): Purecopy the docstring.
3130 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
3132 * subr.el (add-hook): Purecopy strings.
3133 (eval-after-load): Purecopy load-history-regexp and the form.
3135 * custom.el (custom-declare-group): Purecopy load-file-name.
3137 * subr.el (menu-bar-separator): New defconst.
3138 * net/eudc.el (eudc-tools-menu):
3139 * international/mule-cmds.el (set-coding-system-map)
3141 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3142 * vc-hooks.el (vc-menu-map):
3143 * replace.el (occur-mode-map):
3144 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
3145 (menu-bar-edit-menu, menu-bar-goto-menu)
3146 (menu-bar-custom-menu, menu-bar-showhide-menu)
3147 (menu-bar-options-menu, menu-bar-tools-menu)
3148 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
3149 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
3150 (menu-bar-help-menu):
3151 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
3152 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
3154 * term/x-win.el (x-gtk-stock-map):
3155 * progmodes/vera-mode.el (auto-mode-alist):
3156 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3157 (inferior-lisp-program, inferior-lisp-load-command):
3158 * progmodes/hideshow.el (hs-special-modes-alist):
3159 * progmodes/gud.el (same-window-regexps):
3160 * progmodes/grep.el (grep-program, find-program, xargs-program):
3161 * net/telnet.el (same-window-regexps):
3162 * net/rlogin.el (same-window-regexps):
3163 * language/ethiopic.el (font-ccl-encoder-alist):
3164 * vc-sccs.el (vc-sccs-master-templates):
3165 * vc-rcs.el (vc-rcs-master-templates):
3166 * subr.el (cl-assertion-failed):
3167 * simple.el (next-error-overlay-arrow-position):
3168 * lpr.el (lpr-command):
3169 * locate.el (locate-ls-subdir-switches):
3170 * info.el (same-window-regexps, info)
3171 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
3172 * image-mode.el (image-mode, auto-mode-alist):
3173 * hippie-exp.el (hippie-expand-ignore-buffers):
3174 * format.el (format-alist):
3175 * find-dired.el (find-ls-subdir-switches, find-grep-options)
3177 * facemenu.el (facemenu-keybindings):
3178 * dired.el (dired-listing-switches, dired-chown-program):
3179 * diff.el (diff-switches, diff-command):
3180 * cus-edit.el (same-window-regexps):
3181 * bindings.el (mode-line-mule-info)
3182 (mode-line-buffer-identification): Purecopy strings.
3184 2009-11-11 Juri Linkov <juri@jurta.org>
3186 * simple.el (dired-get-filename) <declare-function>:
3187 Tell the byte-compiler about dired-get-filename.
3188 (shell-command): In Dired mode, get filename from the current line
3189 as the default value.
3191 2009-11-10 Glenn Morris <rgm@gnu.org>
3193 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
3194 * calendar/holidays.el, progmodes/cperl-mode.el:
3195 Update x-popup-menu declarations.
3197 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
3198 (list-load-path-shadows): Use dolist.
3199 (list-load-path-shadows): Use with-current-buffer.
3201 2009-11-10 Juri Linkov <juri@jurta.org>
3203 * minibuffer.el (read-file-name): Support a list of default values
3204 in `default-filename'. Use the first file name where only one
3205 element is required. Doc fix.
3207 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
3209 * net/dbus.el (dbus-unregister-object): Release service, if no
3210 other method is registered for it.
3212 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
3214 * bookmark.el (bookmark-completing-read): Sort bookmark names if
3215 bookmark-sort-flag is non-nil (Bug#4653).
3217 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
3219 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
3220 the progress reporter entirely.
3222 * emulation/cua-base.el: Add CUA property to some CC mode commands
3225 2009-11-08 Kevin Ryde <user42@zip.com.au>
3227 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
3228 at end of sentence (Bug#4818).
3230 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
3232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3233 Handle "see declaration of" MSFT statements (Bug#4100).
3235 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
3237 * net/tramp.el (tramp-advice-make-auto-save-file-name)
3238 (tramp-advice-file-expand-wildcards): Unload via
3241 * net/trampver.el: Update release number.
3243 2009-11-08 Kevin Ryde <user42@zip.com.au>
3245 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
3248 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
3250 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
3251 in order to keep context in SELinux.
3253 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
3255 * dired-aux.el (dired-query): Place cursor in echo area and allow
3258 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
3259 menu item if not on a directory (Bug#4701).
3261 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
3263 Sync with Tramp 2.1.17.
3265 * net/tramp.el (tramp-handle-copy-directory): Don't use
3266 `file-remote-p' (due to compatibility).
3268 * net/tramp-compat.el (tramp-compat-copy-directory)
3269 (tramp-compat-delete-directory): New defuns.
3271 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
3272 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
3273 `tramp-compat-delete-directory'.
3275 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3276 (tramp-smb-handle-delete-directory): Use
3277 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
3279 * net/trampver.el: Update release number.
3281 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
3283 * tar-mode.el (tar-copy): Call write-region on the right buffer
3286 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
3287 by hand, if necessary (Bug#4878).
3289 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
3291 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
3292 align size column (Bug#4839).
3294 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
3297 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
3299 * progmodes/ld-script.el (auto-mode-alist):
3300 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
3302 * cus-face.el (custom-declare-face): Purecopy face spec.
3304 2009-11-06 Kenichi Handa <handa@m17n.org>
3306 * international/uni-bidi.el: Re-generated.
3307 * international/uni-category.el: Re-generated.
3308 * international/uni-combining.el: Re-generated.
3309 * international/uni-mirrored.el: Re-generated.
3311 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
3313 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
3314 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
3315 (tex-start-options, slitex-run-command, latex-run-command)
3316 (tex-run-command, tex-directory):
3317 * textmodes/ispell.el (ispell-html-skip-alists)
3318 (ispell-tex-skip-alists, ispell-tex-skip-alists):
3319 * textmodes/fill.el (adaptive-fill-first-line-regexp):
3320 (adaptive-fill-regexp):
3321 * textmodes/dns-mode.el (auto-mode-alist):
3322 * progmodes/python.el (interpreter-mode-alist):
3323 * progmodes/etags.el (tags-compression-info-list):
3324 * progmodes/etags.el (tags-file-name):
3325 * net/browse-url.el (browse-url-galeon-program)
3326 (browse-url-firefox-program):
3327 * mail/sendmail.el (mail-signature-file)
3328 (mail-citation-prefix-regexp):
3329 * international/mule-conf.el (eight-bit):
3330 * international/latexenc.el (latex-inputenc-coding-alist):
3331 * international/fontset.el (x-pixel-size-width-font-regexp):
3332 * emacs-lisp/warnings.el (warning-type-format):
3333 * emacs-lisp/trace.el (trace-buffer):
3334 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
3335 (emacs-lisp-mode-map):
3336 * calendar/holidays.el (holiday-solar-holidays)
3337 (holiday-bahai-holidays, holiday-islamic-holidays)
3338 (holiday-christian-holidays, holiday-hebrew-holidays)
3339 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
3340 (hebrew-holidays-1, holiday-oriental-holidays)
3341 (holiday-general-holidays):
3342 * x-dnd.el (x-dnd-known-types):
3343 * tool-bar.el (tool-bar):
3344 * startup.el (site-run-file):
3345 * shell.el (shell-dumb-shell-regexp):
3346 * rfn-eshadow.el (file-name-shadow-tty-properties)
3347 (file-name-shadow-properties):
3348 * paths.el (remote-shell-program, news-directory):
3349 * mouse.el ([C-down-mouse-3]):
3350 * menu-bar.el (menu-bar-tools-menu):
3351 * jka-cmpr-hook.el (jka-compr-load-suffixes)
3352 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
3353 (jka-compr-compression-info-list):
3354 * isearch.el (search-whitespace-regexp):
3355 * image-file.el (image-file-name-extensions):
3356 * find-dired.el (find-ls-option):
3357 * files.el (directory-listing-before-filename-regexp)
3358 (directory-free-space-args, insert-directory-program)
3359 (list-directory-brief-switches, magic-fallback-mode-alist)
3360 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
3361 (automount-dir-prefix):
3362 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
3363 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
3364 (face-font-registry-alternatives, face-font-registry-alternatives)
3365 (face-font-family-alternatives):
3366 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
3367 (facemenu-foreground-menu, facemenu-face-menu):
3368 * epa-hook.el (epa-file-name-regexp):
3369 * dnd.el (dnd-protocol-alist):
3370 * textmodes/rst.el (auto-mode-alist):
3371 * button.el (default-button): Purecopy strings.
3373 2009-11-06 Glenn Morris <rgm@gnu.org>
3375 * Makefile.in (ELCFILES): Update.
3377 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3379 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
3380 * emacs-lisp/levents.el: Move to obsolete/levents.el.
3382 * nxml/xsd-regexp.el (xsdre-gen-categories):
3383 * nxml/xmltok.el (xmltok-parse-entity):
3384 * nxml/rng-parse.el (rng-parse-validate-file):
3385 * nxml/rng-maint.el (rng-format-manual)
3386 (rng-manual-output-force-new-line):
3387 * nxml/rng-loc.el (rng-save-schema-location-1):
3388 * nxml/rng-cmpct.el (rng-c-parse-file):
3389 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3390 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
3392 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
3394 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
3395 Remove extra save-excursions and make-variable-buffer-local's.
3396 Suggested by Stefan Monnier.
3398 (verilog-getopt-file, verilog-module-inside-filename-p)
3399 (verilog-set-define): Merge GNU 1.35 and repair changes from
3400 switching to using with-current-buffer.
3402 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
3403 being treated as a number and confusing AUTORESET.
3404 Reported by Dan Dever.
3406 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
3407 Add verilog-auto-ignore-concat to fix backward compatibility with
3408 older verilog-modes. Reported by Dan Katz.
3410 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
3411 containing closing anchors "...$".
3413 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
3414 Reported by Wade Smith.
3416 (verilog-batch-execute-func) Comment on function usage.
3418 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
3420 * verilog-mode.el (verilog-label-re): Fix regular expression for
3423 (verilog-label-re, verilog-calc-1): Support proper indent of named
3426 (verilog-backward-token, verilog-basic-complete-re)
3427 (verilog-beg-of-statement, verilog-indent-re): Support proper
3428 indent of the assert statement at the beginning of a block of text.
3430 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
3431 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
3434 2009-11-05 Glenn Morris <rgm@gnu.org>
3436 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
3437 Emacs 19. (Bug#1531)
3438 (byte-compile-fix-header): Update for the above change.
3439 Drop test for epoch::version.
3441 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
3442 * cus-dep.el (custom-make-dependencies):
3443 * finder.el (finder-compile-keywords):
3444 Use autoload-rubric's feature argument.
3446 * calendar/diary-lib.el (top-level): Make load behave more like require.
3448 * vc-git.el (vc-git-stash-map): Move definition before use.
3450 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
3452 * custom.el (custom-declare-group): Purecopy standard-value.
3453 (custom-declare-group): Purecopy custom-prefix.
3455 * international/mule.el (load-with-code-conversion):
3456 Call do-after-load-evaluation unconditionally.
3458 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
3460 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3462 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
3464 2009-11-04 Glenn Morris <rgm@gnu.org>
3466 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
3467 (byte-compile-compatibility): Remove option.
3468 (byte-compile-close-variables, byte-compile-fix-header)
3469 (byte-compile-insert-header, byte-compile-output-docform)
3470 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
3471 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
3472 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
3473 (byte-compile-insert, byte-compile-defun):
3474 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
3475 (byte-defop-compiler19): Remove.
3476 Without byte-compile-compatibility, the 'emacs19-opcode property is not
3477 used by anything. Replace all calls with byte-defop-compiler.
3479 2009-11-04 Juri Linkov <juri@jurta.org>
3481 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
3482 (menu-bar-options-menu): Don't quote the `prop' arg of
3483 `menu-bar-make-mm-toggle'.
3485 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
3487 * calendar/calendar.el (cal-loaddefs):
3488 * calendar/diary-lib.el (diary-loaddefs):
3489 * calendar/holidays.el (hol-loaddefs):
3490 * eshell/esh-module.el (esh-groups): Load rather than require.
3492 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3494 * calendar/todo-mode.el (todo-add-category): Don't hardcode
3496 (todo-top-priorities): Only display-buffer when called interactively.
3497 (todo-item-start): Don't save excursion point.
3498 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
3499 (todo-insert-item-here, todo-file-item, todo-remove-item):
3500 Adjust uses of todo-item-start and todo-item-end.
3502 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
3503 (autoload-rubric): Don't use any more.
3504 * cedet/semantic/fw.el (semantic/loaddefs):
3505 * cedet/srecode.el (srecode/loaddefs):
3506 * cedet/ede.el (ede/loaddefs): Load rather than require.
3507 * cedet/ede/cpp-root.el:
3508 * cedet/ede/emacs.el:
3509 * cedet/ede/files.el:
3510 * cedet/ede/linux.el:
3511 * cedet/ede/locate.el:
3512 * cedet/ede/make.el:
3513 * cedet/ede/shell.el:
3514 * cedet/ede/speedbar.el:
3515 * cedet/ede/system.el:
3516 * cedet/ede/util.el:
3517 * cedet/semantic/analyze.el:
3518 * cedet/semantic/bovine.el:
3519 * cedet/semantic/complete.el:
3520 * cedet/semantic/ctxt.el:
3521 * cedet/semantic/db-file.el:
3522 * cedet/semantic/db-find.el:
3523 * cedet/semantic/db-global.el:
3524 * cedet/semantic/db-mode.el:
3525 * cedet/semantic/db-typecache.el:
3526 * cedet/semantic/db.el:
3527 * cedet/semantic/debug.el:
3528 * cedet/semantic/dep.el:
3529 * cedet/semantic/doc.el:
3530 * cedet/semantic/edit.el:
3531 * cedet/semantic/find.el:
3532 * cedet/semantic/format.el:
3533 * cedet/semantic/html.el:
3534 * cedet/semantic/ia-sb.el:
3535 * cedet/semantic/ia.el:
3536 * cedet/semantic/idle.el:
3537 * cedet/semantic/lex-spp.el:
3538 * cedet/semantic/lex.el:
3539 * cedet/semantic/mru-bookmark.el:
3540 * cedet/semantic/scope.el:
3541 * cedet/semantic/senator.el:
3542 * cedet/semantic/sort.el:
3543 * cedet/semantic/symref.el:
3544 * cedet/semantic/tag-file.el:
3545 * cedet/semantic/tag-ls.el:
3546 * cedet/semantic/tag-write.el:
3547 * cedet/semantic/tag.el:
3548 * cedet/semantic/util-modes.el:
3549 * cedet/semantic/analyze/complete.el:
3550 * cedet/semantic/analyze/refs.el:
3551 * cedet/semantic/bovine/c.el:
3552 * cedet/semantic/bovine/gcc.el:
3553 * cedet/semantic/bovine/make.el:
3554 * cedet/semantic/bovine/scm.el:
3555 * cedet/semantic/decorate/include.el:
3556 * cedet/semantic/decorate/mode.el:
3557 * cedet/semantic/symref/cscope.el:
3558 * cedet/semantic/symref/global.el:
3559 * cedet/semantic/symref/grep.el:
3560 * cedet/semantic/symref/idutils.el:
3561 * cedet/semantic/symref/list.el:
3562 * cedet/semantic/wisent/java-tags.el:
3563 * cedet/semantic/wisent/javascript.el:
3564 * cedet/srecode/compile.el:
3565 * cedet/srecode/cpp.el:
3566 * cedet/srecode/document.el:
3567 * cedet/srecode/el.el:
3568 * cedet/srecode/expandproto.el:
3569 * cedet/srecode/getset.el:
3570 * cedet/srecode/insert.el:
3571 * cedet/srecode/java.el:
3572 * cedet/srecode/map.el:
3573 * cedet/srecode/mode.el:
3574 * cedet/srecode/template.el:
3575 * cedet/srecode/texi.el: Remove the file-local setting of
3576 generated-autoload-feature.
3578 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
3579 and only put a prop if it is non-nil.
3581 2009-11-03 Juri Linkov <juri@jurta.org>
3583 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
3584 (menu-bar-options-menu): Fix list quoting (Bug#4429).
3586 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
3587 and "Menu" to make top-level menu item visually one unit (like
3588 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
3589 multi-word menu items). Fix :help string for quit-window.
3591 2009-11-03 Glenn Morris <rgm@gnu.org>
3593 * cedet/mode-local.el (with-mode-local): Doc fix.
3595 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3596 (byte-compile-file-form-define-abbrev-table)
3597 (byte-compile-file-form-custom-declare-variable)
3598 (byte-compile-variable-ref, byte-compile-defvar):
3599 Whether or not a warning is enabled should only affect whether we issue
3600 the warning, not whether or not we collect the relevant data.
3601 Eg warnings can be turned on and off throughout the course of a file.
3603 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
3604 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
3606 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3608 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
3609 * play/mpuz.el (mpuz-create-buffer):
3610 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
3611 (lm-print-y,s,noise, lm-print-w0, lm-init):
3612 * play/gomoku.el (gomoku-prompt-for-move):
3613 * play/fortune.el (fortune-in-buffer):
3614 * play/dissociate.el (dissociated-press):
3615 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
3616 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
3617 * mail/supercite.el (sc-eref-show):
3618 * mail/smtpmail.el (smtpmail-send-it):
3619 * mail/rmailsum.el (rmail-summary-next-labeled-message)
3620 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
3621 (rmail-summary-undelete-many, rmail-summary-rmail-update)
3622 (rmail-summary-goto-msg, rmail-summary-expunge)
3623 (rmail-summary-get-new-mail, rmail-summary-search-backward)
3624 (rmail-summary-add-label, rmail-summary-output-menu)
3625 (rmail-summary-output-body):
3626 * mail/rfc822.el (rfc822-addresses):
3627 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
3628 * mail/mailpost.el (post-mail-send-it):
3629 * mail/hashcash.el (hashcash-generate-payment):
3630 * mail/feedmail.el (feedmail-run-the-queue)
3631 (feedmail-queue-send-edit-prompt-help-first)
3632 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
3633 (feedmail-deduce-address-list):
3634 * eshell/esh-ext.el (eshell-remote-command):
3635 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
3636 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
3637 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
3638 (viper-save-string-in-file, viper-valid-marker):
3639 * emulation/viper-keym.el (viper-toggle-key):
3640 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
3641 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
3642 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
3643 * emulation/viper-cmd.el (viper-exec-form-in-vi)
3644 (viper-exec-form-in-emacs, viper-brac-function):
3645 * emulation/viper.el (viper-delocalize-var):
3646 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
3647 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
3648 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
3649 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
3650 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
3651 * emulation/edt.el (edt-electric-helpify):
3652 * emulation/cua-rect.el (cua--rectangle-aux-replace):
3653 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
3654 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
3655 (cua-indent-to-global-mark-column):
3656 * calendar/diary-lib.el (calendar-mark-1):
3657 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
3658 Use with-current-buffer.
3659 * emulation/viper.el (viper-delocalize-var): Use dolist.
3661 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
3663 * comint.el (comint-replace-by-expanded-history-before-point):
3664 Replace !! with the previous input string literally (Bug#1795).
3666 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
3668 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
3669 to be made up of whitespace.
3671 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
3673 * minibuffer.el (read-file-name): Don't use file dialogs for
3674 remote directories (Bug#99).
3676 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
3678 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
3680 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
3682 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
3683 instead of deleting the window or frame.
3685 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3687 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
3688 Support face colors.
3690 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
3691 New function. Support face colors (Bug#1168).
3692 (tex-common-initialization): Use it.
3694 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
3695 mode allows it (Bug#1168).
3697 2009-10-31 Juri Linkov <juri@jurta.org>
3699 * facemenu.el (list-colors-display): Don't mark buffer as
3700 modified (Bug#3948).
3702 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3704 * international/mule-diag.el (list-character-sets-1): Minor
3705 message fix (Bug#3526).
3707 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
3708 face property (Bug#4834).
3709 (etags-list-tags, etags-tags-apropos-additional)
3710 (etags-tags-apropos, tags-select-tags-table): Add follow-link
3713 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
3716 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
3719 * cedet/ede.el (ede-minor-mode):
3720 * cedet/semantic.el (semantic-mode): Toggle menu separators.
3722 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * textmodes/two-column.el (2C-split):
3725 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
3726 * textmodes/tex-mode.el (tex-set-buffer-directory):
3727 * textmodes/spell.el (spell-region, spell-string):
3728 * textmodes/reftex.el (reftex-erase-buffer):
3729 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
3730 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3731 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
3732 (reftex-select-item):
3733 * textmodes/reftex-ref.el (reftex-label-info-update)
3734 (reftex-offer-label-menu):
3735 * textmodes/reftex-index.el (reftex-index-change-entry)
3736 (reftex-index-phrases-info):
3737 * textmodes/reftex-global.el (reftex-create-tags-file)
3738 (reftex-save-all-document-buffers, reftex-ensure-write-access):
3739 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
3740 (reftex-view-crossref-from-bibtex):
3741 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
3742 (reftex-extract-bib-entries-from-thebibliography)
3743 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
3744 * textmodes/refbib.el (r2b-capitalize-title):
3745 (r2b-convert-buffer, r2b-help):
3746 * textmodes/page-ext.el (pages-directory)
3747 (pages-directory-goto-with-mouse):
3748 * textmodes/bibtex.el (bibtex-validate-globally):
3749 * textmodes/bib-mode.el (bib-capitalize-title):
3750 * textmodes/artist.el (artist-clear-buffer, artist-system):
3751 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
3752 (local-set-scheme-interaction-buffer, xscheme-process-filter)
3753 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
3754 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
3755 (xscheme-send-control-g-interrupt, xscheme-start-process)
3756 (xscheme-process-sentinel, xscheme-cd):
3757 * progmodes/verilog-mode.el (verilog-read-always-signals)
3758 (verilog-set-define, verilog-getopt-file)
3759 (verilog-module-inside-filename-p):
3760 * progmodes/sh-script.el:
3761 * progmodes/python.el (python-pdbtrack-get-source-buffer)
3762 (python-pdbtrack-grub-for-buffer, python-execute-file):
3763 * progmodes/octave-inf.el (inferior-octave):
3764 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3765 (idlwave-shell-compile-helper-routines, idlwave-set-local)
3766 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
3767 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
3768 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
3769 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
3770 (idlwave-shell-filter, idlwave-shell-examine-highlight)
3771 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
3772 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
3773 (idlwave-shell-examine-display, idlwave-shell-run-region)
3774 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
3775 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
3776 * progmodes/idlw-help.el (idlwave-help-get-special-help)
3777 (idlwave-help-get-help-buffer):
3778 * progmodes/gud.el (gud-basic-call, gud-find-class)
3779 (gud-tooltip-activate-mouse-motions-if-enabled):
3780 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3781 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
3782 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
3783 (ebrowse-tags-next-file):
3784 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
3785 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
3786 (ebnf-eps-finish-and-write):
3787 * progmodes/cpp.el (cpp-edit-save):
3788 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
3789 * progmodes/cc-defs.el (c-emacs-features):
3790 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
3791 (antlr-directory-dependencies):
3792 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
3793 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
3794 (ada-find-any-references, ada-make-filename-from-adaname)
3795 (ada-make-body-gnatstub):
3796 * obsolete/rnews.el (news-list-news-groups):
3797 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
3798 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
3799 * net/rcirc.el (rcirc-debug):
3800 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3801 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
3802 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
3803 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
3804 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
3805 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
3806 (newsticker--treeview-list-clear-highlight)
3807 (newsticker--treeview-list-update-highlight)
3808 (newsticker--treeview-list-highlight-start)
3809 (newsticker--treeview-tree-update-highlight)
3810 (newsticker--treeview-get-selected-item)
3811 (newsticker-treeview-mark-list-items-old)
3812 (newsticker--treeview-set-current-node):
3813 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3814 * net/newst-backend.el (newsticker--get-news-by-funcall)
3815 (newsticker--get-news-by-wget, newsticker--image-get)
3816 (newsticker--image-sentinel):
3817 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
3818 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
3819 (eudc-ph-close-session):
3820 * net/eudc.el (eudc-save-options):
3821 * language/thai-word.el (thai-update-word-table):
3822 * language/japan-util.el (japanese-string-conversion):
3823 * international/titdic-cnv.el (tsang-quick-converter)
3824 (ziranma-converter, ctlau-converter):
3825 * international/mule-cmds.el (describe-language-environment):
3826 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
3827 (skkdic-convert-postfix, skkdic-convert-prefix):
3828 (skkdic-convert-okuri-nasi, skkdic-convert):
3829 * emacs-lisp/re-builder.el (reb-update-overlays):
3830 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
3831 * emacs-lisp/gulp.el (gulp-send-requests):
3832 * emacs-lisp/find-gc.el (trace-call-tree):
3833 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
3834 (eieio-describe-generic):
3835 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3836 * emacs-lisp/edebug.el (edebug-outside-excursion):
3837 * emacs-lisp/debug.el (debugger-make-xrefs):
3838 * emacs-lisp/cust-print.el (custom-prin1-to-string):
3839 * emacs-lisp/chart.el (chart-new-buffer):
3840 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
3841 Use with-current-buffer.
3842 * textmodes/artist.el (artist-system): Don't call
3843 copy-sequence on a fresh string.
3844 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
3846 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
3848 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
3849 is no item to edit. (Bug#4820)
3850 (todo-top-priorities): Restore point and restore narrowing in Todo
3853 2009-10-31 Glenn Morris <rgm@gnu.org>
3855 * net/ange-ftp.el (top-level): Don't require dired when compiling.
3856 (comint-last-output-start, comint-last-input-start)
3857 (comint-last-input-end): Don't defvar when compiling.
3858 (ange-ftp-process-file): Use bound-and-true-p.
3860 * pcmpl-rpm.el (top-level): Move provide statement to end.
3861 (pcmpl-rpm): Remove unused custom group.
3863 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
3865 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
3867 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
3868 (byte-compile-warnings): Add `constants' as an option.
3869 (byte-compile-callargs-warn, byte-compile-arglist-warn)
3870 (display-call-tree): Update for byte-compile-fdefinition possibly
3871 returning `(macro lambda ...)'. (Bug#4778)
3872 (byte-compile-variable-ref, byte-compile-setq-default):
3873 Respect `constants' member of byte-compile-warnings.
3875 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
3876 Use mapc rather than mapcar because the return value is never used.
3878 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
3879 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
3880 * cedet/semantic/html.el:
3881 Suppress harmless warnings about setting up semantic-imenu (not
3882 part of Emacs) variables.
3884 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * vc-bzr.el (vc-bzr-revision-keywords): New var.
3887 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
3890 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
3891 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
3892 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
3893 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
3894 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
3895 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
3896 (semantic-analyzer-debug-global-symbol)
3897 (semantic-analyzer-debug-missing-innertype)
3898 (semantic-analyzer-debug-insert-include-summary):
3899 * cedet/semantic/util.el (semantic-file-tag-table):
3900 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
3901 (semantic-recursive-find-nonterminal-by-name):
3902 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
3903 * cedet/semantic/tag-file.el (semantic-prototype-file):
3904 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
3905 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
3906 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
3907 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3908 (semantic-idle-summary-maybe-highlight):
3909 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
3910 (semantic-ia-sb-tag-info):
3911 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
3912 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
3913 * cedet/semantic/ede-grammar.el (project-compile-target):
3914 (ede-proj-makefile-insert-variables):
3915 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
3916 (semantic-debug-set-source-location, semantic-debug-interface-layout)
3917 (semantic-debug-mode, semantic-debug):
3918 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
3919 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
3920 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3921 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
3922 (semanticdb-find-translate-path-includes--internal)
3923 (semanticdb-reset-log, semanticdb-find-log-activity):
3924 * cedet/semantic/db-file.el (object-write):
3925 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3926 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
3927 (semanticdb-create-ebrowse-database):
3928 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
3929 * cedet/semantic/complete.el (semantic-displayor-focus-request)
3930 (semantic-collector-calculate-completions-raw)
3931 (semantic-complete-read-tag-analyzer):
3932 * cedet/semantic/analyze.el (semantic-analyze-pulse):
3933 * cedet/ede/util.el (ede-update-version-in-source):
3934 * cedet/ede/proj.el (project-delete-target):
3935 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
3936 (ede-proj-flush-autoconf):
3937 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
3938 (ede-proj-configure-synchronize):
3939 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
3940 * cedet/ede/linux.el (ede-linux-version):
3941 * cedet/ede/emacs.el (ede-emacs-version):
3942 * cedet/ede/dired.el (ede-dired-add-to-target):
3943 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
3944 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
3945 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
3946 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
3947 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
3948 (cedet-idutils-version-check):
3949 * cedet/cedet-global.el (cedet-gnu-global-call):
3950 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
3951 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
3952 * cedet/cedet-cscope.el (cedet-cscope-call)
3953 (cedet-cscope-expand-filename, cedet-cscope-version-check):
3954 Use with-current-buffer.
3955 * cedet/ede.el (ede-make-project-local-variable)
3956 (ede-set-project-variables, ede-set): Use dolist.
3958 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
3960 * textmodes/ispell.el (ispell-skip-region-alist):
3961 * international/mule-conf.el (eight-bit):
3962 * international/fontset.el (font-encoding-alist):
3963 * startup.el (pure-space-overflow-message):
3964 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
3965 * paths.el (gnus-nntp-service, rmail-spool-directory)
3967 * files.el (save-some-buffers-action-alist):
3968 * cmuscheme.el (same-window-buffer-names):
3969 * ielm.el (same-window-buffer-names):
3970 * shell.el (same-window-buffer-names):
3971 * mail/sendmail.el (same-window-buffer-names):
3972 * progmodes/inf-lisp.el (same-window-buffer-names):
3973 * bindings.el (mode-line-client)
3974 (mode-line-column-line-number-mode-map):
3975 * language/tibetan.el (tibetan-precomposition-rule-regexp)
3976 (tibetan-precomposed-regexp): Purecopy string arguments.
3978 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3980 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
3981 (calcDigit-nondigit):
3982 * calc/calc-yank.el (calc-copy-to-buffer):
3983 * calc/calc-units.el (calc-invalidate-units-table):
3984 * calc/calc-trail.el (calc-trail-yank):
3985 * calc/calc-store.el (calc-insert-variables):
3986 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
3987 * calc/calc-prog.el (calc-read-parse-table):
3988 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
3989 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
3990 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
3991 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
3992 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
3993 (calc-graph-name, calc-graph-find-command, calc-graph-view)
3994 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
3995 * calc/calc-ext.el (calc-realign):
3996 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
3997 (calc-embedded-finish-edit, calc-embedded-make-info)
3998 (calc-embedded-finish-command, calc-embedded-stack-change):
3999 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
4001 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
4002 (overload-docstring-extension): Use that info.
4003 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
4004 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
4005 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
4006 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
4007 (semantic-nonterminal-full-name): Add the new `when' info.
4008 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
4011 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
4012 shell-dynamic-complete-filename in preference to
4013 comint-dynamic-complete-filename.
4015 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
4016 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
4017 Don't consider whether the display supports colors.
4018 (bookmark-import-new-list): Use dolist.
4019 (bookmark-bmenu-mode-map): Move initialization into declaration.
4020 (bookmark-bmenu-list): Use dolist, simplify.
4021 (bookmark-show-all-annotations): Use save-selected-window and dolist.
4022 (menu-bar-final-items): Use push.
4024 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
4026 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
4027 it works on remote files.
4028 (vc-hg-diff): Don't pass any `--cwd' argument.
4030 2009-10-27 Kevin Ryde <user42@zip.com.au>
4032 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
4033 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
4034 (Further to Bug#3921).
4036 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
4038 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
4039 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
4040 calling `tramp-imap-put-file'. Add file size to the call.
4041 (tramp-imap-get-file-entries): Compute also user name, file size,
4043 (tramp-imap-handle-insert-directory): Insert uid and gid.
4044 (tramp-imap-handle-file-attributes): Transform uid and gid
4045 according to `id-format'.
4046 (tramp-imap-put-file): New optional parameter SIZE. Encode file
4047 size in header X-Size.
4049 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
4051 * simple.el (transpose-subr): Give clearer error when the mark
4052 is not set. (Bug#4807)
4054 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
4056 * net/tramp.el (tramp-perl-file-truename): New defconst.
4057 Perl code contributed by yary <not.com@gmail.com> (tiny change).
4058 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
4059 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
4060 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
4062 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4063 Ignore `dired-call-process'.
4064 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
4066 2009-10-26 Julian Scheid <julians37@gmail.com>
4068 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
4069 (tramp-get-remote-readlink): New defun.
4070 (tramp-handle-file-truename): Use it.
4071 (tramp-handle-file-exists-p): Check file-attributes cache, assume
4072 file exists if cache value present.
4073 (tramp-check-cached-permissions) New defun.
4074 (tramp-handle-file-readable-p): Use it.
4075 (tramp-handle-file-writable-p): Likewise.
4076 (tramp-handle-file-executable-p): Likewise.
4077 (tramp-handle-file-name-all-completions): Try using Perl to get
4078 partial completions. When perl not available, combine `cd' and
4079 `ls' into single remote operation and use shell expansion to get
4080 partial remote directory contents. Set `file-exists-p' cache for
4081 directory and any files returned by ls. Change cache handling to
4082 support partial directory contents. Use error message emitted by
4083 remote `cd' or Perl code for local tramp-error.
4084 (tramp-do-copy-or-rename-file-directly): Avoid separate
4085 tramp-send-command-and-check call.
4086 (tramp-handle-process-file): Merge three remote ops into one.
4087 Do not flush all caches when `process-file-side-effects' is set.
4088 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
4089 file-attributes shows uid/gid to be set already.
4091 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
4093 * textmodes/tex-mode.el (tex-dvi-view-command)
4094 (tex-show-queue-command, tex-open-quote):
4095 * progmodes/ruby-mode.el (auto-mode-alist)
4096 (interpreter-mode-alist): Purecopy strings.
4098 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
4100 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
4101 string for the hook, keymap and abbrev table.
4103 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
4105 * x-dnd.el (x-dnd-xdnd-to-action):
4106 * startup.el (fancy-startup-text, fancy-about-text): Change to
4107 defconst from defvar.
4109 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
4111 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
4112 Purecopy initialization strings.
4114 * mail/sendmail.el (mail-header-separator)
4115 (mail-personal-alias-file):
4116 * mail/rmail.el (rmail-default-dont-reply-to-names)
4117 (rmail-ignored-headers, rmail-retry-ignored-headers)
4118 (rmail-highlighted-headers, rmail-secondary-file-directory)
4119 (rmail-secondary-file-regexp):
4120 * files.el (null-device, file-name-invalid-regexp)
4121 (locate-dominating-stop-dir-regexp)
4122 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
4123 (interpreter-mode-alist): Use mapcar instead of mapc.
4125 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
4127 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
4128 (completion-ignored-extensions):
4129 (debug-ignored-errors): Purecopy strings.
4131 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
4134 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
4135 (pcomplete--here): Use push.
4137 * subr.el (all-completions): Declare the 4th arg obsolete.
4139 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * pcomplete.el (pcomplete-unquote-argument-function): New var.
4142 (pcomplete-unquote-argument): New function.
4143 (pcomplete--common-suffix): Always pay attention to case.
4144 (pcomplete--table-subvert): Quote and unquote the text.
4145 (pcomplete--common-quoted-suffix): New function.
4146 (pcomplete-std-complete): Use it and pcomplete-begin.
4148 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
4149 we're inside a dedicated or minibuffer window.
4151 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4153 * cedet/semantic/fw.el (semantic-alias-obsolete)
4154 (semantic-varalias-obsolete): Make the `when' arg mandatory.
4155 (define-mode-overload-implementation):
4156 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
4157 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
4158 * cedet/semantic/util.el (semantic-file-token-stream)
4159 (semantic-something-to-stream):
4160 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
4161 (semantic-expand-nonterminal):
4162 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
4163 (semantic-find-dependency, semantic-find-nonterminal)
4164 (semantic-find-dependency):
4165 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
4166 (semantic-flex-text, semantic-flex-make-keyword-table)
4167 (semantic-flex-keyword-p, semantic-flex-keyword-put)
4168 (semantic-flex-keyword-get, semantic-flex-map-keywords)
4169 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
4170 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
4171 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
4172 (semantic-after-idle-scheduler-reparse-hooks):
4173 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
4174 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
4175 * cedet/semantic.el (semantic-toplevel-bovine-table)
4176 (semantic-toplevel-bovine-cache)
4177 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
4178 (semantic-init-mode-hooks, semantic-init-db-hooks)
4179 (semantic-bovination-working-type): Provide the `when' arg.
4181 2009-10-24 Karl Fogel <kfogel@red-bean.com>
4183 * bookmark.el: Update documentation, especially documentation
4184 of `bookmark-alist' and of the bookmark file format.
4185 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
4187 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
4189 * mail/emacsbug.el (report-emacs-bug): Clarify that the
4190 keybindings apply to the mail buffer (Bug#4003). Shrink help
4193 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4194 (global-whitespace-mode, global-whitespace-newline-mode)
4195 (whitespace-toggle-options, global-whitespace-toggle-options):
4198 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
4199 of xmltok-start before the end tag was inserted (Bug#2840).
4201 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
4202 patterns that are preceded by an open-paren (Bug#1320).
4204 2009-10-24 Sven Joachim <svenjoac@gmx.de>
4206 * files.el (delete-directory): Delete symlinks to directories with
4207 delete-file (Bug#4739).
4209 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
4211 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
4212 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
4213 argument to make-obsolete.
4215 * cedet/semantic/fw.el (semantic-alias-obsolete)
4216 (semantic-varalias-obsolete): Add optional WHEN argument.
4218 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
4220 * vc.el (vc-backend-for-registration): Rename from
4221 vc-get-backend-for-registration. Update callers.
4223 * international/mule-cmds.el (set-language-info-alist):
4225 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
4226 (charset): Purecopy the name.
4227 (define-char-code-property): Purecopy string arguments.
4229 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4230 Purecopy string arguments.
4232 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4233 * ediff-hook.el (menu-bar-ediff-menu):
4234 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
4235 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
4237 2009-10-24 Glenn Morris <rgm@gnu.org>
4239 * comint.el (comint-dynamic-list-completions):
4240 * term.el (term-dynamic-list-completions): Use choose-completion rather
4241 than obsolete alias mouse-choose-completion.
4243 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
4244 file-cache-choose-completion.
4245 (file-cache-choose-completion): Handle an optional event argument.
4246 (file-cache-mouse-choose-completion): Make it an obsolete alias.
4248 * progmodes/octave-mod.el (octave-complete-symbol):
4249 Use choose-completion if mouse-choose-completion is ever removed.
4251 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
4254 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
4257 * vc-hooks.el (vc-responsible-backend): Fix declaration.
4259 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4261 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
4262 Ignore `pred' now that we receive one.
4263 Handle test-completion specially.
4265 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
4267 * vc.el (vc-responsible-backend): Throw an error if not backend is
4268 found. Remove the REGISTER argument. Move the code dealing with
4270 (vc-get-backend-for-registration): ... here. New function.
4271 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
4272 of vc-responsible-backend, pass the file name instead of the
4275 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
4279 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
4280 (pcomplete-comint-setup): Don't modify a global var via
4281 accidental side-effects.
4282 (pcomplete-shell-setup): Adjust call accordingly.
4283 (pcomplete-parse-comint-arguments): Use push.
4285 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
4287 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
4288 Allow uncapitalized info node names (Bug#3921).
4290 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
4291 to the DEBUG file (Bug#3781).
4293 2009-10-23 Jari Aalto <jari.aalto@cante.net>
4295 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
4296 dictionary entry (Bug#4579).
4298 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
4300 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
4301 from `rfn-eshadow-update-overlay-hook' when unloading.
4302 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
4303 "rsyncc". Adjust doc string.
4304 (tramp-temp-buffer-file-name) New buffer-local defvar.
4305 (tramp-handle-insert-file-contents, tramp-handle-write-region):
4306 Keep temporary file when indicated by method ("rsync" and
4308 (tramp-handle-write-region): Handle APPEND.
4309 (tramp-delete-temp-file-function): New defun. Added to
4312 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
4314 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
4316 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
4318 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
4319 (color-name-rgb-alist, tty-standard-colors)
4320 (tty-color-mode-alist): Change to defconst.
4322 * simple.el (mark-inactive): Purecopy message.
4324 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
4325 (global-map, yank-menu):
4326 * textmodes/ispell.el (ispell-menu-map):
4327 * net/eudc.el (eudc-tools-menu):
4328 * international/mule-cmds.el (describe-language-environment-map)
4329 (setup-language-environment-map, set-coding-system-map)
4331 * vc-hooks.el (vc-menu-entry, vc-menu-map):
4332 * replace.el (occur-mode-map):
4333 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
4335 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
4337 * calc/calc.el (math-read-number, math-read-number-simple): Use
4340 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
4343 rather than fiddling with global-map bindings, since it should only
4344 affect per-terminal settings.
4345 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
4347 * minibuffer.el (completion-table-with-terminator): Allow to specify
4348 the terminator-regexp.
4350 * simple.el (switch-to-completions): Look for *Completions* in other
4353 * pcomplete.el: Allow the use of completion-tables.
4354 (pcomplete-std-complete): New command.
4355 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
4356 (pcomplete--here): Use a function for `form' rather than an expression,
4357 so it can be byte-compiled.
4358 (pcomplete-here, pcomplete-here*): Adjust accordingly.
4359 Add edebug declaration.
4360 (pcomplete-show-completions): Remove unused var `curbuf'.
4361 (pcomplete-do-complete, pcomplete-stub):
4362 Don't assume `completions' is a list of strings any more.
4364 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
4366 * find-dired.el (find-name-arg): Fix typo in docstring.
4368 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4370 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
4371 (pcmpl-linux-fs-types): Same, and update to new modules layout.
4373 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
4376 * comint.el (comint-read-input-ring, comint-write-input-ring)
4377 (comint-substitute-in-file-name)
4378 (comint-dynamic-complete-as-filename)
4379 (comint-dynamic-simple-complete)
4380 (comint-dynamic-list-filename-completions)
4381 (comint-dynamic-list-completions)
4382 (comint-redirect-results-list-from-process): Minor simplifications.
4384 2009-10-21 Kevin Ryde <user42@zip.com.au>
4386 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
4387 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
4388 the first form. And insert a blank line after ";;; Code" since
4389 that's usual style. (Bug#4612)
4391 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
4393 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4395 * minibuffer.el (completion-table-with-terminator): Properly implement
4396 boundaries, in case `terminator' appears in the suffix.
4397 (completion--embedded-envvar-table): Don't return boundaries if
4398 there's no valid completion. Simplify.
4399 (completion-file-name-table): New completion table extracted from
4400 completion--file-name-table.
4401 (completion--file-name-table): Use it.
4402 (read-file-name-predicate): Declare obsolete.
4403 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
4404 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
4405 completion-file-name-table, and use the `pred' argument.
4406 * files.el (locate-file-completion-table): Use the `pred' arg rather
4407 than read-file-name-predicate.
4408 (abbreviate-file-name): Use \` rather than ^ for BOS.
4410 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
4412 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
4413 vc-responsible-backend to register, it causes problems.
4415 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
4419 2009-10-21 Eric Ludlam <zappo@gnu.org>
4421 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
4422 (semantic-c-debug-mode-init-pch): New functions.
4423 (semantic-c-debug-mode-init-last-mode): New var.
4424 (semantic-c-parse-lexical-token): Use them.
4426 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
4427 When extracting the argument list, limit only by point-max.
4429 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
4431 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
4432 (tramp-smb-handle-file-attributes): Use it.
4433 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
4434 (tramp-smb-handle-insert-directory): Use `mapc' rather than
4435 `mapcar'. Use `tramp-smb-get-stat-capability'.
4436 Add `dired-filename' text properties.
4437 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
4438 (tramp-smb-maybe-open-connection): Simplify check for smbclient
4441 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * subr.el (read-key-delay): Reduce to 0.01.
4444 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
4447 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
4451 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
4452 (Info-menu): Remove unused vars `last' and `completions'.
4453 (Info-index-nodes): Remove unused var `node'.
4455 * info.el (Info-complete-menu-item): Use complete-with-action.
4457 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
4459 Make vc-annotate work through copies and renames.
4460 * vc-annotate.el (vc-annotate-extract-revision-at-line):
4461 Return the file name too.
4462 (vc-annotate-revision-at-line)
4463 (vc-annotate-find-revision-at-line)
4464 (vc-annotate-revision-previous-to-line)
4465 (vc-annotate-show-log-revision-at-line): Update to get the file
4466 name from vc-annotate-extract-revision-at-line.
4467 (vc-annotate-show-diff-revision-at-line-internal): Change the
4468 argument to mean whether to show a file diff or not. Get the file
4469 name from vc-annotate-extract-revision-at-line.
4470 (vc-annotate-show-diff-revision-at-line):
4471 Update vc-annotate-show-diff-revision-at-line call.
4472 (vc-annotate-warp-revision): Add an optional file argument.
4474 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
4475 (vc-git-annotate-extract-revision-at-line): Also return the file
4478 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
4479 command. Remove unused code.
4480 (vc-hg-annotate-re): Update to match --follow output.
4481 (vc-hg-annotate-extract-revision-at-line): Also return the file
4484 * vc.el: Update annotate-extract-revision-at-line documentation.
4486 2009-10-18 Kevin Ryde <user42@zip.com.au>
4488 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
4489 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
4491 * net/browse-url.el (browse-url): Identify alist with "consp and
4492 not functionp" and let all other things go down the `apply' leg,
4493 as suggested by Stefan. (Further to bug#4531.)
4495 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
4497 * minibuffer.el (read-file-name): Check for repeat before putting
4498 a default argument in file-name-history (Bug#4657).
4500 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
4501 read syntax (Bug#4737).
4503 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
4505 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4507 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
4508 (html-tag-alist, html-tag-help): Add descriptions for undocumented
4509 entries and make note of obsolete tags.
4511 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4513 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
4515 2009-10-18 Glenn Morris <rgm@gnu.org>
4517 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
4518 grep, so that binary files (eg international/uni-bidi.el) can match.
4519 Remove test for "UnicodeData" files, since it is hopefully unnecessary
4520 now, and in any case the file header format has changed.
4522 2009-10-17 Glenn Morris <rgm@gnu.org>
4524 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
4525 (flyspell-get-word, flyspell-large-region)
4526 (flyspell-auto-correct-previous-word): Doc/error message fixes.
4528 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4530 * Makefile.in (ELCFILES): Add ede/shell.
4532 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
4534 * term/common-win.el (x-colors): Purecopy it.
4536 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4538 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
4539 permissive for when the buffer is empty.
4540 (tar-header-block-tokenize): Decode the username and groupname.
4541 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
4543 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4545 * cedet/srecode/srt.el:
4546 * cedet/srecode/compile.el:
4547 * cedet/semantic/mru-bookmark.el:
4548 * cedet/semantic/debug.el:
4549 * cedet/semantic/complete.el:
4550 * cedet/semantic/analyze.el: Require CL when compiling.
4552 2009-10-17 Eric Ludlam <zappo@gnu.org>
4554 * cedet/semantic/scope.el
4555 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
4556 tmpscope so that the regular scope will continue to work.
4558 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
4559 Use semantic-idle-summary-highlight-face as the highlighting.
4561 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
4562 contains multibyte characters, choose first applicable coding
4563 system automatically.
4565 * cedet/ede/project-am.el (project-run-target): New method.
4566 (project-run-target): New method.
4568 * cedet/ede.el (ede-target): Add run target menu item.
4569 (ede-project, ede-minor-keymap): Add ede-run-target binding.
4570 (ede-run-target): New function.
4571 (ede-target::project-run-target): New method.
4573 * cedet/ede/proj.el (project-run-target): New method.
4575 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
4576 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
4578 (ede-proj-target-makefile-shared-object): Only libtool compilers
4579 now available. Add linkers for libtool.
4580 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
4581 (ede-proj-makefile-target-name): Always use .la extension.
4583 * cedet/ede/proj-prog.el (project-run-target): New method.
4585 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
4586 (ede-g++-linker): Change Change link lines.
4588 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
4589 When searching for old variables, go to the end of the buffer and
4590 search backward from there.
4591 (ede-proj-makefile-automake-insert-subdirs)
4592 (ede-proj-makefile-automake-insert-extradist): New methods.
4593 (ede-proj-makefile-create): Use them.
4595 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
4596 Force FILE to expand to the current target. Use file-exists-p to
4597 check that it exists.
4599 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
4600 (ede-linux-load): Wrap dir in file-name-as-directory.
4603 * cedet/ede/files.el (ede-get-locator-object): When enabling
4604 locate, do so on "top".
4606 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
4607 file-name-as-directory during compare.
4608 (ede-emacs-version): Return Emacs/XEmacs differentiator.
4609 Get version number from different places. Don't call egrep.
4610 (ede-emacs-load): Set :version slot. Call file-name-as-directory
4611 to set the directory.
4613 * cedet/ede/shell.el: New file.
4615 * cedet/inversion.el (inversion-decoders): Allow for stray . in
4616 alpha/beta variants.
4618 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * international/mule-cmds.el (select-safe-coding-system): If the file
4621 has a coding cookie, use it regardless of any other setting (bug#4712).
4623 2009-10-17 Glenn Morris <rgm@gnu.org>
4625 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
4626 All errors should have messages.
4628 * foldout.el (foldout-mouse-swallow-events):
4629 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
4631 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
4632 (dired-keep-marker-copy, dired-keep-marker-hardlink)
4633 (dired-keep-marker-symlink, dired-dwim-target)
4634 (dired-copy-preserve-time): Do not autoload these defcustoms.
4636 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
4637 messages from messing up the file coding. (Bug#4623)
4639 2009-10-17 Jari Aalto <jari.aalto@cante.net>
4641 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
4642 if no match is found for the current dictionary. (Bug#4578)
4644 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
4645 optional, since that is how it is documented, and this is often called
4646 with a nil argument. (Bug#4577)
4647 (flyspell-external-point-words, flyspell-auto-correct-word)
4648 (flyspell-correct-word-before-point, flyspell-word-search-forward)
4649 (flyspell-word-search-backward): Remove nil argument in calls to
4650 flyspell-get-word, since it is not needed now.
4652 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
4654 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
4656 2009-10-16 Glenn Morris <rgm@gnu.org>
4658 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
4660 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4662 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
4663 (ange-ftp-file-size): New function.
4664 (ange-ftp-file-attributes): Use it.
4666 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
4668 * net/tramp-smb.el (tramp-smb-version): New defvar.
4669 (tramp-smb-maybe-open-connection): Use it, in order to avoid
4672 2009-10-16 Glenn Morris <rgm@gnu.org>
4674 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4675 Maybe copy some custom properties from old to new name. (Bug#4706)
4677 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
4679 * subr.el (error, sit-for, start-process-shell-command)
4680 (start-file-process-shell-command): Set the calling convention
4681 after the function definition.
4683 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * subr.el (error, sit-for, start-process-shell-command)
4686 (start-file-process-shell-command): Use the new
4687 set-advertised-calling-convention feature.
4689 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
4691 * international/ucs-normalize.el (ucs-normalize-version):
4693 (check-range): Adjust for Unicode 5.2.
4695 2009-10-15 Juri Linkov <juri@jurta.org>
4697 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
4698 to the `menu-item' format.
4700 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
4702 * net/tramp.el (tramp-replace-environment-variables): Do not fail
4703 if the environment variable does not exist.
4705 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4706 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
4708 (tramp-smb-handle-add-name-to-file)
4709 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4710 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4711 (tramp-smb-handle-file-attributes)
4712 (tramp-smb-do-file-attributes-with-stat)
4713 (tramp-smb-handle-file-local-copy)
4714 (tramp-smb-handle-insert-directory)
4715 (tramp-smb-handle-make-directory)
4716 (tramp-smb-handle-make-directory-internal)
4717 (tramp-smb-handle-make-symbolic-link)
4718 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
4719 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
4720 (tramp-smb-maybe-open-connection): Apply the changed parameters.
4721 (tramp-smb-read-file-entry): Read Disk names in compressed format.
4722 Handle long file names.
4723 (tramp-smb-get-cifs-capabilities): Check, whether the connection
4725 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
4726 Read share names with "-g" option.
4728 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
4730 * net/rcirc.el (rcirc-view-log-file): New command.
4731 (rcirc-track-minor-mode-map): Remove C-c ` binding.
4732 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
4735 2009-10-15 Glenn Morris <rgm@gnu.org>
4737 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
4738 from the second command-line argument.
4739 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
4740 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
4741 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
4742 w32-batch-update-autoloads.
4743 * emacs-lisp/autoload.el (autoload-make-program): New variable.
4744 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
4746 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
4747 the headers cannot be located. Simplify, subtracting superflous
4750 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4752 Replace completion-base-size by completion-base-position to fix bugs
4754 * simple.el (completion-base-position): New var.
4755 (completion-base-size): Mark as obsolete.
4756 (choose-completion): Make it work for mouse events as well.
4757 Pass the new base-position to choose-completion-string.
4758 (choose-completion-guess-base-position): New function, extracted from
4759 choose-completion-delete-max-match.
4760 (choose-completion-delete-max-match): Use it. Make obsolete.
4761 (choose-completion-string): Use the new base-position info.
4762 (completion-root-regexp): Delete.
4763 (completion-setup-function): Preserve completion-base-position.
4764 Eliminate obsolete base-size manipulation.
4765 * minibuffer.el (display-completion-list): Don't mess with base-size.
4766 (minibuffer-completion-help): Set completion-base-position instead.
4767 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
4769 * textmodes/bibtex.el (bibtex-complete):
4770 * emacs-lisp/crm.el (crm--choose-completion-string):
4771 Adjust to new calling convention.
4772 * complete.el (partial-completion-mode): Use minibufferp to avoid
4773 bumping into incompatible change to choose-completion-string-functions.
4774 * ido.el (ido-choose-completion-string): Make its calling convention
4776 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
4777 base-size manipulation.
4778 (comint-dynamic-list-input-ring): Use dotimes and push.
4779 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
4780 fundamental-mode. Use `or'.
4782 2009-10-14 Juri Linkov <juri@jurta.org>
4784 * misearch.el (multi-isearch-next-buffer-from-list)
4785 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
4787 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4789 * Makefile.in (compile-onefile): Load `bytecomp' rather than
4792 * minibuffer.el (completion-pcm--merge-completions): Make sure the
4793 string we return is all made up of text from the completions rather
4794 than part from the completions and part from the input (bug#4219).
4796 * ido.el (ido-everywhere): Use define-minor-mode.
4798 * buff-menu.el (list-buffers, ctl-x-map):
4799 Mark the entry points with ;;;###autoload cookies.
4801 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
4803 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
4804 correctly in the detached head case.
4805 (vc-git-print-log): Remove unused binding.
4807 * vc.el (vc-responsible-backend): When a directory is passed for
4808 for registration create a VC repository if no backend is
4809 responsible for the directory argument.
4810 (vc-deduce-fileset): Tell vc-responsible-backend to register.
4812 * vc.el: Move comments about RCS and SCCS ...
4814 * vc-sccs.el: ... here, respectively.
4816 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4818 * minibuffer.el (completion--file-name-table): Return nil if there's
4819 no file completion, even if substitute-in-file-name changed
4820 the string (bug#4708).
4822 2009-10-13 Juri Linkov <juri@jurta.org>
4824 * files-x.el (read-file-local-variable-value): Don't filter out
4825 minor modes from mode name completion (bug#4664).
4827 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4829 * international/mule-cmds.el (ucs-names): Remove exclusion of
4830 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
4832 2009-10-13 Kenichi Handa <handa@m17n.org>
4834 * international/uni-name.el: Regenerated.
4836 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4838 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
4839 should be automatically buffer-local, but isn't.)
4841 2009-10-12 Sam Steingold <sds@gnu.org>
4843 * progmodes/compile.el (compilation-next-error-function): Fix the
4844 timestamps if the buffer has been visited before.
4845 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
4846 non-anchored patterns, like the perl one (bug#3928).
4848 2009-10-12 Glenn Morris <rgm@gnu.org>
4850 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
4853 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
4855 * proced.el (proced-unload-function): New function.
4857 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
4858 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
4861 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
4863 2009-10-11 Juri Linkov <juri@jurta.org>
4865 * files-x.el (read-file-local-variable-value):
4866 Provide default value only for bound variables (bug#4664).
4868 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
4870 * net/tramp.el (tramp-local-host-p): Function shall return nil for
4871 connection methods like smb.
4873 * net/tramp-cache.el (tramp-flush-connection-property): The hash
4876 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4877 (tramp-smb-file-name-handler-alist): Add handlers for
4878 `add-name-to-file', `make-symbolic-link'.
4879 (tramp-smb-handle-add-name-to-file)
4880 (tramp-smb-do-file-attributes-with-stat)
4881 (tramp-smb-handle-make-symbolic-link)
4882 (tramp-smb-get-cifs-capabilities): New defuns.
4883 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4884 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4885 (tramp-smb-handle-file-local-copy)
4886 (tramp-smb-handle-make-directory-internal)
4887 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
4888 The file name syntax depends on cifs capabilities.
4889 (tramp-smb-handle-file-attributes):
4890 Call `tramp-smb-do-file-attributes-with-stat' if possible.
4891 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
4892 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
4894 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
4896 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
4897 (eieio-defclass): Apply deftype handler and setf-method properties
4899 (eieio-add-new-slot): Avoid union function from cl library.
4900 (eieio--typep): New function.
4901 (eieio-perform-slot-validation): Use it.
4903 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4905 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
4906 Update documentation to refer to the variables documented in r1.135.
4909 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4911 * bookmark.el (Info-suffix-list): Remove this unused variable.
4912 (bookmark-current-point): Remove this obsolete variable.
4913 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
4914 Adjust for removal of bookmark-current-point.
4916 (bookmarks-already-loaded, bookmark-current-buffer)
4917 (bookmark-yank-point): Document. (Bug#4188)
4919 2009-10-10 Glenn Morris <rgm@gnu.org>
4921 * frame.el (frame-height): Doc fix.
4923 * calendar/calendar.el (calendar-split-width-threshold): New option.
4924 (calendar-basic-setup): Use calendar-split-width-threshold.
4926 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
4928 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
4929 Use .la for Automake.
4931 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
4933 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
4934 Use "autoreconf -i". Suggested by Andreas Schwab.
4936 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
4938 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
4939 Ideographic Supplement" range (U+1F200..U+1F2FF).
4941 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4943 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
4944 since the list will have been rebuilt anyway. (Bug#4349)
4946 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4948 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
4949 (bookmark-bmenu-execute-deletions): Don't save here, as
4950 bookmark-delete will now do so if necessary.
4951 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
4954 2009-10-09 Glenn Morris <rgm@gnu.org>
4956 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
4958 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4960 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
4961 (bookmark-jump-other-window): Just invoke bookmark-jump with new
4962 argument now, so the two function's behaviors will match. (Bug#3645)
4964 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4966 * cedet/ede/proj.el (project-make-dist, project-compile-project):
4968 (ede-proj-dist-makefile): Use expand-file-name instead of concat
4969 to expand file names.
4971 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
4973 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
4974 (tramp-file-name-real-host, tramp-file-name-port):
4975 Apply `save-match-data'.
4977 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
4978 case both directories are remote.
4979 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
4980 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
4982 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4984 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
4985 (ede-proj-target-makefile-objectcode): Use it.
4987 * cedet/ede/source.el (ede-want-any-source-files-p)
4988 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
4989 Return search result. This error was introduced while merging.
4991 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4993 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
4995 2009-10-07 Glenn Morris <rgm@gnu.org>
4997 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
5000 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5002 * files-x.el (read-file-local-variable): Include some
5003 non-user-variables in the completion table (bug#4664).
5005 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
5007 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
5010 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
5011 (tramp-smb-file-name-handler-alist): Add handler for
5012 `copy-directory', `expand-file-name', `set-file-modes'.
5013 (tramp-smb-handle-copy-directory)
5014 (tramp-smb-handle-expand-file-name)
5015 (tramp-smb-handle-set-file-modes): New defuns.
5016 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
5017 (tramp-smb-handle-file-attributes): Simplify check for retrieving
5019 (tramp-smb-handle-insert-directory): Don't flush the cache.
5020 (tramp-smb-maybe-open-connection): Check for samba client and
5023 2009-10-07 Eli Zaretskii <eliz@gnu.org>
5025 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
5026 to not error out of search for "^lisp=" fails.
5028 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
5030 * makefile.w32-in (WINS_UPDATES): New macro.
5031 (custom-deps, finder-data, autoloads): Use it.
5033 2009-10-07 Glenn Morris <rgm@gnu.org>
5035 * Makefile.in (autoloads): Revert previous change.
5036 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
5037 the list of preloaded files passed on the command-line, get
5038 it from src/Makefile.
5040 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
5041 show the original buffer rather than a random one.
5043 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
5045 * help.el (describe-no-warranty): Place point in a slightly better
5046 position in the GPLv3 text.
5048 2009-10-06 Sam Steingold <sds@gnu.org>
5050 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
5051 the comm attribute is present before calling regexp-quote.
5053 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
5055 * play/animate.el (animate-string): For good effect, make sure
5056 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
5058 * play/animate.el (animate-sequence, animate-birthday-present):
5059 * misc.el (butterfly): Don't set `indent-tabs-mode'.
5061 2009-10-06 Glenn Morris <rgm@gnu.org>
5063 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
5065 * emacs-lisp/autoload.el (autoload-excludes): New variable.
5066 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
5067 (batch-update-autoloads): Process a string value of autoload-excludes,
5068 set during the build process.
5069 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
5071 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
5072 inside with-parsed... macro so that `v' is defined.
5074 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
5075 * progmodes/fortran.el (fortran-end-of-block)
5076 (fortran-beginning-of-block):
5077 Also push mark in the macro case.
5079 * emerge.el (emerge-show-file-name):
5080 * calc/calc.el (calc-quit):
5081 * calc/calc-misc.el (calc-big-or-small):
5082 * calc/calc-graph.el (calc-graph-view):
5083 * calc/calc-ext.el (calc-reset):
5084 * calendar/calendar.el (calendar-basic-setup):
5085 Use window-full-height-p.
5087 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
5088 header we don't understand, don't insert another. (Bug#4624)
5089 If changing mime charset, insert the new one in the right place.
5091 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
5093 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
5094 (cal-tex-cursor-month): Correctly increment the end date for diary and
5095 holiday listing. (Bug#4626)
5097 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5099 * help-fns.el (describe-function-1): Don't burp if the function is not
5102 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
5104 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
5105 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
5106 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
5107 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
5109 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
5110 (eieio-default-superclass): Reflow docstrings.
5111 (this, class-option-assoc, defclass, eieio-class-un-autoload)
5112 (eieio-unbind-method-implementations, defmethod)
5113 (eieio-validate-slot-value, eieio-validate-class-slot-value)
5114 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
5115 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
5116 (eieio-slot-originating-class-p, eieio-slot-name-index)
5117 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
5118 (constructor, initialize-instance, no-next-method, object-print)
5119 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
5120 Fix typos in docstrings.
5121 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
5122 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
5123 (next-method-p): Doc fixes.
5124 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
5125 Fix typos in error messages.
5126 (eieio-defmethod): Fix typo in description of generic method.
5128 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
5129 (eieio-persistent-save-interactive, slot-missing):
5130 Fix typos in docstrings.
5131 (eieio-instance-inheritor-slot-boundp): Doc fix.
5133 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
5134 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
5136 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
5137 (eieio-custom-object-apply-reset):
5138 Fix typos in docstrings and error messages.
5140 * emacs-lisp/eieio-datadebug.el (data-debug-show):
5141 Fix typo in docstring.
5143 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
5144 (eieio-browse-tree): Doc fix.
5145 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
5146 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
5147 Fix typos in docstrings.
5149 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
5150 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
5151 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
5152 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
5155 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
5157 * vc-hg.el (log-view-vc-backend): Declare for compiler.
5158 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
5159 Set log-view-vc-backend so that diff can work.
5161 * log-view.el (log-view-diff): Use vc-diff-internal instead of
5163 (vc-diff-internal): Autoload this instead of vc-version-diff.
5165 2009-10-05 Eli Zaretskii <eliz@gnu.org>
5167 * simple.el (eval-expression): Doc fix.
5169 * progmodes/cwarn.el (cwarn-mode): Doc fix.
5171 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
5173 * files.el (directory-files-no-dot-files-regexp): New defconst.
5174 (delete-directory): Use it.
5175 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
5177 * net/tramp.el (tramp-verbose): Fix docstring.
5178 (tramp-methods): Add recursive option to `tramp-copy-args'.
5179 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
5180 "scp1_old", "scp2_old", "rsync", "rsyncc".
5181 (tramp-default-method): Check also for `auth-source-user-or-password'.
5182 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
5183 Add handler for `copy-directory'.
5184 (tramp-handle-copy-directory): New defun.
5185 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
5186 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
5187 Optimize sent command.
5189 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
5192 window if necessary.
5194 * calendar/calendar.el (calendar-basic-setup): Don't call
5195 switch-to-buffer in a dedicated window.
5197 2009-10-05 Karl Fogel <kfogel@red-bean.com>
5199 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
5200 don't do anything related to relocating, just return nil.
5201 (bookmark-error-no-filename): New error.
5202 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
5203 bookmark has no file. Don't even attempt to handle things that
5204 are not files; the whole point of custom handlers is to keep that
5205 knowledge elsewhere anyway. Tighten some comments.
5206 (bookmark-file-or-variation-thereof): Remove now-unused function.
5207 (bookmark-location): Doc string fix.
5210 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5212 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
5213 don't use a file dialog, because they usually don't know how to read
5214 a directory target from the user. (Bug#4230)
5215 Also, make sure the prompt can display directories as well as files.
5217 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5219 * bookmark.el (bookmark-set, bookmark-buffer-name):
5220 Improve doc strings. (Bug#1193)
5222 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5224 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
5225 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
5226 (bookmark-get-annotation, bookmark-set-annotation)
5227 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
5228 (bookmark-set-position, bookmark-get-front-context-string)
5229 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
5230 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
5231 (bookmark-jump-other-window, bookmark-handle-bookmark)
5232 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
5233 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
5234 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
5235 Improve doc strings to say whether bookmark can be a string or
5236 a record or both, and make other consistency and clarity fixes.
5237 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
5238 (bookmark-default-annotation-text, bookmark-yank-word)
5239 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
5240 (bookmark-import-new-list, bookmark-maybe-rename)
5241 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
5242 (bookmark-bmenu-bookmark): Give these doc strings.
5243 (bookmark-bmenu-check-position): Give this a doc string, but also
5244 add a FIXME comment about how the function may be pointless.
5245 (bookmark-default-handler): Rework doc string and change a
5246 parameter name, to clarify that this takes a bookmark record
5247 not a bookmark name.
5248 (bookmark-set): Change a parameter name to indicate its meaning,
5249 and improve the doc string a bit.
5252 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5254 * bookmark.el (bookmark-alist): Document the new `handler' element
5256 (bookmark-make-record-function): Adjust documentation for above.
5259 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5261 * info.el (Info-bookmark-make-record): Document this function.
5262 (Info-bookmark-jump): Document with a doc string, not just a comment.
5265 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
5267 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
5268 (semantic-new-buffer-fcn): Call parser setup functions here.
5269 (semantic-mode): Don't call parser setup functions here, it's done
5270 in semantic-new-buffer-fcn now.
5271 (semantic-mode): Parse all existing buffers when enabled.
5273 * cedet/srecode/compile.el (srecode-compile-file):
5274 Call semantic-new-buffer-fcn if the buffer has not been parsed.
5276 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
5278 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
5280 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
5281 (proj-comp-insert-variable-once): New macro, renamed from
5282 ede-pmake-insert-variable-once in ede/pmake.edl.
5283 (ede-proj-makefile-insert-variables): Use it.
5285 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
5287 * files.el (copy-directory): New defun.
5289 * dired-aux.el (dired-copy-file-recursive): Use it.
5291 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
5293 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
5294 (makefile-end-of-command):
5295 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
5296 (semantic-end-of-context): Fix previous change. Doc fixes.
5298 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
5300 * files-x.el (modify-dir-local-variable)
5301 (copy-dir-locals-to-file-locals-prop-line):
5302 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
5303 (makefile-end-of-command):
5304 * cedet/semantic/lex.el (semantic-lex-token):
5305 * cedet/semantic/analyze/fcn.el
5306 (semantic-analyze-dereference-metatype-1):
5307 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
5308 (semantic-lex-cpp-undef):
5309 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
5310 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
5311 (semantic-end-of-context): Fix typos in docstrings.
5313 * recentf.el (recentf-unload-function): New function.
5315 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
5317 * cedet/ede.el (ede-project-placeholder-cache-file):
5318 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
5319 * cedet/srecode/map.el (srecode-map-save-file):
5320 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
5322 2009-10-04 Glenn Morris <rgm@gnu.org>
5324 * window.el (window-full-height-p): Add doc string.
5326 2009-10-04 Martin Rudalics <rudalics@gmx.at>
5328 * window.el (window-full-height-p): New function. (Bug#4543)
5330 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
5332 * cedet/srecode/insert.el: Require srecode/args.
5334 * cedet/srecode/args.el: Require srecode/dictionary instead of
5337 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
5339 * files.el (auto-mode-alist): Add .srt and Project.ede.
5341 * cedet/semantic.el (semantic-mode):
5342 Handle srecode-template-mode-hook as well.
5343 (semantic-mode): Use js-mode-hook for Javascript hook.
5345 * cedet/srecode/template.el: Remove hook variable.
5347 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
5349 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
5351 (ede-project-placeholder-cache-file): Default to a file in
5352 user-emacs-directory.
5354 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
5355 templates in data-directory.
5356 (srecode-map-save-file): Default to a file in user-emacs-directory.
5358 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
5361 2009-09-30 Eric Ludlam <zappo@gnu.org>
5363 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
5366 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
5367 Only insert each variable once.
5369 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
5370 (ede-pmake-insert-variable-shared): Use it.
5372 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
5373 for lexical table iff table is nil.
5375 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5377 * vc.el: Remove commented out code.
5378 (vc-derived-from-dir-mode): Remove, unused.
5379 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
5381 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
5383 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5384 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
5385 there could be recursive loading when `default-directory' is a
5386 remote file name. (Bug#4614)
5388 2009-10-03 Glenn Morris <rgm@gnu.org>
5390 * calendar/calendar.el (calendar-basic-setup): Handle the case where
5392 (calendar-generate-window): Test for shrinkability rather than width.
5394 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
5395 declaration, currently false.
5397 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
5398 reusing existing buffers, in case we happen to visit two files with the
5399 same basename. (Bug#4593)
5401 2009-10-02 Eli Zaretskii <eliz@gnu.org>
5403 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
5404 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
5405 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
5406 subdirs of cedet as well.
5407 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
5409 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
5412 Obey advertised-signature-table.
5414 * help-fns.el (help-function-arglist): Don't check
5415 advertised-signature-table.
5416 (describe-function-1): Do it here instead so it also applies to subrs.
5418 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
5420 * simple.el (start-file-process): Say in the doc-string, that file
5421 handlers might not support pty association, if PROGRAM is nil.
5423 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
5424 HOST and USER are strings. They are nil, when there are
5425 incomplete entries in ~/.netrc, for example.
5426 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
5427 root directory ("device busy" error otherwise).
5429 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
5430 Flush file properties of created directory.
5432 2009-10-02 Eli Zaretskii <eliz@gnu.org>
5434 * makefile.w32-in (WINS_BASIC): Remove cedet.
5435 (WINS_CEDET): Add cedet.
5436 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
5438 2009-10-02 Kevin Ryde <user42@zip.com.au>
5440 * net/browse-url.el (browse-url): Pass any symbol in
5441 browse-url-browser-function to `apply', since if you've mistakenly put
5442 an unbound symbol then the error is clearer. (Bug#4531)
5444 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5446 * allout.el (allout-init, allout-back-to-current-heading)
5447 (allout-beginning-of-current-entry, allout-ascend-to-depth)
5448 (allout-ascend, allout-up-current-level, allout-end-of-level)
5449 (allout-previous-visible-heading, allout-forward-current-level)
5450 (allout-backward-current-level, allout-show-children):
5451 * apropos.el (apropos-describe-plist):
5452 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
5453 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
5454 * completion.el (add-completion, add-permanent-completion):
5455 * descr-text.el (describe-text-category, describe-char):
5456 * desktop.el (desktop-lazy-abort):
5457 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
5458 * dired.el (dired-build-subdir-alist):
5459 * ediff.el (ediff-version):
5460 * elide-head.el (elide-head, elide-head-show):
5461 * emerge.el (emerge-version):
5463 * face-remap.el (variable-pitch-mode):
5464 * faces.el (describe-face):
5465 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
5467 * files.el (find-file-existing, auto-save-mode):
5468 * font-lock.el (font-lock-fontify-buffer):
5469 * help-fns.el (describe-function, describe-variable)
5470 (describe-syntax, describe-categories):
5471 * help.el (view-lossage, describe-bindings, describe-key)
5473 * hexl.el (hexl-current-address):
5474 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
5475 * info.el (Info-goto-emacs-key-command-node):
5476 * log-edit.el (log-edit-insert-cvs-template)
5477 (log-edit-insert-cvs-rcstemplate):
5478 * menu-bar.el (menu-bar-mode):
5479 * mouse.el (mouse-appearance-menu):
5480 * newcomment.el (comment-indent-new-line):
5481 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
5482 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
5483 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
5484 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
5485 * recentf.el (recentf-mode):
5486 * savehist.el (savehist-mode, savehist-save):
5487 * shadowfile.el (shadow-copy-files):
5488 * simple.el (kill-ring-save, next-line, previous-line)
5489 (normal-erase-is-backspace-mode):
5490 * strokes.el (strokes-update-window-configuration)
5491 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
5492 (strokes-xpm-for-stroke):
5493 * time.el (emacs-uptime, emacs-init-time):
5494 * tutorial.el (tutorial--describe-nonstandard-key)
5495 (tutorial--detailed-help):
5496 * type-break.el (type-break-mode)
5497 (type-break-mode-line-message-mode, type-break-query-mode)
5498 (type-break-guesstimate-keystroke-threshold):
5499 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
5500 * version.el (emacs-version):
5501 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
5502 * winner.el (winner-mode):
5503 * calendar/timeclock.el (timeclock-in, timeclock-out)
5504 (timeclock-status-string, timeclock-change)
5505 (timeclock-workday-remaining-string)
5506 (timeclock-workday-elapsed-string)
5507 (timeclock-when-to-leave-string):
5508 * calendar/todo-mode.el (todo-add-category):
5509 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
5510 * emacs-lisp/autoload.el (update-file-autoloads):
5511 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
5512 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
5513 (checkdoc-message-text, checkdoc-defun):
5514 * emacs-lisp/debug.el (debugger-list-functions):
5515 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5516 * emacs-lisp/eieio-opt.el (eieio-describe-class)
5517 (eieio-describe-generic):
5518 * emacs-lisp/lisp-mnt.el (lm-synopsis):
5519 * emacs-lisp/shadow.el (list-load-path-shadows):
5520 * emulation/cua-base.el (cua-mode):
5521 * emulation/edt.el (edt-set-scroll-margins):
5522 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
5523 (tpu-toggle-regexp, tpu-toggle-search-direction)
5524 (tpu-toggle-rectangle, tpu-toggle-control-keys):
5525 * emulation/tpu-extras.el (tpu-set-scroll-margins):
5526 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5527 (viper-set-parsing-style-toggling-macro)
5528 (viper-set-emacs-state-searchstyle-macros):
5529 * emulation/viper.el (viper-set-hooks):
5530 * eshell/esh-mode.el (eshell-truncate-buffer):
5531 * international/mule-cmds.el (prefer-coding-system)
5532 (describe-input-method, describe-language-environment):
5533 * international/mule-diag.el (list-character-sets)
5534 (describe-character-set, describe-coding-system)
5535 (describe-fontset, list-fontsets, list-input-methods):
5536 * mail/sendmail.el (mail-signature):
5537 * net/ange-ftp.el (ange-ftp-copy-file):
5538 * net/browse-url.el (browse-url):
5539 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
5540 * net/quickurl.el (quickurl-add-url):
5541 * net/rcirc.el (names, topic):
5542 * net/xesam.el (xesam-mode):
5543 * play/5x5.el (5x5-new-game):
5544 * play/yow.el (apropos-zippy):
5545 * progmodes/ada-mode.el (ada-mode-version):
5546 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
5548 (f90-beginning-of-block):
5549 * progmodes/fortran.el (fortran-end-of-block)
5550 (fortran-beginning-of-block):
5551 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
5552 * progmodes/python.el (python-describe-symbol, python-shell):
5553 * term/ns-win.el (ns-print-buffer):
5554 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
5555 * textmodes/flyspell.el (flyspell-mode-on):
5556 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
5557 (pages-directory-for-addresses):
5558 * textmodes/table.el (table-recognize-cell)
5559 (table-query-dimension, table-generate-source)
5560 (table-insert-sequence, table--warn-incompatibility):
5561 * textmodes/tex-mode.el (tex-validate-buffer):
5562 * textmodes/texinfmt.el (texinfmt-version)
5563 (texinfo-format-buffer):
5564 Use `called-interactively-p' instead of `interactive-p'.
5566 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5568 * image-mode.el (image-toggle-display):
5569 * emacs-lisp/elp.el (elp-instrument-function):
5570 * emacs-lisp/advice.el (ad-make-advised-definition):
5571 * emacs-lisp/easy-mmode.el (define-minor-mode):
5572 * net/browse-url.el (browse-url-maybe-new-window):
5573 * progmodes/sh-script.el (sh-learn-buffer-indent):
5574 Pass new argument 'any to `called-interactively-p'.
5576 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5578 * international/uni-bidi.el:
5579 * international/uni-category.el:
5580 * international/uni-combining.el:
5581 * international/uni-comment.el:
5582 * international/uni-decimal.el:
5583 * international/uni-decomposition.el:
5584 * international/uni-digit.el:
5585 * international/uni-lowercase.el:
5586 * international/uni-mirrored.el:
5587 * international/uni-name.el:
5588 * international/uni-numeric.el:
5589 * international/uni-old-name.el:
5590 * international/uni-titlecase.el:
5591 * international/uni-uppercase.el:
5592 Regenerate from Unicode 5.2.0 data.
5594 2009-10-01 Glenn Morris <rgm@gnu.org>
5596 * Makefile.in (ELCFILES): Regenerate.
5598 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5600 * subr.el (interactive-p): Mark obsolete.
5601 (called-interactively-p): Make the optional-ness of `kind' obsolete.
5602 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
5603 advertised-signature-table for subroutines as well.
5605 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
5606 (set-advertised-calling-convention): New function.
5607 (make-obsolete, define-obsolete-function-alias)
5608 (make-obsolete-variable, define-obsolete-variable-alias):
5609 Make the optional-ness of `when' obsolete.
5610 (define-obsolete-face-alias): Make `when' non-optional.
5611 * help-fns.el (help-function-arglist):
5612 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
5613 Use advertised-signature-table.
5615 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
5617 * files.el (delete-directory): New defun. The original function
5618 in fileio.c has been renamed to `delete-directory-internal'.
5620 * dired.el (dired-delete-file): Call `delete-directory' with
5621 RECURSIVE parameter.
5623 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
5624 parameter RECURSIVE. Implementation is missing.
5626 * net/tramp.el (tramp-handle-make-directory): Flush upper
5627 directory's file properties.
5628 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
5629 (tramp-handle-dired-recursive-delete-directory): Flush directory
5630 properties after the remove command only.
5632 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
5633 Handle optional parameter RECURSIVE.
5635 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
5636 Handle optional parameter RECURSIVE.
5638 * net/tramp-smb.el (tramp-smb-errors): Add error message for
5640 (tramp-smb-handle-delete-directory): Handle optional parameter
5643 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5645 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
5646 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
5647 (byte-compile-defmacro): Use backquotes.
5649 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
5651 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
5652 has no associated file.
5653 (vc-resynch-buffer): Use vc-dir-buffers.
5655 2009-10-01 Glenn Morris <rgm@gnu.org>
5657 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
5659 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
5660 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
5661 * emacs-lisp/eieio-opt.el (eieio-describe-class):
5662 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
5663 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
5664 (eieio-copy-parents-into-subclass, make-instance, class-children)
5665 (eieio-generic-form):
5666 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
5667 * cedet/cedet-idutils.el (cedet-idutils-search)
5668 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
5669 (cedet-idutils-version-check):
5670 * cedet/cedet.el (cedet-version):
5671 * cedet/data-debug.el (data-debug-insert-overlay-button)
5672 (data-debug-insert-overlay-list-button)
5673 (data-debug-insert-buffer-button)
5674 (data-debug-insert-buffer-list-button)
5675 (data-debug-insert-process-button, data-debug-insert-ring-button)
5676 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
5677 (data-debug-insert-stuff-vector-button)
5678 (data-debug-insert-symbol-button, data-debug-insert-string)
5679 (data-debug-insert-number, data-debug-insert-lambda-expression)
5680 (data-debug-insert-nil, data-debug-insert-simple-thing)
5681 (data-debug-insert-custom, data-debug-edebug-expr):
5682 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
5683 (global-ede-mode-map, ede-new, ede-debug-target)
5684 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
5685 * cedet/semantic.el (semantic-minimum-working-buffer-size)
5686 (semantic-fetch-tags, semantic-submode-list)
5687 (semantic-default-submodes):
5688 * cedet/ede/source.el (ede-source-match):
5689 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
5690 (project-am-package-info):
5691 * cedet/ede/proj.el (ede-proj-target, project-new-target):
5692 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
5693 * cedet/ede/proj-comp.el (ede-current-build-list):
5694 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
5695 * cedet/ede/files.el (ede-toplevel-project-or-nil):
5696 * cedet/ede/cpp-root.el (initialize-instance):
5697 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
5698 (autoconf-parameter-strip, autoconf-insert-new-macro):
5699 * cedet/semantic/wisent.el (wisent-lex-eoi):
5700 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
5701 (semantic-show-parser-state-mode):
5702 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
5703 * cedet/semantic/tag.el (semantic-tag-new-variable)
5704 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
5705 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
5706 (semantic--tag-deep-copy-tag-list)
5707 (semantic-tag-components-with-overlays-default):
5708 * cedet/semantic/symref.el (semantic-symref-find-text):
5709 * cedet/semantic/senator.el (senator-yank-tag)
5710 (senator-transpose-tags-up):
5711 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
5712 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
5713 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
5714 * cedet/semantic/lex.el (semantic-lex-comment-regex)
5715 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
5716 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
5717 * cedet/semantic/lex-spp.el
5718 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
5719 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
5720 * cedet/semantic/idle.el
5721 (semantic-idle-summary-current-symbol-info-brutish)
5722 (semantic-idle-summary-current-symbol-info-default):
5723 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
5724 (semantic--grammar-macro-compl-dict):
5725 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
5726 * cedet/semantic/format.el (semantic-format-tag-custom-list)
5727 (semantic-format-tag-canonical-name-default):
5728 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
5729 (semantic-find-tags-for-completion)
5730 (semantic-find-tags-by-scope-protection-default)
5731 (semantic-deep-find-tags-for-completion):
5732 * cedet/semantic/edit.el
5733 (semantic-edits-incremental-reparse-failed-hook)
5734 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
5735 (semantic-edits-splice-remove, semantic-edits-splice-replace):
5736 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
5737 * cedet/semantic/dep.el (semantic-dependency-include-path):
5738 * cedet/semantic/db.el (semanticdb-default-find-index-class)
5739 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
5740 (semanticdb-project-roots):
5741 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
5742 (semanticdb-find-adebug-insert-scanned-tag-cons)
5743 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
5744 (semanticdb-brute-deep-find-tags-for-completion):
5745 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
5746 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
5747 (semantic-end-of-context-default)
5748 (semantic-ctxt-current-function-default)
5749 (semantic-ctxt-scoped-types-default):
5750 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5751 (semantic-complete-inline-tag-engine)
5752 (semantic-complete-inline-custom-type)
5753 (semantic-complete-read-tag-analyzer):
5754 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
5755 (semantic-chart-database-size):
5756 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
5757 (semantic-analyze-current-context):
5758 * cedet/semantic/symref/list.el (semantic-symref)
5759 (semantic-symref-hide-buffer, semantic-symref-symbol):
5760 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
5761 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
5762 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
5763 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
5764 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
5765 (semantic-c-dereference-template):
5766 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
5767 (semantic--analyze-refs-full-lookup-with-parents)
5768 (semantic--analyze-refs-full-lookup-simple):
5769 * cedet/semantic/analyze/complete.el
5770 (semantic-analyze-possible-completions):
5771 * cedet/srecode/table.el (srecode-mode-table-new):
5772 * cedet/srecode/srt.el (srecode-read-variable-name):
5773 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
5774 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
5775 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
5776 * cedet/srecode/map.el (srecode-current-map):
5777 * cedet/srecode/insert.el (srecode-insert)
5778 (srecode-insert-variable-secondname-handler, srecode-insert-method)
5779 (srecode-template-inserter-point-override)
5780 (srecode-insert-include-lookup):
5781 * cedet/srecode/getset.el (srecode-auto-choose-class):
5782 * cedet/srecode/extract.el (srecode-inserter-extract):
5783 * cedet/srecode/document.el
5784 (srecode-document-autocomment-return-last-alist)
5785 (srecode-document-autocomment-param-type-alist)
5786 (srecode-document-insert-function-comment)
5787 (srecode-document-insert-variable-one-line-comment)
5788 (srecode-document-function-name-comment):
5789 * cedet/srecode/dictionary.el (srecode-create-dictionary)
5790 (srecode-compound-toString):
5791 * cedet/srecode/compile.el (srecode-flush-active-templates):
5792 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
5795 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
5796 match-data. (Bug#4555).
5798 * cedet/semantic/bovine/gcc.el
5799 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
5800 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
5802 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
5803 rather than parsing it as a regexp. This relaxes the layout
5804 requirements and makes errors easier to detect.
5805 (check-declare-verify): Check file is regular.
5806 (check-declare-directory): Doc fix.
5807 * subr.el (declare-function): Doc fix.
5809 * ibuffer.el (ibuffer-format-qualifier):
5810 * isearch.el (hi-lock-regexp-okay):
5811 * calc/calc.el (math-zerop):
5812 * mail/uce.el (rmail-msgbeg, rmail-msgend):
5813 * term/w32-win.el (setup-default-fontset, set-fontset-font):
5814 Remove unused declarations.
5816 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5818 * cedet/semantic/wisent/javat-wy.el
5819 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
5821 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
5823 * cedet/srecode/expandproto.el: Fix provide statement.
5825 2009-09-30 Eric Ludlam <zappo@gnu.org>
5827 * emacs-lisp/eieio.el (boolean-p): Delete.
5829 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
5831 * cedet/ede/srecode.el: Fix provide statement.
5833 2009-09-30 Glenn Morris <rgm@gnu.org>
5835 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
5836 * cedet/ede/proj-aux.el (ede-aux-source):
5837 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
5839 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
5840 (semantic-mrub-switch-tags): Fix doc typos.
5842 * cedet/semantic/db-global.el (data-debug-new-buffer)
5843 (data-debug-insert-thing): Remove unneeded declarations (one broken).
5844 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
5846 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
5848 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
5849 use of CL function `remove-if-not'.
5851 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
5853 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
5854 filename is not a string.
5856 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
5858 * files.el (safe-local-eval-forms): Fix typo.
5860 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * vc-hooks.el (vc-dir-buffers): New var.
5863 (vc-state-refresh): New function.
5865 (vc-after-save): Always ask the backend to recompute the new state.
5866 Always call vc-dir if necessary, using vc-dir-buffers.
5867 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
5869 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
5870 (vc-dir-prepare-status-buffer, vc-dir-update)
5871 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
5872 Don't call expand-file-name on default-directory.
5874 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5876 * speedbar.el (speedbar-item-delete):
5877 * calc/calc-prog.el (calc-kbd-if):
5878 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
5880 * epa.el (epa-key-list-mode-map):
5881 * hi-lock.el (hi-lock-menu): Fix typos in menus.
5883 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
5884 (hs-show-hook): Fix typo in docstring.
5886 2009-09-29 Glenn Morris <rgm@gnu.org>
5888 * cedet/semantic/symref/idutils.el:
5889 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
5891 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
5893 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
5894 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
5895 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
5896 Mark declarations not understood by check-declare.
5898 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
5899 file-name-nondirectory call preventing location of cedet files.
5900 (check-declare-verify): Use literal search rather than re-search.
5901 Add basic defmethod and defclass, and define-overloadable-function.
5903 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5904 Use tramp-compat-file-attributes rather than nonexistent
5905 tramp-compat-handle-file-attributes.
5907 * Makefile.in (lisptagsfiles4): New.
5908 (AUTOGENEL): Add cedet loaddefs files.
5909 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
5910 (update-elclist, compile-always, backup-compiled-files)
5911 (bootstrap-clean): Add yet another directory level.
5912 (update-elclist): Use LC_COLLATE rather than COLLATE.
5913 (ELCFILES): Update, via `make update-elclist'.
5915 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5917 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
5918 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
5919 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
5921 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
5923 * Makefile.in (lisptagsfiles3): Define.
5924 (TAGS, TAGS-LISP): Use it.
5925 (update-elclist): Add third directory level to look for elc files.
5926 (compile-always): Likewise.
5927 (backup-compiled-files): Likewise.
5928 (bootstrap-clean): Likewise.
5931 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
5933 * Makefile.in (ELCFILES): Add CEDET files.
5935 2009-09-28 Eric Ludlam <zappo@gnu.org>
5937 CEDET (development tools) package merged.
5941 * cedet/semantic/*.el:
5942 * cedet/srecode/*.el: New files.
5944 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
5946 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
5948 * net/tramp.el (top): Require tramp-imap.
5950 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5951 Use `tramp-compat-handle-file-attributes'.
5953 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
5955 * net/tramp-imap.el: New package.
5957 2009-09-28 Eric Ludlam <zappo@gnu.org>
5959 * emacs-lisp/chart.el:
5960 * emacs-lisp/eieio-base.el:
5961 * emacs-lisp/eieio-comp.el:
5962 * emacs-lisp/eieio-custom.el:
5963 * emacs-lisp/eieio-datadebug.el:
5964 * emacs-lisp/eieio-opt.el:
5965 * emacs-lisp/eieio-speedbar.el:
5966 * emacs-lisp/eieio.el: New files.
5968 * cedet/cedet-cscope.el:
5969 * cedet/cedet-files.el:
5970 * cedet/cedet-global.el:
5971 * cedet/cedet-idutils.el:
5972 * cedet/data-debug.el:
5973 * cedet/inversion.el:
5974 * cedet/mode-local.el:
5975 * cedet/pulse.el: New files.
5977 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5979 * whitespace.el (whitespace-trailing-regexp)
5980 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5983 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
5985 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
5988 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
5989 menu-bar-ediff-menu.
5991 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
5992 define-overloadable-function.
5994 * progmodes/autoconf.el: Provide autoconf as well, so that this
5995 file can be `require'd.
5997 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
5999 * emacs-lisp/autoload.el (generated-autoload-feature)
6000 (generated-autoload-load-name): New vars.
6001 (autoload-rubric, autoload-generate-file-autoloads): Use them.
6002 (make-autoload): Recognize define-overloadable-function and
6003 defclass forms (for EIEIO).
6005 * Makefile.in (update-subdirs): Exclude cedet directory.
6007 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
6009 * term/ns-win.el: Don't set the region face background. (Bug#4381)
6011 * faces.el: Default light-background background for region face to
6012 ns_selection_color under NS.
6014 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6016 * net/imap-hash.el: New library, see NEWS.
6018 * Makefile.in (ELCFILES): Add imap-hash.el.
6020 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
6023 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
6024 * help-macro.el (make-help-screen): Avoid using an ambiguous function
6025 definition where the docstring could be taken for the return value.
6027 2009-09-26 Glenn Morris <rgm@gnu.org>
6029 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
6030 Add option to only show images below a certain size.
6031 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
6032 save-excursion calls.
6034 2009-09-26 Eli Zaretskii <eliz@gnu.org>
6036 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
6037 subdirectories) and eieio.
6039 2009-09-26 Alan Mackenzie <acm@muc.de>
6041 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
6042 buggy bracketing. (Bug#4289)
6044 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
6045 character constants (as case labels). (Bug#4289)
6047 2009-09-25 Juri Linkov <juri@jurta.org>
6049 * files.el (safe-local-eval-forms): Allow time-stamp in
6050 before-save-hook (Bug#4554).
6052 2009-09-25 Drew Adams <drew.adams@oracle.com>
6054 * menu-bar.el (list-buffers-directory): Doc fix.
6056 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
6059 Try and avoid copying twice the same paragraph.
6060 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
6061 Remove save-excursion.
6062 (log-edit-changelog-entry): Do it here instead.
6064 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
6066 * bs.el (bs--get-file-name): Use `list-buffers-directory'
6067 when available, instead of hardcoding mode names. Doc fix.
6069 * menu-bar.el (list-buffers-directory): Add docstring.
6070 Make automatically buffer-local.
6072 * dired.el (dired-mode):
6073 * files.el (cd-absolute):
6074 * pcvs.el (cvs-temp-buffer):
6075 * pcvs-util.el (cvs-get-buffer-create):
6076 * shell.el (shell-mode):
6077 * vc-dir.el (vc-dir-mode):
6078 Don't make `list-buffers-directory' buffer local.
6080 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
6082 * comint.el (comint-exec, comint-run, make-comint):
6083 Doc fixes (Bug#4542).
6085 2009-09-25 Glenn Morris <rgm@gnu.org>
6087 * mail/rmailmm.el (rmail-mime): New custom group.
6088 Move all defcustoms in this file into this group.
6089 (rmail-mime-media-type-handlers-alist): Revert previous change.
6090 (rmail-mime-show-images): New option.
6091 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
6092 references to it, since it wasn't actually used for anything.
6093 (rmail-mime-insert-image): New function.
6094 (rmail-mime-image): Use rmail-mime-insert-image.
6095 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
6096 obey the value of `rmail-mime-show-images' option. Print the size of
6099 2009-09-25 David Engster <deng@randomsample.de>
6101 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
6103 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6105 * whitespace.el: Does not highlight trailing spaces While point is
6106 at end of line. Does not highligt spaces at beginning of buffer
6107 while point is at beginning of buffer. Does not highlight spaces
6108 at end of buffer while point is at end of buffer. (Bug#4177)
6110 (whitespace-display-mappings): Adjust initialization.
6111 (whitespace-point, whitespace-font-lock-refontify): New vars.
6112 (whitespace-color-on, whitespace-color-off): Adjust code.
6113 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6114 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
6115 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
6117 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
6119 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
6121 * textmodes/sgml-mode.el: Remove xml-mode alias.
6123 * files.el (auto-mode-alist, conf-mode-maybe)
6124 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
6126 2009-09-24 Alan Mackenzie <acm@muc.de>
6128 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
6129 c-forward-conditionals, but it doesn't move point and doesn't set
6131 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
6132 (c-down-conditional-with-else, c-backward-conditional)
6133 (c-forward-conditional): Refactor to use c-scan-conditionals.
6135 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
6137 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
6138 (help-default-arg-highlight): Remove.
6139 (help-highlight-arg): New function.
6140 (help-do-arg-highlight): Use it.
6141 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
6143 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6145 * term.el (term-set-scroll-region, term-handle-ansi-escape):
6146 Undo last change, which didn't fix the problem and introduced others.
6148 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
6150 * progmodes/gdb-mi.el: Don't require speedbar.
6151 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
6153 2009-09-24 Glenn Morris <rgm@gnu.org>
6155 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
6157 * term/ns-win.el (ns-reg-to-script): Define for compiler.
6159 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
6160 there is no newline after the final mime boundary. (Bug#4539)
6161 Move markers on insertion so that any buttons inserted don't end up in
6162 the next part of a multipart message.
6163 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
6164 (rmail-mime-bulk-handler): Optionally handle images.
6165 (rmail-mime-image): New button action.
6166 (rmail-mime-image-handler): New function.
6167 (rmail-mime-mode): New mode.
6168 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
6170 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
6173 than just dropping elements from it (bug#4504).
6175 * term.el (term-set-scroll-region): Don't move cursor any more.
6176 (term-handle-ansi-escape): Call term-goto here instead.
6177 Suggested by Ivan Kanis <apple@kanis.eu>.
6179 * term.el: Require CL.
6180 (term-ansi-reset): New function.
6181 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
6182 (term-handle-colors-array): Simplify.
6184 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
6186 * allout.el (allout-overlay-interior-modification-handler)
6187 (allout-obtain-passphrase):
6188 * epa-file.el (epa-file-write-region):
6189 * ps-print.el (ps-begin-job):
6190 * vc-hooks.el (vc-toggle-read-only):
6191 * vc-rcs.el (vc-rcs-rollback):
6192 * vc-sccs.el (vc-sccs-rollback):
6193 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
6194 (vc-version-diff, vc-revert, vc-rollback):
6195 * wdired.el (wdired-check-kill-buffer):
6196 * emacs-lisp/authors.el (authors):
6197 * net/socks.el (socks-open-connection):
6198 * net/zeroconf.el (zeroconf-service-add-hook):
6199 * obsolete/vc-mcvs.el (vc-mcvs-register):
6200 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
6202 * progmodes/grep.el (lgrep, rgrep):
6203 * progmodes/idlw-help.el (idlwave-help-check-locations)
6204 (idlwave-help-html-link, idlwave-help-assistant-open-link):
6205 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6206 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
6207 (reftex-toc-rename-label): Fix typos in error messages.
6209 * dired-aux.el (dired-do-shell-command): Reflow docstring.
6210 (dired-copy-how-to-fn): Doc fix.
6211 (dired-files-attributes, dired-read-shell-command):
6212 Fix typos in docstrings.
6214 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
6215 (dired-x-find-file-other-window): Reflow docstrings.
6216 (dired-omit-marker-char, dired-read-shell-command)
6217 (dired-x-submit-report): Fix typos in docstrings.
6219 * shell.el (shell-mode-hook):
6220 * view.el (View-scroll-line-forward):
6221 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
6222 Fix typos in docstrings.
6224 * net/dig.el (dig-invoke): Fix typo in docstring.
6225 (query-dig): Reflow docstring.
6227 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
6228 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
6229 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
6230 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
6231 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
6232 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
6233 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
6234 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
6235 (idlwave-completion-map, idlwave-current-indent)
6236 (idlwave-custom-ampersand-surround, idlwave-customize)
6237 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
6238 (idlwave-define-abbrev, idlwave-determine-class-special)
6239 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
6240 (idlwave-end-block-reg, idlwave-end-of-statement)
6241 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
6242 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
6243 (idlwave-explicit-class-listed, idlwave-file-header)
6244 (idlwave-fill-paragraph, idlwave-find-class-definition)
6245 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
6246 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
6247 (idlwave-in-quote, idlwave-indent-action-table)
6248 (idlwave-indent-expand-table, idlwave-indent-line)
6249 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
6250 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
6251 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
6252 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
6253 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
6254 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
6255 (idlwave-outlawed-buffers, idlwave-popup-select)
6256 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
6257 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
6258 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
6259 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
6260 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
6261 (idlwave-statement-type, idlwave-struct-skip)
6262 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
6263 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
6264 (idlwave-what-module-find-class): Fix typos in docstrings.
6265 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
6266 (idlwave-calculate-cont-indent, idlwave-expand-equal)
6267 (idlwave-find-module, idlwave-find-structure-definition)
6268 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
6269 (idlwave-list-load-path-shadows, idlwave-next-statement)
6270 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
6271 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
6272 (idlwave-template): Reflow docstrings.
6274 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
6275 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
6276 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
6277 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
6278 (idlwave-shell-display-line, idlwave-shell-display-wframe)
6279 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
6280 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
6281 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
6282 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
6283 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
6284 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
6285 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
6286 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
6287 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
6288 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
6289 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
6290 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
6291 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
6292 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
6293 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
6294 Fix typos in docstrings.
6295 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
6296 (idlwave-shell-hide-output, idlwave-shell-mode)
6297 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
6300 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
6302 2009-09-24 Ivan Kanis <apple@kanis.eu>
6304 * term.el (term-bold-attribute): New var.
6305 (term-handle-colors-array): Use it.
6307 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
6309 * progmodes/gdb-mi.el (gdb-version): New variable.
6310 (gdb-non-stop-handler): Set gdb-version.
6311 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
6312 Condition "--thread" option on gdb-version.
6313 (gdb-invalidate-threads): Remove unused argument.
6315 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6317 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
6318 to looking-back to avoid ridiculous slow down in large files (bug#4511).
6320 2009-09-23 Glenn Morris <rgm@gnu.org>
6322 * mail/rmail.el (rmail-reply): Don't try to add a References header when
6323 replying to mail without References or Message-Id. (Bug#4525)
6325 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
6327 * term/ns-win.el (ns-reg-to-script): New variable.
6329 2009-09-23 Daiki Ueno <ueno@unixuser.org>
6331 * epg.el (epg-wait-for-status): Preserve existing 'error results.
6333 2009-09-22 Sam Steingold <sds@gnu.org>
6335 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
6336 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
6337 to 1 because hg returns status 1 when nothing is found.
6338 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
6340 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6342 * textmodes/fill.el: Convert to utf-8 encoding.
6343 (fill-french-nobreak-p): Remove redundant » and « inherited from our
6346 * add-log.el (change-log-fill-forward-paragraph): New function.
6347 (change-log-mode): Use it so fill-region DTRT.
6348 Set fill-indent-according-to-mode here rather than in
6349 change-log-fill-paragraph.
6350 (change-log-fill-paragraph): Remove.
6352 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
6354 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
6355 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
6357 2009-09-22 Glenn Morris <rgm@gnu.org>
6359 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
6360 the scroll-bar scroll the calendar window rather than the buffer.
6362 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
6363 commands that move point (as opposed to scrolling).
6365 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
6367 * emacs-lisp/elint.el (elint): New custom group.
6368 (elint-log-buffer): Make it a defcustom.
6369 (elint-scan-preloaded, elint-ignored-warnings)
6370 (elint-directory-skip-re): New options.
6371 (elint-builtin-variables): Doc fix.
6372 (elint-preloaded-env): New variable.
6373 (elint-unknown-builtin-args): Add an entry for encode-time.
6374 (elint-extra-errors): Make it a variable rather than a constant.
6375 (elint-preloaded-skip-re): New constant.
6376 (elint-directory): Skip files matching elint-directory-skip-re.
6377 (elint-features): New variable, local to linted buffers.
6378 (elint-update-env): Initialize elint-features. Possibly add
6379 elint-preloaded-env to the buffer's environment.
6380 (elint-get-top-forms): Bind elint-current-pos, for log messages.
6382 (elint-init-form): New function, extracted from elint-init-env.
6383 Make non-list forms a warning rather than an error.
6384 Add the mode-map for define-derived-mode. Handle define-minor-mode,
6385 easy-menu-define, put that adds an error-condition, and provide.
6386 When requiring cl, also require cl-macs. Really require cl, to handle
6387 some cl macros. Store required libraries in the list elint-features,
6388 so as not to re-load them. Treat cc-require like require.
6389 (elint-init-env): Call elint-init-form to do the work.
6390 Handle eval-and-compile and such like.
6391 (elint-add-required-env): Do not clear messages.
6392 (elint-special-forms): Add handlers for function, defalias, if, when,
6394 (elint-form): Add optional argument to ignore elint-special-forms,
6395 useful to prevent recursive calls from handlers. Doc fix.
6396 Respect elint-ignored-warnings.
6397 (elint-form): Respect elint-ignored-warnings.
6398 (elint-bound-variable, elint-bound-function): New variables.
6399 (elint-unbound-variable): Respect elint-bound-variable.
6400 (elint-get-args): Respect elint-bound-function.
6401 (elint-check-cond-form): Add some simple handling for (f)boundp and
6403 (elint-check-defalias-form): New handler.
6404 (elint-check-let-form): Make an empty let a warning rather than an
6406 (elint-check-setq-form): Make an empty setq a warning rather than an
6407 error. Respect elint-ignored-warnings.
6408 (elint-check-defvar-form): Accept null doc-strings.
6409 (elint-check-conditional-form): New handler. Does some simple-minded
6410 checking of featurep and (f)boundp tests.
6411 (elint-put-function-args): New function.
6412 (elint-initialize): Use elint-scan-doc-file rather than
6413 elint-find-builtin-variables. Use elint-put-function-args.
6414 Possibly scan preloaded-file-list.
6415 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
6416 extend to handle functions as well.
6418 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
6420 * linum.el (linum-delete-overlays, linum-update-window):
6421 Do not modify the right margin. (Bug#3971)
6423 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
6425 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
6426 nxml-mode instead of xml-mode.
6428 2009-09-21 Kevin Ryde <user42@zip.com.au>
6430 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
6432 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * net/dig.el (dig-mode): Use define-derived-mode.
6436 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
6438 * vc-dispatcher.el (vc-do-command): Return the process object in
6439 the asynchronous case. Use when instead of if. Do not run
6440 vc-exec-after to display a message if not enabled. (Bug#4463)
6442 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
6443 properties to the stash strings.
6444 (vc-git-stash-list): Return a list of strings.
6445 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
6446 (vc-git-stash-show-at-point): New functions.
6447 (vc-git-stash-map): New keymap.
6449 * register.el (ctl-x-r-map): Define the keys here instead of
6452 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
6454 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
6455 list, to workaround performance problem (bug#4485).
6457 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
6459 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
6461 2009-09-20 Daiki Ueno <ueno@unixuser.org>
6463 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6464 Document that this option is not recommended to use.
6466 2009-09-19 Glenn Morris <rgm@gnu.org>
6468 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
6471 * calc/calc-alg.el (var):
6472 * calc/calcalg2.el (var): Define for compiler.
6474 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
6476 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
6479 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
6481 * time-stamp.el (time-stamp-month-dd-yyyy)
6482 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
6483 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
6484 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
6485 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
6486 Remove functions that have been obsolete since 1995 (Bug#4436).
6488 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
6489 indent buffer only if called interactively (Bug#4452).
6491 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
6492 Eli Zaretskii <eliz@gnu.org>
6494 This fixes bug#4197 (merged to bug#865, though not identical).
6495 * server.el (server-auth-dir): Add docstring note about FAT32.
6496 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
6497 but warn against using them.
6499 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
6501 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
6502 older GDB where there is no has_more field.
6504 2009-09-19 Glenn Morris <rgm@gnu.org>
6506 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
6508 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
6510 * files.el (auto-mode-alist): Change default for XML files to nXML
6513 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
6515 * server.el (server-ensure-safe-dir): Pass 'integer
6516 to `file-attributes', as suggested.
6518 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6520 * dired-aux.el (dired-query-alist): Remove spurious backslash.
6521 (dired-query): Use read-key.
6523 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
6525 * cus-start.el (ns-use-qd-smoothing): Remove.
6527 2009-09-18 Glenn Morris <rgm@gnu.org>
6529 * allout.el (top-level): Remove unnecessary progn.
6531 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
6533 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
6534 definition of abbrev table.
6536 * speedbar.el (speedbar-track-mouse):
6537 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
6538 * net/eudc.el (eudc-expand-inline):
6539 * net/newst-backend.el (newsticker--cache-read-feed):
6540 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6541 condition-case handlers.
6543 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
6545 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
6546 (gdb-var-list): Add an element for has_more field.
6547 (gdb-non-stop-handler): Enable pretty printing for STL containers.
6548 (gdb-var-create-handler, gdb-var-list-children-handler-1)
6549 (gdb-var-update-handler-1): Parse output of dynamic variable
6550 objects (STL containers).
6551 (gdb-var-delete-1): Pass var1 as an explicit second argument.
6552 (gdb-get-field): Delete alias. Use bindat-get-field directly.
6554 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
6556 (gud-speedbar-buttons): Make node expandable if expression "has more"
6559 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
6561 * startup.el (emacs-quick-startup): Remove variable and all uses.
6562 (command-line): Set `inhibit-x-resources' instead.
6563 (command-line-1): Use `inhibit-x-resources' instead.
6565 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
6567 * subr.el: Fix last change to avoid using the `unless' macro,
6568 which breaks bootstrapping.
6570 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
6573 extended definitions, in case we reload subr.el after having
6575 (eval-next-after-load): Mark as obsolete.
6577 2009-09-17 Juri Linkov <juri@jurta.org>
6579 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
6580 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
6581 (menu-bar-showhide-menu, menu-bar-tools-menu)
6582 (menu-bar-describe-menu, menu-bar-help-menu)
6583 (minibuffer-local-completion-map, minibuffer-local-map):
6586 2009-09-17 Glenn Morris <rgm@gnu.org>
6588 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
6589 arguments, whether or not it has a handler.
6591 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
6593 * simple.el (hard-newline): Give it a doc-string.
6595 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6596 (lisp-mode-syntax-table): Give them doc-strings.
6598 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
6600 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
6601 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
6602 (menu-bar-options-menu, menu-bar-showhide-menu)
6603 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
6604 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
6605 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
6606 (menu-bar-options-menu, menu-bar-tools-menu)
6607 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
6608 (menu-bar-help-menu):
6609 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
6612 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
6613 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
6614 calls for the menu names and :help.
6616 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6618 * mouse.el (minor-mode-menu-from-indicator): Pay attention
6619 to :minor-mode-function (bug#4455).
6621 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * startup.el (command-line): Initialize the window-system after
6624 processing the command-line.
6626 * textmodes/page.el (what-page): Make sure we don't inf-loop if
6627 page-delimiter matches the empty string.
6629 2009-09-16 Glenn Morris <rgm@gnu.org>
6631 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
6632 byte-compile-not-obsolete-var. It's a list now.
6633 (byte-compile-not-obsolete-funcs): New variable.
6634 (byte-compile-warn-obsolete): Don't warn about functions if they are in
6635 byte-compile-not-obsolete-funcs.
6636 (byte-compile-variable-ref, byte-compile-defvar): Update for
6637 byte-compile-not-obsolete-vars name-change and list nature.
6638 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
6639 and variables behind (f)boundp tests.
6640 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
6642 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6644 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
6646 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
6649 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
6652 2009-09-15 Stephen Eglen <stephen@gnu.org>
6654 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
6655 the virtual-buffers, use the name of the buffer specified by
6656 find-file-noselect, as the match may be a symlink. (This was a
6657 problem if the target and the symlink had different names.)
6659 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6661 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
6663 * desktop.el (desktop-path): Check user-emacs-directory.
6665 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
6667 * loadup.el: Use after-load-functions to GC after loading each file.
6668 Remove the explicit GC calls that used to be sprinkled around.
6670 * subr.el (after-load-functions): New hook.
6671 (do-after-load-evaluation): Run it. Use string-match-p to detect
6672 `obsolete' packages, rather than painfully extracting the relevant
6675 2009-09-15 Glenn Morris <rgm@gnu.org>
6677 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
6678 free variable `doc'.
6680 * dired.el (dired-mode-map): Add menu entry for async shell command.
6682 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
6683 variables, also consider the .elc files, since the .el files are
6684 normally gzipped (subsequent code locates the .el.gz from the .elc).
6686 * calc/calc-prog.el (arglist): Define for compiler.
6688 * calendar/diary-lib.el (diary-display-function): Change the default to
6690 (body): Define for compiler.
6692 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
6693 (byte-compile-file-form, byte-compile-lambda)
6694 (byte-compile-top-level-body, byte-compile-form)
6695 (byte-compile-variable-ref, byte-compile-setq)
6696 (byte-compile-setq-default, byte-compile-body)
6697 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
6698 (batch-byte-compile): Give some more local variables with common names
6699 a "bytecomp-" prefix to avoid masking warnings about free variables.
6701 * startup.el (command-line-1): Give local variables with common names a
6702 distinguishing prefix, so as not to hide free variable warnings during
6705 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
6706 clever and add a suffix to make a unique name, just let the user decide
6707 whether or not to overwrite it. If the input is a directory, write the
6708 default filename to that directory. (Bug#4388)
6709 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
6710 is a filename-as-a-directory.
6712 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6714 * textmodes/page.el (what-page): Don't move to beginning of line.
6715 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
6717 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6719 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
6721 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
6723 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
6724 * help.el (help-for-help-internal): Add purecopy calls for text.
6726 * vc.el (top): print-log method now takes an optional SHORTLOG
6727 argument. Add a new method: root.
6728 (vc-root-diff, vc-print-root-log): New functions.
6729 (vc-log-short-style): New variable.
6730 (vc-print-log-internal): Add support for showing short logs.
6732 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
6733 vc-print-root-log and vc-print-root-diff.
6735 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
6736 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
6737 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
6740 * vc-cvs.el (vc-cvs-print-log):
6741 * vc-mtn.el (vc-mtn-print-log):
6742 * vc-rcs.el (vc-rcs-print-log):
6743 * vc-sccs.el (vc-sccs-print-log):
6744 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
6745 that is ignored for now.
6747 * vc-mtn.el (vc-mtn-annotate-command):
6748 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
6750 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6752 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
6753 to function-key-map, and give them ascii-character property.
6754 * term/x-win.el (x-alternatives-map):
6755 * term/ns-win.el (ns-alternatives-map):
6756 * term/internal.el (msdos-key-remapping-map):
6757 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
6759 2009-09-14 Glenn Morris <rgm@gnu.org>
6761 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
6762 temp-buffers (2009-09-12).
6764 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6766 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
6767 the new read-key function.
6769 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6771 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
6772 is defined (Bug#4405).
6774 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
6776 * recentf.el (recentf-cleanup): Use a hash table to find
6777 duplicates (Bug#4407).
6779 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
6781 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
6782 kp-0 to ascii equivalents (Bug#4325).
6784 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6786 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
6788 * eshell/em-hist.el:
6789 * eshell/em-dirs.el (eshell-complete-user-reference):
6790 Declare pcomplete functions and variables to avoid compiler warnings.
6792 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
6794 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
6795 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
6796 * eshell/em-alias.el (eshell-aliases-file):
6797 * eshell/em-hist.el (eshell-history-file-name):
6798 Use expand-file-name instead of concat to make file names (Bug#4308).
6800 2009-09-13 Glenn Morris <rgm@gnu.org>
6802 * ediff-merg.el (ediff-do-merge):
6803 * filesets.el (filesets-run-cmd):
6804 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
6805 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
6806 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
6807 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
6808 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
6809 Replace empty `let's with `progn'.
6811 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * mail/sendmail.el (send-mail-function):
6814 * tooltip.el (tooltip-mode):
6815 * simple.el (transient-mark-mode):
6816 * rfn-eshadow.el (file-name-shadow-mode):
6817 * frame.el (blink-cursor-mode):
6818 * font-core.el (global-font-lock-mode):
6819 * files.el (temporary-file-directory)
6820 (small-temporary-file-directory, auto-save-file-name-transforms):
6821 * epa-hook.el (auto-encryption-mode):
6822 * composite.el (global-auto-composition-mode):
6823 Use custom-initialize-delay.
6824 * startup.el (command-line): Don't explicitly call
6825 custom-reevaluate-setting for all the above vars.
6826 * custom.el (custom-initialize-safe-set)
6827 (custom-initialize-safe-default): Delete.
6829 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6831 * term/x-win.el (x-initialize-window-system):
6832 * term/w32-win.el (w32-initialize-window-system):
6833 * term/ns-win.el (ns-initialize-window-system): Don't call
6834 mouse-wheel-mode since it's enabled globally by default already.
6836 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
6837 actually define the variable, but only silences the byte-compiler.
6838 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
6839 before looking it up.
6840 (mouse-wheel-scroll-amount): Also reset the bindings if this value
6843 2009-09-12 Glenn Morris <rgm@gnu.org>
6845 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
6847 (elint-add-required-env): Don't beep on error.
6848 (elint-forms): In case of error, return ENV unchanged.
6849 (elint-init-env): Skip non-list forms.
6850 (elint-log): Handle unknown file positions.
6852 2009-09-12 Daiki Ueno <ueno@unixuser.org>
6854 * epg.el (epg-make-context): Add autoload cookie.
6855 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
6856 (epg-decrypt-string, epg-start-verify, epg-verify-file)
6857 (epg-verify-string, epg-start-sign, epg-sign-file)
6858 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
6859 (epg-encrypt-string, epg-start-export-keys)
6860 (epg-export-keys-to-file, epg-export-keys-to-string)
6861 (epg-start-import-keys, epg-import-keys-from-file)
6862 (epg-import-keys-from-string, epg-start-receive-keys)
6863 (epg-receive-keys, epg-import-keys-from-server)
6864 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
6865 (epg-sign-keys, epg-start-generate-key)
6866 (epg-generate-key-from-file, epg-generate-key-from-string):
6867 Remove autoload cookie.
6869 2009-09-12 Eli Zaretskii <eliz@gnu.org>
6871 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
6872 reevaluation of trash-directory.
6874 * mwheel.el: Fix last change.
6875 (mouse-wheel-mode): New defvar.
6876 (mouse-wheel-mode): Remove autoload cookie.
6878 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6880 * mwheel.el (mwheel-installed-bindings): New var.
6881 (mouse-wheel-mode): Use it, so as to make sure we really remove all
6882 the bindings we set last time. Use custom-initialize-delay.
6883 * loadup.el: Load mwheel after term/*-win.el.
6884 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
6885 and mouse-wheel-up-event now that their first evaluation is done
6886 sufficiently late to be correct.
6888 * startup.el (tutorial-directory): Make it a defcustom.
6889 Use custom-initialize-delay rather than eval-at-startup to set it.
6890 * image.el (image-load-path): Make it a defcustom.
6891 Use custom-initialize-delay rather than eval-at-startup to set it.
6892 * subr.el (eval-at-startup): Remove.
6893 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
6895 * subr.el (do-after-load-evaluation): Warn the user after loading an
6898 2009-09-12 Glenn Morris <rgm@gnu.org>
6900 * proced.el (proced-mark-alt): Remove alias.
6901 (proced-mode-map): Remove proced-mark-alt.
6903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
6904 Elint file and directory. Remove initialization entry.
6906 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
6908 (elint-current-buffer): Set mode-line-process.
6909 (elint-init-env): Handle define-derived-mode.
6910 Fix declare-function with unspecified arglist. Guard against odd
6911 defalias statements (eg iso-insert's 8859-1-map).
6912 (elint-add-required-env): Use a temp buffer.
6913 (elint-form): Just print the function/macro name, not the whole form.
6914 Return env unchanged if we fail to parse a macro.
6915 (elint-forms): Guard against parse errors.
6916 (elint-output): New function, to handle batch mode.
6917 (elint-log-message): Add optional argument. Use elint-output.
6918 (elint-set-mode-line): New function.
6920 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
6922 * emacs-lisp/elp.el (elp-not-profilable): Add more
6923 functions (Bug#4233).
6925 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
6927 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
6928 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
6930 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6932 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
6933 (gdb-var-list-children): Use json parsing.
6935 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
6937 * progmodes/js.el (js--proper-indentation): Handle the case where
6938 char-before is null. Reported by Deniz Dogan.
6940 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6942 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
6944 2009-09-11 Daiki Ueno <ueno@unixuser.org>
6946 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
6947 (epg-digest-algorithm-alist): Add SHA224.
6948 (epg-context-set-passphrase-callback)
6949 (epg-context-set-progress-callback): Add description about
6952 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6954 * custom.el (custom-delayed-init-variables): New var.
6955 (custom-initialize-delay): New function.
6956 * startup.el (command-line): "Re"evaluate all vars in
6957 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
6958 explicitly any more.
6959 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
6960 to avoid creating a ~/.emacs.d at build-time (bug#4347).
6962 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
6964 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6966 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
6967 (gdb-var-update-handler): Use json parsing.
6969 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6971 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
6972 decode annotated text, regardless of language environment. (Bug#2741)
6974 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6976 * Makefile.in (autoloads): Make rmail.el writable as well.
6978 2009-09-11 Glenn Morris <rgm@gnu.org>
6980 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
6982 * dired.el: Regenerate with extracted autoloads.
6983 * Makefile.in (autoloads): Make dired.el writable.
6985 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
6986 * ibuffer.el: Regenerate with extracted autoloads.
6987 * Makefile.in (autoloads): Make ibuffer.el writable.
6989 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
6990 * version.el (emacs-copyright, emacs-major-version)
6991 (emacs-minor-version): Reformat doc-strings for make-docfile.
6993 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
6994 functions and variables, since they must be stuff specific to some other
6996 (apropos-print): Make mouse-click message less specific about button.
6998 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
6999 that records where a macro was defined.
7000 * help-fns.el (describe-function-1): Mention if a function has a
7002 * help-mode.el (help-function-cmacro): New button.
7004 * locate.el (top-level): Always require dired.
7005 (locate-mode-map): Initialize inside the defvar.
7007 * net/ange-ftp.el (dired-compress-file): Declare.
7008 (ange-ftp-dired-compress-file): Add doc string.
7010 * term/ns-win.el (x-display-name, x-setup-function-keys):
7011 Unify doc-strings with X versions.
7013 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7015 * emulation/crisp.el (crisp-mode-map): Move initialization
7017 (crisp-mode): Use define-minor-mode.
7019 * progmodes/xscheme.el (xscheme-evaluation-commands):
7020 Put a :advertised-binding property rather than using
7021 advertised-xscheme-send-previous-expression.
7022 (advertised-xscheme-send-previous-expression): Declare obsolete.
7023 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
7025 (crisp-mode): Add corresponding bindings to
7026 undo's :advertised-binding instead.
7027 * dired.el (dired-mode-map): Put a :advertised-binding property rather
7028 than using dired-advertised-find-file.
7029 (dired-advertised-find-file):
7030 * simple.el (advertised-undo):
7031 * wid-edit.el (advertised-widget-backward): Declare obsolete.
7032 (widget-keymap): Put a :advertised-binding property rather
7033 than using advertised-widget-backward.
7034 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
7035 than using advertised-undo.
7036 * tutorial.el (tutorial--default-keys): Adjust accordingly.
7038 2009-09-10 Simon South <ssouth@slowcomputing.org>
7040 * progmodes/delphi.el (delphi-tab): Indent region when Transient
7041 Mark mode is enabled and region is active; otherwise indent or
7042 insert TAB as usual.
7043 (delphi-mode): Update description of TAB-key binding.
7045 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7047 * subr.el (define-key-rebound-commands): Mark obsolete.
7048 * startup.el (precompute-menubar-bindings): Remove.
7049 (normal-top-level): Remove obsolete code that tried to precompute
7051 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
7052 define-key-rebound-commands and precompute-menubar-bindings.
7054 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
7056 * net/imap.el (imap-interactive-login): Better messages.
7057 (imap-open): Fix bug with renamed buffer on reconnect.
7058 (imap-authenticate): Add buffer-local imap-last-authenticator variable
7059 for easier debugging and cleaner code. On successful (guessed based on
7060 server capabilities) secondary authentication, set imap-state
7062 (imap-last-authenticator): Define imap-last-authenticator as a variable
7065 2009-09-10 Glenn Morris <rgm@gnu.org>
7067 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
7069 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
7070 (byte-compile-file-form-autoload): Don't warn about unknown functions
7071 where the autoload statement comes after the use.
7072 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
7073 that any handlers inside the body (eg require) are in turn respected.
7075 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
7078 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
7079 and syntax and abbrev tables basic docs, if they don't have any.
7081 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
7083 * international/mule-cmds.el (top-level): Require cl when compiling.
7084 (view-hello-file): Use default-value rather than
7085 default-enable-multibyte-characters.
7087 * progmodes/fortran.el: Move all safe and risky properties into the
7090 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
7091 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
7093 Put autoloads in rmail.el rather than loaddefs.el.
7094 * mail/rmail.el: Regenerate with extracted autoloads.
7096 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
7097 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
7099 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
7101 Reported in thread for Bug#4375.
7102 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
7103 "-data-evaluate-expression" instead of print.
7104 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
7105 (gdb-tooltip-print): Parse output from above MI command.
7106 (gdb): Revert 2009-08-11 change. User should detach inferior
7109 Remove the word "separate" from IO functions as inferior
7110 output is now never displayed in the GUD buffer.
7112 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
7114 * startup.el (command-line-normalize-file-name): On Windows and
7115 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
7117 2009-09-10 Juri Linkov <juri@jurta.org>
7119 * isearch.el (isearch-text-char-description): Propertize escape
7120 character sequences with the `escape-glyph' face. (Bug#4344)
7122 * simple.el (shell-command): Set asynchronous process filter to
7123 `comint-output-filter'. (Bug#4343)
7125 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
7126 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
7127 the list. Move "asm" to the bottom.
7128 (grep-find-ignored-directories): Add `choice' with nil value
7129 to empty the list easily.
7130 (grep-find-ignored-files): New option.
7131 (grep-files-history): Set to nil by default instead of '("ch" "el").
7132 (grep-compute-defaults): Add "<X>" to `grep-template'.
7133 (grep-read-files): Bind new local variables `default-alias' and
7134 `default-extension'. Use a list of default values for the file prompt.
7135 (lgrep): Add `--exclude=' command line options composed from
7136 `grep-find-ignored-files'.
7137 (rgrep): Add `-name' command line options composed from
7138 `grep-find-ignored-files'. (Bug#4301)
7140 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
7145 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
7147 * calendar/time-date.el (autoload):
7148 Expand define-obsolete-function-alias into defalias and make-obsolete
7149 for old Emacsen that Gnus supports.
7150 (with-no-warnings): Define it for old Emacsen.
7151 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
7153 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
7154 float-time is available; suppress compile warning for time-to-seconds.
7156 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
7158 * net/imap.el (imap-message-map): Docstring fix.
7160 2009-09-09 Glenn Morris <rgm@gnu.org>
7162 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
7163 line numbers too. (Bug#4374)
7165 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7167 * smerge-mode.el (smerge-remove-props, smerge-refine):
7168 Use with-silent-modifications (bug#4342).
7170 * subr.el (with-silent-modifications): New macro.
7172 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
7174 * files.el (top-level): Require `cl' when compiling.
7176 2009-09-07 Glenn Morris <rgm@gnu.org>
7178 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
7180 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
7181 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
7183 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
7185 * vc-git.el (vc-git-annotate-command): Use separator to parse
7186 arguments correctly.
7188 2009-09-06 Eli Zaretskii <eliz@gnu.org>
7190 * proced.el (proced-mode): Doc fix.
7192 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
7194 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
7196 (tramp-do-file-attributes-with-ls): Check for file existence at
7198 (tramp-do-file-attributes-with-stat): Likewise.
7199 (tramp-convert-file-attributes): Return nil when attr is nil.
7201 2009-09-05 Glenn Morris <rgm@gnu.org>
7203 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
7204 properties to this button.
7205 (diary-fancy-display): Don't extend the button to the final newline.
7206 (diary-fancy-display-mode): Continue to define "q" as a local key.
7208 * calendar/cal-china.el (holiday-chinese): Make it slightly more
7211 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
7213 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
7214 (byte-compile-dest-file-function): New option.
7215 (byte-compile-dest-file): Doc fix.
7216 Obey byte-compile-dest-file-function.
7217 (byte-compile-cl-file-p): New function.
7218 (byte-compile-eval): Only suppress noruntime warnings about cl functions
7219 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
7220 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
7221 than for file being previously loaded.
7222 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
7223 (byte-compile-file-form-require): Handle the case where requiring a file
7224 indirectly causes CL to be loaded.
7226 2009-09-05 Karl Fogel <kfogel@red-bean.com>
7228 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
7229 before killing the old buffer, since by the time `kill-buffer' is
7230 run so many buffer variables have been set to nil that it may not
7231 behave as expected. (Bug#4061)
7233 2009-09-05 Karl Fogel <kfogel@red-bean.com>
7235 * files.el (find-alternate-file): If the old buffer is modified
7236 and visiting a file, behave similarly to `kill-buffer' when
7237 killing it, thus reverting to the pre-1.878 behavior; see
7238 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
7239 for discussion. Also, consult `buffer-file-name' as a variable
7240 not as a function, for consistency with the rest of the code.
7242 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
7244 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
7245 also when adding a new directory.
7247 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
7250 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7252 * files.el (locate-file-completion-table): Make it provide boundary
7253 information, so partial-completion works better.
7255 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
7257 * mail/footnote.el (Footnote-text-under-cursor):
7258 Check footnote-text-marker-alist before using it (bug#4324).
7260 2009-09-04 Glenn Morris <rgm@gnu.org>
7262 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
7263 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
7264 * play/solitaire.el, play/tetris.el:
7265 Remove leading * from defcustom and defface docs.
7267 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
7269 (diary-fancy-overriding-map): New variable.
7270 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
7273 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
7276 2009-09-03 Glenn Morris <rgm@gnu.org>
7278 * arc-mode.el (archive-mode):
7279 * dos-fns.el (set-default-process-coding-system):
7280 * man.el (Man-getpage-in-background):
7281 * menu-bar.el (menu-bar-describe-menu):
7282 * server.el (server-process-filter):
7283 * startup.el (command-line):
7284 * tar-mode.el (tar-header-block-tokenize, tar-extract):
7285 * w32-fns.el (set-default-process-coding-system):
7286 * x-dnd.el (x-dnd-handle-file-name):
7287 * international/mule-cmds.el (mule-menu-keymap)
7288 (set-default-coding-systems, language-info-alist, set-language-info)
7289 (set-language-environment, standard-display-european-internal)
7290 (set-locale-environment):
7291 * international/mule-diag.el (mule-diag):
7292 * mail/emacsbug.el (report-emacs-bug):
7293 * mail/rmail.el (rmail-mode):
7294 * mail/sendmail.el (mail-setup):
7295 Use default-value rather than default-enable-multibyte-characters.
7297 * progmodes/f90.el: Move all safe properties into the defcustoms.
7298 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
7300 * calendar/appt.el (appt-check):
7301 * calendar/diary-lib.el (diary-set-header, diary-live-p)
7302 (diary-check-diary-file, diary-list-entries)
7303 (diary-include-other-diary-files, diary-simple-display)
7304 (diary-fancy-display, diary-print-entries)
7305 (diary-mark-included-diary-files, diary-make-entry):
7306 Don't call substitute-in-file-name on diary-file.
7308 2009-09-03 Eduard Wiebe <usenet@pusto.de>
7309 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * mail/footnote.el (footnote-prefix): Make it a defcustom.
7312 (footnote-mode-map): Move initialization into the declaration.
7313 (footnote-minor-mode-map): Define it rather than changing global-map.
7314 (footnote-mode): Use define-minor-mode.
7316 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
7318 * net/tramp.el (tramp-handle-file-attributes-with-ls)
7319 (tramp-do-file-attributes-with-perl)
7320 (tramp-do-file-attributes-with-stat): Rename from
7321 `tramp-handle-file-attributes-with-*'.
7322 (tramp-handle-file-attributes): Use them.
7323 (tramp-do-directory-files-and-attributes-with-perl)
7324 (tramp-do-directory-files-and-attributes-with-stat): Rename from
7325 `tramp-handle-directory-files-and-attributes-with-*'.
7326 (tramp-handle-directory-files-and-attributes): Use them.
7327 (tramp-method-out-of-band-p): Additional parameter SIZE.
7328 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
7329 (tramp-handle-write-region): Use it.
7330 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
7331 (tramp-handle-vc-registered): Check, whether the first run did
7332 return files to be tested.
7333 (tramp-advice-make-auto-save-file-name): Do not call directly
7334 `tramp-handle-make-auto-save-file-name', because this would bypass
7335 the locking mechanism.
7337 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
7338 (file-remote-p, process-file, start-file-process, set-file-times)
7339 (tramp-compat-file-attributes): Compatibility functions shall not
7340 call directly `tramp-handle-*', because this would bypass the
7342 (tramp-compat-number-sequence): New defun.
7344 2009-09-02 Glenn Morris <rgm@gnu.org>
7346 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
7347 alias for float-time.
7348 (time-to-number-of-days): In Emacs, use float-time.
7349 * net/newst-backend.el (time-add): Suppress warnings from compat
7351 * time.el (emacs-uptime, emacs-init-time):
7352 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
7353 Use float-time rather than time-to-seconds.
7355 * minibuffer.el (completion-initials-expand): Fix typo.
7357 * faces.el (modeline, modeline-inactive, modeline-highlight)
7358 (modeline-buffer-id):
7359 * info.el (info-menu-5): Mark these face aliases as obsolete.
7361 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
7363 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
7365 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
7366 no "--thread" option.
7367 (gdb-stopped): Don't print "Switched to thread" message when it is
7370 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * minibuffer.el (completion-try-completion)
7373 (completion-all-completions): Remove ill-defined (and
7374 mistakenly installed and luckily never used nor documented)
7375 `completion-styles' property.
7376 (completion-initials-expand, completion-initials-all-completions)
7377 (completion-initials-try-completion): New functions.
7378 (completion-styles-alist): Add doc to each entry.
7379 Add new `initials' entry.
7381 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
7383 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
7384 MI command -var-evaluate-expression.
7385 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
7386 and tweak for case of string child.
7387 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
7389 2009-09-01 Glenn Morris <rgm@gnu.org>
7391 * add-log.el (change-log-date-face, change-log-name-face)
7392 (change-log-email-face, change-log-file-face, change-log-list-face)
7393 (change-log-conditionals-face, change-log-function-face)
7394 (change-log-acknowledgement-face):
7395 * cus-edit.el (custom-invalid-face, custom-rogue-face)
7396 (custom-modified-face, custom-set-face, custom-changed-face)
7397 (custom-saved-face, custom-button-face, custom-button-pressed-face)
7398 (custom-documentation-face, custom-state-face, custom-comment-face)
7399 (custom-comment-tag-face, custom-variable-tag-face)
7400 (custom-variable-button-face, custom-face-tag-face)
7401 (custom-group-tag-face-1, custom-group-tag-face):
7402 * diff-mode.el (diff-header-face, diff-file-header-face)
7403 (diff-index-face, diff-hunk-header-face, diff-removed-face)
7404 (diff-added-face, diff-changed-face, diff-function-face)
7405 (diff-context-face, diff-nonexistent-face):
7406 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
7407 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
7408 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
7409 (Info-title-4-face):
7410 * isearch.el (isearch-lazy-highlight-face):
7411 * log-view.el (log-view-file-face, log-view-message-face):
7412 * paren.el (show-paren-match-face, show-paren-mismatch-face):
7413 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
7414 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
7416 * smerge-mode.el (smerge-mine-face, smerge-other-face)
7417 (smerge-base-face, smerge-markers-face):
7418 * wid-edit.el (widget-documentation-face, widget-button-face)
7419 (widget-field-face, widget-single-line-field-face)
7420 (widget-inactive-face, widget-button-pressed-face):
7421 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
7422 (woman-addition-face):
7423 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
7424 (eshell-ls-executable-face, eshell-ls-readonly-face)
7425 (eshell-ls-unreadable-face, eshell-ls-special-face)
7426 (eshell-ls-missing-face, eshell-ls-archive-face)
7427 (eshell-ls-backup-face, eshell-ls-product-face)
7428 (eshell-ls-clutter-face):
7429 * eshell/em-prompt.el (eshell-prompt-face):
7430 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
7431 * obsolete/old-whitespace.el (whitespace-highlight-face):
7432 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
7433 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
7434 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
7435 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
7436 (antlr-font-lock-literal-face):
7437 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
7438 (ebrowse-root-class-face, ebrowse-file-name-face)
7439 (ebrowse-default-face, ebrowse-member-attribute-face)
7440 (ebrowse-member-class-face, ebrowse-progress-face):
7441 * progmodes/make-mode.el (makefile-space-face):
7442 * progmodes/sh-script.el (sh-heredoc-face):
7443 * textmodes/flyspell.el (flyspell-incorrect-face)
7444 (flyspell-duplicate-face):
7445 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
7446 * textmodes/texinfo.el (texinfo-heading-face):
7447 Mark face aliases with "-face" suffix as obsolete.
7449 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
7452 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
7453 (eudc-bob-sound-menu): Use defvar rather than defconst, since
7454 easy-menu-define wants to modify these.
7456 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
7458 * net/browse-url.el (browse-url-file-url):
7459 * term/internal.el (dos-codepage-setup):
7460 Use default-value rather than default-enable-multibyte-characters.
7462 * progmodes/etags.el (etags-goto-tag-location):
7463 * progmodes/flymake.el (flymake-highlight-line)
7464 (flymake-goto-file-and-line, flymake-goto-line):
7465 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
7466 (gdb-goto-breakpoint):
7467 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
7468 * progmodes/python.el (python-find-function)
7469 (python-pdbtrack-track-stack-file):
7470 * progmodes/verilog-mode.el (verilog-surelint-off):
7471 * term/ns-win.el (ns-open-file-select-line):
7472 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
7473 Use forward-line rather than goto-line.
7475 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
7476 * textmodes/reftex-index.el (reftex-display-index):
7477 * textmodes/reftex-ref.el (reftex-offer-label-menu):
7478 * textmodes/reftex-toc.el (reftex-toc):
7479 Remove unnecessary bindings of default-major-mode (all are followed by
7480 major-mode check and possible mode switch).
7482 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
7484 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7485 Handle watchpoints (bug#4282).
7486 (def-gdb-thread-buffer-command): Enable thread to be selected by
7487 clicking without selecting threads buffer first.
7488 (gdb-current-context-command): Use selected frame so that "up",
7489 "down" etc work in the GUD buffer.
7490 (gdb-update): Find selected frame before rendering stack buffer.
7491 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
7493 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * progmodes/sym-comp.el (displayed-completions): Remove.
7496 (symbol-complete): Use minibuffer-complete.
7498 2009-08-31 Glenn Morris <rgm@gnu.org>
7500 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
7502 * apropos.el (apropos-symbols-internal):
7503 Handle (obsolete) face aliases.
7505 * faces.el (describe-face): Adjust the output format to be more like
7506 describe-variable, and to mention (obsolete) face aliases.
7507 Adjust the whitespace so that help-setup-xref works.
7509 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
7510 * calendar/diary-lib.el (diary-button-face):
7511 Mark these face aliases as obsolete.
7513 * calendar/calendar.el (calendar-today): Doc fix.
7515 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
7517 * progmodes/gdb-mi.el (gdb-control-all-threads)
7518 (gdb-control-current-thread): Force tool bar update.
7519 (gdb-non-stop-handler): New function.
7520 (gdb-init-1): Use it to test if non-stop mode is supported.
7521 Remove unused gdbmi buffer type.
7523 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7525 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
7526 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
7528 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
7530 * comint.el (comint-exec-1): Check command is non-null first.
7531 Part of gdb-mi.el change (2009-08-28).
7533 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7535 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
7537 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
7539 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
7540 instead of `dolist' to avoid a recursive require when bootstrapping.
7542 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7544 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
7546 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
7548 * net/imap.el (imap-send-command): Simplify.
7549 (imap-wait-for-tag): point-max -> buffer-size.
7551 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
7553 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
7554 with constant argument.
7556 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
7558 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
7560 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
7561 Change default, since most of our files don't have a history.
7562 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
7565 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7568 * calc/calc.el: Improve commenting convention.
7569 (calc-digit-map, toplevel): Simplify.
7571 * comint.el (comint-insert-input): Be careful to only set point if we
7572 don't delegate to some other command.
7574 * proced.el (proced-signal-list): Make it an alist.
7575 (proced-grammar-alist): Capitalize names.
7576 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
7577 Disable undo manually and make it read-only.
7578 Use completion-annotate-function.
7580 * minibuffer.el (minibuffer-message): If the current buffer is not
7581 a minibuffer, insert the message in the echo area rather than at the
7583 (completion-annotate-function): New variable.
7584 (minibuffer-completion-help): Use it.
7585 (completion--embedded-envvar-table): Environment vars are
7586 always case-sensitive.
7588 2009-08-30 Glenn Morris <rgm@gnu.org>
7590 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
7591 from fortran-current-defun.
7592 (fortran-beginning-of-subprogram): Be more precise about finding the
7593 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
7594 (fortran-end-of-subprogram): Simplify.
7595 (fortran-current-defun): Use fortran-start-prog-re.
7597 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
7599 * subr.el (do-after-load-evaluation): Simplify.
7601 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
7603 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
7605 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
7606 (vc-rcs-print-log): Use it.
7608 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
7610 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * paths.el (abbrev-file-name): Move to abbrev.el.
7613 * abbrev.el (abbrev-file-name): Move from paths.el.
7614 Obey user-emacs-directory.
7615 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
7616 user-emacs-directory.
7617 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
7618 abbrev-file-name and calc-settings-file any more.
7619 * startup.el (command-line): Recompute abbrev-file-name and
7620 abbreviated-home-dir.
7621 (normal-no-mouse-startup-screen): Improve the generic code and get rid
7622 of the special code for when C-h bindings haven't been changed.
7623 (display-startup-echo-area-message): Use with-current-buffer.
7624 (command-line-1): Use a list of strings, rather than a list of lists
7625 of strings for longopts.
7627 * files.el (get-free-disk-space): Use / for default-directory.
7629 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
7630 Use with-current-buffer.
7632 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
7633 Recognize immutable variables like most-positive-fixnum.
7634 (byte-compile-setq-default): Check and warn if trying to assign
7635 to an immutable variable, or a non-variable.
7637 * progmodes/cc-vars.el (c-comment-continuation-stars):
7638 * progmodes/cc-engine.el (c-looking-at-bos):
7639 * progmodes/cc-cmds.el (c-toggle-auto-state)
7640 (c-forward-into-nomenclature, c-backward-into-nomenclature)
7641 (c-comment-line-break-function): Add version of obsolescence.
7643 2009-08-28 Juri Linkov <juri@jurta.org>
7645 * files.el (magic-fallback-mode-alist): Add ZIP magic number
7646 associated with `archive-mode'.
7648 * image.el (image-type-header-regexps): Use only JPEG magic number
7649 to determine JPEG images, and don't use `image-jpeg-p' because
7650 Emacs can display non-JFIF non-Exif JPEG images.
7652 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7654 * arc-mode.el (archive-mode):
7655 * emacs-lisp/re-builder.el (re-builder-unload-function):
7656 Protect against the default value of `major-mode' being nil.
7658 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7660 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
7661 Fix typos in docstrings.
7663 * progmodes/js.el (js--macro-decl-re): Doc fix.
7664 (js--plain-method-re, js--split-name): Refloc docstring.
7665 (js--class-styles, js--make-merged-item, js--splice-into-items):
7666 Fix typos in docstrings; reflow docstrings.
7667 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
7668 (js--variable-decl-matcher, js--inside-pitem-p)
7669 (js--parse-state-at-point, js--get-all-known-symbols)
7670 (js--symbol-history, js-find-symbol, js--js-references)
7671 (js--moz-interactor, js--js-encode-value, js--read-tab):
7672 Fix typos in docstrings.
7674 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * textmodes/reftex.el (reftex-get-file-buffer-force):
7677 * progmodes/verilog-mode.el (verilog-batch-execute-func):
7678 * emulation/viper.el (viper-go-away, viper-set-hooks):
7679 * emacs-lisp/re-builder.el (re-builder-unload-function):
7680 * emacs-lisp/bytecomp.el (byte-compile-file):
7681 * ses.el (ses-unload-function):
7682 * hexl.el (hexl-find-file):
7683 * files.el (normal-mode):
7684 * ehelp.el (with-electric-help):
7685 * autoinsert.el (auto-insert-alist):
7686 * arc-mode.el (archive-mode):
7687 Use (default-value 'major-mode) instead of default-major-mode.
7689 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
7690 * international/mule.el (load-with-code-conversion):
7691 * emacs-lisp/debug.el (debug):
7692 * ediff-vers.el (ediff-rcs-get-output-buffer):
7693 * dired.el (dired-internal-noselect): Don't let-bind
7694 default-major-mode around code that doesn't use it.
7695 E.g. buffer creation via get-buffer-create doesn't use it.
7697 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
7699 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
7700 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
7701 when writing the temp file. Otherwise, epa-file gets confused.
7702 (tramp-register-file-name-handlers): Make it a defun. Move also
7703 `epa-file-handler' to the front of `file-name-handler-alist'.
7705 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
7708 start right after a ^M.
7709 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
7710 (tramp-completion-file-name-regexp-separate)
7711 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
7712 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
7713 Don't modify last-coding-system-used by accident.
7714 (tramp-completion-file-name-handler): Apply the checks here,
7715 instead during registration.
7716 (tramp-register-file-name-handlers) Renamed from
7717 `tramp-register-file-name-handler'. Register both
7718 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
7719 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
7721 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
7723 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
7725 (gdb-init-1, gdb-display-separate-io-buffer)
7726 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
7728 (gdb-inferior-io-mode): Use make-comint-in-buffer.
7729 (gdb-inferior-filter): Use comint-output-filter to stop
7730 echoing and remove ^M characters.
7732 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7734 * emulation/viper-init.el (viper-restore-cursor-type):
7735 * emulation/cua-base.el (cua--update-indications):
7736 Replace default-cursor-type with (default-value 'cursor-type).
7738 * mail/sendmail.el (mail-recover-1):
7739 * international/mule-diag.el (describe-current-coding-system-briefly)
7740 (describe-current-coding-system):
7741 * international/mule-cmds.el (select-safe-coding-system)
7742 (select-message-coding-system)
7743 (set-language-environment-coding-systems, set-locale-environment):
7744 * hexl.el (hexl-insert-multibyte-char):
7745 * dos-w32.el (find-buffer-file-type-coding-system):
7746 * simple.el (what-cursor-position):
7747 Replace uses of default-buffer-file-coding-system
7748 with (default-value 'buffer-file-coding-system).
7750 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
7751 Replace uses of default-cursor-in-non-selected-windows
7752 with (default-value 'cursor-in-non-selected-windows).
7753 Use with-current-buffer.
7755 * mail/feedmail.el: Use CL macros.
7756 (feedmail-run-the-queue, feedmail-send-it-immediately):
7757 * dos-w32.el (find-buffer-file-type): Replace uses of
7758 default-buffer-file-type with (default-value 'buffer-file-type).
7760 2009-08-28 Glenn Morris <rgm@gnu.org>
7762 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
7763 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
7764 Use default-value of major-mode rather than default-major-mode.
7766 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7768 * Makefile.in (update-elcfiles): Report left over elc files.
7770 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
7771 expand-file-name and with-current-buffer.
7772 (mail-get-names, mail-directory): Use with-current-buffer.
7774 * vc.el (vc-read-revision): New function.
7775 (vc-version-diff, vc-merge): Use it.
7777 2009-08-27 Sam Steingold <sds@gnu.org>
7779 * simple.el (kill-do-not-save-duplicates): New user option.
7780 (kill-new): When it is non-nil, and the new string is the same as
7781 the latest kill, set replace to t to avoid duplicates in kill-ring.
7783 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
7785 * net/tramp.el (tramp-handle-process-file): Do not flush all
7786 caches when `process-file-side-effects' is set.
7787 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
7788 instead of `tramp-find-file-exists-command'.
7789 Unset `process-file-side-effects'.
7791 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
7793 * net/tramp.el (tramp-methods): New method "rsyncc".
7794 (top): Add completion function for "rsyncc".
7795 (tramp-message-show-message): New defvar.
7796 (tramp-message, tramp-error): Use it.
7797 (tramp-do-copy-or-rename-file-directly): Extend check for direct
7799 (tramp-do-copy-or-rename-file-out-of-band): Handle new
7800 `tramp-methods' entry `copy-env' of "rsyncc".
7801 (tramp-vc-registered-read-file-names): New defconst.
7802 (tramp-vc-registered-file-names): New defvar.
7803 (tramp-handle-vc-registered): Implement optimization strategy.
7804 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
7805 (tramp-vc-file-name-handler): New defun.
7806 (tramp-get-ls-command, tramp-get-test-command)
7807 (tramp-get-file-exists-command, tramp-get-remote-ln)
7808 (tramp-get-remote-perl, tramp-get-remote-stat)
7809 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
7811 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
7812 (tramp-cache-inhibit-cache): Extend doc string. It allows also
7814 (tramp-get-file-property): Check for timestamps in
7815 `tramp-cache-inhibit-cache'.
7816 (tramp-set-file-property): Write timestamp.
7818 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7820 * language/japan-util.el (japanese-symbol-table): Add entries for
7823 * international/characters.el: Add category `j' to cp932-2-byte.
7825 2009-08-27 Kenichi Handa <handa@m17n.org>
7827 * international/fontset.el (build-default-fontset-data): New macro.
7828 (setup-default-fontset): Use build-default-fontset-data for CJK,
7829 tibetan, ethiopic, and ipa.
7831 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7833 * cus-start.el (default-major-mode): Customize `major-mode' instead.
7834 (enable-multibyte-characters): Not customizable any more.
7836 * subr.el (default-mode-line-format, default-header-line-format)
7837 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
7838 (default-direction-reversed, default-truncate-lines)
7839 (default-left-margin, default-tab-width, default-case-fold-search)
7840 (default-left-margin-width, default-right-margin-width)
7841 (default-left-fringe-width, default-right-fringe-width)
7842 (default-fringes-outside-margins, default-scroll-bar-width)
7843 (default-vertical-scroll-bar, default-indicate-empty-lines)
7844 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
7845 (default-fringe-cursor-alist, default-scroll-up-aggressively)
7846 (default-scroll-down-aggressively, default-fill-column)
7847 (default-cursor-type, default-buffer-file-type)
7848 (default-cursor-in-non-selected-windows)
7849 (default-buffer-file-coding-system, default-major-mode)
7850 (default-enable-multibyte-characters): Mark as obsolete.
7852 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
7854 * vc-dir.el (vc-dir-update): Remove debug helper.
7856 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
7858 2009-08-26 Sam Steingold <sds@gnu.org>
7860 * simple.el (save-interprogram-paste-before-kill): New user option.
7861 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
7862 save the interprogram-paste into kill-ring before overriding it
7863 with the Emacs kill.
7865 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7867 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
7868 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
7869 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
7870 and move to vc-rcs.el.
7871 (vc-default-next-revision): Rename to vc-rcs-next-revision and
7873 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
7874 (vc-rcs-update-changelog): Remove.
7875 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
7876 and move to vc-rcs.el.
7878 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
7879 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
7881 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
7882 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
7883 vc.el, renamed to be RCS specific.
7885 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
7887 (vc-cvs-update-changelog): Move here from vc.el.
7889 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
7892 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
7894 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
7896 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7898 * vc-git.el (vc-git-register): Use "git add" for directories.
7899 (vc-git-stash, vc-git-stash-show): New functions.
7900 (vc-git-extra-menu-map): Bind them.
7902 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
7903 directory correctly in case the item is a directory itself.
7905 * vc.el: Document the desired behavior for reverted files in the
7907 (vc-default-prettify-state-info): Remove function, unused.
7909 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
7911 2009-08-26 Glenn Morris <rgm@gnu.org>
7913 * bindings.el (standard-mode-line-format): Reposition dashes in
7914 which-func entry. (Bug#4217)
7916 * files.el (enable-local-variables, enable-local-eval)
7917 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
7919 (auto-mode-alist, ignored-local-variables)
7920 (save-some-buffers-action-alist): Move risky declarations to the
7922 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
7923 (font-lock-defaults, format-alist, imenu--index-alist)
7924 (imenu-generic-expression, input-method-alist, minor-mode-alist)
7925 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
7926 (mode-line-modified, mode-line-mule-info, mode-line-position)
7927 (mode-line-process, mode-line-remote, outline-level)
7928 (parse-time-rules, rmail-output-file-alist)
7929 (special-display-buffer-names, vc-mode):
7930 Move risky declarations to the relevant files.
7931 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
7932 (mode-line-modified, mode-line-process, mode-line-position)
7933 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
7934 * font-core.el (font-lock-defaults):
7935 * format.el (format-alist):
7936 * vc-hooks.el (vc-mode):
7937 * window.el (special-display-buffer-names):
7938 * international/mule-cmds.el (input-method-alist):
7939 Define riskiness here (dumped file) rather than in files.el.
7940 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
7941 * imenu.el (imenu-generic-expression, imenu--index-alist):
7942 * outline.el (outline-level):
7943 * time.el (display-time-string):
7944 * calendar/parse-time.el (parse-time-rules):
7945 * mail/rmailout.el (rmail-output-file-alist):
7946 Autoload riskiness here, rather than placing in files.el.
7948 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
7950 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
7952 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
7954 * simple.el (process-file-side-effects): New defvar.
7956 * dired-aux.el (dired-show-file-type):
7957 * vc.el (vc-diff-internal):
7958 * vc-arch.el (vc-arch-diff):
7959 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
7960 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
7961 * vc-git.el (vc-git-registered, vc-git-working-revision)
7962 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
7963 (vc-git--empty-db-p):
7964 * vc-hooks.el (vc-user-login-name):
7965 * vc-svn.el (vc-svn-registered, vc-svn-state)
7966 (vc-svn-dir-extra-headers, vc-svn-find-revision):
7967 * progmodes/grep.el (grep-probe): Let-bind
7968 `process-file-side-effects' with nil.
7970 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
7972 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
7973 daemon. Replace ping by checking for running service for bluez
7974 and zeroconf. (Bug#4239)
7976 2009-08-25 Kevin Ryde <user42@zip.com.au>
7978 * net/dig.el (dig): Add autoload cookie.
7980 2009-08-25 Glenn Morris <rgm@gnu.org>
7982 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
7983 load-history for absolute file-names.
7984 (byte-compile-file-form-require): Warn about use of the cl package.
7986 * format.el (format-alist): Doc fix.
7988 * play/bubbles.el (top-level): Don't require cl at run-time.
7990 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
7993 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
7995 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
7997 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
7999 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
8001 * calc/calc-alg.el (math-trig-rewrite)
8002 (math-hyperbolic-trig-rewrite): New functions.
8003 (calc-simplify): Simplify trig functions when asked.
8005 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * diff-mode.el (diff-find-source-location): Avoid goto-line.
8009 2009-08-24 Kenichi Handa <handa@m17n.org>
8011 * language/ind-util.el (mapthread): Delete it.
8012 (combinatorial): New function.
8013 (indian--puthash-cv): Use combinatorial instead of mapthread.
8015 2009-08-22 Kevin Ryde <user42@zip.com.au>
8017 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
8018 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
8019 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
8020 Clarify docstring that the value is strings not symbols.
8021 (checkdoc-list-of-strings-p): New function.
8023 2009-08-22 Glenn Morris <rgm@gnu.org>
8025 * files.el (auto-mode-alist):
8026 * hippie-exp.el (he-concat-directory-file-name):
8027 * lpr.el (lpr-windows-system, printer-name):
8028 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
8029 * ps-print.el (ps-windows-system):
8030 * startup.el (command-line):
8031 * emulation/viper-ex.el (viper-glob-function):
8032 * international/mule-cmds.el (set-language-environment-coding-systems):
8033 * net/ange-ftp.el (ange-ftp-write-region):
8034 * obsolete/fast-lock.el (fast-lock-cache-name):
8035 Remove code for defunct system-types emx, macos, mswindows, next-mach,
8036 unisoft-unix, vax-vms, win32, w32.
8038 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
8039 given name if the pattern is not more specific.
8041 * calendar/lunar.el (lunar-phase-names): New option.
8042 (lunar-phase): Doc fix.
8043 (lunar-cycles-per-year): New constant.
8044 (lunar-index): New function.
8045 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
8046 (lunar-phase-name): Use lunar-phase-names.
8047 (calendar-lunar-phases): Use format.
8048 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
8050 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
8051 Copy imenu-example--name-and-position function here for own use.
8052 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
8054 * bs.el (bs--redisplay):
8055 * cus-edit.el (custom-redraw):
8056 * ibuffer.el (ibuffer-bury-buffer):
8057 * server.el (server-goto-line-column):
8058 * startup.el (command-line-1):
8059 * strokes.el (strokes-xpm-for-stroke):
8060 * term.el (term-display-buffer-line):
8061 * view.el (View-goto-line):
8062 * calc/calc.el (calc-do, calc-trail-buffer):
8063 * play/gamegrid.el (gamegrid-add-score-insecure):
8064 * progmodes/ada-mode.el (ada-compile-goto-error):
8065 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
8066 (ebrowse-select-1st-to-9nth):
8067 * progmodes/cperl-mode.el (cperl-time-fontification):
8068 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
8069 * progmodes/gud.el (gud-display-line):
8070 (idlwave-shell-display-line):
8071 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
8072 * progmodes/make-mode.el (makefile-browser-toggle):
8073 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
8074 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
8075 * textmodes/picture.el (picture-draw-rectangle):
8076 * textmodes/reftex-index.el (reftex-index-goto-letter):
8077 (reftex-select-jump-to-previous):
8078 * textmodes/reftex-sel.el (reftex-find-start-point)
8079 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
8080 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
8081 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
8082 * textmodes/tex-mode.el (tex-compilation-parse-errors):
8083 * textmodes/two-column.el (2C-associated-buffer):
8084 Use forward-line rather than goto-line.
8086 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
8089 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
8090 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
8091 (quick-check-list-to-regexp): Declare.
8093 * progmodes/make-mode.el (makefile-browser-insert-selection):
8094 Use goto-char rather than goto-line.
8096 * progmodes/prolog.el (compilation-error-regexp-alist)
8097 (compilation-forget-errors): Declare.
8099 2009-08-22 Juri Linkov <juri@jurta.org>
8101 * progmodes/grep.el (lgrep, rgrep): At the beginning
8102 set `dir' to `default-directory' unless `dir' is a non-nil
8103 readable directory. (Bug#4052)
8104 (lgrep, rgrep): Change a weird way to report an error
8105 from using `read-string' to using `error'.
8106 Instead of using interactive arguments in the function body,
8107 add new argument `confirm'.
8109 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * textmodes/remember.el (remember-buffer):
8112 * progmodes/cperl-mode.el (cperl-vc-header-alist):
8113 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
8114 (icalendar-extract-ical-from-buffer):
8115 * net/newst-treeview.el (newsticker-groups-filename):
8116 * net/newst-backend.el (newsticker-cache-filename):
8117 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
8118 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
8119 (speedbar-add-ignored-path-regexp, speedbar-line-path)
8120 (speedbar-buffers-line-path, speedbar-path-line)
8121 (speedbar-buffers-line-path):
8122 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
8124 * epa.el (epa-display-verify-result):
8125 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
8127 2009-08-21 Glenn Morris <rgm@gnu.org>
8129 * progmodes/js.el (inferior-moz-process): Fix declaration.
8131 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
8133 * obsolete/rnewspost.el (news-mail-reply):
8134 Use goto-char rather than goto-line.
8136 * term/ns-win.el (ns-open-file-select-line):
8137 Use line-beginning-position rather than goto-line.
8139 * apropos.el (apropos-command):
8140 * ehelp.el (electric-helpify):
8141 * printing.el (pr-show-setup):
8142 * strokes.el (strokes-help):
8143 * tutorial.el (tutorial--describe-nonstandard-key)
8144 (tutorial--detailed-help):
8145 * woman.el (woman-mini-help, woman-display-extended-fonts):
8146 * calc/calc-help.el (calc-describe-key):
8147 * emulation/edt.el (edt-electric-helpify):
8148 * international/mule-diag.el (mule-diag):
8149 * play/yow.el (apropos-zippy):
8150 * progmodes/python.el (python-describe-symbol):
8151 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
8152 * textmodes/table.el (*table--cell-describe-mode)
8153 (*table--cell-describe-bindings):
8154 Use help-print-return-message rather than the now obsolete alias.
8156 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
8157 (calendar-cursor-to-visible-date):
8158 * play/5x5.el (5x5-position-cursor):
8159 * play/decipher.el (decipher):
8160 * play/gomoku.el (gomoku-goto-xy):
8161 * play/landmark.el (lm-goto-xy):
8162 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
8164 Use forward-line, not goto-line.
8166 * mail/rmail.el (rmail-obsolete): Delete custom group.
8167 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
8168 (rmail-remote-password, rmail-remote-password-required):
8169 Remove unneeded :set-after and :set properties.
8171 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
8173 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
8175 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
8177 * loadup.el: Remove leftover macos code.
8179 * vc-git.el (vc-git-annotate-command): Run asynchronously.
8180 Explicitly pass the date format to git blame so that user local
8181 so that the output format can be parsed.
8183 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
8185 * net/dbus.el (top): Don't check for (getenv
8186 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
8188 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
8190 * log-edit.el (log-edit-strip-single-file-name): New var.
8191 (log-edit-insert-changelog): Use it. Bug#3571
8193 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * subr.el (read-passwd): Use read-key so keypad keys work as well.
8198 * help.el (help-print-return-message): Rename from
8199 print-help-return-message.
8201 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
8202 cvs-mode-map parent hack.
8203 (log-view-mode): Derive from special-mode.
8205 * linum.el (linum-mode): window-size-change-functions is redundant.
8206 Adapt to new window-configuration-change-hook behavior.
8207 (linum-after-size, linum-after-config): Remove.
8209 * imenu.el (imenu-example--name-and-position)
8210 (imenu-example--lisp-extract-index-name)
8211 (imenu-example--create-lisp-index, imenu-example--create-c-index):
8214 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
8215 (inferior-prolog-mode): Use it.
8216 (inferior-prolog-load-file): Reset list of errors.
8218 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
8220 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
8222 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
8224 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
8226 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
8229 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * subr.el (listify-key-sequence-1): Use normal syntax since those
8232 integers are nowadays always represented by the same (positive) number
8234 (read-key-empty-map): New const.
8235 (read-key-delay): New var.
8236 (read-key): New function.
8237 (force-mode-line-update): Use with-current-buffer.
8238 (locate-user-emacs-file): Don't forget to abbreviate the file name.
8239 (start-process-shell-command, start-file-process-shell-command):
8240 Discourage the use of command-args.
8242 2009-08-19 Glenn Morris <rgm@gnu.org>
8244 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
8246 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8248 * simple.el (choose-completion-string): Don't rely on
8249 minibuffer-completing-file-name and ad-hoc checks to decide whether
8250 to continue completion or not.
8252 * minibuffer.el (minibuffer-hide-completions): New function.
8253 (completion--do-completion): Use it.
8254 (completions-annotations): New face.
8255 (completion--insert-strings): Use it.
8256 (completion-pcm--delim-wild-regex): Add docstring.
8257 (completion-pcm--string->pattern): Add support for 0-width delimiters
8258 in completion-pcm--delim-wild-regex.
8260 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8262 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
8263 Remove unused var `buffer-modified-p'.
8265 * minibuffer.el (completion--do-completion): Move point for the #b001
8266 case as well (bug#4176).
8267 (minibuffer-complete, minibuffer-complete-word): Don't move point.
8269 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
8271 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
8274 2009-08-18 Kenichi Handa <handa@m17n.org>
8276 * international/ucs-normalize.el (ucs-normalize-version):
8278 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
8279 (utf-8-hfs): Make it perform normalization on encoding too.
8281 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
8282 (sentence-end-without-space): Delete duplicated chars.
8283 (sentence-end-base): Likewise.
8285 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
8286 (html-mode): Delete duplicated chars from sentence-end-base.
8288 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
8289 (texinfo-mode): Delete duplicated chars from sentence-end-base.
8291 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
8293 * files.el (hack-one-local-variable): If the mode function is for
8294 a minor mode, pass it an argument (Bug#4148).
8296 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
8298 * net/tramp.el (tramp-register-completion-file-name-handler):
8299 Check also for (member 'partial-completion completion-styles).
8301 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
8303 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
8306 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
8308 * progmodes/cperl-mode.el: Merge upstream 6.2.
8309 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
8310 (cperl-forward-re): Check cperl-brace-recursing.
8311 (cperl-highlight-charclass): New function.
8312 (cperl-find-pods-heres): Use it.
8313 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
8314 (cperl-beautify-regexp-piece): Fix column calculation.
8315 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
8316 (cperl-beautify-level): Don't process entire regexp.
8317 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
8319 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
8320 (cperl-init-faces): Build a list in the normal way.
8322 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
8324 * calendar/parse-time.el (parse-time-string-chars): Save match
8327 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
8329 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
8330 (sql-product): Use it.
8331 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
8332 (sql-set-product): Add completion.
8333 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
8334 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
8335 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
8336 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
8337 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
8338 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
8339 (sql-highlight-db2-keywords): Remove.
8340 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
8341 (sql-highlight-product): Use derived-mode-p.
8342 (sql-set-sqli-buffer): Use with-current-buffer.
8343 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
8346 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
8348 * term.el: Fix commenting convention, turn comments into docstrings.
8350 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8352 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
8354 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
8356 * calendar/parse-time.el (parse-time-string-chars): Compute using
8357 character classes, to handle non-ascii characters (Bug#3190).
8359 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
8361 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
8362 another heredoc if the user adds another < (Bug#3226).
8364 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
8365 Don't initialize based on window-system (Bug#4124).
8367 * facemenu.el (facemenu-read-color): Use a completion function
8368 that accepts any defined color, such as RGB triplets (Bug#3677).
8370 * files.el (get-free-disk-space): Change fallback default
8371 directory to /. Expand DIR argument before switching to fallback.
8372 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
8374 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
8376 * files.el (load-library): Doc fix.
8378 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
8380 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
8381 (viper-if-string): Redefine C-s in the minibuffer to insert the last
8382 incremental search string.
8384 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
8387 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
8388 (ediff-merge-region-is-non-clash)
8389 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
8390 Also check if the job is really a merge job.
8392 * ediff.el (ediff-current-file): New function.
8394 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
8396 * progmodes/js.el: Edit docstrings throughout to follow Emacs
8398 (js-insert-and-indent): Delete function.
8399 (js-mode-map): Don't bind keys to js-insert-and-indent.
8400 (js-beginning-of-defun): Rename from js--beginning-of-defun.
8401 (js-end-of-defun): Rename from js--end-of-defun.
8402 (js-auto-indent-flag): Delete variable.
8404 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
8406 * progmodes/js.el: Remove proclaim statement.
8407 Defvar which-func-imenu-joiner-function to silence compiler.
8409 * files.el (auto-mode-alist): Use js-mode for .js files.
8411 * progmodes/js2-mode.el: Remove file.
8413 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
8415 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
8417 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
8419 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
8420 Karl Landstrom <karl.landstrom@brgeight.se>
8422 * progmodes/js.el: New file.
8424 2009-08-14 Mark A. Hershberger <mah@everybody.org>
8426 * timezone.el (timezone-parse-date): Add ability to understand ISO
8427 basic format (minimal separators) dates in addition to the
8428 already-supported extended format dates.
8430 2009-08-14 Eli Zaretskii <eliz@gnu.org>
8432 * international/ucs-normalize.el: Add a `coding' file variable.
8434 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
8436 2009-08-14 Sam Steingold <sds@gnu.org>
8438 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8440 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
8442 * faces.el (help-argument-name): Define it here instead of
8443 help-fns.el, because in daemon mode help-fns.el may be loaded when
8444 faces are still uninitialized (Bug#1078).
8446 * help-fns.el (help-argument-name): Move defface to faces.el.
8448 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
8450 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
8451 create buffer with a pty but no process so that GDB can make the
8452 inferior the controlling process.
8454 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
8456 * international/ucs-normalize.el: New file.
8458 2009-08-13 Richard Stallman <rms@gnu.org>
8460 * mail/rmail.el (rmail-get-attr-names):
8461 Accept an attribute header that is too short.
8463 * mail/rmail.el (rmail-forget-messages):
8464 Ignore nil elt in rmail-message-vector. Use dotimes.
8466 * progmodes/compile.el (compilation-goto-locus):
8467 Use next-error-move-function.
8469 * simple.el (next-error-move-function): New variable.
8471 2009-08-12 Juri Linkov <juri@jurta.org>
8473 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
8474 always non-nil. (Bug#4052)
8476 * replace.el (read-regexp): Return empty string when
8477 `default-value' is nil.
8478 (keep-lines-read-args): Don't use empty string as the
8479 default value for `read-regexp'. (Bug#2495)
8481 2009-08-12 Juri Linkov <juri@jurta.org>
8483 * international/mule-cmds.el (ucs-insert): Change arguments
8484 from `arg' to `character', `count', `inherit' to be the same
8485 as in `insert-char'. Doc fix. (Bug#4039)
8487 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
8489 2009-08-12 Juri Linkov <juri@jurta.org>
8491 * files-x.el: New file.
8493 * files.el: Move code that deals with adding/deleting
8494 file/directory-local variables to files-x.el.
8496 * Makefile.in (ELCFILES): Add files-x.elc.
8498 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
8500 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
8502 (gdb-place-breakpoints, gdb-get-location): Rewritten without
8504 (gdb-invalidate-disassembly): Do not refresh upon receiving
8505 'update signal. Instead, update all disassembly buffers only after
8507 (gdb): Send -target-detach when buffer is killed (Bug#3794).
8508 (gdb-starting): Moved -data-list-register-names...
8509 (gdb-stopped): ...here so it's sent when first thread stops.
8510 (gdb-registers-handler-custom): Do nothing if register names are
8513 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
8514 from `gdb-mi.el' to avoid extra tangling.
8516 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
8517 change which breaks `gud-def' definitions used in `gdb'.
8518 (gdb-update-gud-running): No extra fuss for updating frame number.
8520 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8522 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
8523 (describe-language-environment-map, setup-language-environment-map)
8524 (set-coding-system-map): Move initialization into declaration.
8525 (set-language-info-alist): Last arg to define-key-after can be skipped.
8527 * international/quail.el (quail-completion-1): Simplify.
8528 (quail-define-rules): Use slightly more compact code.
8529 (quail-insert-decode-map): Propertize keys, compact columns.
8531 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8534 2009-08-10 Miles Bader <miles@gnu.org>
8536 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
8537 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
8538 (js2-instance-member, js2-private-member, js2-private-function-call)
8539 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
8540 (js2-magic-paren, js2-external-variable):
8541 Remove "-face" suffix from face names.
8542 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
8543 (js2-highlight-undeclared-vars, js2-peek-token)
8544 (js2-parse-function-params, js2-mode-show-errors)
8545 (js2-mode-show-warnings, js2-make-magic-delimiter)
8546 (js2-mode-highlight-magic-parens): Update to use new face names.
8548 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
8550 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
8551 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
8553 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
8555 * subr.el: Provide hashtable-print-readable.
8557 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
8558 hs-c-like-adjust-block-beginning.
8559 (hs-hide-block-at-point): Stop hiding at the beginning of
8560 hs-block-end-regexp (Bug#700).
8562 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
8564 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
8566 (gdb-registers-handler-custom): Do not fail when register names
8569 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8571 * progmodes/gdb-mi.el (gdb-control-all-threads)
8572 (gdb-control-current-thread): Interactive setters for
8573 `gdb-gud-control-all-threads' to use in menu.
8574 (gdb-show-run-p): Show «Go» when process is not active.
8575 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
8576 gud/thread.xpm and gud/all.xpm.
8578 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
8580 * net/net-utils.el (net-utils-font-lock-keywords): New var.
8581 (nslookup-font-lock-keywords): Make it a variable.
8582 (net-utils-mode): New mode for viewing diagnostic network output.
8583 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
8584 (net-utils-run-simple): New function.
8585 (ifconfig, iwconfig, netstat, arp, route): Use it.
8587 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8589 * progmodes/gdb-mi.el (gdb-read-memory-custom)
8590 (gdb-memory-set-address, def-gdb-set-positive-number)
8591 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
8592 after changing settings.
8593 (gdb-invalidate-disassembly): Update when first shown.
8594 (gdb-edit-locals-value): Fixed.
8595 (gdb-registers-handler-custom): Print registers in right order and
8596 allow changing register values (only for current thread yet).
8597 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
8598 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
8599 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
8600 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
8602 (gdb-registers-mode-map): TAB to switch to locals.
8604 2009-08-08 Eli Zaretskii <eliz@gnu.org>
8606 * mail/rmail.el (rmail-add-mbox-headers)
8607 (rmail-set-message-counters-counter): Search for
8608 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
8610 2009-08-08 Glenn Morris <rgm@gnu.org>
8612 * Makefile.in (ELCFILES): Update.
8614 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8616 * mail/sendmail.el (mail-yank-original): Set
8617 buffer-file-coding-system from the one used by the message whose
8620 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
8621 to "windows" when "pgnuplot" is used.
8622 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
8623 call accept-process-output if "pgnuplot" is used.
8624 (calc-graph-init): Don't send -display and -geometry to
8625 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
8626 running "pgnuplot -V" with shell-command-to-string.
8628 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
8631 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8633 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
8636 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
8638 * vc-dispatcher.el (vc-resynch-window): Update comment.
8640 * term.el (term-handle-ansi-escape): Add comments with the
8641 terminfo capabilities implemented.
8643 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
8645 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
8646 (gdb-var-create-handler): Rewritten using JSON parser.
8647 (gdb-propertize-header): Moved earlier.
8648 (gdb-set-header): Removed to avoid duplication.
8649 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
8650 Refresh disassembly buffers only after threads list have been
8652 (gdb-threads-header, gdb-registers-header): Per-buffer header line
8655 2009-08-04 Juri Linkov <juri@jurta.org>
8657 * files.el: Commands to add/delete file/directory-local variables.
8658 (read-file-local-variable, read-file-local-variable-value)
8659 (read-file-local-variable-mode, modify-file-local-variable)
8660 (modify-file-local-variable-prop-line)
8661 (modify-dir-local-variable): New functions.
8662 (add-file-local-variable, delete-file-local-variable)
8663 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
8664 (add-dir-local-variable, delete-dir-local-variable)
8665 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
8666 (copy-dir-locals-to-file-locals-prop-line): New commands.
8668 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
8670 * abbrev.el (insert-abbrev-table-description): Prettify output.
8671 Suggested by Karl Chen.
8673 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
8675 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
8676 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
8677 (gdb-overlay-arrow-position, gdb-thread-position)
8678 (gdb-disassembly-position): Declare variables.
8679 (gdb-wait-for-pending): Function now.
8680 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
8681 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
8682 compilation goes smoothly.
8683 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
8684 (gdb-non-stop-setting): New customization setting which replaces
8685 `gdb-non-stop' so changing it doesn't break active GDB session.
8686 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
8687 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
8688 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
8689 (gdb-show-threads-by-default): New customization options.
8690 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
8692 (gdb-get-buffer-create): Send buffers update signal when they are
8694 (gdb-invalidate-locals, gdb-invalidate-registers)
8695 (gdb-invalidate-breakpoints)
8696 (gdb-invalidate-threads, gdb-invalidate-disassembly)
8697 (gdb-invalidate-memory): Accept update signal.
8698 (gdb-current-context-command): Use --frame option.
8699 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
8700 Implement `gdb-frame-number' selection logic.
8701 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
8702 whether to show GUD toolbar buttons.
8703 (gdb-thread-exited): Unselect current thread when it exits.
8704 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
8705 (gdb-mark-line): Routine which sets overlay arrow or inverses
8706 video on fringeless displays.
8707 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
8708 to build aligned columns of data in GDB buffers and set text
8709 properties line-by-line.
8710 (gdb-invalidate-breakpoints)
8711 (gdb-breakpoints-list-handler-custom)
8712 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
8713 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
8714 (gdb-registers-handler-custom): Align data columns.
8715 (gdb-locals-handler-custom): Now prints data like in variable
8717 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
8718 Removed confusing buttons.
8719 (gdb-invalidate-threads): Append --frame.
8720 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
8721 between breakpoints/threads buffers.
8722 (gdb-set-window-buffer): Now can ignore dedicated windows.
8723 (gdb-propertize-header): Use `gdb-set-window-buffer'.
8724 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
8725 (def-gdb-thread-buffer-gud-command): Replaces
8726 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
8727 for fine thread control.
8728 (gdb-preempt-existing-or-display-buffer): New function used to
8729 display bound buffers without breaking window layout.
8730 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
8731 (gdb-select-frame): New version of `gdb-frames-select' which now
8732 sets `gdb-frame-number' so commands may use --frame option instead
8733 of inner debugger state.
8734 (gdb-frame-handler): Do not set `gdb-frame-number'.
8735 (gdb-threads-mode-map): Select threads with mouse.
8737 * progmodes/gud.el (gdb-gud-context-call): Declare function to
8738 avoid compilation warning.
8739 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
8742 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
8743 Argument `key' renamed to `buffer-type'.
8744 (gdb-current-context-buffer-name): Do not add thread info to
8745 buffer name when no thread is selected.
8746 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
8748 (gdb-thread-selected): Handle `=thread-selected' notification.
8749 (gdb-wait-for-pending): New macro to deal with congestion problems.
8750 (gdb-breakpoints-list-handler-custom): Don't fail on pending
8752 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
8753 This fixes problem similar to one described in bug 3947.
8754 (gud-menu-map): More menu items.
8755 (gdb-init-1): Reset `gdb-thread-number' to nil.
8757 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
8760 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
8761 (gdb-current-context-command): Do not append --thread if
8762 `gdb-thread-number' is nil.
8763 (gdb-running-threads-count, gdb-stopped-threads-count): New
8765 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
8766 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
8767 customization options.
8768 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
8770 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
8771 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
8772 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
8773 set `gdb-thread-number' and update `gud-running' properly.
8774 (gdb-running): Update threads list when new threads appear.
8775 (gdb-stopped): Support non-stop operation and new thread switching
8777 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
8778 (gdb-json-partial-output): New set of JSON routines.
8779 (def-gdb-auto-update-trigger): New `signal-list' optional
8781 (gdb-thread-list-handler-custom): Update `gud-running',
8782 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
8783 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
8784 (gdb-continue-thread, gdb-step-thread): New commands for fine
8785 thread execution control.
8786 (gud-menu-map): New menu items to switch non-stop options.
8787 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
8788 (gdb-send): Mimic RET properly (bug 3794).
8790 * progmodes/gdb-mi.el (gdb-rules-name-maker)
8791 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
8793 (def-gdb-auto-update-handler): New nopreserve optional argument.
8794 (gdb-stack-list-frames-custom): Print stack from top to bottom.
8796 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
8797 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
8798 (gdb-parent-mode): New mode to derive other GDB modes from.
8799 (gdb-display-disassembly-for-thread)
8800 (gdb-frame-disassembly-for-thread): New commands for threads
8803 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
8804 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
8805 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
8806 (gdb-update): We now store all GDB buffers in a list so that they
8807 can be updated by traversing a list instead of calling invalidate
8808 triggers explicitly.
8809 (def-gdb-trigger-and-handler): New macro to define trigger-handler
8810 pair for GDB buffer.
8811 (gdb-stack-buffer-name): Add thread information.
8812 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
8813 handle pending triggers.
8814 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
8815 (def-gdb-thread-buffer-simple-command)
8816 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
8817 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
8818 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
8819 New commands which show buffers bound to thread.
8820 (gdb-stack-list-locals-regexp): Removed unused regexp.
8822 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
8823 (gdb-locals-buffer-name, gdb-registers-buffer-name)
8824 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
8825 to (gud-comint-buffer) in *-buffer-name functions
8826 because (gdb-get-target-string) already does that.
8827 (gdb-locals-handler-custom, gdb-registers-handler-custom)
8828 (gdb-changed-registers-handler): Rewritten without regexps.
8830 * progmodes/gdb-mi.el: Basic thread selection support.
8831 (gdb-thread-number): New variable.
8832 (gdb-current-context-command): New macro which adds --thread
8834 (gdb-threads-mode-map): Select thread with SPC.
8835 (gdb-thread-list-handler-custom): Mark current thread with overlay
8836 arrow. Synchronize GDB thread and Emacs thread.
8837 (gdb-select-thread): New command which selects current thread.
8838 (gdb-invalidate-frames, gdb-invalidate-locals)
8839 (gdb-invalidate-registers): Use --thread option.
8841 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
8843 * net/tramp.el (top): Make check for tramp-gvfs loading more
8845 (tramp-handle-insert-file-contents): `unwind-protect' must be
8846 inside `with-parsed-tramp-file-name'.
8848 * net/tramp-gvfs.el (top): Remove superfluous message when loading
8851 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
8853 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
8854 directory if CLASSPATH is not set.
8856 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
8858 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
8860 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
8862 2009-08-02 Kevin Ryde <user42@zip.com.au>
8864 * net/newst-backend.el (newsticker--raw-url-list-defaults):
8865 Update freshmeat link. Delete newsforge.com as it seems gone.
8867 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8869 * select.el (x-set-selection): Doc fix (Bug#4021).
8871 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
8873 * help-fns.el (describe-variable): Treat list return values from
8874 dir-locals-find-file properly (Bug#4005).
8876 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
8878 * net/tramp.el (tramp-debug-message): Print also microseconds.
8880 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
8882 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
8884 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
8885 (tramp-get-debug-buffer): Change `outline-regexp' according to new
8888 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
8889 (tramp-get-file-property): Use it.
8891 * autorevert.el (auto-revert-handler): Allow
8892 `auto-revert-tail-mode' for remote files.
8894 2009-08-02 Jason Rumney <jasonr@gnu.org>
8896 * minibuffer.el (read-file-name): Treat confirm options to
8897 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
8899 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8901 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
8902 (font-lock-variable-name-face, font-lock-constant-face): Darken
8903 the colors for light backgrounds.
8905 2009-08-01 Eli Zaretskii <eliz@gnu.org>
8907 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
8908 month names. (Bug#3987)
8910 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
8912 * simple.el (line-move-finish): Pass whole number to
8913 line-move-to-column.
8914 (line-move-visual): Perform hscroll to the recorded position.
8916 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
8918 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
8920 2009-07-29 Alan Mackenzie <acm@muc.de>
8922 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
8924 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
8926 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
8927 (gdb-place-breakpoints): Use full path when setting breakpoints.
8929 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8931 * calc/calc.el (calc-mode-map): Add keybinding for
8932 `calc-transpose-lines'.
8934 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
8936 * calc/calc-misc.el (calc-transpose-lines): New function.
8938 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
8940 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
8941 Simplify check for out-of-band methods.
8942 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
8943 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
8945 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
8947 * vc-git.el (vc-git-checkin): Fix typo.
8949 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
8951 * progmodes/js2-mode.el: New file.
8953 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
8955 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
8956 (gud-menu-map): Adjust tooltip accordingly.
8958 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
8960 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
8961 (vc-bzr-log-view-mode): Adjust log-view-file-re.
8963 * add-log.el (change-log-mode-map): Add a menu.
8965 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
8967 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
8968 function returns nil.
8969 (dbus-handle-event): Handle special return value :ignore.
8970 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
8972 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
8974 * view.el (view-mode-enable): Don't define Helper-return-blurb if
8977 2009-07-25 Eli Zaretskii <eliz@gnu.org>
8981 * w32-vars.el (x-select-enable-clipboard): Doc fix.
8983 * term/pc-win.el (x-display-name, x-colors)
8984 (x-select-enable-clipboard, x-select-text): Doc fix.
8986 * term/common-win.el (x-display-name, x-colors): Doc fix.
8988 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
8989 (xw-defined-colors): Doc fix.
8991 * w32-fns.el (x-select-text, x-setup-function-keys)
8992 (x-get-selection, x-set-selection): Doc fix.
8994 * term/x-win.el (x-select-text, x-setup-function-keys)
8995 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
8997 * select.el (x-set-selection): Doc fix.
8999 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
9001 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
9002 instead of "IsNSSSupportAvailable". Avahi ought to work also when
9003 "IsNSSSupportAvailable" method is not available. Reported by
9004 Steve Youngs <steve@sxemacs.org>.
9006 2009-07-24 Kenichi Handa <handa@m17n.org>
9008 * international/characters.el: Fix setting of category ?C, ?|, ?K,
9009 and ?H. Fix setting of case for Latin Extended and Greek Extended.
9010 (build-unicode-category-table): Fix range checks.
9012 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
9014 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
9015 the buffer we try to sync is current when calling
9018 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
9019 not show up to date files.
9021 2009-07-24 Glenn Morris <rgm@gnu.org>
9023 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
9024 Add autoload cookies. If necessary, initialize.
9025 (elint-log): Handle non-file buffers.
9026 (elint-initialize): Add optional argument to reinitialize.
9027 (elint-find-builtin-variables): Save excursion.
9029 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
9031 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
9034 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
9036 * vc.el (vc-print-log-internal): New function, split out from ...
9037 (vc-print-log): ... here.
9038 (vc-dir-move-to-goal-column): Declare.
9040 * vc-git.el (vc-git-add-signoff): New variable.
9041 (vc-git-checkin): Use it.
9042 (vc-git-toggle-signoff): New function.
9043 (vc-git-extra-menu-map): Bind it to menu.
9044 (vc-git--run-command-string): Accept a nil FILE argument.
9045 (vc-git-stash-list): New function.
9046 (vc-git-dir-extra-headers): Use it.
9048 2009-07-23 Glenn Morris <rgm@gnu.org>
9050 * help-fns.el (describe-variable): Describe ignored and risky local
9051 variables in a similar way to that in which we describe safe ones.
9053 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
9054 (byte-compile-output-file-form, byte-compile-output-docform)
9055 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
9056 Give some more local variables with common names a "bytecomp-" prefix,
9057 so as not to shadow things during compilation.
9058 * emacs-lisp/cl-macs.el (load-time-value)
9059 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
9060 `outbuffer' to `bytecomp-outbuffer'.
9062 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
9063 since the next two variables cover them automatically now.
9064 (elint-builtin-variables, elint-autoloaded-variables): New.
9065 (elint-unknown-builtin-args): Remove all members, since they can be
9066 parsed automatically now.
9067 (elint-extra-errors): New.
9068 (elint-env-add-env, elint-env-add-macro): Use cadr.
9069 (elint-current-buffer): Use or. Change final message.
9070 (elint-get-top-forms): Use line-end-position.
9071 (elint-init-env): Use cadr. Handle autoload, declare-function,
9073 (elint-add-required-env): Doc fix. Use or. Standardize error.
9074 (regexp-assoc): Remove unused function.
9075 (elint-top-form): Set elint-current-pos, to record the start of the
9076 top-level form, for compilation-mode.
9077 (elint-form): Trap errors in macro expansion. Use dolist.
9078 (elint-unbound-variable): Use elint-builtin-variables and
9079 elint-autoloaded-variables.
9080 (elint-get-args): Use cadr, or.
9081 (elint-check-cond-form): Use dolist, cadr.
9082 (elint-check-condition-case-form): Doc fix. Use cadr.
9083 Use elint-extra-errors.
9084 (elint-log): New function.
9085 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
9086 Distinguish errors and warnings.
9087 (elint-log-message): Use with-current-buffer. Inhibit read-only.
9088 Use a bytecomp-style format.
9089 (elint-clear-log): Preserve default-directory. Inhibit read-only.
9090 (elint-get-log-buffer): Use compilation mode. Disable undo.
9091 Don't truncate lines.
9092 (elint-initialize): Set builtin and autoloaded variable lists.
9093 Only process elint-unknown-builtin-args if non-nil.
9094 (elint-find-builtin-variables, elint-find-autoloaded-variables):
9096 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
9098 2009-07-22 Kevin Ryde <user42@zip.com.au>
9100 * net/newst-backend.el (newsticker--parse-atom-1.0)
9101 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
9102 (newsticker--parse-rss-1.0):
9103 * progmodes/idlwave.el (idlwave-mode):
9104 * progmodes/idlw-shell.el (idlwave-shell-mode):
9105 * progmodes/vera-mode.el (vera-mode):
9106 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
9107 * progmodes/vhdl-mode.el (vhdl-mode):
9108 * textmodes/table.el (table-generate-source)
9109 (table--warn-incompatibility):
9110 Hyperlink urls in docstrings with URL `...'.
9112 2009-07-22 Glenn Morris <rgm@gnu.org>
9114 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
9115 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
9116 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
9117 Remove leading * from defcustom docs.
9119 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
9121 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
9123 (list-load-path-shadows): Optionally, just return shadows as a string.
9125 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
9127 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
9129 * mail/rmailedit.el (rmail-edit-mode): Use
9130 auto-save-include-big-deletions.
9132 * mail/rmail.el (rmail-variables): Use
9133 auto-save-include-big-deletions.
9135 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
9138 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
9140 * calc/calc.el (calc-undo-length): New variable.
9141 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
9143 2009-07-21 Richard Stallman <rms@gnu.org>
9145 * files.el (auto-save-mode): Handle buffer-save-size = -2
9148 2009-07-21 Glenn Morris <rgm@gnu.org>
9150 * textmodes/ispell.el (ispell-looking-back): Update declaration.
9152 * calendar/todo-mode.el (calendar-current-date): Update declaration.
9154 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
9155 silence compiler. Instead...
9156 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
9157 (ps-print-ensure-fontified): Update for above function name changes.
9159 * printing.el (pr-mh-get-msg-num, pr-mh-show)
9160 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
9161 silence compiler. Instead...
9162 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
9163 (mh-show-buffer): Only define for compiler.
9164 (pr-mh-current-message): Update for above function name changes.
9166 * files.el (abort-if-file-too-large): Explicitly pass `filename'
9168 (find-file-noselect, insert-file-1): Update for above change.
9170 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
9172 * mail/mailclient.el (mailclient-send-it): Fix message.
9174 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
9175 (edebug-eval): Check cl-debug-env is bound.
9176 (print-level, print-circle): Don't redefine built-in variables.
9178 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
9179 (custom-print-vectors): Remove old comments from doc.
9181 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
9182 (emerge-version): Make the variable an obsolete alias for the
9183 emacs-version variable. Make the function obsolete.
9184 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
9185 Emerge options, rather than merging in into the main Options menu.
9186 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
9187 and auto advance modes. Disable edit/fast items when not relevant.
9189 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
9191 * term/vt420.el (terminal-init-vt420): Fix typo.
9193 2009-07-20 Sam Steingold <sds@gnu.org>
9195 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
9196 variable (removed from compile.el on 2004-03-11).
9198 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
9200 * files.el (hack-local-variables-filter): Fix last change.
9202 2009-07-19 Juri Linkov <juri@jurta.org>
9204 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
9205 (dir-local-variables-alist): New buffer-local variable.
9206 (hack-local-variables-filter): If variable is not dir-local,
9207 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
9208 because file-local overrides dir-local.
9209 (c-postprocess-file-styles) <declare-function>:
9210 Remove obsolete declaration.
9211 (hack-dir-local-variables): Add dir-local variable/value pair to
9212 `dir-local-variables-alist' and remove duplicates. Doc fix.
9214 * help-fns.el (describe-variable): Add information about
9215 file-local and dir-local variables.
9217 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
9219 * files.el (hack-local-variables-filter): Rewrite.
9221 2009-07-19 Glenn Morris <rgm@gnu.org>
9223 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
9224 Silence compiler by only defining on XEmacs.
9226 * international/mule.el (auto-coding-regexp-alist): Only match
9227 BABYL... at the start of buffer, not of lines. (Bug#3790)
9229 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
9230 non-calendar buffers (Bug#3862). Restore "not on a date" message.
9231 (cal-menu-context-mouse-menu): Doc fix.
9233 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
9235 * simple.el (mail-user-agent): Doc fix. Set :version tag.
9237 2009-07-18 Juri Linkov <juri@jurta.org>
9239 * info.el: Virtual Info keyword finder.
9240 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
9241 (Info-finder-file): New variable.
9242 (Info-finder-find-file): New function.
9243 (finder-known-keywords, finder-package-info)
9244 (find-library-name, lm-commentary): Use defvar and
9245 declare-function to silence compiler warnings.
9246 (Info-finder-find-node): New function.
9247 (info-finder): New command.
9249 * subr.el (process-kill-buffer-query-function): New function.
9250 (add-hook)<kill-buffer-query-functions>: Add hook
9251 `process-kill-buffer-query-function'.
9253 2009-07-18 Alan Mackenzie <acm@muc.de>
9255 * progmodes/cc-mode.el (c-before-hack-hook)
9256 (c-postprocess-file-styles): Give invocation of `c-set-style'
9257 DONT-OVERRIDE parameter of t. Already set style variables will
9258 thus not be overridden by style settings given by `c-file-syle'.
9260 * files.el (hack-local-variables-filter): Remove entries with
9261 duplicate keys from `file-local-variables-alist'.
9263 2009-07-18 Eli Zaretskii <eliz@gnu.org>
9265 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
9266 x-set-selection if display-selections-p returns nil for the
9269 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
9271 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
9273 2009-07-18 Eli Zaretskii <eliz@gnu.org>
9275 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
9276 Accept nil in addition to a regexp.
9277 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
9278 Accept nil in addition to a regexp.
9279 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
9280 buffers that have an associated file. Handle nil values of
9281 desktop-buffers-not-to-save and desktop-files-not-to-save.
9284 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9285 (x-disown-selection-internal): New functions.
9287 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
9289 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
9291 (gdb-breakpoints-header): Move forward to avoid compiler warning.
9292 (gdb-make-header-line-mouse-map): Remove duplicate definition.
9294 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
9296 * simple.el (set-mark): Revert last change.
9298 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
9300 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
9301 rendering of pngs is not possible instead of messaging a long
9304 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
9306 * w32-fns.el (x-selection-owner-p): New function.
9308 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
9309 (mouse-yank-at-click, mouse-yank-primary): If
9310 select-active-regions is non-nil, deactivate the mark before
9313 * simple.el (deactivate-mark, set-mark): Only save selection if we
9316 2009-07-17 Kenichi Handa <handa@m17n.org>
9318 * case-table.el (describe-buffer-case-table): Fix for the case
9321 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
9323 * vc-rcs.el (vc-rcs-find-file-hook):
9324 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
9326 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
9328 * net/tramp.el (tramp-wait-for-output): Handle the case when
9329 commands do not return a newline but a null byte before the shell
9332 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9334 * term/ns-win.el (ns-set-alpha): Don't declare.
9335 (ns-set-background-alpha): Remove function.
9337 2009-07-16 Kevin Ryde <user42@zip.com.au>
9339 * emacs-lisp/copyright.el (copyright-update): Save match-data across
9340 y-or-n-p, for safety.
9342 2009-07-16 Richard Stallman <rms@gnu.org>
9344 * files.el (auto-save-mode): If buffer-saved-size is -2,
9347 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
9348 (rmail-retry-ignored-headers): Add more uninteresting fields.
9350 2009-07-15 Jari Aalto <jari.aalto@cante.net>
9352 * net/rcirc.el (rcirc): Use history variables.
9353 (rcirc-server-name-history, rcirc-nick-name-history)
9354 (rcirc-server-port-history): New variables.
9356 2009-07-15 Kenichi Handa <handa@m17n.org>
9358 * international/mule-cmds.el (set-language-environment-charset):
9359 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
9362 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
9363 Delete unibyte-display.
9365 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
9367 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
9369 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
9371 * simple.el (deactivate-mark): Optional argument FORCE.
9372 (set-mark): Use deactivate-mark.
9374 * info.el (Info-search): No need to check transient-mark-mode
9375 before calling deactivate-mark.
9377 * select.el (x-set-selection): Doc fix.
9378 (x-valid-simple-selection-p): Allow buffer values.
9379 (xselect--selection-bounds): Handle buffer values. Suggested by
9380 David De La Harpe Golden.
9382 * mouse.el (mouse-set-region, mouse-drag-track): Call
9383 copy-region-as-kill before setting the mark, to let
9384 select-active-regions work.
9386 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
9388 * simple.el (deactivate-mark): If select-active-regions is
9389 non-nil, copy the selection data into a string.
9390 (activate-mark): If select-active-regions is non-nil, set the
9391 selection to the current buffer.
9392 (set-mark): Update selection if select-active-regions is non-nil.
9394 * select.el (x-valid-simple-selection-p): Allow buffer values.
9396 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
9398 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
9399 and more featureful message-mode.
9401 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
9403 * select.el (x-set-selection): Doc fix.
9404 (x-valid-simple-selection-p): Disallow selection data consisting
9405 of a list or cons of integers, since that is not used.
9406 (xselect--selection-bounds, xselect--int-to-cons): New functions.
9407 (xselect-convert-to-string, xselect-convert-to-length)
9408 (xselect-convert-to-filename, xselect-convert-to-charpos)
9409 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
9411 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
9413 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
9414 output in -break-info command (Emacs bug #3794).
9416 2009-07-14 Glenn Morris <rgm@gnu.org>
9418 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
9419 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
9420 (edebug-print-length, edebug-print-level, edebug-print-circle)
9421 (edebug-sit-for-seconds, edebug-view-outside)
9422 (edebug-bounce-point, edebug-set-global-break-condition)
9423 (edebug-Go-nonstop-mode, edebug-trace-mode)
9424 (edebug-Trace-fast-mode, edebug-continue-mode)
9425 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
9426 (edebug-visit-eval-list): Doc fixes.
9428 * subr.el (def-edebug-spec): Doc fix.
9430 2009-07-14 Kenichi Handa <handa@m17n.org>
9432 * international/characters.el: Fix setting of category ?C.
9434 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
9436 * term/ns-win.el (x-select-font): defalias x-select-font to
9437 ns-popup-font-panel instead of generate-fontset-menu.
9439 2009-07-12 Eli Zaretskii <eliz@gnu.org>
9441 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
9443 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
9445 * arc-mode.el (archive-find-type): Allow for a PK00 string before
9446 the PK\003\004 header (Bug#3770).
9448 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
9450 * pcomplete.el (pcomplete-comint-setup): Check for
9451 shell-dynamic-complete-filename too.
9453 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
9455 * simple.el (temporary-goal-column): Change the value for
9456 line-move-visual to a cons cell.
9457 (line-move-visual): Record or set the window hscroll, if
9458 necessary (Bug#3494).
9459 (line-move-1): Handle cons value of temporary-goal-column.
9461 2009-07-11 Kenichi Handa <handa@m17n.org>
9463 * international/mule-diag.el (describe-character-set): Don't show
9466 2009-07-10 Sam Steingold <sds@gnu.org>
9468 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9469 Omake sometimes indents the errors it prints, so allow all
9470 regexps to start with spaces.
9472 2009-07-10 Eli Zaretskii <eliz@gnu.org>
9474 * cus-edit.el (customize-changed-options-previous-release):
9475 Bump value to 22.1. (Bug#3804)
9477 2009-07-08 Sam Steingold <sds@gnu.org>
9479 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
9480 to be a cons cell (test . ignored-directory) to selectively ignore
9481 some directories depending on the location of the search.
9483 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
9485 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
9486 remote user is root, on the local host.
9487 (tramp-local-host-p): Either the local user or the remote user
9488 must be root. (Bug#3771)
9490 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
9492 * progmodes/gdb-mi.el (gdb): Remove description of
9493 gdb-use-separate-io-buffer.
9494 (menu): Don't allow toggling of or enable
9495 gdb-use-separate-io-buffer from menubar.
9497 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
9499 * mail/unrmail.el (unrmail): Make sure the message ends with two
9500 newlines (Bug#3769).
9502 2009-07-08 Glenn Morris <rgm@gnu.org>
9504 * calendar/calendar.el (calendar-current-date): Rework previous change.
9506 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
9508 * calendar/calendar.el (calendar-current-date):
9509 Add an optional argument giving an offset from today.
9511 2009-07-08 Glenn Morris <rgm@gnu.org>
9513 * tutorial.el (tutorial--describe-nonstandard-key):
9514 Adjust the message for when a key has been unbound.
9515 (help-with-tutorial): Hide the arch-tag.
9517 2009-07-08 Kenichi Handa <handa@m17n.org>
9519 * international/fontset.el (setup-default-fontset): For each
9520 script, append (not set) font-specs.
9522 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
9525 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
9527 * progmodes/gdb-mi.el (gdb-init-1): Move sending
9528 -data-list-register-names to ...
9529 (gdb-starting): ... here because GDB 7.0 requires execution to
9530 have started when using this MI command.
9531 (gdb-set-header): New function to distinguish select and
9532 unselected tabs in gdb buffers.
9533 (gdb-propertize-header): New macro that uses gdb-set-header.
9534 (gdb-breakpoints-header, gdb-locals-header): Use it.
9535 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
9537 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
9539 * Makefile.in (ELCFILES): Remove fadr.elc.
9541 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
9543 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
9544 may contain frame information, so `string-match' should be used.
9545 (gdb-update): Disassembly is invalidated through
9546 `gdb-get-selected-frame'.
9547 (gdb-pad-string): New function to pad string with spaces.
9548 (gdb-invalidate-disassembly): Invalidate only if the buffer
9550 (gdb-disassembly-handler-custom): Column alignment.
9551 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
9553 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
9555 (gdb-frame-handler): Match convention to for disassembly buffer
9557 (gdb-stack-list-frames-handler): Rewritten without regexps.
9558 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
9559 not highlight breakpoints without line information.
9560 (gdb-input): Add trailing newline to command.
9562 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
9564 (gdb-breakpoints-list-handler-custom): Replacement for
9565 `gdb-break-list-handler'. Using real parser instead of regexps
9567 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
9568 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
9569 to place breakpoints.
9570 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
9572 (gdb-disassembly-handler-custom): Show overlay arrow.
9573 (gdb-disassembly-place-breakpoints): Show breakpoints in
9575 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
9576 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
9577 instead of parsing breakpoints buffer. Fixed old menu references
9582 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
9583 (gdb-memory-address): New variable which holds top address of
9584 memory page shown in memory buffer.
9585 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
9586 customization variables.
9588 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
9589 display the memory buffer.
9590 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
9591 buffer display parameters.
9592 (def-gdb-memory-format, gdb-memory-format-binary)
9593 (gdb-memory-format-octal, gdb-memory-format-unsigned)
9594 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
9595 Functions for setting memory buffer format.
9596 (gdb-memory-unit-word, gdb-memory-unit-halfword)
9597 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
9598 unit size used in memory buffer.
9599 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
9600 to next/previous page of memory buffer.
9601 Now using (bindat-get-field) instead of fadr functions.
9603 2009-07-07 Sam Steingold <sds@gnu.org>
9605 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
9606 non-top-level files.
9608 2009-07-07 Kenichi Handa <handa@m17n.org>
9610 * international/mule-cmds.el (reset-language-environment): Put
9611 the highset priority to the charset iso-8859-1.
9613 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9615 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
9616 to the end of the line when locating the block (Bug#700).
9618 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
9620 * net/tramp.el (tramp-handle-write-region): Flush file properties
9621 in case of short track.
9623 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
9625 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
9626 representation of verilog error regular expressions to work with
9627 Emacs-22's new format.
9628 (verilog-error-regexp-xemacs-alist): Coded custom representation
9629 of verilog error regular expressions to work with XEmacs format.
9630 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
9631 error recognition into XEmacs.
9632 (verilog-error-regexp-add-emacs): Hook routine to install verilog
9633 error recognition into Emacs-22.
9635 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9637 * woman.el: Remove stand-alone closing parentheses.
9638 (woman-file-name, woman2-format-paragraphs)
9639 (woman-leave-blank-lines): Code cleanup.
9640 (woman-use-own-frame): Change default to nil.
9641 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
9642 defaults to inherit from default faces.
9643 (woman2-process-escapes): Consume the newline after a stand-alone
9644 filler character (Bug#3651).
9646 2009-07-06 Glenn Morris <rgm@gnu.org>
9648 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
9649 (top-level): Move provide to the end.
9650 (ffap): Remove defunct URL from custom group.
9652 * subr.el (eval-after-load): Doc fix.
9654 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
9656 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
9657 `calc-embedded-word' is called twice.
9659 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9661 * files.el (find-alternate-file-other-window, find-alternate-file):
9662 Obey confirm-nonexistent-file-or-buffer.
9664 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
9666 * dired-aux.el (dired-show-file-type): Handle remote files.
9668 2009-07-05 Jari Aalto <jari.aalto@cante.net>
9670 * desktop.el (desktop-globals-to-save):
9671 Add file-name-history (Bug#2750).
9673 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
9675 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
9677 2009-07-04 Johan Bockgård <bojohan@gnu.org>
9679 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
9680 property on entire argument since this is what eshell-lisp-command
9683 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
9685 * net/tramp-gvfs.el (tramp-gvfs-methods)
9686 (tramp-gvfs-zeroconf-domain)
9687 (tramp-bluez-discover-devices-timeout): Add version flag.
9688 (tramp-gvfs-handler-mounted-unmounted)
9689 (tramp-gvfs-connection-mounted-p): Polish handling of
9690 incompatibilities between GVFS 0.2 and 1.0.
9692 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
9694 * cus-start.el (all): Add make-pointer-invisible.
9696 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
9698 * calc-math.el (math-use-emacs-fn): Make sure that the number is
9699 formatted correctly.
9701 2009-07-02 Juri Linkov <juri@jurta.org>
9703 * info.el: Virtual Info files and nodes.
9704 (Info-virtual-files, Info-virtual-nodes): New variables.
9705 (Info-current-node-virtual): New variable.
9706 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
9708 (Info-file-supports-index-cookies): Use Info-virtual-file-p
9709 to check for a virtual file instead of checking a fixed list
9711 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
9712 instead of ad-hoc processing of "dir" and (apropos history toc).
9713 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
9714 instead of ad-hoc processing of "dir" and (apropos history toc).
9715 Reread a file when moving from a virtual node.
9716 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
9717 (Info-directory-toc-nodes, Info-directory-find-file)
9718 (Info-directory-find-node): New functions.
9719 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
9720 (Info-history): Move part of code to
9721 `Info-history-find-node'.
9722 (Info-history-toc-nodes, Info-history-find-file)
9723 (Info-history-find-node): New functions.
9724 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
9725 (Info-toc): Move part of code to `Info-toc-find-node'.
9726 (Info-toc-find-node): New function.
9727 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
9728 the current Info file name to references because now the node
9729 "*TOC*" belongs to the same Info manual.
9730 (Info-toc-build): Rename from `Info-build-toc'.
9731 (Info-toc-nodes): Rename input argument `file' to `filename'.
9732 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
9733 instead of ad-hoc processing of ("dir" apropos history toc).
9734 (Info-index-nodes): Use Info-virtual-file-p
9735 to check for a virtual file instead of checking a fixed list
9737 (Info-index-node): Add check for `Info-current-node-virtual'.
9738 Raise `save-match-data' higher up the tree to contain
9739 `search-forward' too (bug fix).
9740 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
9741 (Info-virtual-index-nodes): New variable.
9742 (Info-virtual-index-find-node, Info-virtual-index): New functions.
9743 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
9744 (Info-apropos-file, Info-apropos-nodes): New variables.
9745 (Info-apropos-toc-nodes, Info-apropos-find-file)
9746 (Info-apropos-find-node, Info-apropos-matches): New functions.
9747 (info-apropos): Move part of code to `Info-apropos-find-node' and
9748 `Info-apropos-matches'.
9749 (Info-mode-map): Bind "I" to `Info-virtual-index'.
9750 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
9751 for a virtual file instead of checking a fixed list of node names.
9753 * simple.el (async-shell-command): New command.
9755 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
9757 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
9758 instead of `mount-info'.
9760 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
9762 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
9763 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
9765 2009-07-02 Kenichi Handa <handa@m17n.org>
9767 * international/mule.el (set-keyboard-coding-system): Force *-unix
9768 coding-system to avoid eol conversion.
9770 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
9772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9773 Add handler for `process-file', `shell-command' and
9774 `start-file-process'.
9775 (tramp-gvfs-handle-shell-command)
9776 (tramp-gvfs-handle-start-file-process)
9777 (tramp-gvfs-handle-process-file): New defuns.
9778 (tramp-synce-list-devices): Simplify check for existence of property.
9780 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
9782 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
9784 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
9786 * language/korean.el (set-language-info-alist): Add korean-cp949,
9789 2009-07-01 Kenichi Handa <handa@m17n.org>
9791 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
9793 * international/encoded-kb.el: Deleted.
9795 * international/mule.el (set-keyboard-coding-system): Perform the
9796 necessary setup here instead of calling encoded-kbd-setup-display.
9798 2009-07-01 Glenn Morris <rgm@gnu.org>
9800 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
9802 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
9804 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
9806 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
9808 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
9809 Handle also the 'rename case, when setting file modes. (Bug#3712)
9810 (tramp-default-file-modes) Remove execute permissions.
9812 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
9813 (top): Add a default for "synce" in `tramp-default-user-alist'.
9814 Add completion function for "synce" method.
9815 (tramp-hal-service, tramp-hal-path-manager)
9816 (tramp-hal-interface-manager, tramp-hal-interface-device):
9818 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
9819 (tramp-synce-list-devices, tramp-synce-parse-device-names):
9822 * net/trampver.el: Update release number.
9824 2009-06-30 Kenichi Handa <handa@m17n.org>
9826 * international/fontset.el (setup-default-fontset): Add CJK fonts
9827 for symbols and the other miscellaneous characters.
9829 * language/korea-util.el (setup-korean-environment-internal):
9830 Make char-width-table suitable for Korean environments.
9831 (exit-korean-environment): Cancel above.
9833 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9834 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
9835 setup-funcion to make char-widht-table suitable for respective
9836 environments, and an exit-function to cancel that.
9838 * language/japan-util.el (setup-japanese-environment-internal):
9839 Call use-cjk-char-width-table with arg `ja_JP'.
9841 * international/characters.el (cjk-char-width-table): Delete it.
9842 (cjk-char-width-table-list): New variable.
9843 (use-cjk-char-width-table): New arg local-name.
9844 (use-default-char-width-table): Fix for the case that Emacs is
9845 already using the default char-width-table.
9847 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
9849 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
9850 modes mandatory. (Bug#3712)
9852 2009-06-29 Alan Mackenzie <acm@muc.de>
9854 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
9855 correction between the visible width of TABs and their number of bytes.
9857 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
9859 * server.el (server-buffer-done): Prevent kill-buffer from
9860 prompting by clearing the buffer modification flag (Bug#3696).
9862 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
9864 * verilog-mode.el (verilog-beg-of-statement)
9865 (verilog-endcomment-reason-re): Support unique case and priority case.
9866 (verilog-basic-complete-re): Support localparam lineup.
9867 (verilog-beg-of-statement-1): Fix for robustness, unique case.
9868 (verilog-set-auto-endcomments): Fix for unique case, always_comb
9870 (verilog-leap-to-case-head): Now support *nested* unique &
9871 priority case statements.
9872 (verilog-auto-lineup): Make just declarations the default (as it
9874 (verilog-leap-to-case-head): Support priority/unique case statements.
9875 (verilog-auto-lineup): Rework to give users radio buttons to
9876 select the various styles of automatic lineup.
9877 (verilog-error-regexp-alist): Rework to support the XEmacs style
9878 of error regular expressions from compilers, lint tools &
9879 simulators. Note that GNU Emacs has made it impossible for a mode
9880 to load such things.
9881 (electric-verilog-terminate-line, verilog-indent-declaration)
9882 (verilog-auto-wiure): Rework for radio button selection of
9883 auto-lineup selection of specification of auto lineup.
9884 (verilog-beg-of-statement-1): Redesign to support proper operation
9885 in additional code, based on testing with auto-lineup.
9886 (verilog-calculate-indent, assignments & declarations)
9887 (verilog-backward-token): Enhance to support auto-lineup of
9888 assignments & declarations.
9889 (verilog-in-directive-p, verilog-at-struct-p): New function for
9890 easy test of whether we are.
9891 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
9892 to support safe execution at almost anyline.
9893 (verilog-calc-1): Properly support indenting deep inside generate
9895 (verilog-init-font) Remove definition & use of verilog-init-font,
9896 as it is redundant with font-lock-defaults.
9897 (verilog-mode): Alter the definition of verilog-font-lock-defaults
9898 to avoid circular calls if syntax-ppss is a function (as is the
9899 case now in 22.x GNU Emacs) as that function would sometimes call
9900 itself, leading to (nearly) infinite recursion.
9901 (verilog-ovm-begin-re, verilog-ovm-end-re)
9902 (verilog-ovm-statement-re, verilog-leap-to-head)
9903 (verilog-backward-token): Add support for OVM macros. Some are
9904 complete statements, and others open and close scopes like begin
9906 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
9907 (verilog-defun-level-generate-only-re): Really fix the defun-list
9909 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
9910 coverpoint, constraint and cross statements.
9911 (verilog-defun-level-list, verilog-generate-defun-level-list)
9912 (verilog-all-defun-level-list): Redo these specifications - it is
9913 too hard to support eval-when compile aggregation of lists also
9914 built at when-compile time.
9915 (verilog-defun-level-list): Place defconsts of variables used in
9916 building regular expressions which are built in eval-when-compile
9917 bodies in the same eval-when-compile body to facilitate compile
9919 (verilog-beg-block-re-ordered): Support indenting
9920 virtual/protected tasks and functions.
9921 (verilog-defun-level-list, verilog-in-generate-region-p)
9922 (verilog-backward-ws&directives, verilog-calc-1): Speed up
9923 indentation of some module items (generate items).
9924 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
9925 across virtual/protected tasks and functions.
9927 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
9929 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
9930 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
9931 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
9932 in concatenations. Reported by Yishay Belkind.
9933 (verilog-auto-ascii-enum): Support one-hot state machines in
9934 AUTOASCIIENUM. Suggested by Lloyd Gomez.
9935 (verilog-auto-inst, verilog-auto-inst-port): Include interface
9936 modport in AUTOINST and add vl-modport for users. Reported by
9938 (verilog-auto-inout-module, verilog-auto-inst)
9939 (verilog-decls-get-interfaces, verilog-insert-definition)
9940 (verilog-insert-one-definition, verilog-read-decls)
9941 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
9942 (verilog-sig-modport, verilog-signals-combine-bus)
9943 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
9944 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
9945 Suggested by David Rogoff.
9946 (verilog-repair-open-comma): Fix non-insertion of comma when
9947 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
9948 (verilog-make-width-expression): Simplify [A-1:0] expression
9949 widths to just {A{1'b0}}.
9950 (verilog-mode): Cleanup checkdoc warnings.
9951 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
9952 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
9953 inputs/outputs or data type. Suggested by Vasu Kandadi.
9954 (next-error-last-buffer): Fix byte-compiler warning.
9955 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
9956 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
9957 or shell command text during AUTO expansion. Suggested by Tad Truex.
9958 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
9959 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
9960 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
9961 in AUTOINOUT. Reported by Matthew Lovell.
9962 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
9963 causing use of <= assignments. Reported by Alex Reed.
9964 (verilog-read-decls): Fix triand, trior, wand, wor to be
9965 recognized by AUTOWIRE. Reported by Spencer Isaacson.
9966 (verilog-extended-complete-re): Support import "DPI-C" functions.
9967 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
9968 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
9969 (verilog-insert-date, verilog-insert-year)
9970 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
9971 Windows systems. Reported by Michael Potts.
9972 (verilog-read-module-name): Fix AUTOINST when the child module
9973 declaration's name is a tick define. Reported by Elliot Mednick.
9974 (verilog-read-decls): Fix V2K parameter bit subscripts getting
9975 passed to next parameter's definition. Reported by Bruce T.
9976 (verilog-read-decls): Fix detecting "parameter int" when using
9977 AUTOINSTPARAM. Reported by Bruce T.
9978 (verilog-goto-defun): Fix goto not finding modules unless first
9979 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
9980 (verilog-mode): Expand -f flag arguments on entry to mode so
9981 verilog-goto-defun will work. Reported by Lawrence Butcher.
9982 (verilog-getopt): Expand environment variables in -f file
9983 arguments. Suggested by Lawrence Butcher.
9984 (verilog-set-define): Fix "Symbol's value as variable is void"
9985 when reading enumerations.
9986 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
9987 Suggested by Stephen Peltan.
9988 (verilog-read-defines): Fix reading of enumerations in include
9989 files. Reported by Steve Peltan.
9991 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9993 * files.el (trash-directory): Fix defcustom type.
9995 2009-06-28 Juri Linkov <juri@jurta.org>
9997 * help-fns.el (describe-function-1): Correctly locate adviced
9998 functions in hyperlink (Bug#2438).
10000 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
10002 * files.el (trash-directory): Change default to nil.
10003 (move-file-to-trash): If trash-directory is nil and
10004 system-move-file-to-trash is unbound, perform freedesktop-style
10007 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
10009 * files.el (move-file-to-trash): Add freedesktop trash
10012 2009-06-28 Glenn Morris <rgm@gnu.org>
10014 * autorevert.el (global-auto-revert-non-file-buffers)
10015 (global-auto-revert-mode): Doc fixes.
10017 2009-06-27 Johan Bockgård <bojohan@gnu.org>
10019 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
10021 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
10023 * faces.el (x-handle-named-frame-geometry): Ensure that we have
10024 opened an X connection before calling x-get-resource (Bug#3194).
10026 * play/doctor.el: Remove reference to obsolete website.
10027 (make-doctor-variables): Correct grammar mistake (Bug#2633).
10029 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
10031 Remove find-file-not-found-hook VC method. (Bug#2757)
10032 * vc-hooks.el (vc-file-not-found-hook)
10033 (vc-default-find-file-not-found-hook): Remove functions.
10034 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
10035 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
10038 * vc-git.el: Do not mention find-file-not-found-hook VC method.
10040 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10042 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
10043 compatibility function for `looking-back'.
10045 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10046 Use `ispell-looking-back'.
10048 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
10050 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
10051 rather than `filename'.
10053 2009-06-23 Miles Bader <miles@gnu.org>
10055 * face-remap.el (text-scale-set): New function.
10057 2009-06-23 Glenn Morris <rgm@gnu.org>
10059 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
10061 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
10063 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
10065 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
10067 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
10068 Simplify Persian conditionals.
10070 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
10071 variable `filename'.
10073 * comint.el (comint-insert-input): Doc fix.
10075 * Makefile.in (ELCFILES): Fix typo in previous change.
10077 2009-06-23 Miles Bader <miles@gnu.org>
10079 * cus-start.el: Add entry for `recenter-redisplay'.
10081 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
10083 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
10084 Add an optional argument for the backend, use it instead of
10085 calling vc-backend.
10086 (vc-mode-line): Add an optional argument for the backend.
10087 Pass the backend to vc-state and vc-working-revision. Move code for
10088 special handling for vc-state being a buffer to ...
10090 * vc-rcs.el (vc-rcs-find-file-hook):
10091 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
10093 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
10094 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
10095 vc-stay-local-p and vc-mode-line calls.
10097 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
10098 (vc-cvs-diff, vc-cvs-annotate-command)
10099 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
10100 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
10101 vc-mode-line calls.
10103 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
10105 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
10106 backend when calling vc-mode-line.
10107 (vc-register): Do not create a closure for calling the vc register
10108 function, call it directly.
10110 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
10112 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
10113 to make it obvious item can be clicked.
10115 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
10117 2009-06-23 Kenichi Handa <handa@m17n.org>
10119 * language/korea-util.el (korean-key-bindings): Change the binding
10120 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
10123 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
10125 Sync with Tramp 2.1.16.
10127 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
10129 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
10130 when a loading of a package fails. Completion function for rsync
10131 is `tramp-completion-function-alist-ssh'.
10132 (all): Replace all calls of `split-string' and
10133 `tramp-split-string' by `tramp-compat-split-string'.
10134 (tramp-default-method): Use `tramp-compat-process-running-p'.
10135 (tramp-default-proxies-alist): Allow also Lisp forms.
10136 (tramp-remote-path): Add choice "Private Directories".
10137 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
10138 (tramp-domain-regexp): Allow also "-", "_" and ".".
10139 (tramp-end-of-output): Remove newlines, and add "$" at the end.
10140 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
10141 (tramp-debug-message): Insert header line in debug buffer.
10142 (tramp-handle-directory-files-and-attributes-with-stat):
10143 Care about filenames with spaces, or starting with "-".
10144 (tramp-handle-dired-uncache): New defun.
10145 (tramp-handle-insert-directory): Don't flush the directory from
10146 cache, this is handled by `dired-uncache' now.
10147 (tramp-handle-insert-file-contents): Improve error handling.
10148 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10149 Quote `tramp-end-of-output'.
10150 (tramp-action-password): Improve trace message.
10151 (tramp-check-for-regexp): Both echoes must be present, before removing.
10152 (tramp-open-connection-setup-interactive-shell): Trace coding system.
10153 (tramp-compute-multi-hops): Eval cons cells of
10154 `tramp-default-proxies-alist'.
10155 (tramp-maybe-open-connection): Use the same command pattern for
10156 first hop and further hops.
10157 (tramp-wait-for-output): Remove handling of newlines.
10158 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
10159 (tramp-split-string): Remove function. It is handled in
10162 * net/tramp-cmds.el (tramp-bug):
10163 Recommend `tramp-cleanup-all-connections' in the bug mail.
10165 * net/tramp-compat.el (tramp-compat-split-string)
10166 (tramp-compat-process-running-p): New defuns.
10168 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
10169 for `dired-uncache'.
10171 * net/tramp-gvfs.el: New package.
10173 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10174 Add handler for `dired-uncache'.
10175 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
10177 * net/trampver.el: Update release number. Make version check fit
10180 2009-06-22 Jim Meyering <meyering@redhat.com>
10182 Automatically handle .xz suffix (XZ-compressed files), too.
10183 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
10184 XZ is the successor to LZMA: <http://tukaani.org/xz/>
10186 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
10187 Nick Roberts <nickrob@snap.net.nz>
10189 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
10190 repository (http://sphinx.net.ru/hg/gdb-mi/).
10192 2009-06-22 Glenn Morris <rgm@gnu.org>
10194 * files.el (dir-locals-collect-mode-variables): Allow for any number of
10195 `mode' and `eval' entries. (Bug#3430)
10197 * Makefile.in (ELCFILES): Add fadr.elc.
10199 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
10200 differing behavior of \n and ^ in strings. (Bug#3385)
10202 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
10204 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
10206 (lisp-indent-function): Make it a defcustom.
10208 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
10210 * progmodes/gdb-ui.el: Replace with ...
10211 * progmodes/gdb-mi.el: ... this file.
10212 * progmodes/gud.el: Modify for gdb-mi.el.
10214 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
10216 * fadr.el: New file.
10218 See ChangeLog.14 for earlier changes.
10220 ;; Local Variables:
10224 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
10226 This file is part of GNU Emacs.
10228 GNU Emacs is free software: you can redistribute it and/or modify
10229 it under the terms of the GNU General Public License as published by
10230 the Free Software Foundation, either version 3 of the License, or
10231 (at your option) any later version.
10233 GNU Emacs is distributed in the hope that it will be useful,
10234 but WITHOUT ANY WARRANTY; without even the implied warranty of
10235 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10236 GNU General Public License for more details.
10238 You should have received a copy of the GNU General Public License
10239 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
10241 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1