1 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
3 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
9 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11 * net/trampver.el: Update release number.
13 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15 * progmodes/compile.el (compilation--previous-directory): Fix up
16 various nil/dead-marker mismatches (bug#8014).
17 (compilation-directory-properties, compilation-error-properties):
18 Don't call it at a position past the one we're about to change.
20 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21 Disable obsolescence warnings in the file that declares it.
23 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25 * allout-widgets.el (allout-widgets-tally): Initialize
26 allout-widgets-tally as a hash table rather than nil to prevent
27 mode-line redisplay warnings.
28 Also, clarify the module description and fix a comment typo.
30 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
32 * help-fns.el (describe-variable): Don't complete keywords.
33 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
35 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
37 * emacs-lisp/package.el (package-version-join): Impose a standard
38 string representation for pre/alpha/beta version lists.
39 (package-unpack-single): Standardize the directory name by passing
40 it through package-version-join.
41 (package-strip-rcs-id): Accept any version string that does not
42 signal an error in version-to-list.
44 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
46 * simple.el (delete-trailing-whitespace): Return nil for the
47 benefit of `write-file-functions'.
49 2011-03-10 Glenn Morris <rgm@gnu.org>
51 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
53 * vc/vc-git.el (vc-git-program): New option.
54 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
55 (vc-git--call): Use it.
57 * eshell/esh-util.el (eshell-condition-case): Doc fix.
59 * cus-edit.el (Custom-newline): If no button at point, look
60 for a subgroup button at start-of-line. (Bug#2298)
62 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
64 2011-03-10 Julien Danjou <julien@danjou.info>
66 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
69 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
71 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
73 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
75 * allout.el Summary: Change so yank of distinctive-bullet items
76 preserves the existing header prefix, rebulleting it if necessary,
77 rather than replacing it. This is necessary for proper operation
78 of cooperative addons like allout-widgets.
79 (allout-make-topic-prefix, allout-rebullet-heading): Change
80 SOLICIT arg to INSTEAD, and interpret additionally a string value
81 as alternate bullet to be used, instead of prompting the user for
84 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
86 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
87 not use `tramp-file-name-port', because this returns also
90 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
92 * net/rcirc.el (rcirc-handler-001): Remove useless
93 with-rcirc-process-buffer.
94 (rcirc-check-auth-status): Swap arguments to string-match.
96 2011-03-09 Glenn Morris <rgm@gnu.org>
98 * shell.el (shell-mode):
99 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
101 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
102 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
104 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
106 * emacs-lisp/package.el (package-refresh-contents)
107 (package-menu-execute): Use condition-case-no-debug.
109 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
111 * simple.el (shell-command-to-string): Use `process-file'.
113 * emacs-lisp/package.el (package-tar-file-info): Handle also
116 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
117 `equal' for upload base check.
119 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
121 * textmodes/texinfo.el (texinfo-environments):
122 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
124 2011-03-08 Glenn Morris <rgm@gnu.org>
126 * cus-start.el (cursor-in-non-selected-windows):
127 Fix :set quoting oddness. (Bug#8192)
129 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
130 in some setf expressions. (Bug#2159)
132 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
134 * custom.el (custom-available-themes): Return themes in
137 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
139 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
140 application of patch from Alan Mackenzie (Bug#7595).
142 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
144 * net/rcirc.el (rcirc-connect): Fix PASS bug.
146 2011-03-07 Glenn Morris <rgm@gnu.org>
148 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
149 Give an explicit error if failed to make writable. (Bug#6146)
151 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
153 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
154 Add optional `after-sunset' argument. (Bug#8190)
156 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
158 * play/morse.el (nato-alphabet, nato-region, denato-region):
159 New variable and functions. (Bug#2288)
160 (morse-region, unmorse-region): Barf if read-only.
162 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
164 * progmodes/gud.el (gdb-script-syntax-propertize-function):
165 Don't change the syntax of a \n that closes a comment (bug#8169).
167 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
169 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
171 (package--update-file): Doc fix. Accept relative file names.
172 (package--archive-contents-from-file): Remove the argument, since
173 it's necessarily always "archive-contents".
174 (package-maint-add-news-item): Pass relative file name args to
175 package--update-file.
176 (package-upload-buffer-internal): Prompt for a destination if
177 package-archive-upload-base is invalid. Create the directory if
179 (package-upload-buffer, package-upload-file): Doc fix.
181 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
183 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
184 and move isearch-yank-line to M-s C-e (Bug#8183).
186 2011-03-06 Alan Mackenzie <acm@muc.de>
188 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
189 (c-guess-basic-syntax): Move CASE 19 to a different place,
190 correctly to process template-args-cont lines.
192 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
194 * calc/calc-ext.el (calc-init-extensions):
195 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
196 and calc-nplevel, respectively. Add keybindings for calc-spn,
197 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
198 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
200 * calc/calc-units.el (calc-dblevel): Rename from
201 calc-logunits-dblevel.
202 (calc-nplevel): Rename from calc-logunits-nplevel.
203 (math-midi-round, math-freqp, math-midip, math-spnp)
204 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
205 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
206 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
207 (math-notes): New variable.
209 * calc/calc.el (calc-note-threshold): New variable.
211 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
213 * emacs-lisp/package.el (package-archives): Accept either ordinary
214 directory names, in addition to HTTP URLs.
215 (package--with-work-buffer): New macro. Handle normal directories.
216 (package-handle-response): Don't display the failing buffer.
217 (package-download-single, package-download-tar)
218 (package--download-one-archive): Use package--with-work-buffer.
219 (package-archive-base): Rename from package-archive-url.
221 2011-03-06 Glenn Morris <rgm@gnu.org>
223 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
224 (xmodmap-generic-mode): Respect generic-extras-enable-list.
226 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
228 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
230 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
232 * allout.el (allout-init, allout-prefixed-keybindings)
233 (allout-unprefixed-keybindings):
234 * progmodes/prolog.el (prolog-find-term):
235 Fix typos in docstrings.
237 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
239 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
241 2011-03-06 Kevin Ryde <user42@zip.com.au>
243 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
245 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
247 * window.el (one-window-p, walk-windows, display-buffer):
248 Doc fixes. (Bug#5567)
250 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
252 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
253 of the variable if it exists.
255 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
262 * net/tramp-cache.el:
263 * obsolete/fast-lock.el:
264 * textmodes/reftex.el:
265 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
267 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
269 * files.el (delete-directory, copy-directory, list-directory):
270 Use read-directory-name.
272 * find-file.el (ff-find-the-other-file):
273 * net/ange-ftp.el (ange-ftp-make-directory):
274 * printing.el (pr-interactive-dir):
275 * progmodes/ada-prj.el (ada-prj-load-directory):
276 * progmodes/ebnf2ps.el (ebnf-print-directory)
277 (ebnf-spool-directory, ebnf-eps-directory)
278 (ebnf-syntax-directory):
280 * speedbar.el (speedbar-create-directory):
281 * vc/emerge.el (emerge-merge-directories):
282 * vc/vc-dir.el (vc-dir):
283 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
285 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
287 * help-mode.el (help-buffer): If we are to return the current
288 buffer, signal an error if it's not in Help mode (Bug#8147).
290 2011-03-05 Reuben Thomas <rrt@sc3d.org>
292 * files.el (file-name-version-regexp): Handle backup files of the
293 form `foo.js.~HEAD~1~' (Bug#8159).
295 2011-03-05 Glenn Morris <rgm@gnu.org>
297 * eshell/esh-var.el: Don't require esh-test when compiling.
298 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
299 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
300 * eshell/esh-test.el: Move to ../../test/eshell.el.
302 2011-03-05 David Engster <deng@randomsample.de>
304 * files.el (save-some-buffers): Report the names of buffers saved
305 automatically due to buffer-save-without-query (Bug#8134).
307 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
309 * net/rcirc.el: Add QuakeNet authentication support.
310 (rcirc-authinfo, rcirc-check-auth-status)
311 (rcirc-authenticate): Support QuakeNet.
313 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
315 * net/rcirc.el: Add functionality to authenticate before
316 autojoining channels.
317 (rcirc-authenticate-before-join): New option.
318 (rcirc-authenticated-hook): New variable.
319 (rcirc-connect): Make local variable rcirc-user-authenticated.
320 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
321 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
323 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
324 Call rcirc-check-auth-status.
326 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
328 * net/soap-client.el (soap-namespace-put-link): Check if the target
329 name is fully qualified -- use only the name part.
330 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
331 types, treated the same as xsd:sequence. (Bug#8166)
333 2011-03-05 Eli Zaretskii <eliz@gnu.org>
335 * files.el (find-file-noselect): Don't ask about re-visiting
336 non-literally if the file is already visited in image-mode.
339 2011-03-05 Glenn Morris <rgm@gnu.org>
341 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
342 (eshell-mode): Use eshell-kill-buffer-function.
343 Run the -initialize functions independently of the -load-hooks.
344 * eshell/esh-proc.el (eshell-kill-process-function): New function.
345 (eshell-gather-process-output, eshell-sentinel)
346 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
347 Use eshell-kill-process-function.
348 * eshell/em-alias.el (eshell-alias-load-hook):
349 * eshell/em-banner.el (eshell-banner-load-hook):
350 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
351 * eshell/em-dirs.el (eshell-dirs-load-hook):
352 * eshell/em-glob.el (eshell-glob-load-hook):
353 * eshell/em-hist.el (eshell-hist-load-hook):
354 * eshell/em-pred.el (eshell-pred-load-hook):
355 * eshell/em-prompt.el (eshell-prompt-load-hook):
356 * eshell/em-rebind.el (eshell-rebind-load-hook):
357 * eshell/em-script.el (eshell-script-load-hook):
358 * eshell/em-smart.el (eshell-smart-load-hook):
359 * eshell/em-term.el (eshell-term-load-hook):
360 * eshell/em-unix.el (eshell-unix-load-hook):
361 * eshell/esh-arg.el (eshell-arg-load-hook):
362 * eshell/esh-cmd.el (eshell-cmd-load-hook):
363 * eshell/esh-ext.el (eshell-ext-load-hook):
364 * eshell/esh-io.el (eshell-io-load-hook):
365 * eshell/esh-mode.el (eshell-exit-hook):
366 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
367 * eshell/esh-var.el (eshell-var-load-hook):
368 Set default hook values to nil. (Bug#5375)
370 * eshell/esh-module.el (eshell-module-unload-hook)
371 (eshell-modules-list): Remove leading * from defcustom docs.
373 * eshell/esh-util.el (eshell-for): Make it obsolete.
374 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
375 * eshell/em-dirs.el (eshell-save-some-last-dir):
376 * eshell/em-hist.el (eshell-save-some-history)
377 (eshell-hist-parse-modifier):
378 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
380 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
381 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
383 * eshell/esh-ext.el (eshell-find-interpreter):
384 * eshell/esh-mode.el (eshell-mode):
385 * eshell/esh-module.el (eshell-unload-extension-modules):
386 * eshell/esh-proc.el (eshell-process-interact):
387 * eshell/esh-test.el (eshell-test):
388 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
389 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
390 (eshell-variables-list):
391 * eshell/eshell.el (eshell-unload-all-modules):
392 Replace eshell-for with dolist.
394 2011-03-04 Glenn Morris <rgm@gnu.org>
396 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
398 2011-03-04 Tom Tromey <tromey@redhat.com>
400 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
402 2011-03-04 Glenn Morris <rgm@gnu.org>
404 * outline.el (outline-regexp): No longer allow nil.
405 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
407 * net/browse-url.el (browse-url):
408 Handle deleted default-directory. (Bug#6077)
410 * recentf.el (recentf-include-p): In case of a buggy predicate,
411 err on the side of including, not excluding. (Bug#5843)
413 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
415 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
418 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
420 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
421 if there is no node. (Bug#3261)
423 2011-03-04 Leo <sdl.web@gmail.com>
425 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
427 * time.el (display-time-world-list): Fix typo. (Bug#7571)
429 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
431 * cus-edit.el (custom-buffer-create-internal):
432 Split search string before passing it to `customize-apropos' (bug#8136).
434 2011-03-04 Drew Adams <drew.adams@oracle.com>
436 * image-dired.el (image-dired-cmd-read-exif-data-options):
437 Fix typo in docstring (bug#8156).
439 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
441 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
443 2011-03-03 Christian Ohler <ohler@gnu.org>
445 * emacs-lisp/ert.el (ert--explain-equal): New function.
446 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
448 (ert--explain-equal-including-properties): Renamed from
449 `ert--explain-not-equal-including-properties'. All callers
452 2011-03-03 Christian Ohler <ohler@gnu.org>
454 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
455 (ert-char-for-test-result, ert-string-for-test-result)
456 (ert-run-tests-batch, ert--print-test-for-ewoc):
457 Handle `ert-test-quit'.
459 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
461 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
462 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
464 2011-03-03 Glenn Morris <rgm@gnu.org>
466 * files.el (file-truename): Doc fix. (Bug#2341)
468 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
470 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
472 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
474 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
475 programs output backslashes. (Bug#7663)
477 2011-03-03 Glenn Morris <rgm@gnu.org>
479 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
480 (mail-mode): Remove mail-sent-via from the doc.
481 (mail-sent-via): Make it obsolete. (Bug#1776)
483 * progmodes/grep.el (grep-highlight-matches): Doc fix.
484 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
486 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
487 with no parents. (Bug#8025)
489 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
491 * password-cache.el (password-in-cache-p): Add autoload.
493 2011-03-02 Glenn Morris <rgm@gnu.org>
495 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
496 * dired-x.el (Man-support-local-filenames): Autoload it.
497 (dired-guess-shell-alist-default): Also handle Red Hat's man.
499 * dired-x.el (dired-default-directory-alist, dired-default-directory):
501 (dired-smart-shell-command): Just call dired-current-directory.
503 * dired-x.el (dired-jump-other-window): Add autoload.
504 (dired-default-directory-alist, dired-default-directory): Doc fixes.
505 (dired-default-directory-alist): Mark as risky.
507 * dired-x.el (dired-omit-here-always): Make it obsolete.
509 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
511 * textmodes/artist.el (artist-curr-go): Default to pen-line.
512 (artist-select-op-pen-line): New function.
513 (artist-menu-map): New variable.
514 (artist-mode-map): Add a menu to the menu-bar.
516 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
518 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
521 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
523 (math-logunits-add, math-logunits-mul, math-logunits-divide):
524 (math-logunits-quant, math-logunits-level):
525 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
527 (math-logunits-level): Extract units from ratio.
529 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
531 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
533 2011-03-01 Glenn Morris <rgm@gnu.org>
535 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
536 (diary-hebrew-birthday): Rename and rework functions added
539 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
541 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
542 (diary-hebrew-birthday): New functions.
544 2011-03-01 Glenn Morris <rgm@gnu.org>
546 * dired.el (dired-safe-switches-p): Beef it up.
547 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
549 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
551 * dired.el (dired-safe-switches-p): New function.
553 2011-03-01 Glenn Morris <rgm@gnu.org>
555 * files.el (dir-locals-collect-variables):
556 Add the ability to exclude subdirectories. (Bug#8100)
558 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
560 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
562 * ido.el (ido-everywhere): Doc fix.
565 2011-02-28 Glenn Morris <rgm@gnu.org>
567 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
569 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
571 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
574 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
576 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
578 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
580 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
581 Fix typos in docstrings.
583 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
585 * dired-aux.el (dired-update-file-line):
586 Fix 2010-11-09 change. (Bug#8131)
588 2011-02-28 Eli Zaretskii <eliz@gnu.org>
590 * international/mule-cmds.el (set-default-coding-systems): Use the
591 -unix variant of encoding in default-keyboard-coding-system.
594 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
596 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
598 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
600 * term/screen.el: New file (Bug#2650).
602 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
604 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
605 (pcase-mutually-exclusive-predicates): New var.
606 (pcase--split-consp, pcase--split-pred): Use it.
607 (pcase--split-equal, pcase--split-member): When splitting against
608 a pure predicate, run it to know the outcome.
609 (pcase--u1): Mark vars that are actually used.
610 (pcase--q1): Avoid introducing unused vars.
612 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
614 * calc/calc-ext.el (calc-init-extensions):
615 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
617 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
620 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
621 argument is a variable.
623 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
625 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
626 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
627 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
629 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
631 * password-cache.el (password-in-cache-p): Convenience function to
632 check if a key is in the cache, even if the value is nil.
634 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
636 * emacs-lisp/package-x.el (package--archive-contents-from-url)
637 (package--archive-contents-from-file): New functions.
638 (package-update-news-on-upload): New var.
639 (package-upload-buffer-internal): Extract archive-contents from
640 package-archive-upload-base if it is not found at archive-url.
641 Obey package-update-news-on-upload.
642 (package-upload-buffer, package-upload-file): Doc fix.
644 2011-02-24 Glenn Morris <rgm@gnu.org>
646 * files-x.el (modify-dir-local-variable): Handle dir-locals from
647 the cache, and from non-file sources.
649 * help-fns.el (describe-variable): Return consistent results when a
650 dir-local from a file came from the cache or did not. (Bug#8095)
651 If a dir-local has no associated file, say it came from a "directory".
653 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
654 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
656 * files.el (dir-locals-find-file): Doc fix.
657 Fix the check for cache elements that have no associated file,
658 and the mtime check for those that do. (Bug#8095)
660 * dired-x.el (dired-hack-local-variables):
661 Handle interrupts during hacking local variables. (Bug#5216)
663 * emacs-lisp/autoload.el (autoload-save-buffers)
664 (autoload-find-destination, update-directory-autoloads):
665 Avoid prompts when updating autoloads.
667 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
669 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
671 2011-02-23 Kenichi Handa <handa@m17n.org>
673 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
674 error when a multipart boundary in the nested multipart is found.
676 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
679 2011-02-23 Glenn Morris <rgm@gnu.org>
681 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
682 * dired-x.el (dired-omit-mode): Safe if boolean.
683 (dired-enable-local-variables): Fix doc and custom type.
684 (dired-enable-local-variables, dired-local-variables-file)
685 (dired-hack-local-variables): Make obsolete.
686 (dired-omit-here-always): Use dir-locals.el instead.
688 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
690 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
692 * help-fns.el (describe-function-1): Don't signal an error just because
693 the DOC file disappeared.
695 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
697 * eshell/esh-ext.el (eshell-external-command): Do not restrict
698 remote check to "ftp". (Bug#8089)
700 2011-02-21 Alan Mackenzie <acm@muc.de>
703 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
704 in macros finding their way into c-state-nonlit-pos-cache.
705 Strengthen the comments.
706 (c-state-dump): New commented out diagnostic routine.
708 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
710 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
711 `field' property of `rfn-eshadow-overlay'.
713 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
715 * net/netrc.el (netrc-parse): Comment fix.
717 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
719 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
720 Autoload. Add optional arg FRAME, and pass it to color-values.
721 (color-complement): Caller changed. Doc fix.
722 (color-gradient): Rewrite for better clarity and efficiency.
724 * faces.el (color-values): Use cond for clarity. Doc fix.
726 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
728 (list-colors-sort-key, list-colors-print):
729 Use color-normalized-values.
731 2011-02-20 Drew Adams <drew.adams@oracle.com>
733 * color.el: First part of merge from hexrgb.el.
734 (color-rgb-to-hex): Rename from color-rgb->hex.
735 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
736 saturation to zero if the value is too small.
737 (color-rgb-to-hsl): Rename from color-rgb->hsl.
738 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
739 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
740 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
741 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
742 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
743 (color-cie-de2000): Doc fix.
745 2011-02-20 Alan Mackenzie <acm@muc.de>
747 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
748 locating the beginning of a macro. (Bug#7595)
750 2011-02-20 Glenn Morris <rgm@gnu.org>
752 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
755 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
756 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
758 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
759 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
761 * progmodes/hideshow.el (hs-find-block-beginning)
762 (hs-hide-level-recursive): Ignore comments when parsing braces
765 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
767 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
768 (vc-bzr-pull): Use it.
770 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
772 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
773 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
774 but returning an alist. Ignore comments in bzr conffile.
775 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
776 (vc-bzr-error-regex-alist): New var.
777 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
779 * vc/vc-dispatcher.el (vc-do-async-command):
780 Bind inhibit-read-only to t.
782 * progmodes/compile.el (compilation--flush-directory-cache):
783 Handle the case where cdr of compilation--flush-directory-cache
784 points to no buffer, which can occur if we previously switched to
785 compilation-mode in a pregenerated buffer.
787 2011-02-19 Kenichi Handa <handa@m17n.org>
789 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
790 get the header copy into the temporary buffer.
791 (rmail-mime-insert-decoded-text): Ignore us-ascii.
792 (rmail-show-mime): When rmail-mime-coding-system is nil, set
793 buffer-file-coding-system to undecided.
795 2011-02-19 Eli Zaretskii <eliz@gnu.org>
797 * international/mule-cmds.el (read-char-by-name, ucs-insert):
798 Document completion with asterisk and a substring.
800 2011-02-19 Glenn Morris <rgm@gnu.org>
802 * files.el (find-file-literally): Doc fix.
804 * simple.el (rfc822-goto-eoh): Give it a doc-string.
806 * log-edit.el (log-edit-insert-changelog):
807 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
809 2011-02-19 Glenn Morris <rgm@gnu.org>
811 * dired-x.el: Don't require dired-aux.
812 (dired-do-create-files, dired-mark-read-regexp)
813 (dired-do-create-files-regexp): Autoload from dired-aux.
815 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
816 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
818 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
819 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
821 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
822 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
823 (dired-clean-up-buffers-too): Declare.
825 * dired-x.el (dired-initial-position): Merge into dired.el's version.
826 * dired.el (dired-initial-position): Merge dired-x's version here.
827 (dired-find-subdir): Declare.
829 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
830 * dired-aux.el (dired-add-entry): Give it a doc-string.
831 Merge dired-x's dired-omit handling here.
832 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
834 * international/mule-diag.el (list-input-methods-1):
835 Indent all lines of multi-line doc-strings. (Bug#8066)
837 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
839 Fix 2011-02-02 changes.
841 * apropos.el (apropos-print): Call apropos-mode before setting up
842 buffer variables. Use inhibit-read-only.
844 * emacs-lisp/package.el (package--list-packages):
845 Call package-menu-mode before setting up buffer variables.
847 * play/solitaire.el (solitaire): Call solitaire-mode before
848 setting up buffer variables. Use inhibit-read-only.
850 2011-02-18 Lawrence Mitchell <wence@gmx.li>
852 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
853 Bind case-fold-search to nil when looking for end of here-doc.
855 2011-02-18 Eli Zaretskii <eliz@gnu.org>
857 * image-mode.el (image-toggle-display-image):
858 Set find-file-literally non-nil in buffers visiting binary image
861 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
863 * files.el (cd): Make completion obey cd-path (bug#7924).
865 2011-02-18 Glenn Morris <rgm@gnu.org>
867 * progmodes/prolog.el: Don't require compile when compiling.
868 (compilation-shell-minor-mode, compilation-error-regexp-alist)
869 (compilation-forget-errors, compilation-fake-loc)
870 (compilation-parse-errors-function, compilation-error-list): Declare.
871 (prolog-inferior-mode): Require 'compile.
873 * emulation/cua-base.el (pc-selection-mode): Declare.
875 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
876 (customize-object): Add autoload cookie.
877 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
878 (eieio-browse, describe-class, eieio-describe-class)
879 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
880 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
881 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
882 * Makefile.in (autoloads): Make eieio.el writable.
884 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
885 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
886 (dired-hack-local-variables): Use inhibit-read-only.
887 (dired-guess-default): Simplify.
888 (dired-make-relative-symlink): Use dotimes.
889 (dired-simultaneous-find-file): Use dolist.
890 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
891 (dired-x-hands-off-my-keys): Doc fix.
892 (dired-x-bind-find-file): Doc fix. Use remapping.
893 (after-init-hook): No need to add dired-x-bind-find-file.
894 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
895 No need to call expand-file-name.
896 (dired-filename-at-point): Remove unused locals `end', `filename'.
898 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
900 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
902 2011-02-18 Christian Ohler <ohler@gnu.org>
904 * emacs-lisp/ert.el (ert--setup-results-buffer)
905 (ert-results-pop-to-backtrace-for-test-at-point)
906 (ert-results-pop-to-messages-for-test-at-point)
907 (ert-results-pop-to-should-forms-for-test-at-point)
908 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
909 were incorrect and unnecessary. This should make `make check'
912 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
914 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
915 (allout-widgets-icons-dark-subdir): Track relocations of icons.
916 * lisp/allout.el: Remove commentary about remove encryption
917 passphrase mnemonic support and verification.
918 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
919 armored text using gpg1, and indicate that the gpg version *might*
920 be the problem in the error message.
922 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
924 * net/rcirc.el (rcirc-float-time): New function.
925 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
926 (rcirc-ctcp-sender-PING): Use it.
928 2011-02-17 Glenn Morris <rgm@gnu.org>
930 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
931 (speedbar-update-flag, speedbar-fetch-etags-command)
932 (speedbar-fetch-etags-arguments):
933 * term.el (term-buffer-maximum-size, term-input-chunk-size)
934 (term-completion-autolist, term-completion-addsuffix)
935 (term-completion-recexact, term-completion-fignore):
936 * term/sup-mouse.el (sup-mouse-fast-select-window):
937 * term/x-win.el (x-select-request-type):
938 Convert some defvars with "*" to defcustoms.
940 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
942 * vc/vc.el (vc-default-previous-version):
943 Remove alias that points nowhere. (Bug#4496)
945 * dired-x.el (dired-clean-up-after-deletion):
946 kill-buffer does not need save-excursion.
947 (dired-do-run-mail): Doc fix.
948 (dired-filename-at-point): Doc fix.
949 Use looking-at, and skip-chars rather than re search.
951 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
953 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
955 * allout-widgets.el: New allout extension that shows allout
956 outline structure with graphical widgets. 'allout-widgets'
957 customize group is an 'allout' subgroup, for easy discovery.
959 * allout.el: Include PGP and GnuPG in Keywords, and other
960 commentary refinements.
961 (allout-abbreviate-flattened-numbering): Rename to
962 allout-flattened-numbering-abbreviation, and
963 define-obsolete-variable-alias the old name.
964 (allout-flattened-numbering-abbreviation): Rename from
965 allout-abbreviate-flattened-numbering.
966 (allout-mode-p): Include among autoloads, for use by other modes
968 (allout-listify-exposed):
969 Use allout-flattened-numbering-abbreviation.
970 (allout-encrypt-string): Use set-buffer-multibyte directly.
971 (allout-set-buffer-multibyte): Remove.
973 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
975 * simple.el (just-one-space): Remove useless `or' call.
977 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
979 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
980 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
981 (soap-decoded-multi-refs, soap-current-wsdl)
982 (soap-encoded-namespaces): Rename CL-style *...* variables.
984 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
986 * net/soap-client.el: Add "comm" and "hypermedia" to the
987 keywords. Reflow too long lines.
989 * net/soap-inspect.el: Ditto. Require 'cl.
991 2011-02-16 Bastien Guerry <bzg@altern.org>
993 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
994 in a `doctor-type' argument.
996 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
998 * net/soap-client.el:
999 * net/soap-inspect.el: New files.
1001 2011-02-16 Leo <sdl.web@gmail.com>
1003 * dired-x.el (dired-mode-map, dired-extra-startup):
1004 Remove dired-copy-filename-as-kill since it's already in dired.el.
1006 2011-02-16 Glenn Morris <rgm@gnu.org>
1008 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1009 Doc fixes. Add :set property, replacing top-level calls.
1010 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1011 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1012 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1013 (dired-clean-up-after-deletion): Use when and dolist.
1014 (dired-jump): Use unless and when.
1015 (dired-virtual): Use line-end-position.
1016 (dired-default-directory-alist): Rename from default-directory-alist.
1017 (dired-default-directory): Update for above name change.
1018 (dired-vm): Drop VM < 5 and simplify.
1019 (dired-buffer-more-recently-used-p): Rewrite.
1020 (dired-filename-at-point): Use when and or.
1021 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1024 2011-02-15 Glenn Morris <rgm@gnu.org>
1026 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1028 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1030 * vc/vc-git.el (vc-git-root-log-format): New option for
1031 customizing log format.
1032 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1033 (vc-git-log-view-mode): Use it.
1034 (vc-git-expanded-log-entry): New function.
1035 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1037 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1038 customizing log format.
1039 (vc-hg-print-log): Use it.
1040 (vc-hg-expanded-log-entry): New function.
1041 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1042 vc-hg-expanded-log-entry. Truncate lines in root log.
1044 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1046 * vc/log-view.el (log-view-mode-menu):
1047 Add log-view-toggle-entry-display.
1049 2011-02-14 Glenn Morris <rgm@gnu.org>
1051 * dired-x.el: Don't require man when compiling.
1052 (dired-omit-extensions, dired-local-variables-file)
1053 (dired-x-hands-off-my-keys): Make them defcustoms.
1054 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1055 (vm-visit-folder): Declare rather than defining.
1056 (dired-x-help-address, dired-x-variable-list): Remove.
1057 (dired-x-submit-report): Make it an obsolete alias.
1059 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1061 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1063 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1065 * net/imap.el: Bring it back.
1067 2011-02-13 Alan Mackenzie <acm@muc.de>
1069 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1070 narrow-to-region call that cuts context off the end (Bug#7722).
1072 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1073 Refactor nested if-forms with a simple cond.
1074 (c-forward-<>-arglist): Revert 2011-01-31 change.
1076 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1078 * vc/log-view.el: New command log-view-toggle-entry-display for
1079 toggling log entries between concise and detailed forms.
1080 (log-view-toggle-entry-display): New command.
1081 (log-view-mode-map): Bind RET to it.
1082 (log-view-expanded-log-entry-function): New variable.
1083 (log-view-current-entry, log-view-inside-comment-p)
1084 (log-view-current-tag): New functions.
1085 (log-view-toggle-mark-entry): Use log-view-current-entry and
1086 log-view-end-of-defun instead of searching directly with
1087 log-view-message-re.
1088 (log-view-end-of-defun): Likewise. Add optional ARG for
1089 compatibility with end-of-defun.
1090 (log-view-end-of-defun): Ignore comments and VC buttons.
1092 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1093 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1095 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1097 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1099 * net/imap-hash.el: Remove file.
1101 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1103 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1105 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1108 * net/tramp-imap.el: Remove file.
1110 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1112 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1113 widget library for buttons, just use button.el.
1115 * vc/log-view.el (log-view-mode-map): Don't inherit from
1118 2011-02-12 Glenn Morris <rgm@gnu.org>
1120 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1121 (nintersection, set-difference, nset-difference)
1122 (set-exclusive-or, nset-exclusive-or): Doc fix.
1124 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1126 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1127 :italic props, so that frame-set-background-mode works. (Bug#7966)
1129 * simple.el (next-error): Doc fix.
1131 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1133 * dired-aux.el (dired-create-files): Adapt destination name to
1134 match the new behavior of copy-directory.
1136 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1138 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1139 from rmail-dont-reply-to-names. Callers changed.
1140 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1141 (rmail-dont-reply-to): Make it an obsolete alias.
1143 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1144 nil, and make obsolete (Bug#7888).
1145 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1147 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1149 * mail/rmailsort.el (rmail-sort-by-correspondent)
1150 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1152 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1154 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1156 * files.el (copy-directory): New argument COPY-CONTENTS for
1157 copying directory contents into another existing directory.
1159 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1161 * minibuffer.el (completion-table-case-fold): New function for
1162 creating a case-insensitive completion table.
1164 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1166 * net/tramp.el (tramp-default-method): Also check if
1167 `auth-source-search' is bound.
1168 (tramp-read-passwd): Use `auth-source-search' instead of
1169 `auto-source-user-or-password'.
1171 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1172 `auto-source-user-or-password.
1173 (tramp-imap-passphrase-callback-function): Use it.
1175 * net/imap-hash.el: Autoload `auto-source-search' instead of
1176 `auto-source-user-or-password.
1177 (imap-hash-open-connection): Use it.
1179 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1180 `auto-source-user-or-password.
1181 (smtpmail-try-auth-methods): Use it.
1183 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1185 * emacs-lisp/package.el: Allow packages to be reinstalled.
1186 (package--write-file-no-coding): Remove EXCL arg.
1187 (package-unpack-single): Don't use it.
1189 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1191 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1192 in each sub directory.
1193 (vc-svn-registered): Use vc-svn-root.
1194 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1195 (vc-svn-repository-hostname): Use "svn info".
1197 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1199 * simple.el (delete-trailing-whitespace): New optional buffer
1202 2011-02-11 Bastien Guerry <bzg@altern.org>
1204 * files.el (basic-save-buffer): save unmodified buffers when
1205 the file pointed by buffer-file-name doesn't exist.
1207 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1209 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1211 2011-02-11 Glenn Morris <rgm@gnu.org>
1213 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1215 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1217 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1219 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * server.el (server-process-filter): Use pcase.
1223 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1225 (smie-indent--parent): Extend to "parent of arg".
1226 (smie-indent-inside-string): New function.
1227 (smie-indent-functions): Use it.
1229 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1230 bzr locking race condition.
1232 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1233 still valid before using it.
1235 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1236 `message' -> `compilation-message' rename (bug#8004).
1238 Move keymap initialization into declaration.
1239 * textmodes/enriched.el (enriched-mode-map):
1240 * textmodes/bib-mode.el (bib-mode-map):
1241 * term/lk201.el (lk201-function-map):
1242 * tar-mode.el (tar-mode-map):
1243 * replace.el (occur-mode-map):
1244 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1245 * progmodes/idlw-help.el (idlwave-help-mode-map):
1246 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1247 * play/solitaire.el (solitaire-mode-map):
1248 * play/snake.el (snake-mode-map, snake-null-map):
1249 * play/pong.el (pong-mode-map):
1250 * play/handwrite.el (menu-bar-handwrite-map):
1251 * play/gametree.el (gametree-mode-map):
1252 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1253 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1254 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1255 (newsticker--url-keymap):
1256 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1257 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1258 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1259 (menu-bar-edit-menu, menu-bar-custom-menu)
1260 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1261 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1262 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1263 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1264 (menu-bar-tools-menu, menu-bar-describe-menu)
1265 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1266 (menu-bar-help-menu):
1267 * mail/rmailsum.el (rmail-summary-mode-map):
1268 * kmacro.el (kmacro-step-edit-map):
1269 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1270 (ibuffer-mode-operate-map):
1271 * hi-lock.el (hi-lock-menu, hi-lock-map):
1272 * emulation/vip.el (vip-mode-map):
1273 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1274 * bookmark.el (bookmark-bmenu-mode-map):
1275 * help-mode.el (help-mode-map): Move initialization into declaration.
1277 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1279 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1280 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1281 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1282 (rcirc-cmd-me, rcirc-authenticate): Use them.
1284 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1286 * allout.el: Synopsis: Change allout user configuration so
1287 auto-activation is controlled solely by customization
1288 `allout-auto-activation'.
1290 (allout-auto-activation-helper, allout-setup): New autoloads
1291 implement new custom set procedure for allout-auto-activation.
1292 Also, explicitly invoke (allout-setup) after allout-auto-activation
1293 is custom-defined, to affect the settings in emacs sessions besides
1294 the few where allout-auto-activation customization is done.
1295 (allout-auto-activation): Use allout-auto-activation-helper to
1296 :set. Revise the docstring.
1297 (allout-init): Reduce functionality to just customizing
1298 allout-auto-activation, and mark obsolete.
1299 (allout-mode): Respect string values for allout-auto-activation.
1300 Run allout-after-copy-or-kill-hook without any args.
1301 (allout-mode, allout-layout, allout-default-layout)
1302 (outlineify-sticky): Adjust docstring for new scheme.
1303 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1304 should concentrate on the kill ring.
1306 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1308 * password-cache.el (password-cache-remove): Accept secrets that are
1311 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1313 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1314 of here-doc that immediately follows a comment.
1316 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1318 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1320 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1322 (rcirc-ctcp-sender-PING): New function.
1324 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1327 Remove the mark/nomark handling, and activate shift-select-mode instead.
1329 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1331 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1333 * calc/calc-units.el (math-logunits-quant): Add support for
1334 non-logarithmic units.
1336 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1338 * allout.el (allout-after-copy-or-kill-hook): New hook for
1339 extension-specific processing of killed text.
1340 (allout-mode): Include new allout-after-copy-or-kill-hook among
1342 (allout-kill-line, allout-kill-topic): Ensure that processing
1343 after kill happens even if barf-if-buffer-read-only is raised.
1344 Include new allout-after-copy-or-kill-hook among that subsequent
1346 (allout-deannotate-hidden): Actually remove the annotation text
1349 * allout.el (allout-listify-exposed): Copy text sans text properties.
1351 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1353 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1355 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1357 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1359 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1361 * calc/calc.el (calc-logunits-field-reference): Rename from
1362 `calc-default-field-reference-level'.
1363 (calc-logunits-power-reference): Rename from
1364 `calc-default-power-reference-level'.
1366 * calc/calc-units.el (math-logunits-quant): Rename from
1367 `math-logunits-level'
1368 (math-logunits-plus): Rename from math-logcombine.
1369 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1370 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1371 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1373 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1374 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1375 (calc-logunits-quantity): Rename from `calc-level'.
1376 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1377 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1378 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1379 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1380 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1383 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1384 (calc-ul-prefix-help): Remove.
1385 (calc-l-prefix-help): New function.
1386 (calc-full-help): Add reference to `calc-l-prefix-help'.
1388 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1390 * calc/README: Mention logarithmic units.
1392 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1394 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1395 non-ASCII characters (Bug#7925).
1397 2011-02-05 Glenn Morris <rgm@gnu.org>
1399 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1401 * calendar/diary-lib.el (diary-font-lock-keywords):
1402 Tweak diary-time-regexp match. (Bug#7891)
1404 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1405 (f90-mode): Use it for mode's `find-tag-default-function' property.
1407 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1409 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1411 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1413 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1416 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1418 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1419 font-lock-syntax-table remappings.
1420 (sh-here-doc-markers, sh-here-doc-re): Remove.
1421 (sh-font-lock-close-heredoc): Remove.
1422 (sh-syntax-propertize-here-doc): New function.
1423 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1424 instead of the sh-here-doc-re.
1425 (sh-font-lock-paren): Don't do anything in comments or strings.
1426 Handle line continuations. Accept a few more chars.
1427 Don't rely on the font-lock-syntax-table remappings.
1428 `esac' is not a valid pattern.
1429 (sh-syntax-propertize-function): Handle here-docs differently, so we
1430 don't bother syntax-propertizing the insides.
1432 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1433 Handle new bashisms ";&" and ";;&" (bug#7947).
1435 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1437 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1438 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1440 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1442 * net/tramp.el (tramp-postfix-method-format)
1443 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1444 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1445 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1446 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1447 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1450 2011-02-04 Sam Steingold <sds@gnu.org>
1452 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1454 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1456 * international/mule-util.el (with-coding-priority): Doc fix.
1458 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1460 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1462 2011-02-03 Sam Steingold <sds@gnu.org>
1464 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1465 Do not error out when `func' is nil.
1467 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1469 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1470 `tramp-default-remote-path' to the docstring.
1471 (tramp-get-remote-path): Suppress error message when `getconf
1474 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1476 2011-02-03 Glenn Morris <rgm@gnu.org>
1478 * vc/vc-hg.el (vc-hg-command): Doc fix.
1480 * term/w32-win.el (libpng-version): Declare for compiler.
1482 * msb.el: No need to load dired while compiling.
1484 * emacs-lisp/elint.el (elint-standard-variables):
1485 Remove a couple of built-ins that now have doc-strings.
1487 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1488 `require' is automatically `eval-and-compile'd.
1490 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1491 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1493 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1494 Move definition before use.
1495 (strokes-report-bug): Make it obsolete.
1497 2011-02-02 Sam Steingold <sds@gnu.org>
1499 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1500 from `special-mode', entering it makes the buffer read-only, so
1501 call it only when everything has been already inserted.
1502 * emacs-lisp/ert.el (ert--setup-results-buffer)
1503 (ert-results-pop-to-backtrace-for-test-at-point)
1504 (ert-results-pop-to-messages-for-test-at-point)
1505 (ert-results-pop-to-timings): Ditto.
1506 * emacs-lisp/package.el (package--list-packages): Ditto.
1507 * play/solitaire.el (solitaire): Ditto.
1509 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1511 * progmodes/compile.el: Make all faces inherit.
1512 (compilation-warning): Inherit from font-lock-variable-name-face.
1513 (compilation-info): Inherit from font-lock-type-face.
1514 (compilation-line-number): Reassign to font-lock-keyword-face.
1515 (compilation-column-number): Reassign to font-lock-doc-face.
1516 (compilation-leave-directory-face): Reassign to
1517 font-lock-builtin-face.
1519 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1521 * dired.el (dired-insert-directory): Don't invoke `ls' when
1522 ls-lisp.el is used to emulate it.
1524 2011-02-01 Julien Danjou <julien@danjou.info>
1526 * color.el (color-gradient): Add a color-gradient function.
1528 2011-02-01 Sam Steingold <sds@gnu.org>
1530 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1531 bind "z" to `kill-this-buffer'.
1532 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1533 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1534 (apropos-mode): Inherit from `special-mode'.
1535 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1536 * bookmark.el (bookmark-bmenu-mode): Define using
1537 `define-derived-mode' inheriting from `special-mode'.
1538 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1539 * image-mode.el (image-mode-map): Ditto.
1540 * replace.el (occur-mode): Define using
1541 `define-derived-mode' inheriting from `special-mode'.
1542 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1543 * calendar/diary-lib.el (diary-fancy-display-mode):
1544 Inherit from `special-mode-map'.
1545 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1546 Inherit from `special-mode'.
1547 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1549 (package-menu-mode): Define using `define-derived-mode'
1550 inheriting from `special-mode'.
1551 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1552 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1553 (xesam-mode-map): Define separately.
1554 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1555 * progmodes/compile.el (compilation-minor-mode-map)
1556 (compilation-mode-map): Inherit from `special-mode-map'.
1557 * vc/diff-mode.el (diff-mode-shared-map):
1558 Inherit from `special-mode-map'.
1559 * vc/log-view.el (log-view-mode-map): Add a comment.
1561 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1563 * custom.el (load-theme): Define return value. Drop use of
1564 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1565 (custom-theme-load-confirm): Scroll in the correct window.
1566 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1568 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1569 checkbox if load-theme fails.
1571 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1573 * progmodes/compile.el (compilation-next-error): Check there's
1574 a message before using it (bug#7941).
1576 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1578 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1579 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1580 of potential pivots.
1582 2011-01-31 Alan Mackenzie <acm@muc.de>
1584 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1585 Continue parsing if we encounter a naked # (Bug#7595).
1586 (c-beginning-of-statement): Avoid loop in locating the beginning
1587 of a macro. (Not actually committed until 2011-02-20, see above).
1589 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1591 * files.el (copy-directory): Fix arguments to recursive call.
1593 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1595 * files.el (copy-directory): If destination is an existing
1596 directory, copy into a subdirectory there.
1598 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1600 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1603 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1605 * image-dired.el (image-dired-mouse-display-image): No-op if no
1606 file is found (Bug#7817).
1608 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1610 2011-01-31 Kenichi Handa <handa@m17n.org>
1612 * international/quail.el (quail-keyboard-layout-alist):
1613 Remove superfluous SPC for "pc105-uk" (bug#7927).
1615 2011-01-31 Glenn Morris <rgm@gnu.org>
1617 * msb.el (msb-menu-bar-update-buffers): Update for changed
1618 argument handling of menu-bar-select-frame. (Bug#7902)
1620 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1622 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1623 to the recursion depth (Bug#7722).
1625 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1627 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1628 command-line-default-directory (Bug#7872).
1630 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * progmodes/compile.el (compilation--flush-directory-cache):
1633 New function, extracted from compilation--remove-properties.
1634 (compilation--remove-properties, compilation--parse-region): Use it.
1635 (compilation--previous-directory): Handle one more case.
1636 (compilation-enable-debug-messages): Remove.
1637 (compilation-parse-errors, compilation--flush-parse): Just remove the
1638 left over debug messages.
1640 2011-01-31 Sam Steingold <sds@gnu.org>
1642 * progmodes/compile.el (compilation-enable-debug-messages):
1643 Add a variable to make the parsing messages introduced in
1644 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1645 (compilation-parse-errors, compilation--flush-parse): Use it.
1647 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1649 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1650 (rcirc-nick-completion-format): New defcustom.
1651 (rcirc-complete): Use it.
1653 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1655 * net/rcirc.el: Clean log filenames (Bug#7933).
1656 (rcirc-log-write): Use convert-standard-filename.
1657 (rcirc-log-filename-function): Documentation updates.
1659 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1661 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1662 Check report-emacs-bug-can-use-osx-open and use that if t.
1663 (report-emacs-bug-can-use-osx-open): New function.
1664 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1665 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1667 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1669 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1670 updating Dired or VC-dir buffers after async command completes.
1672 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1673 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1675 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1676 completions if it exists. Use vc-set-async-update.
1677 (vc-git-pull): Use vc-set-async-update.
1679 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1680 read-shell-command. Use vc-set-async-update.
1681 (vc-hg-merge-branch): Use vc-set-async-update.
1683 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1685 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1686 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1689 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * progmodes/compile.el: Avoid an N² behavior in grep.
1692 (compilation--previous-directory): New fun.
1693 (compilation--previous-directory-cache): New var.
1694 (compilation--remove-properties): Flush it.
1695 (compilation-directory-properties, compilation-error-properties):
1696 Use the new fun to speed up looking for the current directory.
1698 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1700 * vc/vc-hg.el (vc-hg-history): New var.
1701 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1702 (vc-hg-merge-branch): New function.
1704 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1705 the other way around.
1707 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1708 (vc-git-merge-branch): New functions.
1709 (vc-git-history): New var.
1711 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1713 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1715 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1716 vc-do-async-command.
1718 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1721 2011-01-28 Leo <sdl.web@gmail.com>
1723 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1724 highlighting to the "this function is advised" message.
1726 * help-mode.el (help-mode-finish): Apply highlighting here, to
1727 avoid clobbering by substitute-command-keys (Bug#6304).
1729 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1731 * woman.el (woman0-roff-buffer): Process roff escape sequences
1732 occurring prior to the first request (Bug#7843).
1734 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1736 * progmodes/compile.el: Don't use font-lock any more.
1737 (compilation-error-regexp-alist-alist): Change handling of makepp
1738 so it preserves the warning/error distinction on subsequent files.
1739 Simplify various rules.
1740 (compilation-directory-properties): Use font-lock-face.
1741 Add a compilation-message property.
1742 (compilation-internal-error-properties): Use font-lock-face.
1743 Don't set the compilation-debug property here.
1744 (compilation--put-prop, compilation--remove-properties)
1745 (compilation--parse-region, compilation--ensure-parse)
1746 (compilation--ensure-parse): New functions.
1747 (compilation-parse-errors): New function, largely inspired of
1748 compilation-mode-font-lock-keywords. Set compilation-debug here.
1749 (compilation--parsed): New var.
1750 (compilation--flush-parse): Use compilation--ensure-parse.
1751 (compilation-start): Don't call font-lock.
1752 (compilation-turn-on-font-lock): Remove.
1753 (compilation-setup): Don't set font-lock-extra-managed-props not change
1754 other font-lock settings, other than keywords.
1755 Don't activate font-lock-mode.
1756 Set change-major-mode-hook and before-change-functions.
1757 (compilation--unsetup): Remove properties and hooks.
1758 (compilation-next-single-property-change): New function.
1759 (compilation-next-error): Use it to parse when needed.
1760 (compile-goto-error): Parse buffer as needed.
1761 (compilation--compat-error-properties): Don't need a dummy `face'
1764 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1766 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1767 (compilation-process-setup-function): Fix docstring's false promises.
1768 (compilation-error-regexp-alist-alist): Catch omake's continuous
1769 recompilation message and avoid reuse of old markers.
1770 (compilation-parse-errors-function): Declare obsolete.
1771 (compilation-buffer-modtime): Remove.
1772 (compilation--make-cdrloc, compilation--loc->col)
1773 (compilation--loc->line, compilation--loc->file-struct)
1774 (compilation--loc->marker, compilation--loc->visited)
1775 (compilation--make-file-struct, compilation--file-struct->file-spec)
1776 (compilation--file-struct->formats)
1777 (compilation--file-struct->loc-tree): New macros. Use them.
1778 (compilation--message): New defstruct. Use them.
1779 (compilation-next-error-function): Don't mess with timestamps to try
1780 and guess when to reparse.
1782 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1785 (tex-old-error-file-name): New function,
1786 extracted from tex-compilation-parse-errors.
1787 (tex-compilation-parse-errors): Remove.
1788 (tex-error-regexp-alist): New var.
1789 (tex-shell): Use it to avoid compilation-parse-errors-function.
1791 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1792 (grep-mode-font-lock-keywords): Remove regexp that seems like
1793 a left-over from before we used compile.el.
1794 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1795 modifying the buffer within with-silent-modifications.
1797 * progmodes/compile.el: Cleanup text-properties namespace by using
1798 `compilation-message' instead of `message', `compilation-directory'
1799 instead of `directory', and `compilation-debug' instead of `debug'.
1800 (compilation-last-buffer, compilation-parsing-end)
1801 (compilation-error-list, compilation-old-error-list): Move to the
1802 compatibility part of the code.
1803 (compilation-error-properties): If `file' is a function, let it return
1805 (compilation-mode-font-lock-keywords): Be more conservative with the
1806 omake "^ *" pattern prefix, to try and minimize the risk of
1807 pathologically slow regexp matching.
1808 (compilation-start): Use inhibit-read-only.
1809 (compilation--unsetup): New function.
1810 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1811 (compilation-filter): Minor tweaks.
1812 (compilation-next-error-function): Try and avoid abusing variables.
1813 (compilation--flush-file-structure): New fun.
1814 (compilation-fake-loc): Use it to improve behavior when file is reused.
1815 (debug-ignored-errors): Add "Moved past last ...".
1816 (compilation--compat-error-properties)
1817 (compilation--compat-parse-errors): Rename by doubling the "-".
1819 Port features from the previous prolog.el to the new one.
1820 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1821 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1822 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1823 variable and use a function to compute the value dynamically.
1824 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1825 (prolog-continued-prompt-regexp): Remove, unused.
1826 (prolog-find-value-by-system): Try and use the value of prolog-system
1827 in the *prolog* buffer if it helps.
1828 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1829 (prolog-zip-on): ..and check prolog-system and version here instead.
1830 (prolog-inferior-self-insert-command): New command.
1831 (prolog-inferior-mode-map): Use it.
1832 (prolog-inferior-error-regexp-alist): New var.
1833 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1834 (prolog-input-filter): Use derived-mode-p.
1835 (prolog-inferior-guess-flavor): New function.
1836 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1837 make-comint to avoid running comint-mode twice.
1838 (prolog-inferior-buffer): New fun.
1839 (prolog-old-process-region, prolog-old-process-file):
1840 Don't call prolog-bsts here...
1841 (prolog-build-prolog-command): ...do it here instead.
1842 (prolog-old-process-region, prolog-old-process-file):
1843 Use compilation-fake-loc and compilation-forget-errors.
1844 (prolog-consult-compile-region): Use bolp.
1846 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1848 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1850 2011-01-27 Sam Steingold <sds@gnu.org>
1852 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1853 Remove "*server*" which is never created by emacs server.
1855 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1857 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1858 there are some diff switches.
1860 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1862 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1863 Copy change made to ruby-font-lock-syntactic-keywords.
1865 * htmlfontify.el: Make it obey the font-lock-face text property.
1866 Miscellaneous cleanup such as:
1867 - Don't hide expressions after a closing paren.
1868 - Move initial setq into let.
1869 - Hoist common parts out of ifs.
1870 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1871 (hfy-face-at): Use get-text-property instead.
1872 (hfy-prop-invisible-p): Use invisible-p if available.
1873 (htmlfontify-manual): Use \\[...].
1874 (hfy-html-quote-regex): Use [...].
1875 (hfy-combined-face-spec): Simplify.
1876 (hfy-compile-face-map): Don't presume point-min==1.
1877 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1878 match end of string.
1879 (hfy-text-p): η-reduce.
1880 (hfy-tags-for-file): Receive cache-hash directly.
1881 (hfy-mark-tag-names): Adjust call.
1883 2011-01-27 Glenn Morris <rgm@gnu.org>
1885 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1886 (msb-after-load-hook): Remove eval-after-load wackiness.
1888 2011-01-25 Sam Steingold <sds@gnu.org>
1890 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1891 literal "diff" (important for windows-nt).
1893 2011-01-25 Glenn Morris <rgm@gnu.org>
1895 * emacs-lisp/copyright.el (copyright-at-end-flag)
1896 (copyright-names-regexp): Add safety properties.
1897 (copyright-year-ranges): New option.
1898 (copyright-find-end): New function, split from copyright-update-year.
1899 (copyright-update-year): Use copyright-find-end.
1900 (copyright-fix-years): Optionally, convert years to ranges.
1901 Handle years continued over comment lines.
1902 Do not mess with the fill-prefix.
1903 Do not call copyright-update.
1904 (copyright-update-directory): Optionally, fix years rather than update.
1905 Skip directories. Find files with only safe local vars.
1907 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1909 * files.el (file-name-non-special): Only change buffer-file-name after
1910 insert-file-contents if it's `visit'ing the file (bug#7854).
1912 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1914 * dired.el (dired-revert): Doc fix (Bug#7758).
1916 * simple.el (line-move-visual): Doc fix (Bug#7594).
1918 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1920 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1921 here-doc which ends with an underscore.
1922 (ruby-mode-set-encoding): Skip shebang line always.
1923 (ruby-mode-map): Bind C-c C-c to comment-region.
1924 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1925 (ruby-forward-sexp): Stop after literal hash key labels.
1926 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1929 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1931 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1932 the correct buffer (Bug#7650).
1934 2011-01-25 Glenn Morris <rgm@gnu.org>
1936 * comint.el (comint-mode): Doc fix. (Bug#7897)
1938 * simple.el (do-auto-fill): Give it a doc string.
1940 * button.el (make-text-button): Doc fix. (See bug#7881)
1942 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1944 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1945 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1947 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1948 Handle ?" and friends differently (e.g. don't use backrefs).
1950 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1952 * calc/calc.el (calc-default-power-reference-level)
1953 (calc-default-field-reference-level): New variables.
1954 * calc/calc-units.el (math-standard-units): Add dB and Np.
1955 (math-logunits): New variable.
1956 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1957 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1958 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1960 (math-find-base-units-rec): Add entry for ln(10).
1961 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1962 (calc-ul-prefix-help): New function.
1963 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1964 functions. Add keybindings for new units functions.
1966 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1968 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1969 rcirc buffers. (Bug#4940)
1971 2011-01-22 Glenn Morris <rgm@gnu.org>
1973 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1974 split out from copyright-update-year.
1975 (copyright-update): Don't mess with the GPL version if we don't own the
1976 copyright. Update license regexp, and remove no longer needed
1978 (copyright-fix-years): Use copyright-find-copyright.
1980 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1982 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1984 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1986 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1987 (lm): Rename to landmark.
1988 (lm-test-run): Rename to landmark-test-run.
1990 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1992 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1993 "Case sensitive" menu item.
1995 2011-01-22 Roland McGrath <roland@frob.com>
1997 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1998 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2000 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2004 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2006 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2007 Assume foo(bar) is a manpage reference rather than some unquoted
2010 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2013 Suggested by Flo <sensorflo@gmail.com>.
2015 2011-01-22 Glenn Morris <rgm@gnu.org>
2017 * progmodes/compile.el (compilation-error-regexp-alist):
2018 Fix custom type. (Bug#7812)
2020 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2022 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2023 allout-number-siblings, in keeping with what obtained due to
2024 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2026 (allout-before-change-handler): Better expose spots affected by
2029 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2031 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2033 2011-01-22 Phil Hagelberg <phil@evri.com>
2035 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2036 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2037 (pcmpl-ssh-config-hosts): New function.
2038 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2039 pcmpl-ssh-known-hosts.
2041 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2043 * calc/calc-undo.el (calc-undo): Autoload it.
2044 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2045 and autoload for `calc-undo'.
2046 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2047 * calc/calc-prog.el:
2048 * calc/calc-graph.el:
2049 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2051 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2053 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2054 keybindings to `calc-undo'.
2056 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2058 Don't mess with *temp*.
2059 * obsolete/spell.el: Move from textmodes/spell.el.
2061 * term.el (term-read-input-ring):
2062 * startup.el (display-startup-echo-area-message):
2063 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2064 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2065 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2068 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2070 * allout.el (allout-institute-keymap): Use fset instead of
2071 reapplying defalias.
2073 (allout-hotspot-key-handler): Check for non-control-modified
2074 bindings for hotspot characters if there are no control-modified
2077 * allout.el: Summary - migrate to defining allout mode using
2078 define-minor-mode instead of defun. Significantly clean-up
2079 internal keymap provisions, refactoring and, in the process,
2080 removing a lot of accumulated cruft.
2082 allout-mode-map is now a keymap by virtue of being a defalias to
2083 allout-mode-map-value, which contains the actual keymap structure.
2085 (allout-mode): Use define-minor-mode rather than defun.
2086 Remove now-unnecessary minor-mode setup activities from the body.
2087 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2088 entry will be '(allout-mode . allout-mode-map) - see
2089 allout-mode-map-value, below. Adjust docstring to track changes.
2090 (allout-minor-mode): Remove this defalias, now that we're using
2092 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2093 keymap is allout-mode-map-value, via defalias.
2094 (allout-mode-map-value): The variable holding the actual mode
2095 keymap structure, by virtue of defalias from allout-mode-map.
2096 (allout-compose-and-institute-keymap): Rename from
2097 allout-bind-keys, and including the binding-composition
2098 functionality of the former produce-allout-mode-map and
2099 allout-setup-mode-map.
2100 (allout-institute-keymap): Take over the "setup" part of the former
2101 allout-setup-mode-map. Reassign allout-mode-map-value value and
2102 update the defalias.
2103 (allout-command-prefix, allout-prefixed-keybindings)
2104 (allout-unprefixed-keybindings):
2105 Use allout-compose-and-institute-keymap to process the bindings.
2106 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2107 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2108 user can customize if they want to use that binding.
2109 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2110 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2111 elided that, previously, instead of the one for \C-h.)
2112 (allout-hotspot-key-handler): Remove attempt to resolve the key
2113 through the literal key-string lookup on allout-keybindings-list.
2114 That probably hasn't worked for a Long Time, and removal of
2115 allout-keybindings-list further simplifies the keybindings situation.
2116 (allout-pre-command-business): Use allout-mode-map-value instead
2118 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2119 the bindings if they want to use a keybinding having a trailing
2120 \C-h. No deprecation needed since this feature was never in a release.
2121 (allout-keybindings-list): Remove. It's not been useful for a
2122 while. (See allout-hotspot-key-handler changes, above.)
2123 (produce-allout-mode-map): Remove. Consolidate into
2124 allout-compose-and-institute-keymap.
2125 (allout-mode-map-adjustments): Remove. No longer necessary with
2126 removal of allout-preempt-trailing-ctrl-h.
2127 (allout-setup-mode-map): Remove. Consolidate into
2128 allout-compose-and-institute-keymap and allout-institute-keymap.
2130 2011-01-20 Glenn Morris <rgm@gnu.org>
2132 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2134 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2136 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2138 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2140 * files.el (find-alternate-file, basic-save-buffer)
2141 (basic-save-buffer-2, revert-buffer, recover-file)
2142 (kill-buffer-ask, abort-if-file-too-large)
2143 (set-visited-file-name, write-file, backup-buffer)
2144 (basic-save-buffer, save-some-buffers):
2145 * dired-aux.el (dired-compress-file): Callers changed.
2147 2011-01-19 Glenn Morris <rgm@gnu.org>
2149 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2150 Also check the property status. (Bug#7861)
2152 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2154 * net/tramp.el (tramp-debug-message): Extend function exclude
2155 list. Use `regexp-opt'.
2157 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2160 highlighting doesn't spill over subsequent lines.
2162 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2163 keymap expression. Improve docstring.
2165 * electric.el (electric-indent-post-self-insert-function):
2166 Don't auto-indent for indent-to-left-margin, it's too often
2169 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2171 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2172 spaces if the frame was resized, so that the full visible buffer
2173 serves as canvas for strokes.
2175 2011-01-16 Glenn Morris <rgm@gnu.org>
2177 * info-xref.el (info-xref-docstrings): Replace cl function.
2178 Also skip directories.
2180 2011-01-16 Kevin Ryde <user42@zip.com.au>
2182 * info-xref.el: Version 3.
2183 (info-xref-check, info-xref-check-all): Move commentary details
2184 into docstrings for better visibility.
2185 Use compilation-mode for the results buffer.
2186 (info-xref-output, info-xref-output-error, info-xref-with-output)
2187 (info-xref-filename, info-xref-in-progress):
2188 New internals for this.
2189 (info-xref-check-list, info-xref-check-buffer)
2190 (info-xref-check-all-custom): Use those.
2191 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2192 (info-xref-output-heading): Rename from info-xref-filename-heading.
2193 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2194 (info-xref-filename-heading): Move to output managing section.
2195 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2196 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2197 (info-xref-subfile-p): Move to generic section with those two.
2198 (info-xref-check-node): New function split from
2199 info-xref-check-buffer, shared by info-xref-docstrings.
2200 (info-xref-goto-node-p): Move to a checking section with that func.
2201 (info-xref-unavail): New counter.
2202 (info-xref-check-node): Use it.
2203 (info-xref-with-output): Show count of unavailables at end of output.
2204 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2205 symlinks. Exclude .texi files. Exclude Emacs backup files.
2206 (info-xref-check-all-custom): Fix quietening viper-mode and
2207 gnus-registry-install -- use setq not let so as not to unbind
2210 2011-01-16 Juri Linkov <juri@jurta.org>
2212 * isearch.el (isearch-abort): Don't quit if search has
2213 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2215 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2217 * files.el (backup-buffer): Make last-resort backup file in
2218 .emacs.d (Bug#6953).
2220 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2221 make it with permission 700.
2223 2011-01-15 Kenichi Handa <handa@m17n.org>
2225 * mail/rmailmm.el (rmail-mime-insert-header):
2226 Set rmail-mime-coding-system to a cons whose car is the last coding
2227 system used to decode the header.
2228 (rmail-mime-find-header-encoding): New function.
2229 (rmail-mime-insert-decoded-text):
2230 Override rmail-mime-coding-system if it is a cons.
2231 (rmail-show-mime): If only a header part was decoded, find the
2232 coding system while ignoring mm-charset-override-alist.
2234 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2236 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2238 2011-01-15 Kenichi Handa <handa@m17n.org>
2240 * mail/rmailmm.el (rmail-mime-next-item)
2241 (rmail-mime-previous-item): Delete them.
2242 (rmail-mime-shown-mode): Recursively call for children.
2243 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2245 (rmail-mime-raw-mode): Recursively call for children.
2246 (rmail-mode-map): Change mapping of tab and backtab to
2247 forward-button and backward-button respectively.
2248 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2250 (rmail-mime-update-tagline): New function.
2251 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2252 body display is changed.
2253 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2254 (rmail-mime-image): Delete this button type.
2255 (rmail-mime-toggle): New button type.
2256 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2257 body display is changed. Change the save button label to "Save".
2258 Don't process show/hide button here.
2259 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2260 the body display is changed. Unconditionally call
2261 rmail-mime-insert for children.
2262 (rmail-mime-handle): Update `display' vector of the just inserted
2264 (rmail-mime-process): If mail-header-parse-content-type returns
2265 nil, use "text/plain" as the fallback type.
2266 (rmail-mime-insert): For raw-mode, recursively call
2267 rmail-mim-insert for children.
2268 (rmail-mime): Handle the case that the current buffer is not rmail
2269 buffer (e.g. in summary buffer).
2271 2011-01-15 Kenichi Handa <handa@m17n.org>
2273 * mail/rmailmm.el (rmail-mime-next-item)
2274 (rmail-mime-previous-item): Skip the body of a non-multipart
2275 entity if a tagline is shown.
2277 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2280 (tmm-prompt): Simplify.
2281 (tmm-add-prompt): Remove unused var `win'.
2283 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2284 to minor mode which used nil accidentally to mean "turn off".
2286 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2288 * net/tramp-sh.el (tramp-find-inline-compress)
2289 (tramp-get-inline-coding): Quote command after pipe symbol for
2290 local calls under W32. (Bug#6784)
2292 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2294 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2295 only when running under W32.
2297 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2299 * progmodes/grep.el (grep-compute-defaults): Quote the program
2300 file name after the pipe symbol in Grep templates. (Bug#6784)
2301 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2303 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2305 * buff-menu.el (Buffer-menu-buffer-list): New var.
2306 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2307 restricted buffer list is not lost on revert (Bug#7749).
2309 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2311 * net/ldap.el (ldap-search-internal): Discard stderr output.
2313 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2315 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2317 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2321 2011-01-15 Kenichi Handa <handa@m17n.org>
2323 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2324 part as a plain text.
2325 (rmail-mime-process-multipart): Set the default content-type to
2326 nil for unknown multipart subtypes (bug#7651).
2328 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * hexl.el (hexl-mode-old-*): Remove.
2331 (hexl-mode--old-var-vals): New var to replace them.
2332 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2333 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2334 Use them to set local vars (bug#7846).
2335 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2336 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2337 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2339 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2340 (smerge-resolve--normalize-re): New var.
2341 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2342 (smerge-resolve): Use them.
2343 * newcomment.el (comment-only-p): New function.
2344 (comment-or-uncomment-region): Use it.
2346 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2348 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2349 table, get the value before switching to the output buffer. (Bug#7733)
2351 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2353 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2355 2011-01-14 Kim F. Storm <storm@cua.dk>
2357 * emulation/cua-base.el (cua--init-keymaps):
2358 Remap exchange-point-and-mark in cua-global-keymap.
2360 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2362 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2365 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2369 (easy-menu-create-menu, easy-menu-convert-item-1):
2370 Use :label rather than nil for labels. Use `case'.
2371 Add :enable as alias for :active.
2372 (easy-menu-binding): Obey :label.
2374 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2376 Use run-mode-hooks for major mode hooks (bug#513).
2377 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2378 Rename from reftex-toc-map.
2379 (reftex-toc-mode): Use define-derived-mode.
2380 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2381 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2382 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2383 (reftex-select-label-mode, reftex-select-bib-mode):
2384 Use define-derived-mode.
2385 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2386 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2387 Move init into delcaration.
2388 (reftex-index-mode, reftex-index-phrases-mode):
2389 Use define-derived-mode.
2390 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2391 speedbar-syntax-table. Move init into declaration.
2392 (speedbar-mode-map): Rename from speedbar-key-map.
2393 Move init into declaration.
2394 (speedbar-file-key-map): Move init into declaration.
2395 (speedbar-mode): Use define-derived-mode.
2396 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2397 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2398 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2399 (chart-face-list): Move initialization into declaration.
2400 (chart-mode): Use define-derived-mode.
2401 * calculator.el (calculator-mode-map): Move init into declaration.
2402 (calculator-mode): Use define-derived-mode.
2404 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2405 work for nested comments.
2407 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2408 (prolog-use-prolog-tokenizer-flag): Change default when
2409 syntax-propertize can be used.
2410 (prolog-syntax-propertize-function): New var.
2411 (prolog-mode-variables): Move make-local-variable into `set'.
2412 Don't make comment-column local since we don't set it.
2413 Set comment-add (as it was in previous prolog.el). Use dolist.
2414 Set syntax-propertize-function.
2415 (prolog-mode, prolog-inferior-mode):
2416 Call prolog(-inferior)-menu directly, not through the mode-hook.
2417 (prolog-buffer-module, prolog-indent-level)
2418 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2419 (prolog-comment-limits, prolog-goto-comment-column):
2420 Use line-(end|beginning)-position.
2421 (prolog-build-prolog-command): Tighten up regexp.
2422 (prolog-consult-compile): Move make-local-variable into `set'.
2423 (prolog-consult-compile-filter, prolog-goto-next-paren)
2424 (prolog-help-on-predicate, prolog-clause-info)
2425 (prolog-mark-predicate): Don't let+setq.
2426 (prolog-indent-line): Use indent-line-to.
2427 Only call prolog-goto-comment-column if necessary.
2428 (prolog-indent-level): Use bobp.
2429 (prolog-first-pos-on-line): Remove, not used any more.
2430 (prolog-in-string-or-comment): Use syntax-ppss if available.
2431 (prolog-help-on-predicate): Use read-string.
2432 (prolog-goto-predicate-info): Simplify.
2433 (prolog-read-predicate): Use `default' rather than `initial'.
2434 (prolog-temporary-file): Use make-temp-file to close a security hole.
2435 (prolog-toggle-sicstus-sd): New command.
2436 (prolog-electric-underscore, prolog-variables-to-anonymous):
2437 Use dynamic-scoping as it was meant.
2438 (prolog-menu): Move menu definitions to top-level.
2439 Use a toggle-button for Sicstus's source debugger.
2440 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2442 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2443 Move other menu definition to top-level.
2445 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2447 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2448 name. Keep original document's directory as default-directory
2450 (doc-view-initiate-display): Fall back to normal mode when
2451 doc-view-mode cannot be enabled, also when extracting the document
2452 text into a separate buffer (bug#6446).
2454 * simple.el (shell-command): Don't error out if shell command
2455 buffer contains text with non-nil read-only property when erasing
2458 2011-01-13 Kim F. Storm <storm@cua.dk>
2460 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2461 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2462 items when cycling through the matches.
2464 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2466 * dired-x.el (dired-omit-verbose): New defcustom that allows
2467 disabling the omit messages.
2468 (dired-omit-expunge): Use it.
2470 2011-01-13 Christian Ohler <ohler@gnu.org>
2472 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2474 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2476 * font-lock.el (font-lock-verbose): Default to nil.
2478 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2480 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2481 (compose-mail): New arg RETURN-ACTION.
2482 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2484 * mail/sendmail.el (mail-return-action): New var.
2485 (mail-mode): Make it buffer-local.
2486 (mail-bury): Obey it. Move special Rmail window handling to
2488 (mail, mail-setup): New arg RETURN-ACTION.
2489 (sendmail-user-agent-compose): Move from simple.el.
2491 * mail/rmail.el (rmail-mail-return): New function.
2492 (rmail-start-mail): Pass it to compose-mail.
2494 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2496 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2497 menus. Add menu item for customize-themes.
2499 * cus-theme.el (customize-themes):
2500 * emacs-lisp/package.el (package--list-packages):
2501 Use switch-to-buffer.
2503 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2505 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2507 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2509 * progmodes/prolog.el: Fix up coding convention and such.
2510 (prolog-indent-width): Use the same default as in
2511 previous prolog.el rather than tab-width which depends on which buffer
2512 is current when the file is loaded.
2513 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2515 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2516 (prolog-known-systems): Remove.
2517 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2518 Move initialization into declaration.
2519 (prolog-mode-map): Move initialization into declaration.
2520 Remove system-specific mode-map vars, since they referred to the same
2522 (prolog-mode-variables): Obey the user's preference w.r.t
2523 adaptive-fill-mode. Prefer symbol-value to `eval'.
2524 (prolog-mode-keybindings-edit): Add compatibility bindings.
2525 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2526 (mercury-mode-map): New var.
2527 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2528 (prolog-ensure-process, prolog-process-insert-string)
2529 (prolog-consult-compile): Use with-current-buffer.
2530 (prolog-guess-fill-prefix): Simplify data flow.
2531 (prolog-replace-in-string): New function to use instead of
2533 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2534 (prolog-uncomment-region): Use `uncomment-region' when available.
2535 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2536 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2537 of int-to-char and char-to-int.
2538 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2540 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2542 * progmodes/prolog.el: Replace by a whole new file.
2544 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2546 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2547 (declare-function, undefined, insert-for-yank)
2548 (replace-regexp-in-string): Follow checkdoc's recommendations.
2550 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2553 refreshing the diary buffer.
2555 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2557 * allout.el: Add 2011 to the file copyright.
2558 (allout-encrypt-string): Prevent encryption from adding an extra
2559 newline at the end of the topic body.
2560 (allout-version): Increment to 2.3.
2562 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2564 * net/dbus.el (dbus-unregister-service): Complete doc.
2565 Fix call of dbus-error signal.
2566 (dbus-register-property): Use `dont-register' keyword.
2568 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2570 * net/dbus.el (dbus-unregister-service): Translate returned
2571 integer into a symbol.
2572 (dbus-register-property): Use `dbus-register-service' to do the
2575 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2577 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2578 Suggested by Joakim Verona.
2580 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2582 * wid-edit.el (visibility): Replace :on-image and :off-image
2583 widget properties with :on-glyph and :off-glyph, for consistency
2584 with the `visibility' widget.
2585 (widget-toggle-value-create, widget-visibility-value-create):
2586 Merge into a single function `widget-toggle-value-create'.
2588 * cus-edit.el (custom-variable-value-create, custom-visibility)
2589 (custom-face-edit-value-create, custom-face-value-create):
2590 Replace :on-image and :off-image widget properties with :on-glyph and
2591 :off-glyph, for consistency with the `visibility' widget.
2593 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2595 * net/ldap.el (ldap-search-internal): Don't use eval.
2597 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2599 * subr.el (read-char-choice): Use read-key.
2601 * custom.el (custom-safe-themes): Rename from
2602 custom-safe-theme-files. Add :risky tag.
2603 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2604 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2606 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2608 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2609 from Search and add a label to Undo.
2611 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2612 inappropriate buttons and adding :vert-only tags.
2614 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2615 removal of Help tool-bar button. Remove Undo button for space.
2617 * info.el (info-tool-bar-map): Add :vert-only tags.
2619 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2621 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2622 image backend support. Either of them is fine.
2624 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2626 * subr.el (y-or-n-p): Doc fix.
2628 * custom.el (custom-safe-theme-files): New defcustom.
2629 (custom-theme-load-confirm): New function.
2630 (load-theme): Load theme using `load', confirming with
2631 custom-theme-load-confirm if necessary.
2633 * subr.el (read-char-choice): New function, factored out from
2634 dired-query and hack-local-variables-confirm.
2636 * dired-aux.el (dired-query):
2637 * files.el (hack-local-variables-confirm): Use it.
2639 * dired-aux.el (dired-compress-file):
2640 * files.el (abort-if-file-too-large, find-alternate-file)
2641 (set-visited-file-name, write-file, backup-buffer)
2642 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2643 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2644 Use new format string args for y-or-n-p and yes-or-no-p.
2646 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2648 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2649 [gcc-include]: Tighten file name match, add match for column
2651 [gnu]: Remove unused group.
2653 2011-01-08 Glenn Morris <rgm@gnu.org>
2655 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2657 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2659 2011-01-07 Sam Steingold <sds@gnu.org>
2661 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2662 the `explicit-shell-file-name' because that is the
2663 non-interactive shell.
2665 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2667 * subr.el (y-or-n-p): Accept format string args.
2669 2011-01-07 Glenn Morris <rgm@gnu.org>
2671 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2673 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2675 * allout.el (allout-back-to-current-heading): Ensure return to
2676 the visible containing topic, rather than a collapsed one.
2677 (allout-view-change-hook): Remove hook that was deprecated long ago.
2678 (allout-exposure-change-hook): Remove documentation remarks
2679 concerning removed allout-view-change-hook.
2680 (allout-flag-region): Remove invocation of and documentation
2681 remarks concerning allout-view-change-hook.
2683 2011-01-06 Glenn Morris <rgm@gnu.org>
2685 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2686 (vc-bzr-annotate-extract-revision-at-line):
2687 Handle authors with embedded spaces. (Bug#7792)
2689 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2691 * doc-view.el (doc-view-image-width): New variable.
2692 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2693 backend for PNG images, and do dynamic rescaling instead of
2694 reconverting the whole doc.
2696 2011-01-05 Glenn Morris <rgm@gnu.org>
2698 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2700 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2702 * allout.el: Reconcile with changes in line movement behavior for
2703 long text lines that cross more than a single physical window
2704 line, ie when truncate-lines is nil.
2705 (allout-next-visible-heading): Provide for change in line-move
2706 behavior on long lines when truncate-lines is nil. In that case,
2707 line-move can wind up on the same textual line when it moves to
2708 the next window line, and moving to the bullet position after the
2709 move yields zero advancement. Add logic to detect and compensate
2710 for the lack of progress.
2711 (allout-current-topic-collapsed-p): move-end-of-line respect for
2712 field boundaries is different when operating with body lines
2713 shorter than window width versus ones greater than window width,
2714 which can yield false negatives in this function. Avoid
2715 difference by applying move-end-of-line while field-text-motion is
2718 2011-01-04 Glenn Morris <rgm@gnu.org>
2720 * textmodes/rst.el (rst-compile-toolsets):
2721 Add pdf and s5 to option alist.
2723 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2725 * net/dbus.el (dbus-register-property): Add optional parameter
2726 dont-register-service. Updated docstring accordingly.
2728 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2730 * textmodes/rst.el (rst-compile-pdf-preview)
2731 (rst-compile-slides-preview): Remove extra line.
2733 2011-01-04 Glenn Morris <rgm@gnu.org>
2735 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2736 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2737 default to `prog' without a .py extension.
2738 (rst-compile-pdf-preview, rst-compile-slides-preview):
2739 Use program names from rst-compile-toolsets, rather than hard-coding.
2740 (rst-portable-mark-active-p): Fix presumed typo.
2742 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2744 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2745 libpng versions both before and after 1.4.0. (Bug#7716)
2747 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2749 * time.el (display-time-mode): Mention display-time-interval in
2750 the doc string. (Bug#7713)
2752 2011-01-02 Kenichi Handa <handa@m17n.org>
2754 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2755 condition-case and return an error message string if something
2757 (rmail-show-mime): Adjust for the above change. Insert the
2758 header by rmail-mime-insert-header.
2760 2011-01-02 Kenichi Handa <handa@m17n.org>
2762 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2763 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2764 (rmail-mime-mbox-buffer)
2765 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2766 (rmail-mime-entity): Argument changed. All codes handling an
2767 entity object are changed.
2768 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2770 (rmail-mime-entity-children, rmail-mime-entity-handler)
2771 (rmail-mime-entity-tagline): New functions.
2772 (rmail-mime-message-p): New function.
2773 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2774 (rmail-mime-entity-segment, rmail-mime-next-item)
2775 (rmail-mime-previous-item, rmail-mime-shown-mode)
2776 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2777 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2778 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2780 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2781 (rmail-mime-insert-decoded-text): New function.
2782 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2783 (rmail-mime-insert-image): Argument changed. Caller changed.
2784 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2785 (rmail-mime-set-bulk-data): New function.
2786 (rmail-mime-insert-bulk): Argument changed.
2787 (rmail-mime-multipart-handler): Return t.
2788 (rmail-mime-process-multipart): Argument changed.
2789 Handle "multipart/alternative" here.
2790 (rmail-mime-process): Argument changed.
2791 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2792 (rmail-mime-insert): Argument changed. Handle raw display mode.
2793 (rmail-mime): Argument changed. Handle toggling of raw display
2795 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2796 rmail-mime-view-buffer.
2797 (rmail-insert-mime-forwarded-message): Likewise.
2798 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2800 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2801 non-nil, handle the header in rmail-show-mime-function.
2803 2011-01-02 Leo <sdl.web@gmail.com>
2805 * help-fns.el (describe-variable): Fix previous change.
2807 2011-01-02 Juri Linkov <juri@jurta.org>
2809 * isearch.el (isearch-lazy-highlight-error): New variable.
2810 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2811 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2812 to the current value of `isearch-error' (Bug#7468).
2814 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2816 * help-fns.el (describe-variable): Don't emit trailing whitespace
2819 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2821 * textmodes/rst.el (rst-compile-pdf-preview)
2822 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2824 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2826 * emulation/edt-mapper.el: Override mapping of function keys so
2827 that the later call to read-key-sequence works.
2829 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2831 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2832 Unix EOLs. (Bug#7589)
2834 2011-01-02 Leo <sdl.web@gmail.com>
2836 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2837 if point is not behind eshell-last-output-end (Bug#7585).
2839 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2841 * files.el (file-local-variables-alist):
2842 Make permanent-local (bug#7767).
2844 2011-01-02 Glenn Morris <rgm@gnu.org>
2846 * version.el (emacs-copyright): Set short copyright year to 2011.
2848 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2850 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2851 an existing temp buffer. (Bug#7746)
2853 2011-01-02 Glenn Morris <rgm@gnu.org>
2855 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2856 multiple addresses. (Bug#7760)
2858 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2860 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2861 do-auto-fill if everything points back to allout-auto-fill.
2862 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2863 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2865 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2867 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2870 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2872 * doc-view.el (doc-view-set-doc-type): New function refactored
2874 (doc-view-fallback-mode): New function.
2875 (doc-view-mode): Use it.
2876 (doc-view-mode-maybe): New function that checks if doc-view-mode
2877 can be used and falls back to the next best mode otherwise.
2879 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2880 DVI, OpenDocument, and MS Office files.
2882 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2884 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2886 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2888 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2889 on a copy of auto-mode-alist, because that deletes with side
2892 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2894 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2895 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2896 fallback instead of hard coding fundamental mode.
2898 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2900 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2901 Office) files also for searching.
2903 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2905 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2906 Office) files. Not yet enabled via auto-mode-list.
2907 (doc-view-unoconv-program): New custom variable.
2908 (doc-view-mode-p): Handle new odf document type.
2909 (doc-view-odf->pdf): New conversion function.
2910 (doc-view-convert-current-doc): Call it for odf files.
2911 (doc-view-mode): Recognize newly supported file extensions.
2913 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2915 * net/tramp.el (tramp-default-method-alist)
2916 (tramp-default-user-alist)
2917 (tramp-local-host-regexp, tramp-prefix-domain-format)
2918 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2921 * net/tramp-gvfs.el:
2923 * net/tramp-imap.el:
2925 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2926 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2928 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2930 * saveplace.el (save-place-alist-to-file): Save list sorted and
2931 pretty-printed, so that it is mergeable by line-based text merging,
2932 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2934 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2936 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2937 (allout-mode): Argument "toggle" => "force".
2938 Refine the docstring.
2939 Remove special provisions for reactivation, besides the 'force'
2941 Consolidate layout provisions coce directly into the activation
2942 condition branch, now that we've removed those provisions.
2943 (allout-unload-function): Explicitly activate the mode before
2944 deactivating, if it's initially deactivated.
2945 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2946 warnings for version of function used only where
2947 set-buffer-multibyte is unavailable.
2949 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2951 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2952 are handled by the menu-bar entries. As before, don't use
2953 :visibile to avoid changing the tool-bar.
2955 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2957 * net/secrets.el (secrets-delete-alias): New defun.
2959 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2961 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2962 methods, otherwise ~/.ssh/config would be ignored.
2964 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * emacs-lisp/rx.el: Make it a superset of sregex.
2967 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2968 of args, add `regex' alias.
2969 (rx-info): Add arg to distinguish head and standalone forms.
2970 (rx-check, rx-form): Pass the corresponding arg.
2972 (rx-repeat): Make it work for any number of args.
2973 (rx-syntax): Make it accept syntax chars as is.
2974 * obsolete/sregex.el: Move from emacs-lisp/.
2975 * emacs-lisp/re-builder.el: Remove sregex support.
2976 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2978 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2980 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2981 PRIMARY first, then the clipboard. (Bug#7699)
2983 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2988 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2990 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2991 .emacs.elc (Bug#7530).
2993 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2994 image spec (Bug#7480).
2996 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2998 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2999 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3002 2010-12-20 Leo <sdl.web@gmail.com>
3004 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3005 always be performed (Bug#7680).
3007 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3009 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3010 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3013 * color.el: Move from gnus/.
3015 * vc/diff.el (diff-better-file-name): Function deleted.
3016 abbreviating file names causes problems with shell-quote-argument.
3017 (diff-no-select): Just use expand-file-name.
3019 * tool-bar.el (tool-bar--image-expression): New function.
3020 (tool-bar-local-item, tool-bar--image-exp): Use it.
3021 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3022 Use :enable instead of :visible to avoid changing the tool-bar
3023 configuration unnecessarily.
3025 * info.el (info-tool-bar-map): Add separators.
3027 2010-12-17 Ken Brown <kbrown@cornell.edu>
3029 * loadup.el: Use version numbers in Cygwin build.
3031 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3033 * ido.el (ido-file-internal): Ask for confirmation before
3034 overwriting an existing file (Bug#1238).
3036 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3038 * tool-bar.el (tool-bar-setup): Add separators.
3040 * menu-bar.el (featurep): Use menu-bar-separator.
3042 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3044 Migrate allout encryption provisions from pgg to epg.
3046 * allout.el (allout-toggle-current-subtree-encryption)
3047 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3048 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3049 for simpler universal argument interpretation.
3050 (allout-toggle-subtree-encryption): Adjust docstring to describe
3051 changed encryption provisions. Change fetch-pass to keymode-cue, for
3052 simpler universal argument interpretation. Remove provisions for
3053 handling key type and identity - they'll all be within
3054 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3055 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3056 for keypair recipients (universal argument > 1) and, in addition,
3057 associating the specified recipients with the outline (universal
3058 argument > 4) using a file local variable setting for
3059 'epa-file-encrypt-to'.
3060 Require epa, for recipients handling.
3061 Change how regexp filtering elements are named.
3062 Describe the problem with caching of incorrect symmetric-decryption
3064 Use the epa-passphrase-callback-function, in case the user is using
3066 Support saving of the selected keypair recipients when invoked with a
3068 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3070 Establish epg-context with armoring and default epg-protocol.
3071 Remove all passphrase cache, verification, and hinting code.
3072 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3073 No longer used, delete.
3074 (allout-mode): Adjust docstring to describe changed encryption
3075 provisions. Describe the problem with caching of incorrect
3076 symmetric-decryption keys.
3077 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3078 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3079 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3080 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3083 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3085 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3086 key selection prompt; make 'silent as default (Bug#7487).
3088 2010-12-16 Leo <sdl.web@gmail.com>
3090 * eshell/eshell.el (eshell-directory-name):
3091 Use locate-user-emacs-file (Bug#7578).
3093 2010-12-15 Glenn Morris <rgm@gnu.org>
3095 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3097 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3098 Scott Evans <gse@antisleep.com>
3100 * rect.el (rectange--default-line-number-format)
3101 (rectangle-number-line-callback): New functions.
3102 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3104 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3106 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3107 Delete unused variables.
3108 (move-to-column-force): Remove function obsolete since 21.2.
3110 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3112 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3113 (tramp-handle-insert-file-contents): Do not set permanent-local
3116 * net/tramp-cache.el (tramp-persistency-file-name):
3117 Use `locate-user-emacs-file' if fboundp.
3119 * net/tramp-sh.el (tramp-methods): Add "ksu".
3120 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3123 2010-12-14 Glenn Morris <rgm@gnu.org>
3125 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3126 (find-tag-marker-ring): Declare.
3127 (js-find-symbol): Require etags.
3129 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3131 (mail-alias-file): Don't autoload. Doc fix.
3132 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3133 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3134 Mark as obsolete, and risky.
3135 (mail-setup): Simplify.
3137 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3138 * mail/sendmail.el (build-mail-aliases): Update autoload.
3140 * dired.el (dired-trivial-filenames, dired-chown-program)
3141 (dired-auto-revert-buffer): Remove autoload cookies.
3142 * mail/sendmail.el (mail-recover-1): Require 'dired.
3144 * dired.el (dired-subdir-switches, dired-chown-program)
3145 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3146 Make into defcustoms.
3147 (dired-chown-program): Simplify initialization.
3149 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3151 2010-12-13 Romain Francoise <romain@orebokech.com>
3153 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3155 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3157 * net/netrc.el (netrc-point-at-eol): Remove the unused
3158 netrc-point-at-old and netrc-bound-and-true-p bindings.
3159 (netrc-parse): Cache the netrc contents.
3161 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3163 * subr.el (posn-col-row): Evaluate header-line-format in the
3164 context of the POSITION window's buffer.
3166 2010-12-13 Glenn Morris <rgm@gnu.org>
3168 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3169 (with-silent-modifications): Doc fixes.
3171 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3173 * net/tramp.el (tramp-action-password, tramp-process-actions):
3174 Revert previous from. Use `save-restriction'.
3176 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3178 * calendar/diary-lib.el (diary-list-sexp-entries):
3179 Handle case of no newline at end of file. (Bug#7536)
3181 2010-12-13 Glenn Morris <rgm@gnu.org>
3183 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3185 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3187 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3188 (tramp-process-actions): Do not widen.
3190 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3191 Protect buffer-modified value. (Bug#7557)
3193 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3195 * log-edit.el (log-edit-changelog-entries):
3196 Regexp quote filename. (Bug#7505)
3198 2010-12-13 Tom Breton <tehom@panix.com>
3200 * cus-edit.el (custom-save-all):
3201 Bind print-length and print-level to nil. (Bug#7581)
3203 2010-12-13 Glenn Morris <rgm@gnu.org>
3205 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3206 Run hooks to update menu contents. (Bug#7586)
3208 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3209 file names, for the sake of MS Windows. (Bug#7588)
3211 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3213 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3214 empty lines without a leading space.
3216 2010-12-13 Leo <sdl.web@gmail.com>
3218 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3219 while mapping over marks (Bug#6810).
3221 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3223 * image-dired.el (image-dired-db-file)
3224 (image-dired-temp-image-file, image-dired-gallery-dir)
3225 (image-dired-temp-rotate-image-file): Set default values relative
3226 to image-dired-dir (Bug#7518).
3228 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3230 * format.el (format-decode-run-method): Pass args FROM and TO, not
3231 point-min and point-max, to shell-command-on-region (Bug#7488).
3233 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3235 * frame.el (blink-cursor-mode): Make default t for ns.
3237 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3239 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3241 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3243 * comint.el (comint-dynamic-list-input-ring)
3244 (comint-dynamic-complete-filename)
3245 (comint-replace-by-expanded-filename)
3246 (comint-dynamic-simple-complete)
3247 (comint-dynamic-list-filename-completions)
3248 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3250 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3253 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3255 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3258 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3260 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3263 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3265 * files.el (file-relative-name): Handle UNC file names on
3266 DOS/Windows. (Bug#4674)
3268 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3270 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3271 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3272 (epg-context-set-passphrase-callback): Mention that the callback
3273 is not called when used with GnuPG 2.x.
3275 2010-12-13 Glenn Morris <rgm@gnu.org>
3277 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3278 Ensure ps-footer-font-size-internal is initialized.
3279 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3281 2010-12-13 Kenichi Handa <handa@m17n.org>
3283 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3284 within condition-case.
3285 (rmail-show-mime): Don't use condition-case.
3286 (rmail-search-mime-message): New function.
3287 (rmail-search-mime-message-function): Set to
3288 rmail-search-mime-message.
3290 2010-12-13 Leo <sdl.web@gmail.com>
3292 * ido.el (ido-common-initialization): New function. (bug#3274)
3294 (ido-completing-read): Call it.
3296 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3298 * bookmark.el (bookmark-name-from-full-record): Rename back to
3299 this original name from `bookmark-name-from-record' reverting part
3300 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3301 As Drew Adams pointed out, there was no reason to cause churn for
3302 third-party callers. (Bug#7609)
3304 2010-12-12 Alan Mackenzie <acm@muc.de>
3306 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3307 template arglist, check that the current language supports this.
3309 2010-12-11 Glenn Morris <rgm@gnu.org>
3311 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3312 state of the file matches. (Bug#7544)
3313 (vc-bzr-register, vc-bzr-checkin)
3314 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3315 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3317 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3319 2010-12-11 Karel Klíč <kklic@redhat.com>
3321 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3323 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3325 Derive from prog-mode, use derived-mode-p, and fix up various
3326 minor style issues in lisp/progmodes.
3328 * progmodes/vhdl-mode.el (vhdl-mode):
3329 * progmodes/verilog-mode.el (verilog-mode):
3330 * progmodes/vera-mode.el (vera-mode):
3331 * progmodes/sql.el (sql-mode):
3332 * progmodes/scheme.el (scheme-mode):
3333 * progmodes/perl-mode.el (perl-mode):
3334 * progmodes/octave-inf.el (inferior-octave-mode):
3335 * progmodes/autoconf.el (autoconf-mode):
3336 * progmodes/m4-mode.el (m4-mode):
3337 * progmodes/inf-lisp.el (inferior-lisp-mode):
3338 * progmodes/idlwave.el (idlwave-mode):
3339 * progmodes/icon.el (icon-mode):
3340 * progmodes/idlw-help.el (idlwave-help-mode):
3341 * progmodes/dcl-mode.el (dcl-mode):
3342 * progmodes/idlw-shell.el (idlwave-shell-mode):
3343 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3344 (ebrowse-member-mode, ebrowse-electric-position-mode):
3345 Use define-derived-mode.
3347 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3348 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3349 (xscheme-debugger-mode-p, xscheme-send-string-1):
3350 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3351 (tcl-load-file, tcl-restart-with-file):
3352 * progmodes/ps-mode.el (ps-run-running):
3353 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3354 * progmodes/js.el (js--get-all-known-symbols):
3355 * progmodes/inf-lisp.el (inferior-lisp-proc):
3356 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3357 (idlwave-template, idlwave-update-buffer-routine-info)
3358 (idlwave-update-current-buffer-info)
3359 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3360 (idlwave-scan-class-info, idlwave-fix-keywords)
3361 (idlwave-list-buffer-load-path-shadows):
3362 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3363 (idlwave-toolbar-remove):
3364 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3365 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3366 (idlwave-shell-menu-def):
3367 * progmodes/idlw-complete-structtag.el
3368 (idlwave-prepare-structure-tag-completion):
3369 * progmodes/gud.el (gud-set-buffer):
3370 * progmodes/f90.el (f90-backslash-not-special):
3371 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3373 * progmodes/xscheme.el (xscheme-start)
3374 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3375 * progmodes/which-func.el (which-function):
3376 * progmodes/vhdl-mode.el (vhdl-set-style):
3377 * progmodes/verilog-mode.el (verilog-set-compile-command)
3378 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3379 (verilog-set-define, verilog-auto-reeval-locals):
3380 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3381 * progmodes/simula.el (simula-mode):
3382 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3383 * progmodes/python.el (python-check, python-mode):
3384 * progmodes/prolog.el (prolog-mode-variables):
3385 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3386 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3387 * progmodes/delphi.el (delphi-mode):
3388 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3389 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3390 (c-font-lock-init): Move make-local-variable to their setq.
3392 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3393 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3395 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3396 (sh-set-shell): Don't set require-final-newline since it's already done
3398 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3399 since we never set it.
3400 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3401 Use read-string and standard prompt.
3402 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3403 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3404 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3405 (meta-common-mode-map): Rename from meta-mode-map.
3406 Remove C-m binding, which is a user preference, not mode specific.
3407 (meta-common-mode): New major mode; replace meta-common-initialization.
3408 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3409 around with font-lock.
3410 * progmodes/etags.el (select-tags-table-mode):
3411 Derive from special-mode.
3412 * progmodes/octave-mod.el (octave-mode):
3413 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3414 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3415 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3416 Let define-derived-mode do its job.
3417 * progmodes/cpp.el (cpp-edit-mode-map):
3418 Move initialization into declaration.
3419 (cpp-edit-mode): Use define-derived-mode.
3420 (cpp-edit-load): Use derived-mode-p.
3421 * progmodes/mixal-mode.el (mixal-mode):
3422 * progmodes/f90.el (f90-mode):
3423 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3424 require-final-newline since prog-mode does it already.
3425 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3426 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3427 * progmodes/antlr-mode.el: Require cc-mode upfront.
3428 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3430 (antlr-directory-dependencies, antlr-show-makefile-rules):
3432 (antlr-language-option): Don't assume point-min==1.
3433 (antlr-mode): Use define-derived-mode.
3434 * progmodes/ada-mode.el: Use derived-mode-p.
3435 (ada-mode): Use define-derived-mode.
3436 Use hack-local-variables-hook.
3438 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3440 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3441 (texinfo-mode): Don't disable adaptive-fill-mode.
3442 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3443 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3444 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3445 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3446 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3447 (texinfo-insert-@quotation, texinfo-insert-@samp)
3448 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3449 (texinfo-insert-@uref): Use define-skeleton.
3450 (texinfo-insert-@-with-arg): Delete.
3452 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3454 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3455 nil, do quote archive member names. (Bug#6144)
3457 2010-12-10 Glenn Morris <rgm@gnu.org>
3459 * files.el (diff-no-select): Declare.
3461 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3462 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3464 * comint.el (comint-input-ring-file-name): Doc fix.
3466 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3468 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3470 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3471 Use them instead of `nil' and `>', respectively.
3472 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3474 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3475 and menu-bar-positive-p instead of `nil' and `>', respectively.
3478 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3480 * whitespace.el (whitespace-newline-mode): Code fix.
3482 2010-12-09 Glenn Morris <rgm@gnu.org>
3484 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3485 Rename functions without commas, update callers.
3487 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3489 * whitespace.el (whitespace-cleanup-region):
3490 Clean up spaces before tabs. (Bug#7582)
3492 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3494 * bookmark.el: Adjust parameter names and doc strings to resolve
3495 confusion over whether "bookmark" meant a bookmark name or a
3496 bookmark record. Along the way, shorten one function's name for
3497 similar reasons. (Issue #7548)
3498 (bookmark-name-from-record): New name for
3499 `bookmark-name-from-full-record'. All callers changed.
3500 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3501 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3502 (bookmark-get-annotation, bookmark-set-annotation)
3503 (bookmark-get-filename, bookmark-set-filename)
3504 (bookmark-get-position, bookmark-set-position)
3505 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3506 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3507 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3508 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3509 Rename `bookmark' parameter to `bookmark-name-or-record', to
3510 clearly show its role, and shorten or adjust doc strings accordingly.
3511 (bookmark-set-name): Same, and pass the parameter directly to
3512 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3513 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3514 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3515 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3516 and in some cases shorten doc string accordingly.
3517 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3518 and `new-name', and adjust an internal variable to avoid confusion.
3519 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3520 parameter in doc string.
3522 2010-12-08 Glenn Morris <rgm@gnu.org>
3524 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3525 from gdb's history file. (Bug#7575)
3527 * mail/emacsbug.el (report-emacs-bug):
3528 Try to handle some other mail clients.
3530 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3532 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3533 Use string-prefix-p.
3534 (file-name-version-regexp): New var.
3535 (file-name-sans-versions):
3536 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3537 (jka-compr-get-compression-info): Use dolist.
3538 (jka-compr-compression-info-list): Don't bother specifying
3539 version/backup regexps.
3541 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3543 * simple.el (just-one-space): Make argument n default to 1 if
3546 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3548 * electric.el (electric-indent-post-self-insert-function):
3549 Delete trailing newlines even if we don't reindent.
3551 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * minibuffer.el (completion-at-point): Remove the `arg'.
3554 * bindings.el (complete-symbol): Move back from minibuffer.el.
3556 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3558 * simple.el (just-one-space): Delete newlines for negative arg.
3560 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3562 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3563 (ansi-color-filter-apply): Simplify.
3564 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3566 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3568 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3570 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3572 * dired.el (dired-use-ls-dired): Set default to a special
3573 "unspecified" value.
3574 (dired-insert-directory): When called the first time, check
3575 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3577 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3579 * replace.el: Add "collect" feature to occur.
3580 (occur-collect-regexp-history): New var.
3581 (occur-read-primary-args): Return a replace string for nlines,
3583 (occur): Extend the meaning of nlines.
3585 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3587 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3588 (which-func-update-1): Distinguish symbols from strings.
3589 (which-function): Stay within 80 columns.
3591 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3593 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3595 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3597 (comment-style): Use comment-styles's docs to describe values.
3599 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3601 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3602 and ns-show-prefs (Bug#7535).
3604 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3605 bindings (Bug#7535).
3607 2010-12-03 Glenn Morris <rgm@gnu.org>
3609 * nxml/nxml-mode.el: Require rng-nxml.
3610 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3611 Remove declarations.
3613 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3614 * nxml/rng-nxml.el, nxml/rng-valid.el:
3615 Remove leading `*' from defcustom docs.
3617 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3618 (normal-top-level-add-to-load-path, tty-handle-args):
3619 Convert comments to basic doc-strings.
3621 * net/browse-url.el (browse-url-url-at-point)
3622 (browse-url-default-browser): Remove autoload cookies.
3624 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3625 Remove more undefined cl functions.
3627 * vc/diff.el (diff-sentinel): Make new arguments optional.
3628 * ibuf-ext.el (diff-sentinel): Update declaration.
3630 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3632 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3633 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3634 (epg-context-set-passphrase-callback): Mention that the callback
3635 is not called when used with GnuPG 2.x.
3637 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3639 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3640 (tramp-file-name-port): Check also for `tramp-default-port'.
3641 (tramp-get-connection-name): New defun.
3642 (tramp-get-connection-process): Use it.
3643 (tramp-debug-message): Extend function exclude list.
3644 (tramp-drop-volume-letter): Fix doc string.
3646 * net/tramp-cmds.el: Remove solved todo item.
3649 * net/tramp-gvfs.el:
3651 * net/tramp-imap.el:
3652 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3653 and `tramp-default-user-alist', respectively.
3655 * net/tramp-gw.el (tramp-gw-open-connection):
3656 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3658 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3659 `tramp-file-name-port'.
3661 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3662 and "psftp". Exchange "%k" marker with options.
3663 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3664 Compute size of link target.
3665 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3666 `tramp-current-*' up due to gateway methods. Optimize computing of
3667 copy arguments. Use `tramp-get-connection-name' and
3668 `tramp-get-connection-buffer'. Improve debug messages.
3669 (tramp-compute-multi-hops): Remove port determination.
3670 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3672 * net/trampver.el: Update release number.
3674 2010-12-02 Glenn Morris <rgm@gnu.org>
3676 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3677 Avoid infinite loop over windows. (Bug#7492)
3679 * progmodes/flymake.el (flymake-check-file-limit):
3680 Allow nil to mean "no limit".
3681 (flymake-check-patch-master-file-buffer): Update for above change.
3682 Allow a .tex file-name extension to be optional.
3683 (flymake-master-tex-init): Also match \include statements.
3685 2010-11-30 Sam Steingold <sds@gnu.org>
3687 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3688 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3689 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3690 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3691 define-derived-mode').
3692 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3693 users who want to call `nxml-parent-document-set'.
3695 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3697 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3698 stand-alone lines, since that is handled by log-edit-match-to-eoh
3701 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3703 * dired.el (dired-get-filename): Replace backslashes with slashes
3704 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3705 * locate.el (locate-default-make-command-line): Don't consider
3706 drive letter and root directory part of
3707 `directory-listing-before-filename-regexp'. (Bug#7308)
3708 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3710 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3713 of :smie-open/close-alist.
3714 (smie-next-sexp): Make it accept a "start token" as argument.
3715 (smie-indent-keyword): Be careful not to misidentify tokens that span
3716 more than one line, as empty lines. Add argument `token'.
3718 2010-11-27 Kenichi Handa <handa@m17n.org>
3720 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3721 multipart subtypes, insert all as usual.
3723 * mail/rmail.el: Require rfc2047.
3725 2010-11-27 Kenichi Handa <handa@m17n.org>
3727 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3728 (rmail-mime-entity-disposition)
3729 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3730 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3731 (rmail-mime-save): Handle the case that the button's `data' is a
3733 (rmail-mime-insert-text): New function.
3734 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3735 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3736 (rmail-mime-insert-bulk): New function mostly copied from the old
3737 rmail-mime-bulk-handler.
3738 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3739 (rmail-mime-process-multipart): New function mostly copied from
3740 the old rmail-mime-multipart-handler.
3741 (rmail-mime-show): Just call rmail-mime-process.
3742 (rmail-mime-process): New function mostly copied from the old
3744 (rmail-mime-insert-multipart, rmail-mime-parse)
3745 (rmail-mime-insert, rmail-show-mime)
3746 (rmail-insert-mime-forwarded-message)
3747 (rmail-insert-mime-resent-message): New functions.
3748 (rmail-insert-mime-forwarded-message-function): Set to
3749 rmail-insert-mime-forwarded-message.
3750 (rmail-insert-mime-resent-message-function): Set to
3751 rmail-insert-mime-resent-message.
3753 * mail/rmailsum.el: Require rfc2047.
3754 (rmail-header-summary): Handle multiline Subject: field.
3755 (rmail-summary-line-decoder): Change the default to
3756 rfc2047-decode-string.
3758 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3759 (rmail-mime-feature): Change the default to `rmailmm'.
3760 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3761 (rmail-display-labels): Likewise.
3762 (rmail-show-message-1): Check rmail-enable-mime, and use
3763 rmail-show-mime-function for a MIME message. Decode the headers
3764 according to RFC2047.
3766 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3768 * progmodes/which-func.el (which-func-imenu-joiner-function):
3769 Return a string, as expected.
3770 (which-function-mode): Make sure we stop any previous timer before
3773 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3775 * net/tramp.el (tramp-default-method-alist)
3776 (tramp-default-user-alist, tramp-default-proxies-alist):
3777 Adapt custom options type. (Bug#7445)
3779 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3781 * progmodes/python.el: Add Ipython support (Bug#5390).
3782 (python-shell-prompt-alist)
3783 (python-shell-continuation-prompt-alist): New options.
3784 (python--set-prompt-regexp): New function.
3785 (inferior-python-mode, run-python, python-shell):
3786 Require ansi-color. Use python--set-prompt-regexp to set the comint
3787 prompt based on the Python interpreter.
3788 (python--prompt-regexp): New var.
3789 (python-check-comint-prompt)
3790 (python-comint-output-filter-function): Use it.
3791 (run-python): Use a pipe (Bug#5694).
3793 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3795 * progmodes/python.el (run-python): Doc fix.
3796 (python-keep-current-directory-in-path): New var (Bug#7454).
3798 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3800 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3801 Prompt user before actually printing.
3803 2010-11-27 Glenn Morris <rgm@gnu.org>
3805 * startup.el (package-enable-at-startup, package-initialize):
3806 Remove unnecessary declarations.
3808 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3810 * international/characters.el (glyphless-char-display-control):
3811 Exclude newline and TAB from the c0-control group.
3813 2010-11-27 Glenn Morris <rgm@gnu.org>
3815 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3816 (expand-mail-aliases): Remove unnecessary autoload.
3818 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3820 * shell.el (shell-dir-cookie-re): Move definition before use.
3822 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3823 Replace undefined CL functions.
3825 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3827 * simple.el (prog-mode): Set bidi-paragraph-direction to
3830 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3832 2010-11-26 Glenn Morris <rgm@gnu.org>
3834 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3835 diary-outlook-formats can be sensitive to calendar-date-style.
3836 (diary-outlook-formats): Simplify the default setting.
3837 (diary-from-outlook-internal): Pass subject and body as arguments.
3838 Use dolist rather than dotimes. Don't save the diary buffer.
3839 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3840 Pass subject and body as explicit arguments to the -internal function.
3842 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3844 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3845 parsing them. This makes mailto:...?subject=foo\nbar work.
3847 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * vc/diff.el (diff): Fix last change.
3851 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3853 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3854 (pcase--dontcare-upats): New var.
3855 (pcase-let, pcase-let*): Generate better code.
3856 Accept the same bodies as `let'.
3857 (pcase-dolist): New macro.
3858 (pcase--trivial-upat-p): New helper function.
3859 (pcase--expand): Strip leading "(let nil" if any.
3861 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3863 * mail/mailclient.el (browse-url): Require.
3864 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3865 use the external browser function to send the mail (bug#7469).
3867 * net/browse-url.el (browse-url-browser-function): Revert the
3868 default back to the previous value, since the new value broke
3870 (browse-url-mailto-function): New variable for mailto: URLs.
3871 (browse-url): Use the new variable for mailto: URLs.
3873 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3875 * eshell/esh-cmd.el (eshell-parse-command):
3876 * eshell/esh-arg.el (eshell-parse-arguments):
3877 * eshell/em-script.el (eshell-source-file):
3878 Use with-silent-modifications.
3880 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3882 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3883 for a merge location.
3885 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3886 (vc-bzr-merge-branch): Always prompt.
3887 (vc-bzr-async-command): Use the full branch filename.
3889 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * shell.el (shell): Use current-buffer by default if it's already
3892 a shell mode buffer and its process is dead.
3893 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3895 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3897 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3898 Mention that the keywords should be comma separated.
3900 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3902 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3903 Accept optional prefix arg meaning to prompt for a command.
3904 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3905 prefix arg meaning to prompt for a command.
3906 (vc-pull): Alias for vc-update.
3908 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3909 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3910 (vc-bzr-merge-branch): New functions, implementing merge-branch
3911 and pull operations.
3913 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3915 * Makefile.in: Fix up last merge.
3917 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3918 (diff-sentinel): Get them as arguments instead.
3919 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3920 (diff-file-local-copy, diff-better-file-name): New funs.
3921 (diff-no-select): Rename from diff-into-buffer.
3922 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3923 Prefer closures to buffer-local variables.
3924 (diff): Adjust accordingly.
3925 (diff-buffer-with-file): Move from files.el.
3926 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3927 (diff-buffer-internal): Remove.
3928 (diff-buffer-buffer): Remove.
3929 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3930 the buffer name used, and so as not to mess up windows and frames.
3932 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3934 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3935 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3936 (diff-buffer-with-file): Use it.
3937 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3940 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3942 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3943 \ref's or \pageref's value as default instead of initial input.
3945 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3947 * files.el (backup-by-copying-when-mismatch): The default value is
3950 * startup.el (normal-top-level):
3951 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3952 `backup-by-copying-when-mismatch'.
3954 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3956 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3958 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3960 * progmodes/python.el (python-font-lock-keywords):
3961 Highlight top-level augmented assignments (Bug#6445).
3963 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3965 * term/ns-win.el (ns-right-control-modifier)
3966 (ns-right-command-modifier): Defvar them.
3968 * cus-start.el (all): Add ns-right-control-modifier and
3969 ns-right-command-modifier (Bug#7458).
3971 2010-11-20 Glenn Morris <rgm@gnu.org>
3973 * emacs-lisp/authors.el (authors-ignored-files)
3974 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3976 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3978 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3979 (report-emacs-bug-parse-query-results)
3980 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3981 keywords used for querying the bug database to show them in the
3982 existing bugs buffer.
3984 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3986 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3988 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3990 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3992 * international/characters.el (glyphless-char-display-control):
3993 Make it a defcustom, with update-glyphless-char-display as its
3995 (top level): Don't call update-glyphless-char-display.
3997 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3999 Sync with Tramp 2.2.0.
4001 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4002 `file-remote-p' (due to compatibility).
4004 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4005 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4007 * net/trampver.el: Update release number.
4009 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4011 * faces.el (glyphless-char): Define value for `pc'.
4013 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4015 Implemented a bug querying mechanism.
4016 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4017 (report-emacs-bug-create-existing-bugs-buffer)
4018 (report-emacs-bug-parse-query-results)
4019 (report-emacs-bug-query-existing-bugs): New functions.
4021 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4023 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4024 a \ref{} or \pageref{} macro, then use its value as initial input.
4026 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4028 * calc/calc-units.el (math-build-units-table-buffer):
4029 calc/README: Mention that the TeX specific units won't use the
4030 `tex' prefix in TeX mode.
4031 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4032 prefix for units in TeX mode.
4034 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * simple.el (kill-new, kill-append, kill-region):
4037 * comint.el (comint-kill-region): Make the yank-handler argument
4040 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4043 that are both openers (resp. closers) and something else.
4044 (smie-grammar): Loosen definition of valid values.
4045 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4046 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4047 (smie-indent-after-keyword): Adjust users.
4048 (smie-indent-keyword): Don't indent empty lines.
4050 * vc-hg.el (vc-hg-program): New var.
4051 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4052 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4054 2010-11-18 Glenn Morris <rgm@gnu.org>
4056 * emacs-lisp/autoload.el (autoload-find-destination): The function
4057 coding-system-eol-type may return non-numeric values. (Bug#7414)
4059 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4061 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4063 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4065 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4067 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4069 * textmodes/picture.el (picture-mouse-set-point): Don't use
4070 posn-col-row; explicitly compute the motion based on the posn at
4071 the window-start (Bug#7390).
4073 2010-11-18 Glenn Morris <rgm@gnu.org>
4075 * novice.el (disabled-command-function):
4076 Fix 2009-11-15 change. (Bug#7384)
4078 2010-11-18 Glenn Morris <rgm@gnu.org>
4080 * calendar/calendar.el (diary-iso-date-forms): Make elements
4081 mutually exclusive. (Bug#7377)
4083 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4085 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4086 when filling the remaining "unconstrained" values.
4088 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4093 * files.el (safe-local-variable-p): Gracefully handle errors.
4095 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4096 Use smie-indent-virtual when indenting relative to an opener.
4097 (smie-rule-separator): Use smie-rule-parent.
4098 (smie-indent-keyword): Consult rules, even for openers at bol.
4099 (smie-indent-comment-close): Try to align closer's content.
4101 2010-11-18 Glenn Morris <rgm@gnu.org>
4103 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4105 2010-11-18 Glenn Morris <rgm@gnu.org>
4107 * printing.el (pr-menu-bind): Doc fix.
4109 * speedbar.el (speedbar-toggle-images): Doc fix.
4111 * progmodes/python.el (python-shell): Doc fix.
4113 * wid-edit.el (widget-field-use-before-change)
4114 (widget-use-overlay-change): Doc fixes.
4116 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4118 Minor cleanup to improve style.
4119 * textmodes/rst.el (rst-update-section): Use point-marker.
4120 (rst-get-decoration): Eliminate unneeded assignment.
4121 (rst-promote-region, rst-straighten-decorations)
4122 (rst-section-tree, rst-adjust): Use point-marker.
4123 (rst-toc-mode-mouse-goto): Avoid setq.
4124 (rst-shift-region-guts, rst-shift-region-left)
4125 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4126 (rst-convert-bullets-to-enumeration): Use copy-marker.
4128 * minibuffer.el (completion-fail-discreetly): New var.
4129 (completion--do-completion): Use it.
4131 * electric.el (electric-pair-pairs): New var.
4132 (electric-pair-post-self-insert-function): Use it.
4133 (electric-layout-post-self-insert-function): Don't insert a before
4134 newline unless it's actually needed.
4136 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4138 * progmodes/python.el (run-python): Explain why we remove the current
4139 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4141 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4143 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4146 (octave-mode-map): Don't bind ;, SPC, and LF.
4147 (octave-auto-indent, octave-auto-newline): Remove.
4148 (electric-layout-rules): Declare.
4149 (octave-mode): Set electric-layout-rules.
4150 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4151 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4152 (octave-electric-space): Remove.
4154 * electric.el (electric-layout-mode): New minor mode.
4155 (electric--after-char-pos): New function.
4156 (electric-indent-post-self-insert-function): Use it.
4157 (electric-layout-rules): New var.
4158 (electric-layout-post-self-insert-function): New function.
4159 (electric-indent-mode): Make them interact better.
4161 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4163 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4164 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4165 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4167 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4169 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4170 Make sure to check inside the word (Bug#6761).
4172 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4174 * startup.el (command-line): If the cursorColor resource is set,
4175 change the cursor face-spec (Bug#7392).
4177 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4179 The main features of the following allout.el changes are:
4180 - implement user customization for the allout key bindings
4181 - add a customization control by which the user can inhibit use of
4182 a trailing Ctrl-H, so by default it's reserved for use with
4183 describe-prefix-bindings
4184 - adapt to new version of called-interactively-p, while
4185 maintaining backwards compatibility with old version
4186 - fix hotspot navigation so i works properly with meta-modified keys.
4188 * allout.el (allout-keybindings, allout-bind-keys)
4189 (allout-keybindings-binding, allout-prefixed-keybindings)
4190 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4191 (allout-keybindings-list, allout-mode-map-adjustments)
4192 (allout-setup-mode-map): Establish allout-mode keymaps as user
4193 customizable settings, and also establish a customizable setting which
4194 regulates whether or not a trailing control-h is reserved for use with
4195 describe-prefix-bindings - and inhibit it by default, so that control-h
4196 *is* reserved for describe-prefix-bindings unless the user changes it.
4198 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4199 and accurately between modified and unmodified events, and handle
4200 modified events more comprehensively.
4202 * allout.el (allout-substring-no-properties):
4203 Alias to use or provide version of `substring-no-properties'.
4204 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4206 * allout.el (allout-next-single-char-property-change):
4207 Alias to use or provide version of `next-single-char-property-change'.
4208 (allout-annotate-hidden, allout-hide-by-annotation):
4209 Use `allout-next-single-char-property-change'.
4211 * allout.el (allout-select-safe-coding-system):
4212 Alias to use or provide version of `select-safe-coding-system'.
4213 (allout-toggle-subtree-encryption):
4214 Use `allout-select-safe-coding-system'.
4216 * allout.el (allout-set-buffer-multibyte):
4217 Alias to use or provide version of `set-buffer-multibyte'.
4218 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4220 * allout.el (allout-called-interactively-p): Macro for using the
4221 different versions of called-interactively-p identically, depending on
4222 the subroutine's argument signature.
4223 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4224 Use `(interactive "p")' instead of `(called-interactively-p)'.
4226 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4227 (allout-previous-visible-heading, allout-forward-current-level)
4228 (allout-backward-current-level, allout-show-children):
4229 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4231 * allout.el (allout-before-change-handler):
4232 Exempt edits to the (overlaid) character after the allout outline
4233 bullet from edit confirmation prompt.
4235 * allout.el (allout-add-resumptions):
4236 Ensure that it respects correct buffer for keybindings.
4238 * allout.el (allout-beginning-of-line):
4239 Use `allout-previous-single-char-property-change' alias for the sake of
4240 diverse compatibility.
4242 * allout.el (allout-end-of-line):
4243 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4245 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4247 * frame.el (frame-notice-user-settings): Don't clobber other
4248 user-set parameters when calling face-set-after-frame-default in
4249 response to background-color parameter (Bug#7373).
4251 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4253 * international/characters.el (glyphless-char-display-control):
4254 Rename from glyphless-char-control; all users changed. Doc fix.
4255 Signal an error if display method is not one of the recognized
4258 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4260 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4261 (tramp-compat-line-end-position): Remove them.
4263 * net/tramp.el (tramp-parse-rhosts-group)
4264 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4265 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4266 (tramp-parse-netrc-group, tramp-parse-putty-group)
4267 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4268 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4269 (tramp-sh-handle-file-selinux-context)
4270 (tramp-sh-handle-file-name-all-completions)
4271 (tramp-sh-handle-insert-directory)
4272 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4273 (tramp-wait-for-output, tramp-send-command-and-read)
4274 * net/tramp-smb.el (tramp-smb-read-file-entry)
4275 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4277 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4279 (tramp-remote-coding-commands): Add an alternative using "base64
4280 -d -i". This is needed for older base64 versions from GNU
4281 coreutils. Reported by Klaus Reichl
4282 <Klaus.Reichl@thalesgroup.com>.
4284 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4286 * simple.el (count-words-region): New function.
4288 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * shell.el (shell-dir-cookie-re): New custom variable.
4291 (shell-dir-cookie-watcher): New function.
4293 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4294 and compilation-mode (bug#7350).
4296 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4297 highlight when one of them is empty.
4299 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4301 (skeleton-newline): New function.
4302 (skeleton-internal-1): Use it.
4304 * simple.el (open-line): `newline' may strip trailing space.
4306 2010-11-12 Kevin Ryde <user42@zip.com.au>
4308 * international/mule-cmds.el (princ-list): Use mapc.
4310 2010-11-12 Glenn Morris <rgm@gnu.org>
4312 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4313 Use it to replace all instances of "*Compile-Log*".
4315 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4320 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * progmodes/modula2.el: Use SMIE and skeleton.
4323 (m2-mode-syntax-table): (*..*) can be nested.
4324 Add //...\n. Fix paren syntax.
4325 (m2-mode-map): Remove LF and TAB bindings.
4326 (m2-indent): Add safety property.
4327 (m2-smie-grammar): New var.
4328 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4329 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4330 (m2-mode): Use define-derived-mode.
4331 (m2-newline, m2-tab): Remove.
4332 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4333 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4334 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4335 (m2-import): Use define-skeleton.
4337 2010-11-11 Glenn Morris <rgm@gnu.org>
4339 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4341 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4342 (ls-lisp-verbosity): Add custom :set-after property.
4343 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4344 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4345 (ls-lisp-insert-directory): Update caller.
4346 (ls-lisp-set-options): New function.
4347 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4350 * play/landmark.el (lm-prompt-for-move):
4351 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4353 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4355 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4356 (idlwave-study-twins): Prefix dynamic local variable `name'.
4357 (idlwave-routine-twin-compare): Update for above change.
4359 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4360 Prefix dynamic local variables `name', `kwd', and `link'.
4361 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4362 * progmodes/idlw-complete-structtag.el
4363 (idlwave-complete-structure-tag-help):
4364 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4365 (idlwave-complete-sysvar-tag-help)
4366 (idlwave-complete-class-structure-tag-help):
4367 Update for above name changes.
4369 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371 * net/browse-url.el (browse-url-browser-function): Change the
4372 default to use `browse-url-mail' on mailto: URLs.
4374 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4376 * emacs-lisp/package.el (package-read-all-archive-contents):
4377 Reset package-archive-contents to nil before re-reading.
4379 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4381 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4382 already found as misspellings by (flyspell-large-region), just
4383 do highlighting (bug#7322).
4385 2010-11-10 Glenn Morris <rgm@gnu.org>
4387 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4389 * emulation/edt.el (edt-with-position): New macro.
4390 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4391 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4392 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4394 * emulation/tpu-extras.el (tpu-with-position): New macro.
4395 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4397 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4399 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4400 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4401 (texinfo-master-menu, texinfo-insert-node-lines)
4402 (texinfo-multiple-files-update):
4403 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4404 Use line-beginning-position.
4406 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4407 No recent Emacs supports system-type `emx'.
4409 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4410 (ada-command-separator, ada-default-prj-properties)
4411 (ada-find-any-references): Update for above name change.
4413 * dirtrack.el (dirtrack-directory-function)
4414 (dirtrack-canonicalize-function):
4415 * filecache.el (file-cache-completion-ignore-case)
4416 (file-cache-case-fold-search, file-cache-ignore-case):
4417 * term.el (serial-port-is-file-p): Cosmetic change.
4419 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4420 Remove non-existent `windows-95' system-type.
4421 * dired.el (dired-chown-program): Remove non-existent `linux'
4424 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4425 (ping-program-options): Remove non-existent `linux' system-type.
4427 * startup.el (package-initialize): Update declaration.
4429 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4430 (ls-lisp-handle-switches): Use time-less-p.
4431 (ls-lisp-format-time): Use float-time.
4433 * textmodes/remember.el (remember-time-to-seconds): Remove.
4434 (remember-store-in-mailbox): Use float-time.
4436 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4438 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4439 never a real function.
4440 (with-no-warnings): Remove compat stub, now unused.
4441 (time-less-p): Doc fix.
4442 (time-to-number-of-days): Simplify.
4444 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4446 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4447 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4448 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4449 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4450 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4452 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4453 (eshell-shuffle-files, eshell-shorthand-tar-command)
4454 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4455 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4456 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4457 Prefix dynamic local variable `matches'.
4459 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4460 Prefix dynamic local variable `skeleton'.
4462 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4464 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4465 in mail buffer; make yank-action always a command that yanks original
4468 2010-11-09 Glenn Morris <rgm@gnu.org>
4470 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4472 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4474 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4475 completion field (bug#7211).
4477 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4478 Fix handling of backslash escapes.
4479 (python-quote-syntax): Adjust accordingly.
4481 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4483 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4484 (vc-mtn-workfile-branch): Adjust to new output format.
4486 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4488 * international/mule-cmds.el (princ-list): Mark as obsolete.
4490 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4492 * emacs-lisp/smie.el: New package.
4494 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4496 * files.el (backup-by-copying-when-mismatch):
4497 Set `permanent-local' property.
4499 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4500 `permanent-local' property for `backup-by-copying-when-mismatch'.
4502 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4504 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4506 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4508 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4509 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4510 AUTOINOUT for SV style multidimensional arrays, bug294.
4511 Reported by Eric Mastromarchi.
4512 (verilog-preprocess): Use with-current-buffer and
4513 font-lock-fontify-buffer to cleanup style issues.
4515 2010-11-09 Glenn Morris <rgm@gnu.org>
4517 * locate.el (locate, locate-mode): Doc fixes.
4519 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4521 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4522 user for confirmation.
4523 (server-force-stop): Use it.
4524 (server-start): Use server-force-stop for kill-emacs-hook, to
4525 avoid user interaction while killing Emacs.
4527 2010-11-09 Glenn Morris <rgm@gnu.org>
4529 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4530 (meta-indent-line): Simplify.
4532 * vc/emerge.el (emerge-line-number-in-buf):
4533 * textmodes/ispell.el (ispell-region):
4534 * textmodes/fill.el (current-fill-column):
4535 * progmodes/xscheme.el (xscheme-send-current-line):
4536 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4537 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4538 * progmodes/sh-script.el (sh-handle-prev-do):
4539 * progmodes/meta-mode.el (meta-indent-line):
4540 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4542 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4543 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4544 * progmodes/fortran.el (fortran-looking-at-if-then):
4545 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4546 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4547 (cperl-find-pods-heres):
4548 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4549 * net/quickurl.el (quickurl-list-insert):
4550 * net/ldap.el (ldap-search-internal):
4551 * net/eudc.el (eudc-expand-inline):
4552 * mail/sendmail.el (sendmail-send-it):
4553 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4554 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4555 (viper-brac-function):
4556 * calc/calc-yank.el (calc-do-grab-region):
4557 * calc/calc-keypd.el (calc-keypad-press):
4558 * term.el (term-move-columns, term-insert-spaces):
4559 * speedbar.el (speedbar-highlight-one-tag-line):
4560 * simple.el (current-word):
4561 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4562 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4564 * hippie-exp.el (he-line-beg):
4565 * epa.el (epa--marked-keys):
4566 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4567 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4568 (dired-relist-entry):
4569 * buff-menu.el (Buffer-menu-buffer):
4570 * array.el (current-line):
4571 * allout.el (allout-resolve-xref)
4572 (allout-latex-verbatim-quote-curr-line):
4573 Replace yet more uses of end-of-line etc with line-end-position, etc.
4575 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4577 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4578 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4579 (checkdoc-syntax-table): Initialize in the declaration.
4580 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4581 the mode on unconditionally.
4583 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4584 (extent-end-position, extent-start-position): Remove setf method for
4585 non-existing functions (bug#7319).
4587 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4590 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4591 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4592 (smie-prec2->grammar): Rename from smie-prec2-levels.
4593 (smie-grammar): Rename from smie-op-levels.
4594 (smie-indent--hanging-p): Rename from smie-hanging-p.
4595 (smie-rule-hanging-p): New alias.
4596 (smie-indent--bolp): Rename from smie-bolp.
4597 (smie-indent--hanging-p): New alias.
4598 (smie--token): New dynamically bound variable.
4599 (smie-indent--parent): New function.
4600 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4601 (smie-rule-next-p): Rename from smie-next-p.
4602 (smie-rule-prev-p): Rename from smie-prev-p.
4603 (smie-rule-sibling-p, smie-rule-parent)
4604 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4605 (smie-rule-separator-outdent): New var.
4606 (smie-indent--rule): Merge with smie-indent--column.
4607 (smie-indent-forward-token, smie-indent-backward-token):
4608 Also recognize close parens.
4609 (smie-indent-keyword): Don't use smie-indent--column any more.
4610 (smie-indent-after-keyword): Ignore closers by default.
4611 (smie-indent-line): Use with-demoted-errors.
4612 * progmodes/octave-mod.el (octave-smie-grammar):
4613 Rename from octave-smie-op-levels.
4614 (octave-smie-rules): Adjust to new behavior.
4615 * progmodes/prolog.el (prolog-smie-grammar):
4616 Rename from prolog-smie-op-levels.
4618 2010-11-07 Glenn Morris <rgm@gnu.org>
4620 * eshell/esh-util.el (subst-char-in-string)
4621 (directory-files-and-attributes): These compatibility definitions are
4622 not needed on any version of Emacs since at least 21.4.
4624 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4625 (verilog-get-end-of-line): Remove.
4626 (verilog-within-string, verilog-re-search-forward-substr)
4627 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4628 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4629 Use point-at-bol, point-at-eol.
4630 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4632 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4633 (electric-pascal-terminate-line, pascal-set-auto-comments)
4634 (pascal-indent-paramlist, pascal-indent-declaration)
4635 (pascal-get-lineup-indent, pascal-func-completion)
4636 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4637 Use point-at-bol, point-at-eol.
4638 * progmodes/flymake.el (flymake-line-beginning-position)
4639 (flymake-line-end-position): Remove.
4640 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4641 * eshell/esh-util.el (line-end-position, line-beginning-position):
4642 Remove compat definitions.
4644 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4646 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4647 Use line-end-position.
4649 * emacs-lisp/chart.el (chart-zap-chars):
4650 * play/decipher.el (decipher-set-map):
4651 * progmodes/ada-mode.el (ada-get-current-indent)
4652 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4653 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4654 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4655 (ada-get-all-references):
4656 * progmodes/cperl-mode.el (cperl-electric-paren)
4657 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4658 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4659 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4660 (cperl-word-at-point-hard):
4661 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4662 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4663 (idlwave-shell-display-line):
4664 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4665 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4666 * progmodes/js.el (js--re-search-forward-inner)
4667 (js--re-search-backward-inner):
4668 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4669 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4670 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4671 * textmodes/flyspell.el (flyspell-process-localwords):
4672 * textmodes/ispell.el (ispell-buffer-local-parsing)
4673 (ispell-buffer-local-dict, ispell-buffer-local-words):
4674 Use point-at-bol and point-at-eol.
4676 * speedbar.el (speedbar-generic-item-info)
4677 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4678 (speedbar-add-indicator, speedbar-check-vc-this-line)
4679 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4680 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4681 Replace more uses of end-of-line etc with line-end-position.
4683 2010-11-06 Glenn Morris <rgm@gnu.org>
4685 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4686 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4687 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4688 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4689 (texinfo-multiple-files-update):
4690 * textmodes/table.el (table--probe-cell-left-up)
4691 (table--probe-cell-right-bottom):
4692 * textmodes/picture.el (picture-tab-search):
4693 * textmodes/page-ext.el (pages-copy-header-and-position)
4694 (pages-directory-for-addresses):
4695 * progmodes/vera-mode.el (vera-get-offset):
4696 * progmodes/simula.el (simula-calculate-indent):
4697 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4698 * progmodes/prolog.el (end-of-prolog-clause):
4699 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4700 * progmodes/icon.el (indent-icon-exp):
4701 * progmodes/etags.el (tag-re-match-p):
4702 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4703 * progmodes/ebnf2ps.el (ebnf-begin-file):
4704 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4705 (dcl-save-local-variable):
4706 * play/life.el (life-setup):
4707 * play/gametree.el (gametree-looking-at-ply):
4708 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4709 * mail/sendmail.el (mail-mode-auto-fill):
4710 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4711 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4712 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4713 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4714 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4715 * type-break.el (type-break-file-keystroke-count):
4716 * term.el (term-replace-by-expanded-history-before-point)
4717 (term-skip-prompt, term-extract-string):
4718 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4719 (speedbar-contract-line, speedbar-toggle-line-expansion)
4720 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4721 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4722 * sort.el (sort-skip-fields):
4723 * skeleton.el (skeleton-internal-list):
4724 * simple.el (line-move-finish, line-move-to-column):
4725 * shell.el (shell-forward-command):
4726 * misc.el (copy-from-above-command):
4727 * makesum.el (double-column):
4728 * ebuff-menu.el (electric-buffer-update-highlight):
4729 * dired.el (dired-move-to-end-of-filename):
4730 * dframe.el (dframe-popup-kludge):
4731 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4732 * arc-mode.el (archive-get-lineno):
4733 Use line-end-position and line-beginning-position.
4735 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4736 (idlwave-study-twins): Prefix dynamic local `class'.
4737 (idlwave-routine-twin-compare): Update for above name change.
4739 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4740 Use boundp tests to silence compiler. Update for changed name of
4741 bytecomp-filename variable.
4743 * emulation/viper-cmd.el (viper-read-string-with-history):
4744 Prefix dynamic local `initial'.
4745 (viper-minibuffer-standard-hook): Update for above name change.
4747 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4748 (elint-init-form): Update for above name change.
4750 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4751 local variables `cbeg' and `cend' a prefix.
4752 (mail-extr-voodoo): Update for above name change.
4754 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4755 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4756 (reftex-toc-promote-action): Doc fix.
4758 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4759 `prompt', `data' a prefix.
4760 (reftex-select-post-command-hook, reftex-select-callback)
4761 (reftex-select-mouse-accept, reftex-select-read-cite):
4762 Update for above name changes.
4764 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4765 `refstyle' to reftex-refstyle.
4766 (reftex-offer-label-menu): Update for above name change.
4767 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4768 `refstyle' name change.
4770 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4771 with with-current-buffer.
4772 (diff, template): Give dynamic local variables a prefix.
4773 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4774 (emerge-line-number-in-buf): Update for above name change.
4775 (emerge-combine-versions-internal): Rename local `template' to
4776 emerge-combine-template.
4777 (emerge-combine-versions-edit): Update for above name change.
4779 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4781 * textmodes/reftex-cite.el
4782 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4783 entries with whitespace after \bibitem.
4784 (reftex-create-bibtex-file): Match entries containing numbers and
4785 symbol constituents. Make sure that entries with whitespace at
4786 various places are found.
4788 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4790 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4792 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4794 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4796 2010-11-05 Glenn Morris <rgm@gnu.org>
4798 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4799 (woman2-roff-buffer): Give local variable `request' a prefix.
4800 (woman0-macro): Rename argument `request' in the same way.
4801 (woman-request): New name for `request' dynamic variable.
4802 (woman-unquote, woman-forward-arg): Update for above name change.
4803 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4804 (woman1-unquote): New name for `unquote' dynamic variable.
4805 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4806 (woman-translations): Rename from `translations'. No longer global.
4807 (woman2-tr, woman-translate): Update for above name change.
4808 (woman-translate): Check for bound variable.
4809 (woman2-roff-buffer): Give local variable `translations' a prefix.
4811 * play/doctor.el: Give all local variables a prefix. Update callers.
4812 (doc$, doctor-put-meaning): Use backquote.
4814 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4815 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4817 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4818 variables bytes, ptr, op a prefix.
4819 (disassemble-offset): Update for above change.
4821 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4823 * emacs-lisp/package.el (package-unpack): Remove no-op.
4824 (package--builtins, package--dir): Doc fix.
4825 (package-activate-1, package-activate, package-install)
4826 (package-compute-transaction): Fix error message.
4827 (package-delete): Use delete-directory. Omit system packages.
4828 (package-initialize): Set package-alist to nil first.
4829 (package-menu-mark-delete, package-menu-mark-install): Don't add
4830 symbols that are inconsistent with the package state.
4831 (package-menu-execute): Perform deletions and installations as
4832 single batch operations.
4834 2010-11-03 Glenn Morris <rgm@gnu.org>
4836 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4837 (props): Remove unnecessary declaration.
4839 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4840 set-process-query-on-exit-flag.
4842 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4843 (reftex-toc-do-promote): Remove unused local `mpos'.
4844 (reftex-toc-restore-region): Make `mpos' local to this function.
4846 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4848 * play/landmark.el (lm-losing-threshold): Correct spelling.
4849 (lm-human-plays): Use new name.
4851 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4852 (gomoku-human-plays): Use new name.
4854 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4855 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4856 (gomoku-score-trans-table, gomoku-winning-threshold)
4857 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4859 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4861 * emacs-lisp/package.el: Don't put built-in packages in
4862 package-alist, to avoid loading inefficiencies.
4863 (package-built-in-p): Make VERSION optional, and treat it as a
4864 minimum acceptable version.
4865 (package-activate): Search separately for built-in packages.
4866 Emit a warning if a dependency fails.
4867 (define-package): Handle most common case, where there is no
4868 obsolete package, first.
4869 (package-compute-transaction): Print required version in error.
4870 (package--initialized): New variable.
4871 (list-packages): Use it.
4872 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4873 built-in packages in packages-alist; keep it separate.
4874 Set package--initialized.
4875 (describe-package): Avoid activating packages as a side-effect.
4876 Search separately for built-in packages.
4877 (describe-package-1): Handle the case where an elpa package is
4878 simultaneously built-in and available/installed.
4879 (package-installed-p, package--generate-package-list):
4880 Search separately for built-in packages.
4881 (package-load-descriptor): Doc fix.
4883 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4885 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4886 Handle __DATA__ and __END__.
4888 2010-11-02 Noah Friedman <friedman@splode.com>
4890 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4891 nil, do not ask to recompile files that are not already compiled,
4892 and do not recompile them.
4894 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4896 * emacs-lisp/package.el (package-initialize): Ensure that
4897 obsoleted built-in packages are not in package-activated-list
4899 (describe-package-1): Make the "installed" status override
4902 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4904 * subr.el (version-separator, version-regexp-alist): Remove '*'
4906 (version-list-<=, version<=, version=): Doc fix.
4908 2010-11-01 Kenichi Handa <handa@m17n.org>
4910 * faces.el (glyphless-char): Inherit underline for tty.
4912 2010-11-01 Kenichi Handa <handa@m17n.org>
4914 Implement various display methods for glyphless characters.
4916 * international/characters.el (char-acronym-table): New variable.
4917 (glyphless-char-control): New variable.
4918 (update-glyphless-char-display): New function.
4920 * faces.el (glyphless-char): New face.
4922 2010-11-01 Glenn Morris <rgm@gnu.org>
4924 * calendar/holidays.el (general-holidays, oriental-holidays)
4925 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4926 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4927 the definitions of their targets.
4929 * emacs-lisp/smie.el (smie): New custom group.
4930 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4932 * faces.el (xw-defined-colors, x-setup-function-keys):
4933 * mouse-sel.el (x-select-text):
4934 * term/w32console.el (x-setup-function-keys): Update declarations.
4936 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4938 * textmodes/ispell.el (comment-add): Declare.
4940 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4943 * info.el (finder-keywords-hash, package-alist): Declare.
4945 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4947 * finder.el (finder-compile-keywords): Don't use intern-soft,
4948 since package names may not yet exist in the obarray.
4950 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4952 * vc/vc-arch.el (vc-arch-checkin):
4953 * vc/vc-cvs.el (vc-cvs-checkin):
4954 * vc/vc-mtn.el (vc-mtn-checkin):
4955 * vc/vc-rcs.el (vc-rcs-checkin):
4956 * vc/vc-sccs.el (vc-sccs-checkin):
4957 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4958 since 2010-04-21 commit by Stefan Monnier.
4960 2010-11-01 Glenn Morris <rgm@gnu.org>
4962 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4964 * startup.el (package-enable-at-startup, package-initialize):
4967 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4970 2010-10-31 Julien Danjou <julien@danjou.info>
4972 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4973 (byte-recompile-directory):
4974 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4975 Use `byte-recompile-file'.
4977 2010-10-31 Glenn Morris <rgm@gnu.org>
4979 * cus-start.el: Handle standard values via a keyword.
4980 Only set version property if specified.
4981 (cursor-in-non-selected-windows, menu-bar-mode)
4982 (tool-bar-mode, show-trailing-whitespace):
4983 Do not specify standard values.
4984 (transient-mark-mode, temporary-file-directory): Use :standard.
4986 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4988 * term/x-win.el (x-get-selection-value): New function that gets
4989 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4991 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4993 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4994 preserve owner and group when editing files. (Bug#7289)
4996 2010-10-31 Glenn Morris <rgm@gnu.org>
4998 * speedbar.el (speedbar-mode):
4999 * play/fortune.el (fortune-in-buffer, fortune):
5000 * play/gomoku.el (gomoku-mode):
5001 * play/landmark.el (lm-mode):
5002 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5003 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5005 * select.el (x-selection): Mark it as an obsolete alias.
5007 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5009 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5010 major-mode (bug#7284).
5012 2010-10-31 Glenn Morris <rgm@gnu.org>
5014 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5015 rather than just an unused variable that inherits from the real one.
5017 2010-10-31 Alan Mackenzie <acm@muc.de>
5019 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5020 This fixes bug #7185.
5022 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5024 * startup.el (command-line): Search for package directories, and
5025 don't load package.el if none are found.
5027 * emacs-lisp/package.el (describe-package, list-packages):
5028 Call package-initialize if it has not been called yet.
5030 2010-10-30 Alan Mackenzie <acm@muc.de>
5032 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5033 which fontifies the tail of an enum.
5034 (c-basic-matchers-after): Insert a call to the above new function.
5035 This fixes bug #7264.
5037 2010-10-30 Glenn Morris <rgm@gnu.org>
5039 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5040 tool-bar-mode, transient-mark-mode. (Bug#7306)
5041 Include the :set property in the dumped Emacs.
5043 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5045 SMIE: change indent rules format, improve smie-setup.
5046 * emacs-lisp/smie.el (smie-precs-precedence-table)
5047 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5048 Mark them pure so the tables gets built at compile time.
5049 (smie-bnf-precedence-table): Store the closer-alist in the table.
5050 (smie-prec2-levels): Preserve the closer-alist.
5051 (smie-blink-matching-open): Be more forgiving in case of indentation.
5052 (smie-hanging-p): Rename from smie-indent--hanging-p.
5053 (smie-bolp): Rename from smie-indent--bolp.
5054 (smie--parent, smie--after): New dynamic vars.
5055 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5056 (smie-indent-rules): Remove.
5057 (smie-indent--offset-rule): Remove fun.
5058 (smie-rules-function): New var.
5059 (smie-indent--rule): New fun.
5060 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5061 (smie-indent-exps): Use it.
5062 (smie-setup): Setup paren blinking; add keyword args for token
5063 functions; extract closer-alist from op-levels.
5064 (smie-indent-debug-log): Remove var.
5065 (smie-indent-debug): Remove fun.
5066 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5067 (prolog-smie-rules): New fun to replace it.
5068 (prolog-mode-variables): Simplify.
5069 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5070 it's setup automatically.
5071 (octave-smie-indent-rules): Remove.
5072 (octave-smie-rules): New fun to replace it.
5073 (octave-mode): Simplify.
5075 2010-10-29 Glenn Morris <rgm@gnu.org>
5077 * files.el (temporary-file-directory): Remove (already defined in C).
5078 * cus-start.el: Add temporary-file-directory.
5080 * abbrev.el (abbrev-mode):
5081 * composite.el (auto-composition-mode):
5082 * menu-bar.el (menu-bar-mode):
5083 * simple.el (transient-mark-mode):
5084 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5085 that they do not define the associated variables twice.
5086 * simple.el (transient-mark-mode): Remove defvar.
5087 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5088 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5089 Handle multiple groups, and also custom-delayed-init-variables.
5090 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5092 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5094 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5095 (pcase-if): Add one minor optimization.
5096 (pcase-split-equal): Rename from pcase-split-eq.
5097 (pcase-split-member): Rename from pcase-split-memq.
5098 (pcase-u1): Add strings to the member optimization.
5099 Add `guard' variant of predicates.
5100 (pcase-q1): Add string patterns.
5102 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5104 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5106 2010-10-28 Glenn Morris <rgm@gnu.org>
5108 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5109 Move menu-bar related settings to ../menu-bar.el.
5110 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5111 Move ns-specific settings here from term/ns-win.el.
5113 * simple.el (x-selection-owner-p): Remove unused declaration.
5115 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5117 * minibuffer.el (completion-cycling): New var (bug#7266).
5118 (minibuffer-complete, completion--do-completion):
5119 Use completion--flush-all-sorted-completions.
5120 (minibuffer-complete): Only cycle if completion-cycling is set.
5121 (completion--flush-all-sorted-completions): Unset completion-cycling.
5122 (minibuffer-force-complete): Set completion-cycling.
5123 (completion-all-sorted-completions): Move declaration before first use.
5125 2010-10-28 Leo <sdl.web@gmail.com>
5127 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5128 which changes the order of matches seen by users (bug#7231).
5130 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5132 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5133 Don't confuse -omega as "-o mega".
5135 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5138 (log-edit-author): New dynamic var.
5139 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5140 to return the author if different from committer.
5141 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5143 * play/landmark.el: Adjust commenting convention.
5144 (lm-nil-score): Rename from nil-score.
5145 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5146 (OOOOscore): Move into a let in lm-score-trans-table.
5147 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5149 * electric.el (electric-indent-chars): Autoload.
5150 * progmodes/octave-mod.el (octave-mode):
5151 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5152 (ruby-mode-abbrev-table): Merge initialization and declaration.
5154 2010-10-27 Glenn Morris <rgm@gnu.org>
5156 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5159 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5161 * term/ns-win.el: Restore require of cl when compiling.
5162 (menu-bar-final-items): Remove non-existent `windows' menu.
5163 (ns-handle-nxopen): Optionally handle the temp-case.
5164 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5165 (ns-insert-file, ns-find-file): Use `pop'.
5167 2010-10-26 Glenn Morris <rgm@gnu.org>
5169 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5171 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5173 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5175 * term/common-win.el (x-setup-function-keys): Remove most of the
5176 keymappings. Comment on the remaining ones.
5178 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5180 * server.el (server-port): New option. (Bug#854)
5181 (server-start): Use server-port.
5183 2010-10-26 Glenn Morris <rgm@gnu.org>
5185 * term/ns-win.el (ns-version-string): Remove unused declaration.
5186 (ns-invocation-args): Change to x-invocation-args.
5187 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5188 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5189 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5190 Use x-invocation-args instead of ns-invocation-args.
5191 (ns-initialize-window-system, handle-args-function-alist):
5192 Use x-handle-args instead of ns-handle-args.
5193 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5194 * startup.el (command-line-ns-option-alist): Replace
5195 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5196 ns-handle-iconic with the x- equivalents.
5198 * term/common-win.el (x-select-enable-clipboard):
5199 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5201 * term/ns-win.el: No need to require cl when compiling.
5202 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5203 (xw-defined-colors): Use the common-win definitions.
5204 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5205 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5206 * term/common-win.el (x-select-text, x-alternatives-map)
5207 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5208 * loadup.el [ns]: Load common-win.
5210 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5212 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5213 recipients; expand mail aliases (Bug#7280).
5215 2010-10-25 Glenn Morris <rgm@gnu.org>
5217 * term/common-win.el (x-handle-switch): Simplify with pop.
5218 Optionally handle numeric switches.
5219 (x-handle-numeric-switch): Just call x-handle-switch.
5220 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5221 (x-handle-name-switch, x-handle-display, x-handle-args):
5224 * term/ns-win.el: Do not require easymenu.
5225 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5226 <spell>: Move adjustments to menu-bar.el.
5227 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5228 <separator-undo, spell>: Move ns-win's adjustments here.
5229 * loadup.el [ns]: Do not load easymenu.
5231 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5233 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5236 * startup.el (fancy-startup-tail): Instead of using inline images,
5237 refer to image files from etc/.
5239 * wid-edit.el (checkbox): Likewise.
5240 (widget-image-find): Center image specs.
5242 2010-10-24 Glenn Morris <rgm@gnu.org>
5244 * term/ns-win.el (x-select-text): Doc fix.
5245 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5246 (x-select-text): Move to term/common-win.
5247 * term/w32-win.el (xw-defined-colors): Move to common-win.
5248 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5249 (x-setup-function-keys, x-select-text): Move to common-win.
5250 * term/common-win.el (x-select-text, x-alternatives-map)
5251 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5254 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5256 * net/mairix.el (mairix-searches-mode-map):
5257 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5259 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5261 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5262 auto-built for efficiency of execution and updating.
5263 (verilog-extended-complete-re): Support 'pure' fucntion & task
5264 declarations (these have no bodies).
5265 (verilog-beg-of-statement): General cleanup to enable support of
5266 'pure' fucntion & task declarations (these have no bodies).
5267 These efforts together fix Verilog bug210 from veripool; which was also
5268 noticed by Steve Pearlmutter.
5269 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5270 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5271 Support `elsif. Reported by Shankar Giri.
5272 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5273 attribute handling for lining up declarations and assignments.
5274 (verilog-beg-of-statement-1): Fix issue where continued declaration
5275 is indented differently if it is after a begin..end clock.
5276 (verilog-in-attribute-p, verilog-skip-backward-comments)
5277 (verilog-skip-forward-comment-p): Support proper treatment of
5278 attributes by indent code. Reported by Jeff Steele.
5279 (verilog-in-directive-p): Fix comment to correctly describe function.
5280 (verilog-backward-up-list, verilog-in-struct-region-p)
5281 (verilog-backward-token, verilog-in-struct-p)
5282 (verilog-in-coverage-p, verilog-do-indent)
5283 (verilog-pretty-declarations): Use verilog-backward-up-list as
5284 wrapper around backward-up-list inorder to properly skip comments.
5285 Reported by David Rogoff.
5286 (verilog-property-re, verilog-endcomment-reason-re)
5287 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5288 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5289 of if). Reported by Max Bjurling and
5290 (verilog-calc-1): Fix for clocking block in modport
5291 declaration. Reported by Brian Hunter.
5293 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5295 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5296 (verilog-gate-keywords, verilog-read-sub-decls)
5297 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5298 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5299 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5300 (verilog-read-decls): Fix spaces in V2K module parameters causing
5301 mis-identification as interfaces, bug287.
5302 (verilog-read-decls): Fix not treating "parameter string" as a
5303 parameter in AUTOINSTPARAM.
5304 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5305 treating `elsif similar to `endif inside AUTOSENSE.
5306 (verilog-do-indent): Implement correct automatic or static task or
5307 function end comment highlight. Reported by Steve Pearlmutter.
5308 (verilog-font-lock-keywords-2): Fix highlighting of single
5309 character pins, bug264. Reported by Michael Laajanen.
5310 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5311 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5312 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5313 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5314 (verilog-pretty-expr): Fix interactive arguments, bug272.
5315 Reported by Mark Johnson.
5316 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5317 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5318 bug269. Suggested by Gary Delp.
5319 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5320 (verilog-preprocessor, verilog-set-compile-command):
5321 Create verilog-preprocess and verilog-preprocessor to show
5322 preprocessed output.
5323 (verilog-get-beg-of-line, verilog-get-end-of-line)
5324 (verilog-modi-file-or-buffer, verilog-modi-name)
5325 (verilog-modi-point, verilog-within-string): Move defmacro's
5326 before first use to avoid warning. Reported by Steve Pearlmutter.
5327 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5328 (verilog-colorize-region, verilog-highlight-buffer)
5329 (verilog-highlight-includes, verilog-highlight-modules)
5330 (verilog-highlight-region, verilog-mode): Rename colorize to
5331 highlight to match other packages. Disable module highlighting,
5332 as received speed complaints, reenable for experimentation only
5333 using new verilog-highlight-modules.
5334 (verilog-read-decls): Fix regexp stack overflow in very large
5335 AUTO_TEMPLATEs, bug250.
5336 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5337 (verilog-scan): Create verilog-save-buffer-state to standardize
5338 making insignificant changes that shouldn't call hooks.
5339 (verilog-save-no-change-functions, verilog-save-scan-cache)
5340 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5341 Create verilog-save-no-change-functions to wrap verilog-scan
5342 preservation, and fix to work with nested preserved calls.
5343 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5344 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5345 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5346 (verilog-submit-bug-report): Update variable list to be complete.
5347 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5348 breaking on-the-fly font-locking.
5349 (verilog-colorize-buffer, verilog-colorize-include-files)
5350 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5351 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5352 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5353 AUTOINST cell instance name, middle mouse button now finds-file on
5354 it. Suggested by Brad Dobbie.
5355 (verilog-alw-get-temps, verilog-auto-reset)
5356 (verilog-auto-sense-sigs, verilog-read-always-signals)
5357 (verilog-read-always-signals-recurse): Fix loop indexes being
5358 AUTORESET. AUTORESET now assumes any variables in the
5359 initialization section of a for() should be ignored.
5360 Reported by Dan Dever.
5361 (verilog-error-font-lock-keywords)
5362 (verilog-error-regexp-emacs-alist)
5363 (verilog-error-regexp-xemacs-alist): Fix error detection of
5364 Cadence HAL, reported by David Asher. Repair drift between the
5365 three similar error variables.
5366 (verilog-modi-lookup, verilog-modi-lookup-cache)
5367 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5368 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5369 Fix slow verilog-auto expansion on very large files.
5370 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5371 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5372 "{1*2{...". Broke in last revision.
5373 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5374 submodule connections with replications "{#{a},#{b}}".
5376 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5378 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5379 Fix typo in docstring.
5381 2010-10-24 Kenichi Handa <handa@m17n.org>
5383 * face-remap.el (text-scale-adjust): Call read-event with a proper
5386 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5388 * emacs-lisp/unsafep.el: Don't mark functions that display
5389 messages as safe. Suggested by Johan Bockgård.
5391 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5393 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5394 Turn comments into docstrings.
5396 * minibuffer.el (completion--replace): Move point where it belongs
5397 when there's a common suffix (bug#7215).
5399 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5401 Merge read-color and facemenu-read-color (Bug#7242).
5403 * faces.el (read-color): Use the completion code from
5404 facemenu-read-color. Require match in completion. Doc fix.
5406 * facemenu.el (facemenu-read-color): Alias for read-color.
5407 (facemenu-set-foreground, facemenu-set-background):
5410 * frame.el (set-background-color, set-foreground-color)
5411 (set-cursor-color, set-mouse-color, set-border-color):
5414 2010-10-24 Leo <sdl.web@gmail.com>
5416 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5417 argument of delete-file and delete-directory (Bug#7011).
5419 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5421 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5424 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5426 * emacs-lisp/package.el (package--generate-package-list): Make the
5427 *Packages* buffer read-only.
5429 2010-10-24 Alan Mackenzie <acm@muc.de>
5431 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5432 result of `c-beginning-of-decl-1' between invocations of a lambda
5433 function (Bug #7265).
5435 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5437 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5438 executable is not available on the system (Bug#7268).
5440 2010-10-24 Glenn Morris <rgm@gnu.org>
5442 * select.el (selection-coding-system, next-selection-coding-system):
5443 Sync doc with C versions.
5445 * w32-vars.el (x-select-enable-clipboard):
5446 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5447 * term/common-win.el (x-select-enable-clipboard): Move here.
5449 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5450 definition of C variable.
5452 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5453 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5454 Don't redefine things that are defined in C.
5455 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5456 (show-trailing-whitespace, auto-hscroll-mode)
5457 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5458 Set up the appropriate custom properties.
5460 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5463 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5464 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5465 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5466 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5468 2010-10-23 Glenn Morris <rgm@gnu.org>
5470 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5473 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5474 Sync docs with C version.
5476 * term/ns-win.el (xw-defined-colors):
5477 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5479 * term/pc-win.el (x-select-enable-clipboard):
5480 * term/x-win.el (x-select-enable-clipboard):
5481 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5483 * comint.el (comint-password-prompt-regexp): Make it less vague.
5486 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5488 * help.el (finder-by-keyword): Remove unnecessary autoload.
5490 2010-10-22 Glenn Morris <rgm@gnu.org>
5492 * loadup.el: Unconditionally load float-sup.
5493 * paren.el (show-paren-delay):
5494 * emacs-lisp/float-sup.el:
5495 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5496 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5497 (lazy-lock-stealth-verbose): Assume float support.
5498 * ps-print.el: Assume float support on Emacs.
5499 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5500 Remove non-float branch.
5502 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5503 src/Makefile no longer being pre-processed.
5505 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * emacs-lisp/find-func.el (find-library): Use test-completion.
5509 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5511 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5513 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5515 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5516 space in stat format string.
5517 (tramp-send-command): Unset $PS1 when using here documents, in
5518 order not to get several prompts.
5519 (tramp-get-inline-coding): Return `nil' in case of errors.
5521 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5523 * hexl.el (hexl-mode, hexl-mode-exit):
5524 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5525 (hexl-revert-buffer-function): New function.
5526 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5528 2010-10-19 Alan Mackenzie <acm@muc.de>
5530 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5531 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5532 that these keywords aren't wrongly matched as identifiers.
5534 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5535 setting of c-new-BEG and c-new-END from c-before-change to
5536 c-after-change. (Bug#7181)
5538 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5540 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5543 * custom.el (custom-theme-set-variables): Likewise.
5544 (load-theme): Add custom-theme-set-faces and
5545 custom-theme-set-variables to safe-functions while loading.
5546 (custom-enabled-themes): Mark as risky.
5548 2010-10-18 Julien Danjou <julien@danjou.info>
5550 * bindings.el: Remove end dashes in default mode-line-format.
5552 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5554 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5555 to delete-forward-char.
5557 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5558 deletechar, and hence delete-forward-char.
5560 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * repeat.el (repeat): Use read-key (bug#6256).
5564 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5566 * emacs-lisp/unsafep.el: Don't mark functions that display
5567 messages as safe. Suggested by Johan Bockgård.
5569 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5571 * minibuffer.el (completion--replace): Move point where it belongs
5572 when there's a common suffix (bug#7215).
5574 2010-10-19 Kenichi Handa <handa@m17n.org>
5576 * international/characters.el: Add category '|' (word breakable)
5577 to fullwidth characters.
5579 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5581 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5582 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5583 order to make stat results a float. Patch by Andreas Schwab
5584 <schwab@linux-m68k.org>.
5586 2010-10-18 Julien Danjou <julien@danjou.info>
5588 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5589 hidden by `make-pointer-invisible'.
5591 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5593 * files.el (locate-file-completion-table): Strip non-matching elements
5594 before checking length of list (bug#7238).
5596 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5598 * custom.el (custom-theme-set-variables): Mark as a safe function.
5599 (load-theme): Check forms using unsafep.
5601 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5603 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5605 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5606 Fix aspell data file searching (bug#7230).
5608 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5610 * cus-theme.el (custom-theme--migrate-settings): New var.
5611 (customize-create-theme): Allow editing the `user' theme.
5612 (custom-theme-add-variable, custom-theme-add-var-1)
5613 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5614 to the front of each variable or face widget.
5615 (custom-theme-write): Save theme settings in the correct order.
5616 Optionally, remove saved settings from user customizations.
5617 (custom-theme-write-variables, custom-theme-write-faces):
5618 Save only the checked widgets.
5619 (customize-themes): Add a link for migrating custom settings.
5621 * custom.el (custom-declare-theme, provide-theme):
5622 Use custom-theme-name-valid-p.
5623 (custom-theme-name-valid-p): Remove checks that are now
5624 unnecessary since themes no longer obey load-path.
5626 * cus-edit.el (custom-variable-value-create): For the simple
5627 style, hide documentation string when hidden.
5629 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5631 * cus-edit.el (custom-variable, custom-face): Combine the
5632 :inhibit-magic and :display-style properties into a single
5633 :custom-style property.
5634 (custom-toggle-hide-variable, custom-toggle-hide-face):
5635 New functions. If hiding an edited value, save it to :shown-value.
5636 (custom-variable-value-create, custom-face-value-create): Use them.
5637 (custom-magic-reset): Allow magic property to be unset.
5639 * custom.el: Custom themes no longer use load-path.
5640 (custom-theme-load-path): New option. Change built-in theme
5642 (custom-enabled-themes): Add custom-theme-load-path dependency.
5643 (custom-theme--load-path): New function.
5644 (load-theme, custom-available-themes): Use it.
5646 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5647 (customize-themes): Link to custom-theme-load-path variable.
5648 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5649 :custom-style property.
5651 * themes/*.el: Moved to etc/.
5653 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5655 * textmodes/reftex-cite.el
5656 (reftex-extract-bib-entries-from-thebibliography): Do not move
5657 point when searching for \bibitem entries. Match entries with
5658 spaces or tabs in front of arguments.
5660 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5662 * cus-theme.el (customize-create-theme): Delete overlays after
5663 erasing. If given a THEME arg, display only the faces of that arg
5664 instead of custom-theme--listed-faces.
5665 (custom-theme-variable-menu, custom-theme-variable-action)
5666 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5667 (custom-theme-add-variable, custom-theme-add-face): Apply value
5668 from the theme settings, instead of the current value.
5669 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5670 (custom-theme-visit-theme): Allow calling outside theme buffers.
5671 (custom-theme-merge-theme): Don't enable the theme when merging.
5672 (custom-theme-write-variables, custom-theme-write-faces): Use the
5673 :shown-value properties to save buffer values, not global ones.
5674 (customize-themes): Display a warning about user customizations.
5676 * cus-edit.el (custom-variable-value-create)
5677 (custom-face-value-create): Obey new special properties
5678 :shown-value and :inhibit-magic.
5680 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5682 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5683 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5686 2010-10-14 Kenichi Handa <handa@m17n.org>
5688 * mail/rmail.el (rmail-show-message-1): Catch an error of
5689 base64-decode-region and just show an error message (bug#7165).
5691 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5692 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5693 a font-spec (bug#7197).
5695 2010-10-14 Glenn Morris <rgm@gnu.org>
5697 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5699 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5701 * international/mule.el (define-coding-system):
5702 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5703 * composite.el (compose-region): Fix typo in docstring.
5705 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5707 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5708 only after checking the theme-face property.
5710 * faces.el (face-spec-reset-face): Reset all attributes in one
5711 single call to set-face-attribute.
5712 (face-spec-match-p): Make it a defsubst.
5713 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5714 (x-create-frame-with-faces, tty-create-frame-with-faces)
5715 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5716 frame-set-background-mode, since they are recomputed immediately
5717 afterwards in face-set-after-frame-default.
5718 (face-set-after-frame-default): Minor optimization.
5719 (cursor): Provide non-trivial defface spec.
5721 * custom.el (custom-theme-recalc-face): Simplify.
5723 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5725 * calc/calc-alg.el (math-var): Rename from `var'.
5726 (math-is-polynomial, math-is-poly-rec): Replace `var'
5729 * calc/calcalg2.el (math-var): Rename from `var'.
5730 (calcFunc-table, math-scan-for-limits): Replace `var'
5733 2010-10-13 Glenn Morris <rgm@gnu.org>
5735 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5737 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5739 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5741 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5743 * net/tls.el (tls-program): Remove spurious %s from openssl.
5744 (tls-starttls-switches): Remove starttls hack.
5745 (open-tls-stream): Ditto.
5746 (tls-find-starttls-argument): Ditto.
5748 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5750 * image.el (image-library-alist): Declare as obsolete alias.
5751 (image-type-available-p): Use `dynamic-library-alist'.
5753 * term/w32-win.el (dynamic-library-alist):
5754 Use instead of `image-library-alist'.
5756 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5758 * subr.el (last): Make it faster. (Bug#7174)
5760 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5762 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5764 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5766 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5767 (describe-theme-1): Extract doc from unloaded themes.
5769 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5771 * themes/tango-theme.el:
5772 * themes/tango-dark-theme.el:
5773 * themes/wheatgrass-theme.el: New files.
5775 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5777 * cus-theme.el (describe-theme, customize-themes)
5778 (custom-theme-save): New commands.
5779 (custom-new-theme-mode-map): Bind C-x C-s.
5780 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5781 (customize-create-theme): New optional arg THEME.
5782 (custom-theme-revert): Use it.
5783 (custom-theme-visit-theme): Remove dead code.
5784 (custom-theme-merge-theme): Use custom-available-themes.
5785 (custom-theme-write): Make interactive.
5786 (custom-theme-write): Use custom-theme-name-valid-p.
5787 (describe-theme-1, custom-theme-choose-revert)
5788 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5790 (custom-theme-allow-multiple-selections): New option.
5791 (custom-theme-choose-mode): New major mode.
5793 * custom.el (custom-theme-set-variables): Remove dead code.
5794 Obey custom--inhibit-theme-enable.
5795 (custom--inhibit-theme-enable): New var.
5796 (provide-theme): Obey it.
5797 (load-theme): Replace load with manual read/eval, in order to
5798 check for correctness. Use custom-theme-name-valid-p.
5799 (custom-theme-name-valid-p): New function.
5800 (custom-available-themes): Use it.
5802 * cus-edit.el (custom--initialize-widget-variables): New function.
5803 (Custom-mode): Use it.
5805 * cus-face.el (custom-theme-set-faces): Remove dead code.
5806 Obey custom--inhibit-theme-enable.
5808 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5810 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5812 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5814 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5816 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5817 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5818 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5820 * cus-start.el (all): ns-right-alternate-modifier is new.
5822 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5824 * emacs-lisp/lisp.el (lisp-completion-at-point):
5825 Use emacs-lisp-mode-syntax-table for the whole function.
5827 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5829 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5830 instead of font-lock-mode before adding keywords.
5831 Remove hi-lock-mode off code. Remove inhibit hack.
5832 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5833 non-nil; removed hook inhibit hack.
5835 2010-10-12 Glenn Morris <rgm@gnu.org>
5837 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5838 (load-path-shadows-find): ... to this.
5839 (list-load-path-shadows): Update for above change.
5841 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5843 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5845 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5846 Fix comment for declare-function.
5848 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5850 * custom.el (custom-fix-face-spec): New function; code moved from
5851 custom-face-edit-fix-value.
5852 (custom-push-theme): Use it when checking if a face has been
5853 changed outside customize.
5854 (custom-available-themes): New function.
5855 (load-theme): Use it.
5857 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5859 * custom.el (custom-push-theme): Cleanup (use cond).
5860 (disable-theme): Recompute the saved-face property.
5861 (custom-theme-recalc-face): Follow face alias before setting prop.
5863 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5864 New variables, containing checkbox images.
5866 * startup.el (fancy-startup-tail):
5867 * wid-edit.el (checkbox): Use them.
5869 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5871 * shell.el (shell-mode-map):
5872 * progmodes/modula2.el (m2-mode-map):
5873 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5874 * play/mpuz.el (mpuz-mode-map):
5875 * play/landmark.el (lm-mode-map):
5876 * play/decipher.el (decipher-mode-map):
5877 * play/5x5.el (5x5-mode-map):
5878 * net/telnet.el (telnet-mode-map):
5879 * net/quickurl.el (quickurl-list-mode-map):
5880 * net/mairix.el (mairix-searches-mode-map):
5881 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5882 * net/dig.el (dig-mode-map):
5883 * mail/mspools.el (mspools-mode-map):
5884 * hexl.el (hexl-mode-map):
5885 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5886 (wordstar-C-o-map, wordstar-C-q-map):
5887 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5888 * emacs-lisp/chart.el (chart-map):
5889 * edmacro.el (edmacro-mode-map):
5890 * erc/erc-list.el (erc-list-menu-mode-map):
5891 * array.el (array-mode-map): Declare and define in one step.
5893 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5895 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5897 * epa.el (epa-passphrase-callback-function): Display filename
5898 passed as the 3rd arg.
5899 * epa-file.el (epa-file-passphrase-callback-function):
5900 Pass filename to epa-passphrase-callback-function.
5902 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5904 * cus-edit.el (custom-face-widget-to-spec)
5905 (custom-face-get-current-spec, custom-face-state): New functions.
5906 (custom-face-set, custom-face-mark-to-save)
5907 (custom-face-value-create, custom-face-state-set): Use them.
5909 * cus-theme.el (custom-theme--listed-faces): New var.
5910 (customize-create-theme): Use *Custom Theme* as the buffer name.
5911 Set revert-buffer-function. Optional arg BUFFER. Insert all
5912 faces listed in custom-theme--listed-faces.
5913 (custom-theme-revert): New function.
5914 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5916 (custom-theme-write): Prompt for theme name if empty.
5917 (custom-theme-write-variables): Use dolist.
5918 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5920 2010-10-09 Alan Mackenzie <acm@muc.de>
5922 Enhance fontification of declarators to take account of the
5923 presence/absence of "typedef".
5925 * cc-engine.el (c-forward-type): New &optional param
5927 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5928 presence of either or both of a "struct"-like keyword and "typedef".
5930 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5931 fontification of declarators which follow a "}".
5932 (c-font-lock-declarations): Fontify declarators according to the
5933 presence/absence of "typedef".
5935 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5937 (c-typedef-decl-key): New lang variable built from
5938 c-typedef-decl-kwds.
5940 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5943 since that's too annoying. Move the filter groups commands to
5946 * epa.el (epa-passphrase-callback-function): Say what we're
5947 querying the password for.
5949 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5950 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5952 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5954 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5955 (custom-magic-value-create): Pad button tags with spaces.
5956 (custom-face-edit): New variable.
5957 (custom-face-value-create): Determine whether to use the usual
5958 face editor here, instead of using custom-face-selected.
5959 Pass face defaults to custom-face-edit widget.
5960 (custom-face-selected, custom-display-unselected): Delete widgets.
5961 (custom-display-unselected-match): Function removed.
5962 (custom-face-set, custom-face-mark-to-save):
5963 Accept custom-face-edit widgets as the direct widget child.
5965 * wid-edit.el (widget--completing-widget): New var.
5966 (widget-default-complete): Bind it when doing completion.
5967 (widget-string-complete, widget-file-complete): Use it.
5969 2010-10-09 Glenn Morris <rgm@gnu.org>
5971 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5972 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5973 (holiday-hebrew-misc): Small simplifications.
5975 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5977 * net/browse-url.el: Don't require thingatpt, term, dired,
5978 executable, or w3-auto when compiling.
5979 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5981 (browse-url-text-emacs): Require term.
5983 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5985 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5987 2010-10-08 Glenn Morris <rgm@gnu.org>
5989 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5991 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5992 (shadows-compare-text-p): Make it an obsolete alias for...
5993 (load-path-shadows-compare-text): ... new name.
5994 (find-emacs-lisp-shadows): Update for above name change.
5995 (load-path-shadows-same-file-or-nonexistent): New name for the old
5996 shadow-same-file-or-nonexistent.
5998 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6000 * minibuffer.el (completion--some, completion--do-completion)
6001 (minibuffer-complete-and-exit, minibuffer-completion-help)
6002 (completion-basic-try-completion)
6003 (completion-basic-all-completions)
6004 (completion-pcm--find-all-completions): Use lexical-let to
6005 avoid some false matches in variable completion (Bug#7056)
6007 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6009 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6011 2010-10-08 Leo <sdl.web@gmail.com>
6013 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6014 return non-nil if the file exists (Bug#7090).
6016 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6018 * minibuffer.el (completion--replace):
6019 Better preserve markers (bug#7138).
6021 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6023 * server.el (server-process-filter): Doc fix.
6025 2010-10-08 Drew Adams <drew.adams@oracle.com>
6027 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6029 2010-10-08 Glenn Morris <rgm@gnu.org>
6031 * vc/ediff-wind.el (ediff-setup-control-frame):
6032 * vc/ediff-ptch.el (ediff-default-backup-extension):
6033 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6034 (ediff-exec-process): Remove system-types emx, windows-95.
6036 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6038 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6040 * cus-edit.el (custom-variable, custom-face): Doc fix.
6041 (custom-face-edit): Add value-create attribute.
6042 (custom-face-edit-value-create)
6043 (custom-face-edit-value-visibility-action): New functions.
6044 Hide unused face attributes by default, and add a visibility toggle.
6045 (custom-face-edit-deactivate): Show empty values with shadow face.
6046 (custom-face-selected): Only use this for face specs with default
6048 (custom-face-value-create): Cleanup.
6050 * wid-edit.el (widget-checklist-value-create): Use dolist.
6051 (widget-checklist-match-find): Make second arg optional.
6053 2010-10-07 Glenn Morris <rgm@gnu.org>
6055 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6058 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6059 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6060 load-path-shadows-mode, update references.
6061 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6062 Rename variable and button.
6063 (list-load-path-shadows): Update button caller.
6065 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6067 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6068 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6069 (smie-merge-prec2s): Handle those new entries.
6070 (smie-prec2-levels): Only set precedence to nil for actual
6072 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6073 that is now unnecessary.
6075 2010-10-07 Miles Bader <miles@gnu.org>
6077 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6079 2010-10-07 Glenn Morris <rgm@gnu.org>
6081 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6082 (mail-position-on-field): Remove declarations.
6083 (mail-position-on-field): Autoload it.
6084 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6085 and mail-header-end. Don't require sendmail.
6087 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6088 (shadow-mode): New mode.
6089 (shadow-find-file): New button.
6090 (list-load-path-shadows): Use shadow-mode and buttons.
6092 * iimage.el (iimage-version): Remove.
6093 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6094 Turn into defcustoms.
6095 (iimage-mode-map): Give it a doc string.
6097 * calendar/appt.el (appt-activate): Give a warning rather than an error
6098 if there is no diary-file.
6100 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6102 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6103 Use `tramp-handle-find-backup-file-name'.
6105 2010-10-06 Glenn Morris <rgm@gnu.org>
6107 * font-core.el (font-lock-defaults-alist): Remove variable.
6108 (font-lock-mode): Doc fix.
6109 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6110 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6111 (font-lock-set-defaults): Doc fix.
6112 Do not consult font-lock-defaults-alist.
6114 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6116 * emacs-lisp/cl.el: No longer provide cl-19.
6118 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6120 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6121 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6122 New defuns, taken from tramp-smb.el.
6123 (tramp-coding-system-change-eol-conversion)
6124 (tramp-set-process-query-on-exit-flag): Remove.
6126 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6127 (tramp-compat-coding-system-change-eol-conversion)
6128 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6131 * net/tramp-gvfs.el:
6132 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6133 by `tramp-compat-set-process-query-on-exit-flag'.
6135 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6136 Use `tramp-handle-directory-files-and-attributes',
6137 `tramp-handle-file-exists-p' and
6138 `tramp-handle-file-newer-than-file-p'.
6139 (tramp-imap-handle-file-exists-p)
6140 (tramp-imap-handle-file-executable-p)
6141 (tramp-imap-handle-file-readable-p)
6142 (tramp-imap-handle-directory-files-and-attributes)
6143 (tramp-imap-handle-file-newer-than-file-p): Remove.
6145 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6146 by `tramp-compat-set-process-query-on-exit-flag' and
6147 `tramp-coding-system-change-eol-conversion' by
6148 `tramp-compat-coding-system-change-eol-conversion'.
6150 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6151 Use `tramp-handle-directory-files-and-attributes',
6152 `tramp-handle-file-exists-p' and
6153 `tramp-handle-file-newer-than-file-p'.
6154 (tramp-smb-handle-directory-files-and-attributes)
6155 (tramp-smb-handle-file-exists-p)
6156 (tramp-smb-handle-file-newer-than-file-p): Remove.
6157 (tramp-smb-maybe-open-connection):
6158 Replace `tramp-set-process-query-on-exit-flag' by
6159 `tramp-compat-set-process-query-on-exit-flag'.
6161 2010-10-05 Glenn Morris <rgm@gnu.org>
6163 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6165 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6167 Continue reorganization of load dependencies. (Bug#7156)
6169 * net/tramp.el (tramp-handle-file-local-copy-hook)
6170 (tramp-delete-temp-file-function): Move down.
6171 (tramp-exists-file-name-handler): Move up.
6172 (tramp-register-file-name-handlers): Simplify autoload.
6173 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6174 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6175 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6176 (tramp-handle-file-name-completion)
6177 (tramp-handle-file-name-directory)
6178 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6179 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6180 (tramp-handle-find-backup-file-name)
6181 (tramp-handle-insert-file-contents, tramp-handle-load)
6182 (tramp-handle-substitute-in-file-name)
6183 (tramp-handle-unhandled-file-name-directory)
6184 (tramp-mode-string-to-int, tramp-local-host-p)
6185 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6187 * net/tramp-gvfs.el (top):
6188 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6190 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6191 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6193 2010-10-04 Glenn Morris <rgm@gnu.org>
6195 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6196 (appt-activate): Give status messages.
6198 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6200 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6201 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6202 `gnutls-negotiate' (formerly `starttls-negotiate').
6203 Remove trivial wrapper `starttls-open-stream'.
6205 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6207 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6208 log-outgoing commands.
6209 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6210 to create a buffer local revert-buffer-function variable.
6211 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6212 revert-buffer-function lambda.
6214 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6216 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6217 `gnutls-boot'. Make TYPE the only required parameter.
6218 Allow TRUSTFILES and KEYFILES to be lists.
6219 (open-ssl-stream): Use it.
6221 2010-10-03 Glenn Morris <rgm@gnu.org>
6223 * subr.el (directory-sep-char): Remove obsolete variable.
6224 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6227 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6228 * vc/vc.el (vc-static-header-alist): Doc fix.
6229 * vc/vc-cvs.el (vc-cvs-header):
6230 * vc/vc-rcs.el (vc-rcs-header):
6231 * vc/vc-sccs.el (vc-sccs-header):
6232 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6233 * obsolete/vc-mcvs.el (vc-mcvs-header):
6234 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6237 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6239 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6240 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6242 2010-10-03 Glenn Morris <rgm@gnu.org>
6244 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6246 * textmodes/rst.el (rst-font-lock-keywords-function):
6249 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6251 * printing.el: Drop Emacs 20 code.
6253 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6254 without having used appt.el already).
6256 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6257 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6258 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6260 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6261 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6263 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6264 (charset-width, find-charset-region, chars-in-region, forward-point)
6265 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6266 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6267 Remove compatibility cruft (none of these are used by ps*.el).
6269 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6271 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6273 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6275 * server.el (server-process-filter, server-return-error):
6276 Give emacsclient time to shut down after receiving an error string.
6278 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6280 * files.el (remote-file-name-inhibit-cache): New defcustom.
6282 * time.el (display-time-file-nonempty-p):
6283 Use `remote-file-name-inhibit-cache'.
6285 * net/tramp.el (tramp-completion-reread-directory-timeout):
6288 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6289 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6290 `remote-file-name-inhibit-cache'. Check also for an integer
6291 value. Add/increase counter when `tramp-verbose' >= 10.
6292 (tramp-set-file-property): Add/increase counter when
6293 `tramp-verbose' >= 10.
6295 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6296 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6297 (tramp-bug): Set tramp-autoload cookie. Report all interned
6298 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6299 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6300 characters only in strings.
6302 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6303 to backward compatibility.
6305 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6306 (tramp-handle-file-name-all-completions)
6307 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6308 (tramp-open-connection-setup-interactive-shell):
6309 Call `tramp-cleanup-connection' directly.
6311 2010-10-02 Glenn Morris <rgm@gnu.org>
6313 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6315 * subr.el (char-bytes): Remove obsolete function.
6317 * isearch.el (isearch-return-char): Remove obsolete function.
6319 * mouse.el: No longer provide mldrag.
6320 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6321 Remove obsolete aliases.
6323 * comint.el (comint-kill-output): Remove obsolete alias.
6325 * composite.el (decompose-composite-char): Remove obsolete function.
6326 * ps-def.el (decompose-composite-char): Remove unused function.
6328 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6330 * outline.el (outline-visible): Remove obsolete function.
6332 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6333 * faces.el (internal-find-face, internal-get-face)
6334 (frame-update-faces, frame-update-face-colors)
6335 (x-frob-font-weight, x-frob-font-slant)
6336 (internal-frob-font-weight, internal-frob-font-slant)
6337 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6338 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6339 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6341 * emulation/viper-util.el (viper-get-face):
6342 * obsolete/lucid.el (find-face, get-face): Use facep.
6343 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6344 Remove unused functions.
6345 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6347 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6348 delete tempfile if interrupted during compilation.
6350 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6352 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6354 (tls-program): Add --insecure to be consistent with the defaults from
6355 openssl s_client. Now all three commands are insecure.
6357 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6359 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6360 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6361 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6363 2010-10-01 Glenn Morris <rgm@gnu.org>
6365 * obsolete/sc.el: Remove file.
6367 * files.el (temporary-file-directory): On darwin, also try
6368 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6370 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6372 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6373 Let's not break compatibility gratuitously, shall we?
6375 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6377 * net/tls.el (tls-starttls-switches): New variable.
6378 (tls-find-starttls-argument): Use it.
6379 (open-tls-stream): Ditto.
6381 * net/netrc.el (netrc-credentials): Return the value of the "default"
6383 (netrc-machine): Ditto.
6385 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6387 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6389 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6391 * server.el (server-start): Don't write pid to the authentication file.
6392 (server-create-tty-frame): Don't send pid.
6393 (server-process-filter): Send pid at the start of every connection.
6395 2010-09-30 Glenn Morris <rgm@gnu.org>
6397 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6398 (show-all-diary-entries): Remove obsolete function aliases.
6400 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6401 Remove options, obsolete since 22.1.
6402 (appt-display-format, appt-display-message):
6403 Remove backwards-compatibility code.
6404 (appt-check): No longer check appt-issue-message.
6405 (appt-make-list): No longer autoload it. Doc fix. No longer
6406 activate the package.
6408 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6410 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6411 (starttls-negotiate): Just call boot, and let the handshake be
6412 triggered from the read loop.
6414 2010-09-29 Glenn Morris <rgm@gnu.org>
6416 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6417 not displaying the diary.
6418 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6419 * calendar/appt.el (appt-check): No longer need to kill diary.
6421 * calendar/diary-lib.el (diary-list-entries): Move the
6422 "Preparing..." message entirely here.
6423 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6424 messages to diary-list-entries.
6425 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6426 diary-display-function.
6428 * calendar/diary-lib.el (diary-include-other-diary-files):
6429 Trap some recursive includes.
6431 * calendar/appt.el (appt-activate): Check diary file.
6433 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6435 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6438 * calendar/time-date.el: No need to require cl for Emacs 21.
6440 2010-09-28 Glenn Morris <rgm@gnu.org>
6442 * calendar/appt.el (appt-check): Minor simplification.
6444 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6446 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6449 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6451 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6452 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6454 2010-09-27 Kenichi Handa <handa@m17n.org>
6456 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6459 2010-09-27 Kenichi Handa <handa@m17n.org>
6461 * international/mule.el (define-coding-system): Docstring fixed.
6463 * international/mule-diag.el (describe-character-set): Use princ
6464 with proper print-length and print-level instead of insert.
6466 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6468 * window.el (walk-windows): Doc fix (bug#7105).
6470 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * emacs-lisp/float-sup.el (e): Remove.
6474 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6476 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6478 (starttls-negotiate): Use it.
6480 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6482 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6485 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6489 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6491 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6493 * net/netrc.el (netrc-store-data): New function.
6495 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6497 * net/gnutls.el: GnuTLS glue code to set up a connection.
6499 2010-09-25 Julien Danjou <julien@danjou.info>
6501 * notifications.el: Call dbus-register-signal only if it is bound.
6503 2010-09-25 Glenn Morris <rgm@gnu.org>
6505 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6506 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6507 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6508 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6509 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6510 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6511 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6512 * eshell/esh-util.el, eshell/esh-var.el:
6513 Remove leading `*' from docs of faces and defcustoms.
6515 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6517 * eshell/em-ls.el (eshell-ls-archive-regexp):
6518 * eshell/esh-util.el (eshell-tar-regexp):
6519 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6520 * info.el (Info-suffix-list):
6521 * international/mule.el (auto-coding-alist):
6522 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6523 * progmodes/etags.el (tags-compression-info-list):
6524 Support xz compression.
6526 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6528 * files.el (get-free-disk-space): Don't assume the "df" output
6529 columns line up (Bug#6995).
6531 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6533 * finder.el (finder-unknown-keywords):
6534 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6535 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6537 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6539 * server.el (server-start): Revert part of 2010-08-08 change. Using
6540 address 127.0.0.1 for local host is now done in Fmake_network_process.
6542 2010-09-24 Glenn Morris <rgm@gnu.org>
6544 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6545 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6546 * textmodes/css-mode.el, textmodes/dns-mode.el:
6547 Move autoloaded auto-mode-alist entries to files.el.
6548 * files.el (auto-mode-alist): Move entries here.
6550 2010-09-23 Glenn Morris <rgm@gnu.org>
6552 * isearch.el (isearch-lazy-highlight-cleanup)
6553 (isearch-lazy-highlight-initial-delay)
6554 (isearch-lazy-highlight-interval)
6555 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6556 * net/net-utils.el (ipconfig-program-options):
6557 Move aliases to options before the associated definitions.
6559 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6561 * newcomment.el (comment-normalize-vars): Better test validity of
6564 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6566 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6567 (float-e): New name for `e'.
6568 (degrees-to-radians, radians-to-degrees):
6569 * calendar/solar.el (solar-longitude):
6570 * calculator.el (calculator-registers, calculator-funcall):
6571 * textmodes/artist.el (artist-spray-random-points):
6572 * play/bubbles.el (bubbles--initialize-images): Use new names.
6574 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6576 Update to CEDET 1.0's version of EIEIO.
6578 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6580 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6581 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6582 (class-precedence-list): If class is nil, return nil.
6583 (eieio-generic-call): If class of first input arg is nil, don't
6584 look up static methods, and do check for primary methods.
6585 (initialize-instance): See if the default needs to be evaluated
6586 during the constructor.
6587 (eieio-perform-slot-validation-for-default): Don't do the check
6588 for values that will eventually be evaluated.
6589 (eieio-eval-default-p): New function.
6590 (eieio-default-eval-maybe): Use it.
6592 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6594 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6595 method-invocation-order.
6596 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6597 (eieio-class-precedence-dfs): Compute class precedence list using
6599 (eieio-class-precedence-bfs): Compute class precedence list using
6601 (eieio-class-precedence-c3): Compute class precedence list using
6603 (class-precedence-list): New function.
6604 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6605 (inconsistent-class-hierarchy): New error symbol.
6606 (call-next-method): Stow the replacement argument list for future
6607 call-next-method invocations.
6609 2010-09-23 Glenn Morris <rgm@gnu.org>
6611 * calendar/appt.el (appt-check): If not displaying the diary,
6612 use (diary 1) to only get the entries we need.
6613 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6614 that it is in day order. (Bug#7019)
6616 * calendar/appt.el (appt-check): Rather than showing the diary,
6617 just turn off invisible display, and only if needed.
6619 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6621 2010-09-23 Glenn Morris <rgm@gnu.org>
6623 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6624 (byte-compile-defvar, byte-compile-cl-warn):
6625 Start warnings with lower-case, like the majority.
6627 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6629 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6631 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6632 * files.el (auto-mode-alist): Move ld-script entries here, further down
6635 * vc/add-log.el: Don't require timezone when compiling.
6636 (timezone-make-date-sortable): Autoload it.
6637 (change-log-sortable-date-at): Don't require timezone.
6638 Use `ignore-errors'.
6640 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6641 Move alias before definition, so it does not need autoloading.
6643 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6644 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6645 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6646 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6647 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6648 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6649 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6650 * textmodes/tex-mode.el, textmodes/two-column.el:
6651 Remove leading `*' from docs of defcustoms etc.
6653 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6655 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6657 2010-09-22 Dan Christensen <jdc@uwo.ca>
6659 * calendar/time-date.el (date-to-time): Try using parse-time-string
6660 first before using the slower timezone-make-date-arpa-standard.
6662 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6664 * calendar/time-date.el (format-seconds): Comment fix.
6666 2010-09-22 Glenn Morris <rgm@gnu.org>
6668 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6669 is not automatically buffer-local.
6671 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6673 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6674 (smie-indent-comment): Be more careful with comment-start-skip.
6675 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6676 (smie-indent-functions): Use them.
6678 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6680 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6682 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6684 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6685 tool-bar-position. Don't modify frame parameters here.
6686 (menu-bar-options-save): Add tool-bar-position.
6688 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6690 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6692 * textmodes/reftex-parse.el (reftex-what-macro)
6693 (reftex-context-substring): Let-bind forward-sexp-function to nil
6694 since we don't need/want to treat \begin...\end as a block (bug#7053).
6696 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6698 * simple.el (blink-matching-open): Use syntax-class.
6700 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6701 Set invisibility spec for pascal's outline mode.
6702 (pascal-outline-change): Clean up calling convention.
6703 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6705 * progmodes/prolog.el (prolog-smie-forward-token)
6706 (prolog-smie-backward-token): New functions.
6707 (prolog-mode-variables): Use them to parse "!," correctly.
6708 Set up smie-blink-matching for ".".
6710 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6712 (ispell-region, ispell-process-line): Update users.
6714 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6717 * textmodes/ispell.el: Fix commenting convention.
6718 (ispell-parse-output): Simplify, use push.
6719 (ispell-region): Use match-string-no-properties.
6720 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6721 (ispell-minor-mode): Use define-minor-mode.
6722 (ispell-message): Remove unused var `skip-regexp'.
6723 (ispell-add-per-file-word-list): Use dynamic let-binding.
6724 Try and use the proper comment marker.
6726 * mail/sendmail.el: Fix commenting convention.
6727 (sendmail-send-it): Use line-beginning-position.
6729 * help-fns.el (describe-variable): Add original value, if applicable.
6731 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6733 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6735 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6737 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6739 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6740 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6741 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6742 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6743 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6744 something like "." can also be a closer.
6745 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6746 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6747 Rename internal functions to use "--". Update callers.
6749 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6751 * fringe.el (fringe-styles): New var.
6752 (fringe-mode, fringe-query-style): Use it.
6754 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6756 * progmodes/sql.el: Version 2.8
6757 (sql-login-params): Update widget structure; changes still needed.
6758 (sql-product-alist): Add :list-all and :list-table features for
6759 SQLite, Postgres and MySQL products.
6760 (sql-redirect): Handle default value.
6761 (sql-execute, sql-execute-feature): New functions.
6762 (sql-read-table-name): New function.
6763 (sql-list-all, sql-list-table): New functions. User API.
6764 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6765 for above functions.
6766 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6767 for above functions.
6768 (sql-postgres-login-params): Add user and database defaults.
6769 (sql-buffer-live-p): Bug fix.
6770 (sql-product-history): New variable.
6771 (sql-read-product): New function. Use it.
6772 (sql-set-product, sql-product-interactive): Use it.
6773 (sql-connection-history): New variable.
6774 (sql-read-connection): New function. Use it.
6775 (sql-connect): New function.
6776 (sql-for-each-login): Redesign function interface.
6777 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6778 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6779 (sql-comint): Check for program. Existing live buffer.
6780 (sql-comint-postgres): Add port parameter.
6782 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * emacs-lisp/warnings.el: Fix commenting convention.
6785 (display-warning): Use special mode and make the buffer read-only.
6787 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6789 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6790 empty string when it follows a repeated or optional pattern.
6792 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6795 (indent-region): Use indent-according-to-mode.
6797 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6799 * fringe.el (fringe-mode): Doc fix.
6801 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6803 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6804 refreshing the preview buffer.
6806 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6808 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6809 (latex-syntax-propertize-rules): New consts; replace
6810 tex-font-lock-syntactic-keywords.
6811 (tex-env-mark, latex-env-before-change): New functions.
6812 (latex-electric-env-pair-mode): New minor mode.
6813 (tex-font-lock-verb): Change arguments; do move point.
6814 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6815 representation as a form of comment.
6816 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6817 (doctex-syntax-propertize-rules): New const; replaces
6818 doctex-font-lock-syntactic-keywords.
6819 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6821 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6822 (fortran-make-syntax-propertize-function): New function; replaces
6823 fortran-font-lock-syntactic-keywords.
6824 (fortran-mode): Use it.
6825 (fortran-line-length): Use it. Improve interactive spec.
6827 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6828 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6829 when adding surrounding \(..\).
6831 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6833 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6835 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6836 Use with-current-buffer.
6838 * isearch.el (isearch-face): Rename from `isearch'.
6839 (isearch-highlight): Use new name.
6841 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6843 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6844 5, for `half' width fringes. (Bug#6933)
6846 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6849 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6851 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6853 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6855 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6856 in calculating new frame position. Add more space between new and
6857 parent on the left (Bug#7048).
6859 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6861 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6864 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6866 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6868 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6869 obsolete alias for x-selection-value.
6871 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6873 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6875 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6878 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6880 * net/tramp-compat.el (tramp-compat-with-temp-message)
6881 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6882 (tramp-compat-process-put): New defuns.
6884 * net/tramp.el (top):
6885 * net/tramp-gvfs.el (top):
6886 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6888 * net/tramp.el (tramp-progress-reporter-update):
6889 Use `tramp-compat-funcall'.
6891 * net/tramp.el (tramp-process-actions):
6892 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6893 * net/tramp-sh.el (tramp-handle-vc-registered)
6894 (tramp-get-remote-stat, tramp-get-remote-readlink):
6895 Use `tramp-compat-with-temp-message'.
6897 * net/tramp-sh.el (top): Require 'cl.
6898 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6899 (tramp-open-connection-setup-interactive-shell):
6900 Use `tramp-compat-process-put'.
6902 2010-09-15 Alan Mackenzie <acm@muc.de>
6904 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6906 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6908 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6910 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6911 `lexical' for warnings related to lexical scoping.
6912 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6913 global vars which don't have a prefix and could hence affect lexical
6914 scoping in unrelated files.
6916 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6918 * net/imap.el: Revert back to version
6919 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6922 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6924 * obsolete/old-whitespace.el (whitespace-unload-function):
6925 Explicitly pass `obarray' to `unintern' to avoid a warning.
6927 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6929 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6930 Add `when' argument. Update callers.
6932 * subr.el (unintern): Declare the obarray arg mandatory.
6934 2010-09-14 Glenn Morris <rgm@gnu.org>
6936 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6939 * calendar/diary-lib.el (diary-included-files): New variable.
6940 (diary-list-entries): Maybe initialize diary-included-files.
6941 (diary-include-other-diary-files): Append to diary-included-files.
6942 * calendar/appt.el (appt-update-list): Also check the members of
6943 diary-included-files. (Bug#6999)
6944 (appt-check): Doc fix.
6946 2010-09-14 David Reitter <david.reitter@gmail.com>
6948 * simple.el (line-move-visual): Do not truncate goal column to
6949 integer size. (Bug#7020)
6951 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6953 * repeat.el (repeat): Allow repeating when the last event is a click.
6954 Suggested by Drew Adams (bug#6256).
6956 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6958 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6959 Replace setting HGRCPATH to "" by some less invasive --config options.
6961 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * font-lock.el (font-lock-beginning-of-syntax-function):
6966 2010-09-14 Glenn Morris <rgm@gnu.org>
6968 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6969 and tool-bar modes. (Bug#6211)
6970 (menu-bar-mode): Move setting of standard-value after the
6971 minor-mode definition, otherwise it seems to have no effect.
6973 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6975 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6976 Fix typo. (Bug#6976)
6978 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6980 * whitespace.el: Allow cleaning up blanks without blank
6981 visualization (Bug#6651). Adjust help window for
6982 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6983 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6984 (whitespace-style): Add new value 'face. Adjust docstring.
6985 (whitespace-space, whitespace-hspace, whitespace-tab):
6986 Adjust foreground property face.
6987 (whitespace-line-column): Adjust docstring and type declaration.
6988 (whitespace-style-value-list, whitespace-toggle-option-alist)
6989 (whitespace-help-text): Adjust const initialization.
6990 (whitespace-toggle-options, global-whitespace-toggle-options):
6992 (whitespace-display-window, whitespace-interactive-char)
6993 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6994 (whitespace-help-scroll): New fun.
6996 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6998 * calendar/time-date.el (format-seconds): Comment fix.
7000 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7002 * progmodes/sql.el: Version 2.7.
7003 (sql-buffer-live-p): Improve detection.
7004 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7005 (sql-set-sqli-buffer): Use it.
7006 (sql-product-interactive): Run `sql-set-sqli-hook'.
7007 (sql-rename-buffer): Code cleanup.
7008 (sql-redirect, sql-redirect-value): New functions. More to come.
7010 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7012 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
7013 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7014 (TRAMP_SRC): New macro.
7015 ($(lisp)/net/tramp-loaddefs.el): New target.
7017 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7019 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7021 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7023 * net/tramp.el (top): Don't show loading message. Require just
7024 'tramp-compat, everything else is required there.
7025 Use `ignore-errors' where appropriate.
7026 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7027 (tramp-terminal-type, tramp-end-of-output)
7028 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7029 (tramp-completion-function-alist-ssh)
7030 (tramp-completion-function-alist-telnet)
7031 (tramp-completion-function-alist-su)
7032 (tramp-completion-function-alist-putty, tramp-remote-path)
7033 (tramp-remote-process-environment, tramp-sh-extra-args)
7034 (tramp-actions-before-shell, tramp-uudecode)
7035 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7036 (tramp-perl-file-attributes)
7037 (tramp-perl-directory-files-and-attributes)
7038 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7039 (tramp-perl-encode, tramp-perl-decode)
7040 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7041 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7042 (tramp-handle-make-symbolic-link, tramp-handle-load)
7043 (tramp-handle-file-name-as-directory)
7044 (tramp-handle-file-name-directory)
7045 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7046 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7047 (tramp-do-file-attributes-with-ls)
7048 (tramp-do-file-attributes-with-perl)
7049 (tramp-do-file-attributes-with-stat)
7050 (tramp-handle-set-visited-file-modtime)
7051 (tramp-handle-verify-visited-file-modtime)
7052 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7053 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7054 (tramp-handle-file-selinux-context)
7055 (tramp-handle-set-file-selinux-context)
7056 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7057 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7058 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7059 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7060 (tramp-handle-file-ownership-preserved-p)
7061 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7062 (tramp-handle-directory-files-and-attributes)
7063 (tramp-do-directory-files-and-attributes-with-perl)
7064 (tramp-do-directory-files-and-attributes-with-stat)
7065 (tramp-handle-file-name-all-completions)
7066 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7067 (tramp-handle-copy-file, tramp-handle-copy-directory)
7068 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7069 (tramp-do-copy-or-rename-file-via-buffer)
7070 (tramp-do-copy-or-rename-file-directly)
7071 (tramp-do-copy-or-rename-file-out-of-band)
7072 (tramp-handle-make-directory, tramp-handle-delete-directory)
7073 (tramp-handle-delete-file)
7074 (tramp-handle-dired-recursive-delete-directory)
7075 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7076 (tramp-handle-insert-directory)
7077 (tramp-handle-unhandled-file-name-directory)
7078 (tramp-handle-expand-file-name)
7079 (tramp-handle-substitute-in-file-name)
7080 (tramp-handle-executable-find, tramp-process-sentinel)
7081 (tramp-handle-start-file-process, tramp-handle-process-file)
7082 (tramp-handle-call-process-region, tramp-handle-shell-command)
7083 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7084 (tramp-handle-insert-file-contents)
7085 (tramp-handle-insert-file-contents-literally)
7086 (tramp-handle-find-backup-file-name)
7087 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7088 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7089 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7090 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7091 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7092 (tramp-find-file-exists-command, tramp-open-shell)
7093 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7094 (tramp-open-connection-setup-interactive-shell)
7095 (tramp-local-coding-commands, tramp-remote-coding-commands)
7096 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7097 (tramp-inline-compress-commands, tramp-find-inline-compress)
7098 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7099 (tramp-send-command, tramp-wait-for-output)
7100 (tramp-send-command-and-check, tramp-barf-unless-okay)
7101 (tramp-send-command-and-read, tramp-mode-string-to-int)
7102 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7103 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7104 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7105 (tramp-method-out-of-band-p, tramp-local-host-p)
7106 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7107 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7108 (tramp-get-test-command, tramp-get-test-nt-command)
7109 (tramp-get-file-exists-command, tramp-get-remote-ln)
7110 (tramp-get-remote-perl, tramp-get-remote-stat)
7111 (tramp-get-remote-readlink, tramp-get-remote-trash)
7112 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7113 (tramp-get-local-uid, tramp-get-local-gid)
7114 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7116 (tramp-methods, tramp-default-method-alist)
7117 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7118 Move initialization to tramp-sh.el.
7119 (tramp-temp-name-prefix): Make it a defconst.
7120 (tramp-dissect-file-name): Don't check anymore for multi-hop
7122 (tramp-debug-outline-regexp): Add a docstring.
7123 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7124 (tramp-get-debug-buffer): Use it.
7126 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7127 initialization forms.
7128 (tramp-set-connection-property): Don't protect `tramp-message'
7129 call, it isn't necessary any longer.
7130 (tramp-dump-connection-properties): Use `ignore-errors'.
7132 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7133 'password-cache and 'auth-source.
7135 * net/tramp-gvfs.el (top):
7136 * net/tramp-smb.el (top): Require 'tramp-sh.
7138 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7140 * net/tramp-sh.el: New file, derived from tramp.el.
7141 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7142 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7143 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7144 Use `ignore-errors' where appropriate.
7145 (tramp-sh-file-name-handler-alist): Rename from
7146 `tramp-file-name-handler-alist'.
7147 (tramp-send-command-and-check): Return t or nil. Remove all
7148 `zerop' checks, where called.
7149 (tramp-handle-set-file-modes)
7150 (tramp-do-copy-or-rename-file-directly)
7151 (tramp-handle-delete-directory, tramp-handle-delete-file)
7152 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7153 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7154 (tramp-get-remote-ln): Set tramp-autoload cookie.
7156 * net/tramp-fish.el: Remove file.
7158 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7160 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7161 buffer-file-name to avoid file-locking. (Bug#7026)
7163 2010-09-13 Julien Danjou <julien@danjou.info>
7165 * notifications.el (notifications-notify): Add support for
7166 image-path and sound-name.
7167 (notifications-specification-version): Add this variable.
7169 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7173 2010-09-12 Leo <sdl.web@gmail.com>
7175 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7176 (rcirc-completion-start): New variables.
7177 (rcirc-nick-completions): Rename to rcirc-completions.
7178 (rcirc-nick-completion-start-offset): Delete.
7179 (rcirc-completion-at-point): New function for constructing
7180 completion data for both nicks and irc commands. Add to
7181 completion-at-point-functions in rcirc mode.
7182 (rcirc-complete): Rename from rcirc-nick-complete; use
7183 rcirc-completion-at-point.
7184 (defun-rcirc-command): Update rcirc-client-commands.
7186 2010-09-11 Glenn Morris <rgm@gnu.org>
7188 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7189 atomically, to avoid parallel build errors. (Bug#4196)
7191 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7193 * progmodes/sql.el: Version 2.6
7194 (sql-dialect): Synonym for "sql-product".
7195 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7196 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7197 Set "sql-buffer" to buffer name not buffer object so multiple sql
7198 interactive buffers work properly. Reverts misguided changes in
7200 (sql-comint): Make sure different buffer name is used if "*SQL*"
7201 buffer is for a different product.
7202 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7204 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7205 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7206 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7207 Accept new buffer name or prompt for one.
7208 (sql-port): Default to zero.
7209 (sql-comint-mysql): Handle "sql-port" as a numeric.
7210 (sql-port-history): Delete unused variable.
7211 (sql-get-login): Default "sql-port" to a number.
7212 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7213 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7214 "sqlite3" executables.
7215 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7216 (sql-buffer-live-p): New function.
7217 (sql-mode-menu, sql-send-string): Use it.
7218 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7220 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7221 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7223 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7225 * net/netrc.el (netrc-credentials): New convenience function.
7227 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7229 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7230 to replace texinfo-font-lock-syntactic-keywords.
7231 (texinfo-mode): Use it.
7233 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7234 Use syntax-propertize-function.
7236 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7237 replace sgml-font-lock-syntactic-keywords.
7238 (sgml-mode): Use it.
7240 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7241 since we don't use it.
7243 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7245 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7247 (vhdl-fontify-buffer): Adjust.
7249 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7250 replace tcl-font-lock-syntactic-keywords.
7253 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7254 replace simula-font-lock-syntactic-keywords.
7255 (simula-mode): Use it.
7257 * progmodes/sh-script.el (sh-st-symbol): Remove.
7258 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7259 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7260 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7261 (sh-font-lock-paren): Set syntax-multiline.
7262 (sh-font-lock-syntactic-keywords): Remove.
7263 (sh-syntax-propertize-function): New function to replace it.
7266 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7267 Define while compiling.
7268 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7269 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7270 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7271 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7272 (ruby-here-doc-end-syntax): Only define when
7273 syntax-propertize is not available.
7274 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7276 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7277 (electric-indent-chars): Silence bytecompiler.
7278 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7279 electric-indent-chars.
7281 * progmodes/python.el (python-syntax-propertize-function): New var to
7282 replace python-font-lock-syntactic-keywords.
7283 (python-mode): Use it.
7284 (python-quote-syntax): Simplify and adjust to new use.
7286 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7287 replace perl-font-lock-syntactic-keywords.
7288 (perl-syntax-propertize-special-constructs): New fun to replace
7289 perl-font-lock-special-syntactic-constructs.
7290 (perl-font-lock-syntactic-face-function): New fun.
7291 (perl-mode): Use it.
7293 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7294 to replace octave-font-lock-close-quotes.
7295 (octave-syntax-propertize-function): New function to replace
7296 octave-font-lock-syntactic-keywords.
7297 (octave-mode): Use it.
7299 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7300 replaces mixal-font-lock-syntactic-keywords.
7301 (mixal-mode): Use it.
7303 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7304 New var; replaces makefile-font-lock-syntactic-keywords.
7305 (makefile-mode): Use it.
7306 (makefile-imake-mode): Adjust.
7308 * progmodes/js.el (js--regexp-literal): Define while compiling.
7309 (js-syntax-propertize-function): New var; replaces
7310 js-font-lock-syntactic-keywords.
7313 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7314 replaces gdb-script-font-lock-syntactic-keywords.
7315 (gdb-script-mode): Use it.
7317 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7318 (fortran--font-lock-syntactic-keywords): New var.
7319 (fortran-line-length): Update syntax-propertize-function and
7320 fortran--font-lock-syntactic-keywords.
7322 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7324 * progmodes/cfengine.el (cfengine-mode):
7325 Use syntax-propertize-function.
7326 (cfengine-font-lock-syntactic-keywords): Remove.
7328 * progmodes/autoconf.el (autoconf-mode):
7329 Use syntax-propertize-function.
7330 (autoconf-font-lock-syntactic-keywords): Remove.
7332 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7333 (ada-after-change-function, ada-initialize-syntax-table-properties)
7334 (ada-handle-syntax-table-properties): Only define when
7335 syntax-propertize is not available.
7336 (ada-mode): Use syntax-propertize-function.
7338 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7339 (font-lock-fontify-syntactic-keywords-region): Move handling of
7340 font-lock-syntactically-fontified to...
7341 (font-lock-default-fontify-region): ...here.
7342 Let syntax-propertize-function take precedence.
7343 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7345 * emacs-lisp/syntax.el (syntax-propertize-function)
7346 (syntax-propertize-chunk-size, syntax-propertize--done)
7347 (syntax-propertize-extend-region-functions): New vars.
7348 (syntax-propertize-wholelines, syntax-propertize-multiline)
7349 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7350 (syntax-propertize): New functions.
7351 (syntax-propertize-rules): New macro.
7352 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7353 (syntax-ppss): Call syntax-propertize.
7355 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7357 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7359 * textmodes/ispell.el (ispell-init-process): Improve comments.
7360 XEmacs compatibility changes regarding (add-hook) 'local option
7361 and (set-process-query-on-exit-flag).
7363 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7365 * net/tramp-cache.el (tramp-parse-connection-properties):
7366 Set tramp-autoload cookie.
7368 2010-09-09 Glenn Morris <rgm@gnu.org>
7370 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7371 (imagemagick-register-types): Doc fix.
7373 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7375 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7377 * progmodes/js.el (require): Require is already "eval-and-compile".
7378 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7379 (js--re-search-backward): Use js--re-search-forward.
7381 * progmodes/fortran.el (fortran-line-length): Don't recompute
7382 syntactic keywords redundantly a second time.
7384 * progmodes/ada-mode.el: Replace "(set '" with setq.
7385 (ada-mode): Simplify.
7386 (ada-create-case-exception, ada-adjust-case-interactive)
7387 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7388 (ada-search-ignore-string-comment, ada-move-to-start)
7389 (ada-move-to-end): Use with-syntax-table.
7391 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7392 (font-lock-unfontify-region, font-lock-default-fontify-region):
7393 Update usage correspondingly.
7394 (font-lock-fontify-syntactic-keywords-region):
7395 Set parse-sexp-lookup-properties buffer-locally here.
7396 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7398 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7400 2010-09-08 Glenn Morris <rgm@gnu.org>
7402 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7403 Error if not compiled with -DBYTE_CODE_METER.
7405 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7406 Ignore dir-locals-file.
7408 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7412 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7413 for the `gnu' messages.
7414 (compilation-set-skip-threshold): New command.
7415 (compilation-start): Use \' rather than $.
7416 (compilation-forget-errors): Use clrhash.
7418 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7420 * textmodes/ispell.el (ispell-valid-dictionary-list):
7423 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7425 Migrate to Tramp 2.2. Rearrange load dependencies.
7426 (Bug#1529, Bug#5448, Bug#5705)
7428 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7429 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7430 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7432 * net/tramp.el (top): Remove all other tramp-* loads except
7433 tramp-compat.el. Remove all changes to tramp-unload-hook for
7434 other tramp-* packages. Rearrange defun order. Change calls of
7435 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7436 `tramp-compat-octal-to-decimal' to new function names.
7437 (tramp-terminal-type, tramp-initial-end-of-output)
7438 (tramp-methods, tramp-foreign-file-name-handler-alist)
7439 (tramp-tramp-file-p, tramp-completion-mode-p)
7440 (tramp-send-command-and-check, tramp-get-remote-path)
7441 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7442 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7443 (with-file-property, with-connection-property): Move to
7445 (tramp-local-call-process, tramp-decimal-to-octal)
7446 (tramp-octal-to-decimal): Move to tramp-compat.el.
7447 (tramp-handle-shell-command): Do not require 'shell.
7448 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7450 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7452 * net/tramp-cache.el (top): Require 'tramp. Add to
7453 `tramp-unload-hook'.
7454 (tramp-cache-data, tramp-get-file-property)
7455 (tramp-set-file-property, tramp-flush-file-property)
7456 (tramp-flush-directory-property, tramp-get-connection-property)
7457 (tramp-set-connection-property, tramp-flush-connection-property)
7458 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7460 (with-file-property, with-connection-property): New defuns, moved
7462 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7465 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7466 (tramp-version): Set tramp-autoload cookie.
7468 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7469 changes to tramp-unload-hook for other tramp-* packages. Add to
7470 `tramp-unload-hook'.
7471 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7472 (tramp-compat-call-process): New defuns, moved from tramp.el.
7474 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7475 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7476 Add to `tramp-unload-hook'. Change call of
7477 `tramp-compat-decimal-to-octal' to new function name.
7478 (tramp-fish-method): Make it a defconst.
7479 (tramp-fish-file-name-p): Make it a defsubst.
7480 (tramp-fish-method, tramp-fish-file-name-handler)
7481 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7483 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7484 `tramp-foreign-file-name-handler-alist'. Add to
7485 `tramp-unload-hook'.
7486 (tramp-ftp-method): Make it a defconst.
7487 (tramp-ftp-file-name-p): Make it a defsubst.
7488 (tramp-ftp-method, tramp-ftp-file-name-handler)
7489 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7491 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7492 `tramp-foreign-file-name-handler-alist'. Add to
7493 `tramp-unload-hook'. Change checks, whether package can be
7495 (tramp-gvfs-file-name-p): Make it a defsubst.
7496 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7497 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7498 (tramp-gvfs-handle-file-directory-p): New defun.
7499 (tramp-gvfs-file-name-handler-alist): Use it.
7501 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7502 `tramp-foreign-file-name-handler-alist'. Add to
7503 `tramp-unload-hook'.
7504 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7505 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7507 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7508 (tramp-gw-open-connection): Set tramp-autoload cookie.
7510 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7511 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7512 Add to `tramp-unload-hook'. Change checks, whether package can be
7514 (tramp-imap-file-name-p): Make it a defsubst.
7515 (tramp-imap-method, tramp-imaps-method)
7516 (tramp-imap-file-name-handler)
7517 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7519 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7520 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7521 Add to `tramp-unload-hook'. Change checks, whether package can be
7522 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7524 (tramp-smb-tunnel-method): Make it a defconst.
7525 (tramp-smb-file-name-p): Make it a defsubst.
7526 (tramp-smb-method, tramp-smb-file-name-handler)
7527 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7529 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7530 (tramp-uuencode-region): Set tramp-autoload cookie.
7532 * net/trampver.el (top) Add to `tramp-unload-hook'.
7533 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7534 cookie. Update release number.
7536 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7538 * textmodes/ispell.el (ispell-start-process): Make sure original
7539 arg list is properly initialized (Bug#6993, Bug#6994).
7541 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7543 * files.el (directory-abbrev-alist): Use \` as default regexp.
7545 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7546 chars like - or ] (bug#6984).
7547 (rx-any-condense-range): Explode 2-char ranges.
7549 2010-09-06 Glenn Morris <rgm@gnu.org>
7551 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7553 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7555 * textmodes/bibtex.el:
7556 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7558 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7561 since no callers use it.
7562 (imap-message-get): Ditto.
7563 (imap-message-put): Ditto.
7564 (imap-mailbox-map): Ditto.
7565 (imap-mailbox-put): Ditto.
7566 (imap-mailbox-get): Ditto.
7567 (imap-mailbox-get): Revert last change for this function.
7569 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7571 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7572 callers to use `imap-fetch' instead. According to the comments, this
7573 should be safe, since all other IMAP clients use the 1:* syntax.
7574 (imap-enable-exchange-bug-workaround): Remove.
7575 (imap-debug): Remove -- doesn't seem very useful.
7577 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7579 * net/imap.el (imap-log): New convenience function used throughout
7580 instead of repeating the same code all over the place.
7582 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7584 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7585 when mouse-drag-copy-region is non-nil (Bug#6956).
7587 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7589 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7590 Improve regexps (Bug#6987).
7591 (dired-sort-toggle): Search more robustly for -t flag.
7593 * files.el (get-free-disk-space): Search more robustly for
7594 "available" column. Suggested by Ehud Karni
7595 <ehud@unix.mvs.co.il>.
7597 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7599 * international/uni-bidi.el:
7600 * international/uni-category.el:
7601 * international/uni-combining.el:
7602 * international/uni-decimal.el:
7603 * international/uni-mirrored.el:
7604 * international/uni-name.el: Regenerate.
7606 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * electric.el (electric-indent-post-self-insert-function):
7609 Don't reindent with a sloppy indentation function.
7611 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7612 border case in change-log-mode.
7614 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7616 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7617 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7618 Recognize leading tab in gcc-include regexp. Ignore names with
7619 leading "from" or "in" in gnu regexp (Bug#6937).
7621 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7623 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7624 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7625 (ispell-start-process): Avoid setq and simplify logic.
7626 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7627 (kill-buffer-hook): Don't use it globally with code that uses
7628 expand-file-name since that may call kill-buffer via
7629 code_conversion_restore.
7631 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7633 * emacs-lisp/package.el (package-directory-list): Only call
7634 file-name-nondirectory on a string.
7636 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7638 * emacs-lisp/package.el (package--download-one-archive):
7639 Ensure that archive-contents is valid before saving it.
7640 (package-activate-1, package-mark-obsolete, define-package)
7641 (package-compute-transaction, package-list-maybe-add): Use push.
7643 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7645 Use SMIE's blink-paren for octave-mode.
7646 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7647 Backslashes do not escape single-quotes, single-quotes do.
7648 (octave-block-else-regexp, octave-block-end-regexp)
7649 (octave-block-match-alist): Remove.
7650 (octave-smie-bnf-table): New var, with old content.
7651 (octave-smie-op-levels): Use it.
7652 (octave-smie-closer-alist): New var.
7653 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7654 (octave-blink-matching-block-open): Remove.
7655 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7656 (octave-electric-space): Let self-insert-command run expand-abbrev and
7659 * electric.el (electricity): New group.
7660 (electric-indent-chars): New var.
7661 (electric-indent-post-self-insert-function): New fun.
7662 (electric-indent-mode): New minor mode.
7663 (electric-pair-skip-self): New custom.
7664 (electric-pair-post-self-insert-function): New function.
7665 (electric-pair-mode): New minor mode.
7667 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7668 calcAlg-blink-matching-open.
7669 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7670 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7671 Use the new blink-matching-check-function.
7673 Provide blink-matching support to SMIE.
7674 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7675 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7676 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7678 * simple.el (newline): Fix last change to properly remove itself from
7681 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * simple.el (newline): Eliminate optimization.
7684 Use post-self-insert-hook to set hard-newline and things before
7685 running post-self-insert-hook.
7686 (blink-matching-check-mismatch): New function.
7687 (blink-matching-check-function): New variable.
7688 (blink-matching-open): Use them.
7689 Skip back forward over prefix chars skipped by forward-sexp.
7690 Don't check if the parens are backslash escaped.
7691 (blink-paren-post-self-insert-function): Check backslash escaping here.
7693 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7695 * emacs-lisp/package.el (package-menu-mode-map):
7696 Change package-menu-revert bindings to revert-buffer.
7697 (package-menu-mode): Set revert-buffer-function.
7698 (package-menu-revert): Doc fix.
7700 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7702 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7703 `default-directory' unless using Ispell per-directory personal
7704 dictionaries and not in a mini-buffer under XEmacs.
7705 (kill-buffer-hook): Do not kill ispell process on exit when
7706 `ispell-process-directory' is "~/". (Bug#6143)
7708 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7710 * simple.el (kill-new): Call interprogram-cut-function with only
7713 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7714 Remove cut buffer from error message.
7716 * term/x-win.el (x-select-text):
7717 * term/pc-win.el (x-selection-value):
7718 * term/ns-win.el (x-selection-value):
7719 * eshell/em-term.el:
7720 * w32-fns.el (x-get-selection-value):
7721 * mouse-sel.el (mouse-sel-set-selection-function):
7722 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7724 * term/x-win.el: Update documentation for x-last-selected-text-*.
7725 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7726 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7727 (x-select-text): Remove argument PUSH, update documentation.
7728 Remove cut-buffer code.
7729 (x-selection-value-internal): Was previously x-selection-value.
7730 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7731 Update documentation, remove cut-buffer code.
7732 Call x-selection-value-internal.
7733 (x-clipboard-yank): Call x-selection-value-internal.
7734 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7736 * term/pc-win.el (x-last-selected-text):
7737 x-cut-buffer-or-selection-value renamed to x-selection-value
7738 (x-select-text): Remove argument PUSH, update documentation.
7740 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7741 x-cut-buffer-or-selection-value renamed to x-selection-value
7742 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7743 (x-select-text): Remove argument PUSH, update documentation.
7745 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7747 * w32-fns.el (x-last-selected-text):
7748 x-cut-buffer-or-selection-value renamed to x-selection-value.
7749 (x-cut-buffer-max): Remove.
7750 (x-select-text): Remove argument PUSH, update documentation.
7752 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7754 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7756 * mouse-sel.el (mouse-sel-get-selection-function):
7757 x-cut-buffer-or-selection-value renamed to x-selection-value.
7758 (x-select-text): Remove optional push.
7760 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * simple.el (blink-paren-function): Move from C to here.
7763 (blink-paren-post-self-insert-function): New function.
7764 (post-self-insert-hook): Use it.
7766 * emacs-lisp/pcase.el (pcase-split-memq):
7767 Fix overenthusiastic optimisation.
7768 (pcase-u1): Handle the case of a lambda pred.
7770 2010-08-31 Kenichi Handa <handa@m17n.org>
7772 * international/mule-cmds.el (standard-display-european-internal):
7773 Setup standard-display-table for 8-bit characters by storing 8-bit
7774 characters in the element vector.
7776 * disp-table.el (standard-display-8bit):
7777 Setup standard-display-table for 8-bit characters by storing 8-bit
7778 characters in the element vector.
7779 (standard-display-european): Likewise.
7781 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7783 * textmodes/nroff-mode.el (nroff-view): New command.
7784 (nroff-mode-map): Bind it to C-c C-c.
7786 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * emacs-lisp/smie.el (smie-down-list): New command.
7790 Remove old indentation and navigation code on octave-mode.
7791 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7792 smie-down-list rather than add a binding for octave-down-block.
7793 (octave-mark-block, octave-blink-matching-block-open):
7794 Rely on forward-sexp-function.
7795 (octave-fill-paragraph): Don't narrow, so you can use
7796 indent-according-to-mode.
7797 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7798 (octave-in-block-p, octave-re-search-forward-kw)
7799 (octave-re-search-backward-kw, octave-indent-calculate)
7800 (octave-end-as-array-index-p, octave-block-end-offset)
7801 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7802 (octave-down-block, octave-backward-up-block, octave-up-block)
7803 (octave-before-magic-comment-p, octave-indent-line): Remove.
7805 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7807 * emacs-lisp/package.el (package--read-archive-file): Just use
7808 `read', to avoid copying an additional string.
7809 (package-menu-mode): Set header-line-format here.
7810 (package-menu-refresh, package-menu-revert): Signal an error if
7811 not in the Package Menu.
7812 (package-menu-package-list): New var.
7813 (package--generate-package-list): Operate on the current buffer;
7814 don't assume that it is *Packages*, since the user may rename it.
7815 Allow persistent package listings and sort keys using
7816 package-menu-package-list and package-menu-package-sort-key.
7817 (package-menu--version-predicate): Fix version calculation.
7818 (package-menu-sort-by-column): Don't select the window.
7819 (package--list-packages): Create the *Packages* buffer.
7820 Set package-menu-package-list-key.
7821 (list-packages): Sorting by status is now the default.
7822 (package-buffer-info): Use match-string-no-properties.
7823 (define-package): Add a &rest argument for future proofing, but
7825 (package-install-from-buffer, package-install-buffer-internal):
7826 Merge into a single function, package-install-from-buffer.
7827 (package-install-file): Change caller.
7829 * finder.el: Load finder-inf using `require'.
7830 (finder-list-matches): Sorting by status is now the default.
7831 (finder-compile-keywords): Simpify printing.
7833 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7835 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7836 (octave-mode-map): Remove special bindings for forward/backward-block
7837 and octave-backward-up-block. Use smie-close-block.
7838 (octave-continuation-marker-regexp): New var.
7839 (octave-continuation-regexp): Use it.
7840 (octave-operator-table, octave-smie-op-levels)
7841 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7842 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7843 (octave-mode): Use SMIE.
7844 (octave-close-block): Delete.
7846 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7848 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7849 CLIPBOARD, not in PRIMARY. (Bug#6944)
7851 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7855 (smie-indent-column): Allow indirection through variables.
7857 * composite.el (save-buffer-state): Delete, unused.
7858 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7859 (font-lock-default-fontify-region): Use with-syntax-table.
7860 * jit-lock.el (with-buffer-unmodified): Remove.
7861 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7863 Use `declare' in defmacros.
7864 * window.el (save-selected-window):
7865 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7866 * progmodes/python.el (def-python-skeleton):
7867 * net/dbus.el (dbus-ignore-errors):
7868 * jka-cmpr-hook.el (with-auto-compression-mode):
7869 * international/mule.el (with-category-table):
7870 * emacs-lisp/timer.el (with-timeout):
7871 * emacs-lisp/lisp-mnt.el (lm-with-file):
7872 * emacs-lisp/eieio.el (with-slots):
7873 * emacs-lisp/easymenu.el (easy-menu-define):
7874 * emacs-lisp/debug.el (debugger-env-macro):
7875 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7876 (Multiple-value-call, Multiple-value-prog1):
7877 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7878 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7879 edebug rule to definition.
7880 * emacs-lisp/lisp-mode.el (save-selected-window)
7881 (with-current-buffer, combine-after-change-calls)
7882 (with-output-to-string, with-temp-file, with-temp-buffer)
7883 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7884 (dolist, dotimes, when, unless):
7885 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7887 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7889 * finder.el: Require `package'.
7890 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7891 (finder-package-info): Var deleted.
7892 (finder-keywords-hash, finder--builtins-alist): New vars.
7893 (finder-compile-keywords): Compute package--builtins and
7894 finder-keywords-hash instead of finder-keywords-hash, respecting
7895 the "Package" header.
7896 (finder-unknown-keywords, finder-list-matches):
7897 Use finder-keywords-hash and package--list-packages.
7898 (finder-mode): Don't set font-lock-defaults.
7899 (finder-exit): We don't use "*Finder-package*" and "*Finder
7900 Category*" buffers anymore.
7902 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7903 (package--builtins): Set default value to nil.
7904 (package-initialize): Load precomputed value of package--builtins
7906 (package-alist, package-compute-transaction)
7907 (package-download-transaction): Improve docstring.
7908 (package-read-all-archive-contents): Do not change
7909 package--builtins here.
7910 (list-packages): Make package-list-packages an alias for this.
7911 Sort by status by default.
7912 (package--list-packages): Add optional PACKAGES arg.
7913 (describe-package-1): Use font-lock-face property. For built-in
7914 packages, insert file commentary.
7915 (package--generate-package-list): Rename from
7916 package-list-packages-internal; all callers changed. Add optional
7917 PACKAGES arg. Add alphabetical sort fallbacks.
7918 (package-menu--version-predicate, package-menu--status-predicate)
7919 (package-menu--description-predicate)
7920 (package-menu--name-predicate): New functions.
7922 * info.el (Info-finder-find-node): Search package-alist instead of
7923 finder-package-info.
7925 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7927 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7929 (version-to-list): Handle versions like "10.3d".
7931 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7934 (macroexp-accumulate): Use `declare'.
7936 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7938 * whitespace.el (whitespace-style): Adjust type declaration.
7940 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7942 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7944 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7946 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7949 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7951 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7952 (js-paren-indent-offset, js-square-indent-offset)
7953 (js-curly-indent-offset): New options.
7954 (js--proper-indentation): Use them.
7956 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7958 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7959 instead of inspecting font-lock properties (Bug#6916).
7961 2010-08-26 David Reitter <david.reitter@gmail.com>
7963 * server.el (server-visit-files): Run pre-command-hook and
7964 post-command-hook for each buffer while it is current (Bug#6910).
7965 (server-execute): Do not run hooks here.
7967 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7969 Sync with Tramp 2.1.19.
7971 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7973 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7975 * net/tramp.el (tramp-handle-expand-file-name)
7976 (tramp-completion-handle-file-name-all-completions)
7977 (tramp-completion-handle-file-name-completion):
7978 Use `tramp-connectable-p'.
7980 * net/trampver.el: Update release number.
7982 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7984 * help.el (help-map): Bind `C-h P' to describe-package.
7986 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7988 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7989 when downloading archives.
7990 (describe-package-1): Add package commentary.
7991 (package-install-button-action): New function.
7992 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7993 (package-menu-view-commentary): Function removed.
7994 (package-list-packages-internal): Hide the `package' package too.
7996 2010-08-25 Kenichi Handa <handa@m17n.org>
7998 * language/misc-lang.el ("Arabic"): New language environment.
7999 Setup composition-function-table for Arabic characters.
8001 * international/fontset.el (setup-default-fontset): Fix typo for
8002 arabic OTF spec (fini->fina).
8004 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8006 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8009 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8011 * whitespace.el: Allow cleaning up blanks without blank
8012 visualization (Bug#6651). Adjust help window for
8013 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8014 instead of whitespace-line-column (from EmacsWiki). New version
8016 (whitespace-style): Add new value 'face. Adjust docstring.
8017 (whitespace-space, whitespace-hspace, whitespace-tab):
8018 Adjust foreground property face.
8019 (whitespace-line-column): Adjust docstring and type declaration.
8020 (whitespace-style-value-list, whitespace-toggle-option-alist)
8021 (whitespace-help-text): Adjust const initialization.
8022 (whitespace-toggle-options, global-whitespace-toggle-options):
8024 (whitespace-display-window, whitespace-interactive-char)
8025 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8026 (whitespace-help-scroll): New fun.
8028 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8030 * emacs-lisp/package.el (list-packages): Alias for
8031 package-list-packages.
8033 2010-08-24 Kevin Ryde <user42@zip.com.au>
8035 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8038 * progmodes/ruby-mode.el (ruby): Add defgroup.
8040 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8042 * progmodes/python.el: Add Ipython support (Bug#5390).
8043 (python-shell-prompt-alist)
8044 (python-shell-continuation-prompt-alist): New options.
8045 (python--set-prompt-regexp): New function.
8046 (inferior-python-mode, run-python, python-shell):
8047 Require ansi-color. Use python--set-prompt-regexp to set the comint
8048 prompt based on the Python interpreter.
8049 (python--prompt-regexp): New var.
8050 (python-check-comint-prompt)
8051 (python-comint-output-filter-function): Use it.
8052 (run-python): Use a pipe (Bug#5694).
8054 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8056 * progmodes/python.el (python-send-region): Send a different
8057 Python command if Ipython is in use.
8058 (python-check-version): Use a Python command to find the version.
8060 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8062 * mouse.el (mouse-yank-primary): Avoid setting primary when
8063 deactivating the mark (Bug#6872).
8065 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8067 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8068 with "else" (Bug#3991).
8070 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8072 * net/dbus.el: Accept UNIX domain sockets as bus address.
8073 (top): Don't initialize `dbus-registered-objects-table' anymore,
8074 this is done in dbusbind.c.
8075 (dbus-check-event): Adapt test for bus.
8076 (dbus-return-values-table, dbus-unregister-service)
8077 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8080 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8082 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8084 2010-08-22 Juri Linkov <juri@jurta.org>
8086 * simple.el (read-extended-command): New function with the logic
8087 for `completing-read' moved to Elisp from `execute-extended-command'.
8088 Use `function-called-at-point' in `minibuffer-default-add-function'
8089 to get a command name for M-n (bug#5364, bug#5214).
8091 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8093 * startup.el (command-line-1): Issue warning for ignored arguments
8094 --unibyte, etc (Bug#6886).
8096 2010-08-22 Leo <sdl.web@gmail.com>
8098 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8099 (ignore, bright, dim, keyword): Split list of nicknames before
8100 passing to rcirc-add-or-remove (Bug#6894).
8102 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8104 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8106 2010-08-22 Leo <sdl.web@gmail.com>
8108 Fix buffer-list rename&refresh after killing a buffer in ido.
8109 * ido.el: Revert Óscar's.
8110 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8111 Remember the buffers at head, rather than their name.
8112 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8114 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8115 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8118 extra backslash added to each line (bug#6890).
8120 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8122 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8124 2010-08-22 Glenn Morris <rgm@gnu.org>
8126 * menu-bar.el (menu-bar-games-menu): Add landmark.
8128 2010-08-22 Glenn Morris <rgm@gnu.org>
8130 * align.el (align-regexp): Make group and spacing arguments
8131 use the interactive defaults when non-interactive. (Bug#6698)
8133 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8134 expansion, so as not to need sendmail.
8135 (mail-text-start): Remove declaration.
8136 (rmail-retry-failure): Require sendmail.
8138 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8140 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8142 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8144 * progmodes/flymake.el (flymake-start-syntax-check-process):
8145 Use `start-file-process' in order to let it run also on remote hosts.
8147 2010-08-22 Kenichi Handa <handa@m17n.org>
8149 * files.el: Add `word-wrap' as safe local variable.
8151 2010-08-22 Glenn Morris <rgm@gnu.org>
8153 * woman.el (woman-translate): Case matters. (Bug#6849)
8155 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8157 * simple.el (kill-region): Doc fix (Bug#6787).
8159 2010-08-22 Glenn Morris <rgm@gnu.org>
8161 * calendar/diary-lib.el (diary-header-line-format):
8162 Fit it to the window, not the frame.
8164 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8166 * subr.el (ignore-errors): Add debug declaration.
8168 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8170 * whitespace.el (whitespace-color-off): Remove post-command-hook
8173 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8177 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8179 * cus-edit.el (custom-group-value-create): Add extra newline
8180 before end line (Bug#6876).
8182 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8184 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8185 when extending it. Before killing on the second click, check if
8186 the buffer is the correct one. Doc fix.
8187 (mouse-secondary-save-then-kill): Allow usage without first
8188 calling mouse-start-secondary, by defaulting to point. Don't save
8189 an empty secondary selection. Doc fix.
8191 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8193 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8194 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8196 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8197 Adjust initialization.
8198 (whitespace-bob-marker, whitespace-eob-marker)
8199 (whitespace-buffer-changed): New vars.
8200 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8201 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8202 (whitespace-post-command-hook, whitespace-display-char-on):
8204 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8205 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8207 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * files.el (locate-file-completion-table): Only list the .el and .elc
8210 extensions if there's no other choice (bug#5955).
8212 * facemenu.el (facemenu-self-insert-data): New var.
8213 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8215 (facemenu-add-face): Use them.
8217 * simple.el (blink-matching-open): Obey forward-sexp-function.
8219 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * simple.el (prog-mode-map): New var.
8222 (prog-indent-sexp): New command.
8224 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8226 * progmodes/prolog.el (smie): Require.
8228 * emacs-lisp/smie.el (smie-default-backward-token)
8229 (smie-default-forward-token): Strip properties.
8230 (smie-next-sexp): Be more careful with associative operators.
8231 (smie-forward-sexp-command): Generalize.
8232 (smie-backward-sexp-command): Simplify.
8233 (smie-closer-alist): New var.
8234 (smie-close-block): New command.
8235 (smie-indent-debug-log): New var.
8236 (smie-indent-offset-rule): Add a few more cases.
8237 (smie-indent-column): New function.
8238 (smie-indent-after-keyword): Use it.
8239 (smie-indent-keyword): Use it.
8240 Fix up the opener code's point position.
8241 (smie-indent-comment): Only applies at BOL.
8242 (smie-indent-debug): New command.
8244 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8245 declarations that are useful before running the macro.
8247 2010-08-18 Joakim Verona <joakim@verona.se>
8249 * image.el (imagemagick-types-inhibit): New variable.
8250 (imagemagick-register-types): New function.
8251 * image-mode.el (image-transform-properties): New function.
8252 (image-transform-set-scale, image-transform-fit-to-height)
8253 (image-transform-set-rotation, image-transform-set-resize)
8254 (image-transform-fit-to-width, image-transform-fit-to-height):
8256 (image-toggle-display-image): Support image transforms.
8258 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8260 * image.el (create-animated-image): Don't add heuristic mask to image
8263 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8265 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8266 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8268 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8270 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8272 Font-lock '...' strings, plus various simplifications and fixes.
8273 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8274 (octave-font-lock-close-quotes): New function.
8275 (octave-font-lock-syntactic-keywords): New var.
8276 (octave-mode): Use it. Set beginning-of-defun-function.
8277 (octave-mode-map): Don't override the <foo>-defun commands.
8278 (octave-mode-menu): Pass it directly to easy-menu-define;
8279 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8280 (octave-block-match-alist): Fix up last change so that
8281 octave-close-block uses the more specific keyword.
8282 (info-lookup-mode): Silence byte-compiler.
8283 (octave-beginning-of-defun): Not interactive any more.
8285 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8286 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8287 (octave-completion-at-point-function): Make sure point is within
8289 (octave-reindent-then-newline-and-indent):
8290 Use reindent-then-newline-and-indent.
8291 (octave-add-octave-menu): Remove.
8293 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8295 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8296 (report-emacs-bug-can-use-xdg-email): New functions.
8297 (report-emacs-bug): Set can-xdg-email to result of
8298 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8299 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8302 * net/browse-url.el (browse-url-default-browser): Add cond
8303 for browse-url-xdg-open.
8304 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8306 2010-08-17 Glenn Morris <rgm@gnu.org>
8308 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8309 (c-fontify-recorded-types-and-refs): Define for compiler.
8310 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8313 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8316 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8318 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8320 (tramp-handle-process-file): Call the program in a subshell, in
8321 order to preserve working directory.
8322 (tramp-action-password): Hide password prompt before next run.
8323 (tramp-process-actions): Widen connection buffer for the trace.
8325 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8327 * net/rcirc.el (rcirc-log-process-buffers): New option.
8328 (rcirc-print): Use it.
8329 (rcirc-generate-log-filename): New function.
8330 (rcirc-log-filename-function): Change default to
8331 rcirc-generate-log-filename (Bug#6828).
8333 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8335 * simple.el (deactivate-mark): If select-active-regions is `only',
8336 only set selection for temporarily active regions.
8338 * cus-start.el: Change defcustom for select-active-regions.
8340 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8342 * mouse.el (mouse--drag-set-mark-and-point): New function.
8343 (mouse-drag-track): Use LOCATION arg to push-mark.
8344 Use mouse--drag-set-mark-and-point to take click-count into
8345 consideration when updating point and mark (Bug#6840).
8347 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8350 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8352 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8354 * font-lock.el (lisp-font-lock-keywords-2):
8355 Add combine-after-change-calls, condition-case-no-debug,
8356 with-demoted-errors, and with-silent-modifications (Bug#6025).
8358 2010-08-14 Kevin Ryde <user42@zip.com.au>
8360 * emacs-lisp/copyright.el (copyright-update-year)
8361 (copyright-update): Temporary switch-to-buffer to ensure the
8362 buffer change being queried is visible (Bug#5394).
8364 2010-08-14 Tom Tromey <tromey@redhat.com>
8366 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8369 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8371 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8374 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8376 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8377 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8378 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8379 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8380 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8381 Call menu-bar-set-tool-bar-position.
8383 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8385 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8386 comment style (bug#6834).
8387 * progmodes/scheme.el (scheme-mode-syntax-table):
8388 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8389 "b" flag in "' 14b" syntax.
8391 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8392 for (un)commenting the region and performing completion.
8393 (octave-mode-menu): Use standard commands for help and completion.
8394 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8395 (octave-mode): Use define-derived-mode.
8396 Set completion-at-point-functions and don't set columns.
8397 Don't disable adaptive-fill-regexp.
8398 (octave-describe-major-mode, octave-comment-region)
8399 (octave-uncomment-region, octave-comment-indent)
8400 (octave-indent-for-comment): Remove.
8401 (octave-indent-calculate): Rename from calculate-octave-indent.
8402 (octave-indent-line, octave-fill-paragraph): Update caller.
8403 (octave-initialize-completions): No need to make an alist.
8404 (octave-completion-at-point-function): New function.
8405 (octave-complete-symbol): Use it.
8406 (octave-insert-defun): Use define-skeleton.
8408 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8409 (octave-mode-map): Use comment-dwim (bug#6829).
8411 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8413 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8414 indentation of inserted comment.
8416 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8418 * faces.el (region): Add type gtk that uses gtk colors.
8420 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8421 Handle theme-name change.
8423 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8425 * progmodes/sql.el: Version 2.5
8426 (sql-product-alist): Add :prompt-cont-regexp property for several
8428 (sql-prompt-cont-regexp): New variable.
8429 (sql-output-newline-count, sql-output-by-send):
8430 New variables. Record number of newlines in input text.
8431 (sql-send-string): Handle multiple filters and count newlines.
8432 (sql-send-magic-terminator): Count terminator newline.
8433 (sql-interactive-remove-continuation-prompt): Filters output to
8434 remove continuation prompts; one for each newline.
8435 (sql-interactive-mode): Set up new variables, prompt regexp and
8437 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8438 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8440 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * emacs-lisp/pcase.el: New file.
8444 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8446 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8447 as here-document, otherwise the command could exceed maximum
8448 length of command line.
8449 (tramp-handle-vc-registered): Call script accordingly.
8450 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8452 2010-08-10 Kenichi Handa <handa@m17n.org>
8454 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8457 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8459 * emacs-lisp/package.el (package-version-split)
8460 (package--version-first-nonzero, package-version-compare):
8462 (package-directory-list, package-load-all-descriptors)
8463 (package--built-in, package-activate, define-package)
8464 (package-installed-p, package-compute-transaction)
8465 (package-read-all-archive-contents)
8466 (package--add-to-archive-contents, package-buffer-info)
8467 (package-tar-file-info, package-list-packages-internal):
8468 Use version-to-list and version-list-*.
8470 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8471 Use version-to-list.
8472 (package-upload-buffer-internal): Use version-list-<=.
8474 2010-08-09 Kenichi Handa <handa@m17n.org>
8476 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8479 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8481 * tutorial.el (tutorial--default-keys): C-d is now bound to
8482 delete-forward-char (Bug#6826).
8484 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8485 for `double' value of mouse-1-click-follows-link (Bug#6807).
8487 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8489 * replace.el (replace-highlight): Bind isearch-forward and
8490 isearch-error, ensuring that highlighting is updated if the user
8491 switches the search direction (Bug#6808).
8493 * isearch.el (isearch-lazy-highlight-forward): New var.
8494 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8495 (isearch-lazy-highlight-update): Use it.
8497 2010-08-08 Kenichi Handa <handa@m17n.org>
8499 * international/mule.el (define-charset): Store NAME as :base property.
8500 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8501 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8502 current priority. Force using the designation of the specific
8503 charset by adding `charset' text property. Improve the whole algorithm.
8505 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8507 * emulation/pc-select.el (pc-selection-mode-hook)
8508 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8509 (pc-selection-mode): Fix typos in docstrings.
8511 2010-08-08 Kenichi Handa <handa@m17n.org>
8513 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8514 ctext-non-standard-encodings-alist here.
8516 * international/mule.el (ctext-non-standard-encodings-alist):
8517 Add "koi8-r" and "microsoft-cp1251".
8518 (ctext-standard-encodings): New variable.
8519 (ctext-non-standard-encodings-table): List only elements for
8520 non-standard encodings.
8521 (ctext-pre-write-conversion): Adjust for the above change.
8522 Check ctext-standard-encodings.
8524 * international/mule-conf.el (compound-text): Doc fix.
8525 (ctext-no-compositions): Doc fix.
8526 (compound-text-with-extensions): Doc fix.
8528 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8532 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8534 * progmodes/which-func.el (which-func-format): Split help-echo text
8535 into lines, like other mode-line tooltips.
8537 * server.el (server-start): When using TCP sockets, force IPv4
8538 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8540 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8542 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8544 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8546 * term.el (term-delimiter-argument-list): Reflow docstring.
8547 (term-read-input-ring, term-write-input-ring, term-send-input)
8548 (term-bol, term-erase-in-display, serial-supported-or-barf):
8549 Fix typos in docstrings.
8551 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8553 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8555 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8557 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8559 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8561 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8562 Fix typo in docstring (bug#6747).
8564 2010-08-08 Leo <sdl.web@gmail.com>
8566 * eshell/esh-io.el (eshell-get-target): Better detection of
8567 read-only file (Bug#6762).
8569 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8571 * align.el (align-default-spacing): Doc fix.
8572 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8574 2010-08-08 Stephen Peters <speters@itasoftware.com>
8576 * calendar/icalendar.el
8577 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8578 (icalendar--get-weekday-numbers): New.
8579 (icalendar--convert-recurring-to-diary): Handle multiple byday
8580 values in weekly rules. (Bug#6766)
8582 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8584 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8585 (icalendar--create-uid, icalendar-export-region)
8586 (icalendar--parse-summary-and-rest): Code formatting.
8588 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8590 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8591 to italicize headers.
8592 (calc-highlight-selections-with-faces): New variable.
8593 (calc-selected-face, calc-nonselected-face): New faces.
8595 * calc/calccomp.el (math-comp-highlight-string): Use
8596 `calc-highlight-selections-with-faces' to determine how to highlight
8599 * calc/calc-sel.el (calc-show-selections): Change message to when
8600 using faces to highlight selections.
8602 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8604 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8605 Add SQLite 3 keywords, functions and datatypes.
8606 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8609 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8611 * simple.el (select-active-regions): Move to keyboard.c.
8612 (deactivate-mark): Used saved-region-selection.
8613 (select-active-region): Function removed.
8614 (activate-mark, set-mark, push-mark-command)
8615 (handle-shift-selection): Don't call it.
8616 (keyboard-quit): Avoid adding the region to the window selection.
8618 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8619 select-active-regions implementation.
8620 (mouse-yank-at-click): Doc fix.
8622 * cus-start.el: Add custom declaration for select-active-regions.
8624 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8626 * simple.el (delete-forward-char): Doc fix.
8628 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8629 after reading the tutorial.
8631 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8633 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8634 Fix for the case that a C style comment has its delimiters alone on
8635 their respective lines. (Bug#193)
8637 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8639 * net/tramp.el (tramp-handle-start-file-process): Set connection
8641 (tramp-process-sentinel): Use it for flushing the cache.
8642 We cannot do it via the process buffer, the buffer could be deleted
8643 already when running the sentinel.
8645 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8647 * comint.el (comint-mode): Make directory tracking functions
8648 functional on remote files. (Bug#6764)
8650 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8652 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8654 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8656 * emacs-lisp/find-gc.el (find-gc-source-files):
8657 Rename unexec.c => unexcoff.c.
8659 * emacs-lisp/authors.el (authors-fixed-entries):
8660 Rename unexec.c => unexcoff.c.
8662 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8664 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8665 cache, not only file cache.
8666 (tramp-process-sentinel): New defun.
8667 (tramp-handle-start-file-process): Use it, in order to invalidate
8670 2010-08-03 Leo <sdl.web@gmail.com>
8672 * server.el (server-start): Simplify loop.
8674 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * frame.el (screen-height, screen-width, set-screen-width)
8677 (set-screen-height): Remove ancient compatibility aliases.
8679 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8680 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8682 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8683 that change current buffer.
8685 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8687 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8688 beginning of the string. Use `string-match-p'. (Bug#6765)
8690 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8692 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8694 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8696 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8697 (package--builtins): Tweak descriptions.
8698 (package-print-package): Upcase descriptions if necessary.
8699 Show all built-in packages in font-lock-builtin-face.
8700 (package-list-packages-internal): Omit "emacs" package.
8701 Show status of built-in packages as "built-in".
8703 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8705 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8706 before killing to preserve the primary selection (Bug#6701).
8708 * term/x-win.el (x-select-text): Doc fix.
8710 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8712 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8713 (objc-font-lock-extra-types):
8714 * progmodes/cc-mode.el (c-basic-common-init):
8715 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8716 (c++-make-template-syntax-table)
8717 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8718 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8719 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8720 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8721 * progmodes/cc-fonts.el (c-make-inverse-face)
8722 (c-basic-matchers-after):
8723 * progmodes/cc-engine.el (c-forward-keyword-clause)
8724 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8725 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8726 (c-guess-continued-construct, c-guess-basic-syntax):
8727 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8728 The above functions were modified or created.
8730 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8732 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8734 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8736 * files.el (bidi-paragraph-direction): Define safe local values.
8738 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8739 language-info-alist. Remove outdated FIXME in a comment.
8741 2010-07-31 Alan Mackenzie <acm@muc.de>
8743 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8744 Auto-fill broken in C/C++ modes.
8746 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8748 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8749 (menu-bar-showhide-tool-bar-menu-customize-disable)
8750 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8751 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8752 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8753 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8754 make a menu for Options => toolbar that can move it.
8756 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8758 * emacs-lisp/package-x.el (package--make-rss-entry):
8759 (package-maint-add-news-item, package--update-news)
8760 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8762 * emacs-lisp/package.el (package-archive-url): Rename from
8764 (package-install): Doc fix.
8765 (package-download-single, package-download-tar, package-install)
8766 (package-menu-view-commentary): Callers changed.
8768 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8770 * net/tramp.el (tramp-handle-start-file-process): Check only for
8771 `remote-tty' process property.
8772 (tramp-open-shell): Don't check for tty.
8773 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8776 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8779 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8781 * emacs-lisp/package.el (package-load-list, package-archives)
8782 (package-archive-contents, package-user-dir)
8783 (package-directory-list, package--builtins, package-alist)
8784 (package-activated-list, package-obsolete-alist): Mark as risky.
8786 2010-07-28 Phil Hagelberg <phil@evri.com>
8788 Add support for non-default package repositories.
8789 * emacs-lisp/package.el (package-archive-base): Var deleted.
8790 (package-archives): New variable.
8791 (package-archive-contents): Doc fix.
8792 (package-load-descriptor): Do nothing if descriptor file is missing.
8793 (package--write-file-no-coding): New function.
8794 (package-unpack-single): Use it.
8795 (package-archive-id): New function.
8796 (package-download-single, package-download-tar)
8797 (package-menu-view-commentary): Use it.
8798 (package-installed-p): Make second argument optional.
8799 (package-read-all-archive-contents): New function.
8800 (package-initialize): Use it.
8801 (package-read-archive-contents): Add ARCHIVE argument.
8802 (package--add-to-archive-contents): New function.
8803 (package-install): Don't call package-read-archive-contents.
8804 (package--download-one-archive): Store archive file in a
8805 subdirectory of package-user-dir.
8806 (package-menu-execute): Remove spurious line movement.
8808 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8810 * cus-start.el (tool-bar-style): Add text-image-horiz.
8812 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8814 * progmodes/gud.el (gud-common-init): Check for remoteness of
8815 `file', and not of `default-directory'.
8817 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8819 * net/tramp.el (tramp-methods): Move hostname to the end in all
8820 ssh `tramp-login-args'.
8821 (tramp-verbose): Describe verbose level 9.
8822 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8823 (tramp-open-connection-setup-interactive-shell): Trace stty
8824 settings if `tramp-verbose' >= 9.
8825 (tramp-handle-start-file-process): Implement tty setting.
8826 (Bug#4604, Bug#6360)
8828 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8829 `tramp-verbose' to 9.
8831 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8833 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8834 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8835 Remove references to package `lisp-re' (bug#4369).
8837 2010-07-27 Tom Tromey <tromey@redhat.com>
8839 * progmodes/js.el (js-mode):
8840 * progmodes/make-mode.el (makefile-mode):
8841 * progmodes/simula.el (simula-mode):
8842 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8844 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8846 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8848 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8849 (display-time-world-buffer-name, display-time-world-mode-map):
8850 Fix typos in docstrings.
8852 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8854 * image-mode.el (image-display-size): New function.
8855 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8856 (image-mode-fit-frame): Use it (Bug#6639).
8858 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8860 * dired.el (dired-buffers-for-dir): Handle list values of
8861 dired-directory (Bug#6636).
8863 2010-07-26 Sam Steingold <sds@gnu.org>
8865 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8866 Do not call `x-get-selection' the second time, reuse the value.
8868 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8870 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8871 which consist of control chars only. Suggested by Richard Stallman.
8873 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8875 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8876 exists before passing an error to find-file-not-found-functions
8879 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8881 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8882 Remove leading nil element, adjust values.
8883 (tetris-shapes, tetris-shape-scores):
8884 Change representation of shapes and remove some redundancy.
8885 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8886 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8887 Adjust for working with new representation of shapes.
8888 (tetris-shape-rotations): New function.
8889 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8890 (tetris-rotate-prev, tetris-rotate-next):
8891 Adjust for working with the new version of tetris-test-shape.
8893 2010-07-23 Markus Triska <markus.triska@gmx.at>
8895 * progmodes/ps-mode.el: Use comint (bug#5954).
8896 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8897 (ps-mode-other-newline): Simplify.
8898 (ps-run-mode): Derive from comint-mode instead of
8899 fundamental-mode, yielding input history etc.
8900 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8901 (ps-run-send-string): Adapt for comint-mode.
8902 (ps-run-newline): Remove now unneeded function.
8904 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8906 * net/tramp.el (tramp-methods): Move hostname to the end in all
8907 plink `tramp-login-args'.
8909 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8911 * net/tramp.el (tramp-open-shell): New defun.
8912 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8915 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8917 * net/tramp.el (tramp-file-name-regexp-unified)
8918 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8919 not regard the volume letter as remote filename. (Bug#5447)
8921 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8923 * custom.el (custom-declare-variable): Give a clearer error message
8924 when the docstring is missing (bug#6476).
8926 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8928 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8929 (sql-login-params): New widget definition.
8930 (sql-oracle-login-params, sql-mysql-login-params)
8931 (sql-solid-login-params, sql-sybase-login-params)
8932 (sql-informix-login-params, sql-ingres-login-params)
8933 (sql-ms-login-params, sql-postgres-login-params)
8934 (sql-interbase-login-params, sql-db2-login-params)
8935 (sql-linter-login-params): Use it.
8936 (sql-sqlite-login-params): Use it; Define "database" parameter as
8938 (sql-sqlite-program): Change to "sqlite3".
8939 (sql-comint-sqlite): Make sure database name is complete.
8940 (sql-for-each-login): New function.
8941 (sql-connect, sql-save-connection): Use it.
8942 (sql-get-login-ext): New function.
8943 (sql-get-login): Use it.
8944 (sql-make-alternate-buffer-name): Handle :file parameters.
8946 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8948 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8949 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8951 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8953 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8955 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8957 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8959 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8961 * net/tramp.el (tramp-get-ls-command)
8962 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8965 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8967 * progmodes/sql.el: Version 2.3.
8968 (sql-connection-alist): Change keys from symbols to strings;
8969 enhanced the widget definition.
8970 (sql-mode-menu): Add submenu to select connections.
8971 (sql-interactive-mode-menu): Add "Save Connection" item.
8972 (sql-add-product): Fix menu item.
8973 (sql-get-product-feature): Improved error handling.
8974 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8975 (sql-make-alternate-buffer-name): Simplified.
8976 (sql-product-interactive): Handle missing product.
8977 (sql-connect): Support string keys, minor improvements.
8978 (sql-save-connection): New function.
8979 (sql-connection-menu-filter): New function.
8981 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8983 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8984 (tramp-open-connection-setup-interactive-shell):
8985 Apply workaround for IRIX64 bug. Move argument of last
8986 `tramp-send-command' where it belongs to.
8988 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8990 * net/tramp.el (tramp-perl-file-attributes)
8991 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8992 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8993 front of `login-args'.
8995 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8997 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8998 Set `show-trailing-whitespace' to nil.
8999 (display-time-world-display): Simplify.
9001 2010-07-18 Alan Mackenzie <acm@muc.de>
9003 Enhance `c-file-style' in file/directory local variables.
9004 * progmodes/cc-mode.el (c-count-cfss): New function.
9005 (c-before-hack-hook): Call `c-set-style' differently according to
9006 whether c-file-style was set in file or directory local
9009 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9011 * progmodes/sql.el: Version 2.2.
9012 (sql-product, sql-user, sql-database, sql-server, sql-port):
9013 Use defcustom :safe keyword rather than putting safe-local-variable
9015 (sql-password): Use defcustom :risky keyword rather than putting
9016 risky-local-variable property.
9017 (sql-oracle-login-params, sql-sqlite-login-params)
9018 (sql-solid-login-params, sql-sybase-login-params)
9019 (sql-informix-login-params, sql-ingres-login-params)
9020 (sql-ms-login-params, sql-postgres-login-params)
9021 (sql-interbase-login-params, sql-db2-login-params)
9022 (sql-linter-login-params): Add `port' option.
9023 (sql-get-product-feature): Add NO-INDIRECT parameter.
9024 (sql-comint-oracle, sql-comint-sybase)
9025 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9026 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9027 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9028 (sql-comint-linter): Rename sql-connect-* functions to
9030 (sql-product-alist, sql-mode-menu): Rename as above and
9031 :sqli-connect-func to :sqli-comint-func.
9032 (sql-connection): New variable.
9033 (sql-interactive-mode): Set it.
9034 (sql-connection-alist): New variable.
9035 (sql-connect): New function.
9036 (sql--alt-buffer-part, sql--alt-if-not-empty)
9037 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9039 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9041 * image-mode.el (image-bookmark-make-record): Do not set context
9042 in an image (Bug#6650).
9044 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9046 * simple.el (select-active-region): New function.
9047 (push-mark-command, set-mark, activate-mark)
9048 (handle-shift-selection): Use it.
9049 (deactivate-mark): Don't check for size of region.
9051 * mouse.el (mouse-drag-track): Use select-active-region.
9053 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9055 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9058 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9060 * term/x-win.el (x-select-enable-primary): Change default to nil.
9061 (x-select-enable-clipboard): Add :version keyword.
9063 * mouse.el (mouse-drag-copy-region):
9064 * simple.el (select-active-regions): Likewise.
9066 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9068 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9069 (vc-coding-system-for-diff): Use it to decide whether to inherit
9070 from the file the EOL format for reading the diffs of that file.
9073 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9075 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9076 unibyte, so compressed attachments are not compressed again.
9078 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9080 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9081 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9082 (tramp-find-shell): Simplify setting connection property.
9083 (tramp-get-ls-command): Make test for "--color=never" stronger.
9085 2010-07-15 Simon South <ssouth@member.fsf.org>
9087 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9088 blocks within record declarations (i.e. variant parts) correctly.
9090 2010-07-15 Simon South <ssouth@member.fsf.org>
9092 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9093 over literal tokens when parsing so newlines aren't "absorbed" by
9094 single-line comments. Corrects the indentation of case blocks
9095 that have a comment on the first line.
9097 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9099 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9100 by Drew Adams (Bug#5504).
9102 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9104 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9105 now that Unicode is used (Bug#6594).
9107 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9109 * term/x-win.el (x-select-enable-clipboard): Default to t.
9110 (x-initialize-window-system): Don't overwrite Paste menu item.
9112 * simple.el (select-active-regions): Default to t.
9113 (push-mark-command): Don't overwrite primary with empty string.
9115 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9116 (mouse-drag-copy-region): Default to nil.
9118 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9119 Cut/Copy/Paste menu bar items.
9121 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9123 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9124 Patch applied by Karl Fogel.
9126 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9127 and `bookmark-current-buffer' if they have been already set in
9128 another buffer (e.g gnus-art).
9130 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9131 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9133 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9135 * bookmark.el (bookmark-make-record-default): Allow unneeded
9136 information to be omitted from the record.
9138 Adjust declarations and calls:
9140 * info.el (bookmark-make-record-default): Adjust declaration.
9141 (Info-bookmark-make-record): Adjust call.
9143 * woman.el (bookmark-make-record-default): Adjust declaration.
9144 (woman-bookmark-make-record): Adjust call.
9146 * man.el (bookmark-make-record-default): Adjust declaration.
9147 (Man-bookmark-make-record): Adjust call.
9149 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9151 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9153 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9155 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9156 This is also from Thierry Volpiatto's patch in bug #6444. However,
9157 because it was extraneous to the functional change in that patch,
9158 and causes a re-indendation, I am committing it separately.
9160 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9162 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9163 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9164 Patch applied by Karl Fogel (Bug#6444).
9166 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9168 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9170 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9172 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9173 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9174 (ns-alternatives-map): Change S-tab binding to backtab
9177 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9180 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9182 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9185 * language/tv-util.el (tai-viet-re): Remove format.
9187 2010-07-12 Kenichi Handa <handa@m17n.org>
9189 * language/hebrew.el: Remove no-byte-compile declaration.
9190 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9191 composition-function-table for 3-character looking back.
9192 (hebrew-font-get-precomposed): New function.
9193 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9195 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9197 * mouse.el (mouse-drag-track): Handle select-active-regions
9200 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9202 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9203 empty argument to gvfs-copy.
9205 2010-07-10 Glenn Morris <rgm@gnu.org>
9207 * calendar/calendar.el (calendar-week-end-day): New function.
9208 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9209 Respect calendar-week-start-day. (Bug#6606)
9210 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9211 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9212 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9213 respect calendar-week-start-day.
9215 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9217 * simple.el (use-region-p): Doc fix (Bug#6607).
9219 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9221 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9222 Add regexps for cucumber and ruby.
9224 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9226 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9227 (epa-file-insert-file-contents): Hack to prevent
9228 find-file from opening empty buffer when decryption failed
9231 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9233 * textmodes/ispell.el (ispell-alternate-dictionary):
9234 Use file-readable-p.
9235 Return nil if no word-list is found at default locations.
9236 (ispell-complete-word-dict): Default to nil.
9237 (ispell-command-loop): Use 'word-list' when using lookup-words.
9238 (lookup-words): Use ispell-complete-word-dict or
9239 ispell-alternate-dictionary. Check for word-list availability
9240 and handle errors if needed with better messages (Bug#6539).
9241 (ispell-complete-word): Use ispell-complete-word-dict or
9242 ispell-alternate-dictionary.
9244 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9246 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9247 builtins (BufferError, BytesWarning, WindowsError; callables
9248 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9250 2010-07-07 Glenn Morris <rgm@gnu.org>
9252 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9253 (zone-shift-left): Ignore intangibility, and any errors from
9255 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9256 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9257 deleting, and copying text properties.
9258 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9259 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9260 to point-max is hard.
9261 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9262 (zone-fill-out-screen): Ignore intangibility.
9264 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9266 * menu-bar.el (menu-bar-mode):
9267 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9270 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9271 word/line selection (Bug#6565).
9273 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9275 * net/dbus.el (dbus-send-signal): Declare function.
9277 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9279 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9280 (dbus-register-property): New optional argument EMITS-SIGNAL.
9281 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9283 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9285 * mouse.el (mouse-drag-overlay): Variable deleted.
9286 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9287 (mouse--remap-link-click-p): New function.
9288 (mouse-drag-track): Handle dragging by using temporary Transient
9289 Mark mode, instead of a special overlay.
9290 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9293 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9296 2010-07-02 Juri Linkov <juri@jurta.org>
9298 * autoinsert.el (auto-insert-alist): Fix readability
9299 by using dotted pair notation for lambda.
9301 2010-07-02 Juri Linkov <juri@jurta.org>
9303 * faces.el (read-face-name): Rename arg `string-describing-default'
9304 to `default'. Doc fix. Display the default value in quotes
9305 in the prompt. With empty input, return the `default' arg,
9306 unless the default value is a string (in which case return nil).
9307 (describe-face): Replace the string `default' arg of `read-face-name'
9308 with the symbol `default'.
9310 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9312 * emulation/viper-cmd.el (viper-delete-backward-char)
9313 (viper-del-backward-char-in-insert)
9314 (viper-del-backward-char-in-replace, viper-change)
9315 (viper-backward-indent): Replace delete-backward-char with
9316 delete-char (Bug#6552).
9318 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9320 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9322 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9324 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9325 argument passed to frame-creation-function (Bug#5378).
9327 * faces.el (x-handle-named-frame-geometry)
9328 (x-handle-reverse-video, x-create-frame-with-faces)
9329 (face-set-after-frame-default, tty-create-frame-with-faces):
9330 Don't separately consult default-frame-alist. It is now passed as the
9333 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9335 * startup.el (command-line): Don't call tool-bar-setup in a
9338 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9340 * ruler-mode.el (ruler--save-header-line-format): New fun.
9341 (ruler-mode): Use it as a setter function, so as not to overwrite
9342 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9344 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9346 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9347 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9348 (vc-log-outgoing): Use it.
9349 (vc-diff-internal): Set diff-vc-backend.
9351 * vc/diff-mode.el (diff-vc-backend): New var.
9353 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9355 * dynamic-setting.el (font-setting-change-default-font):
9356 Remove call to message.
9358 2010-06-28 Kenichi Handa <handa@m17n.org>
9360 * international/quail.el (quail-insert-kbd-layout): Fix the
9361 showing of untranslated characters.
9363 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9365 * simple.el (delete-active-region): New option.
9366 (delete-backward-char): Implement in Lisp.
9367 (delete-forward-char): New command.
9369 * mouse.el (mouse-region-delete-keys): Delete.
9370 (mouse-show-mark): Simplify.
9372 * bindings.el (global-map): Bind delete and DEL, the former to
9373 delete-forward-char.
9375 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9377 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9378 (ruby-mode): Bind indent-line-function (Bug#5119).
9380 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9382 * startup.el (command-line): Recognize "0" X resource value.
9384 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9386 * startup.el (command-line): Use X resources to set the value of
9387 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9389 * menu-bar.el (menu-bar-mode):
9390 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9391 Set init-value to t.
9393 * frame.el (frame-notice-user-settings): Don't change
9394 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9395 vice versa (Bug#2249).
9397 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9399 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9401 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9403 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9404 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9406 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9407 default directories are expanded (Bug#6143).
9409 2010-06-24 Juri Linkov <juri@jurta.org>
9411 * minibuffer.el (completions-format): Change default from nil to
9412 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9414 2010-06-24 Juri Linkov <juri@jurta.org>
9416 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9417 buffer-locally to lambda that re-runs the vc diff command.
9420 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9422 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9423 echo area is in use (Bug#3412).
9425 2010-06-22 Glenn Morris <rgm@gnu.org>
9427 * textmodes/texinfmt.el (texinfo-format-region)
9428 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9429 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9430 (texinfo-format-option, texinfo-noindent):
9431 Use line-beginning-position and line-end-position.
9433 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9434 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9435 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9438 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9440 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9441 forward-line fallout.
9443 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9445 * mouse.el (mouse-appearance-menu): Add docstring.
9447 * help.el (describe-key): Print up-event using key-description.
9449 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9451 * net/zeroconf.el (zeroconf-resolve-service)
9452 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9453 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9455 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9457 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9459 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9461 Avoid displaying files with a nil state in vc-dir.
9462 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9463 cases that cause insertion.
9464 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9467 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9469 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9471 2010-06-29 Leo <sdl.web@gmail.com>
9473 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9475 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9477 * generic-x.el (bat-generic-mode): Fix regexp for command line
9478 switches (Bug#5719).
9480 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9482 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9483 of nconc to avoid pure storage error (Bug#6239).
9485 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9487 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9488 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9489 bindings of bookmark-automatically-show-annotations (Bug#6515).
9491 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9493 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9494 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9496 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9498 * comint.el (make-comint, make-comint-in-buffer): Mention return
9499 value in the docstrings. (Bug#6498)
9501 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9503 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9504 since it is not present when using some non-default switches.
9506 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9508 * simple.el (compose-mail): Fix doc string to refer to
9509 `compose-mail-user-agent-warnings', instead of to the
9510 nonexistent `compose-mail-check-user-agent'.
9512 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9514 Fix an indentation bug:
9516 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9517 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9520 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9521 (c-clear->-pair-props-if-match-before): now return t when they've
9522 cleared properties, nil otherwise.
9523 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9524 by taking account of the existing value.
9526 * progmodes/cc-defs.el
9527 (c-clear-char-property-with-value-function): Fix this to clear the
9528 property rather than overwriting it with nil.
9530 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9532 * emacs-lisp/package.el (package-print-package): Add link to
9533 package description via describe-package.
9534 (describe-package-1): List package requirements. Add button to
9535 perform installation.
9536 (package-menu-describe-package): New command.
9538 * help-mode.el (help-package): New button type.
9540 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9542 * emacs-lisp/package.el: Move package-list-packages binding to
9544 (describe-package, describe-package-1, package--dir): New funs.
9545 (package-activate-1): Use package--dir.
9547 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9549 * help-mode.el (help-package-def): New button type.
9551 * menu-bar.el: Move package-list-packages binding here from
9554 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9556 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9558 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * emacs-lisp/edebug.el (edebug-read-list):
9561 Phase out old-style backquotes.
9563 2010-06-17 Juri Linkov <juri@jurta.org>
9565 * help-mode.el (help-mode): Set buffer-local variable
9566 revert-buffer-function to help-mode-revert-buffer.
9567 (help-mode-revert-buffer): New function.
9569 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9570 before popping to "*info*" (like in other Info functions).
9571 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9572 old-history-forward. Pop to old-buffer-name or "*info*" to
9573 recreate the killed buffer. Set Info-history-forward from
9574 old-history-forward.
9575 (Info-breadcrumbs-depth): Add :group and :version.
9577 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9579 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9581 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9583 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9584 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9586 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9588 * emacs-lisp/package.el (package-menu-mode-map):
9589 Move initialization into declaration.
9591 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9593 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9595 * emacs-lisp/package.el (package-archive-base): Point to
9597 (package-enable, package-load-list): New defcustoms.
9598 (package-user-dir, package-directory-list): Turn into defcustoms.
9599 Don't include package-user-dir in package-directory-list.
9600 (package--builtins-base): Don't include Emacs as a "package".
9601 (package-subdirectory-regexp): New var.
9602 (package-load-all-descriptors, package-compute-transaction)
9603 (package-download-transaction): Obey package-load-list.
9604 (package-activate-1): Rename from package-do-activate.
9605 (package-list-packages-internal): Check package-load-list.
9606 (package-load-descriptor, package-generate-autoloads)
9607 (package-unpack, package-unpack-single)
9608 (package--read-archive-file, package-delete):
9609 Use expand-file-name.
9611 * emacs-lisp/package-x.el: New file. Package uploading
9612 functionality split out from package.el.
9614 * startup.el (command-line): Load packages after reading init file.
9616 2010-06-17 Tom Tromey <tromey@redhat.com>
9618 * emacs-lisp/package.el: New file.
9620 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9622 Fix vc-annotate for renamed files when using Git.
9623 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9624 ls-files. Doe not pass the object as a file name to cat-file, it
9626 (vc-git-annotate-command): Pass the file name using -- to avoid
9627 ambiguity with the revision.
9628 (vc-git-previous-revision): Pass a relative file name.
9630 2010-06-22 Glenn Morris <rgm@gnu.org>
9632 * progmodes/js.el (js-mode-map): Use standard capitalization and
9633 ellipses for menu entries.
9635 * wid-edit.el (widget-complete): Doc fix.
9637 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9639 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9641 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9643 Fix annotating other revisions for renamed files in vc-annotate.
9644 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9645 VC backend. Use it when non-nil.
9646 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9649 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9650 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9651 Do not pass the file name to the 'previous-revision call when we
9652 don't want a file diff. (Bug#6489)
9654 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9656 Fix finding revisions for renamed files in vc-annotate.
9657 * vc/vc.el (vc-find-revision): Add an optional argument for
9658 the VC backend. Use it when non-nil.
9659 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9660 backend to vc-find-revision. (Bug#6487)
9662 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9664 Fix reading file names in Git annotate buffers.
9665 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9666 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9668 2010-06-20 Alan Mackenzie <acm@muc.de>
9670 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9671 in file local variables, set it first.
9673 2010-06-19 Glenn Morris <rgm@gnu.org>
9675 * descr-text.el (describe-char-unicode-data): Insert separating
9676 space when needed. (Bug#6422)
9678 * progmodes/idlwave.el (idlwave-action-and-binding):
9679 Fix typo in 2009-12-03 change. (Bug#6450)
9681 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9684 handling for `lambda' (misunderstanding).
9686 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9688 * calc/calc-poly.el (math-accum-factors): Make sure that
9689 constants aren't distributed after they are factored out.
9691 2010-06-16 Juri Linkov <juri@jurta.org>
9693 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9694 `list-colors-print'. (Bug#6332)
9696 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9698 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9700 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9701 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9703 * font-lock.el (font-lock-major-mode): Rename from
9704 font-lock-mode-major-mode to distinguish it from
9705 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9706 (font-lock-set-defaults):
9707 * font-core.el (font-lock-default-function): Adjust users.
9708 (font-lock-mode): Don't set it at all.
9710 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9714 2010-06-16 Glenn Morris <rgm@gnu.org>
9716 * calendar/appt.el (appt-time-msg-list): Doc fix.
9717 (appt-check): Let-bind appt-warn-time.
9718 (appt-add): Make the 3rd argument optional.
9719 Simplify argument names. Doc fix. Check for integer WARNTIME.
9720 Only add WARNTIME to the output list if non-nil.
9722 2010-06-16 Ivan Kanis <apple@kanis.eu>
9724 * calendar/appt.el (appt-check): Let the 3rd element of
9725 appt-time-msg-list specify the warning time.
9726 (appt-add): Add new argument with the warning time. (Bug#5176)
9728 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9730 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9731 older than version 1.6. (Bug#6361)
9733 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9735 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9736 used by cl-do-arglist. (Bug#6408)
9738 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9740 * textmodes/ispell.el (ispell-dictionary-base-alist):
9741 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9742 Suggested by Rolando Pereira (bug#6434).
9744 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9746 * facemenu.el (list-colors-sort): Doc fix.
9748 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9750 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9752 2010-06-14 Juri Linkov <juri@jurta.org>
9754 Add sort option `list-colors-sort'. (Bug#6332)
9755 * facemenu.el (color-rgb-to-hsv): New function.
9756 (list-colors-sort): New defcustom.
9757 (list-colors-sort-key): New function.
9758 (list-colors-display): Doc fix. Sort list according to the option
9760 (list-colors-print): Add HSV values to `help-echo' property of
9763 2010-06-14 Juri Linkov <juri@jurta.org>
9765 * compare-w.el: Move to the "vc" subdirectory.
9767 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * image-mode.el (image-mode-map): Remap left-char and right-char.
9771 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9773 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9775 * term/common-win.el (x-colors): Add all the color names defined
9776 in rgb.txt (Bug#6332).
9778 * facemenu.el (list-colors-print): Don't print extra names if it
9779 will overflow the window width.
9781 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9784 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9786 * files.el (make-directory): Doc fix (bug#6396).
9788 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9790 * net/tramp.el (tramp-remote-process-environment): Protect version
9791 string by apostroph.
9792 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9794 (tramp-file-name-for-operation): Add `call-process-region'.
9795 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9797 * net/tramp-compat.el (top): Do not autoload
9798 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9799 only when `start-file-process' is not bound.
9800 (tramp-advice-file-expand-wildcards): Do not use
9801 `tramp-handle-file-remote-p'.
9802 (tramp-compat-make-temp-file): Handle the case, that
9803 `make-temp-file' has no third argument EXTENSION.
9805 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9807 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9809 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9811 2010-06-11 Juri Linkov <juri@jurta.org>
9813 * finder.el (finder-known-keywords): Add keyword "vc"
9814 for version control.
9816 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9817 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9818 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9819 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9821 2010-06-11 Juri Linkov <juri@jurta.org>
9823 Move version control related files to the "vc" subdirectory.
9824 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9825 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9826 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9827 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9828 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9829 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9830 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9831 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9832 Move files to the "vc" subdirectory.
9834 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9836 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9839 2010-06-11 Stephen Eglen <stephen@gnu.org>
9841 * shell.el: Bind `shell-resync-dirs' to M-RET.
9843 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9845 * notifications.el: Move file from lisp/net, because it is
9846 supposed to talk locally to the user.
9848 2010-06-10 Julien Danjou <julien@danjou.info>
9850 * net/notifications.el (notifications-on-action-signal)
9851 (notifications-on-closed-signal): Pass notification id as first
9852 argument to the callback functions. Add docstrings.
9853 (notifications-notify): Fix docstring.
9855 2010-06-10 Glenn Morris <rgm@gnu.org>
9857 * emacs-lisp/authors.el (authors-ignored-files)
9858 (authors-valid-file-names): Add some files.
9860 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9863 merge conflict, giving preference to the emacs-23 version of the code.
9865 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9867 * emacs-lisp/advice.el (ad-compile-function):
9868 Define warning-suppress-types before we let-bind it (bug#6275).
9870 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9871 declare it, make it buffer-local and permanent-local (bug#6324).
9872 (vc-resynch-window): Adjust name.
9873 * vc-hooks.el (vc-find-file-hook): Adjust name.
9875 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9877 * net/notifications.el (notifications-notify): Fix docstring.
9879 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9881 Update to Unicode 6.0.0 beta.
9882 * international/charprop.el: Update copyright.
9883 * international/mule-cmds.el (ucs-names): Update character ranges.
9884 * international/uni-bidi.el:
9885 * international/uni-category.el:
9886 * international/uni-combining.el:
9887 * international/uni-comment.el:
9888 * international/uni-decimal.el:
9889 * international/uni-decomposition.el:
9890 * international/uni-digit.el:
9891 * international/uni-lowercase.el:
9892 * international/uni-mirrored.el:
9893 * international/uni-name.el:
9894 * international/uni-numeric.el:
9895 * international/uni-old-name.el:
9896 * international/uni-titlecase.el:
9897 * international/uni-uppercase.el: Regenerate.
9899 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9901 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9902 (smie-precs-precedence-table): Fix typo in docstring.
9904 * vc-mtn.el (log-edit-extract-headers): Declare function.
9906 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9908 * net/notifications.el (dbus-register-signal): Declare function.
9909 (notifications-notify): Fix typos and reflow docstring.
9911 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9913 Improve VC create/retrieve tag/branch.
9914 * vc.el (vc-create-tag): Do not read the directory name for VCs
9915 with repository revision granularity. Adjust the tag/branch
9916 prompt. Reset VC properties.
9917 (vc-retrieve-tag): Do not read the directory name for VCs
9918 with repository revision granularity. Reset VC properties.
9920 2010-06-09 Julien Danjou <julien@danjou.info>
9922 * net/notifications.el: New file.
9924 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9926 Add optional support for resetting VC properties.
9927 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9928 call vc-file-clearprops when true.
9929 (vc-resynch-buffer): Add new optional argument, pass it down.
9930 (vc-resynch-buffers-in-directory): Likewise.
9932 Improve support for special markup in the VC commit message.
9933 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9934 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9935 * vc-git.el (vc-git-checkin):
9936 * vc-bzr.el (vc-bzr-checkin): Likewise.
9938 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9940 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9941 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9943 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9945 * iimage.el: Remove images as soon as the underlying text is modified.
9946 (iimage-modification-hook): New function.
9947 (iimage-mode-buffer): Use it.
9949 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9951 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9952 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9953 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9954 (smie-indent-keyword): Add handling of open-paren keywords.
9955 (smie-indent-comment-continue): Don't assume comment-continue.
9957 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9959 * window.el (pop-to-buffer): Remove the conditional that
9960 compares new-window and old-window, so it will reselect
9961 the selected window unconditionally.
9962 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9964 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9966 * emacs-lisp/smie.el (smie-indent-offset-after)
9967 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9968 (smie-indent-after-keyword): Use them.
9969 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9970 (smie-indent-keyword): Tweak the black magic.
9971 (smie-indent-comment-continue): Strip comment-continue before use.
9972 (smie-indent-functions): Indent comments before keywords.
9974 2010-06-06 Juri Linkov <juri@jurta.org>
9976 * isearch.el (isearch-lazy-highlight-search): Fix looping
9977 by checking for empty match. This syncs this loop with the
9978 similar loop in `isearch-search'. (Bug#6362)
9980 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9982 * net/dbus.el (dbus-register-method): Declare function.
9983 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9984 (dbus-introspect): Doc fix.
9985 (dbus-event-bus-name, dbus-introspect-get-interface)
9986 (dbus-introspect-get-argument): Reflow docstrings.
9988 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9990 vc-log-incoming/vc-log-outgoing fixes for Git.
9991 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9992 incoming/outgoing logs.
9993 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9994 instead of vc-git-compute-remote.
9995 (vc-git-compute-remote): Remove.
9997 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9999 * term/common-win.el (x-colors): Add "dark green" and "dark
10000 turquoise" (Bug#6332).
10002 2010-06-04 Juri Linkov <juri@jurta.org>
10004 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10005 Instead of setting `replace' to t and replacing the same string
10006 with itself, don't do certain actions when
10007 kill-do-not-save-duplicates is non-nil and string is equal to car
10008 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10009 interprogram-paste strings to kill-ring, and don't push the input
10010 argument `string' to kill-ring.
10011 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10013 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10015 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10017 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10019 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10020 (tramp-gvfs-handler-mounted-unmounted)
10021 (tramp-gvfs-connection-mounted-p): Handle default-location.
10023 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10024 move files to trash.
10026 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10028 * international/mule-cmds.el (nonascii-insert-offset)
10029 (nonascii-translation-table): Add obsolescence information.
10031 * international/mule.el (make-translation-table-from-vector): Doc fix.
10033 2010-06-03 Glenn Morris <rgm@gnu.org>
10035 * desktop.el (desktop-clear-preserve-buffers):
10036 Add "*Warnings*" buffer. (Bug#6336)
10038 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10040 vc-log-incoming/vc-log-outgoing improvements for Git.
10041 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10043 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10045 Add bindings for vc-log-incoming and vc-log-outgoing.
10046 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10047 and vc-log-outgoing.
10048 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10049 and vc-log-outgoing.
10051 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10053 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10054 (rcirc-handler-366): Always sort nicknames.
10056 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10058 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10060 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10062 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10064 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10067 (rcirc-sort-nicknames-join): Avoid setq.
10069 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10071 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10072 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10073 (rcirc-handler-366): Use them.
10075 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10077 Split smie-indent-calculate into more manageable chunks.
10078 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10079 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10080 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10081 (smie-indent-exps): Extract from smie-indent-calculate.
10082 (smie-indent-functions): New var.
10083 (smie-indent-functions): Use them.
10085 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10087 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10088 (smie-indent-calculate): Simplify and cleanup.
10090 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10092 * net/tramp-gvfs.el (top): Require url-util.
10093 (tramp-gvfs-mount-point): Remove.
10094 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10096 (with-tramp-dbus-call-method): Format trace message.
10097 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10098 Implement backup call, when operation on local files fails.
10099 Use progress reporter. Flush properties of changed files.
10100 (tramp-gvfs-handle-make-directory): Make more traces.
10101 (tramp-gvfs-url-file-name): Hexify file name in url.
10102 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10103 into account for the resulting file name.
10104 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10105 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10106 (tramp-gvfs-handler-mounted-unmounted)
10107 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10108 attribute "default_location". Set "prefix" property.
10109 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10110 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10111 exists. Raise an error, if not (due to a corresponding answer
10112 "no" in interactive questions, for example).
10114 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10116 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10118 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10120 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10121 right-*. (Bug#6265)
10123 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10125 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10126 * vc-git.el (vc-git-compute-remote): New function.
10127 (vc-git-log-outgoing): Use it instead of hard coding a value.
10128 (vc-git-log-incoming): New function.
10130 Improve state updating for VC tag commands.
10131 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10132 to update the state of all buffers in the directory.
10134 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10136 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10139 `file-directory-p' to the filename part rather than to the whole text.
10141 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10145 2010-05-31 Drew Adams <drew.adams@oracle.com>
10147 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10149 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10151 * subr.el (momentary-string-display): Just use read-event to read
10152 the exit event (Bug#6238).
10154 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10156 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10158 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10160 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10161 Suggested by Eli Zaretskii <eliz@gnu.org>.
10163 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10165 * minibuffer.el (completion-file-name-table): Don't return a boundary
10166 past the end of `string' (bug#6299).
10167 (completion--file-name-table): Delegate to completion-file-name-table
10168 for the `boundaries' case.
10170 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10172 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10175 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10176 `path-separator', but maintain compatibility with Emacs 20.2.
10178 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10180 * server.el (server-process-filter): Receive parent-id argument
10182 (server-create-window-system-frame): New arg. Pass parent-id as
10185 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10187 Bidi-sensitive word movement with arrow keys.
10188 * subr.el (right-arrow-command, left-arrow-command): Move to
10191 * bindings.el (right-char, left-char): Move from subr.el and
10192 rename from right-arrow-command and left-arrow-command.
10193 (right-word, left-word): New functions.
10194 (global-map) <right>: Bind to right-char.
10195 (global-map) <left>: Bind to left-char.
10196 (global-map) <C-right>: Bind to right-word.
10197 (global-map) <C-left>: Bind to left-word.
10199 * ls-lisp.el (ls-lisp-classify-file): New function.
10200 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10201 (ls-lisp-classify): Call ls-lisp-classify-file.
10202 (insert-directory): Remove blanks from switches.
10204 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10206 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10207 (ansi-color-drop-regexp): New constant.
10208 (ansi-color-apply, ansi-color-filter-region)
10209 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10210 (ansi-color-apply): Build string list before calling concat.
10212 2010-05-28 Juri Linkov <juri@jurta.org>
10214 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10215 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10218 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10220 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10221 to ignored backtrace functions.
10222 (with-progress-reporter): Expand docstring.
10223 (tramp-handle-delete-file): Implement TRASH argument.
10224 (tramp-get-remote-trash): New defun.
10226 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10228 * net/tramp-compat.el (tramp-compat-delete-file):
10229 Use `symbol-value' for backward compatibility.
10231 * net/tramp.el (tramp-handle-make-symbolic-link)
10232 (tramp-handle-load)
10233 (tramp-do-copy-or-rename-file-via-buffer)
10234 (tramp-do-copy-or-rename-file-directly)
10235 (tramp-do-copy-or-rename-file-out-of-band)
10236 (tramp-handle-process-file, tramp-handle-call-process-region)
10237 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10238 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10239 (tramp-delete-temp-file-function): Use `delete-file' instead
10240 of `tramp-compat-delete-file'.
10242 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10243 (tramp-fish-handle-make-symbolic-link)
10244 (tramp-fish-handle-process-file): Use `delete-file' instead
10245 of `tramp-compat-delete-file'.
10247 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10248 Use `delete-file' instead of `tramp-compat-delete-file'.
10250 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10251 `delete-file' instead of `tramp-compat-delete-file'.
10253 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10254 Use `delete-file' instead of `tramp-compat-delete-file'.
10256 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10257 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10258 (tramp-smb-handle-write-region): Use `delete-file' instead of
10259 `tramp-compat-delete-file'.
10260 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10262 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10264 * dired.el (dired-delete-file): New arg TRASH.
10265 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10266 (dired-do-flagged-delete, dired-do-delete): Use trash.
10268 * speedbar.el (speedbar-item-delete): Allow trashing.
10270 * files.el (delete-directory): New arg TRASH.
10272 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10273 (ange-ftp-rename-remote-to-remote)
10274 (ange-ftp-rename-local-to-remote)
10275 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10276 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10278 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10281 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10282 handle new TRASH arg of `delete-file'.
10284 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10285 (tramp-handle-make-symbolic-link, tramp-handle-load)
10286 (tramp-do-copy-or-rename-file-via-buffer)
10287 (tramp-do-copy-or-rename-file-directly)
10288 (tramp-do-copy-or-rename-file-out-of-band)
10289 (tramp-handle-process-file, tramp-handle-call-process-region)
10290 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10291 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10292 (tramp-delete-temp-file-function): Use null TRASH arg in
10293 tramp-compat-delete-file call.
10295 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10296 (tramp-fish-handle-delete-file)
10297 (tramp-fish-handle-make-symbolic-link)
10298 (tramp-fish-handle-process-file): Use null TRASH arg in
10299 `tramp-compat-delete-file' call.
10301 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10302 arg in `tramp-compat-delete-file' call.
10304 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10305 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10306 `tramp-compat-delete-file' call.
10308 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10309 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10310 `tramp-compat-delete-file' call.
10312 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10313 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10314 (tramp-smb-handle-write-region): Use null TRASH arg in
10315 tramp-compat-delete-file call.
10316 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10317 (tramp-smb-handle-delete-file): Rename arg.
10319 * diff.el (diff-sentinel):
10320 * epg.el (epg--make-temp-file, epg-decrypt-string)
10321 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10322 * jka-compr.el (jka-compr-partial-uncompress)
10323 (jka-compr-call-process, jka-compr-write-region):
10324 * server.el (server-sentinel): Remove optional arg from
10325 delete-file, reverting 2010-05-03 change.
10327 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10329 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10330 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10332 2010-05-27 Kenichi Handa <handa@m17n.org>
10334 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10335 element of GSTRING is nil.
10337 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10339 * emacs-lisp/smie.el (smie-forward-token-function)
10340 (smie-backward-token-function): New vars.
10341 (smie-backward-sexp, smie-forward-sexp)
10342 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10343 (smie-default-backward-token): Rename from smie-backward-token and
10345 (smie-default-forward-token): Rename from smie-forward-token and
10347 (smie-next-sexp): Handle nil results from next-token.
10348 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10350 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10352 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10353 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10355 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10357 * htmlfontify.el (hfy-face-resolve-face): New function.
10358 (hfy-face-to-style): Use it (Bug#6279).
10360 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10362 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10363 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10365 2010-05-26 Glenn Morris <rgm@gnu.org>
10367 * emulation/edt.el (edt-load-keys): Use locate-library.
10369 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10371 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10372 (log-edit-changelog-entries): Doc fix.
10373 (log-edit-changelog-insert-entries): Args changed.
10374 Rename relative filenames in ChangeLog entries. Delete tabs.
10375 (log-edit-insert-changelog-entries): Reorganize return value of
10376 `log-edit-changelog-entries' to pass filenames to
10377 log-edit-changelog-insert-entries.
10379 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10381 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10382 `image-dired-dired-insert-marked-thumbs' to
10383 `image-dired-dired-toggle-marked-thumbs'.
10385 * image-dired.el: Require cl when compiling.
10386 (image-dired-dired-toggle-marked-thumbs): Rename from
10387 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10388 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10389 to 'no-dir. Skip files whose names don't match
10390 `image-file-name-regexp'. When file has a thumbnail overlay,
10391 delete it. (Bug#5270)
10393 2010-05-25 Juri Linkov <juri@jurta.org>
10395 * image-mode.el (image-mode): Add image-after-revert-hook to
10397 (image-after-revert-hook): New function. (Bug#5669)
10399 2010-05-25 Juri Linkov <juri@jurta.org>
10401 * image.el (image-animated-p): When delay between animated images
10402 is 0, set it to 10 (0.1 sec). (Bug#6258)
10404 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10406 * net/tramp.el (tramp-handle-insert-directory): Don't use
10407 `forward-word', its default syntax could be changed.
10409 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10411 * net/tramp.el (tramp-progress-reporter-update): New defun.
10412 (with-progress-reporter): Use it.
10413 (tramp-process-actions):
10414 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10415 Preserve current message, in order to let progress reporter continue
10416 afterwards. (Bug#6257)
10418 2010-05-25 Glenn Morris <rgm@gnu.org>
10420 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10423 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10425 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10426 (rcirc-default-full-name): Change to "unknown".
10427 (rcirc-user-name-history): Add variable.
10429 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10430 Jonathan Rockway <jon@jrock.us>
10432 * net/rcirc.el (rcirc-server-alist): Add :pass.
10433 (rcirc): When prompting for connection parameters, also prompt for
10434 username and password.
10435 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10436 value to server when connecting.
10438 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10441 (smie-merge-prec2s): Pass the tables as separate args.
10442 (smie-bnf-precedence-table): Adjust call accordingly.
10443 (smie-prec2-levels): Set levels at the end.
10445 Replace Lisp calls to delete-backward-char by delete-char.
10446 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10447 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10448 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10449 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10450 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10451 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10452 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10453 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10454 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10455 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10456 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10457 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10458 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10459 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10460 delete-backward-char by calls to delete-char.
10462 2010-05-25 Kenichi Handa <handa@m17n.org>
10464 * language/hebrew.el (hebrew-shape-gstring): New function.
10465 Register it in composition-function-table for all Hebrew combining
10468 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10470 * epa.el (epa--select-keys): Don't explicitly delete the window since
10471 that can fail (e.g. sole window in frame). Use dedication instead.
10473 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10475 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10477 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10479 * image.el (image-refresh): Define as an alias for image-flush.
10481 * image-mode.el (image-toggle-display-image): Caller changed.
10483 2010-05-21 Juri Linkov <juri@jurta.org>
10485 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10486 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10487 whitespace, call wildcard-to-regexp on substrings and concat them
10488 with "\\|". (Bug#6114)
10490 2010-05-21 Alan Mackenzie <acm@muc.de>
10492 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10493 Replace parameter `here' with `here-' and `here-plus', which sandwich
10494 any pertinent CPP construct.
10495 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10496 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10497 CPP construct from taking part in the scanning.
10499 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10501 * net/tramp.el (tramp-do-copy-or-rename-file)
10502 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10503 Tune `with-progress-reporter' messages.
10504 (tramp-handle-vc-registered):
10505 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10506 (tramp-fish-handle-insert-file-contents)
10507 (tramp-fish-maybe-open-connection):
10508 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10509 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10510 (tramp-imap-handle-insert-file-contents)
10511 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10513 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10515 * add-log.el (change-log-font-lock-keywords):
10516 Highlight all authors in multi-author entries.
10518 * smerge-mode.el (smerge-refine-ignore-whitespace)
10519 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10520 Fix typos in docstrings.
10521 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10523 2010-05-21 Glenn Morris <rgm@gnu.org>
10525 * progmodes/fortran.el (fortran-mode):
10526 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10528 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10529 having a relative path in src/Makefile.in.
10531 2010-05-20 Kevin Ryde <user42@zip.com.au>
10533 * help-mode.el (help-make-xrefs): For Info node links turn
10534 newlines into spaces. Link node names with newlines are matched
10535 by help-xref-info-regexp and buttonized, this change ensures they
10536 can be followed successfully with RET. (Bug#6206)
10538 2010-05-20 Juri Linkov <juri@jurta.org>
10540 * locate.el (locate): Use pop-to-buffer instead of
10541 switch-to-buffer-other-window. (Bug#6204)
10543 2010-05-20 Juri Linkov <juri@jurta.org>
10545 * replace.el (replace-highlight): Fix lazy-highlighting
10546 for `M-s w str M-% str RET'.
10548 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10550 * isearch.el (isearch-yank-word-or-char): Pull next subword
10551 when `subword-mode' is activated. (Bug#6220)
10553 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10555 * isearch.el (isearch-update-post-hook): New hook.
10556 (isearch-update): Use the new hook. (Bug#6225)
10558 2010-05-20 Juri Linkov <juri@jurta.org>
10560 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10561 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10564 2010-05-20 Juri Linkov <juri@jurta.org>
10566 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10569 2010-05-20 Juri Linkov <juri@jurta.org>
10571 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10572 FILE-NAME to read from the minibuffer when called interactively
10573 with prefix argument instead of using buffer-file-name.
10574 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10576 * dired.el: Update autoloads.
10578 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10580 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10581 nxml-finish-element, for consistency with SGML mode.
10583 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10584 octave-close-block.
10586 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10588 * composite.el: Require cl when compiling.
10589 (reference-point-alist, compose-gstring-for-graphic)
10590 (compose-gstring-for-terminal): Fix typos in docstrings.
10592 2010-05-19 Juri Linkov <juri@jurta.org>
10594 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10595 set-window-parameter.
10597 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10599 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10601 (tramp-maybe-open-connection): Use it.
10603 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10605 * simple.el (move-end-of-line): Make sure we are at line beginning
10606 before backing up to end of previous line.
10608 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10610 * password-cache.el (password-cache-remove): Fix docstring.
10612 * net/secrets.el: Autoload the widget functions.
10613 (secrets-search-items, secrets-create-item)
10614 (secrets-get-attributes, secrets-expand-item): Attributes will be
10615 stored on the password database without leading ":", as all other
10616 clients do as well.
10617 (secrets-mode): Fix docstring.
10618 (secrets-show-secrets): Provide it as autoloaded command only when
10619 D-Bus support is available. Check existence of Secret Service API.
10621 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * indent.el (indent-region): Deactivate region (bug#6200).
10625 2010-05-19 Glenn Morris <rgm@gnu.org>
10627 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10629 2010-05-19 Kenichi Handa <handa@m17n.org>
10631 * composite.el: Register compose-gstring-for-graphic in
10632 composition-function-table only for combining characters (Mn, Mc, Me).
10634 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10636 * calc/calc-trail.el (calc-trail-isearch-forward)
10637 (calc-trail-isearch-backward): Ensure that the new window
10638 point is set correctly.
10640 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10642 * subr.el (read-quoted-char): Resolve modifiers after key
10643 remapping (bug#6212).
10645 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10647 Add visualization code for secrets.
10648 * net/secrets.el (secrets-mode): New major mode.
10649 (secrets-show-secrets, secrets-show-collections)
10650 (secrets-expand-collection, secrets-expand-item)
10651 (secrets-tree-widget-after-toggle-function)
10652 (secrets-tree-widget-show-password): New defuns.
10654 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10656 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10657 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10658 handled in smie-next-sexp.
10659 (smie-indent-calculate): Provide a starting indentation (so the
10660 recursion is well-founded ;-).
10662 Fix handling of non-associative equal levels.
10663 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10664 when it's not needed.
10665 (smie-op-left, smie-op-right): New functions.
10666 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10667 Better handle equal levels to distinguish the associative case from
10668 the "multi-keyword construct" case.
10669 (smie-backward-sexp, smie-forward-sexp): Use it.
10671 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10673 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10675 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10676 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10678 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10680 Provide a simple generic indentation engine and use it for Prolog.
10681 * emacs-lisp/smie.el: New file.
10682 * progmodes/prolog.el (prolog-smie-op-levels)
10683 (prolog-smie-indent-rules): New var.
10684 (prolog-mode-variables): Use them to configure SMIE.
10685 (prolog-indent-line, prolog-indent-level): Remove.
10687 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10689 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10690 order before computing the averages.
10692 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10694 * calc/calc-vec.el (calc-histogram):
10695 (calcFunc-histogram): Allow vectors as inputs.
10696 (math-vector-avg): New function.
10698 * calc/calc-ext.el (math-group-float): Have the number of digits
10699 being grouped depend on the radix (Bug#6189).
10701 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10703 * version.el (emacs-copyright, emacs-version): Don't define here,
10704 now that emacs.c defines it.
10706 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10708 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10709 "Describe Language Environment" menu item.
10711 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10713 Bidi-sensitive movement with arrow keys.
10714 * subr.el (right-arrow-command, left-arrow-command): New functions.
10716 * bindings.el (global-map): Bind them to right and left arrow keys.
10718 Don't override standard definition of convert-standard-filename.
10719 * files.el (convert-standard-filename):
10720 Call w32-convert-standard-filename and dos-convert-standard-filename on
10721 the corresponding systems.
10723 * w32-fns.el (w32-convert-standard-filename): Rename from
10724 convert-standard-filename. Doc fix.
10726 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10727 (convert-standard-filename): Don't defalias.
10728 (register-name-alist, make-register, register-value)
10729 (set-register-value, intdos): Obsolete aliases for the
10730 corresponding dos-* functions and variables.
10731 (dos-intdos): Add a doc string.
10733 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10735 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10736 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10737 (math-compose-tex-func):
10738 * calc/calccomp.el (math-compose-expr):
10739 * calc/calc-ext.el (math-format-flat-expr-fancy):
10740 * calc/calc-store.el (calc-read-var-name):
10741 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10743 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10744 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10745 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10746 (math-standard-units): Add units.
10748 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * progmodes/asm-mode.el (asm-mode):
10751 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10753 * pcomplete.el (pcomplete-completions-at-point): New function,
10754 extracted from pcomplete-std-complete.
10755 (pcomplete-std-complete): Use it.
10757 2010-05-15 Glenn Morris <rgm@gnu.org>
10759 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10760 Remove references to CVS, RCS and Old directories.
10762 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10764 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10767 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10769 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10770 (sh-mode-syntax-table): Give it a default value instead.
10771 (sh-header-marker): Make buffer-local.
10772 (sh-mode): Move make-local-variable to the corresponding setq.
10773 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10774 Use complete-with-action.
10776 * simple.el (prog-mode): New (abstract) major mode.
10777 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10778 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10780 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10782 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10783 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10784 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10785 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10786 (sql-escape-newlines-filter, sql-input-sender)
10787 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10789 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10791 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10793 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10794 latex-open-block and C-c / to latex-close-block.
10796 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10797 and C-c C-e to sgml-close-tag.
10799 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10801 * net/tramp.el (with-progress-reporter): Create reporter object
10802 only when the message would be displayed. Handle nested calls.
10803 (tramp-handle-load, tramp-handle-file-local-copy)
10804 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10805 (tramp-maybe-send-script, tramp-find-shell):
10806 Use `with-progress-reporter'.
10807 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10810 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10811 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10812 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10813 Use `with-progress-reporter'.
10815 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10817 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10818 process everytime when spellchecking from the minibuffer (bug#6143).
10820 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10822 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10824 * dos-fns.el: Add "dos-" prefix for namespace control.
10825 (convert-standard-filename): Define as alias for
10826 dos-convert-standard-filename but only if applicable.
10828 2010-05-12 Alan Mackenzie <acm@muc.de>
10830 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10831 Push the mark at the start of these functions when appropriate.
10833 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * minibuffer.el (completion-cycle-threshold): New custom var.
10836 (completion--do-completion): Use it.
10837 (minibuffer-complete): Use cycling if appropriate.
10839 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10841 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10842 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10844 2010-05-11 Juri Linkov <juri@jurta.org>
10846 * scroll-all.el (scroll-all-check-to-scroll):
10847 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10849 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10851 * iimage.el (iimage-mode-map): Move initialization into declaration.
10852 (iimage-mode-buffer): Use with-silent-modifications.
10853 Simplify calling convention. Adjust callers.
10854 (iimage-mode): Don't run hook redundantly.
10856 * minibuffer.el (completion-pcm--pattern->regex):
10857 Fix last change (bug#6160).
10859 2010-05-10 Juri Linkov <juri@jurta.org>
10861 Remove nodes visited during Isearch from the Info history.
10862 * info.el (Info-isearch-initial-history)
10863 (Info-isearch-initial-history-list): New variables.
10864 (Info-isearch-start): Record initial values of
10865 Info-isearch-initial-history and Info-isearch-initial-history-list.
10866 Add Info-isearch-end to isearch-mode-end-hook.
10867 (Info-isearch-end): New function.
10869 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10871 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10872 format string, in order to work around a bug in pdksh.
10873 Reported by Gilles Pion <gpion@lfdj.com>.
10874 (tramp-handle-verify-visited-file-modtime): Do not send a command
10875 when the connection is not established.
10876 (tramp-handle-set-file-times): Simplify the check for utc.
10878 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10880 Fix use of `filter-buffer-substring' (rework previous change).
10881 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10882 (cua-repeat-replace-region):
10883 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10884 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10885 (cua-cut-region-to-global-mark): Use it.
10887 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10889 * progmodes/sql.el: Version 2.1.
10890 (sql-product-alist): Redesign structure of product info.
10891 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10892 (sql-port, sql-port-history): New variables.
10893 (sql-interactive-product): New variable.
10894 (sql-send-terminator): New variable.
10895 (sql-imenu-generic-expression): Add "Types" imenu entry.
10896 (sql-oracle-login-params, sql-sqlite-login-params)
10897 (sql-mysql-login-params, sql-solid-login-params)
10898 (sql-sybase-login-params, sql-informix-login-params)
10899 (sql-ingres-login-params, sql-ms-login-params)
10900 (sql-postgres-login-params, sql-interbase-login-params)
10901 (sql-db2-login-params, sql-linter-login-params)
10902 (sql-oracle-scan-on): New variables.
10903 (sql-mode-map): Add C-c C-i to start interactive mode.
10904 (sql-mode-menu): Update existing menu entries.
10905 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10906 (sql-mode-oracle-font-lock-keywords)
10907 (sql-mode-postgres-font-lock-keywords)
10908 (sql-mode-ms-font-lock-keywords)
10909 (sql-mode-sybase-font-lock-keywords)
10910 (sql-mode-informix-font-lock-keywords)
10911 (sql-mode-interbase-font-lock-keywords)
10912 (sql-mode-ingres-font-lock-keywords)
10913 (sql-mode-solid-font-lock-keywords)
10914 (sql-mode-mysql-font-lock-keywords)
10915 (sql-mode-sqlite-font-lock-keywords)
10916 (sql-mode-db2-font-lock-keywords)
10917 (sql-mode-linter-font-lock-keywords): Update initialization to
10918 reduce run-time complexity.
10919 (sql-add-product, sql-del-product): New functions.
10920 (sql-set-product-feature, sql-get-product-feature): New functions.
10921 (sql-product-font-lock): Update product API.
10922 (sql-add-product-keywords): New function.
10923 (sql-highlight-product): Update product API.
10924 (sql-help-list-products): New function.
10925 (sql-help): Dynamically lists free and non-free products.
10926 (sql-get-login): Correct bug in handling history and added
10928 (sql-copy-column): Copy without properties.
10929 (sqli-input-sender): Apply filters to SQLi input.
10930 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10931 Implement as a filter.
10932 (sql-escape-newlines-filter): Implement as a filter.
10933 (sql-remove-tabs-filter): New function.
10934 (sql-send-magic-terminator): New function.
10935 (sql-send-string): Implement magic terminator.
10936 (sql-send-region): Use `sql-send-string'.
10937 (sql-interactive-mode): Use product API.
10938 (sql-product-interactive): Use product API.
10939 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10940 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10941 (sql-db2, sql-linter): Use `sql-product-interactive'.
10942 (sql-connect): New function.
10943 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10944 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10945 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10946 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10949 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10951 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10952 New custom variable.
10953 (completion-pcm--string->pattern): Use it.
10954 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10955 Make it handle any symbol as `any'.
10956 (completion-pcm--merge-completions): Extract common suffix for the new
10957 `prefix' symbol as well.
10958 (completion-substring--all-completions): Use the new `prefix' symbol.
10960 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10962 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10964 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10965 (tramp-compat-funcall): New defmacro.
10966 (tramp-compat-line-beginning-position)
10967 (tramp-compat-line-end-position)
10968 (tramp-compat-temporary-file-directory)
10969 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10970 (tramp-compat-copy-file, tramp-compat-copy-directory)
10971 (tramp-compat-delete-file, tramp-compat-delete-directory)
10972 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10973 * net/tramp.el (top, with-progress-reporter)
10974 (tramp-rfn-eshadow-setup-minibuffer)
10975 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10976 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10977 (tramp-completion-mode-p, tramp-check-for-regexp)
10978 (tramp-open-connection-setup-interactive-shell)
10979 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10980 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10981 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10982 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10983 (tramp-reporter-dump-variable, tramp-load-report-modules)
10984 (tramp-append-tramp-buffers)
10985 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10987 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10989 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10992 buffer-modtime. Adjust users.
10994 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10996 * international/mule.el (auto-coding-alist): Only purecopy
10997 car of each item, not the whole list (Bug#6083).
10999 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11001 * progmodes/js.el (js-mode): Make paragraph variables local before
11002 calling c-setup-paragraph-variables (Bug#6071).
11004 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11006 * composite.el (compose-region, reference-point-alist): Fix typos
11007 in the doc strings.
11009 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11011 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11012 gnuplot's "set" command.
11014 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11016 * abbrev.el (last-abbrev-text): Doc fix.
11017 (abbrev-prefix-mark): Don't escape parenthesis.
11019 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11021 * composite.el (find-composition): Doc fix.
11023 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11025 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11026 (sql-oracle-program, sql-sqlite-options)
11027 (sql-query-placeholders-and-send): Doc fixes.
11028 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11029 (sql-imenu-generic-expression, sql-buffer)
11030 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11031 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11032 (sql-mode-sybase-font-lock-keywords)
11033 (sql-mode-informix-font-lock-keywords)
11034 (sql-mode-interbase-font-lock-keywords)
11035 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11036 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11037 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11038 (sql-product-feature, sql-highlight-product)
11039 (comint-line-beginning-position, sql-rename-buffer)
11040 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11041 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11042 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11043 Fix typos in docstrings.
11045 2010-05-08 Juri Linkov <juri@jurta.org>
11047 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11048 property instead of `invisible' and `after-string' (bug#5998).
11050 2010-05-08 Juri Linkov <juri@jurta.org>
11052 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11054 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11056 * filecache.el (file-cache-add-directory-list)
11057 (file-cache-add-directory-recursively): Fix typos in docstrings.
11059 2010-05-08 Kenichi Handa <handa@m17n.org>
11061 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11062 (gujarati-composable-pattern): Fix typo.
11064 2010-05-08 Kenichi Handa <handa@m17n.org>
11066 * language/indian.el (oriya-composable-pattern)
11067 (tamil-composable-pattern, malayalam-composable-pattern):
11068 Add two-part vowels to "v" (vowel sign).
11070 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11072 * files.el (copy-directory): Handle symlinks (Bug#5982).
11074 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11076 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11077 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11080 2010-05-08 Glenn Morris <rgm@gnu.org>
11082 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11084 * minibuffer.el (completion-at-point): Doc fix.
11086 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11088 * electric.el (Electric-command-loop): Minor tweak.
11090 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11091 better with dedicated windows.
11093 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11095 * Version 23.2 released.
11097 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11098 Stefan Monnier <monnier@iro.umontreal.ca>
11100 Highlight vendor specific properties.
11101 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11102 (css-proprietary-property): New face.
11103 (css-font-lock-keywords): Use them.
11105 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11107 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11109 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11111 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11112 * files.el (auto-mode-alist): Remove redundant entries.
11114 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11115 * simple.el (auto-save-mode): Move from files.el.
11116 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11118 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11120 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11122 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11124 * mail/binhex.el (binhex-decode-region-internal)
11125 * mail/uudecode.el (uudecode-decode-region-internal)
11126 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11127 (dns-read-type, dns-query)
11128 * pgg-parse.el (pgg-parse-armor)
11129 * pgg.el (pgg-verify-region)
11130 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11133 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11135 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11137 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11139 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11140 * emulation/cua-base.el (cua-repeat-replace-region):
11141 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11142 (cua-cut-region-to-global-mark):
11143 Remove text properties with `set-text-properties'.
11145 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11147 * net/tramp.el (top, with-progress-reporter):
11148 Use `symbol-function' inside `funcall'.
11150 * net/tramp-compat.el (tramp-compat-file-attributes)
11151 (tramp-compat-delete-file, tramp-compat-delete-directory):
11152 Handle only `wrong-number-of-arguments' error.
11154 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11155 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11158 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11160 * minibuffer.el (completion--sreverse, completion--common-suffix):
11162 (completion-pcm--merge-completions): Extract common suffix when safe.
11164 * emacs-lisp/easy-mmode.el (define-minor-mode):
11165 Make :variable more flexible.
11166 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11168 2010-05-05 Juri Linkov <juri@jurta.org>
11170 Add `slow' and `history' tags to the desktop data.
11172 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11173 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11174 (Info-finder-find-node): Require `finder.el' to be able
11175 to restore node from the desktop.
11176 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11177 data `Info-history' and `slow' tag in the assoc list.
11178 (Info-restore-desktop-buffer): Don't restore nodes with the
11179 `slow' tag. Restore `Info-history'.
11181 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11183 Add FORCE argument to `delete-file'.
11185 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11186 forcing to delete the temporary file.
11187 (ange-ftp-delete-file): Add FORCE arg.
11188 (ange-ftp-rename-remote-to-remote)
11189 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11190 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11191 Force file deletion.
11193 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11195 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11196 (tramp-handle-make-symbolic-link, tramp-handle-load)
11197 (tramp-do-copy-or-rename-file-via-buffer)
11198 (tramp-do-copy-or-rename-file-directly)
11199 (tramp-do-copy-or-rename-file-out-of-band)
11200 (tramp-handle-process-file, tramp-handle-call-process-region)
11201 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11202 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11203 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11205 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11206 (tramp-fish-handle-make-symbolic-link)
11207 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11209 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11210 Use `tramp-compat-delete-file'.
11212 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11213 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11215 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11216 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11218 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11219 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11220 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11221 Use `tramp-compat-delete-file'.
11223 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * subr.el (add-minor-mode): Use push.
11227 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11228 * emulation/edt.el (edt-select-mode): Simplify.
11230 Use define-minor-mode in more cases.
11231 * term/tvi970.el (tvi970-set-keypad-mode):
11232 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11233 (normal-erase-is-backspace-mode):
11234 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11235 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11236 (get-scroll-bar-mode): New function.
11237 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11239 Use define-minor-mode for less obvious cases.
11240 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11241 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11242 * international/iso-ascii.el (iso-ascii-mode):
11243 * frame.el (auto-raise-mode, auto-lower-mode):
11244 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11246 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11248 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11249 in order to see error messages for failed logins.
11251 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11253 * diff.el (diff-sentinel):
11255 * epg.el (epg--make-temp-file, epg-decrypt-string)
11256 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11258 * jka-compr.el (jka-compr-partial-uncompress)
11259 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11261 * server.el (server-sentinel): Use delete-file's new FORCE arg
11264 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11266 Use define-minor-mode where applicable.
11267 * view.el (view-mode):
11268 * type-break.el (type-break-query-mode)
11269 (type-break-mode-line-message-mode):
11270 * textmodes/reftex.el (reftex-mode):
11271 * term/vt100.el (vt100-wide-mode):
11272 * tar-mode.el (tar-subfile-mode):
11273 * savehist.el (savehist-mode):
11274 * ibuf-ext.el (ibuffer-auto-mode):
11275 * composite.el (auto-composition-mode):
11276 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11277 Use define-minor-mode.
11278 (vhdl-mode): Use static mode-line format.
11279 (vhdl-mode-line-update): Delete.
11280 (vhdl-create-mode-menu, vhdl-activate-customizations)
11281 (vhdl-hs-minor-mode): Don't bother calling it.
11283 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11285 * simple.el (with-wrapper-hook): Move.
11286 (buffer-substring-filters): Mark obsolete.
11287 (filter-buffer-substring-functions): New variable.
11288 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11290 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11291 Michael Albinus <michael.albinus@gmx.de>
11293 Implement compression for inline methods.
11295 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11296 (tramp-copy-size-limit): Allow also nil.
11297 (tramp-inline-compress-commands): New defconst.
11298 (tramp-find-inline-compress, tramp-get-inline-compress)
11299 (tramp-get-inline-coding): New defuns.
11300 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11301 replaced by `tramp-get-inline-coding'.
11302 (tramp-handle-file-local-copy, tramp-handle-write-region)
11303 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11305 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11307 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11308 Remove unused functions.
11310 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11311 Set find-tag-default-function as a variable rather than a property.
11313 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11314 * progmodes/etags.el (tags-completion-at-point-function):
11315 Remove left over interactive spec. Add autoloading stub.
11316 (complete-tag): Use tags-completion-at-point-function.
11318 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11320 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11322 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11324 * ido.el (ido-init-completion-maps): Remove C-v binding.
11325 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11327 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11329 * minibuffer.el (tags-completion-at-point-function): New function.
11330 (completion-at-point-functions): Use it.
11332 * progmodes/etags.el (complete-tag): Revert last change.
11334 2010-04-29 Alan Mackenzie <acm@muc.de>
11336 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11337 off-by-one error (in end of macro position).
11339 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11342 firefox is absent. Don't autoload.
11343 (browse-url-galeon-program): Don't autoload.
11345 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11347 * bindings.el (complete-symbol): Move into minibuffer.el.
11349 * minibuffer.el (complete-tag): Move from etags.el. If tags
11350 completion cannot be performed, return nil instead of signalling
11352 (completion-at-point): Make it an alias for complete-symbol.
11353 (complete-symbol): Move from bindings.el, and replace with the
11354 body of completion-at-point.
11356 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11358 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11360 * net/tramp.el (tramp-remote-selinux-p): New defun.
11361 (tramp-handle-file-selinux-context)
11362 (tramp-handle-set-file-selinux-context): Use it.
11364 2010-04-28 Sam Steingold <sds@gnu.org>
11366 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11367 `safe-local-variable' if the value is a string or a symbol with
11368 the property `bug-reference-url-format'.
11370 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11372 * progmodes/bug-reference.el (bug-reference-url-format):
11373 Revert 2010-04-27 change due to security risk.
11375 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11377 Make it possible to locally disable a globally enabled mode.
11378 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11379 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11380 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11381 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11382 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11383 that subsequent hooks get a chance to disable it.
11385 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11387 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11388 Avoid re-enabling a minor mode after the user turned the minor mode
11389 off if MODE-enable-in-buffers is run twice (typically once from
11390 fundamental-mode's after-change-major-mode-hook and a second time from
11391 run-mode-hook's own after-change-major-mode-hook).
11393 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11395 2010-04-27 Sam Steingold <sds@gnu.org>
11397 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11398 `safe-local-variable' if the value is a string or a function, as
11399 documented and implemented on 2010-04-02.
11401 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11403 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11404 when method is 'kill.
11406 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11408 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11409 condition in default directory check.
11410 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11411 Kill ispell process when killing its associated buffer.
11413 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11415 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11416 but we aren't using it.
11418 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11420 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11421 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11423 2010-04-24 Glenn Morris <rgm@gnu.org>
11425 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11426 Ignore VCS-ignore files, and deleted nextstep preferences files.
11427 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11428 (authors-ambiguous-files): New list.
11429 (authors-valid-file-names): Add some deleted files.
11430 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11431 (authors-disambiguate-file-name): New function. (Bug#5501)
11432 (authors-canonical-file-name): Doc fix.
11433 Don't warn about obsolete files.
11434 (authors-canonical-file-name, authors-scan-el):
11435 Use authors-disambiguate-file-name.
11437 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11438 Add autoload cookies.
11439 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11440 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11441 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11442 They have definitions / compiler macros in cl.el.
11443 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11444 Replace manual autoloads with generated ones.
11445 (htmlfontify-unload-rgb-file): Remove autoload.
11446 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11448 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11450 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11451 (byte-compile-setq-default): Optimize for the
11452 single-var case and don't call byte-compile-form in this case to avoid
11453 inf-loop with byte-compile-set-default.
11455 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11457 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11459 Implement SELINUX backends.
11461 * net/tramp.el (tramp-file-name-handler-alist):
11462 Add `file-selinux-context' and `set-file-selinux-context'.
11463 (tramp-handle-file-selinux-context)
11464 (tramp-handle-set-file-selinux-context): New defuns.
11465 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11466 Handle PRESERVE-SELINUX-CONTEXT.
11468 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11469 Add `file-selinux-context' and `set-file-selinux-context'.
11470 (tramp-gvfs-handle-file-selinux-context)
11471 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11472 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11474 * net/ange-ftp.el (ange-ftp-copy-file):
11475 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11476 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11477 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11478 Add PRESERVE-SELINUX-CONTEXT.
11480 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11482 Synchronize with Tramp repository.
11484 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11485 (tramp-action-process-alive, tramp-action-out-of-band)
11486 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11487 (tramp-exists-file-name-handler): Fix docstring.
11488 (with-progress-reporter): New defmacro.
11489 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11490 (tramp-maybe-open-connection): Use it.
11492 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11494 Detect ssh 'ControlMaster' argument automatically in some cases.
11496 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11497 (tramp-default-method): Use it.
11499 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11501 * net/tramp.el (tramp-handle-copy-file): Add new optional
11502 parameter `preserve-selinux-context'.
11503 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11505 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11507 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11508 Ensure, that non remote files are still checked. Oops.
11510 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11514 * icomplete.el (icomplete-completions): Use `non-essential'.
11516 * net/tramp.el (tramp-connectable-p): New defun.
11517 (tramp-handle-expand-file-name)
11518 (tramp-completion-handle-file-name-all-completions)
11519 (tramp-completion-handle-file-name-completion): Use it.
11521 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11523 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11525 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11527 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11529 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11531 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11534 * info.el (info-tool-bar-map): Add labels.
11536 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11538 * cus-edit.el (custom-commands): Add labels for tool bar.
11539 (custom-buffer-create-internal, Custom-mode): Adjust for
11540 labels in custom-commands.
11542 * dynamic-setting.el: Renamed from font-setting.el.
11544 2010-04-21 John Wiegley <jwiegley@gmail.com>
11546 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11547 toggles the use of virtual buffers.
11548 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11549 (ido-toggle-virtual-buffers): New function.
11551 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11553 Use `define-derived-mode'; fix window selection; doc fixes.
11554 * play/tetris.el (tetris, tetris-update-speed-function)
11555 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11556 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11557 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11558 (tetris-pause-game): Fix typos in docstrings.
11559 (tetris-mode-map, tetris-null-map):
11560 Move initialization into declaration.
11561 (tetris-mode): Define with `define-derived-mode';
11562 set show-trailing-whitespace to nil.
11563 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11565 2010-04-21 Karel Klíč <kklic@redhat.com>
11567 * files.el (backup-buffer): Handle SELinux context, and return it
11568 if a backup was made by renaming.
11569 (backup-buffer-copy): Set SELinux context to the target file.
11570 (basic-save-buffer): Set SELinux context of the newly written file.
11571 (basic-save-buffer-1): Now it also returns any SELinux context.
11572 (basic-save-buffer-2): Set SELinux context of the newly created file,
11574 * net/tramp.el (tramp-file-name-for-operation):
11575 Add file-selinux-context.
11577 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11579 Make the log-edit comments use RFC822 format throughout.
11581 * vc.el (vc-checkin, vc-modify-change-comment):
11582 Adjust to new vc-start/finish-logentry.
11583 (vc-find-conflicted-file): New command.
11584 (vc-transfer-file): Adjust to new vc-checkin.
11585 (vc-next-action): Improve scoping.
11587 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11588 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11590 * vc-git.el (vc-git-log-edit-mode): Remove.
11591 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11592 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11594 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11595 (vc-start-logentry): Remove argument `extra'.
11596 (vc-finish-logentry): Remove extra args.
11598 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11599 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11600 (vc-bzr-conflicted-files): New function.
11602 * log-edit.el (log-edit-extra-flags)
11603 (log-edit-before-checkin-process): Remove.
11604 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11605 (log-edit-headers-alist): New var.
11606 (log-edit-header-contents-regexp): New const.
11607 (log-edit-match-to-eoh): New function.
11608 (log-edit-font-lock-keywords): Use them.
11609 (log-edit): Insert a "Summary:" header as default.
11610 (log-edit-mode): Mark font-lock rules as case-insensitive.
11611 (log-edit-done): Cleanup headers.
11612 (log-view-process-buffer): Remove.
11613 (log-edit-extract-headers): New function to replace it.
11615 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11617 * subr.el (default-direction-reversed): Remove obsolescence info.
11619 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11624 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11625 I.e. include text after point in the completion region.
11626 Also, return nil when we're not after/in a symbol.
11628 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11629 default enable-multibyte-characters.
11631 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11633 * international/mule.el: Help the user choose a valid coding-system.
11634 (read-buffer-file-coding-system): New function.
11635 (set-buffer-file-coding-system): Use it. Prompt the user if the
11636 coding-system cannot encode all the chars.
11638 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11639 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11640 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11641 Don't use *vc-bzr-shelve*.
11643 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11645 Fix the version number for added files.
11646 * vc-hg.el (vc-hg-working-revision): Check if the file is
11647 registered after hg parent fails (Bug#5961).
11649 2010-04-19 Glenn Morris <rgm@gnu.org>
11651 * htmlfontify.el (htmlfontify-buffer)
11652 (htmlfontify-copy-and-link-dir): Autoload entry points.
11654 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11656 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11657 name relative to the project root (Bug#5960).
11659 2010-04-19 Glenn Morris <rgm@gnu.org>
11661 * vc-git.el (vc-git-print-log): Doc fix.
11663 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11665 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11667 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11669 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11670 default settings (Bug#5928).
11672 2010-04-19 Glenn Morris <rgm@gnu.org>
11674 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11676 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11678 2010-04-19 Kenichi Handa <handa@m17n.org>
11680 * language/indian.el (malayalam-composable-pattern): Fix previous
11681 change (add U+0D4D "SIGN VIRAMA").
11682 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11683 (tamil-composable-pattern): Fix typo in the regexp.
11684 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11685 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11686 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11688 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11690 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11691 paragraph-separate (Bug#5821).
11693 2010-04-19 Juri Linkov <juri@jurta.org>
11695 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11697 * info.el (Info-find-node-2): Comment out code that skips
11699 (Info-mouse-follow-link): New command.
11700 (Info-link-keymap): New keymap.
11701 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11702 Return a string with links instead of inserting breadcrumbs
11703 to the Info buffer.
11704 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11705 Instead of putting the `invisible' text property over the Info
11706 header, make an overlay over the Info header with the `invisible'
11707 property and `after-string' set to the string returned by
11708 `Info-breadcrumbs'.
11710 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11712 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11713 Reported by monkey@sandpframing.com.
11715 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11717 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11718 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11719 available in the "keyseq cache" any more.
11721 * custom.el (defcustom): Add edebug spec.
11723 2010-04-18 Juri Linkov <juri@jurta.org>
11725 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11727 * view.el (view-file, view-buffer): Move test for special mode-class
11728 from view-file to view-buffer.
11730 * tar-mode.el (tar-extract): Turn if's into one cond
11731 like in arc-mode.el.
11733 2010-04-18 Juri Linkov <juri@jurta.org>
11735 Add 7z archive format support (bug#5475).
11737 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11738 (archive-7z-extract): New defcustom.
11739 (archive-find-type): Add magic string for 7z.
11740 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11741 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11742 `buffer' arg of `call-process'.
11743 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11744 call the function `archive-7z-extract' with the variable
11745 `archive-7z-extract' let-bound to `archive-zip-extract'.
11746 (archive-7z-summarize, archive-7z-extract): New functions.
11748 * international/mule.el (auto-coding-alist):
11749 * files.el (auto-mode-alist): Add 7z file extension.
11751 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * loadup.el: Setup hash-cons for pure data.
11755 Fix duplicate entries in cedet's loaddefs.el files.
11756 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11757 Should make most file-local generated-autoload-file unnecessary.
11758 (print-readably): Silence warnings.
11759 (autoload-find-destination): Take load-name as an arg to make sure
11760 it's the same as the one that will be in the file.
11761 (autoload-generate-file-autoloads): Adjust to above changes.
11762 Try to make the dataflow a bit simpler.
11764 * cvs-status.el (cvs-refontify): Remove unused.
11766 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11768 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11770 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11771 twos-complement mode.
11773 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11775 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11776 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11777 (calc-inverse): Add "Option" to message, as appropriate.
11778 (calc-hyperbolic): Add "Option" to message, as appropriate.
11779 (calc-option, calc-is-option): New functions.
11781 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11782 (calc-option-prefix-help): New function.
11784 * calc/calc-misc.el (calc-help): Add "Option" entry.
11786 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11787 (calc-option-flag): New variable.
11788 (calc-do): Set `calc-option-flag to nil.
11789 (calc-set-mode-line): Add "Opt " as appropriate.
11791 2010-04-16 Juri Linkov <juri@jurta.org>
11793 Move scrolling commands from simple.el to window.el
11794 because their primitives are implemented in window.c.
11796 * simple.el (scroll-error-top-bottom)
11797 (scroll-up-command, scroll-down-command, scroll-up-line)
11798 (scroll-down-line, scroll-other-window-down)
11799 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11800 * window.el (scroll-error-top-bottom)
11801 (scroll-up-command, scroll-down-command, scroll-up-line)
11802 (scroll-down-line, scroll-other-window-down)
11803 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11804 Move from simple.el to window.el because their primitives are
11805 implemented in window.c.
11807 2010-04-16 Juri Linkov <juri@jurta.org>
11809 * isearch.el (isearch-lookup-scroll-key): Check both
11810 `isearch-scroll' and `scroll-command' properties.
11811 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11813 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11815 * simple.el (scroll-up-command, scroll-down-command)
11816 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11818 2010-04-15 Juri Linkov <juri@jurta.org>
11820 * simple.el (scroll-up-command, scroll-down-command)
11821 (scroll-up-line, scroll-down-line): Put `scroll-command'
11822 property on the these symbols. Remove them from
11823 `scroll-preserve-screen-position-commands'.
11825 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11826 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11827 Remove it from `scroll-preserve-screen-position-commands'.
11829 * isearch.el (isearch-allow-scroll): Doc fix.
11831 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11833 * net/tramp.el (tramp-error-with-buffer): Don't show the
11834 connection buffer when we are in completion mode.
11835 (tramp-file-name-handler): Catch the error for some operations
11836 when we are in completion mode. This gives the user the chance to
11837 correct the file name in the minibuffer.
11839 2010-04-15 Glenn Morris <rgm@gnu.org>
11841 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11843 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11845 Simplify by using `define-derived-mode'.
11846 * info.el (Info-mode):
11847 * calendar/todo-mode.el (todo-mode):
11848 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11849 (gomoku-mode-map): Move initialization into declaration.
11851 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11854 * ido.el (ido-file-name-all-completions-1):
11855 * minibuffer.el (minibuffer-completion-help):
11856 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11858 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11860 * simple.el (non-essential): New var.
11862 Add a new field `location' to bookmarks for non-file bookmarks.
11863 * bookmark.el (bookmark-location): Use the new field, if present.
11864 (bookmark-insert-location): Undo last change, not needed any more.
11865 * man.el (Man-bookmark-make-record):
11866 * woman.el (woman-bookmark-make-record): Add `location' field.
11868 2010-04-14 Juri Linkov <juri@jurta.org>
11870 * simple.el (scroll-error-top-bottom): New defcustom.
11871 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11873 * emulation/pc-select.el (pc-select-override-scroll-error):
11874 Obsolete in favor of `scroll-error-top-bottom'.
11876 2010-04-14 Juri Linkov <juri@jurta.org>
11878 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11879 `scroll-up-command' and `M-v' to `scroll-down-command'.
11881 * emulation/cua-rect.el (cua--init-rectangles):
11882 * forms.el (forms--change-commands):
11883 * image-mode.el (image-mode-map):
11884 Remap scroll-down-command and scroll-up-command
11885 in addition to scroll-down and scroll-up.
11887 2010-04-14 Juri Linkov <juri@jurta.org>
11889 * mwheel.el (scroll-preserve-screen-position-commands):
11890 Add mwheel-scroll to this list of commands.
11892 * simple.el (scroll-preserve-screen-position-commands):
11893 Add scroll-up-command, scroll-down-command, scroll-up-line,
11894 scroll-down-line to this list of commands.
11896 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * obsolete/complete.el: Move from lisp/complete.el.
11900 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11902 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11903 to the minor mode function now turns the mode ON unconditionally.
11905 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11907 * vc-dir.el (vc-dir-kill-line): New command.
11908 (vc-dir-mode-map): Bind it to C-k.
11910 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11912 * woman.el: Add bookmark declarations to silence the compiler.
11913 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11914 step to compatibility between man and woman bookmarks.
11915 Adjust for Man-default-bookmark-title renaming.
11916 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11918 * man.el: Add bookmark declarations to silence the compiler.
11919 (Man-name-local-regexp): Make it match NAME as well.
11920 (Man-getpage-in-background): Return the buffer.
11921 (Man-notify-when-ready): Use `case'.
11922 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11923 Don't hardcode "NAME". Simplify.
11924 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11925 Rename from Man-bookmark-make-record.
11926 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11927 we have the actual man-args. Use Man-getpage-in-background rather
11928 than `man' since the arg is already processed. Let bookmark.el do the
11929 window handling. Only wait for the relevant process.
11930 Don't forget to autoload.
11932 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11934 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11936 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11938 (woman-mode): Setup bookmark support.
11940 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11941 (man-bookmark-jump): New functions.
11942 (Man-mode): Setup bookmark support.
11944 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11946 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11947 recognize ssh-keygen prompt (Bug#2817).
11949 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11951 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11953 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11955 Synchronize with Tramp repository.
11957 * net/tramp.el (tramp-completion-function-alist)
11958 (tramp-file-name-regexp, tramp-chunksize)
11959 (tramp-local-coding-commands, tramp-remote-coding-commands):
11961 (tramp-remote-process-environment): Use `format' instead of `concat'.
11962 (tramp-handle-directory-files-and-attributes)
11963 (tramp-get-remote-path): Use `copy-tree'.
11964 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11965 compatibility: Use `completion-ignore-case' if
11966 `read-file-name-completion-ignore-case' does not exist.
11967 (tramp-do-copy-or-rename-file-directly): Do not use
11968 `tramp-handle-file-remote-p'.
11969 (tramp-do-copy-or-rename-file-out-of-band):
11970 Use `tramp-compat-delete-directory'.
11971 (tramp-do-copy-or-rename-file-out-of-band)
11972 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11973 Use `format-spec-make'.
11974 (tramp-find-foreign-file-name-handler)
11975 (tramp-advice-make-auto-save-file-name)
11976 (tramp-set-auto-save-file-modes): Remove superfluous check for
11977 `stringp'. This is done inside `tramp-tramp-file-p'.
11978 (tramp-debug-outline-regexp): New defconst.
11979 (tramp-get-debug-buffer): Use it.
11980 (tramp-check-for-regexp): Use (forward-line 1).
11981 (tramp-set-auto-save-file-modes): Adapt version check.
11983 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11984 Wrap call of `featurep' for 2nd argument.
11985 (tramp-compat-make-temp-file): Simplify fallback implementation.
11986 (tramp-compat-copy-tree): Remove function.
11987 (tramp-compat-delete-directory): Provide implementation for older
11990 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11991 Do not use `tramp-fish-handle-file-attributes.
11993 * net/trampver.el: Update release number.
11995 2010-04-10 Glenn Morris <rgm@gnu.org>
11997 * progmodes/compile.el (compilation-save-buffers-predicate):
11998 Add missing :version tag.
12000 2010-04-09 Sam Steingold <sds@gnu.org>
12002 * progmodes/compile.el (compilation-save-buffers-predicate):
12003 Remove the "autoload" cookie.
12005 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12006 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12007 and `bug-reference-prog-mode' can be used in hooks directly.
12009 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12011 Add --author support to git commit.
12012 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12013 (vc-git-log-edit-mode): New minor mode.
12014 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12017 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12019 * vc-hooks.el, vc-git.el: Improve documentation comments.
12021 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12023 Fix some of the problems in defsubst* (bug#5728).
12024 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12025 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12027 2010-04-07 Sam Steingold <sds@gnu.org>
12029 * progmodes/compile.el (compilation-save-buffers-predicate):
12030 New custom variable.
12031 (compile, recompile): Pass it to `save-some-buffers'.
12033 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12035 * wid-edit.el (widget-choose): Move cursor to the second line of
12036 the buffer (Bug#5695).
12038 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12040 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12041 * vc.el (vc-print-log-setup-buttons): New function split out from
12042 vc-print-log-internal.
12043 (vc-log-internal-common): New function, a parametrized version of
12044 vc-print-log-internal.
12045 (vc-print-log-internal): Just call vc-log-internal-common with the
12047 (vc-incoming-outgoing-internal):
12048 (vc-log-incoming, vc-log-outgoing): New functions.
12049 (vc-log-view-type): New permanent local variable.
12051 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12053 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12054 of the dynamic bound vc-short-log.
12055 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12057 * vc-git.el (vc-git-log-outgoing): New function.
12058 (vc-git-log-view-mode): Use vc-log-view-type instead
12059 of the dynamic bound vc-short-log.
12061 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12062 of the dynamic bound vc-short-log. Highlight the tag.
12063 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12064 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12065 (vc-hg-incoming-mode): Remove.
12066 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12068 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12070 Fix default-directory for vc-root-diff.
12071 * vc.el (vc-root-diff): Bind default-directory to the root
12072 directory for the diff command.
12074 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12076 * progmodes/verilog-mode.el (verilog-forward-sexp):
12077 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12078 word keywords, suggested by Steve Pearlmutter.
12079 (verilog-pretty-declarations): Support lineup of declarations in
12081 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12082 fix bug for /* / comments.
12083 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12084 Speed up and simplfy as this is never called with a bound.
12085 (verilog-pretty-declarations): Enhance to line up declarations
12086 inside a parameter list, suggested by Alan Morgan.
12087 (verilog-pretty-expr): Tune assignment regular expression match
12088 string for corner cases; also use markers instead of character
12089 number as indent changes the later.
12091 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12093 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12094 as missing keyword.
12095 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12096 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12097 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12098 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12100 (verilog-keywords):
12101 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12102 1800-2009 keywords, including "global.".
12104 2010-04-06 John Wiegley <jwiegley@gmail.com>
12106 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12107 appearing in buffer list (if a live buffer name matched a recentf
12108 file basename). Should use uniquify to offer a real solution.
12110 2010-04-06 John Wiegley <jwiegley@gmail.com>
12112 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12113 comment to code, and add a :version tag.
12114 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12116 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12118 Enable recentf-mode if using virtual buffers.
12119 * ido.el (recentf-list): Declare for byte-compiler.
12120 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12121 (ido-make-buffer-list): Simplify.
12122 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12124 2010-04-05 Juri Linkov <juri@jurta.org>
12126 Scrolling commands which scroll a line instead of full screen.
12127 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12129 * simple.el (scroll-up-line, scroll-down-line): New commands.
12130 Put property isearch-scroll=t on them.
12132 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12135 2010-04-05 Juri Linkov <juri@jurta.org>
12137 Scrolling commands which do not signal errors at top/bottom.
12138 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12140 * simple.el (scroll-up-command, scroll-down-command): New commands.
12141 Put property isearch-scroll=t on them.
12143 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12144 `scroll-down-command' and [next] from `scroll-up' to
12145 `scroll-up-command'.
12147 * emulation/cua-base.el: Put property CUA=move on
12148 `scroll-up-command' and `scroll-down-command'.
12149 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12150 and `scroll-down-command' to `cua-scroll-down'.
12152 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12154 * help.el (describe-mode): Return nil.
12156 2010-04-04 John Wiegley <jwiegley@gmail.com>
12158 * ido.el (ido-use-virtual-buffers): New variable to indicate
12159 whether "virtual buffer" support is enabled for IDO.
12160 (ido-virtual): Face used to indicate virtual buffers in the list.
12161 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12162 exists, but a virtual buffer of that name does (which would be why
12163 it was in the list), recreate the buffer by reopening the file.
12164 (ido-make-buffer-list): If virtual buffers are being used, call
12165 `ido-add-virtual-buffers-to-list' before the make list hook.
12166 (ido-virtual-buffers): New variable which contains a copy of the
12167 current contents of the `recentf-list', albeit pared down for the
12168 sake of speed, and with proper faces applied.
12169 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12170 create a list of "virtual buffers" to present to the user in
12171 addition to the currently open set. Note that this logic could
12172 get rather slow if that list is too large. With the default
12173 `recentf-max-saved-items' of 200, there is little speed penalty.
12175 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12177 * font-lock.el: Require CL when compiling.
12178 (font-lock-turn-on-thing-lock): Use `case'.
12180 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12182 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12185 2010-04-02 Juri Linkov <juri@jurta.org>
12187 * ehelp.el (electric-help-orig-major-mode):
12188 New buffer-local variable.
12189 (electric-help-mode): Set it to original major-mode. Doc fix.
12190 (with-electric-help): Use `electric-help-orig-major-mode' instead
12191 of (default-value 'major-mode). Doc fix.
12192 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12194 2010-04-02 Sam Steingold <sds@gnu.org>
12196 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12197 `vc-hg-command' with a list of flags.
12199 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12200 Also accept "patch" and "RFE".
12201 (bug-reference-fontify): `bug-reference-url-format' can also be a
12202 function to be able to handle the bug kind.
12203 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12205 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12207 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12208 value to fboundp, it may not be a symbol.
12210 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12212 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12214 2010-03-31 Juri Linkov <juri@jurta.org>
12216 * simple.el (next-line, previous-line): Re-throw a signal
12217 with `signal' instead of using `ding'.
12218 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12220 2010-03-31 Juri Linkov <juri@jurta.org>
12222 * simple.el (keyboard-escape-quit): Raise deselecting the active
12223 region higher than exiting the minibuffer.
12224 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12226 2010-03-31 Juri Linkov <juri@jurta.org>
12228 * image.el (image-animated-p): Use `image-metadata' instead of
12229 `image-extension-data'. Get GIF extenstion data from metadata
12230 property `extension-data'.
12232 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12234 * simple.el (append-to-buffer): Simplify.
12236 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12238 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12239 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12241 2010-03-31 Kenichi Handa <handa@m17n.org>
12243 * language/sinhala.el (composition-function-table): Fix regexp for
12244 the new Unicode specification.
12246 * language/indian.el (devanagari-composable-pattern)
12247 (tamil-composable-pattern, kannada-composable-pattern)
12248 (malayalam-composable-pattern): Adjust for the new Unicode
12250 (bengali-composable-pattern, gurmukhi-composable-pattern)
12251 (gujarati-composable-pattern, oriya-composable-pattern)
12252 (telugu-composable-pattern): New variables to cope with the new
12253 Unicode specification. Use them in composition-function-table.
12255 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12257 Make tmm-menubar work for the Buffers menu again (bug#5726).
12258 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12259 vectors rather than cons cells, as used in menu-bar-update-buffers.
12261 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12263 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12264 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12265 electric punctuation for "{}();,:" (Bug#5586).
12267 * mail/sendmail.el (mail-default-directory): Doc fix.
12269 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12271 * mail/sendmail.el (mail-default-directory): Doc fix.
12273 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12275 * subr.el (version-regexp-alist, version-to-list)
12276 (version-list-<, version-list-=, version-list-<=)
12277 (version-list-not-zero, version<, version<=, version=): Doc fix.
12280 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12282 * vc.el (vc-root-diff): Doc fix.
12284 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12286 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12288 * simple.el (append-to-buffer): Fix last change.
12290 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12292 * simple.el (append-to-buffer): Ensure that point is preserved if
12293 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12296 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12298 * files.el (auto-mode-case-fold): Change default to t.
12300 2010-03-30 Juri Linkov <juri@jurta.org>
12302 * dired-x.el (dired-omit-mode): Doc fix.
12304 2010-03-30 Juri Linkov <juri@jurta.org>
12306 * replace.el (occur-accumulate-lines): Move occur-engine related
12307 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12308 to be located after `occur-engine'.
12310 2010-03-30 Juri Linkov <juri@jurta.org>
12312 Make occur handle multi-line matches cleanly with context.
12313 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12315 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12316 (occur-engine): Add local variables `ret', `prev-after-lines',
12317 `prev-lines'. Use more arguments for `occur-context-lines'.
12318 Set first elem of its returned list to `data', and the second elem
12319 to `prev-after-lines'. Don't print the separator line.
12320 In the end, print remaining context after-lines.
12321 (occur-context-lines): Add new arguments `begpt', `endpt',
12322 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12323 after-lines of the previous match with before-lines of the
12324 current match and not overlap them. Return a list with two
12325 values: the output line and the list of context after-lines.
12327 2010-03-30 Juri Linkov <juri@jurta.org>
12329 * replace.el (occur-accumulate-lines): Fix a bug where the first
12330 context line at the beginning of the buffer was missing.
12332 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12334 * files.el: Make bidi-display-reordering safe variable for boolean
12337 2010-03-29 Phil Hagelberg <phil@evri.com>
12338 Chong Yidong <cyd@stupidchicken.com>
12340 * subr.el: Extend progress reporters to perform "spinning".
12341 (progress-reporter-update, progress-reporter-do-update):
12342 Handle non-numeric value arguments.
12343 (progress-reporter--pulse-characters): New var.
12345 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12347 * progmodes/compile.el (compilation-start): Fix regexp detection
12348 of initial cd command (Bug#5771).
12350 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12352 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12354 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12356 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12357 * progmodes/gdb-mi.el: Restore.
12358 * progmodes/gdb-ui.el: Remove.
12359 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12361 2010-03-25 Glenn Morris <rgm@gnu.org>
12363 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12364 all dired buffers, even tramp ones. (Bug#5755)
12366 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12368 Add "union tags" in mpc.el.
12369 * mpc.el: Remove backward compatibility code.
12370 (mpc-browser-tags): Change default.
12371 (mpc--find-memoize-union-tags): New var.
12372 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12373 (mpc-cmd-find): Handle the case where the playlist does not exist.
12375 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12376 (mpc-cmd-add): Use mpc-cmd-flush.
12377 (mpc-tagbrowser-tag-name): New fun.
12378 (mpc-tagbrowser-buf): Use it.
12379 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12381 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12384 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12385 Use replace-regexp-in-string.
12386 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12387 (makefile-imake-mode-syntax-table): Move init into defvar.
12388 (makefile-mode): Use define-derived-mode.
12390 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12391 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12392 not be present any more.
12394 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12396 * faces.el (set-face-attribute): Fix typo in docstring.
12397 (face-valid-attribute-values): Reflow docstring.
12399 2010-03-24 Glenn Morris <rgm@gnu.org>
12401 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12403 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12405 * indent.el (indent-for-tab-command): Doc fix.
12407 2010-03-24 Alan Mackenzie <acm@muc.de>
12409 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12410 Fix off-by-one error. Fixes bug #5747.
12412 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12414 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12415 (image-dired-read-comment): Doc fix.
12417 * json.el (json-object-type, json-array-type, json-key-type)
12418 (json-false, json-null, json-read-number):
12419 * minibuffer.el (completion-in-region-functions):
12420 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12421 (cal-tex-cursor-week):
12422 * emacs-lisp/trace.el (trace-function):
12423 * eshell/em-basic.el (eshell/printnl):
12424 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12425 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12426 * obsolete/levents.el (allocate-event, event-key, event-object)
12427 (event-point, event-process, event-timestamp, event-to-character)
12428 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12429 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12430 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12431 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12432 (reftex-highlight-selection): Fix typos in docstrings.
12434 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12436 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12438 2010-03-24 Glenn Morris <rgm@gnu.org>
12440 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12441 2008-02-13 without comment; mark it obsolete.
12442 (rmail-highlight-headers): Use rmail-highlight-face once more.
12444 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12446 * woman.el (woman2-process-escapes): Only consume the newline if
12447 the filler character is on a line by itself (Bug#5729).
12449 2010-03-24 Kenichi Handa <handa@m17n.org>
12451 * language/indian.el (devanagari-composable-pattern): Add more
12454 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12456 * net/trampver.el: Update release number.
12458 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12460 * net/tramp.el (tramp-find-executable):
12461 Use `tramp-get-connection-buffer'. Make the regexp for checking
12462 output of "wc -l" more robust.
12463 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12464 (tramp-open-connection-setup-interactive-shell): Remove workaround
12465 for OpenSolaris bug, it is not needed anymore.
12467 2010-03-24 Glenn Morris <rgm@gnu.org>
12469 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12471 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12473 * files.el (auto-mode-alist): Accept more verilog file patterns.
12475 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12479 2010-03-24 Glenn Morris <rgm@gnu.org>
12481 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12482 log-edit-before-checkin-process.
12484 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12486 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12488 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12489 (log-view-process-buffer, log-edit-extra-flags): Declare.
12491 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12493 2010-03-23 Sam Steingold <sds@gnu.org>
12495 Fix bug#5620: recalculate all markers on compilation buffer
12496 modifications, not on file modifications.
12497 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12498 variable: the buffer modification time, for buffers not associated with
12500 (compilation-mode): Create it.
12501 (compilation-filter): Update it.
12502 (compilation-next-error-function): Use it instead of
12503 `visited-file-modtime' for timestamp.
12505 2010-03-23 Juri Linkov <juri@jurta.org>
12507 Implement Occur multi-line matches.
12508 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12510 * replace.el (occur): Doc fix.
12511 (occur-engine): Set `begpt' to the beginning of the first line.
12512 Set `endpt' to the end of the last match line. At first, count
12513 line numbers between `origpt' and `begpt'. Split out code from
12514 `out-line' variable to new let-bindings `match-prefix' and
12515 `match-str'. In `out-line' add non-numeric prefix to all
12516 non-first lines of multi-line matches. Finally, count lines
12517 between `begpt' and `endpt' and add to `lines'.
12519 2010-03-23 Juri Linkov <juri@jurta.org>
12521 * replace.el (occur-accumulate-lines, occur-engine):
12522 Use `occur-engine-line' instead of duplicate code.
12523 (occur-engine-line): New function created from duplicate code
12524 in `occur-accumulate-lines' and `occur-engine'.
12526 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12527 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12529 2010-03-23 Juri Linkov <juri@jurta.org>
12531 * finder.el: Remove TODO tasks.
12533 * info.el (Info-finder-find-node): Add node "all"
12534 with all package info. Handle a list of multiple keywords
12535 separated by comma.
12536 (info-finder): In interactive use with a prefix argument,
12537 use `completing-read-multiple' to read a list of keywords
12538 separated by comma.
12540 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12542 Add a new completion style `substring'.
12543 * minibuffer.el (completion-basic--pattern): New function.
12544 (completion-basic-try-completion, completion-basic-all-completions):
12546 (completion-substring--all-completions)
12547 (completion-substring-try-completion)
12548 (completion-substring-all-completions): New functions.
12549 (completion-styles-alist): New style `substring'.
12551 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12553 Get rid of .elc files after removal of the corresponding .el.
12554 * Makefile.in (compile-clean): New target.
12555 (compile-main): Use it.
12557 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12559 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12560 don't do make there. When compiling with separate object dir, there
12561 is no Makefile there.
12563 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12565 Get rid of the ELCFILES abomination, again.
12566 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12567 (all, compile): Don't call compile-last.
12568 (compile-main): Build the "elcfiles" list dynamically.
12569 (compile-targets): New (internal) target.
12571 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12573 * Makefile.in (top_srcdir): Define.
12574 (abs_top_builddir): Define.
12575 (srcdir): Don't append `/..'.
12576 (EMACS): Use ${abs_top_builddir}.
12577 (all, compile, compile-always, compile-last): Don't set emacswd.
12578 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12580 (lisp): Use $(srcdir) instead of @srcdir@.
12582 2010-03-21 Juri Linkov <juri@jurta.org>
12584 Fix message of multi-line occur regexps and multi-buffer header lines.
12585 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12587 * replace.el (occur-1): Don't display regexp if it is longer
12588 than window-width. Use `query-replace-descr' to display regexp.
12589 (occur-engine): Don't display regexp in the buffer header for
12590 multi-buffer occur. Display a separate header line with total
12591 match count and regexp for multi-buffer occur.
12592 Use `query-replace-descr' to display regexp.
12594 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12596 * net/secrets.el: Fix parenthesis.
12597 (secrets-enabled): Fix parenthesis.
12599 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12601 Use more relative file and directory names.
12602 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12603 (setwins, setwins_almost, setwins_for_subdirs):
12604 Don't `cd'; output relative names.
12605 (all, compile, compile-always, compile-last): Set emacswd.
12606 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12607 Just cd to the lisp source dir so we can use relative file names.
12609 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12611 2010-03-20 Glenn Morris <rgm@gnu.org>
12613 * textmodes/rst.el: Use faces for font-lock customization, and make the
12614 old -face variables obsolete.
12615 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12616 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12617 (rst-block-face, rst-external-face, rst-definition-face)
12618 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12619 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12621 (rst-font-lock-keywords-function): Update for above changes.
12623 2010-03-20 Juri Linkov <juri@jurta.org>
12626 * obsolete/s-region.el: Move to obsolete.
12628 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12630 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12632 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12634 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12636 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12638 Add special markup processing for commit logs.
12639 * log-edit.el (log-edit-extra-flags): New variable.
12640 (log-edit): Add new argument MODE. Use that mode when non-nil
12641 instead of the log-view-mode.
12642 (log-view-process-buffer): New function.
12644 * vc.el: Document that the checkin method takes optional
12645 arguments. Document new backend specific method: log-view-mode.
12646 (vc-default-log-edit-mode): New function.
12647 (vc-checkin): Use a backend specific log-view-mode.
12648 Pass extra arguments to the checkin method.
12649 (vc-modify-change-comment): Pass a dummy extra argument.
12651 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12653 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12654 (vc-finish-logentry): Process the log buffer before passing it
12655 down. Pass log-edit-extra-flags.
12657 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12659 (log-edit-extra-flags, log-edit-before-checkin-process):
12662 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12664 (log-edit-extra-flags, log-edit-before-checkin-process):
12666 (vc-hg-log-edit-mode): New derived mode.
12668 * vc-arch.el (vc-arch-checkin):
12669 * vc-cvs.el (vc-cvs-checkin):
12670 * vc-git.el (vc-git-checkin):
12671 * vc-mtn.el (vc-mtn-checkin):
12672 * vc-rcs.el (vc-rcs-checkin):
12673 * vc-sccs.el (vc-sccs-checkin):
12674 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12676 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12678 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12681 2010-03-19 Glenn Morris <rgm@gnu.org>
12683 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12685 2010-03-18 Glenn Morris <rgm@gnu.org>
12687 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12689 * replace.el (query-replace-history): Give it a doc string.
12690 (map-query-replace-regexp): Use query-replace-from-history-variable
12691 and query-replace-to-history-variable.
12693 * mail/hashcash.el (declare-function): Remove duplicate definition.
12695 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12696 Make it an obsolete alias for report-emacs-bug-address.
12697 (message-strip-special-text-properties): Declare.
12698 (report-emacs-bug): Remove test for a pretest bug address.
12699 Combine message-mode-specific code.
12701 * mail/supercite.el: Don't require sendmail.
12702 (mh-in-header-p): Declare rather than using with-no-warnings.
12703 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12704 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12706 * calendar/cal-french.el: Convert to utf-8.
12708 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12711 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12713 * net/secrets.el (secrets-enabled): New variable. Use it instead
12716 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12718 * net/secrets.el (top): Register the D-Bus signals only when the
12719 service "org.freedesktop.secrets" can be pinged.
12720 Provide subfeature `enabled'.
12722 2010-03-14 Juri Linkov <juri@jurta.org>
12724 Add finder unknown keywords.
12726 * finder.el (finder-unknown-keywords): New function.
12728 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12729 to create a Finder node with unknown keywords.
12731 2010-03-14 Juri Linkov <juri@jurta.org>
12733 * finder.el (finder-compile-keywords): Replace `princ' with
12734 `prin1' on a list of symbols interned from keyword strings.
12736 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12737 a comma, then split keywords using a comma and optional whitespace.
12738 Otherwise, split by whitespace.
12746 * progmodes/mixal-mode.el: Fix keywords.
12748 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12750 * Makefile.in (ELCFILES): Add net/secrets.elc.
12752 * net/secrets.el: New file.
12754 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12756 * facemenu.el (list-colors-display, list-colors-print): New arg
12757 callback. Use it to allow selecting colors.
12759 * wid-edit.el (widget-image-insert): Insert image prop even if the
12760 current display is non-graphic.
12761 (widget-field-value-set): New fun.
12762 (editable-field): Use it.
12763 (widget-field-value-get): Clean up unused var.
12764 (widget-color-value-create, widget-color--choose-action):
12765 New funs. Allow using list-colors-display to choose color.
12767 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12769 * cus-edit.el: Resort topmost custom groups.
12770 (custom-buffer-sort-alphabetically): Default to t.
12771 (customize-apropos): Use apropos-parse-pattern.
12772 (custom-search-field): New var.
12773 (custom-buffer-create-internal): Add custom-apropos search field.
12774 (custom-add-parent-links): Don't display parent doc.
12775 (custom-group-value-create): Don't sort top-level custom group.
12776 (custom-magic-value-create): Show visibility button before option name.
12778 (custom-variable-state): New fun, from custom-variable-state-set.
12779 (custom-variable-state-set): Use it.
12780 (custom-group-value-create): Hide options with standard values
12781 using the :hidden-states property. Use progress reporter.
12783 (custom-show): Simplify.
12784 (custom-visibility): Disable images by default.
12785 (custom-variable): New property :hidden-states.
12786 (custom-variable-value-create): Enable images for
12787 custom-visibility widgets. Use :hidden-states property to
12788 determine initial visibility.
12790 * wid-edit.el (widget-image-find): Give images center ascent.
12791 (visibility): Add :on-image and :off-image properties.
12792 (widget-visibility-value-create): Use them.
12794 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12796 * cus-edit.el (processes): Remove from development group.
12797 (oop, hypermedia): Delete group.
12798 (comm): Promote to top-level group.
12800 * net/browse-url.el (browse-url):
12801 * net/xesam.el (xesam):
12802 * net/tramp.el (tramp):
12803 * net/goto-addr.el (goto-address):
12804 * net/ange-ftp.el (ange-ftp): Put in comm group.
12806 * view.el (view): Remove from editing group.
12808 * uniquify.el (uniquify): Put in files group.
12810 * net/browse-url.el (browse-url):
12811 * ps-print.el (postscript): Put in external group.
12813 * cus-edit.el (outlines):
12814 * textmodes/text-mode.el (text-mode-hook):
12815 * textmodes/table.el (table):
12816 * textmodes/picture.el (picture):
12817 * outline.el (outlines): Put in wp group.
12819 * nxml/nxml-mode.el (nxml): Remove from wp group.
12821 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12823 * mail/metamail.el (metamail): Remove from hypermedia group.
12825 * cus-edit.el (abbrev):
12826 * whitespace.el (whitespace):
12827 * vcursor.el (vcursor):
12828 * reveal.el (reveal):
12829 * hl-line.el (hl-line): Put in convenience group.
12831 * epg-config.el (epg): Put in data group.
12833 * emulation/pc-select.el (pc-select): Put in emulations group.
12835 * calculator.el (calculator): Put in applications group.
12837 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12839 Add .dir-locals.el support for file-less buffers.
12840 * files.el (hack-local-variables): Split out code to apply local
12841 variable settings ...
12842 (hack-local-variables-apply): ... here. New function.
12843 (hack-dir-local-variables): Use the default directory for when the
12844 buffer does not have an associated file.
12845 (hack-dir-local-variables-non-file-buffer): New function.
12846 * diff-mode.el (diff-mode):
12847 * vc-annotate.el (vc-annotate-mode):
12848 * vc-dir.el (vc-dir-mode):
12849 * log-edit.el (log-edit-mode):
12850 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12852 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12854 Add support for shelving snapshots and for showing shelves.
12855 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12856 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12858 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12859 (vc-bzr-extra-menu-map): Map them.
12861 2010-03-11 Glenn Morris <rgm@gnu.org>
12863 * cus-edit.el (customize-changed-options-previous-release):
12866 * image.el (image-animate-max-time): Fix :version tag.
12868 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12872 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12874 * vc-git.el (vc-git-revision-table): Include remote branches.
12876 2010-03-10 Kim F. Storm <storm@cua.dk>
12878 Animated image API.
12879 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12881 * image.el (image-animate-max-time): New defcustom.
12882 (image-animated-types): New defconst.
12883 (create-animated-image, image-animate-timer)
12884 (image-animate-start, image-animate-stop, image-animate-timeout)
12885 (image-animated-p): New functions.
12887 * image-mode.el (image-toggle-display-image):
12888 Replace `create-image' with `create-animated-image'.
12890 2010-03-09 Miles Bader <miles@gnu.org>
12892 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12893 instead of "format:"; this ensures that the output is
12894 newline-terminated.
12896 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12898 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12899 that all errors are caught, and that the return value is always a
12902 2010-03-08 Kenichi Handa <handa@m17n.org>
12904 * language/misc-lang.el (windows-1256): New coding system.
12905 (cp1256): New alias of windows-1256 (bug#5690).
12907 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12909 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12910 call to rfc822-bad-address. (Bug#5692)
12912 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12914 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12915 Use vc-git-root as default directory for revision path (Bug#5657).
12917 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12919 * calculator.el (calculator): Don't bind split-window-keep-point
12922 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12924 * vc-git.el: Re-flow to fit into 80 columns.
12925 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12926 Remove spurious `quote' element in each case alternative.
12927 (vc-git-show-log-entry): Use prog1.
12928 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12930 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12932 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12934 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12936 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12937 definition, not the name (Bug#5481).
12939 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12941 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12942 argument with a local variable. (Bug#5670)
12944 2010-03-02 Juri Linkov <juri@jurta.org>
12946 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12948 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12950 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12951 error when FILENAME and NEWNAME are existing remote directories.
12953 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12954 parameter DIR-FLAG.
12956 2010-03-02 Glenn Morris <rgm@gnu.org>
12958 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12959 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12961 2010-03-01 Kenichi Handa <handa@m17n.org>
12963 * language/burmese.el (burmese-composable-pattern): Rename from
12964 myanmar-composable-pattern.
12966 * international/characters.el (script-list):
12967 * international/fontset.el (script-representative-chars):
12968 Change myanmar to burmese.
12969 (otf-script-alist): Likewise.
12970 (setup-default-fontset): Likewise. Re-fix :otf spec.
12972 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12974 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12976 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12978 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12980 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12982 * net/tramp.el (tramp-handle-write-region): START can be a string.
12983 Take care in the checks. Reported by Dan Davison
12984 <davison@stats.ox.ac.uk>.
12986 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12988 * net/dbus.el (dbus-introspect, dbus-get-property)
12989 (dbus-set-property, dbus-get-all-properties):
12990 Use `dbus-call-method' when noninteractive. (Bug#5645)
12992 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12994 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12995 * emacs-lisp/elint.el (elint-add-required-env):
12996 * calendar/icalendar.el (icalendar--add-diary-entry):
12997 * calc/calcalg2.el (math-tracing-integral):
12998 * files.el (recover-session-finish): Use with-current-buffer
12999 instead of save-excursion.
13001 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13003 Fix in-buffer completion when after-change-functions modify the buffer.
13004 * minibuffer.el (completion--replace): New function.
13005 (completion--do-completion): Use it and use relative movement.
13007 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13009 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13011 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13013 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13014 Allow the characters _<> in the stack entry (Bug#5653).
13016 2010-02-26 Kenichi Handa <handa@m17n.org>
13018 * language/burmese.el: Fix entries in composition-function-table.
13019 (myanmar-composable-pattern): New variable.
13021 * international/fontset.el (setup-default-fontset): Add an entry
13024 * international/characters.el (script-list): Add Myanmar
13027 2010-02-26 Glenn Morris <rgm@gnu.org>
13029 * custom.el (custom-initialize-delay): Doc fix.
13031 * mail/sendmail.el (send-mail-function): Autoload the call
13032 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13034 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13036 * files.el (hack-local-variables-filter): For eval forms, also
13037 check safe-local-variable-p (Bug#5636).
13039 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13041 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13042 setting the modes by `ignore-errors'. It might fail, for example
13043 if the file is not owned by the user but the group.
13044 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13046 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13048 * files.el (directory-listing-before-filename-regexp):
13049 Use stricter matching for iso-style dates, to avoid false matches with
13050 date-like filenames (Bug#5597).
13052 * htmlfontify.el (htmlfontify): Doc fix.
13054 * eshell/eshell.el (eshell): Doc fix.
13056 * startup.el (fancy-about-screen): In mode-line, apply
13057 mode-line-buffer-id face only to the buffer name (Bug#5613).
13059 2010-02-20 Kevin Ryde <user42@zip.com.au>
13061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13062 In `watcom' anchor regexp to start of line, to avoid slowness
13065 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13067 * subr.el (remove-yank-excluded-properties): Explain in a comment
13068 why `category' property is removed.
13070 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13072 * isearch.el (isearch-update-post-hook, isearch-update):
13073 Revert 2010-02-17 change.
13075 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13077 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13078 (icalendar--convert-weekly-to-ical)
13079 (icalendar--convert-yearly-to-ical)
13080 (icalendar--convert-block-to-ical)
13081 (icalendar--convert-cyclic-to-ical)
13082 (icalendar--convert-anniversary-to-ical): Take care of time
13083 specifications where hour has 1-digit only (Bug#5549).
13085 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13087 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13088 of disassemble output in GDB 7.1.
13090 2010-02-19 Glenn Morris <rgm@gnu.org>
13092 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13093 property. (Bug#5593)
13095 2010-02-18 Sam Steingold <sds@gnu.org>
13097 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13099 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13101 Use abbreviated file names in bookmarks (bug#5591).
13102 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13103 calls to expand-file-name.
13104 (bookmark-relocate): Use abbreviated file names in bookmarks.
13105 (bookmark-load): Use abbreviated file names in messages.
13107 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13109 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13110 expand "." and "..". Reported by Thierry Volpiatto
13111 <thierry.volpiatto@gmail.com>.
13113 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13115 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13116 permissions of the temporary file to "0600". In case the remote
13117 file has no read permissions for the owner, there might be
13118 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13120 22010-02-18 Glenn Morris <rgm@gnu.org>
13122 * emacs-lisp/authors.el (authors-renamed-files-alist):
13123 Add entries for INSTALL.CVS.
13125 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13127 * vc-bzr.el: Fix typo in Known Bugs section.
13129 * isearch.el (isearch-update-post-hook): New hook.
13130 (isearch-update): Use the new hook.
13132 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13134 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13135 Fix errors in copying directories.
13136 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13137 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13138 (tramp-handle-delete-file)
13139 (tramp-handle-dired-recursive-delete-directory)
13140 (tramp-handle-write-region): Flush also the cache for the upper
13143 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13145 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13147 * cus-edit.el (hardware): Doc fix.
13149 * man.el (man): Add to external custom group.
13151 * delim-col.el (columns): Move to wp custom group.
13153 * doc-view.el (doc-view): Add to data custom group.
13155 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13157 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13158 by ispell-parse-output (Bug#5575).
13160 2010-02-16 Kenichi Handa <handa@m17n.org>
13162 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13163 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13164 (skkdic-convert): Use `euc-japan' coding system for writing.
13166 2010-02-16 Glenn Morris <rgm@gnu.org>
13168 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13169 tex-main-file before using it. (Bug#5562)
13171 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13173 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13174 warnings, since it is annoying for the user to see them each time he
13177 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13179 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13180 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13181 instead of PROC for caching "first-password-request". Otherwise,
13182 new processes would not profit from passwords already entered.
13184 * net/tramp-cache.el (tramp-dump-connection-properties):
13185 Don't save "first-password-request" property.
13187 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13189 * outline.el (outline-head-from-level):
13190 * simple.el (with-wrapper-hook):
13191 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13192 (elint-defun, elint-buffer-env, elint-top-form-logged)
13193 (elint-unbound-variable):
13194 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13195 Fix typos in docstrings.
13197 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13199 * files.el (insert-directory): When WILDCARD-REGEXP and
13200 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13201 whole directory. (Bug#5551)
13203 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13204 dired's alignment sanity. (Bug#5516)
13206 2010-02-14 Juri Linkov <juri@jurta.org>
13208 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13209 Remove remaining ^H with their preceding chars. (Bug#5566)
13211 2010-02-13 Glenn Morris <rgm@gnu.org>
13213 * simple.el (transpose-subr): Give it a doc-string.
13215 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13218 2010-02-12 Juri Linkov <juri@jurta.org>
13220 * arc-mode.el (archive-unique-fname): Make directories for nested
13221 archives. (Bug#5540)
13223 2010-02-12 Juri Linkov <juri@jurta.org>
13225 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13227 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13229 * subr.el (copy-overlay): Handle deleted overlays.
13231 * man.el (Man-completion-table): Don't signal an error if we can't run
13232 manual-program (bug#4056).
13234 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13236 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13238 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13240 * info.el (Info-bookmark-jump): Simplify.
13242 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13243 (bookmark-default-handler): Accept new bookmark field `buffer'.
13245 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13247 * iswitchb.el (iswitchb-completions): Revert last change.
13249 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13251 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13252 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13253 This prevents file names like "~/" being listed literally.
13255 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13257 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13258 Remove dead code. (Bug#5546)
13260 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13262 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13263 correctly (Bug#5548).
13265 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13267 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13268 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13270 2010-02-08 Kenichi Handa <handa@m17n.org>
13272 * international/mule-util.el (with-coding-priority): Add autoload
13273 cookie for putting `lisp-indent-function'.
13275 2010-02-07 Glenn Morris <rgm@gnu.org>
13277 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13278 Move F2003 named interfaces from keywords-2 to keywords-1, and
13279 use function-name-face rather than constant-face.
13280 Simplify "abstract interface" regexp.
13282 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13284 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13285 ID-FORMAT. Pass it to `file-attributes'.
13287 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13289 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13291 * faces.el (set-face-attribute): Allow calling
13292 internal-set-lisp-face-attribute with 'unspecified family and
13293 foundry argument (Bug#5536).
13295 2010-02-07 Glenn Morris <rgm@gnu.org>
13297 * progmodes/f90.el (f90-font-lock-keywords-2)
13298 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13299 Handle F2003 named interfaces.
13301 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13303 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13304 beg and end before calling c-get-state-before-change-functions.
13306 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13308 * vc-bzr.el (vc-bzr-dir-extra-headers):
13309 Disable the pending merges header.
13311 2010-02-05 Juri Linkov <juri@jurta.org>
13313 * doc-view.el (doc-view-mode):
13314 * image-mode.el (image-mode): Put property mode-class=special.
13317 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13319 * vc-svn.el (vc-svn-revision-table): New function.
13321 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13323 * net/ange-ftp.el (ange-ftp-insert-directory):
13324 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13325 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13326 Handle also directories. (Bug#5478)
13328 2010-02-05 Glenn Morris <rgm@gnu.org>
13330 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13332 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13334 * startup.el (command-line-1): Convert options beginning with a
13335 single dash as well (Bug#5519).
13337 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13339 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13340 * minibuffer.el (completion-initials-expand): Only check the presence
13341 of delims *within* the boundaries, since otherwise the / delim is
13342 always found for files.
13344 Fix up various corner case problems.
13345 * doc-view.el (doc-view-last-page-number): New function.
13346 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13347 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13348 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13349 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13350 (doc-view-convert-current-doc): Don't create the resolution.el file
13352 (doc-view-pdf/ps->png): Do it here instead.
13353 (doc-view-already-converted-p): Check that resolution.el is present.
13354 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13355 windows that are not yet showing images.
13357 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13359 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13360 `dired-uncache' for every elemnt which is an absolute file name.
13362 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13363 directory, handle its directory component.
13364 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13365 function is called permanently and creates noise, otherwise.
13367 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13368 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13369 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13371 2010-02-04 David Burger <dburger@google.com> (tiny change)
13373 * macros.el (apply-macro-to-region-lines):
13374 Minor simplification. (Bug#5485)
13376 2010-02-04 Glenn Morris <rgm@gnu.org>
13378 * mail/rmail.el (rmail-show-message-1): Handle malformed
13379 quoted-printable text. (Bug#5441)
13381 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13383 * simple.el (visual-line-mode): Capitalize lighter.
13385 2010-02-03 John Wiegley <jwiegley@gmail.com>
13387 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13388 list of files considered for "virtual buffer" completions.
13390 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13392 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13393 also in case of (and (not full) (not wildcard)). This is needed
13394 when dired is called with a list of files, which are not in
13395 `default-directory'. (Bug#5478)
13397 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13399 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13401 2010-02-02 Juri Linkov <juri@jurta.org>
13403 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13404 from unidiff to allow function-line after @@.
13406 2010-02-02 Juri Linkov <juri@jurta.org>
13408 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13409 '(RCS SCCS) with inverted condition.
13411 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13413 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13416 2010-02-01 Juri Linkov <juri@jurta.org>
13418 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13419 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13420 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13421 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13423 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13426 (doc-view-revert-buffer): New command.
13427 (doc-view-mode-map): Use it.
13429 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13431 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13432 pending merge is detected.
13434 2010-01-31 Juri Linkov <juri@jurta.org>
13436 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13437 beginning of interactive spec like all other grep commands do.
13438 Put "all" in front of "gz". (Bug#5260)
13440 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13442 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13444 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13446 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13447 regexp is incorrect (Bug#5476).
13449 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13451 * net/tramp.el (tramp-handle-insert-directory): Handle also
13452 symlinks, when FILENAME is not in `default-directory'.
13454 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13456 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13457 FILE is not in `default-directory'. (Bug#5478)
13459 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13460 of SWITCHES. Handle the case, FILENAME is not in
13461 `default-directory'. (Bug#5478)
13462 (tramp-register-file-name-handlers): Add safe-magic property.
13464 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13466 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13469 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13471 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13472 (flymake-master-make-header-init): Add other C++ filename masks.
13473 (flymake-find-possible-master-files)
13474 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13476 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13478 Fix some busybox annoyances.
13480 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13481 not responding." string.
13482 (tramp-open-connection-setup-interactive-shell): Dump stty
13483 settings. Enable "neveropen" arg for all `tramp-send-command'
13484 calls. Handle "=" in variable values properly.
13485 (tramp-find-inline-encoding): Raise an error, when no encoding is
13487 (tramp-wait-for-output): Check, whether PROC buffer is available.
13488 Remove spurious " ^H" sequences, sent by busybox.
13489 (tramp-get-ls-command): Suppress coloring, if possible.
13491 2010-01-28 Glenn Morris <rgm@gnu.org>
13493 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13495 * log-edit.el (log-edit-strip-single-file-name): Add missing
13496 :safe, :group, and :version tags.
13498 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13500 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13501 buffers. (Bug#5477)
13503 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13505 * files.el (delete-directory): Handle moving to trash without
13506 first doing recursion (Bug#5436).
13508 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13510 * vc-hooks.el (vc-path): Mark as obsolete.
13512 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13514 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13517 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13519 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13521 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13523 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13525 * vc-bzr.el (vc-bzr-revision-table): New function.
13527 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13529 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13530 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13532 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13534 Remove support for adding --signoff on commit.
13535 Future support will use an incompatible generic mechanism.
13536 * vc-git.el (vc-git-add-signoff): Remove variable.
13537 (vc-git-toggle-signoff): Remove function.
13538 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13540 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13541 Rename from xterm-set-background-mode. Return t if the background mode
13543 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13544 earlier, call it again in case the background mode has changed.
13546 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13548 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13551 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13553 * emacs-lisp/assoc.el (aelement): Doc fix.
13554 (aput, adelete, amake): Use lexical-let (Bug#5450).
13556 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13558 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13559 is the same as subprogram call, not declaration. (Bug#5435).
13561 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13563 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13564 (tramp-smb-maybe-open-connection): Use it.
13566 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13568 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13570 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13572 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13573 just because we see "encoding: 8bit".
13574 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13576 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13578 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13580 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13582 * jka-compr.el (jka-compr-load): If load-file is not in
13583 load-history, try its file-truename version. (bug#5447)
13585 2010-01-21 Alan Mackenzie <acm@muc.de>
13587 Fix a situation where deletion of a cpp construct throws an error.
13588 * progmodes/cc-engine.el (c-invalidate-state-cache):
13589 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13590 special cpp construct is still in the buffer.
13591 (c-parse-state): Record the special cpp with markers, not numbers.
13593 2010-01-21 Kenichi Handa <handa@m17n.org>
13595 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13596 process last-command-event, as it is now decoded first (Bug#5380).
13598 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13600 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13602 2010-01-20 Glenn Morris <rgm@gnu.org>
13604 * indent.el (tab-always-indent): Fix custom-type.
13606 2010-01-19 Alan Mackenzie <acm@muc.de>
13608 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13609 buffer throws "args out of range".
13610 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13611 playing the role of delimiter.
13613 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13615 * progmodes/ada-mode.el: Fix bug#5400.
13616 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13617 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13618 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13619 Improve comments in "is" portion. Handle null procedure declaration.
13620 (ada-move-to-end): Improve doc string.
13622 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13624 * ido.el (ido-cur-list): Initialize to nil.
13625 Remove obsolete information from commentary.
13626 (ido-choice-list): Initialize to nil.
13627 (ido-get-bufname): Reject minibuffers.
13628 (ido-make-buffer-list): If "default" is a nonexistent
13629 buffer, ignore it, as per the function's comment.
13630 (ido-kill-buffer-internal): New function.
13631 (ido-kill-buffer-at-head): Use it.
13632 (ido-visit-buffer): Likewise.
13634 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13636 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13638 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13640 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13641 Fix typos in chart titles.
13643 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13644 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13645 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13646 (describe-class, eieio-describe-generic, describe-generic):
13647 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13648 (eieio-speedbar-expand):
13649 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13650 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13651 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13652 (viper-del-backward-char-in-replace, viper-backward-indent)
13653 (viper-brac-function, viper-register-to-point, viper-submit-report):
13654 * net/tramp.el (tramp-remote-coding-commands):
13655 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13656 Fix typos in docstrings.
13658 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13660 * mail/sendmail.el (mail-yank-original): Set the mark if the
13661 specified function for yanking does not do it.
13663 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13665 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13667 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13668 resyncing a directory.
13670 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13672 * progmodes/ada-mode.el: Fix bug#1920.
13673 (ada-ident-re): Delete ., allow multibyte characters.
13674 (ada-goto-label-re): New; matches goto labels.
13675 (ada-block-label-re): New; matches block labels.
13676 (ada-label-re): New; matches both.
13677 (ada-named-block-re): Delete; callers changed to use
13678 `ada-block-label-re' instead.
13679 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13680 Use `ada-block-label-re'.
13681 (ada-indent-on-previous-lines): Improve handling of goto labels.
13682 (ada-get-indent-block-start): Special-case block label.
13683 (ada-get-indent-label): Split into `ada-indent-block-label' and
13684 `ada-indent-goto-label'.
13685 (ada-goto-stmt-start, ada-goto-next-non-ws):
13686 Optionally ignore goto labels.
13687 (ada-goto-next-word): Simplify.
13688 (ada-indent-newline-indent-conditional): Insert newline before
13689 trying to fix indentation; doc fix.
13691 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13693 * calc/calc.el (calc-command-flags): Give it an initial value.
13695 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13697 * files.el (minibuffer-with-setup-hook):
13698 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13699 (artist-key-draw-continously, artist-key-do-continously-continously)
13700 (artist-key-set-point-continously, artist-mouse-draw-continously):
13701 Fix typos in docstrings.
13703 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13705 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13706 Never return t (Bug#3898).
13708 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13710 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13711 can parse the output of the external commands (Bug#5279).
13713 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13715 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13717 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13719 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13721 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13723 * startup.el (command-line): Remove unused --icon-type arg.
13724 Handle --display arg, passing it to command-line-1 (Bug#5392).
13726 2010-01-16 Mario Lang <mlang@delysid.org>
13728 * emacs-lisp/chart.el (chart-translate-namezone):
13729 * textmodes/artist.el (artist-compute-popup-menu-table):
13730 Remove duplicated words in doc-strings.
13732 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13734 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13735 to mairix-search to suppress threading (Bug#5342).
13737 2010-01-15 Kenichi Handa <handa@m17n.org>
13739 * international/mule-cmds.el (canonicalize-coding-system-name):
13740 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13742 2010-01-15 Glenn Morris <rgm@gnu.org>
13744 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13746 * wid-edit.el (widget-keymap): Doc fix.
13748 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13749 former seems to be more widely accepted by various svn versions.
13751 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13753 * find-cmd.el (find-constituents):
13754 * vc-arch.el (vc-arch-root):
13755 * window.el (window-body-height, pop-up-frames):
13756 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13757 * progmodes/ada-stmt.el (ada-if):
13758 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13759 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13760 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13761 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13763 * progmodes/flymake.el (flymake-post-syntax-check):
13764 Fix typo in error message.
13766 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13768 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13769 which is always a string. (Bug#5313)
13771 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13773 * progmodes/ada-xref.el (ada-default-prj-properties):
13774 Simplify previous change.
13776 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13778 * progmodes/ada-xref.el (ada-default-prj-properties):
13779 Default ada_project_path to $ADA_PROJECT_PATH.
13781 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13783 * progmodes/ada-mode.el (ada-create-keymap):
13784 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13786 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13788 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13789 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13790 (ada-get-current-indent, ada-imenu-generic-expression)
13791 (ada-which-function): Check for it.
13793 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13795 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13796 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13798 2010-01-14 Glenn Morris <rgm@gnu.org>
13800 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13802 2010-01-14 Kenichi Handa <handa@m17n.org>
13804 * composite.el (auto-composition-mode): Make it a buffer local
13805 variable (permanent-local).
13806 (auto-composition-function): Set the default value to
13807 auto-compose-chars.
13808 (auto-composition-mode): Make it a simple function, not a minor mode.
13809 (global-auto-composition-mode): Likewise.
13810 (turn-on-auto-composition-if-enabled): Delete it.
13812 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13814 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13816 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13818 * files.el (copy-directory): Compute target for recursive
13819 directories with identical names. (Bug#5343)
13821 2010-01-12 Glenn Morris <rgm@gnu.org>
13823 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13824 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13826 2010-01-11 Sam Steingold <sds@gnu.org>
13828 * imenu.el (imenu-default-create-index-function): Detect infinite
13829 loops caused by imenu-prev-index-position-function.
13831 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13833 * htmlfontify.el (htmlfontify-load-rgb-file)
13834 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13835 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13836 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13837 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13838 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13839 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13840 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13841 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13842 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13843 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13844 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13845 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13846 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13847 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13848 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13849 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13850 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13851 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13852 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13853 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13854 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13855 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13856 backslash-quoting from parentheses, etc.
13858 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13860 * progmodes/js.el: Autoload javascript-mode alias.
13862 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13864 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13865 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13866 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13867 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13868 Fix typos in docstrings.
13869 (ffap-url-regexp): Doc fix.
13870 (ffap-at-mouse): Fix typo in message.
13872 2010-01-11 Glenn Morris <rgm@gnu.org>
13874 * version.el (emacs-copyright): Set copyright year to 2010.
13876 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13878 * format.el (format-annotate-function): Only set
13879 write-region-post-annotation-function after running to-fn so as not to
13880 affect nested write-region calls (bug#5273).
13882 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13884 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13887 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13889 * man.el (Man-goto-section): Signal error if the section is not
13892 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13894 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13895 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13897 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13899 * progmodes/compile.el: Don't treat compile-command as safe if
13900 compilation-read-command might be nil (Bug#4218).
13902 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13904 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13907 2010-01-08 Kenichi Handa <handa@m17n.org>
13909 * international/fontset.el (build-default-fontset-data):
13910 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13912 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13914 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13915 to `create-file-buffer' as it expects, not just a buffer name.
13916 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13917 to help uniquify. (Bug#3224)
13919 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13921 * font-setting.el (font-setting-change-default-font): Use user-spec
13924 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13926 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13928 2010-01-05 Tom Tromey <tromey@redhat.com>
13930 * progmodes/python.el (python-font-lock-keywords):
13931 Handle qualified decorators (Bug#881).
13933 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13935 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13936 in a lightweight checkout.
13938 2010-01-05 Kenichi Handa <handa@m17n.org>
13940 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13942 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13944 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13946 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13948 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13949 checkouts. (Bug#618)
13950 (vc-bzr-log-view-mode): Also highlight the author.
13951 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13952 (vc-bzr-shelve-menu-map):
13953 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13954 (vc-bzr-shelve-apply): Make prompt more explicit.
13956 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13958 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13959 They are valid characters in URL paths (rfc3986), and at least
13960 Firefox does not understand the encoded version (Bug#3166).
13962 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13964 * progmodes/octave-mod.el (octave-end-keywords)
13965 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13966 Add "end" keyword (Bug#3061).
13967 (octave-end-as-array-index-p): New function.
13968 (calculate-octave-indent): Use it.
13970 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13972 * bookmark.el: Consistently put the text property on the bookmark name.
13973 (bookmark-bmenu-marks-width): Bump back to 2, to include
13975 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13976 property on the bookmark name, instead of not putting it at all.
13977 (bookmark-bmenu-list): Fix where we put the text property.
13979 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13981 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13982 for showing buffer modified state (as added in the previous change).
13984 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13986 * bookmark.el: Show modified state of bookmark buffer more accurately.
13987 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13988 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13989 (with-buffer-modified-unmodified): New macro.
13990 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13991 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13992 Use new macro to preserve the buffer modified state.
13994 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13996 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13997 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13998 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13999 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14000 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14001 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14002 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14004 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14006 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14007 Make the lines in the generated doc string shorter. (Bug#4668)
14009 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14011 * net/rcirc.el: Add follow-link binding (Bug#4738).
14013 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14015 * Makefile.in (bzr-update): Rename from cvs-update.
14016 (cvs-update): New target for backward compatibility.
14018 * makefile.w32-in (bzr-update): Rename from cvs-update.
14019 (cvs-update): New target for backward compatibility.
14021 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14023 * bookmark.el: Remove gratuitous gratitude.
14025 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14027 * bookmark.el (bookmark-bmenu-any-marks): New function.
14028 (bookmark-bmenu-save): Clear buffer modification if no marks.
14030 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14032 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14033 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14034 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14035 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14037 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14038 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14039 To: emacs-devel {_AT_} gnu.org
14040 Subject: bookmark.el bug report
14041 Date: Mon, 28 Dec 2009 14:19:16 +0800
14042 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14044 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14046 * bookmark.el: Improvements suggested by Drew Adams:
14047 (bookmark-bmenu-ensure-position): New name for
14048 `bookmark-bmenu-check-position'. Just ensure the position,
14049 don't return any meaningful value.
14050 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14053 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14055 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14056 (bookmark-yank-point, bookmark-bmenu-check-position):
14057 Fix typos in docstrings.
14058 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14059 (bookmark-name-from-full-record, bookmark-get-position)
14060 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14061 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14062 Remove useless quoting of parenthesis, etc. in docstrings.
14064 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14065 (ediff-append-custom-diff): Fix typo in error message.
14066 (ediff-meta-mark-equal-files): Fix typos in messages.
14068 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14070 * net/imap-hash.el (imap-hash-make): Doc fix.
14071 (imap-hash-test): Fix typo in error message; reflow docstring.
14072 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14073 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14074 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14075 Fix typos in docstrings.
14076 (imap-hash-open-connection): Fix typo in error message.
14078 * play/gomoku.el (gomoku): Fix typos in docstring.
14080 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14081 (gdb-jsonify-buffer): Fix typos in docstring.
14082 (gdb-goto-breakpoint): Fix typo in error message.
14083 ("Display Other Windows"): Fix typo in help message.
14084 (gdb-speedbar-expand-node): Fix typo in question.
14086 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14087 (idlwave-html-system-help-location, idlwave-html-help-location)
14088 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14089 (idlwave-help-browser-generic-args, idlwave-help-directory)
14090 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14091 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14092 (idlwave-online-help, idlwave-help-html-link)
14093 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14094 Fix typos in docstrings.
14095 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14097 (idlwave-help-assistant-start): Fix typo in error message.
14099 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14100 (octave-electric-space): Fix typos in docstrings.
14102 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14104 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14106 2010-01-01 Juri Linkov <juri@jurta.org>
14108 * comint.el (comint-input-ring-size): Make it a defcustom and
14109 increase the default to 500 (Bug#5148).
14111 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14113 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14114 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14115 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14117 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14119 Show working revision correctly for mercurial.
14120 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14121 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14123 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14125 Declare some functions for the byte-compiler.
14126 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14127 (speedbar-timer-fn, speedbar-change-expand-button-char)
14128 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14130 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14132 This changeset reverts GDB Graphical Interface to use annotations.
14133 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14135 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14137 Make vc-dir work on subdirectories of the bzr root.
14138 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14139 Return file names relative to it.
14140 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14141 relative directory to vc-bzr-after-dir-status.
14143 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14145 * font-lock.el (font-lock-refresh-defaults): New function, which
14146 can be used to let font-lock react to external changes in
14147 variables like font-lock-defaults and keywords.
14148 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14150 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14152 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14154 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14156 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14158 Supersede color.diff settings in git log (bug#5211).
14160 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14161 escape chars in its output when the user has color.diff set to `always'.
14162 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14164 2009-12-26 Kevin Ryde <user42@zip.com.au>
14166 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14167 node. Keep previous "Index" name to work with past coreutils too.
14169 * man.el (man): Revise docstring a bit to show -a and -l as
14170 examples. Add -k description since support for it has otherwise
14171 been a secret. (Further to bug#3717.)
14172 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14173 "no matches" rather than "Can't find manpage", as the latter reads
14174 like -k was interpreted as a page name, which is not so. (Bug#5431)
14176 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14178 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14179 switches. Check also for //SUBDIRED// line.
14181 2009-12-25 Kenichi Handa <handa@m17n.org>
14183 * language/indian.el (devanagari-composable-pattern): Fix to
14184 handle ZWNJ and ZWJ. Use it in composition-function-table for
14186 (malayalam-composable-pattern): Fix previous change.
14188 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14190 * ps-print.el (ps-face-attributes): It was not returning the
14191 attribute face for faces specified as string. Reported by harven
14192 <harven@free.fr>. (Bug#5254)
14193 (ps-print-version): New version 7.3.5.
14195 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14197 * calendar/icalendar.el (icalendar--convert-tz-offset):
14198 Fix timezone names.
14199 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14200 (icalendar--add-diary-entry): Remove the trailing blank that
14201 diary-make-entry inserts.
14203 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14205 Make `file-expand-wildcards' work for remote files.
14207 * files.el (file-expand-wildcards): In case of remote files, check
14208 only local file name part for wildcards. Provide feature 'files
14209 and subfeature 'remote-wildcards. (Bug#5198)
14211 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14212 if there is already an established connection.
14213 (tramp-advice-file-expand-wildcards): Remove it.
14215 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14216 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14217 Activate advice for older GNU Emacs versions. (Bug#5237)
14219 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14221 Some doc fixes (more needed).
14223 * find-cmd.el (find-constituents): Reflow docstring.
14224 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14225 (find-generic): Doc fix.
14227 2009-12-17 Juri Linkov <juri@jurta.org>
14229 Fix regression from 23.1 to allow multiple modes in Local Variables.
14231 * files.el (hack-local-variables-filter): While ignoring duplicates,
14232 don't take `mode' into account.
14233 (hack-local-variables-filter, hack-dir-local-variables):
14234 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14236 2009-12-17 Juri Linkov <juri@jurta.org>
14238 Make `dired-diff' safer. (Bug#5225)
14240 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14241 `current' or when `file' is a directory of the `current' file.
14243 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14245 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14246 unconditionally preloaded files.
14248 2009-12-16 Juri Linkov <juri@jurta.org>
14250 Revert to old 23.1 logic of using the file at the mark as default.
14251 * dired-aux.el (dired-diff): Use the file at the mark as default
14252 if it's not the same as the current file, and the target dir is
14253 the current dir or the mark is active. Add the current file
14254 as the arg of `dired-dwim-target-defaults'. Use the default file
14255 in the prompt. (Bug#5225)
14257 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14259 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14260 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14261 (tramp-check-for-regexp): Check also, when an echoing shell stops
14262 to echo sent commands.
14264 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14266 * Makefile.in: Revert last change (Bug#5191).
14268 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14270 * vc-hg.el (vc-hg-print-log): Fix argument order.
14271 (vc-hg-working-revision): Make sure the command is executed in a
14272 known environment so that we can parse the output. (Bug#4417)
14274 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14276 * progmodes/python.el (python-symbol-completions): Remove text
14277 properties from symbol string before calling python-send-receive.
14279 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14281 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14282 when there are values for both file and line. (Bug#5060)
14284 2009-12-14 Juri Linkov <juri@jurta.org>
14286 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14287 whitespace after the file name of the first line of unified format,
14288 because git-diff doesn't output whitespace and file modification time
14289 after the file name.
14291 2009-12-14 David Kastrup <dak@gnu.org>
14293 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14294 check if it already has the `display' property added by
14295 `Info-display-images-node', and not put the `invisible' property
14298 2009-12-13 Glenn Morris <rgm@gnu.org>
14300 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14301 (report-emacs-bug): In message-mode, sort manually before storing
14302 original report text. (Bug#5178)
14303 Remove superfluous save-excursion.
14305 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14307 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14308 when responding to "GetAll" properties.
14310 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14312 * simple.el (compose-mail): Remove mail-setup-with-from from
14313 customization checks.
14315 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14317 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14318 RAR archives created on Unix systems.
14320 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14322 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14323 the varalias that was accidentally removed by the 2009-11-19 change
14326 2009-12-12 Kenichi Handa <handa@m17n.org>
14328 * language/indian.el (indian-compose-regexp): New function.
14329 (malayalam-composable-pattern): Fix the pattern.
14330 (composition-function-table): Set malayalam-composable-pattern for
14331 Malayalam characters.
14333 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14335 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14336 rather than down-mouse-1, based on follow-link conventions.
14338 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14341 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14343 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14344 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14345 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14346 (verilog-leap-to-head, verilog-backward-token):
14347 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14349 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14351 * progmodes/verilog-mode.el (verilog-auto-lineup)
14352 (verilog-nameable-item-re): Cleanup user-visible spelling and
14353 documentation errors. One reported by Gary Delp.
14354 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14355 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14356 package, bug195. Reported by Pierre-David Pfister.
14358 2009-12-11 Glenn Morris <rgm@gnu.org>
14360 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14362 * mail/emacsbug.el: No longer require sendmail.
14363 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14364 (report-emacs-bug-orig-text): Doc fix.
14365 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14366 New local variables, to adapt to different mail-user-agents.
14367 (report-emacs-bug): Fix test for a gnu.org address.
14368 Use overlays for emphasis, since font-lock defeats 'face property.
14369 Pretest bugs also end up at the newsgroup these days.
14370 Stop message-mode stripping text properties.
14371 Set and use the new buffer-local variables.
14372 (report-emacs-bug-hook): Add doc-string.
14373 Remove some unnecessary save-excursions and simplify.
14374 Use the appropriate hook and send-command.
14376 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14377 capitalization of some menu entries.
14379 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14381 * whitespace.el (whitespace-display-char-on):
14382 Ensure `buffer-display-table' is unique when two or more windows are
14383 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14386 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14388 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14389 characters in the Attribute field.
14391 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14393 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14395 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14397 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14398 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14399 Disregard autoload-excludes.
14400 (update-directory-autoloads): Obey autoload-excludes here instead.
14401 But don't store its contents in no-autoloads and remove entries that
14402 refer to excludes files.
14404 2009-12-10 Glenn Morris <rgm@gnu.org>
14406 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14407 (expand-mail-aliases): Define for compiler.
14409 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14410 Define for compiler.
14412 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14413 appropriate for the mail-user-agent in use.
14415 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14417 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14419 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14421 Fix short log parsing and fontification.
14422 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14423 Fix fontification for the [merge] label.
14425 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14427 Drop some properties to avoid surprises (bug#5002).
14428 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14429 (hfy-fontify-buffer): Use it.
14431 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14434 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14435 Adjust all callers.
14436 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14437 args compulsory. Adjust callers.
14438 (ffap-gopher-at-point): Remove unused var `name'.
14440 Get rid of the ELCFILES abomination.
14441 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14442 (compile-elcfiles): New phony target.
14443 (compile-main): Compute ELCFILES dynamically.
14444 (compile-clean): New target to remove left-over elc files.
14445 (compile, all): Use it.
14447 2009-12-09 Kenichi Handa <handa@etlken>
14449 * international/mule-diag.el: Require help-mode instead of help-fns.
14451 2009-12-09 Kenichi Handa <handa@m17n.org>
14453 * international/mule-cmds.el (ucs-names): Supply sufficiently
14454 fine ranges instead of pre-calculating accurate ranges.
14455 Iterate with bigger gc-cons-threshold.
14457 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14459 Add support for stashing a snapshot of the current tree.
14460 * vc-git.el (vc-git-stash-snapshot): New function.
14461 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14463 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14465 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14466 instead of `(beginning|end)-of-line'.
14468 2009-12-08 Glenn Morris <rgm@gnu.org>
14470 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14472 * Makefile.in (ELCFILES): Regenerate.
14474 2009-12-07 Juri Linkov <juri@jurta.org>
14476 Don't lazy-highlight the comint output in history Isearch mode.
14478 * comint.el (comint-history-isearch-search): Instead of
14479 `comint-line-beginning-position', use `comint-after-pmark-p'
14480 to check if point if before the process mark, and go to
14481 `process-mark' in this case.
14483 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14485 * textmodes/tex-mode.el (latex-complete)
14486 (latex-indent-or-complete): Remove.
14487 (latex-mode): Set completion-at-point-functions instead.
14489 Provide a standard completion command and hook it into TAB.
14490 * minibuffer.el (completion-at-point-functions): New var.
14491 (completion-at-point): New command.
14492 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14493 * progmodes/python.el (python-mode-map): Use completion-at-point.
14494 (python-completion-at-point): Rename from python-partial-symbol and
14495 adjust for use in completion-at-point-functions.
14496 (python-mode): Setup completion-at-point for Python completion.
14497 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14498 extracted from lisp-complete-symbol.
14499 (lisp-complete-symbol): Use it.
14500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14501 setup completion-at-point for Elisp completion.
14502 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14503 Use completion-at-point.
14504 * ielm.el (ielm-map): Use completion-at-point.
14505 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14506 * progmodes/sym-comp.el: Move to...
14507 * obsolete/sym-comp.el: Move from progmodes.
14509 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14511 Prevent save-buffer in Rmail buffers from using the coding-system
14512 of the current message, and from clobbering the encoding mnemonics
14513 in the mode line (Bug#4623).
14515 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14517 (rmail-message-encoding): New variable.
14518 (rmail-write-region-annotate): Record the encoding of the current
14519 message in rmail-message-encoding.
14520 (rmail-after-save-hook): New function, restores the encoding of
14521 the current message after the message collection is saved.
14523 2009-12-07 Juri Linkov <juri@jurta.org>
14525 * progmodes/grep.el (grep-read-files): Use `completing-read'
14526 instead of `read-string'. Set its `collection' arg to
14527 `read-file-name-internal'. (Bug#4301)
14529 2009-12-07 Juri Linkov <juri@jurta.org>
14531 Correctly restore original Isearch point. (Bug#4994)
14533 * isearch.el (isearch-mode): Move `isearch-push-state' after
14534 `(run-hooks 'isearch-mode-hook)'.
14535 (isearch-cancel): When `isearch-push-state-function' is defined,
14536 let-bind `isearch-cmds' to the first state (the last element of
14537 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14538 function and restores the original point). Otherwise, move point
14539 to `isearch-opoint'.
14541 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14543 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14544 chars that don't have names, so the table can be built much faster at
14547 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14549 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14550 change. Suggested by David Kastrup.
14552 * simple.el (compose-mail): Check for incompatibilities and warn.
14553 (compose-mail-user-agent-warnings): New option.
14555 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14557 Support showing a single log entry from vc-annotate.
14558 * vc.el (print-log): Add a new argument: START-REVISION.
14559 (vc-print-log-internal): Add a new optional argument and
14560 pass it to the backend.
14561 (vc-print-log, vc-print-root-log): Adjust callers.
14562 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14563 buffer already displays the requested log entry, use it.
14564 Otherwise display only the log entry in question.
14565 * vc-svn.el (vc-svn-print-log):
14566 * vc-mtn.el (vc-mtn-print-log):
14567 * vc-hg.el (vc-hg-state):
14568 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14569 (vc-git-show-log-entry): Return t on success.
14570 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14571 (vc-bzr-show-log-entry): Return t on success.
14572 * vc-rcs.el (vc-rcs-print-log):
14573 * vc-sccs.el (vc-sccs-print-log):
14574 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14576 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14578 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14579 Add menus to the meta mode. (Bug#5043)
14581 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14583 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14586 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14588 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14590 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14591 Berbain <raphael.berbain@gmail.com>.
14593 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14595 (tramp-initial-end-of-output): New defconst.
14596 (tramp-methods, tramp-find-shell)
14597 (tramp-open-connection-setup-interactive-shell)
14598 (tramp-maybe-open-connection): Use it.
14599 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14600 Handle existence of `#' and `$'.
14602 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14603 Use `tramp-initial-end-of-output'.
14605 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14607 Get the background mode from the terminal for xterm, and set
14609 * term/xterm.el (xterm-set-background-mode): New function.
14610 (terminal-init-xterm): Use it in case xterm supports background
14611 color queries. Recompute faces after getting the background
14614 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14616 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14617 number comment back on its own line, for easier parsing.
14619 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14621 Make it work for non-file buffers (bug#5102).
14622 * doc-view.el (doc-view-current-cache-dir):
14623 Use doc-view-buffer-file-name rather than buffer-file-name.
14624 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14626 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14628 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14629 author field is too short.
14631 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14633 * vc-git.el (vc-git-print-log): Handle a limit argument.
14634 Display the short log in graph form and with labels.
14635 (vc-git-log-view-mode): Handle labels.
14637 Make vc-revert change VC state from 'added to 'unregistered.
14638 * vc-git.el (vc-git-revert): Call git reset first.
14640 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14642 * net/newst-backend.el, net/newst-plainview.el:
14643 * net/newst-reader.el, net/newst-ticker.el:
14644 * net/newst-treeview.el, net/newsticker.el:
14645 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14647 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14649 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14651 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14652 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14653 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14654 Update annotation regexp.
14656 * simple.el (beginning-of-visual-line): Constrain to field
14657 boundaries (Bug#5106).
14659 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14661 * xml.el (xml-substitute-numeric-entities):
14662 Move newsticker--decode-numeric-entities in newst-backend.el to
14663 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14664 * net/newst-backend.el (newsticker--parse-generic-feed)
14665 (newsticker--parse-generic-items)
14666 (newsticker--decode-numeric-entities):
14667 Move newsticker--decode-numeric-entities in newst-backend.el to
14668 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14670 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14672 * progmodes/js.el (js--js-not): Add null to the list of values.
14674 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14676 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14678 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14680 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14681 delimiter if it is at the end of the current line.
14682 (bibtex-generate-url-list): Fix docstring.
14684 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14686 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14687 minibuffer's content with itself.
14688 Fold the confirm-after-completion case into the `confirm' case.
14689 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14691 2009-12-06 Kevin Ryde <user42@zip.com.au>
14693 * ffap.el (ffap-rfc-path): Make this a defcustom since
14694 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14696 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14697 manuals, similar to existing setup for help-mode. (Bug#3913.)
14699 2009-12-05 Juri Linkov <juri@jurta.org>
14701 Save and restore dired buffer's point positions too. (Bug#4880)
14703 * dired.el (dired-save-positions): Return in the first element
14704 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14706 (dired-restore-positions): First restore buffer's position.
14707 While restoring window's positions, check if window still displays
14708 the original buffer.
14710 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14712 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14715 * shell.el (shell): Require ansi-color (Bug#5113).
14717 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14719 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14721 2009-12-05 Alan Mackenzie <acm@muc.de>
14723 * progmodes/cc-mode.el (c-before-hack-hook)
14724 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14725 `c-file-style' to work again. This reversion restores the current
14726 software to its state in Emacs 23.1. (Bug#4146)
14728 2009-12-05 Kevin Ryde <user42@zip.com.au>
14730 * textmodes/sgml-mode.el (sgml-lexical-context):
14731 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14733 2009-12-05 Juri Linkov <juri@jurta.org>
14735 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14736 for virtual nodes. (Bug#4147)
14737 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14738 when moving from a virtual node.
14739 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14740 (Info-mode): Add `Info-virtual-index' to the docstring.
14742 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14744 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14745 track of the buffer position of the end of a BibTeX entry as this
14746 position may change during reformatting.
14747 (bibtex-format-entry): Remove whitespace before processing
14748 numerical fields so that we recognize the latter properly.
14749 (bibtex-reformat): Do not use push which changes the global value
14750 of bibtex-entry-format.
14751 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14752 (bibtex-field-re-init): Replace only space characters by regexp
14754 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14755 (bibtex-initialize): Also update bibtex-strings.
14756 (bibtex-kill-field): Preserve white space at end of entry.
14757 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14758 Update bibtex-reference-keys.
14760 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14763 point after a star, if that's the only place where modifications can
14766 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14768 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14771 2009-12-04 Juri Linkov <juri@jurta.org>
14773 * proced.el (proced): Call `(proced-update t)' to update process
14774 information instead of only running proced-post-display-hook.
14775 (proced-send-signal): Add a leading space to the buffer name
14776 " *Marked Processes*" to make this buffer ephemeral.
14778 2009-12-04 Juri Linkov <juri@jurta.org>
14780 * dired.el (dired-auto-revert-buffer): New defcustom.
14781 (dired-internal-noselect): Use it.
14783 2009-12-04 Juri Linkov <juri@jurta.org>
14785 Change roles of modes and functions in image-mode.el (Bug#5062).
14787 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14788 in `auto-mode-alist'.
14789 (image-mode-previous-major-mode): New variable.
14790 (image-minor-mode-map): Rename from `image-mode-text-map'.
14791 (image-mode): Move graceful error-handling code from
14792 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14793 (image-minor-mode): Remove all image-handling code.
14794 Replace `image-mode-text-map' with `image-minor-mode-map'.
14795 Check for `image-type' in mode-line format string.
14796 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14797 (image-mode-as-text): New function with most code from
14798 `image-mode-maybe'.
14799 (image-toggle-display-text): Move code that removes image
14800 properties from `image-toggle-display' to here.
14801 (image-toggle-display-image): New function with code that adds
14802 image properties copied from `image-toggle-display'.
14803 (image-toggle-display): Remove most code with leaving only code
14804 that toggles between `image-mode-as-text' and `image-mode'.
14806 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14808 * net/newst-treeview.el
14809 (newsticker--treeview-list-highlight-start): Restored call to
14810 save-excursion: Selected item was stuck.
14811 (newsticker--treeview-list-select): New.
14812 (newsticker--treeview-item-show-text)
14813 (newsticker--treeview-item-show)
14814 (newsticker--treeview-item-update): Use new
14815 newsticker-treeview-item-mode.
14816 (newsticker-treeview-update): Keep current item.
14817 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14818 (newsticker--treeview-first-feed): Doc change.
14819 (newsticker-treeview-list-menu)
14820 (newsticker-treeview-item-menu): Add menu entries.
14821 (newsticker-treeview-item-mode): New.
14823 * net/newst-backend.el (newsticker-customize): Delete other
14826 2009-12-04 Sam Steingold <sds@gnu.org>
14828 * log-view.el (log-view-mode-map): "q" calls quit-window,
14829 like in all the other non-self-insert buffers.
14831 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14834 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14835 key decoding rather than do it manually via last-input-event +
14837 (term-exec): Use delete-and-extract-region.
14838 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14839 (term-process-pager): Remove unused var `i'.
14840 (term-dynamic-simple-complete): Make obsolete.
14841 (serial-update-config-menu): Remove unused vars `y' and `str'.
14842 (term-update-mode-line): Remove unused var `temp'.
14844 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14846 Limit the number of log entries displayed by default.
14847 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14848 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14849 using a prefix argument.
14851 2009-12-03 Glenn Morris <rgm@gnu.org>
14853 * progmodes/idlwave.el (class): Restore still useful declaration.
14855 2009-12-03 Alan Mackenzie <acm@muc.de>
14857 Enhance `c-parse-state' to run efficiently in "brace deserts".
14859 * progmodes/cc-mode.el (c-basic-common-init):
14860 Call c-state-cache-init.
14861 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14862 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14863 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14865 * progmodes/cc-langs.el (c-before-font-lock-function):
14866 c-extend-and-neutralize-syntax-in-CPP has been renamed
14867 c-neutralize-syntax-in-and-mark-CPP.
14869 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14870 with `category' properties now, not `syntax-table' ones.
14872 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14873 enhanced (but slower) version of c-end-of-macro that won't land
14874 inside a literal or on another awkward character.
14875 (c-state-cache-too-far, c-state-cache-start)
14876 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14877 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14878 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14879 (c-state-min-scan-pos, c-state-brace-pair-desert)
14880 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14881 buffer local variables.
14882 (c-state-literal-at, c-state-lit-beg)
14883 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14884 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14885 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14886 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14887 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14888 (c-renarrow-state-cache)
14889 (c-append-lower-brace-pair-to-state-cache)
14890 (c-state-push-any-brace-pair, c-append-to-state-cache)
14891 (c-remove-stale-state-cache)
14892 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14893 (c-invalidate-state-cache-1, c-parse-state-1)
14894 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14895 (c-parse-state): Enhance and refactor.
14896 (c-debug-parse-state): Amend to deal with all the new variables.
14898 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14899 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14900 modify to use category text properties rather than syntax-table ones.
14901 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14902 to switch off/on the syntactic paren property of C++ template
14903 delimiters using the category property.
14904 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14905 template delims suppressed.
14906 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14907 New constant/macros which apply category properties to the start
14908 and end of preprocessor constructs.
14909 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14910 "comment out" the syntactic value of characters in preprocessor
14912 (c-with-cpps-commented-out)
14913 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14914 with characters in all or all but one preprocessor constructs
14917 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14919 * proced.el (proced-filter-alist): Use regexp-quote.
14921 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14924 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14925 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14926 arguments. Expand `default-directory'.
14928 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14929 the benefit of returning an expanded localname.
14930 (tramp-tramp-file-p): Handle the case NAME is not a string.
14932 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14934 Add support for bzr shelve/unshelve.
14935 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14936 (vc-bzr-extra-menu-map): New variables.
14937 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14938 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14939 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14940 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14941 (vc-bzr-dir-extra-headers): Display shelves.
14943 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14945 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14947 * textmodes/bibtex.el (bibtex-complete-internal):
14948 Use completion-in-region.
14949 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14951 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14953 Support applying stashes. Improve UI.
14954 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14955 (vc-git-stash-apply, vc-git-stash-pop)
14956 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14957 (vc-git-stash-menu): New functions.
14958 (vc-git-stash-menu-map): New variable.
14959 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14961 2009-12-03 Glenn Morris <rgm@gnu.org>
14963 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14964 (vc-print-log-internal): Fix previous change.
14965 (vc-revert): Correct pluralization.
14967 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14969 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14970 it to be an alist any more.
14971 (makefile-complete): Use completion-in-region.
14973 * progmodes/octave-mod.el (octave-complete-symbol):
14974 Use completion-in-region.
14977 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14978 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14979 (idlwave-complete-class): Don't quote lambda.
14980 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14981 (idlwave-mode-map): Move initialization into declaration.
14982 (idlwave-action-and-binding): Use backquotes.
14983 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14985 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14986 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14987 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14988 `parts', and `all-parts'.
14989 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14990 (idlwave-convert-xml-system-routine-info): Remove unused string
14992 (idlwave-display-user-catalog-widget): Use dolist.
14993 (idlwave-scanning-lib): Declare dynamically-scoped var.
14994 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14995 (completion-highlight-first-word-only): Declare to silence bytecomp.
14996 (idlwave-popup-select): Tighten scope of `resp'.
14997 (idlwave-find-struct-tag): Remove unused var `beg'.
14998 (idlwave-after-load-rinfo-hook): Declare.
14999 (idlwave-sintern-class-info): Remove unused var `taglist'.
15000 (idlwave-find-class-definition): Remove unused var `list'.
15001 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15002 (idlwave-what-module-find-class): Remove unused var `classes'.
15004 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15006 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15008 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15010 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15011 buffers visited. Remove redundant current-buffer-saving.
15013 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15015 Use completion-in-buffer and remove uses of dynamic scoping.
15016 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15017 (pascal-buffer-to-use, pascal-flag): Don't declare.
15018 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15019 (pascal-get-completion-decl, pascal-keyword-completion):
15020 Add `pascal-str' argument, save-excursion,
15021 return the found completions, and don't filter with pascal-pred.
15022 (pascal-completion-cache): New var.
15023 (pascal-completion): Don't switch buffer any more (it was never
15024 necessary). Don't save-excursion any more (it's done by the called
15025 subroutines). Use a cache to avoid redundant computations.
15026 Use complete-with-action rather than pascal-completion-response and
15027 let it apply the predicate as well.
15028 (pascal-complete-word): Use completion-in-buffer when
15029 pascal-toggle-completions is nil.
15030 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15032 (pascal-comp-defun): Don't change buffer any more.
15033 Use complete-with-action rather than pascal-completion-response and
15034 let it apply the predicate as well.
15035 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15038 2009-12-02 Kenichi Handa <handa@m17n.org>
15040 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15041 shape for all Indic scripts.
15043 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15045 Use completion-in-buffer.
15046 * wid-edit.el (widget-field-text-end): New function.
15047 (widget-field-value-get): Use it.
15048 (widget-string-complete, widget-file-complete)
15049 (widget-color-complete): Use it and completion-in-region.
15050 (widget-complete): Don't narrow the buffer.
15052 2009-12-02 Glenn Morris <rgm@gnu.org>
15054 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15055 (rmail-select-summary): Use rmail-pop-to-buffer.
15056 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15057 rmail-pop-to-buffer, to prevent horizontal splits.
15059 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15060 save-excursion with save-current-buffer.
15061 Widen before searching. (Bug#5093)
15062 (diary-list-sexp-entries): Remove superfluous save-excursion.
15064 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15066 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15069 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15071 * ido.el (ido-file-internal): Handle filenames at point that do
15072 not have a directory part. (Bug#5049)
15074 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15076 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15077 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15079 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15081 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15082 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15085 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15087 * comint.el (comint-insert-input): Ignore clicks to the right of
15088 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15090 * vc.el (vc-print-log-internal): Don't wait for the process to
15091 terminate before setting up the major mode.
15093 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15096 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15099 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15101 2009-12-01 Glenn Morris <rgm@gnu.org>
15103 * window.el (window--display-buffer-2): Fix previous changes.
15105 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15107 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15109 2009-12-01 Glenn Morris <rgm@gnu.org>
15111 * Makefile.in (ELCFILES): Add mpc.elc.
15113 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15115 * mpc.el: New file.
15117 2009-12-01 Glenn Morris <rgm@gnu.org>
15119 * window.el (window-to-use): Define for compiler.
15121 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15122 consistent with others (no final period).
15124 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15125 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15127 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15129 Make vc-print-log buttons work.
15130 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15132 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15134 * savehist.el (savehist-autosave-interval): Allow setting to nil
15135 through customize. (Bug#5056)
15137 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15139 Fix references to jit-lock properties.
15140 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15141 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15142 (perl-font-lock-special-syntactic-constructs):
15143 Quote jit-lock-defer-multiline property.
15145 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15147 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15149 2009-11-30 Juri Linkov <juri@jurta.org>
15151 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15152 value `buffer' of `multi-isearch-next-buffer-current-function'.
15153 Use `(current-buffer)' when `buffer' is nil.
15154 (multi-isearch-next-buffer-from-list): Don't fallback to
15155 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15157 2009-11-30 Juri Linkov <juri@jurta.org>
15159 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15160 of buffers with `get-buffer' to `multi-isearch-buffers'.
15161 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15162 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15163 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15164 FILES with `expand-file-name' converting relative file names
15165 to absolute. Doc fix. (Bug#4727)
15167 2009-11-30 Juri Linkov <juri@jurta.org>
15169 * misearch.el (multi-isearch-read-buffers)
15170 (multi-isearch-read-matching-buffers): New functions.
15171 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15172 Use them in the `interactive' spec. Doc fix.
15173 (multi-isearch-read-files, multi-isearch-read-matching-files):
15175 (multi-isearch-files, multi-isearch-files-regexp):
15176 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15178 2009-11-30 Juri Linkov <juri@jurta.org>
15180 * doc-view.el (doc-view-continuous):
15181 Rename from `doc-view-continuous-mode'.
15182 (doc-view-menu): Move "Toggle display" to the top.
15183 Add submenu "Continuous" with radio buttons "Off"/"On"
15184 and "Save as Default".
15185 (doc-view-scroll-up-or-next-page)
15186 (doc-view-scroll-down-or-previous-page)
15187 (doc-view-next-line-or-next-page)
15188 (doc-view-previous-line-or-previous-page):
15189 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15191 2009-11-30 Juri Linkov <juri@jurta.org>
15193 * comint.el (comint-mode-map): Rebind `M-r' from
15194 `comint-previous-matching-input' to
15195 `comint-history-isearch-backward-regexp'.
15196 Unbind `M-s' to allow global key binding `M-s'.
15197 Add menu items for `comint-history-isearch-backward' and
15198 `comint-history-isearch-backward-regexp'. (Bug#3746)
15200 2009-11-30 Juri Linkov <juri@jurta.org>
15202 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15203 For def=recenter, replace `recenter' with `recenter-top-bottom'
15204 that is called with `this-command' and `last-command' let-bound
15205 to `recenter-top-bottom'. When the last `def' was not `recenter',
15206 set `recenter-last-op' to nil. (Bug#4981)
15208 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15210 Minor cleanup and simplification.
15211 * filecache.el (file-cache-add-directory)
15212 (file-cache-add-directory-recursively)
15213 (file-cache-add-from-file-cache-buffer)
15214 (file-cache-delete-file-regexp, file-cache-delete-directory)
15215 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15216 (file-cache-temp-minibuffer-message): Delete function.
15217 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15219 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15220 Don't signal an error when bumping into EOB in tr, s, or y.
15222 2009-11-29 Juri Linkov <juri@jurta.org>
15224 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15227 * descr-text.el (describe-char-unidata-list): Use lowercase name
15228 for "Unicode name" like in other tags.
15230 2009-11-29 Juri Linkov <juri@jurta.org>
15232 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15233 New compatibility macro.
15234 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15236 2009-11-29 Juri Linkov <juri@jurta.org>
15238 Add defcustom to define the cycling order of `recenter-top-bottom'.
15241 * window.el (recenter-last-op): Doc fix.
15242 (recenter-positions): New defcustom.
15243 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15244 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15246 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15248 Improve integration of Tramp and ange-ftp in eshell.
15250 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15251 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15252 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15254 * eshell/esh-util.el (top): Require also Tramp when compiling.
15255 (eshell-directory-files-and-attributes): Check for FTP remote
15257 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15258 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15259 (eshell-file-attributes): Handle ".". Return `entry'.
15261 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15262 (ange-ftp-directory-files-and-attributes)
15263 (ange-ftp-real-directory-files-and-attributes): New defuns.
15265 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15266 shell with "exec" when possible. This prevents trailing prompts
15267 in `start-file-process'.
15269 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15271 Try and remove assumptions about point-min==1.
15272 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15273 (rng-compute-mode-line-string): Show the validation percentage in
15274 terms of the narrowed text, not the widened text.
15275 (rng-do-some-validation): Don't catch internal errors when debugging.
15276 (rng-first-error): Simplify.
15277 (rng-after-change-function): Remove work around. AFAIK the bug has
15278 been fixed a while ago.
15280 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15281 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15283 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15285 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15286 `cd' doesn't always do it for us (bug#5067).
15288 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15289 on 2009-10-25 as part of some other change (bug#5067).
15291 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15293 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15295 (byte-compile-warnings): Use byte-compile-warning-types.
15296 (byte-compile-save-excursion): Warn about use of set-buffer right
15297 after save-excursion.
15299 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15300 the excursion as well.
15302 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15304 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15305 providing a Tramp related implementation of "su" and "sudo".
15306 (eshell-unix-initialize): Add "su" and "sudo".
15308 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15310 * net/socks.el (socks-send-command): Convert binary request to
15311 unibyte before sending. This fixes mishandling of some port
15312 numbers such as 129.
15314 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * help.el (describe-bindings-internal): Remove `interactive'.
15318 * man.el (Man-completion-table): Trim a terminating "(".
15319 Remove the space between name page a section.
15320 Add the command's description on the `help-echo' property.
15321 Remove `process-connection-type' binding since it's unused by
15323 Provide completion for the "<section> <name>" format as well.
15324 (Man-default-man-entry): Remove spurious var shadowing the argument.
15326 2009-11-26 Kevin Ryde <user42@zip.com.au>
15328 * log-view.el: Add "Keywords: tools", since its other keywords
15329 aren't in finder-known-keywords, and following vc.el.
15331 * sha1.el (sha1-string-external): default-directory "/" in case
15332 otherwise non-existent. process-connection-type pipe for touch of
15333 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15335 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15337 Misc coding convention cleanups.
15338 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15339 hfy-init-kludge-hooks.
15340 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15341 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15342 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15344 (hfy-slant, hfy-weight): Use tables rather than code.
15345 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15346 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15347 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15348 (hfy-face-to-css): Remove `nconc' with single arg.
15349 (hfy-p-to-face-lennart): Use `or'.
15350 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15351 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15352 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15353 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15354 (hfy-force-fontification): Use run-hooks.
15356 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15358 Various minor fixes.
15359 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15360 Javascript belongs in the header, not the body.
15361 (hfy-javascript): Remove.
15362 (hfy-fontify-buffer): Don't insert it any more.
15363 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15364 Fix bug in invis handling when there were no invis props in a chunk.
15366 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15368 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15370 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15372 * finder.el (finder-mode-map): Add a menu.
15374 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15376 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15377 "unsigned" structs.
15379 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15380 fork" statement better.
15382 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15384 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15385 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15386 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15387 Reported by Clay Douglass.
15389 (verilog-auto-inst, verilog-auto-star-safe)
15390 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15391 Fix removing "// Interfaces" when saving .* expansions.
15392 Reported by Pierre-David Pfister.
15394 2009-11-26 Glenn Morris <rgm@gnu.org>
15396 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15399 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15401 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15402 Really use previous revision.
15404 2009-11-25 Kevin Ryde <user42@zip.com.au>
15406 * man.el (Man-completion-table): default-directory "/" in case
15407 doesn't otherwise exist. process-environment COLUMNS=999 so as
15408 not to truncate long names. process-connection-type pipe to avoid
15409 any chance of hitting the pseudo-tty TIOCGWINSZ.
15410 (man): completion-ignore-case t for friendliness and since man
15411 itself is case-insensitive on the command line.
15412 Further to Bug#3717.
15414 * arc-mode.el: Add "Keywords: files", so the details in its
15415 commentary can be reached from finder-by-keyword.
15416 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15417 editing mode, but it's comms related and sgml-mode.el has "comm"
15419 * textmodes/bibtex-style.el: Add "Keywords: tex".
15420 * international/isearch-x.el, international/ja-dic-cnv.el:
15421 * international/ja-dic-utl.el, international/kkc.el:
15422 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15424 2009-11-25 Juri Linkov <juri@jurta.org>
15426 * man.el (Man-completion-table): Modify regexp to include
15427 section names to completion strings. (Bug#3717)
15429 2009-11-25 Juri Linkov <juri@jurta.org>
15431 Search recursively in gzipped files. (Bug#4982)
15433 * progmodes/grep.el (grep-highlight-matches): Add new options
15434 `always' and `auto'. Doc fix.
15435 (grep-process-setup): Check `grep-highlight-matches' for
15436 `auto-detect' to determine the need to compute grep defaults.
15437 Move Windows/DOS specific --colors settings handling
15438 to `grep-compute-defaults'. Check `grep-highlight-matches'
15439 to get the value of "--color=".
15440 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15441 has the value `auto-detect'. Move Windows/DOS specific settings
15442 from `grep-process-setup'.
15443 (zrgrep): New command with alias `rzgrep'.
15445 2009-11-25 Juri Linkov <juri@jurta.org>
15447 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15448 to nil instead of switching off view-mode. (Bug#4896)
15450 2009-11-25 Juri Linkov <juri@jurta.org>
15452 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15454 * mwheel.el (mwheel-scroll-up-function)
15455 (mwheel-scroll-down-function): New defvars.
15456 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15457 `scroll-up', and `mwheel-scroll-down-function' instead of
15460 * doc-view.el (doc-view-scroll-up-or-next-page)
15461 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15462 Use this ARG in the call to image-scroll-up/image-scroll-down.
15463 Change `interactive' spec to "P". Goto next/previous page only
15464 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15465 SPC/DEL case). Doc fix.
15466 (doc-view-next-line-or-next-page)
15467 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15469 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15470 `doc-view-scroll-up-or-next-page', and buffer-local
15471 `mwheel-scroll-down-function' to
15472 `doc-view-scroll-down-or-previous-page'.
15474 2009-11-25 Juri Linkov <juri@jurta.org>
15476 Provide additional default values (directories at other Dired
15477 windows) via M-n in the minibuffer of some Dired commands.
15479 * dired-aux.el (dired-diff, dired-compare-directories)
15480 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15481 `minibuffer-default' in `minibuffer-with-setup-hook'.
15482 (dired-dwim-target-directory): Find a window that displays Dired
15483 buffer instead of failing when the next window is not Dired.
15484 Use `get-window-with-predicate' to find for the next Dired window.
15485 (dired-dwim-target-defaults): New function.
15487 * ediff-util.el (ediff-read-file-name):
15488 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15489 in `minibuffer-with-setup-hook'.
15491 2009-11-25 Juri Linkov <juri@jurta.org>
15493 Provide additional default values (file name at point or at the
15494 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15496 * minibuffer.el (read-file-name-defaults): New function.
15497 (read-file-name): Reset `minibuffer-default' to nil when
15498 it duplicates initial input `insdef'.
15499 Bind `minibuffer-default-add-function' to lambda that
15500 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15501 (minibuffer-insert-file-name-at-point): New command.
15503 * files.el (file-name-at-point-functions): New defcustom.
15504 (find-file-default): Remove defvar.
15505 (find-file-read-args): Don't use `find-file-default'.
15506 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15507 to `read-file-name'.
15508 (find-file-literally): Use `read-file-name' with
15509 `confirm-nonexistent-file-or-buffer'.
15511 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15513 * dired.el (dired-read-dir-and-switches):
15514 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15515 to `read-file-name'.
15516 (dired-file-name-at-point): New function.
15517 (dired-mode): Add hook `dired-file-name-at-point' to
15518 `file-name-at-point-functions'.
15520 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15522 Really make the *Completions* window soft-dedicated (bug#5030).
15523 * window.el (window--display-buffer-2): Add `dedicated' argument.
15524 (display-buffer): Pass it when needed so the dedicated flag is set
15525 after calling set-window-buffer, which would otherwise reset it.
15527 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15529 * progmodes/meta-mode.el (meta-complete-symbol):
15530 * progmodes/etags.el (complete-tag):
15531 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15532 Use completion-in-region.
15534 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15535 (dabbrev-completion): Use completion-in-region.
15536 (dabbrev--abbrev-at-point): Simplify regexp.
15538 * abbrev.el (abbrev--before-point): Use word-motion functions
15539 if :regexp is not specified (bug#5031).
15541 * subr.el (string-prefix-p): New function.
15543 * man.el (Man-completion-cache): New var.
15544 (Man-completion-table): Use it.
15546 * vc.el (vc-print-log-internal): Make `limit' optional for better
15547 compatibility (e.g. with vc-annotate.el).
15549 2009-11-24 Kevin Ryde <user42@zip.com.au>
15551 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15552 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15554 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15555 when .el source file not found or other error.
15557 2009-11-24 Markus Triska <markus.triska@gmx.at>
15559 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15561 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15563 Handle the [back] button properly (bug#4979).
15564 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15565 Use help-setup-xref, help-buffer, and with-help-window.
15566 (describe-char): Add `buffer' argument.
15567 Pass proper command to help-setup-xref. Don't meddle with
15568 help-xref-stack-item directly.
15569 (describe-text-category): Use with-help-window and help-buffer.
15571 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15572 for the displayed buffer (bug#4887).
15574 * man.el (Man-completion-table): New function.
15577 2009-11-24 David Reitter <david.reitter@gmail.com>
15579 * vc-git.el (vc-git-registered): Use checkout directory (where
15580 .git is) rather than the file's directory and a relative path spec
15581 to work around a bug in git.
15583 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15585 Improve handling of processes on remote hosts.
15587 * eshell/esh-util.el (eshell-path-env): New defvar.
15588 (eshell-parse-colon-path): New defun.
15589 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15591 * eshell/esh-ext.el (eshell-search-path):
15592 Use `eshell-parse-colon-path'.
15593 (eshell-remote-command): Remove argument HANDLER.
15594 (eshell-external-command): Check for FTP remote connection.
15596 * eshell/esh-proc.el (eshell-gather-process-output):
15597 Use `file-truename', in order to start also symlinked files.
15598 Apply `start-file-process' instead of `start-process'.
15599 Shorten `command' to the local file name part.
15601 * eshell/em-cmpl.el (eshell-complete-commands-list):
15602 Use `eshell-parse-colon-path'.
15604 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15606 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15607 to `eshell-directory-change-hook'.
15609 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15611 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15612 because it could be enabled automatically if view-read-only is non-nil.
15614 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15616 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15617 made on 2009-11-22.
15619 2009-11-24 Glenn Morris <rgm@gnu.org>
15621 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15622 deleted variable bookmark-bmenu-bookmark-column.
15624 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15626 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15628 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15630 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15631 two slashes to the "file:" prefix.
15632 (browse-url-file-url): De-munge Cygwin filenames before passing
15633 them to Windows browser.
15634 (browse-url-default-windows-browser): Use call-process.
15636 2009-11-23 Juri Linkov <juri@jurta.org>
15638 Implement DocView Continuous mode. (Bug#4896)
15639 * doc-view.el (doc-view-continuous-mode): New defcustom.
15640 (doc-view-mode-map): Bind C-n/<down> to
15641 `doc-view-next-line-or-next-page', C-p/<up> to
15642 `doc-view-previous-line-or-previous-page'.
15643 (doc-view-next-line-or-next-page)
15644 (doc-view-previous-line-or-previous-page): New commands.
15646 2009-11-23 Juri Linkov <juri@jurta.org>
15648 Implement Isearch in comint input history. (Bug#3746)
15649 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15650 `isearch-mode-hook'.
15651 (comint-history-isearch): New defcustom.
15652 (comint-history-isearch-backward)
15653 (comint-history-isearch-backward-regexp): New commands.
15654 (comint-history-isearch-message-overlay): New buffer-local variable.
15655 (comint-history-isearch-setup, comint-history-isearch-end)
15656 (comint-goto-input, comint-history-isearch-search)
15657 (comint-history-isearch-message, comint-history-isearch-wrap)
15658 (comint-history-isearch-push-state)
15659 (comint-history-isearch-pop-state): New functions.
15661 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15663 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15665 (tramp-handle-make-symbolic-link)
15666 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15668 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15669 (tramp-handle-process-file): Use it.
15671 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15673 * window.el (move-to-window-line-last-op): Remove.
15674 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15676 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15678 Make M-r mirror the new cycling behavior of C-l.
15679 * window.el (move-to-window-line-last-op): New var.
15680 (move-to-window-line-top-bottom): New command.
15681 (global-map): Bind M-r move-to-window-line-top-bottom.
15683 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15685 * dired-x.el (dired-guess-shell-alist-default):
15686 Support xz format. (Bug#4953)
15688 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15690 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15691 last-command-char/last-command-event.
15692 (viper-prefix-arg-value): Do correct conversion of event-char for
15695 * emulation/viper-util.el, emulation/viper.el:
15696 Use viper-last-command-char instead of
15697 last-command-char/last-command-event.
15699 * ediff-init.el, ediff-mult.el, ediff-util.el:
15700 Replace last-command-char and last-command-event
15701 with (ediff-last-command-char) everywhere.
15703 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15704 created in fundamental mode.
15706 * ediff.el (ediff-version): Revert the change of interactive-p to
15707 called-interactively-p.
15709 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15711 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15712 generation from word-movement command names.
15714 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15716 * cus-start.el (all): Add native condition for font-use-system-font.
15718 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15720 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15721 Correct the patch from 2009-11-18. (Bug#3910)
15723 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15725 * progmodes/subword.el: Rename from lisp/subword.el.
15727 * subword.el: Rename to progmodes/subword.el.
15729 * Makefile.in (ELCFILES): Adapt to subword.el move.
15731 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15732 Stefan Monnier <monnier@iro.umontreal.ca>
15734 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15735 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15736 (bookmark-bmenu-show-filenames): Use push.
15737 (bookmark-bmenu-hide-filenames): Use local var instead of
15738 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15739 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15740 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15741 filenames now that the bookmark names are always available.
15743 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15746 (bookmark-search-pattern): Move and leave unbound.
15747 (bookmark-bmenu-mode-map): Change binding.
15748 (bookmark-read-search-input): Simplify.
15749 Don't use text-char-description. Don't error on non-char events.
15750 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15751 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15752 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15753 Use a local var for the timer.
15754 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15755 (i.e. bookmark-bmenu-search).
15757 2009-11-21 Glenn Morris <rgm@gnu.org>
15759 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15761 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15763 * net/browse-url.el (browse-url-default-windows-browser):
15764 Use cygstart for cygwin.
15766 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15768 * bookmark.el: Formatting and doc fixes only:
15769 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15770 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15771 Minor grammar and punctuation fixes in doc string.
15772 (bookmark-read-search-input): Adjust to fit within 80 columns.
15774 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15776 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15777 (c-backward-into-nomenclature): Adapt to subword renaming.
15779 * subword.el (subword-forward, subword-backward, subword-mark)
15780 (subword-kill, subword-backward-kill, subword-transpose)
15781 (subword-downcase, subword-upcase, subword-capitalize)
15782 (subword-forward-internal, subword-backward-internal):
15783 Rename from forward-subword, backward-subword, mark-subword,
15784 kill-subword, backward-kill-subword, transpose-subwords,
15785 downcase-subword, upcase-subword, capitalize-subword,
15786 forward-subword-internal, backward-subword-internal.
15788 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15790 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15792 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15794 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15795 (bookmark-bmenu-filter-alist-by-regexp)
15796 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15797 (bookmark-bmenu-search): New command.
15798 (bookmark-bmenu-mode-map): Bind it.
15800 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15802 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15803 backward-subword to quit the byte-compiler.
15805 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15807 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15809 * progmodes/cc-cmds.el (c-update-modeline)
15810 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15811 Refer to subword.el functions instead of cc-subword.el.
15813 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15814 subword.el functions instead of cc-subword.el.
15816 * progmodes/cc-subword.el: Rename to subword.el.
15817 * subword.el: Rename from progmodes/cc-subword.el.
15818 (subword-mode-map): Rename from c-subword-mode-map.
15819 (subword-mode): Rename from c-subword-mode.
15820 (global-subword-mode): New global minor mode.
15821 (forward-subword): Rename from c-forward-subword.
15822 (backward-subword): Rename from c-backward-subword.
15823 (mark-subword): Rename from c-mark-subword.
15824 (kill-subword): Rename from c-kill-subword.
15825 (backward-kill-subword): Rename from c-backward-kill-subword.
15826 (transpose-subwords): Rename from c-tranpose-subword.
15827 (downcase-subword): Rename from c-downcase-subword.
15828 (capitalize-subword): Rename from c-capitalize-subword.
15829 (forward-subword-internal): Rename from c-forward-subword-internal.
15830 (backward-subword-internal): Rename from c-backward-subword-internal.
15832 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15834 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15835 from a dired buffer.
15836 (vc-dired-deduce-fileset): New function.
15837 (vc-root-diff, vc-print-root-log): Use it.
15839 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15840 nil LIMIT argument to vc-print-log-internal.
15842 2009-11-20 Glenn Morris <rgm@gnu.org>
15844 * Makefile.in (ELCFILES): Regenerate.
15846 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15848 * calc/calc.el (calc-set-mode-line):
15849 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15850 (math-format-number): Rename `math-format-complement-signed' to
15851 `math-format-twos-complement'.
15853 * calc/calc-bin.el (math-format-twos-complement): Rename from
15854 math-format-complement-signed.
15855 (calc-radix): Rename `calc-complement-signed-mode' to
15856 `calc-twos-complement-mode'.
15857 (calc-octal-radix, calc-hex-radix): Add an argument for
15860 * calc/calc-embed.el (calc-embedded-mode-vars):
15861 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15863 * calc/calc-ext.el (calc-init-extensions):
15864 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15865 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15867 * calc/calc-units.el (math-build-units-table-buffer):
15868 Let `calc-twos-complement-mode' be nil.
15870 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15873 * calc/calc-vec.el (calcFunc-vunpack):
15874 * calc/calc-aent.el (calc-do-calc-eval):
15875 * calc/calc-forms.el (math-format-date):
15876 * calc/calc-graph.el (calc-graph-plot):
15877 * calc/calc-math.el (math-use-emacs-fn):
15878 * calc/calccomp.el (math-compose-expr):
15879 Let `calc-twos-complement-mode' be nil.
15881 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15883 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15884 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15885 * minibuffer.el (completion-in-region-functions): New hook.
15886 (completion-in-region): New function.
15887 * emacs-lisp/lisp.el (lisp-complete-symbol):
15888 * pcomplete.el (pcomplete-std-complete): Use it.
15890 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15892 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15893 (latex-complete-alist): New vars.
15894 (latex-string-prefix-p, latex-complete-bibtex-keys)
15895 (latex-complete-envnames, latex-complete-refkeys)
15896 (latex-complete-data): New functions.
15897 (latex-complete, latex-indent-or-complete): New commands.
15899 * window.el (display-buffer-mark-dedicated): New var.
15900 (display-buffer): Obey it.
15901 * minibuffer.el (minibuffer-completion-help): Use it.
15903 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15905 * filecache.el (file-cache-add-file): Use push and cons.
15906 (file-cache-delete-file-regexp): Use push.
15907 (file-cache-complete): Use completion-in-region.
15909 * simple.el (with-wrapper-hook): Fix thinko.
15911 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15912 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15913 Use with-current-buffer and string-to-number.
15914 (hfy-fallback-colour-values): Use assoc-string.
15915 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15916 (hfy-face-at): Remove unused var `found-face'.
15917 (hfy-compile-stylesheet): Remove unused var `css'.
15918 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15920 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15921 Use with-current-buffer.
15922 (hfy-text-p): Use expand-file-name and fewer setq.
15924 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15926 * htmlfontify.el, hfy-cmap.el: New files.
15928 2009-11-19 Juri Linkov <juri@jurta.org>
15930 * minibuffer.el (completions-format): New defcustom.
15931 (completion--insert-strings): Implement vertical format.
15933 * simple.el (switch-to-completions): Move point to the first
15934 completion when point was at the beginning of the buffer.
15936 2009-11-19 Juri Linkov <juri@jurta.org>
15938 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15940 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15942 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15944 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15945 (mail-signature): Change default to t.
15946 (mail-from-style): Deprecate `system-default' value.
15947 (mail-insert-from-field): For default value of mail-from-style,
15948 default to `angles' unless `angles' needs quoting and `parens'
15950 (mail-citation-prefix-regexp): Use citation regexp from
15953 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15955 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15956 Set variables for computing the prompt for reading password.
15958 2009-11-19 Glenn Morris <rgm@gnu.org>
15960 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15962 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15964 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15965 (newsticker-treeview-listwindow-height): Fix custom type.
15967 2009-11-19 Kenichi Handa <handa@m17n.org>
15969 * descr-text.el (describe-char-padded-string): Compose with TAB
15970 only if there's a font for CH.
15971 (describe-char): Fix the condition for detecting a trivial composition.
15973 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15975 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15976 more accurate version of the regexp. (Bug#3910)
15978 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15980 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15982 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15984 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15985 (font-setting-change-default-font): Fix typo in docstring.
15987 2009-11-18 Alan Mackenzie <acm@muc.de>
15989 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15991 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15993 * font-setting.el (font-use-system-font): Move ...
15995 * cus-start.el (all): ... to here.
15997 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15999 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16000 Don't set `ad-return-value' if `ad-do-it' doesn't.
16002 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16005 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16007 * menu-bar.el: Put "Use system font" in Option-menu.
16008 (menu-bar-options-save): Add font-use-system-font.
16010 * loadup.el: If feature system-font-setting or font-render-setting is
16011 there, load font-setting.
16013 * Makefile.in (ELCFILES): Add font-settings.el.
16014 * font-setting.el: New file.
16016 2009-11-17 Glenn Morris <rgm@gnu.org>
16018 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16020 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16021 Preserve point in the list buffer. (Bug#4939)
16023 (newsticker--treeview-list-update-highlight)
16024 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16026 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16028 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16031 * calc/calc-ext.el (calc-init-extensions): Remove references to
16034 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16036 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16037 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16040 2009-11-16 Kevin Ryde <user42@zip.com.au>
16042 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16043 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16045 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16046 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16047 Ignore trailing spaces by omit-nulls to split-string (fixing
16048 regression from Emacs 21 due to the incompatible split-string
16049 change). (Bug #4928.)
16051 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16053 * vc.el (vc-log-show-limit): Default to 2000.
16054 (vc-print-log-internal): Insert buttons to request more entries
16055 when limiting the output.
16057 * vc-sccs.el (vc-sccs-print-log):
16058 * vc-rcs.el (vc-rcs-print-log):
16059 * vc-cvs.el (vc-cvs-print-log):
16060 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16063 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16065 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16066 error when `tramp-gvfs-dbus-event-vector' is set.
16067 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16069 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16073 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16075 * net/dbus.el (dbus-unregister-service): New defun.
16076 (dbus-register-property): Register the handlers of
16077 "org.freedesktop.DBus.Properties" for SERVICE.
16078 (dbus-property-handler): Fix docstring.
16080 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16082 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16083 Quote doc string reference in defvaralias as it is not in special form.
16084 (byte-compile-output-docform): Doc fix.
16086 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16088 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16089 (calc-complement-signed-mode): New variables.
16090 (calc-set-mode-line): Add indicator for twos-complements.
16091 (math-format-number): Format twos-complement notation.
16093 * calc/calc-bin.el (calc-word-size): Reset the variables
16094 `math-2-word-size' and `math-half-2-word-size'.
16095 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16096 (calc-symclip): New functions.
16098 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16100 * calc/calc-embed.el (calc-embedded-mode-vars):
16101 Add `calc-complement-signed-mode' to the list of modes.
16103 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16104 (calc-b-oper-keys): Add `calc-symclip' to list.
16106 * calc/calc-ext.el (math-read-number-fancy): Read complement
16108 (calc-init-extensions): Add binding for `calc-symclip'.
16109 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16111 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16113 (calc-modes-menu): Add item for twos complement mode.
16115 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16117 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16119 * register.el (jump-to-register, insert-register): Handle Semantic
16120 tags. From commented-out advice in semantic/senator.el.
16122 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16124 * vc.el (vc-log-show-limit): New variable.
16125 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16126 when using a prefix argument.
16127 (vc-print-log-internal): Add new argument LIMIT.
16129 * vc-svn.el (vc-svn-print-log):
16130 * vc-mtn.el (vc-mtn-print-log):
16131 * vc-hg.el (vc-hg-print-log):
16132 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16133 pass it to the log command when set. Make the BUFFER argument
16136 * vc-sccs.el (vc-sccs-print-log):
16137 * vc-rcs.el (vc-rcs-print-log):
16138 * vc-git.el (vc-git-print-log):
16139 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16140 ignore it. Make the BUFFER argument non-optional.
16142 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16144 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16146 * dired.el (dired-mode-map): Move encryption items to "Operate"
16149 * strokes.el (strokes-update-window-configuration): Make strokes
16150 buffer current before erasing (Bug#4906).
16152 2009-11-15 Juri Linkov <juri@jurta.org>
16154 * simple.el (set-mark-default-inactive): Add :type, :group
16155 and :version. (Bug#4876)
16157 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16159 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16160 (archive-unique-fname): ... here. (Bug#4929)
16162 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16164 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16167 * novice.el (disabled-command-function): Add useful args.
16168 Setup the help buffer so that [back] works.
16169 Remove redundant call to help-mode.
16170 (disabled-command-function): Use `case'.
16171 (en/disable-command): New function extracted from enable-command.
16172 (enable-command, disable-command): Use it.
16174 2009-11-14 Glenn Morris <rgm@gnu.org>
16176 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16177 constants. (Bug#4913)
16179 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16181 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16183 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16184 defined in C that have no doc-strings. (Bug#1063)
16186 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16188 * cus-edit.el (data, files):
16189 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16191 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16193 * simple.el (shell-command): Doc fix (Bug#4891).
16195 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16197 2009-11-14 Glenn Morris <rgm@gnu.org>
16199 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16200 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16201 If they are already loaded, eval-after-load will do the right thing.
16203 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16206 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16208 * simple.el (x-selection-owner-p): Declare.
16209 (read-mail-command): Use custom radio type rather than choice.
16210 (completion-no-auto-exit): Doc fix.
16212 * custom.el (defgroup):
16213 * epg-config.el (epg): Doc fixes.
16215 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16217 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16218 * international/ccl.el (define-ccl-program): Do not purecopy the
16219 docstring, defconst does it anyway.
16221 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16223 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16226 * x-dnd.el (x-dnd-maybe-call-test-function):
16227 * window.el (split-window-vertically):
16228 * whitespace.el (whitespace-help-on):
16229 * vc-rcs.el (vc-rcs-consult-headers):
16230 * userlock.el (ask-user-about-lock-help)
16231 (ask-user-about-supersession-help):
16232 * type-break.el (type-break-force-mode-line-update):
16233 * time-stamp.el (time-stamp-conv-warn):
16234 * terminal.el (te-set-output-log, te-more-break, te-filter)
16235 (te-sentinel, terminal-emulator):
16236 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16237 (term-write-input-ring, term-check-source, term-start-output-log):
16238 (term-display-buffer-line, term-dynamic-list-completions):
16239 (term-ansi-make-term, serial-term):
16240 * subr.el (selective-display):
16241 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16242 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16243 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16244 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16245 (speedbar-remove-localized-speedbar-support)
16246 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16247 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16248 (speedbar-buffers-line-directory):
16249 * simple.el (shell-command-on-region, append-to-buffer)
16250 (prepend-to-buffer):
16251 * shadowfile.el (shadow-save-todo-file):
16252 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16253 (scroll-bar-maybe-set-window-start):
16254 * sb-image.el (speedbar-image-dump):
16255 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16256 (load-save-place-alist-from-file):
16257 * ps-samp.el (ps-print-message-from-summary):
16258 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16259 (ps-background-image, ps-begin-job, ps-do-despool):
16260 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16261 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16262 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16263 (pr-call-process, pr-file-list, pr-interface-save):
16264 * novice.el (disabled-command-function)
16265 (enable-command, disable-command):
16266 * mouse.el (mouse-buffer-menu-alist):
16267 * mouse-copy.el (mouse-kill-preserving-secondary):
16268 * macros.el (kbd-macro-query):
16269 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16270 * informat.el (batch-info-validate):
16271 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16272 * hippie-exp.el (try-expand-dabbrev-visible):
16273 * help-mode.el (help-make-xrefs):
16274 * help-fns.el (describe-variable):
16275 * generic-x.el (bat-generic-mode-run-as-comint):
16276 * finder.el (finder-mouse-select):
16277 * find-dired.el (find-dired-sentinel):
16278 * filesets.el (filesets-file-close):
16279 * files.el (list-directory):
16280 * faces.el (list-faces-display, describe-face):
16281 * facemenu.el (list-colors-display):
16282 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16283 * epg.el (epg--process-filter, epg-cancel):
16284 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16285 (epa--read-signature-type):
16286 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16287 (emerge-file-names):
16288 * ehelp.el (electric-helpify):
16289 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16290 * ediff-vers.el (rcs-ediff-view-revision):
16291 * ediff-util.el (ediff-setup):
16292 * ediff-mult.el (ediff-append-custom-diff):
16293 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16295 * echistory.el (Electric-command-history-redo-expression):
16296 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16297 * disp-table.el (describe-display-table):
16298 * dired.el (dired-find-buffer-nocreate):
16299 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16300 * dabbrev.el (dabbrev--same-major-mode-p):
16301 * chistory.el (list-command-history):
16302 * apropos.el (apropos-documentation):
16303 * allout.el (allout-obtain-passphrase):
16304 (allout-copy-exposed-to-buffer):
16305 (allout-verify-passphrase): Use with-current-buffer.
16307 2009-11-13 Glenn Morris <rgm@gnu.org>
16309 * Makefile.in (ELCFILES): Regenerate.
16311 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16313 * net/dbus.el (dbus-registered-objects-table): Rename from
16314 `dbus-registered-functions-table', because it contains also properties.
16315 (dbus-unregister-object): Unregister also properties.
16316 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16317 Use a timeout of 500 msec, in order to not block.
16318 (dbus-register-property, dbus-property-handler): New defuns.
16320 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16322 * simple.el (minibuffer-default-add-completions): Drop deprecated
16325 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16327 * textmodes/artist.el (artist-mouse-choose-operation):
16328 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16329 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16330 (artist-compute-up-event-key): New function.
16331 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16333 2009-11-13 Kenichi Handa <handa@m17n.org>
16335 * language/japan-util.el: Make sure that the value of jisx0208
16336 property is jisx0208 character.
16338 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16340 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16341 car or each item, not the whole list.
16343 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16345 * minibuffer.el (minibuffer-completion-help):
16346 Use minibuffer-hide-completions.
16348 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16350 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16351 (dired-revert): Use them (bug#4880).
16353 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16355 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16357 2009-11-12 Juri Linkov <juri@jurta.org>
16359 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16361 (find-file-literally-at-point): Alias of `ffap-literally'.
16363 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16365 * textmodes/ispell.el (ispell-skip-region-alist):
16366 * textmodes/css-mode.el (auto-mode-alist):
16367 * progmodes/compile.el (auto-mode-alist):
16368 * international/mule.el (ctext-non-standard-encodings-alist)
16369 (ctext-non-standard-encodings-regexp):
16370 * simple.el (shell-command-switch, text-read-only):
16371 * replace.el (occur-mode-map):
16372 * paths.el (rmail-file-name):
16373 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16374 * find-file.el (ff-special-constructs):
16375 * files.el (file-name-handler-alist):
16376 * composite.el: Purecopy strings.
16378 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16380 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16382 * widget.el (define-widget): Purecopy the docstring.
16383 * international/mule-cmds.el (charset): Do not purecopy the
16384 docstring here, define-widget does it.
16386 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16387 * textmodes/bibtex-style.el (auto-mode-alist):
16388 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16389 * progmodes/compile.el (compile-command):
16390 * language/korea-util.el (default-korean-keyboard):
16391 * international/mule-conf.el (file-coding-system-alist):
16392 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16393 * tooltip.el (tooltip-frame-parameters):
16394 * newcomment.el (comment-end, comment-padding):
16395 * dired.el (dired-trivial-filenames):
16396 * comint.el (comint-file-name-prefix): Purecopy initial values.
16398 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16400 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16401 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16403 (tramp-advice-make-auto-save-file-name)
16404 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16405 after removing the advice.
16407 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16409 * progmodes/grep.el (grep-regexp-alist):
16410 * international/mule-cmds.el (iso-2022-control-alist):
16411 * emacs-lisp/timer.el (timer-duration-words):
16412 * subr.el (version-separator, version-regexp-alist):
16413 * minibuffer.el (completion-styles-alist):
16414 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16415 Change defvars to defconsts.
16417 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16418 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16419 * international/mule-conf.el: Allow to be byte compiled.
16421 * international/mule.el (define-charset): Purecopy props.
16422 (load-with-code-conversion): Purecopy doc string and file name.
16423 (put-charset-property): Purecopy strings.
16424 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16426 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16427 (define-char-code-property): Correctly purecopy the table.
16429 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16431 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16433 * subr.el (add-hook): Purecopy strings.
16434 (eval-after-load): Purecopy load-history-regexp and the form.
16436 * custom.el (custom-declare-group): Purecopy load-file-name.
16438 * subr.el (menu-bar-separator): New defconst.
16439 * net/eudc.el (eudc-tools-menu):
16440 * international/mule-cmds.el (set-coding-system-map)
16441 (mule-menu-keymap):
16442 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16443 * vc-hooks.el (vc-menu-map):
16444 * replace.el (occur-mode-map):
16445 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16446 (menu-bar-edit-menu, menu-bar-goto-menu)
16447 (menu-bar-custom-menu, menu-bar-showhide-menu)
16448 (menu-bar-options-menu, menu-bar-tools-menu)
16449 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16450 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16451 (menu-bar-help-menu):
16452 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16453 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16455 * term/x-win.el (x-gtk-stock-map):
16456 * progmodes/vera-mode.el (auto-mode-alist):
16457 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16458 (inferior-lisp-program, inferior-lisp-load-command):
16459 * progmodes/hideshow.el (hs-special-modes-alist):
16460 * progmodes/gud.el (same-window-regexps):
16461 * progmodes/grep.el (grep-program, find-program, xargs-program):
16462 * net/telnet.el (same-window-regexps):
16463 * net/rlogin.el (same-window-regexps):
16464 * language/ethiopic.el (font-ccl-encoder-alist):
16465 * vc-sccs.el (vc-sccs-master-templates):
16466 * vc-rcs.el (vc-rcs-master-templates):
16467 * subr.el (cl-assertion-failed):
16468 * simple.el (next-error-overlay-arrow-position):
16469 * lpr.el (lpr-command):
16470 * locate.el (locate-ls-subdir-switches):
16471 * info.el (same-window-regexps, info)
16472 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16473 * image-mode.el (image-mode, auto-mode-alist):
16474 * hippie-exp.el (hippie-expand-ignore-buffers):
16475 * format.el (format-alist):
16476 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16478 * facemenu.el (facemenu-keybindings):
16479 * dired.el (dired-listing-switches, dired-chown-program):
16480 * diff.el (diff-switches, diff-command):
16481 * cus-edit.el (same-window-regexps):
16482 * bindings.el (mode-line-mule-info)
16483 (mode-line-buffer-identification): Purecopy strings.
16485 2009-11-11 Juri Linkov <juri@jurta.org>
16487 * simple.el (dired-get-filename) <declare-function>:
16488 Tell the byte-compiler about dired-get-filename.
16489 (shell-command): In Dired mode, get filename from the current line
16490 as the default value.
16492 2009-11-10 Glenn Morris <rgm@gnu.org>
16494 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16495 * calendar/holidays.el, progmodes/cperl-mode.el:
16496 Update x-popup-menu declarations.
16498 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16499 (list-load-path-shadows): Use dolist.
16500 (list-load-path-shadows): Use with-current-buffer.
16502 2009-11-10 Juri Linkov <juri@jurta.org>
16504 * minibuffer.el (read-file-name): Support a list of default values
16505 in `default-filename'. Use the first file name where only one
16506 element is required. Doc fix.
16508 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16510 * net/dbus.el (dbus-unregister-object): Release service, if no
16511 other method is registered for it.
16513 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16515 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16516 bookmark-sort-flag is non-nil (Bug#4653).
16518 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16520 * emulation/cua-base.el: Add CUA property to some CC mode commands
16523 2009-11-08 Kevin Ryde <user42@zip.com.au>
16525 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16526 at end of sentence (Bug#4818).
16528 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16530 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16531 Handle "see declaration of" MSFT statements (Bug#4100).
16533 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16535 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16536 (tramp-advice-file-expand-wildcards): Unload via
16537 `ad-remove-advice'.
16539 * net/trampver.el: Update release number.
16541 2009-11-08 Kevin Ryde <user42@zip.com.au>
16543 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16546 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16548 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16549 in order to keep context in SELinux.
16551 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16553 * dired-aux.el (dired-query): Place cursor in echo area and allow
16556 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16557 menu item if not on a directory (Bug#4701).
16559 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16561 Sync with Tramp 2.1.17.
16563 * net/tramp.el (tramp-handle-copy-directory): Don't use
16564 `file-remote-p' (due to compatibility).
16566 * net/tramp-compat.el (tramp-compat-copy-directory)
16567 (tramp-compat-delete-directory): New defuns.
16569 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16570 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16571 Use `tramp-compat-delete-directory'.
16573 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16574 (tramp-smb-handle-delete-directory):
16575 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16577 * net/trampver.el: Update release number.
16579 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16581 * tar-mode.el (tar-copy): Call write-region on the right buffer
16584 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16585 by hand, if necessary (Bug#4878).
16587 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16589 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16590 align size column (Bug#4839).
16592 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16595 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16597 * progmodes/ld-script.el (auto-mode-alist):
16598 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16600 * cus-face.el (custom-declare-face): Purecopy face spec.
16602 2009-11-06 Kenichi Handa <handa@m17n.org>
16604 * international/uni-bidi.el: Re-generated.
16605 * international/uni-category.el: Re-generated.
16606 * international/uni-combining.el: Re-generated.
16607 * international/uni-mirrored.el: Re-generated.
16609 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16611 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16612 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16613 (tex-start-options, slitex-run-command, latex-run-command)
16614 (tex-run-command, tex-directory):
16615 * textmodes/ispell.el (ispell-html-skip-alists)
16616 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16617 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16618 (adaptive-fill-regexp):
16619 * textmodes/dns-mode.el (auto-mode-alist):
16620 * progmodes/python.el (interpreter-mode-alist):
16621 * progmodes/etags.el (tags-compression-info-list):
16622 * progmodes/etags.el (tags-file-name):
16623 * net/browse-url.el (browse-url-galeon-program)
16624 (browse-url-firefox-program):
16625 * mail/sendmail.el (mail-signature-file)
16626 (mail-citation-prefix-regexp):
16627 * international/mule-conf.el (eight-bit):
16628 * international/latexenc.el (latex-inputenc-coding-alist):
16629 * international/fontset.el (x-pixel-size-width-font-regexp):
16630 * emacs-lisp/warnings.el (warning-type-format):
16631 * emacs-lisp/trace.el (trace-buffer):
16632 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16633 (emacs-lisp-mode-map):
16634 * calendar/holidays.el (holiday-solar-holidays)
16635 (holiday-bahai-holidays, holiday-islamic-holidays)
16636 (holiday-christian-holidays, holiday-hebrew-holidays)
16637 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16638 (hebrew-holidays-1, holiday-oriental-holidays)
16639 (holiday-general-holidays):
16640 * x-dnd.el (x-dnd-known-types):
16641 * tool-bar.el (tool-bar):
16642 * startup.el (site-run-file):
16643 * shell.el (shell-dumb-shell-regexp):
16644 * rfn-eshadow.el (file-name-shadow-tty-properties)
16645 (file-name-shadow-properties):
16646 * paths.el (remote-shell-program, news-directory):
16647 * mouse.el ([C-down-mouse-3]):
16648 * menu-bar.el (menu-bar-tools-menu):
16649 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16650 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16651 (jka-compr-compression-info-list):
16652 * isearch.el (search-whitespace-regexp):
16653 * image-file.el (image-file-name-extensions):
16654 * find-dired.el (find-ls-option):
16655 * files.el (directory-listing-before-filename-regexp)
16656 (directory-free-space-args, insert-directory-program)
16657 (list-directory-brief-switches, magic-fallback-mode-alist)
16658 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16659 (automount-dir-prefix):
16660 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16661 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16662 (face-font-registry-alternatives, face-font-registry-alternatives)
16663 (face-font-family-alternatives):
16664 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16665 (facemenu-foreground-menu, facemenu-face-menu):
16666 * epa-hook.el (epa-file-name-regexp):
16667 * dnd.el (dnd-protocol-alist):
16668 * textmodes/rst.el (auto-mode-alist):
16669 * button.el (default-button): Purecopy strings.
16671 2009-11-06 Glenn Morris <rgm@gnu.org>
16673 * Makefile.in (ELCFILES): Update.
16675 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16677 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16678 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16680 * nxml/xsd-regexp.el (xsdre-gen-categories):
16681 * nxml/xmltok.el (xmltok-parse-entity):
16682 * nxml/rng-parse.el (rng-parse-validate-file):
16683 * nxml/rng-maint.el (rng-format-manual)
16684 (rng-manual-output-force-new-line):
16685 * nxml/rng-loc.el (rng-save-schema-location-1):
16686 * nxml/rng-cmpct.el (rng-c-parse-file):
16687 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16688 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16690 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16692 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16693 Remove extra save-excursions and make-variable-buffer-local's.
16694 Suggested by Stefan Monnier.
16696 (verilog-getopt-file, verilog-module-inside-filename-p)
16697 (verilog-set-define): Merge GNU 1.35 and repair changes from
16698 switching to using with-current-buffer.
16700 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16701 being treated as a number and confusing AUTORESET.
16702 Reported by Dan Dever.
16704 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16705 Add verilog-auto-ignore-concat to fix backward compatibility with
16706 older verilog-modes. Reported by Dan Katz.
16708 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16709 containing closing anchors "...$".
16711 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16712 Reported by Wade Smith.
16714 (verilog-batch-execute-func): Comment on function usage.
16716 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16718 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16721 (verilog-label-re, verilog-calc-1): Support proper indent of named
16724 (verilog-backward-token, verilog-basic-complete-re)
16725 (verilog-beg-of-statement, verilog-indent-re): Support proper
16726 indent of the assert statement at the beginning of a block of text.
16728 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16729 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16732 2009-11-05 Glenn Morris <rgm@gnu.org>
16734 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16735 Emacs 19. (Bug#1531)
16736 (byte-compile-fix-header): Update for the above change.
16737 Drop test for epoch::version.
16739 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16740 * cus-dep.el (custom-make-dependencies):
16741 * finder.el (finder-compile-keywords):
16742 Use autoload-rubric's feature argument.
16744 * calendar/diary-lib.el (top-level): Make load behave more like require.
16746 * vc-git.el (vc-git-stash-map): Move definition before use.
16748 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16750 * custom.el (custom-declare-group): Purecopy standard-value.
16751 (custom-declare-group): Purecopy custom-prefix.
16753 * international/mule.el (load-with-code-conversion):
16754 Call do-after-load-evaluation unconditionally.
16756 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16758 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16760 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16762 2009-11-04 Glenn Morris <rgm@gnu.org>
16764 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16765 (byte-compile-compatibility): Remove option.
16766 (byte-compile-close-variables, byte-compile-fix-header)
16767 (byte-compile-insert-header, byte-compile-output-docform)
16768 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16769 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16770 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16771 (byte-compile-insert, byte-compile-defun):
16772 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16773 (byte-defop-compiler19): Remove.
16774 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16775 used by anything. Replace all calls with byte-defop-compiler.
16777 2009-11-04 Juri Linkov <juri@jurta.org>
16779 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16780 (menu-bar-options-menu): Don't quote the `prop' arg of
16781 `menu-bar-make-mm-toggle'.
16783 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16785 * calendar/calendar.el (cal-loaddefs):
16786 * calendar/diary-lib.el (diary-loaddefs):
16787 * calendar/holidays.el (hol-loaddefs):
16788 * eshell/esh-module.el (esh-groups): Load rather than require.
16790 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16792 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16794 (todo-top-priorities): Only display-buffer when called interactively.
16795 (todo-item-start): Don't save excursion point.
16796 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16797 (todo-insert-item-here, todo-file-item, todo-remove-item):
16798 Adjust uses of todo-item-start and todo-item-end.
16800 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16801 (autoload-rubric): Don't use any more.
16803 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16804 and only put a prop if it is non-nil.
16806 2009-11-03 Juri Linkov <juri@jurta.org>
16808 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16809 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16811 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16812 and "Menu" to make top-level menu item visually one unit (like
16813 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16814 multi-word menu items). Fix :help string for quit-window.
16816 2009-11-03 Glenn Morris <rgm@gnu.org>
16818 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16819 (byte-compile-file-form-define-abbrev-table)
16820 (byte-compile-file-form-custom-declare-variable)
16821 (byte-compile-variable-ref, byte-compile-defvar):
16822 Whether or not a warning is enabled should only affect whether we issue
16823 the warning, not whether or not we collect the relevant data.
16824 Eg warnings can be turned on and off throughout the course of a file.
16826 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16827 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16829 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16831 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16832 * play/mpuz.el (mpuz-create-buffer):
16833 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16834 (lm-print-y,s,noise, lm-print-w0, lm-init):
16835 * play/gomoku.el (gomoku-prompt-for-move):
16836 * play/fortune.el (fortune-in-buffer):
16837 * play/dissociate.el (dissociated-press):
16838 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16839 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16840 * mail/supercite.el (sc-eref-show):
16841 * mail/smtpmail.el (smtpmail-send-it):
16842 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16843 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16844 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16845 (rmail-summary-goto-msg, rmail-summary-expunge)
16846 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16847 (rmail-summary-add-label, rmail-summary-output-menu)
16848 (rmail-summary-output-body):
16849 * mail/rfc822.el (rfc822-addresses):
16850 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16851 * mail/mailpost.el (post-mail-send-it):
16852 * mail/hashcash.el (hashcash-generate-payment):
16853 * mail/feedmail.el (feedmail-run-the-queue)
16854 (feedmail-queue-send-edit-prompt-help-first)
16855 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16856 (feedmail-deduce-address-list):
16857 * eshell/esh-ext.el (eshell-remote-command):
16858 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16859 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16860 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16861 (viper-save-string-in-file, viper-valid-marker):
16862 * emulation/viper-keym.el (viper-toggle-key):
16863 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16864 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16865 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16866 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16867 (viper-exec-form-in-emacs, viper-brac-function):
16868 * emulation/viper.el (viper-delocalize-var):
16869 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16870 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16871 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16872 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16873 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16874 * emulation/edt.el (edt-electric-helpify):
16875 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16876 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16877 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16878 (cua-indent-to-global-mark-column):
16879 * calendar/diary-lib.el (calendar-mark-1):
16880 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16881 Use with-current-buffer.
16882 * emulation/viper.el (viper-delocalize-var): Use dolist.
16884 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16886 * comint.el (comint-replace-by-expanded-history-before-point):
16887 Replace !! with the previous input string literally (Bug#1795).
16889 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16891 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16892 to be made up of whitespace.
16894 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16896 * minibuffer.el (read-file-name): Don't use file dialogs for
16897 remote directories (Bug#99).
16899 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16901 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16903 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16905 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16906 instead of deleting the window or frame.
16908 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16910 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16911 Support face colors.
16913 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16914 New function. Support face colors (Bug#1168).
16915 (tex-common-initialization): Use it.
16917 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16918 mode allows it (Bug#1168).
16920 2009-10-31 Juri Linkov <juri@jurta.org>
16922 * facemenu.el (list-colors-display): Don't mark buffer as
16923 modified (Bug#3948).
16925 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16927 * international/mule-diag.el (list-character-sets-1):
16928 Minor message fix (Bug#3526).
16930 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16931 Fix face property (Bug#4834).
16932 (etags-list-tags, etags-tags-apropos-additional)
16933 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16936 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16939 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16941 * textmodes/two-column.el (2C-split):
16942 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16943 * textmodes/tex-mode.el (tex-set-buffer-directory):
16944 * textmodes/spell.el (spell-region, spell-string):
16945 * textmodes/reftex.el (reftex-erase-buffer):
16946 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16947 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16948 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16949 (reftex-select-item):
16950 * textmodes/reftex-ref.el (reftex-label-info-update)
16951 (reftex-offer-label-menu):
16952 * textmodes/reftex-index.el (reftex-index-change-entry)
16953 (reftex-index-phrases-info):
16954 * textmodes/reftex-global.el (reftex-create-tags-file)
16955 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16956 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16957 (reftex-view-crossref-from-bibtex):
16958 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16959 (reftex-extract-bib-entries-from-thebibliography)
16960 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16961 * textmodes/refbib.el (r2b-capitalize-title):
16962 (r2b-convert-buffer, r2b-help):
16963 * textmodes/page-ext.el (pages-directory)
16964 (pages-directory-goto-with-mouse):
16965 * textmodes/bibtex.el (bibtex-validate-globally):
16966 * textmodes/bib-mode.el (bib-capitalize-title):
16967 * textmodes/artist.el (artist-clear-buffer, artist-system):
16968 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16969 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16970 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16971 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16972 (xscheme-send-control-g-interrupt, xscheme-start-process)
16973 (xscheme-process-sentinel, xscheme-cd):
16974 * progmodes/verilog-mode.el (verilog-read-always-signals)
16975 (verilog-set-define, verilog-getopt-file)
16976 (verilog-module-inside-filename-p):
16977 * progmodes/sh-script.el:
16978 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16979 (python-pdbtrack-grub-for-buffer, python-execute-file):
16980 * progmodes/octave-inf.el (inferior-octave):
16981 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16982 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16983 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16984 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16985 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16986 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16987 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16988 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16989 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16990 (idlwave-shell-examine-display, idlwave-shell-run-region)
16991 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16992 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16993 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16994 (idlwave-help-get-help-buffer):
16995 * progmodes/gud.el (gud-basic-call, gud-find-class)
16996 (gud-tooltip-activate-mouse-motions-if-enabled):
16997 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16998 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16999 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17000 (ebrowse-tags-next-file):
17001 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17002 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17003 (ebnf-eps-finish-and-write):
17004 * progmodes/cpp.el (cpp-edit-save):
17005 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17006 * progmodes/cc-defs.el (c-emacs-features):
17007 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17008 (antlr-directory-dependencies):
17009 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17010 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17011 (ada-find-any-references, ada-make-filename-from-adaname)
17012 (ada-make-body-gnatstub):
17013 * obsolete/rnews.el (news-list-news-groups):
17014 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17015 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17016 * net/rcirc.el (rcirc-debug):
17017 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17018 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17019 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17020 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17021 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17022 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17023 (newsticker--treeview-list-clear-highlight)
17024 (newsticker--treeview-list-update-highlight)
17025 (newsticker--treeview-list-highlight-start)
17026 (newsticker--treeview-tree-update-highlight)
17027 (newsticker--treeview-get-selected-item)
17028 (newsticker-treeview-mark-list-items-old)
17029 (newsticker--treeview-set-current-node):
17030 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17031 * net/newst-backend.el (newsticker--get-news-by-funcall)
17032 (newsticker--get-news-by-wget, newsticker--image-get)
17033 (newsticker--image-sentinel):
17034 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17035 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17036 (eudc-ph-close-session):
17037 * net/eudc.el (eudc-save-options):
17038 * language/thai-word.el (thai-update-word-table):
17039 * language/japan-util.el (japanese-string-conversion):
17040 * international/titdic-cnv.el (tsang-quick-converter)
17041 (ziranma-converter, ctlau-converter):
17042 * international/mule-cmds.el (describe-language-environment):
17043 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17044 (skkdic-convert-postfix, skkdic-convert-prefix):
17045 (skkdic-convert-okuri-nasi, skkdic-convert):
17046 * emacs-lisp/re-builder.el (reb-update-overlays):
17047 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17048 * emacs-lisp/gulp.el (gulp-send-requests):
17049 * emacs-lisp/find-gc.el (trace-call-tree):
17050 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17051 (eieio-describe-generic):
17052 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17053 * emacs-lisp/edebug.el (edebug-outside-excursion):
17054 * emacs-lisp/debug.el (debugger-make-xrefs):
17055 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17056 * emacs-lisp/chart.el (chart-new-buffer):
17057 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17058 Use with-current-buffer.
17059 * textmodes/artist.el (artist-system): Don't call
17060 copy-sequence on a fresh string.
17061 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17063 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17065 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17066 is no item to edit. (Bug#4820)
17067 (todo-top-priorities): Restore point and restore narrowing in Todo
17070 2009-10-31 Glenn Morris <rgm@gnu.org>
17072 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17073 (comint-last-output-start, comint-last-input-start)
17074 (comint-last-input-end): Don't defvar when compiling.
17075 (ange-ftp-process-file): Use bound-and-true-p.
17077 * pcmpl-rpm.el (top-level): Move provide statement to end.
17078 (pcmpl-rpm): Remove unused custom group.
17080 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17082 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17084 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17085 (byte-compile-warnings): Add `constants' as an option.
17086 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17087 (display-call-tree): Update for byte-compile-fdefinition possibly
17088 returning `(macro lambda ...)'. (Bug#4778)
17089 (byte-compile-variable-ref, byte-compile-setq-default):
17090 Respect `constants' member of byte-compile-warnings.
17092 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17094 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17095 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17098 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17100 * textmodes/ispell.el (ispell-skip-region-alist):
17101 * international/mule-conf.el (eight-bit):
17102 * international/fontset.el (font-encoding-alist):
17103 * startup.el (pure-space-overflow-message):
17104 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17105 * paths.el (gnus-nntp-service, rmail-spool-directory)
17106 (term-file-prefix):
17107 * files.el (save-some-buffers-action-alist):
17108 * cmuscheme.el (same-window-buffer-names):
17109 * ielm.el (same-window-buffer-names):
17110 * shell.el (same-window-buffer-names):
17111 * mail/sendmail.el (same-window-buffer-names):
17112 * progmodes/inf-lisp.el (same-window-buffer-names):
17113 * bindings.el (mode-line-client)
17114 (mode-line-column-line-number-mode-map):
17115 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17116 (tibetan-precomposed-regexp): Purecopy string arguments.
17118 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17120 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17121 (calcDigit-nondigit):
17122 * calc/calc-yank.el (calc-copy-to-buffer):
17123 * calc/calc-units.el (calc-invalidate-units-table):
17124 * calc/calc-trail.el (calc-trail-yank):
17125 * calc/calc-store.el (calc-insert-variables):
17126 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17127 * calc/calc-prog.el (calc-read-parse-table):
17128 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17129 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17130 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17131 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17132 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17133 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17134 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17135 * calc/calc-ext.el (calc-realign):
17136 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17137 (calc-embedded-finish-edit, calc-embedded-make-info)
17138 (calc-embedded-finish-command, calc-embedded-stack-change):
17139 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17141 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17142 shell-dynamic-complete-filename in preference to
17143 comint-dynamic-complete-filename.
17145 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17146 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17147 Don't consider whether the display supports colors.
17148 (bookmark-import-new-list): Use dolist.
17149 (bookmark-bmenu-mode-map): Move initialization into declaration.
17150 (bookmark-bmenu-list): Use dolist, simplify.
17151 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17152 (menu-bar-final-items): Use push.
17154 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17156 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17157 it works on remote files.
17158 (vc-hg-diff): Don't pass any `--cwd' argument.
17160 2009-10-27 Kevin Ryde <user42@zip.com.au>
17162 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17163 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17164 (Further to Bug#3921).
17166 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17168 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17169 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17170 calling `tramp-imap-put-file'. Add file size to the call.
17171 (tramp-imap-get-file-entries): Compute also user name, file size,
17173 (tramp-imap-handle-insert-directory): Insert uid and gid.
17174 (tramp-imap-handle-file-attributes): Transform uid and gid
17175 according to `id-format'.
17176 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17177 size in header X-Size.
17179 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17181 * simple.el (transpose-subr): Give clearer error when the mark
17182 is not set. (Bug#4807)
17184 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17186 * net/tramp.el (tramp-perl-file-truename): New defconst.
17187 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17188 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17189 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17190 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17192 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17193 Ignore `dired-call-process'.
17194 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17196 2009-10-26 Julian Scheid <julians37@gmail.com>
17198 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17199 (tramp-get-remote-readlink): New defun.
17200 (tramp-handle-file-truename): Use it.
17201 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17202 file exists if cache value present.
17203 (tramp-check-cached-permissions): New defun.
17204 (tramp-handle-file-readable-p): Use it.
17205 (tramp-handle-file-writable-p): Likewise.
17206 (tramp-handle-file-executable-p): Likewise.
17207 (tramp-handle-file-name-all-completions): Try using Perl to get
17208 partial completions. When perl not available, combine `cd' and
17209 `ls' into single remote operation and use shell expansion to get
17210 partial remote directory contents. Set `file-exists-p' cache for
17211 directory and any files returned by ls. Change cache handling to
17212 support partial directory contents. Use error message emitted by
17213 remote `cd' or Perl code for local tramp-error.
17214 (tramp-do-copy-or-rename-file-directly): Avoid separate
17215 tramp-send-command-and-check call.
17216 (tramp-handle-process-file): Merge three remote ops into one.
17217 Do not flush all caches when `process-file-side-effects' is set.
17218 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17219 file-attributes shows uid/gid to be set already.
17221 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17223 * textmodes/tex-mode.el (tex-dvi-view-command)
17224 (tex-show-queue-command, tex-open-quote):
17225 * progmodes/ruby-mode.el (auto-mode-alist)
17226 (interpreter-mode-alist): Purecopy strings.
17228 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17230 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17231 string for the hook, keymap and abbrev table.
17233 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17235 * x-dnd.el (x-dnd-xdnd-to-action):
17236 * startup.el (fancy-startup-text, fancy-about-text): Change to
17237 defconst from defvar.
17239 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17241 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17242 Purecopy initialization strings.
17244 * mail/sendmail.el (mail-header-separator)
17245 (mail-personal-alias-file):
17246 * mail/rmail.el (rmail-default-dont-reply-to-names)
17247 (rmail-ignored-headers, rmail-retry-ignored-headers)
17248 (rmail-highlighted-headers, rmail-secondary-file-directory)
17249 (rmail-secondary-file-regexp):
17250 * files.el (null-device, file-name-invalid-regexp)
17251 (locate-dominating-stop-dir-regexp)
17252 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17253 (interpreter-mode-alist): Use mapcar instead of mapc.
17255 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17257 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17258 (completion-ignored-extensions):
17259 (debug-ignored-errors): Purecopy strings.
17261 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17263 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17264 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17265 (pcomplete--here): Use push.
17267 * subr.el (all-completions): Declare the 4th arg obsolete.
17269 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17271 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17272 (pcomplete-unquote-argument): New function.
17273 (pcomplete--common-suffix): Always pay attention to case.
17274 (pcomplete--table-subvert): Quote and unquote the text.
17275 (pcomplete--common-quoted-suffix): New function.
17276 (pcomplete-std-complete): Use it and pcomplete-begin.
17278 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17279 we're inside a dedicated or minibuffer window.
17281 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17283 * bookmark.el: Update documentation, especially documentation
17284 of `bookmark-alist' and of the bookmark file format.
17285 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17287 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17289 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17290 keybindings apply to the mail buffer (Bug#4003). Shrink help
17293 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17294 (global-whitespace-mode, global-whitespace-newline-mode)
17295 (whitespace-toggle-options, global-whitespace-toggle-options):
17296 Doc fix (Bug#3660).
17298 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17299 of xmltok-start before the end tag was inserted (Bug#2840).
17301 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17302 patterns that are preceded by an open-paren (Bug#1320).
17304 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17306 * files.el (delete-directory): Delete symlinks to directories with
17307 delete-file (Bug#4739).
17309 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17311 * vc.el (vc-backend-for-registration): Rename from
17312 vc-get-backend-for-registration. Update callers.
17314 * international/mule-cmds.el (set-language-info-alist):
17316 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17317 (charset): Purecopy the name.
17318 (define-char-code-property): Purecopy string arguments.
17320 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17321 Purecopy string arguments.
17323 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17324 * ediff-hook.el (menu-bar-ediff-menu):
17325 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17326 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17328 2009-10-24 Glenn Morris <rgm@gnu.org>
17330 * comint.el (comint-dynamic-list-completions):
17331 * term.el (term-dynamic-list-completions): Use choose-completion rather
17332 than obsolete alias mouse-choose-completion.
17334 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17335 file-cache-choose-completion.
17336 (file-cache-choose-completion): Handle an optional event argument.
17337 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17339 * progmodes/octave-mod.el (octave-complete-symbol):
17340 Use choose-completion if mouse-choose-completion is ever removed.
17342 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17345 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17348 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17350 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17352 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17353 Ignore `pred' now that we receive one.
17354 Handle test-completion specially.
17356 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17358 * vc.el (vc-responsible-backend): Throw an error if not backend is
17359 found. Remove the REGISTER argument. Move the code dealing with
17361 (vc-get-backend-for-registration): ... here. New function.
17362 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17363 of vc-responsible-backend, pass the file name instead of the
17366 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17368 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17370 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17371 (pcomplete-comint-setup): Don't modify a global var via
17372 accidental side-effects.
17373 (pcomplete-shell-setup): Adjust call accordingly.
17374 (pcomplete-parse-comint-arguments): Use push.
17376 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17378 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17379 Allow uncapitalized info node names (Bug#3921).
17381 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17382 to the DEBUG file (Bug#3781).
17384 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17386 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17387 dictionary entry (Bug#4579).
17389 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17391 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17392 from `rfn-eshadow-update-overlay-hook' when unloading.
17393 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17394 "rsyncc". Adjust doc string.
17395 (tramp-temp-buffer-file-name): New buffer-local defvar.
17396 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17397 Keep temporary file when indicated by method ("rsync" and
17399 (tramp-handle-write-region): Handle APPEND.
17400 (tramp-delete-temp-file-function): New defun. Added to
17401 `kill-buffer-hook'.
17403 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17405 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17407 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17409 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17410 (color-name-rgb-alist, tty-standard-colors)
17411 (tty-color-mode-alist): Change to defconst.
17413 * simple.el (mark-inactive): Purecopy message.
17415 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17416 (global-map, yank-menu):
17417 * textmodes/ispell.el (ispell-menu-map):
17418 * net/eudc.el (eudc-tools-menu):
17419 * international/mule-cmds.el (describe-language-environment-map)
17420 (setup-language-environment-map, set-coding-system-map)
17421 (mule-menu-keymap):
17422 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17423 * replace.el (occur-mode-map):
17424 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17426 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17428 * calc/calc.el (math-read-number, math-read-number-simple):
17429 Use `save-match-data'.
17431 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17433 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17434 rather than fiddling with global-map bindings, since it should only
17435 affect per-terminal settings.
17436 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17438 * minibuffer.el (completion-table-with-terminator): Allow to specify
17439 the terminator-regexp.
17441 * simple.el (switch-to-completions): Look for *Completions* in other
17444 * pcomplete.el: Allow the use of completion-tables.
17445 (pcomplete-std-complete): New command.
17446 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17447 (pcomplete--here): Use a function for `form' rather than an expression,
17448 so it can be byte-compiled.
17449 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17450 Add edebug declaration.
17451 (pcomplete-show-completions): Remove unused var `curbuf'.
17452 (pcomplete-do-complete, pcomplete-stub):
17453 Don't assume `completions' is a list of strings any more.
17455 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17457 * find-dired.el (find-name-arg): Fix typo in docstring.
17459 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17461 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17462 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17464 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17467 * comint.el (comint-read-input-ring, comint-write-input-ring)
17468 (comint-substitute-in-file-name)
17469 (comint-dynamic-complete-as-filename)
17470 (comint-dynamic-simple-complete)
17471 (comint-dynamic-list-filename-completions)
17472 (comint-dynamic-list-completions)
17473 (comint-redirect-results-list-from-process): Minor simplifications.
17475 2009-10-21 Kevin Ryde <user42@zip.com.au>
17477 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17478 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17479 the first form. And insert a blank line after ";;; Code" since
17480 that's usual style. (Bug#4612)
17482 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17484 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17486 * minibuffer.el (completion-table-with-terminator): Properly implement
17487 boundaries, in case `terminator' appears in the suffix.
17488 (completion--embedded-envvar-table): Don't return boundaries if
17489 there's no valid completion. Simplify.
17490 (completion-file-name-table): New completion table extracted from
17491 completion--file-name-table.
17492 (completion--file-name-table): Use it.
17493 (read-file-name-predicate): Declare obsolete.
17494 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17495 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17496 completion-file-name-table, and use the `pred' argument.
17497 * files.el (locate-file-completion-table): Use the `pred' arg rather
17498 than read-file-name-predicate.
17499 (abbreviate-file-name): Use \` rather than ^ for BOS.
17501 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17503 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17504 vc-responsible-backend to register, it causes problems.
17506 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17508 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17510 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17512 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17513 (tramp-smb-handle-file-attributes): Use it.
17514 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17515 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17516 `mapcar'. Use `tramp-smb-get-stat-capability'.
17517 Add `dired-filename' text properties.
17518 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17519 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17522 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17524 * subr.el (read-key-delay): Reduce to 0.01.
17525 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17528 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17530 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17532 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17533 (Info-menu): Remove unused vars `last' and `completions'.
17534 (Info-index-nodes): Remove unused var `node'.
17536 * info.el (Info-complete-menu-item): Use complete-with-action.
17538 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17540 Make vc-annotate work through copies and renames.
17541 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17542 Return the file name too.
17543 (vc-annotate-revision-at-line)
17544 (vc-annotate-find-revision-at-line)
17545 (vc-annotate-revision-previous-to-line)
17546 (vc-annotate-show-log-revision-at-line): Update to get the file
17547 name from vc-annotate-extract-revision-at-line.
17548 (vc-annotate-show-diff-revision-at-line-internal): Change the
17549 argument to mean whether to show a file diff or not. Get the file
17550 name from vc-annotate-extract-revision-at-line.
17551 (vc-annotate-show-diff-revision-at-line):
17552 Update vc-annotate-show-diff-revision-at-line call.
17553 (vc-annotate-warp-revision): Add an optional file argument.
17555 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17556 (vc-git-annotate-extract-revision-at-line): Also return the file
17559 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17560 command. Remove unused code.
17561 (vc-hg-annotate-re): Update to match --follow output.
17562 (vc-hg-annotate-extract-revision-at-line): Also return the file
17565 * vc.el: Update annotate-extract-revision-at-line documentation.
17567 2009-10-18 Kevin Ryde <user42@zip.com.au>
17569 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17570 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17572 * net/browse-url.el (browse-url): Identify alist with "consp and
17573 not functionp" and let all other things go down the `apply' leg,
17574 as suggested by Stefan. (Further to bug#4531.)
17576 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17578 * minibuffer.el (read-file-name): Check for repeat before putting
17579 a default argument in file-name-history (Bug#4657).
17581 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17582 read syntax (Bug#4737).
17584 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17586 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17588 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17589 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17590 entries and make note of obsolete tags.
17592 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17594 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17596 2009-10-18 Glenn Morris <rgm@gnu.org>
17598 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17599 grep, so that binary files (eg international/uni-bidi.el) can match.
17600 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17601 now, and in any case the file header format has changed.
17603 2009-10-17 Glenn Morris <rgm@gnu.org>
17605 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17606 (flyspell-get-word, flyspell-large-region)
17607 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17609 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17611 * Makefile.in (ELCFILES): Add ede/shell.
17613 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17615 * term/common-win.el (x-colors): Purecopy it.
17617 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17619 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17620 permissive for when the buffer is empty.
17621 (tar-header-block-tokenize): Decode the username and groupname.
17622 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17624 2009-10-17 Eric Ludlam <zappo@gnu.org>
17626 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17627 contains multibyte characters, choose first applicable coding
17628 system automatically.
17630 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17632 * international/mule-cmds.el (select-safe-coding-system): If the file
17633 has a coding cookie, use it regardless of any other setting (bug#4712).
17635 2009-10-17 Glenn Morris <rgm@gnu.org>
17637 * foldout.el (foldout-mouse-swallow-events):
17638 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17640 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17641 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17642 (dired-keep-marker-symlink, dired-dwim-target)
17643 (dired-copy-preserve-time): Do not autoload these defcustoms.
17645 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17646 messages from messing up the file coding. (Bug#4623)
17648 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17650 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17651 if no match is found for the current dictionary. (Bug#4578)
17653 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17654 optional, since that is how it is documented, and this is often called
17655 with a nil argument. (Bug#4577)
17656 (flyspell-external-point-words, flyspell-auto-correct-word)
17657 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17658 (flyspell-word-search-backward): Remove nil argument in calls to
17659 flyspell-get-word, since it is not needed now.
17661 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17663 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17665 2009-10-16 Glenn Morris <rgm@gnu.org>
17667 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17669 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17671 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17672 (ange-ftp-file-size): New function.
17673 (ange-ftp-file-attributes): Use it.
17675 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17677 * net/tramp-smb.el (tramp-smb-version): New defvar.
17678 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17681 2009-10-16 Glenn Morris <rgm@gnu.org>
17683 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17684 Maybe copy some custom properties from old to new name. (Bug#4706)
17686 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17688 * subr.el (error, sit-for, start-process-shell-command)
17689 (start-file-process-shell-command): Set the calling convention
17690 after the function definition.
17692 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17694 * subr.el (error, sit-for, start-process-shell-command)
17695 (start-file-process-shell-command): Use the new
17696 set-advertised-calling-convention feature.
17698 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17700 * international/ucs-normalize.el (ucs-normalize-version):
17702 (check-range): Adjust for Unicode 5.2.
17704 2009-10-15 Juri Linkov <juri@jurta.org>
17706 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17707 to the `menu-item' format.
17709 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17711 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17712 if the environment variable does not exist.
17714 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17715 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17717 (tramp-smb-handle-add-name-to-file)
17718 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17719 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17720 (tramp-smb-handle-file-attributes)
17721 (tramp-smb-do-file-attributes-with-stat)
17722 (tramp-smb-handle-file-local-copy)
17723 (tramp-smb-handle-insert-directory)
17724 (tramp-smb-handle-make-directory)
17725 (tramp-smb-handle-make-directory-internal)
17726 (tramp-smb-handle-make-symbolic-link)
17727 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17728 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17729 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17730 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17731 Handle long file names.
17732 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17733 process is running.
17734 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17735 Read share names with "-g" option.
17737 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17739 * net/rcirc.el (rcirc-view-log-file): New command.
17740 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17741 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17744 2009-10-15 Glenn Morris <rgm@gnu.org>
17746 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17747 from the second command-line argument.
17748 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17749 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17750 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17751 w32-batch-update-autoloads.
17752 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17753 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17755 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17756 the headers cannot be located. Simplify, subtracting superflous
17759 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17761 Replace completion-base-size by completion-base-position to fix bugs
17762 such as (bug#4699).
17763 * simple.el (completion-base-position): New var.
17764 (completion-base-size): Mark as obsolete.
17765 (choose-completion): Make it work for mouse events as well.
17766 Pass the new base-position to choose-completion-string.
17767 (choose-completion-guess-base-position): New function, extracted from
17768 choose-completion-delete-max-match.
17769 (choose-completion-delete-max-match): Use it. Make obsolete.
17770 (choose-completion-string): Use the new base-position info.
17771 (completion-root-regexp): Delete.
17772 (completion-setup-function): Preserve completion-base-position.
17773 Eliminate obsolete base-size manipulation.
17774 * minibuffer.el (display-completion-list): Don't mess with base-size.
17775 (minibuffer-completion-help): Set completion-base-position instead.
17776 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17778 * textmodes/bibtex.el (bibtex-complete):
17779 * emacs-lisp/crm.el (crm--choose-completion-string):
17780 Adjust to new calling convention.
17781 * complete.el (partial-completion-mode): Use minibufferp to avoid
17782 bumping into incompatible change to choose-completion-string-functions.
17783 * ido.el (ido-choose-completion-string): Make its calling convention
17785 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17786 base-size manipulation.
17787 (comint-dynamic-list-input-ring): Use dotimes and push.
17788 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17789 fundamental-mode. Use `or'.
17791 2009-10-14 Juri Linkov <juri@jurta.org>
17793 * misearch.el (multi-isearch-next-buffer-from-list)
17794 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17796 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17798 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17801 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17802 string we return is all made up of text from the completions rather
17803 than part from the completions and part from the input (bug#4219).
17805 * ido.el (ido-everywhere): Use define-minor-mode.
17807 * buff-menu.el (list-buffers, ctl-x-map):
17808 Mark the entry points with ;;;###autoload cookies.
17810 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17812 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17813 correctly in the detached head case.
17814 (vc-git-print-log): Remove unused binding.
17816 * vc.el (vc-responsible-backend): When a directory is passed for
17817 for registration create a VC repository if no backend is
17818 responsible for the directory argument.
17819 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17821 * vc.el: Move comments about RCS and SCCS ...
17823 * vc-sccs.el: ... here, respectively.
17825 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17827 * minibuffer.el (completion--file-name-table): Return nil if there's
17828 no file completion, even if substitute-in-file-name changed
17829 the string (bug#4708).
17831 2009-10-13 Juri Linkov <juri@jurta.org>
17833 * files-x.el (read-file-local-variable-value): Don't filter out
17834 minor modes from mode name completion (bug#4664).
17836 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17838 * international/mule-cmds.el (ucs-names): Remove exclusion of
17839 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17841 2009-10-13 Kenichi Handa <handa@m17n.org>
17843 * international/uni-name.el: Regenerated.
17845 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17847 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17848 should be automatically buffer-local, but isn't.)
17850 2009-10-12 Sam Steingold <sds@gnu.org>
17852 * progmodes/compile.el (compilation-next-error-function): Fix the
17853 timestamps if the buffer has been visited before.
17854 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17855 non-anchored patterns, like the perl one (bug#3928).
17857 2009-10-12 Glenn Morris <rgm@gnu.org>
17859 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17862 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17864 * proced.el (proced-unload-function): New function.
17866 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17867 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17870 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17872 2009-10-11 Juri Linkov <juri@jurta.org>
17874 * files-x.el (read-file-local-variable-value):
17875 Provide default value only for bound variables (bug#4664).
17877 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17879 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17880 connection methods like smb.
17882 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17885 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17886 (tramp-smb-file-name-handler-alist): Add handlers for
17887 `add-name-to-file', `make-symbolic-link'.
17888 (tramp-smb-handle-add-name-to-file)
17889 (tramp-smb-do-file-attributes-with-stat)
17890 (tramp-smb-handle-make-symbolic-link)
17891 (tramp-smb-get-cifs-capabilities): New defuns.
17892 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17893 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17894 (tramp-smb-handle-file-local-copy)
17895 (tramp-smb-handle-make-directory-internal)
17896 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17897 The file name syntax depends on cifs capabilities.
17898 (tramp-smb-handle-file-attributes):
17899 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17900 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17901 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17903 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17905 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17906 (eieio-defclass): Apply deftype handler and setf-method properties
17908 (eieio-add-new-slot): Avoid union function from cl library.
17909 (eieio--typep): New function.
17910 (eieio-perform-slot-validation): Use it.
17912 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17914 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17915 Update documentation to refer to the variables documented in r1.135.
17918 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17920 * bookmark.el (Info-suffix-list): Remove this unused variable.
17921 (bookmark-current-point): Remove this obsolete variable.
17922 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17923 Adjust for removal of bookmark-current-point.
17925 (bookmarks-already-loaded, bookmark-current-buffer)
17926 (bookmark-yank-point): Document. (Bug#4188)
17928 2009-10-10 Glenn Morris <rgm@gnu.org>
17930 * frame.el (frame-height): Doc fix.
17932 * calendar/calendar.el (calendar-split-width-threshold): New option.
17933 (calendar-basic-setup): Use calendar-split-width-threshold.
17935 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17937 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17938 Ideographic Supplement" range (U+1F200..U+1F2FF).
17940 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17942 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17943 since the list will have been rebuilt anyway. (Bug#4349)
17945 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17947 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17948 (bookmark-bmenu-execute-deletions): Don't save here, as
17949 bookmark-delete will now do so if necessary.
17950 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17953 2009-10-09 Glenn Morris <rgm@gnu.org>
17955 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17957 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17959 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17960 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17961 argument now, so the two function's behaviors will match. (Bug#3645)
17963 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17965 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17966 (tramp-file-name-real-host, tramp-file-name-port):
17967 Apply `save-match-data'.
17969 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17970 case both directories are remote.
17971 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17972 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17974 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17976 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17978 2009-10-07 Glenn Morris <rgm@gnu.org>
17980 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17983 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17985 * files-x.el (read-file-local-variable): Include some
17986 non-user-variables in the completion table (bug#4664).
17988 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17990 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17993 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17994 (tramp-smb-file-name-handler-alist): Add handler for
17995 `copy-directory', `expand-file-name', `set-file-modes'.
17996 (tramp-smb-handle-copy-directory)
17997 (tramp-smb-handle-expand-file-name)
17998 (tramp-smb-handle-set-file-modes): New defuns.
17999 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18000 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18002 (tramp-smb-handle-insert-directory): Don't flush the cache.
18003 (tramp-smb-maybe-open-connection): Check for samba client and
18006 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18008 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18009 to not error out of search for "^lisp=" fails.
18011 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18013 * makefile.w32-in (WINS_UPDATES): New macro.
18014 (custom-deps, finder-data, autoloads): Use it.
18016 2009-10-07 Glenn Morris <rgm@gnu.org>
18018 * Makefile.in (autoloads): Revert previous change.
18019 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18020 the list of preloaded files passed on the command-line, get
18021 it from src/Makefile.
18023 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18024 show the original buffer rather than a random one.
18026 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18028 * help.el (describe-no-warranty): Place point in a slightly better
18029 position in the GPLv3 text.
18031 2009-10-06 Sam Steingold <sds@gnu.org>
18033 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18034 the comm attribute is present before calling regexp-quote.
18036 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18038 * play/animate.el (animate-string): For good effect, make sure
18039 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18041 * play/animate.el (animate-sequence, animate-birthday-present):
18042 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18044 2009-10-06 Glenn Morris <rgm@gnu.org>
18046 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18048 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18049 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18050 (batch-update-autoloads): Process a string value of autoload-excludes,
18051 set during the build process.
18052 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18054 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18055 inside with-parsed... macro so that `v' is defined.
18057 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18058 * progmodes/fortran.el (fortran-end-of-block)
18059 (fortran-beginning-of-block):
18060 Also push mark in the macro case.
18062 * emerge.el (emerge-show-file-name):
18063 * calc/calc.el (calc-quit):
18064 * calc/calc-misc.el (calc-big-or-small):
18065 * calc/calc-graph.el (calc-graph-view):
18066 * calc/calc-ext.el (calc-reset):
18067 * calendar/calendar.el (calendar-basic-setup):
18068 Use window-full-height-p.
18070 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18071 header we don't understand, don't insert another. (Bug#4624)
18072 If changing mime charset, insert the new one in the right place.
18074 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18076 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18077 (cal-tex-cursor-month): Correctly increment the end date for diary and
18078 holiday listing. (Bug#4626)
18080 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18082 * help-fns.el (describe-function-1): Don't burp if the function is not
18085 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18087 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18088 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18089 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18090 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18092 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18093 (eieio-default-superclass): Reflow docstrings.
18094 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18095 (eieio-unbind-method-implementations, defmethod)
18096 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18097 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18098 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18099 (eieio-slot-originating-class-p, eieio-slot-name-index)
18100 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18101 (constructor, initialize-instance, no-next-method, object-print)
18102 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18103 Fix typos in docstrings.
18104 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18105 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18106 (next-method-p): Doc fixes.
18107 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18108 Fix typos in error messages.
18109 (eieio-defmethod): Fix typo in description of generic method.
18111 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18112 (eieio-persistent-save-interactive, slot-missing):
18113 Fix typos in docstrings.
18114 (eieio-instance-inheritor-slot-boundp): Doc fix.
18116 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18117 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18119 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18120 (eieio-custom-object-apply-reset):
18121 Fix typos in docstrings and error messages.
18123 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18124 Fix typo in docstring.
18126 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18127 (eieio-browse-tree): Doc fix.
18128 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18129 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18130 Fix typos in docstrings.
18132 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18133 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18134 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18135 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18138 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18140 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18141 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18142 Set log-view-vc-backend so that diff can work.
18144 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18146 (vc-diff-internal): Autoload this instead of vc-version-diff.
18148 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18150 * simple.el (eval-expression): Doc fix.
18152 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18154 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18156 * files.el (directory-files-no-dot-files-regexp): New defconst.
18157 (delete-directory): Use it.
18158 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18160 * net/tramp.el (tramp-verbose): Fix docstring.
18161 (tramp-methods): Add recursive option to `tramp-copy-args'.
18162 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18163 "scp1_old", "scp2_old", "rsync", "rsyncc".
18164 (tramp-default-method): Check also for `auth-source-user-or-password'.
18165 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18166 Add handler for `copy-directory'.
18167 (tramp-handle-copy-directory): New defun.
18168 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18169 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18170 Optimize sent command.
18172 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18174 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18175 window if necessary.
18177 * calendar/calendar.el (calendar-basic-setup): Don't call
18178 switch-to-buffer in a dedicated window.
18180 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18182 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18183 don't do anything related to relocating, just return nil.
18184 (bookmark-error-no-filename): New error.
18185 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18186 bookmark has no file. Don't even attempt to handle things that
18187 are not files; the whole point of custom handlers is to keep that
18188 knowledge elsewhere anyway. Tighten some comments.
18189 (bookmark-file-or-variation-thereof): Remove now-unused function.
18190 (bookmark-location): Doc string fix.
18193 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18195 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18196 don't use a file dialog, because they usually don't know how to read
18197 a directory target from the user. (Bug#4230)
18198 Also, make sure the prompt can display directories as well as files.
18200 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18202 * bookmark.el (bookmark-set, bookmark-buffer-name):
18203 Improve doc strings. (Bug#1193)
18205 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18207 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18208 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18209 (bookmark-get-annotation, bookmark-set-annotation)
18210 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18211 (bookmark-set-position, bookmark-get-front-context-string)
18212 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18213 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18214 (bookmark-jump-other-window, bookmark-handle-bookmark)
18215 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18216 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18217 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18218 Improve doc strings to say whether bookmark can be a string or
18219 a record or both, and make other consistency and clarity fixes.
18220 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18221 (bookmark-default-annotation-text, bookmark-yank-word)
18222 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18223 (bookmark-import-new-list, bookmark-maybe-rename)
18224 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18225 (bookmark-bmenu-bookmark): Give these doc strings.
18226 (bookmark-bmenu-check-position): Give this a doc string, but also
18227 add a FIXME comment about how the function may be pointless.
18228 (bookmark-default-handler): Rework doc string and change a
18229 parameter name, to clarify that this takes a bookmark record
18230 not a bookmark name.
18231 (bookmark-set): Change a parameter name to indicate its meaning,
18232 and improve the doc string a bit.
18235 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18237 * bookmark.el (bookmark-alist): Document the new `handler' element
18238 in the param alist.
18239 (bookmark-make-record-function): Adjust documentation for above.
18242 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18244 * info.el (Info-bookmark-make-record): Document this function.
18245 (Info-bookmark-jump): Document with a doc string, not just a comment.
18248 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18250 * files.el (copy-directory): New defun.
18252 * dired-aux.el (dired-copy-file-recursive): Use it.
18254 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18256 * files-x.el (modify-dir-local-variable)
18257 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18260 * recentf.el (recentf-unload-function): New function.
18262 2009-10-04 Glenn Morris <rgm@gnu.org>
18264 * window.el (window-full-height-p): Add doc string.
18266 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18268 * window.el (window-full-height-p): New function. (Bug#4543)
18270 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18272 * vc.el: Remove commented out code.
18273 (vc-derived-from-dir-mode): Remove, unused.
18274 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18276 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18278 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18279 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18280 there could be recursive loading when `default-directory' is a
18281 remote file name. (Bug#4614)
18283 2009-10-03 Glenn Morris <rgm@gnu.org>
18285 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18287 (calendar-generate-window): Test for shrinkability rather than width.
18289 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18290 reusing existing buffers, in case we happen to visit two files with the
18291 same basename. (Bug#4593)
18293 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18295 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18296 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18297 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18298 subdirs of cedet as well.
18299 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18301 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18303 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18304 Obey advertised-signature-table.
18306 * help-fns.el (help-function-arglist): Don't check
18307 advertised-signature-table.
18308 (describe-function-1): Do it here instead so it also applies to subrs.
18310 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18312 * simple.el (start-file-process): Say in the doc-string, that file
18313 handlers might not support pty association, if PROGRAM is nil.
18315 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18316 HOST and USER are strings. They are nil, when there are
18317 incomplete entries in ~/.netrc, for example.
18318 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18319 root directory ("device busy" error otherwise).
18321 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18322 Flush file properties of created directory.
18324 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18326 * makefile.w32-in (WINS_BASIC): Remove cedet.
18327 (WINS_CEDET): Add cedet.
18328 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18330 2009-10-02 Kevin Ryde <user42@zip.com.au>
18332 * net/browse-url.el (browse-url): Pass any symbol in
18333 browse-url-browser-function to `apply', since if you've mistakenly put
18334 an unbound symbol then the error is clearer. (Bug#4531)
18336 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18338 * allout.el (allout-init, allout-back-to-current-heading)
18339 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18340 (allout-ascend, allout-up-current-level, allout-end-of-level)
18341 (allout-previous-visible-heading, allout-forward-current-level)
18342 (allout-backward-current-level, allout-show-children):
18343 * apropos.el (apropos-describe-plist):
18344 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18345 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18346 * completion.el (add-completion, add-permanent-completion):
18347 * descr-text.el (describe-text-category, describe-char):
18348 * desktop.el (desktop-lazy-abort):
18349 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18350 * dired.el (dired-build-subdir-alist):
18351 * ediff.el (ediff-version):
18352 * elide-head.el (elide-head, elide-head-show):
18353 * emerge.el (emerge-version):
18355 * face-remap.el (variable-pitch-mode):
18356 * faces.el (describe-face):
18357 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18359 * files.el (find-file-existing, auto-save-mode):
18360 * font-lock.el (font-lock-fontify-buffer):
18361 * help-fns.el (describe-function, describe-variable)
18362 (describe-syntax, describe-categories):
18363 * help.el (view-lossage, describe-bindings, describe-key)
18365 * hexl.el (hexl-current-address):
18366 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18367 * info.el (Info-goto-emacs-key-command-node):
18368 * log-edit.el (log-edit-insert-cvs-template)
18369 (log-edit-insert-cvs-rcstemplate):
18370 * menu-bar.el (menu-bar-mode):
18371 * mouse.el (mouse-appearance-menu):
18372 * newcomment.el (comment-indent-new-line):
18373 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18374 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18375 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18376 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18377 * recentf.el (recentf-mode):
18378 * savehist.el (savehist-mode, savehist-save):
18379 * shadowfile.el (shadow-copy-files):
18380 * simple.el (kill-ring-save, next-line, previous-line)
18381 (normal-erase-is-backspace-mode):
18382 * strokes.el (strokes-update-window-configuration)
18383 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18384 (strokes-xpm-for-stroke):
18385 * time.el (emacs-uptime, emacs-init-time):
18386 * tutorial.el (tutorial--describe-nonstandard-key)
18387 (tutorial--detailed-help):
18388 * type-break.el (type-break-mode)
18389 (type-break-mode-line-message-mode, type-break-query-mode)
18390 (type-break-guesstimate-keystroke-threshold):
18391 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18392 * version.el (emacs-version):
18393 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18394 * winner.el (winner-mode):
18395 * calendar/timeclock.el (timeclock-in, timeclock-out)
18396 (timeclock-status-string, timeclock-change)
18397 (timeclock-workday-remaining-string)
18398 (timeclock-workday-elapsed-string)
18399 (timeclock-when-to-leave-string):
18400 * calendar/todo-mode.el (todo-add-category):
18401 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18402 * emacs-lisp/autoload.el (update-file-autoloads):
18403 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18404 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18405 (checkdoc-message-text, checkdoc-defun):
18406 * emacs-lisp/debug.el (debugger-list-functions):
18407 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18408 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18409 (eieio-describe-generic):
18410 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18411 * emacs-lisp/shadow.el (list-load-path-shadows):
18412 * emulation/cua-base.el (cua-mode):
18413 * emulation/edt.el (edt-set-scroll-margins):
18414 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18415 (tpu-toggle-regexp, tpu-toggle-search-direction)
18416 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18417 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18418 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18419 (viper-set-parsing-style-toggling-macro)
18420 (viper-set-emacs-state-searchstyle-macros):
18421 * emulation/viper.el (viper-set-hooks):
18422 * eshell/esh-mode.el (eshell-truncate-buffer):
18423 * international/mule-cmds.el (prefer-coding-system)
18424 (describe-input-method, describe-language-environment):
18425 * international/mule-diag.el (list-character-sets)
18426 (describe-character-set, describe-coding-system)
18427 (describe-fontset, list-fontsets, list-input-methods):
18428 * mail/sendmail.el (mail-signature):
18429 * net/ange-ftp.el (ange-ftp-copy-file):
18430 * net/browse-url.el (browse-url):
18431 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18432 * net/quickurl.el (quickurl-add-url):
18433 * net/rcirc.el (names, topic):
18434 * net/xesam.el (xesam-mode):
18435 * play/5x5.el (5x5-new-game):
18436 * play/yow.el (apropos-zippy):
18437 * progmodes/ada-mode.el (ada-mode-version):
18438 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18440 (f90-beginning-of-block):
18441 * progmodes/fortran.el (fortran-end-of-block)
18442 (fortran-beginning-of-block):
18443 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18444 * progmodes/python.el (python-describe-symbol, python-shell):
18445 * term/ns-win.el (ns-print-buffer):
18446 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18447 * textmodes/flyspell.el (flyspell-mode-on):
18448 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18449 (pages-directory-for-addresses):
18450 * textmodes/table.el (table-recognize-cell)
18451 (table-query-dimension, table-generate-source)
18452 (table-insert-sequence, table--warn-incompatibility):
18453 * textmodes/tex-mode.el (tex-validate-buffer):
18454 * textmodes/texinfmt.el (texinfmt-version)
18455 (texinfo-format-buffer):
18456 Use `called-interactively-p' instead of `interactive-p'.
18458 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18460 * image-mode.el (image-toggle-display):
18461 * emacs-lisp/elp.el (elp-instrument-function):
18462 * emacs-lisp/advice.el (ad-make-advised-definition):
18463 * emacs-lisp/easy-mmode.el (define-minor-mode):
18464 * net/browse-url.el (browse-url-maybe-new-window):
18465 * progmodes/sh-script.el (sh-learn-buffer-indent):
18466 Pass new argument 'any to `called-interactively-p'.
18468 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18470 * international/uni-bidi.el:
18471 * international/uni-category.el:
18472 * international/uni-combining.el:
18473 * international/uni-comment.el:
18474 * international/uni-decimal.el:
18475 * international/uni-decomposition.el:
18476 * international/uni-digit.el:
18477 * international/uni-lowercase.el:
18478 * international/uni-mirrored.el:
18479 * international/uni-name.el:
18480 * international/uni-numeric.el:
18481 * international/uni-old-name.el:
18482 * international/uni-titlecase.el:
18483 * international/uni-uppercase.el:
18484 Regenerate from Unicode 5.2.0 data.
18486 2009-10-01 Glenn Morris <rgm@gnu.org>
18488 * Makefile.in (ELCFILES): Regenerate.
18490 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18492 * subr.el (interactive-p): Mark obsolete.
18493 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18494 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18495 advertised-signature-table for subroutines as well.
18497 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18498 (set-advertised-calling-convention): New function.
18499 (make-obsolete, define-obsolete-function-alias)
18500 (make-obsolete-variable, define-obsolete-variable-alias):
18501 Make the optional-ness of `when' obsolete.
18502 (define-obsolete-face-alias): Make `when' non-optional.
18503 * help-fns.el (help-function-arglist):
18504 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18505 Use advertised-signature-table.
18507 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18509 * files.el (delete-directory): New defun. The original function
18510 in fileio.c has been renamed to `delete-directory-internal'.
18512 * dired.el (dired-delete-file): Call `delete-directory' with
18513 RECURSIVE parameter.
18515 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18516 parameter RECURSIVE. Implementation is missing.
18518 * net/tramp.el (tramp-handle-make-directory): Flush upper
18519 directory's file properties.
18520 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18521 (tramp-handle-dired-recursive-delete-directory): Flush directory
18522 properties after the remove command only.
18524 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18525 Handle optional parameter RECURSIVE.
18527 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18528 Handle optional parameter RECURSIVE.
18530 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18531 connection timeout.
18532 (tramp-smb-handle-delete-directory): Handle optional parameter
18535 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18537 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18538 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18539 (byte-compile-defmacro): Use backquotes.
18541 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18543 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18544 has no associated file.
18545 (vc-resynch-buffer): Use vc-dir-buffers.
18547 2009-10-01 Glenn Morris <rgm@gnu.org>
18549 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18550 (chart-file-count):
18551 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18552 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18553 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18554 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18555 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18556 (eieio-copy-parents-into-subclass, make-instance, class-children)
18557 (eieio-generic-form):
18559 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18560 match-data. (Bug#4555).
18562 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18563 rather than parsing it as a regexp. This relaxes the layout
18564 requirements and makes errors easier to detect.
18565 (check-declare-verify): Check file is regular.
18566 (check-declare-directory): Doc fix.
18567 * subr.el (declare-function): Doc fix.
18569 * ibuffer.el (ibuffer-format-qualifier):
18570 * isearch.el (hi-lock-regexp-okay):
18571 * calc/calc.el (math-zerop):
18572 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18573 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18574 Remove unused declarations.
18576 2009-09-30 Eric Ludlam <zappo@gnu.org>
18578 * emacs-lisp/eieio.el (boolean-p): Delete.
18580 2009-09-30 Glenn Morris <rgm@gnu.org>
18582 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18584 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18585 filename is not a string.
18587 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18589 * files.el (safe-local-eval-forms): Fix typo.
18591 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18593 * vc-hooks.el (vc-dir-buffers): New var.
18594 (vc-state-refresh): New function.
18595 (vc-state): Use it.
18596 (vc-after-save): Always ask the backend to recompute the new state.
18597 Always call vc-dir if necessary, using vc-dir-buffers.
18598 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18599 Use vc-dir-buffers.
18600 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18601 (vc-dir-prepare-status-buffer, vc-dir-update)
18602 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18603 Don't call expand-file-name on default-directory.
18605 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18607 * speedbar.el (speedbar-item-delete):
18608 * calc/calc-prog.el (calc-kbd-if):
18609 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18611 * epa.el (epa-key-list-mode-map):
18612 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18614 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18615 (hs-show-hook): Fix typo in docstring.
18617 2009-09-29 Glenn Morris <rgm@gnu.org>
18619 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18620 file-name-nondirectory call preventing location of cedet files.
18621 (check-declare-verify): Use literal search rather than re-search.
18622 Add basic defmethod and defclass, and define-overloadable-function.
18624 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18625 Use tramp-compat-file-attributes rather than nonexistent
18626 tramp-compat-handle-file-attributes.
18628 * Makefile.in (lisptagsfiles4): New.
18629 (AUTOGENEL): Add cedet loaddefs files.
18630 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18631 (update-elclist, compile-always, backup-compiled-files)
18632 (bootstrap-clean): Add yet another directory level.
18633 (update-elclist): Use LC_COLLATE rather than COLLATE.
18634 (ELCFILES): Update, via `make update-elclist'.
18636 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18638 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18639 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18640 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18642 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18644 * Makefile.in (lisptagsfiles3): Define.
18645 (TAGS, TAGS-LISP): Use it.
18646 (update-elclist): Add third directory level to look for elc files.
18647 (compile-always): Likewise.
18648 (backup-compiled-files): Likewise.
18649 (bootstrap-clean): Likewise.
18650 (ELCFILES): Update.
18652 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18654 * Makefile.in (ELCFILES): Add CEDET files.
18656 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18658 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18660 * net/tramp.el (top): Require tramp-imap.
18662 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18663 Use `tramp-compat-handle-file-attributes'.
18665 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18667 * net/tramp-imap.el: New package.
18669 2009-09-28 Eric Ludlam <zappo@gnu.org>
18671 * emacs-lisp/chart.el:
18672 * emacs-lisp/eieio-base.el:
18673 * emacs-lisp/eieio-comp.el:
18674 * emacs-lisp/eieio-custom.el:
18675 * emacs-lisp/eieio-datadebug.el:
18676 * emacs-lisp/eieio-opt.el:
18677 * emacs-lisp/eieio-speedbar.el:
18678 * emacs-lisp/eieio.el: New files.
18680 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18682 * whitespace.el (whitespace-trailing-regexp)
18683 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18686 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18688 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18691 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18692 menu-bar-ediff-menu.
18694 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18695 define-overloadable-function.
18697 * progmodes/autoconf.el: Provide autoconf as well, so that this
18698 file can be `require'd.
18700 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18702 * emacs-lisp/autoload.el (generated-autoload-feature)
18703 (generated-autoload-load-name): New vars.
18704 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18705 (make-autoload): Recognize define-overloadable-function and
18706 defclass forms (for EIEIO).
18708 * Makefile.in (update-subdirs): Exclude cedet directory.
18710 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18712 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18714 * faces.el: Default light-background background for region face to
18715 ns_selection_color under NS.
18717 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18719 * net/imap-hash.el: New library, see NEWS.
18721 * Makefile.in (ELCFILES): Add imap-hash.el.
18723 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18725 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18726 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18727 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18728 definition where the docstring could be taken for the return value.
18730 2009-09-26 Glenn Morris <rgm@gnu.org>
18732 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18733 Add option to only show images below a certain size.
18734 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18735 save-excursion calls.
18737 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18739 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18740 subdirectories) and eieio.
18742 2009-09-26 Alan Mackenzie <acm@muc.de>
18744 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18745 Correct buggy bracketing. (Bug#4289)
18747 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18748 character constants (as case labels). (Bug#4289)
18750 2009-09-25 Juri Linkov <juri@jurta.org>
18752 * files.el (safe-local-eval-forms): Allow time-stamp in
18753 before-save-hook (Bug#4554).
18755 2009-09-25 Drew Adams <drew.adams@oracle.com>
18757 * menu-bar.el (list-buffers-directory): Doc fix.
18759 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18761 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18762 Try and avoid copying twice the same paragraph.
18763 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18764 Remove save-excursion.
18765 (log-edit-changelog-entry): Do it here instead.
18767 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18769 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18770 when available, instead of hardcoding mode names. Doc fix.
18772 * menu-bar.el (list-buffers-directory): Add docstring.
18773 Make automatically buffer-local.
18775 * dired.el (dired-mode):
18776 * files.el (cd-absolute):
18777 * pcvs.el (cvs-temp-buffer):
18778 * pcvs-util.el (cvs-get-buffer-create):
18779 * shell.el (shell-mode):
18780 * vc-dir.el (vc-dir-mode):
18781 Don't make `list-buffers-directory' buffer local.
18783 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18785 * comint.el (comint-exec, comint-run, make-comint):
18786 Doc fixes (Bug#4542).
18788 2009-09-25 Glenn Morris <rgm@gnu.org>
18790 * mail/rmailmm.el (rmail-mime): New custom group.
18791 Move all defcustoms in this file into this group.
18792 (rmail-mime-media-type-handlers-alist): Revert previous change.
18793 (rmail-mime-show-images): New option.
18794 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18795 references to it, since it wasn't actually used for anything.
18796 (rmail-mime-insert-image): New function.
18797 (rmail-mime-image): Use rmail-mime-insert-image.
18798 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18799 obey the value of `rmail-mime-show-images' option. Print the size of
18802 2009-09-25 David Engster <deng@randomsample.de>
18804 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18806 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18808 * whitespace.el: Does not highlight trailing spaces While point is
18809 at end of line. Does not highligt spaces at beginning of buffer
18810 while point is at beginning of buffer. Does not highlight spaces
18811 at end of buffer while point is at end of buffer. (Bug#4177)
18813 (whitespace-display-mappings): Adjust initialization.
18814 (whitespace-point, whitespace-font-lock-refontify): New vars.
18815 (whitespace-color-on, whitespace-color-off): Adjust code.
18816 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18817 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18818 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18820 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18822 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18824 * textmodes/sgml-mode.el: Remove xml-mode alias.
18826 * files.el (auto-mode-alist, conf-mode-maybe)
18827 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18829 2009-09-24 Alan Mackenzie <acm@muc.de>
18831 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18832 c-forward-conditionals, but it doesn't move point and doesn't set
18834 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18835 (c-down-conditional-with-else, c-backward-conditional)
18836 (c-forward-conditional): Refactor to use c-scan-conditionals.
18838 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18840 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18841 (help-default-arg-highlight): Remove.
18842 (help-highlight-arg): New function.
18843 (help-do-arg-highlight): Use it.
18844 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18846 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18848 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18849 Undo last change, which didn't fix the problem and introduced others.
18851 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18853 * progmodes/gdb-mi.el: Don't require speedbar.
18854 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18856 2009-09-24 Glenn Morris <rgm@gnu.org>
18858 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18860 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18862 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18863 there is no newline after the final mime boundary. (Bug#4539)
18864 Move markers on insertion so that any buttons inserted don't end up in
18865 the next part of a multipart message.
18866 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18867 (rmail-mime-bulk-handler): Optionally handle images.
18868 (rmail-mime-image): New button action.
18869 (rmail-mime-image-handler): New function.
18870 (rmail-mime-mode): New mode.
18871 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18873 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18875 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18876 than just dropping elements from it (bug#4504).
18878 * term.el (term-set-scroll-region): Don't move cursor any more.
18879 (term-handle-ansi-escape): Call term-goto here instead.
18880 Suggested by Ivan Kanis <apple@kanis.eu>.
18882 * term.el: Require CL.
18883 (term-ansi-reset): New function.
18884 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18885 (term-handle-colors-array): Simplify.
18887 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18889 * allout.el (allout-overlay-interior-modification-handler)
18890 (allout-obtain-passphrase):
18891 * epa-file.el (epa-file-write-region):
18892 * ps-print.el (ps-begin-job):
18893 * vc-hooks.el (vc-toggle-read-only):
18894 * vc-rcs.el (vc-rcs-rollback):
18895 * vc-sccs.el (vc-sccs-rollback):
18896 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18897 (vc-version-diff, vc-revert, vc-rollback):
18898 * wdired.el (wdired-check-kill-buffer):
18899 * emacs-lisp/authors.el (authors):
18900 * net/socks.el (socks-open-connection):
18901 * net/zeroconf.el (zeroconf-service-add-hook):
18902 * obsolete/vc-mcvs.el (vc-mcvs-register):
18903 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18904 (gdb-select-frame):
18905 * progmodes/grep.el (lgrep, rgrep):
18906 * progmodes/idlw-help.el (idlwave-help-check-locations)
18907 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18908 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18909 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18910 (reftex-toc-rename-label): Fix typos in error messages.
18912 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18913 (dired-copy-how-to-fn): Doc fix.
18914 (dired-files-attributes, dired-read-shell-command):
18915 Fix typos in docstrings.
18917 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18918 (dired-x-find-file-other-window): Reflow docstrings.
18919 (dired-omit-marker-char, dired-read-shell-command)
18920 (dired-x-submit-report): Fix typos in docstrings.
18922 * shell.el (shell-mode-hook):
18923 * view.el (View-scroll-line-forward):
18924 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18925 Fix typos in docstrings.
18927 * net/dig.el (dig-invoke): Fix typo in docstring.
18928 (query-dig): Reflow docstring.
18930 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18931 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18932 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18933 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18934 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18935 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18936 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18937 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18938 (idlwave-completion-map, idlwave-current-indent)
18939 (idlwave-custom-ampersand-surround, idlwave-customize)
18940 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18941 (idlwave-define-abbrev, idlwave-determine-class-special)
18942 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18943 (idlwave-end-block-reg, idlwave-end-of-statement)
18944 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18945 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18946 (idlwave-explicit-class-listed, idlwave-file-header)
18947 (idlwave-fill-paragraph, idlwave-find-class-definition)
18948 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18949 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18950 (idlwave-in-quote, idlwave-indent-action-table)
18951 (idlwave-indent-expand-table, idlwave-indent-line)
18952 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18953 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18954 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18955 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18956 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18957 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18958 (idlwave-outlawed-buffers, idlwave-popup-select)
18959 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18960 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18961 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18962 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18963 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18964 (idlwave-statement-type, idlwave-struct-skip)
18965 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18966 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18967 (idlwave-what-module-find-class): Fix typos in docstrings.
18968 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18969 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18970 (idlwave-find-module, idlwave-find-structure-definition)
18971 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18972 (idlwave-list-load-path-shadows, idlwave-next-statement)
18973 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18974 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18975 (idlwave-template): Reflow docstrings.
18977 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18978 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18979 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18980 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18981 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18982 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18983 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18984 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18985 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18986 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18987 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18988 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18989 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18990 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18991 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18992 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18993 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18994 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18995 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18996 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18997 Fix typos in docstrings.
18998 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18999 (idlwave-shell-hide-output, idlwave-shell-mode)
19000 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19003 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19005 2009-09-24 Ivan Kanis <apple@kanis.eu>
19007 * term.el (term-bold-attribute): New var.
19008 (term-handle-colors-array): Use it.
19010 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19012 * progmodes/gdb-mi.el (gdb-version): New variable.
19013 (gdb-non-stop-handler): Set gdb-version.
19014 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19015 Condition "--thread" option on gdb-version.
19016 (gdb-invalidate-threads): Remove unused argument.
19018 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19020 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19021 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19023 2009-09-23 Glenn Morris <rgm@gnu.org>
19025 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19026 replying to mail without References or Message-Id. (Bug#4525)
19028 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19030 * term/ns-win.el (ns-reg-to-script): New variable.
19032 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19034 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19036 2009-09-22 Sam Steingold <sds@gnu.org>
19038 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19039 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19040 to 1 because hg returns status 1 when nothing is found.
19041 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19043 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19045 * textmodes/fill.el: Convert to utf-8 encoding.
19046 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19049 * add-log.el (change-log-fill-forward-paragraph): New function.
19050 (change-log-mode): Use it so fill-region DTRT.
19051 Set fill-indent-according-to-mode here rather than in
19052 change-log-fill-paragraph.
19053 (change-log-fill-paragraph): Remove.
19055 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19057 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19058 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19060 2009-09-22 Glenn Morris <rgm@gnu.org>
19062 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19063 the scroll-bar scroll the calendar window rather than the buffer.
19065 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19066 commands that move point (as opposed to scrolling).
19068 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19070 * emacs-lisp/elint.el (elint): New custom group.
19071 (elint-log-buffer): Make it a defcustom.
19072 (elint-scan-preloaded, elint-ignored-warnings)
19073 (elint-directory-skip-re): New options.
19074 (elint-builtin-variables): Doc fix.
19075 (elint-preloaded-env): New variable.
19076 (elint-unknown-builtin-args): Add an entry for encode-time.
19077 (elint-extra-errors): Make it a variable rather than a constant.
19078 (elint-preloaded-skip-re): New constant.
19079 (elint-directory): Skip files matching elint-directory-skip-re.
19080 (elint-features): New variable, local to linted buffers.
19081 (elint-update-env): Initialize elint-features. Possibly add
19082 elint-preloaded-env to the buffer's environment.
19083 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19085 (elint-init-form): New function, extracted from elint-init-env.
19086 Make non-list forms a warning rather than an error.
19087 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19088 easy-menu-define, put that adds an error-condition, and provide.
19089 When requiring cl, also require cl-macs. Really require cl, to handle
19090 some cl macros. Store required libraries in the list elint-features,
19091 so as not to re-load them. Treat cc-require like require.
19092 (elint-init-env): Call elint-init-form to do the work.
19093 Handle eval-and-compile and such like.
19094 (elint-add-required-env): Do not clear messages.
19095 (elint-special-forms): Add handlers for function, defalias, if, when,
19097 (elint-form): Add optional argument to ignore elint-special-forms,
19098 useful to prevent recursive calls from handlers. Doc fix.
19099 Respect elint-ignored-warnings.
19100 (elint-form): Respect elint-ignored-warnings.
19101 (elint-bound-variable, elint-bound-function): New variables.
19102 (elint-unbound-variable): Respect elint-bound-variable.
19103 (elint-get-args): Respect elint-bound-function.
19104 (elint-check-cond-form): Add some simple handling for (f)boundp and
19106 (elint-check-defalias-form): New handler.
19107 (elint-check-let-form): Make an empty let a warning rather than an
19109 (elint-check-setq-form): Make an empty setq a warning rather than an
19110 error. Respect elint-ignored-warnings.
19111 (elint-check-defvar-form): Accept null doc-strings.
19112 (elint-check-conditional-form): New handler. Does some simple-minded
19113 checking of featurep and (f)boundp tests.
19114 (elint-put-function-args): New function.
19115 (elint-initialize): Use elint-scan-doc-file rather than
19116 elint-find-builtin-variables. Use elint-put-function-args.
19117 Possibly scan preloaded-file-list.
19118 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19119 extend to handle functions as well.
19121 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19123 * linum.el (linum-delete-overlays, linum-update-window):
19124 Do not modify the right margin. (Bug#3971)
19126 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19128 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19129 Use nxml-mode instead of xml-mode.
19131 2009-09-21 Kevin Ryde <user42@zip.com.au>
19133 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19135 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19137 * net/dig.el (dig-mode): Use define-derived-mode.
19139 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19141 * vc-dispatcher.el (vc-do-command): Return the process object in
19142 the asynchronous case. Use when instead of if. Do not run
19143 vc-exec-after to display a message if not enabled. (Bug#4463)
19145 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19146 properties to the stash strings.
19147 (vc-git-stash-list): Return a list of strings.
19148 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19149 (vc-git-stash-show-at-point): New functions.
19150 (vc-git-stash-map): New keymap.
19152 * register.el (ctl-x-r-map): Define the keys here instead of
19155 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19157 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19158 list, to workaround performance problem (bug#4485).
19160 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19162 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19164 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19166 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19167 Document that this option is not recommended to use.
19169 2009-09-19 Glenn Morris <rgm@gnu.org>
19171 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19174 * calc/calc-alg.el (var):
19175 * calc/calcalg2.el (var): Define for compiler.
19177 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19179 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19180 Doc fix (Bug#3932).
19182 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19184 * time-stamp.el (time-stamp-month-dd-yyyy)
19185 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19186 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19187 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19188 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19189 Remove functions that have been obsolete since 1995 (Bug#4436).
19191 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19192 indent buffer only if called interactively (Bug#4452).
19194 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19195 Eli Zaretskii <eliz@gnu.org>
19197 This fixes bug#4197 (merged to bug#865, though not identical).
19198 * server.el (server-auth-dir): Add docstring note about FAT32.
19199 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19200 but warn against using them.
19202 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19204 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19205 older GDB where there is no has_more field.
19207 2009-09-19 Glenn Morris <rgm@gnu.org>
19209 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19211 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19213 * files.el (auto-mode-alist): Change default for XML files to nXML
19216 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19218 * server.el (server-ensure-safe-dir): Pass 'integer
19219 to `file-attributes', as suggested.
19221 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19223 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19224 (dired-query): Use read-key.
19226 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19228 * cus-start.el (ns-use-qd-smoothing): Remove.
19230 2009-09-18 Glenn Morris <rgm@gnu.org>
19232 * allout.el (top-level): Remove unnecessary progn.
19234 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19236 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19237 definition of abbrev table.
19239 * speedbar.el (speedbar-track-mouse):
19240 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19241 * net/eudc.el (eudc-expand-inline):
19242 * net/newst-backend.el (newsticker--cache-read-feed):
19243 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19244 condition-case handlers.
19246 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19248 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19249 (gdb-var-list): Add an element for has_more field.
19250 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19251 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19252 (gdb-var-update-handler-1): Parse output of dynamic variable
19253 objects (STL containers).
19254 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19255 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19257 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19259 (gud-speedbar-buttons): Make node expandable if expression "has more"
19262 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19264 * startup.el (emacs-quick-startup): Remove variable and all uses.
19265 (command-line): Set `inhibit-x-resources' instead.
19266 (command-line-1): Use `inhibit-x-resources' instead.
19268 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19270 * subr.el: Fix last change to avoid using the `unless' macro,
19271 which breaks bootstrapping.
19273 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19275 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19276 extended definitions, in case we reload subr.el after having
19278 (eval-next-after-load): Mark as obsolete.
19280 2009-09-17 Juri Linkov <juri@jurta.org>
19282 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19283 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19284 (menu-bar-showhide-menu, menu-bar-tools-menu)
19285 (menu-bar-describe-menu, menu-bar-help-menu)
19286 (minibuffer-local-completion-map, minibuffer-local-map):
19289 2009-09-17 Glenn Morris <rgm@gnu.org>
19291 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19292 arguments, whether or not it has a handler.
19294 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19296 * simple.el (hard-newline): Give it a doc-string.
19298 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19299 (lisp-mode-syntax-table): Give them doc-strings.
19301 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19303 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19304 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19305 (menu-bar-options-menu, menu-bar-showhide-menu)
19306 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19307 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19308 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19309 (menu-bar-options-menu, menu-bar-tools-menu)
19310 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19311 (menu-bar-help-menu):
19312 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19315 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19316 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19317 calls for the menu names and :help.
19319 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19321 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19322 to :minor-mode-function (bug#4455).
19324 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19326 * startup.el (command-line): Initialize the window-system after
19327 processing the command-line.
19329 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19330 page-delimiter matches the empty string.
19332 2009-09-16 Glenn Morris <rgm@gnu.org>
19334 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19335 byte-compile-not-obsolete-var. It's a list now.
19336 (byte-compile-not-obsolete-funcs): New variable.
19337 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19338 byte-compile-not-obsolete-funcs.
19339 (byte-compile-variable-ref, byte-compile-defvar): Update for
19340 byte-compile-not-obsolete-vars name-change and list nature.
19341 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19342 and variables behind (f)boundp tests.
19343 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19345 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19347 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19349 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19351 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19352 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19355 2009-09-15 Stephen Eglen <stephen@gnu.org>
19357 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19358 the virtual-buffers, use the name of the buffer specified by
19359 find-file-noselect, as the match may be a symlink. (This was a
19360 problem if the target and the symlink had different names.)
19362 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19364 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19366 * desktop.el (desktop-path): Check user-emacs-directory.
19368 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19370 * loadup.el: Use after-load-functions to GC after loading each file.
19371 Remove the explicit GC calls that used to be sprinkled around.
19373 * subr.el (after-load-functions): New hook.
19374 (do-after-load-evaluation): Run it. Use string-match-p to detect
19375 `obsolete' packages, rather than painfully extracting the relevant
19378 2009-09-15 Glenn Morris <rgm@gnu.org>
19380 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19381 free variable `doc'.
19383 * dired.el (dired-mode-map): Add menu entry for async shell command.
19385 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19386 variables, also consider the .elc files, since the .el files are
19387 normally gzipped (subsequent code locates the .el.gz from the .elc).
19389 * calc/calc-prog.el (arglist): Define for compiler.
19391 * calendar/diary-lib.el (diary-display-function): Change the default to
19393 (body): Define for compiler.
19395 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19396 (byte-compile-file-form, byte-compile-lambda)
19397 (byte-compile-top-level-body, byte-compile-form)
19398 (byte-compile-variable-ref, byte-compile-setq)
19399 (byte-compile-setq-default, byte-compile-body)
19400 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19401 (batch-byte-compile): Give some more local variables with common names
19402 a "bytecomp-" prefix to avoid masking warnings about free variables.
19404 * startup.el (command-line-1): Give local variables with common names a
19405 distinguishing prefix, so as not to hide free variable warnings during
19408 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19409 clever and add a suffix to make a unique name, just let the user decide
19410 whether or not to overwrite it. If the input is a directory, write the
19411 default filename to that directory. (Bug#4388)
19412 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19413 is a filename-as-a-directory.
19415 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19417 * textmodes/page.el (what-page): Don't move to beginning of line.
19418 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19420 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19422 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19424 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19426 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19427 * help.el (help-for-help-internal): Add purecopy calls for text.
19429 * vc.el (top): print-log method now takes an optional SHORTLOG
19430 argument. Add a new method: root.
19431 (vc-root-diff, vc-print-root-log): New functions.
19432 (vc-log-short-style): New variable.
19433 (vc-print-log-internal): Add support for showing short logs.
19435 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19436 vc-print-root-log and vc-print-root-diff.
19438 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19439 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19440 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19443 * vc-cvs.el (vc-cvs-print-log):
19444 * vc-mtn.el (vc-mtn-print-log):
19445 * vc-rcs.el (vc-rcs-print-log):
19446 * vc-sccs.el (vc-sccs-print-log):
19447 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19448 that is ignored for now.
19450 * vc-mtn.el (vc-mtn-annotate-command):
19451 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19453 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19455 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19456 to function-key-map, and give them ascii-character property.
19457 * term/x-win.el (x-alternatives-map):
19458 * term/ns-win.el (ns-alternatives-map):
19459 * term/internal.el (msdos-key-remapping-map):
19460 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19462 2009-09-14 Glenn Morris <rgm@gnu.org>
19464 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19465 temp-buffers (2009-09-12).
19467 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19469 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19470 the new read-key function.
19472 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19474 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19475 is defined (Bug#4405).
19477 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19479 * recentf.el (recentf-cleanup): Use a hash table to find
19480 duplicates (Bug#4407).
19482 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19484 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19485 kp-0 to ascii equivalents (Bug#4325).
19487 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19489 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19491 * eshell/em-hist.el:
19492 * eshell/em-dirs.el (eshell-complete-user-reference):
19493 Declare pcomplete functions and variables to avoid compiler warnings.
19495 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19497 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19498 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19499 * eshell/em-alias.el (eshell-aliases-file):
19500 * eshell/em-hist.el (eshell-history-file-name):
19501 Use expand-file-name instead of concat to make file names (Bug#4308).
19503 2009-09-13 Glenn Morris <rgm@gnu.org>
19505 * ediff-merg.el (ediff-do-merge):
19506 * filesets.el (filesets-run-cmd):
19507 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19508 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19509 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19510 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19511 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19512 Replace empty `let's with `progn'.
19514 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19516 * mail/sendmail.el (send-mail-function):
19517 * tooltip.el (tooltip-mode):
19518 * simple.el (transient-mark-mode):
19519 * rfn-eshadow.el (file-name-shadow-mode):
19520 * frame.el (blink-cursor-mode):
19521 * font-core.el (global-font-lock-mode):
19522 * files.el (temporary-file-directory)
19523 (small-temporary-file-directory, auto-save-file-name-transforms):
19524 * epa-hook.el (auto-encryption-mode):
19525 * composite.el (global-auto-composition-mode):
19526 Use custom-initialize-delay.
19527 * startup.el (command-line): Don't explicitly call
19528 custom-reevaluate-setting for all the above vars.
19529 * custom.el (custom-initialize-safe-set)
19530 (custom-initialize-safe-default): Delete.
19532 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19534 * term/x-win.el (x-initialize-window-system):
19535 * term/w32-win.el (w32-initialize-window-system):
19536 * term/ns-win.el (ns-initialize-window-system): Don't call
19537 mouse-wheel-mode since it's enabled globally by default already.
19539 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19540 actually define the variable, but only silences the byte-compiler.
19541 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19542 before looking it up.
19543 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19546 2009-09-12 Glenn Morris <rgm@gnu.org>
19548 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19550 (elint-add-required-env): Don't beep on error.
19551 (elint-forms): In case of error, return ENV unchanged.
19552 (elint-init-env): Skip non-list forms.
19553 (elint-log): Handle unknown file positions.
19555 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19557 * epg.el (epg-make-context): Add autoload cookie.
19558 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19559 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19560 (epg-verify-string, epg-start-sign, epg-sign-file)
19561 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19562 (epg-encrypt-string, epg-start-export-keys)
19563 (epg-export-keys-to-file, epg-export-keys-to-string)
19564 (epg-start-import-keys, epg-import-keys-from-file)
19565 (epg-import-keys-from-string, epg-start-receive-keys)
19566 (epg-receive-keys, epg-import-keys-from-server)
19567 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19568 (epg-sign-keys, epg-start-generate-key)
19569 (epg-generate-key-from-file, epg-generate-key-from-string):
19570 Remove autoload cookie.
19572 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19574 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19575 reevaluation of trash-directory.
19577 * mwheel.el: Fix last change.
19578 (mouse-wheel-mode): New defvar.
19579 (mouse-wheel-mode): Remove autoload cookie.
19581 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19583 * mwheel.el (mwheel-installed-bindings): New var.
19584 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19585 the bindings we set last time. Use custom-initialize-delay.
19586 * loadup.el: Load mwheel after term/*-win.el.
19587 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19588 and mouse-wheel-up-event now that their first evaluation is done
19589 sufficiently late to be correct.
19591 * startup.el (tutorial-directory): Make it a defcustom.
19592 Use custom-initialize-delay rather than eval-at-startup to set it.
19593 * image.el (image-load-path): Make it a defcustom.
19594 Use custom-initialize-delay rather than eval-at-startup to set it.
19595 * subr.el (eval-at-startup): Remove.
19596 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19598 * subr.el (do-after-load-evaluation): Warn the user after loading an
19601 2009-09-12 Glenn Morris <rgm@gnu.org>
19603 * proced.el (proced-mark-alt): Remove alias.
19604 (proced-mode-map): Remove proced-mark-alt.
19606 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19607 Elint file and directory. Remove initialization entry.
19609 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19611 (elint-current-buffer): Set mode-line-process.
19612 (elint-init-env): Handle define-derived-mode.
19613 Fix declare-function with unspecified arglist. Guard against odd
19614 defalias statements (eg iso-insert's 8859-1-map).
19615 (elint-add-required-env): Use a temp buffer.
19616 (elint-form): Just print the function/macro name, not the whole form.
19617 Return env unchanged if we fail to parse a macro.
19618 (elint-forms): Guard against parse errors.
19619 (elint-output): New function, to handle batch mode.
19620 (elint-log-message): Add optional argument. Use elint-output.
19621 (elint-set-mode-line): New function.
19623 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19625 * emacs-lisp/elp.el (elp-not-profilable): Add more
19626 functions (Bug#4233).
19628 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19630 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19631 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19633 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19635 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19636 (gdb-var-list-children): Use json parsing.
19638 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19640 * progmodes/js.el (js--proper-indentation): Handle the case where
19641 char-before is null. Reported by Deniz Dogan.
19643 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19645 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19647 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19649 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19650 (epg-digest-algorithm-alist): Add SHA224.
19651 (epg-context-set-passphrase-callback)
19652 (epg-context-set-progress-callback): Add description about
19655 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19657 * custom.el (custom-delayed-init-variables): New var.
19658 (custom-initialize-delay): New function.
19659 * startup.el (command-line): "Re"evaluate all vars in
19660 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19661 explicitly any more.
19662 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19663 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19665 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19667 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19669 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19670 (gdb-var-update-handler): Use json parsing.
19672 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19674 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19675 decode annotated text, regardless of language environment. (Bug#2741)
19677 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19679 * Makefile.in (autoloads): Make rmail.el writable as well.
19681 2009-09-11 Glenn Morris <rgm@gnu.org>
19683 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19685 * dired.el: Regenerate with extracted autoloads.
19686 * Makefile.in (autoloads): Make dired.el writable.
19688 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19689 * ibuffer.el: Regenerate with extracted autoloads.
19690 * Makefile.in (autoloads): Make ibuffer.el writable.
19692 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19693 * version.el (emacs-copyright, emacs-major-version)
19694 (emacs-minor-version): Reformat doc-strings for make-docfile.
19696 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19697 functions and variables, since they must be stuff specific to some other
19699 (apropos-print): Make mouse-click message less specific about button.
19701 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19702 that records where a macro was defined.
19703 * help-fns.el (describe-function-1): Mention if a function has a
19705 * help-mode.el (help-function-cmacro): New button.
19707 * locate.el (top-level): Always require dired.
19708 (locate-mode-map): Initialize inside the defvar.
19710 * net/ange-ftp.el (dired-compress-file): Declare.
19711 (ange-ftp-dired-compress-file): Add doc string.
19713 * term/ns-win.el (x-display-name, x-setup-function-keys):
19714 Unify doc-strings with X versions.
19716 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19718 * emulation/crisp.el (crisp-mode-map): Move initialization
19720 (crisp-mode): Use define-minor-mode.
19722 * progmodes/xscheme.el (xscheme-evaluation-commands):
19723 Put a :advertised-binding property rather than using
19724 advertised-xscheme-send-previous-expression.
19725 (advertised-xscheme-send-previous-expression): Declare obsolete.
19726 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19728 (crisp-mode): Add corresponding bindings to
19729 undo's :advertised-binding instead.
19730 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19731 than using dired-advertised-find-file.
19732 (dired-advertised-find-file):
19733 * simple.el (advertised-undo):
19734 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19735 (widget-keymap): Put a :advertised-binding property rather
19736 than using advertised-widget-backward.
19737 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19738 than using advertised-undo.
19739 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19741 2009-09-10 Simon South <ssouth@slowcomputing.org>
19743 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19744 Mark mode is enabled and region is active; otherwise indent or
19745 insert TAB as usual.
19746 (delphi-mode): Update description of TAB-key binding.
19748 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19750 * subr.el (define-key-rebound-commands): Mark obsolete.
19751 * startup.el (precompute-menubar-bindings): Remove.
19752 (normal-top-level): Remove obsolete code that tried to precompute
19754 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19755 define-key-rebound-commands and precompute-menubar-bindings.
19757 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19759 * net/imap.el (imap-interactive-login): Better messages.
19760 (imap-open): Fix bug with renamed buffer on reconnect.
19761 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19762 for easier debugging and cleaner code. On successful (guessed based on
19763 server capabilities) secondary authentication, set imap-state
19765 (imap-last-authenticator): Define imap-last-authenticator as a variable
19768 2009-09-10 Glenn Morris <rgm@gnu.org>
19770 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19772 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19773 (byte-compile-file-form-autoload): Don't warn about unknown functions
19774 where the autoload statement comes after the use.
19775 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19776 that any handlers inside the body (eg require) are in turn respected.
19778 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19781 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19782 and syntax and abbrev tables basic docs, if they don't have any.
19784 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19786 * international/mule-cmds.el (top-level): Require cl when compiling.
19787 (view-hello-file): Use default-value rather than
19788 default-enable-multibyte-characters.
19790 * progmodes/fortran.el: Move all safe and risky properties into the
19793 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19794 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19795 * mail/undigest.el:
19796 Put autoloads in rmail.el rather than loaddefs.el.
19797 * mail/rmail.el: Regenerate with extracted autoloads.
19799 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19800 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19802 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19804 Reported in thread for Bug#4375.
19805 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19806 "-data-evaluate-expression" instead of print.
19807 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19808 (gdb-tooltip-print): Parse output from above MI command.
19809 (gdb): Revert 2009-08-11 change. User should detach inferior
19812 Remove the word "separate" from IO functions as inferior
19813 output is now never displayed in the GUD buffer.
19815 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19817 * startup.el (command-line-normalize-file-name): On Windows and
19818 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19820 2009-09-10 Juri Linkov <juri@jurta.org>
19822 * isearch.el (isearch-text-char-description): Propertize escape
19823 character sequences with the `escape-glyph' face. (Bug#4344)
19825 * simple.el (shell-command): Set asynchronous process filter to
19826 `comint-output-filter'. (Bug#4343)
19828 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19829 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19830 the list. Move "asm" to the bottom.
19831 (grep-find-ignored-directories): Add `choice' with nil value
19832 to empty the list easily.
19833 (grep-find-ignored-files): New option.
19834 (grep-files-history): Set to nil by default instead of '("ch" "el").
19835 (grep-compute-defaults): Add "<X>" to `grep-template'.
19836 (grep-read-files): Bind new local variables `default-alias' and
19837 `default-extension'. Use a list of default values for the file prompt.
19838 (lgrep): Add `--exclude=' command line options composed from
19839 `grep-find-ignored-files'.
19840 (rgrep): Add `-name' command line options composed from
19841 `grep-find-ignored-files'. (Bug#4301)
19843 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19845 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19848 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19850 * calendar/time-date.el (autoload):
19851 Expand define-obsolete-function-alias into defalias and make-obsolete
19852 for old Emacsen that Gnus supports.
19853 (with-no-warnings): Define it for old Emacsen.
19854 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19856 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19857 float-time is available; suppress compile warning for time-to-seconds.
19859 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19861 * net/imap.el (imap-message-map): Docstring fix.
19863 2009-09-09 Glenn Morris <rgm@gnu.org>
19865 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19866 line numbers too. (Bug#4374)
19868 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19870 * smerge-mode.el (smerge-remove-props, smerge-refine):
19871 Use with-silent-modifications (bug#4342).
19873 * subr.el (with-silent-modifications): New macro.
19875 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19877 * files.el (top-level): Require `cl' when compiling.
19879 2009-09-07 Glenn Morris <rgm@gnu.org>
19881 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19883 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19884 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19886 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19888 * vc-git.el (vc-git-annotate-command): Use separator to parse
19889 arguments correctly.
19891 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19893 * proced.el (proced-mode): Doc fix.
19895 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19897 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19899 (tramp-do-file-attributes-with-ls): Check for file existence at
19901 (tramp-do-file-attributes-with-stat): Likewise.
19902 (tramp-convert-file-attributes): Return nil when attr is nil.
19904 2009-09-05 Glenn Morris <rgm@gnu.org>
19906 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19907 properties to this button.
19908 (diary-fancy-display): Don't extend the button to the final newline.
19909 (diary-fancy-display-mode): Continue to define "q" as a local key.
19911 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19914 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19916 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19917 (byte-compile-dest-file-function): New option.
19918 (byte-compile-dest-file): Doc fix.
19919 Obey byte-compile-dest-file-function.
19920 (byte-compile-cl-file-p): New function.
19921 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19922 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19923 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19924 than for file being previously loaded.
19925 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19926 (byte-compile-file-form-require): Handle the case where requiring a file
19927 indirectly causes CL to be loaded.
19929 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19931 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19932 before killing the old buffer, since by the time `kill-buffer' is
19933 run so many buffer variables have been set to nil that it may not
19934 behave as expected. (Bug#4061)
19936 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19938 * files.el (find-alternate-file): If the old buffer is modified
19939 and visiting a file, behave similarly to `kill-buffer' when
19940 killing it, thus reverting to the pre-1.878 behavior; see
19941 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19942 for discussion. Also, consult `buffer-file-name' as a variable
19943 not as a function, for consistency with the rest of the code.
19945 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19947 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19948 also when adding a new directory.
19950 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19953 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19955 * files.el (locate-file-completion-table): Make it provide boundary
19956 information, so partial-completion works better.
19958 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19960 * mail/footnote.el (Footnote-text-under-cursor):
19961 Check footnote-text-marker-alist before using it (bug#4324).
19963 2009-09-04 Glenn Morris <rgm@gnu.org>
19965 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19966 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19967 * play/solitaire.el, play/tetris.el:
19968 Remove leading * from defcustom and defface docs.
19970 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19972 (diary-fancy-overriding-map): New variable.
19973 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19976 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19979 2009-09-03 Glenn Morris <rgm@gnu.org>
19981 * arc-mode.el (archive-mode):
19982 * dos-fns.el (set-default-process-coding-system):
19983 * man.el (Man-getpage-in-background):
19984 * menu-bar.el (menu-bar-describe-menu):
19985 * server.el (server-process-filter):
19986 * startup.el (command-line):
19987 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19988 * w32-fns.el (set-default-process-coding-system):
19989 * x-dnd.el (x-dnd-handle-file-name):
19990 * international/mule-cmds.el (mule-menu-keymap)
19991 (set-default-coding-systems, language-info-alist, set-language-info)
19992 (set-language-environment, standard-display-european-internal)
19993 (set-locale-environment):
19994 * international/mule-diag.el (mule-diag):
19995 * mail/emacsbug.el (report-emacs-bug):
19996 * mail/rmail.el (rmail-mode):
19997 * mail/sendmail.el (mail-setup):
19998 Use default-value rather than default-enable-multibyte-characters.
20000 * progmodes/f90.el: Move all safe properties into the defcustoms.
20001 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20003 * calendar/appt.el (appt-check):
20004 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20005 (diary-check-diary-file, diary-list-entries)
20006 (diary-include-other-diary-files, diary-simple-display)
20007 (diary-fancy-display, diary-print-entries)
20008 (diary-mark-included-diary-files, diary-make-entry):
20009 Don't call substitute-in-file-name on diary-file.
20011 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20012 Stefan Monnier <monnier@iro.umontreal.ca>
20014 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20015 (footnote-mode-map): Move initialization into the declaration.
20016 (footnote-minor-mode-map): Define it rather than changing global-map.
20017 (footnote-mode): Use define-minor-mode.
20019 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20021 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20022 (tramp-do-file-attributes-with-perl)
20023 (tramp-do-file-attributes-with-stat): Rename from
20024 `tramp-handle-file-attributes-with-*'.
20025 (tramp-handle-file-attributes): Use them.
20026 (tramp-do-directory-files-and-attributes-with-perl)
20027 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20028 `tramp-handle-directory-files-and-attributes-with-*'.
20029 (tramp-handle-directory-files-and-attributes): Use them.
20030 (tramp-method-out-of-band-p): Additional parameter SIZE.
20031 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20032 (tramp-handle-write-region): Use it.
20033 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20034 (tramp-handle-vc-registered): Check, whether the first run did
20035 return files to be tested.
20036 (tramp-advice-make-auto-save-file-name): Do not call directly
20037 `tramp-handle-make-auto-save-file-name', because this would bypass
20038 the locking mechanism.
20040 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20041 (file-remote-p, process-file, start-file-process, set-file-times)
20042 (tramp-compat-file-attributes): Compatibility functions shall not
20043 call directly `tramp-handle-*', because this would bypass the
20045 (tramp-compat-number-sequence): New defun.
20047 2009-09-02 Glenn Morris <rgm@gnu.org>
20049 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20050 alias for float-time.
20051 (time-to-number-of-days): In Emacs, use float-time.
20052 * net/newst-backend.el (time-add): Suppress warnings from compat
20054 * time.el (emacs-uptime, emacs-init-time):
20055 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20056 Use float-time rather than time-to-seconds.
20058 * minibuffer.el (completion-initials-expand): Fix typo.
20060 * faces.el (modeline, modeline-inactive, modeline-highlight)
20061 (modeline-buffer-id):
20062 * info.el (info-menu-5): Mark these face aliases as obsolete.
20064 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20066 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20068 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20069 no "--thread" option.
20070 (gdb-stopped): Don't print "Switched to thread" message when it is
20073 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20075 * minibuffer.el (completion-try-completion)
20076 (completion-all-completions): Remove ill-defined (and
20077 mistakenly installed and luckily never used nor documented)
20078 `completion-styles' property.
20079 (completion-initials-expand, completion-initials-all-completions)
20080 (completion-initials-try-completion): New functions.
20081 (completion-styles-alist): Add doc to each entry.
20082 Add new `initials' entry.
20084 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20086 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20087 MI command -var-evaluate-expression.
20088 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20089 and tweak for case of string child.
20090 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20092 2009-09-01 Glenn Morris <rgm@gnu.org>
20094 * add-log.el (change-log-date-face, change-log-name-face)
20095 (change-log-email-face, change-log-file-face, change-log-list-face)
20096 (change-log-conditionals-face, change-log-function-face)
20097 (change-log-acknowledgement-face):
20098 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20099 (custom-modified-face, custom-set-face, custom-changed-face)
20100 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20101 (custom-documentation-face, custom-state-face, custom-comment-face)
20102 (custom-comment-tag-face, custom-variable-tag-face)
20103 (custom-variable-button-face, custom-face-tag-face)
20104 (custom-group-tag-face-1, custom-group-tag-face):
20105 * diff-mode.el (diff-header-face, diff-file-header-face)
20106 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20107 (diff-added-face, diff-changed-face, diff-function-face)
20108 (diff-context-face, diff-nonexistent-face):
20109 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20110 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20111 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20112 (Info-title-4-face):
20113 * isearch.el (isearch-lazy-highlight-face):
20114 * log-view.el (log-view-file-face, log-view-message-face):
20115 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20116 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20117 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20119 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20120 (smerge-base-face, smerge-markers-face):
20121 * wid-edit.el (widget-documentation-face, widget-button-face)
20122 (widget-field-face, widget-single-line-field-face)
20123 (widget-inactive-face, widget-button-pressed-face):
20124 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20125 (woman-addition-face):
20126 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20127 (eshell-ls-executable-face, eshell-ls-readonly-face)
20128 (eshell-ls-unreadable-face, eshell-ls-special-face)
20129 (eshell-ls-missing-face, eshell-ls-archive-face)
20130 (eshell-ls-backup-face, eshell-ls-product-face)
20131 (eshell-ls-clutter-face):
20132 * eshell/em-prompt.el (eshell-prompt-face):
20133 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20134 * obsolete/old-whitespace.el (whitespace-highlight-face):
20135 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20136 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20137 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20138 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20139 (antlr-font-lock-literal-face):
20140 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20141 (ebrowse-root-class-face, ebrowse-file-name-face)
20142 (ebrowse-default-face, ebrowse-member-attribute-face)
20143 (ebrowse-member-class-face, ebrowse-progress-face):
20144 * progmodes/make-mode.el (makefile-space-face):
20145 * progmodes/sh-script.el (sh-heredoc-face):
20146 * textmodes/flyspell.el (flyspell-incorrect-face)
20147 (flyspell-duplicate-face):
20148 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20149 * textmodes/texinfo.el (texinfo-heading-face):
20150 Mark face aliases with "-face" suffix as obsolete.
20152 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20155 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20156 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20157 easy-menu-define wants to modify these.
20159 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20161 * net/browse-url.el (browse-url-file-url):
20162 * term/internal.el (dos-codepage-setup):
20163 Use default-value rather than default-enable-multibyte-characters.
20165 * progmodes/etags.el (etags-goto-tag-location):
20166 * progmodes/flymake.el (flymake-highlight-line)
20167 (flymake-goto-file-and-line, flymake-goto-line):
20168 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20169 (gdb-goto-breakpoint):
20170 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20171 * progmodes/python.el (python-find-function)
20172 (python-pdbtrack-track-stack-file):
20173 * progmodes/verilog-mode.el (verilog-surelint-off):
20174 * term/ns-win.el (ns-open-file-select-line):
20175 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20176 Use forward-line rather than goto-line.
20178 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20179 * textmodes/reftex-index.el (reftex-display-index):
20180 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20181 * textmodes/reftex-toc.el (reftex-toc):
20182 Remove unnecessary bindings of default-major-mode (all are followed by
20183 major-mode check and possible mode switch).
20185 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20187 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20188 Handle watchpoints (bug#4282).
20189 (def-gdb-thread-buffer-command): Enable thread to be selected by
20190 clicking without selecting threads buffer first.
20191 (gdb-current-context-command): Use selected frame so that "up",
20192 "down" etc work in the GUD buffer.
20193 (gdb-update): Find selected frame before rendering stack buffer.
20194 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20196 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20198 * progmodes/sym-comp.el (displayed-completions): Remove.
20199 (symbol-complete): Use minibuffer-complete.
20201 2009-08-31 Glenn Morris <rgm@gnu.org>
20203 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20205 * apropos.el (apropos-symbols-internal):
20206 Handle (obsolete) face aliases.
20208 * faces.el (describe-face): Adjust the output format to be more like
20209 describe-variable, and to mention (obsolete) face aliases.
20210 Adjust the whitespace so that help-setup-xref works.
20212 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20213 * calendar/diary-lib.el (diary-button-face):
20214 Mark these face aliases as obsolete.
20216 * calendar/calendar.el (calendar-today): Doc fix.
20218 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20220 * progmodes/gdb-mi.el (gdb-control-all-threads)
20221 (gdb-control-current-thread): Force tool bar update.
20222 (gdb-non-stop-handler): New function.
20223 (gdb-init-1): Use it to test if non-stop mode is supported.
20224 Remove unused gdbmi buffer type.
20226 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20228 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20229 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20231 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20233 * comint.el (comint-exec-1): Check command is non-null first.
20234 Part of gdb-mi.el change (2009-08-28).
20236 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20238 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20240 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20242 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20243 instead of `dolist' to avoid a recursive require when bootstrapping.
20245 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20247 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20249 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20251 * net/imap.el (imap-send-command): Simplify.
20252 (imap-wait-for-tag): point-max -> buffer-size.
20254 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20256 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20257 with constant argument.
20259 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20261 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20263 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20264 Change default, since most of our files don't have a history.
20265 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20268 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20271 * calc/calc.el: Improve commenting convention.
20272 (calc-digit-map, toplevel): Simplify.
20274 * comint.el (comint-insert-input): Be careful to only set point if we
20275 don't delegate to some other command.
20277 * proced.el (proced-signal-list): Make it an alist.
20278 (proced-grammar-alist): Capitalize names.
20279 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20280 Disable undo manually and make it read-only.
20281 Use completion-annotate-function.
20283 * minibuffer.el (minibuffer-message): If the current buffer is not
20284 a minibuffer, insert the message in the echo area rather than at the
20286 (completion-annotate-function): New variable.
20287 (minibuffer-completion-help): Use it.
20288 (completion--embedded-envvar-table): Environment vars are
20289 always case-sensitive.
20291 2009-08-30 Glenn Morris <rgm@gnu.org>
20293 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20294 from fortran-current-defun.
20295 (fortran-beginning-of-subprogram): Be more precise about finding the
20296 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20297 (fortran-end-of-subprogram): Simplify.
20298 (fortran-current-defun): Use fortran-start-prog-re.
20300 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20302 * subr.el (do-after-load-evaluation): Simplify.
20304 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20306 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20308 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20309 (vc-rcs-print-log): Use it.
20311 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20313 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20315 * paths.el (abbrev-file-name): Move to abbrev.el.
20316 * abbrev.el (abbrev-file-name): Move from paths.el.
20317 Obey user-emacs-directory.
20318 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20319 user-emacs-directory.
20320 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20321 abbrev-file-name and calc-settings-file any more.
20322 * startup.el (command-line): Recompute abbrev-file-name and
20323 abbreviated-home-dir.
20324 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20325 of the special code for when C-h bindings haven't been changed.
20326 (display-startup-echo-area-message): Use with-current-buffer.
20327 (command-line-1): Use a list of strings, rather than a list of lists
20328 of strings for longopts.
20330 * files.el (get-free-disk-space): Use / for default-directory.
20332 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20333 Use with-current-buffer.
20335 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20336 Recognize immutable variables like most-positive-fixnum.
20337 (byte-compile-setq-default): Check and warn if trying to assign
20338 to an immutable variable, or a non-variable.
20340 * progmodes/cc-vars.el (c-comment-continuation-stars):
20341 * progmodes/cc-engine.el (c-looking-at-bos):
20342 * progmodes/cc-cmds.el (c-toggle-auto-state)
20343 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20344 (c-comment-line-break-function): Add version of obsolescence.
20346 2009-08-28 Juri Linkov <juri@jurta.org>
20348 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20349 associated with `archive-mode'.
20351 * image.el (image-type-header-regexps): Use only JPEG magic number
20352 to determine JPEG images, and don't use `image-jpeg-p' because
20353 Emacs can display non-JFIF non-Exif JPEG images.
20355 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20357 * arc-mode.el (archive-mode):
20358 * emacs-lisp/re-builder.el (re-builder-unload-function):
20359 Protect against the default value of `major-mode' being nil.
20361 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20363 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20364 Fix typos in docstrings.
20366 * progmodes/js.el (js--macro-decl-re): Doc fix.
20367 (js--plain-method-re, js--split-name): Refloc docstring.
20368 (js--class-styles, js--make-merged-item, js--splice-into-items):
20369 Fix typos in docstrings; reflow docstrings.
20370 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20371 (js--variable-decl-matcher, js--inside-pitem-p)
20372 (js--parse-state-at-point, js--get-all-known-symbols)
20373 (js--symbol-history, js-find-symbol, js--js-references)
20374 (js--moz-interactor, js--js-encode-value, js--read-tab):
20375 Fix typos in docstrings.
20377 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20379 * textmodes/reftex.el (reftex-get-file-buffer-force):
20380 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20381 * emulation/viper.el (viper-go-away, viper-set-hooks):
20382 * emacs-lisp/re-builder.el (re-builder-unload-function):
20383 * emacs-lisp/bytecomp.el (byte-compile-file):
20384 * ses.el (ses-unload-function):
20385 * hexl.el (hexl-find-file):
20386 * files.el (normal-mode):
20387 * ehelp.el (with-electric-help):
20388 * autoinsert.el (auto-insert-alist):
20389 * arc-mode.el (archive-mode):
20390 Use (default-value 'major-mode) instead of default-major-mode.
20392 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20393 * international/mule.el (load-with-code-conversion):
20394 * emacs-lisp/debug.el (debug):
20395 * ediff-vers.el (ediff-rcs-get-output-buffer):
20396 * dired.el (dired-internal-noselect): Don't let-bind
20397 default-major-mode around code that doesn't use it.
20398 E.g. buffer creation via get-buffer-create doesn't use it.
20400 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20402 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20403 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20404 when writing the temp file. Otherwise, epa-file gets confused.
20405 (tramp-register-file-name-handlers): Make it a defun. Move also
20406 `epa-file-handler' to the front of `file-name-handler-alist'.
20408 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20410 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20411 start right after a ^M.
20412 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20413 (tramp-completion-file-name-regexp-separate)
20414 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20415 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20416 Don't modify last-coding-system-used by accident.
20417 (tramp-completion-file-name-handler): Apply the checks here,
20418 instead during registration.
20419 (tramp-register-file-name-handlers): Rename from
20420 `tramp-register-file-name-handler'. Register both
20421 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20422 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20424 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20426 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20427 Remove variable ...
20428 (gdb-init-1, gdb-display-separate-io-buffer)
20429 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20431 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20432 (gdb-inferior-filter): Use comint-output-filter to stop
20433 echoing and remove ^M characters.
20435 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20437 * emulation/viper-init.el (viper-restore-cursor-type):
20438 * emulation/cua-base.el (cua--update-indications):
20439 Replace default-cursor-type with (default-value 'cursor-type).
20441 * mail/sendmail.el (mail-recover-1):
20442 * international/mule-diag.el (describe-current-coding-system-briefly)
20443 (describe-current-coding-system):
20444 * international/mule-cmds.el (select-safe-coding-system)
20445 (select-message-coding-system)
20446 (set-language-environment-coding-systems, set-locale-environment):
20447 * hexl.el (hexl-insert-multibyte-char):
20448 * dos-w32.el (find-buffer-file-type-coding-system):
20449 * simple.el (what-cursor-position):
20450 Replace uses of default-buffer-file-coding-system
20451 with (default-value 'buffer-file-coding-system).
20453 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20454 Replace uses of default-cursor-in-non-selected-windows
20455 with (default-value 'cursor-in-non-selected-windows).
20456 Use with-current-buffer.
20458 * mail/feedmail.el: Use CL macros.
20459 (feedmail-run-the-queue, feedmail-send-it-immediately):
20460 * dos-w32.el (find-buffer-file-type): Replace uses of
20461 default-buffer-file-type with (default-value 'buffer-file-type).
20463 2009-08-28 Glenn Morris <rgm@gnu.org>
20465 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20466 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20467 Use default-value of major-mode rather than default-major-mode.
20469 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20471 * Makefile.in (update-elcfiles): Report left over elc files.
20473 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20474 expand-file-name and with-current-buffer.
20475 (mail-get-names, mail-directory): Use with-current-buffer.
20477 * vc.el (vc-read-revision): New function.
20478 (vc-version-diff, vc-merge): Use it.
20480 2009-08-27 Sam Steingold <sds@gnu.org>
20482 * simple.el (kill-do-not-save-duplicates): New user option.
20483 (kill-new): When it is non-nil, and the new string is the same as
20484 the latest kill, set replace to t to avoid duplicates in kill-ring.
20486 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20488 * net/tramp.el (tramp-handle-process-file): Do not flush all
20489 caches when `process-file-side-effects' is set.
20490 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20491 instead of `tramp-find-file-exists-command'.
20492 Unset `process-file-side-effects'.
20494 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20496 * net/tramp.el (tramp-methods): New method "rsyncc".
20497 (top): Add completion function for "rsyncc".
20498 (tramp-message-show-message): New defvar.
20499 (tramp-message, tramp-error): Use it.
20500 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20502 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20503 `tramp-methods' entry `copy-env' of "rsyncc".
20504 (tramp-vc-registered-read-file-names): New defconst.
20505 (tramp-vc-registered-file-names): New defvar.
20506 (tramp-handle-vc-registered): Implement optimization strategy.
20507 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20508 (tramp-vc-file-name-handler): New defun.
20509 (tramp-get-ls-command, tramp-get-test-command)
20510 (tramp-get-file-exists-command, tramp-get-remote-ln)
20511 (tramp-get-remote-perl, tramp-get-remote-stat)
20512 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20514 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20515 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20517 (tramp-get-file-property): Check for timestamps in
20518 `tramp-cache-inhibit-cache'.
20519 (tramp-set-file-property): Write timestamp.
20521 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20523 * language/japan-util.el (japanese-symbol-table): Add entries for
20526 * international/characters.el: Add category `j' to cp932-2-byte.
20528 2009-08-27 Kenichi Handa <handa@m17n.org>
20530 * international/fontset.el (build-default-fontset-data): New macro.
20531 (setup-default-fontset): Use build-default-fontset-data for CJK,
20532 tibetan, ethiopic, and ipa.
20534 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20536 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20537 (enable-multibyte-characters): Not customizable any more.
20539 * subr.el (default-mode-line-format, default-header-line-format)
20540 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20541 (default-direction-reversed, default-truncate-lines)
20542 (default-left-margin, default-tab-width, default-case-fold-search)
20543 (default-left-margin-width, default-right-margin-width)
20544 (default-left-fringe-width, default-right-fringe-width)
20545 (default-fringes-outside-margins, default-scroll-bar-width)
20546 (default-vertical-scroll-bar, default-indicate-empty-lines)
20547 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20548 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20549 (default-scroll-down-aggressively, default-fill-column)
20550 (default-cursor-type, default-buffer-file-type)
20551 (default-cursor-in-non-selected-windows)
20552 (default-buffer-file-coding-system, default-major-mode)
20553 (default-enable-multibyte-characters): Mark as obsolete.
20555 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20557 * vc-dir.el (vc-dir-update): Remove debug helper.
20559 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20561 2009-08-26 Sam Steingold <sds@gnu.org>
20563 * simple.el (save-interprogram-paste-before-kill): New user option.
20564 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20565 save the interprogram-paste into kill-ring before overriding it
20566 with the Emacs kill.
20568 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20570 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20571 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20572 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20573 and move to vc-rcs.el.
20574 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20576 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20577 (vc-rcs-update-changelog): Remove.
20578 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20579 and move to vc-rcs.el.
20581 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20582 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20584 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20585 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20586 vc.el, renamed to be RCS specific.
20588 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20590 (vc-cvs-update-changelog): Move here from vc.el.
20592 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20595 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20597 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20599 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20601 * vc-git.el (vc-git-register): Use "git add" for directories.
20602 (vc-git-stash, vc-git-stash-show): New functions.
20603 (vc-git-extra-menu-map): Bind them.
20605 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20606 directory correctly in case the item is a directory itself.
20608 * vc.el: Document the desired behavior for reverted files in the
20610 (vc-default-prettify-state-info): Remove function, unused.
20612 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20614 2009-08-26 Glenn Morris <rgm@gnu.org>
20616 * bindings.el (standard-mode-line-format): Reposition dashes in
20617 which-func entry. (Bug#4217)
20619 * files.el (enable-local-variables, enable-local-eval)
20620 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20622 (auto-mode-alist, ignored-local-variables)
20623 (save-some-buffers-action-alist): Move risky declarations to the
20625 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20626 (font-lock-defaults, format-alist, imenu--index-alist)
20627 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20628 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20629 (mode-line-modified, mode-line-mule-info, mode-line-position)
20630 (mode-line-process, mode-line-remote, outline-level)
20631 (parse-time-rules, rmail-output-file-alist)
20632 (special-display-buffer-names, vc-mode):
20633 Move risky declarations to the relevant files.
20634 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20635 (mode-line-modified, mode-line-process, mode-line-position)
20636 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20637 * font-core.el (font-lock-defaults):
20638 * format.el (format-alist):
20639 * vc-hooks.el (vc-mode):
20640 * window.el (special-display-buffer-names):
20641 * international/mule-cmds.el (input-method-alist):
20642 Define riskiness here (dumped file) rather than in files.el.
20643 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20644 * imenu.el (imenu-generic-expression, imenu--index-alist):
20645 * outline.el (outline-level):
20646 * time.el (display-time-string):
20647 * calendar/parse-time.el (parse-time-rules):
20648 * mail/rmailout.el (rmail-output-file-alist):
20649 Autoload riskiness here, rather than placing in files.el.
20651 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20653 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20655 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20657 * simple.el (process-file-side-effects): New defvar.
20659 * dired-aux.el (dired-show-file-type):
20660 * vc.el (vc-diff-internal):
20661 * vc-arch.el (vc-arch-diff):
20662 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20663 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20664 * vc-git.el (vc-git-registered, vc-git-working-revision)
20665 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20666 (vc-git--empty-db-p):
20667 * vc-hooks.el (vc-user-login-name):
20668 * vc-svn.el (vc-svn-registered, vc-svn-state)
20669 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20670 * progmodes/grep.el (grep-probe): Let-bind
20671 `process-file-side-effects' with nil.
20673 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20675 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20676 daemon. Replace ping by checking for running service for bluez
20677 and zeroconf. (Bug#4239)
20679 2009-08-25 Kevin Ryde <user42@zip.com.au>
20681 * net/dig.el (dig): Add autoload cookie.
20683 2009-08-25 Glenn Morris <rgm@gnu.org>
20685 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20686 load-history for absolute file-names.
20687 (byte-compile-file-form-require): Warn about use of the cl package.
20689 * format.el (format-alist): Doc fix.
20691 * play/bubbles.el (top-level): Don't require cl at run-time.
20693 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20696 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20698 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20700 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20702 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20704 * calc/calc-alg.el (math-trig-rewrite)
20705 (math-hyperbolic-trig-rewrite): New functions.
20706 (calc-simplify): Simplify trig functions when asked.
20708 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20710 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20712 2009-08-24 Kenichi Handa <handa@m17n.org>
20714 * language/ind-util.el (mapthread): Delete it.
20715 (combinatorial): New function.
20716 (indian--puthash-cv): Use combinatorial instead of mapthread.
20718 2009-08-22 Kevin Ryde <user42@zip.com.au>
20720 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20721 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20722 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20723 Clarify docstring that the value is strings not symbols.
20724 (checkdoc-list-of-strings-p): New function.
20726 2009-08-22 Glenn Morris <rgm@gnu.org>
20728 * files.el (auto-mode-alist):
20729 * hippie-exp.el (he-concat-directory-file-name):
20730 * lpr.el (lpr-windows-system, printer-name):
20731 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20732 * ps-print.el (ps-windows-system):
20733 * startup.el (command-line):
20734 * emulation/viper-ex.el (viper-glob-function):
20735 * international/mule-cmds.el (set-language-environment-coding-systems):
20736 * net/ange-ftp.el (ange-ftp-write-region):
20737 * obsolete/fast-lock.el (fast-lock-cache-name):
20738 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20739 unisoft-unix, vax-vms, win32, w32.
20741 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20742 given name if the pattern is not more specific.
20744 * calendar/lunar.el (lunar-phase-names): New option.
20745 (lunar-phase): Doc fix.
20746 (lunar-cycles-per-year): New constant.
20747 (lunar-index): New function.
20748 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20749 (lunar-phase-name): Use lunar-phase-names.
20750 (calendar-lunar-phases): Use format.
20751 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20753 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20754 Copy imenu-example--name-and-position function here for own use.
20755 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20757 * bs.el (bs--redisplay):
20758 * cus-edit.el (custom-redraw):
20759 * ibuffer.el (ibuffer-bury-buffer):
20760 * server.el (server-goto-line-column):
20761 * startup.el (command-line-1):
20762 * strokes.el (strokes-xpm-for-stroke):
20763 * term.el (term-display-buffer-line):
20764 * view.el (View-goto-line):
20765 * calc/calc.el (calc-do, calc-trail-buffer):
20766 * play/gamegrid.el (gamegrid-add-score-insecure):
20767 * progmodes/ada-mode.el (ada-compile-goto-error):
20768 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20769 (ebrowse-select-1st-to-9nth):
20770 * progmodes/cperl-mode.el (cperl-time-fontification):
20771 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20772 * progmodes/gud.el (gud-display-line):
20773 (idlwave-shell-display-line):
20774 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20775 * progmodes/make-mode.el (makefile-browser-toggle):
20776 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20777 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20778 * textmodes/picture.el (picture-draw-rectangle):
20779 * textmodes/reftex-index.el (reftex-index-goto-letter):
20780 (reftex-select-jump-to-previous):
20781 * textmodes/reftex-sel.el (reftex-find-start-point)
20782 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20783 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20784 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20785 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20786 * textmodes/two-column.el (2C-associated-buffer):
20787 Use forward-line rather than goto-line.
20789 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20792 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20793 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20794 (quick-check-list-to-regexp): Declare.
20796 * progmodes/make-mode.el (makefile-browser-insert-selection):
20797 Use goto-char rather than goto-line.
20799 * progmodes/prolog.el (compilation-error-regexp-alist)
20800 (compilation-forget-errors): Declare.
20802 2009-08-22 Juri Linkov <juri@jurta.org>
20804 * progmodes/grep.el (lgrep, rgrep): At the beginning
20805 set `dir' to `default-directory' unless `dir' is a non-nil
20806 readable directory. (Bug#4052)
20807 (lgrep, rgrep): Change a weird way to report an error
20808 from using `read-string' to using `error'.
20809 Instead of using interactive arguments in the function body,
20810 add new argument `confirm'.
20812 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20814 * textmodes/remember.el (remember-buffer):
20815 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20816 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20817 (icalendar-extract-ical-from-buffer):
20818 * net/newst-treeview.el (newsticker-groups-filename):
20819 * net/newst-backend.el (newsticker-cache-filename):
20820 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20821 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20822 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20823 (speedbar-buffers-line-path, speedbar-path-line)
20824 (speedbar-buffers-line-path):
20825 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20827 * epa.el (epa-display-verify-result):
20828 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20830 2009-08-21 Glenn Morris <rgm@gnu.org>
20832 * progmodes/js.el (inferior-moz-process): Fix declaration.
20834 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20836 * obsolete/rnewspost.el (news-mail-reply):
20837 Use goto-char rather than goto-line.
20839 * term/ns-win.el (ns-open-file-select-line):
20840 Use line-beginning-position rather than goto-line.
20842 * apropos.el (apropos-command):
20843 * ehelp.el (electric-helpify):
20844 * printing.el (pr-show-setup):
20845 * strokes.el (strokes-help):
20846 * tutorial.el (tutorial--describe-nonstandard-key)
20847 (tutorial--detailed-help):
20848 * woman.el (woman-mini-help, woman-display-extended-fonts):
20849 * calc/calc-help.el (calc-describe-key):
20850 * emulation/edt.el (edt-electric-helpify):
20851 * international/mule-diag.el (mule-diag):
20852 * play/yow.el (apropos-zippy):
20853 * progmodes/python.el (python-describe-symbol):
20854 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20855 * textmodes/table.el (*table--cell-describe-mode)
20856 (*table--cell-describe-bindings):
20857 Use help-print-return-message rather than the now obsolete alias.
20859 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20860 (calendar-cursor-to-visible-date):
20861 * play/5x5.el (5x5-position-cursor):
20862 * play/decipher.el (decipher):
20863 * play/gomoku.el (gomoku-goto-xy):
20864 * play/landmark.el (lm-goto-xy):
20865 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20866 (mpuz-paint-digit):
20867 Use forward-line, not goto-line.
20869 * mail/rmail.el (rmail-obsolete): Delete custom group.
20870 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20871 (rmail-remote-password, rmail-remote-password-required):
20872 Remove unneeded :set-after and :set properties.
20874 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20876 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20878 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20880 * loadup.el: Remove leftover macos code.
20882 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20883 Explicitly pass the date format to git blame so that user local
20884 so that the output format can be parsed.
20886 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20888 * net/dbus.el (top): Don't check for (getenv
20889 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20891 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20893 * log-edit.el (log-edit-strip-single-file-name): New var.
20894 (log-edit-insert-changelog): Use it. Bug#3571.
20896 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20898 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20901 * help.el (help-print-return-message): Rename from
20902 print-help-return-message.
20904 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20905 cvs-mode-map parent hack.
20906 (log-view-mode): Derive from special-mode.
20908 * linum.el (linum-mode): window-size-change-functions is redundant.
20909 Adapt to new window-configuration-change-hook behavior.
20910 (linum-after-size, linum-after-config): Remove.
20912 * imenu.el (imenu-example--name-and-position)
20913 (imenu-example--lisp-extract-index-name)
20914 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20917 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20918 (inferior-prolog-mode): Use it.
20919 (inferior-prolog-load-file): Reset list of errors.
20921 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20923 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20925 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20927 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20929 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20930 is running already.
20932 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20934 * subr.el (listify-key-sequence-1): Use normal syntax since those
20935 integers are nowadays always represented by the same (positive) number
20937 (read-key-empty-map): New const.
20938 (read-key-delay): New var.
20939 (read-key): New function.
20940 (force-mode-line-update): Use with-current-buffer.
20941 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20942 (start-process-shell-command, start-file-process-shell-command):
20943 Discourage the use of command-args.
20945 2009-08-19 Glenn Morris <rgm@gnu.org>
20947 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20949 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20951 * simple.el (choose-completion-string): Don't rely on
20952 minibuffer-completing-file-name and ad-hoc checks to decide whether
20953 to continue completion or not.
20955 * minibuffer.el (minibuffer-hide-completions): New function.
20956 (completion--do-completion): Use it.
20957 (completions-annotations): New face.
20958 (completion--insert-strings): Use it.
20959 (completion-pcm--delim-wild-regex): Add docstring.
20960 (completion-pcm--string->pattern): Add support for 0-width delimiters
20961 in completion-pcm--delim-wild-regex.
20963 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20965 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20966 Remove unused var `buffer-modified-p'.
20968 * minibuffer.el (completion--do-completion): Move point for the #b001
20969 case as well (bug#4176).
20970 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20972 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20974 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20975 and :session buses.
20977 2009-08-18 Kenichi Handa <handa@m17n.org>
20979 * international/ucs-normalize.el (ucs-normalize-version):
20981 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20982 (utf-8-hfs): Make it perform normalization on encoding too.
20984 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20985 (sentence-end-without-space): Delete duplicated chars.
20986 (sentence-end-base): Likewise.
20988 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20989 (html-mode): Delete duplicated chars from sentence-end-base.
20991 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20992 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20994 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20996 * files.el (hack-one-local-variable): If the mode function is for
20997 a minor mode, pass it an argument (Bug#4148).
20999 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21001 * net/tramp.el (tramp-register-completion-file-name-handler):
21002 Check also for (member 'partial-completion completion-styles).
21004 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21006 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21009 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21011 * progmodes/cperl-mode.el: Merge upstream 6.2.
21012 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21013 (cperl-forward-re): Check cperl-brace-recursing.
21014 (cperl-highlight-charclass): New function.
21015 (cperl-find-pods-heres): Use it.
21016 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21017 (cperl-beautify-regexp-piece): Fix column calculation.
21018 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21019 (cperl-beautify-level): Don't process entire regexp.
21020 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21022 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21023 (cperl-init-faces): Build a list in the normal way.
21025 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21027 * calendar/parse-time.el (parse-time-string-chars): Save match
21030 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21032 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21033 (sql-product): Use it.
21034 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21035 (sql-set-product): Add completion.
21036 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21037 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21038 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21039 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21040 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21041 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21042 (sql-highlight-db2-keywords): Remove.
21043 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21044 (sql-highlight-product): Use derived-mode-p.
21045 (sql-set-sqli-buffer): Use with-current-buffer.
21046 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21049 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21051 * term.el: Fix commenting convention, turn comments into docstrings.
21053 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21055 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21057 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21059 * calendar/parse-time.el (parse-time-string-chars): Compute using
21060 character classes, to handle non-ascii characters (Bug#3190).
21062 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21064 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21065 another heredoc if the user adds another < (Bug#3226).
21067 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21068 Don't initialize based on window-system (Bug#4124).
21070 * facemenu.el (facemenu-read-color): Use a completion function
21071 that accepts any defined color, such as RGB triplets (Bug#3677).
21073 * files.el (get-free-disk-space): Change fallback default
21074 directory to /. Expand DIR argument before switching to fallback.
21075 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21077 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21079 * files.el (load-library): Doc fix.
21081 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21083 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21084 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21085 incremental search string.
21087 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21090 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21091 (ediff-merge-region-is-non-clash)
21092 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21093 Also check if the job is really a merge job.
21095 * ediff.el (ediff-current-file): New function.
21097 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21099 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21101 (js-insert-and-indent): Delete function.
21102 (js-mode-map): Don't bind keys to js-insert-and-indent.
21103 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21104 (js-end-of-defun): Rename from js--end-of-defun.
21105 (js-auto-indent-flag): Delete variable.
21107 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21109 * progmodes/js.el: Remove proclaim statement.
21110 Defvar which-func-imenu-joiner-function to silence compiler.
21112 * files.el (auto-mode-alist): Use js-mode for .js files.
21114 * progmodes/js2-mode.el: Remove file.
21116 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21118 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21120 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21122 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21123 Karl Landstrom <karl.landstrom@brgeight.se>
21125 * progmodes/js.el: New file.
21127 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21129 * timezone.el (timezone-parse-date): Add ability to understand ISO
21130 basic format (minimal separators) dates in addition to the
21131 already-supported extended format dates.
21133 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21135 * international/ucs-normalize.el: Add a `coding' file variable.
21137 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21139 2009-08-14 Sam Steingold <sds@gnu.org>
21141 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21143 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21145 * faces.el (help-argument-name): Define it here instead of
21146 help-fns.el, because in daemon mode help-fns.el may be loaded when
21147 faces are still uninitialized (Bug#1078).
21149 * help-fns.el (help-argument-name): Move defface to faces.el.
21151 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21153 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21154 create buffer with a pty but no process so that GDB can make the
21155 inferior the controlling process.
21157 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21159 * international/ucs-normalize.el: New file.
21161 2009-08-13 Richard Stallman <rms@gnu.org>
21163 * mail/rmail.el (rmail-get-attr-names):
21164 Accept an attribute header that is too short.
21166 * mail/rmail.el (rmail-forget-messages):
21167 Ignore nil elt in rmail-message-vector. Use dotimes.
21169 * progmodes/compile.el (compilation-goto-locus):
21170 Use next-error-move-function.
21172 * simple.el (next-error-move-function): New variable.
21174 2009-08-12 Juri Linkov <juri@jurta.org>
21176 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21177 always non-nil. (Bug#4052)
21179 * replace.el (read-regexp): Return empty string when
21180 `default-value' is nil.
21181 (keep-lines-read-args): Don't use empty string as the
21182 default value for `read-regexp'. (Bug#2495)
21184 2009-08-12 Juri Linkov <juri@jurta.org>
21186 * international/mule-cmds.el (ucs-insert): Change arguments
21187 from `arg' to `character', `count', `inherit' to be the same
21188 as in `insert-char'. Doc fix. (Bug#4039)
21190 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21192 2009-08-12 Juri Linkov <juri@jurta.org>
21194 * files-x.el: New file.
21196 * files.el: Move code that deals with adding/deleting
21197 file/directory-local variables to files-x.el.
21199 * Makefile.in (ELCFILES): Add files-x.elc.
21201 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21203 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21204 to use `goto-line'.
21205 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21207 (gdb-invalidate-disassembly): Do not refresh upon receiving
21208 'update signal. Instead, update all disassembly buffers only after
21210 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21211 (gdb-starting): Move -data-list-register-names...
21212 (gdb-stopped): ...here so it's sent when first thread stops.
21213 (gdb-registers-handler-custom): Do nothing if register names are
21216 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21217 from `gdb-mi.el' to avoid extra tangling.
21219 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21220 change which breaks `gud-def' definitions used in `gdb'.
21221 (gdb-update-gud-running): No extra fuss for updating frame number.
21223 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21225 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21226 (describe-language-environment-map, setup-language-environment-map)
21227 (set-coding-system-map): Move initialization into declaration.
21228 (set-language-info-alist): Last arg to define-key-after can be skipped.
21230 * international/quail.el (quail-completion-1): Simplify.
21231 (quail-define-rules): Use slightly more compact code.
21232 (quail-insert-decode-map): Propertize keys, compact columns.
21234 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21237 2009-08-10 Miles Bader <miles@gnu.org>
21239 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21240 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21241 (js2-instance-member, js2-private-member, js2-private-function-call)
21242 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21243 (js2-magic-paren, js2-external-variable):
21244 Remove "-face" suffix from face names.
21245 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21246 (js2-highlight-undeclared-vars, js2-peek-token)
21247 (js2-parse-function-params, js2-mode-show-errors)
21248 (js2-mode-show-warnings, js2-make-magic-delimiter)
21249 (js2-mode-highlight-magic-parens): Update to use new face names.
21251 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21253 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21254 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21256 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21258 * subr.el: Provide hashtable-print-readable.
21260 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21261 hs-c-like-adjust-block-beginning.
21262 (hs-hide-block-at-point): Stop hiding at the beginning of
21263 hs-block-end-regexp (Bug#700).
21265 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21267 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21269 (gdb-registers-handler-custom): Do not fail when register names
21272 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21274 * progmodes/gdb-mi.el (gdb-control-all-threads)
21275 (gdb-control-current-thread): Interactive setters for
21276 `gdb-gud-control-all-threads' to use in menu.
21277 (gdb-show-run-p): Show «Go» when process is not active.
21278 (gud-tool-bar-map): Add non-stop/A,T indicator.
21279 Uses gud/thread.xpm and gud/all.xpm.
21281 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21283 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21284 (nslookup-font-lock-keywords): Make it a variable.
21285 (net-utils-mode): New mode for viewing diagnostic network output.
21286 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21287 (net-utils-run-simple): New function.
21288 (ifconfig, iwconfig, netstat, arp, route): Use it.
21290 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21292 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21293 (gdb-memory-set-address, def-gdb-set-positive-number)
21294 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21295 after changing settings.
21296 (gdb-invalidate-disassembly): Update when first shown.
21297 (gdb-edit-locals-value): Fix.
21298 (gdb-registers-handler-custom): Print registers in right order and
21299 allow changing register values (only for current thread yet).
21300 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21301 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21302 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21303 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21304 Thread info in mode name.
21305 (gdb-registers-mode-map): TAB to switch to locals.
21307 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21309 * mail/rmail.el (rmail-add-mbox-headers)
21310 (rmail-set-message-counters-counter): Search for
21311 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21313 2009-08-08 Glenn Morris <rgm@gnu.org>
21315 * Makefile.in (ELCFILES): Update.
21317 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21319 * mail/sendmail.el (mail-yank-original):
21320 Set buffer-file-coding-system from the one used by the message whose
21323 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21324 to "windows" when "pgnuplot" is used.
21325 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21326 Don't call accept-process-output if "pgnuplot" is used.
21327 (calc-graph-init): Don't send -display and -geometry to
21328 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21329 running "pgnuplot -V" with shell-command-to-string.
21331 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21334 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21336 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21339 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21341 * vc-dispatcher.el (vc-resynch-window): Update comment.
21343 * term.el (term-handle-ansi-escape): Add comments with the
21344 terminfo capabilities implemented.
21346 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21348 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21349 (gdb-var-create-handler): Rewritten using JSON parser.
21350 (gdb-propertize-header): Move earlier.
21351 (gdb-set-header): Remove to avoid duplication.
21352 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21353 Refresh disassembly buffers only after threads list have been
21355 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21358 2009-08-04 Juri Linkov <juri@jurta.org>
21360 * files.el: Commands to add/delete file/directory-local variables.
21361 (read-file-local-variable, read-file-local-variable-value)
21362 (read-file-local-variable-mode, modify-file-local-variable)
21363 (modify-file-local-variable-prop-line)
21364 (modify-dir-local-variable): New functions.
21365 (add-file-local-variable, delete-file-local-variable)
21366 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21367 (add-dir-local-variable, delete-dir-local-variable)
21368 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21369 (copy-dir-locals-to-file-locals-prop-line): New commands.
21371 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21373 * abbrev.el (insert-abbrev-table-description): Prettify output.
21374 Suggested by Karl Chen.
21376 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21378 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21379 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21380 (gdb-overlay-arrow-position, gdb-thread-position)
21381 (gdb-disassembly-position): Declare variables.
21382 (gdb-wait-for-pending): Function now.
21383 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21384 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21385 compilation goes smoothly.
21386 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21387 (gdb-non-stop-setting): New customization setting which replaces
21388 `gdb-non-stop' so changing it doesn't break active GDB session.
21389 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21390 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21391 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21392 (gdb-show-threads-by-default): New customization options.
21393 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21395 (gdb-get-buffer-create): Send buffers update signal when they are
21397 (gdb-invalidate-locals, gdb-invalidate-registers)
21398 (gdb-invalidate-breakpoints)
21399 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21400 (gdb-invalidate-memory): Accept update signal.
21401 (gdb-current-context-command): Use --frame option.
21402 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21403 Implement `gdb-frame-number' selection logic.
21404 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21405 whether to show GUD toolbar buttons.
21406 (gdb-thread-exited): Unselect current thread when it exits.
21407 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21408 (gdb-mark-line): Routine which sets overlay arrow or inverses
21409 video on fringeless displays.
21410 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21411 to build aligned columns of data in GDB buffers and set text
21412 properties line-by-line.
21413 (gdb-invalidate-breakpoints)
21414 (gdb-breakpoints-list-handler-custom)
21415 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21416 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21417 (gdb-registers-handler-custom): Align data columns.
21418 (gdb-locals-handler-custom): Now prints data like in variable
21420 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21421 Remove confusing buttons.
21422 (gdb-invalidate-threads): Append --frame.
21423 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21424 between breakpoints/threads buffers.
21425 (gdb-set-window-buffer): Now can ignore dedicated windows.
21426 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21427 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21428 (def-gdb-thread-buffer-gud-command): Replaces
21429 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21430 for fine thread control.
21431 (gdb-preempt-existing-or-display-buffer): New function used to
21432 display bound buffers without breaking window layout.
21433 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21434 (gdb-select-frame): New version of `gdb-frames-select' which now
21435 sets `gdb-frame-number' so commands may use --frame option instead
21436 of inner debugger state.
21437 (gdb-frame-handler): Do not set `gdb-frame-number'.
21438 (gdb-threads-mode-map): Select threads with mouse.
21440 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21441 avoid compilation warning.
21442 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21445 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21446 Argument `key' renamed to `buffer-type'.
21447 (gdb-current-context-buffer-name): Do not add thread info to
21448 buffer name when no thread is selected.
21449 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21450 command (bug 3794).
21451 (gdb-thread-selected): Handle `=thread-selected' notification.
21452 (gdb-wait-for-pending): New macro to deal with congestion problems.
21453 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21455 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21456 This fixes problem similar to one described in bug 3947.
21457 (gud-menu-map): More menu items.
21458 (gdb-init-1): Reset `gdb-thread-number' to nil.
21460 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21463 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21464 (gdb-current-context-command): Do not append --thread if
21465 `gdb-thread-number' is nil.
21466 (gdb-running-threads-count, gdb-stopped-threads-count):
21468 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21469 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21470 New customization options.
21471 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21473 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21474 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21475 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21476 set `gdb-thread-number' and update `gud-running' properly.
21477 (gdb-running): Update threads list when new threads appear.
21478 (gdb-stopped): Support non-stop operation and new thread switching
21480 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21481 (gdb-json-partial-output): New set of JSON routines.
21482 (def-gdb-auto-update-trigger): New `signal-list' optional
21484 (gdb-thread-list-handler-custom): Update `gud-running',
21485 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21486 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21487 (gdb-continue-thread, gdb-step-thread): New commands for fine
21488 thread execution control.
21489 (gud-menu-map): New menu items to switch non-stop options.
21490 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21491 (gdb-send): Mimic RET properly (bug 3794).
21493 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21494 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21496 (def-gdb-auto-update-handler): New nopreserve optional argument.
21497 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21499 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21500 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21501 (gdb-parent-mode): New mode to derive other GDB modes from.
21502 (gdb-display-disassembly-for-thread)
21503 (gdb-frame-disassembly-for-thread): New commands for threads
21506 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21507 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21508 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21509 (gdb-update): We now store all GDB buffers in a list so that they
21510 can be updated by traversing a list instead of calling invalidate
21511 triggers explicitly.
21512 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21513 pair for GDB buffer.
21514 (gdb-stack-buffer-name): Add thread information.
21515 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21516 handle pending triggers.
21517 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21518 (def-gdb-thread-buffer-simple-command)
21519 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21520 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21521 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21522 New commands which show buffers bound to thread.
21523 (gdb-stack-list-locals-regexp): Remove unused regexp.
21525 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21526 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21527 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21528 to (gud-comint-buffer) in *-buffer-name functions
21529 because (gdb-get-target-string) already does that.
21530 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21531 (gdb-changed-registers-handler): Rewritten without regexps.
21533 * progmodes/gdb-mi.el: Basic thread selection support.
21534 (gdb-thread-number): New variable.
21535 (gdb-current-context-command): New macro which adds --thread
21537 (gdb-threads-mode-map): Select thread with SPC.
21538 (gdb-thread-list-handler-custom): Mark current thread with overlay
21539 arrow. Synchronize GDB thread and Emacs thread.
21540 (gdb-select-thread): New command which selects current thread.
21541 (gdb-invalidate-frames, gdb-invalidate-locals)
21542 (gdb-invalidate-registers): Use --thread option.
21544 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21546 * net/tramp.el (top): Make check for tramp-gvfs loading more
21548 (tramp-handle-insert-file-contents): `unwind-protect' must be
21549 inside `with-parsed-tramp-file-name'.
21551 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21554 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21556 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21557 directory if CLASSPATH is not set.
21559 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21561 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21563 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21565 2009-08-02 Kevin Ryde <user42@zip.com.au>
21567 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21568 Update freshmeat link. Delete newsforge.com as it seems gone.
21570 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21572 * select.el (x-set-selection): Doc fix (Bug#4021).
21574 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21576 * help-fns.el (describe-variable): Treat list return values from
21577 dir-locals-find-file properly (Bug#4005).
21579 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21581 * net/tramp.el (tramp-debug-message): Print also microseconds.
21583 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21585 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21587 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21588 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21591 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21592 (tramp-get-file-property): Use it.
21594 * autorevert.el (auto-revert-handler):
21595 Allow `auto-revert-tail-mode' for remote files.
21597 2009-08-02 Jason Rumney <jasonr@gnu.org>
21599 * minibuffer.el (read-file-name): Treat confirm options to
21600 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21602 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21604 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21605 (font-lock-variable-name-face, font-lock-constant-face):
21606 Darken the colors for light backgrounds.
21608 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21610 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21611 month names. (Bug#3987)
21613 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21615 * simple.el (line-move-finish): Pass whole number to
21616 line-move-to-column.
21617 (line-move-visual): Perform hscroll to the recorded position.
21619 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21621 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21623 2009-07-29 Alan Mackenzie <acm@muc.de>
21625 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21627 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21629 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21630 (gdb-place-breakpoints): Use full path when setting breakpoints.
21632 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21634 * calc/calc.el (calc-mode-map): Add keybinding for
21635 `calc-transpose-lines'.
21637 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21639 * calc/calc-misc.el (calc-transpose-lines): New function.
21641 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21643 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21644 Simplify check for out-of-band methods.
21645 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21646 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21648 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21650 * vc-git.el (vc-git-checkin): Fix typo.
21652 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21654 * progmodes/js2-mode.el: New file.
21656 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21658 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21659 (gud-menu-map): Adjust tooltip accordingly.
21661 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21663 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21664 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21666 * add-log.el (change-log-mode-map): Add a menu.
21668 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21670 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21671 function returns nil.
21672 (dbus-handle-event): Handle special return value :ignore.
21673 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21675 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21677 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21680 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21684 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21686 * term/pc-win.el (x-display-name, x-colors)
21687 (x-select-enable-clipboard, x-select-text): Doc fix.
21689 * term/common-win.el (x-display-name, x-colors): Doc fix.
21691 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21692 (xw-defined-colors): Doc fix.
21694 * w32-fns.el (x-select-text, x-setup-function-keys)
21695 (x-get-selection, x-set-selection): Doc fix.
21697 * term/x-win.el (x-select-text, x-setup-function-keys)
21698 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21700 * select.el (x-set-selection): Doc fix.
21702 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21704 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21705 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21706 "IsNSSSupportAvailable" method is not available.
21707 Reported by Steve Youngs <steve@sxemacs.org>.
21709 2009-07-24 Kenichi Handa <handa@m17n.org>
21711 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21712 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21713 (build-unicode-category-table): Fix range checks.
21715 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21717 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21718 the buffer we try to sync is current when calling
21721 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21722 not show up to date files.
21724 2009-07-24 Glenn Morris <rgm@gnu.org>
21726 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21727 Add autoload cookies. If necessary, initialize.
21728 (elint-log): Handle non-file buffers.
21729 (elint-initialize): Add optional argument to reinitialize.
21730 (elint-find-builtin-variables): Save excursion.
21732 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21734 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21737 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21739 * vc.el (vc-print-log-internal): New function, split out from ...
21740 (vc-print-log): ... here.
21741 (vc-dir-move-to-goal-column): Declare.
21743 * vc-git.el (vc-git-add-signoff): New variable.
21744 (vc-git-checkin): Use it.
21745 (vc-git-toggle-signoff): New function.
21746 (vc-git-extra-menu-map): Bind it to menu.
21747 (vc-git--run-command-string): Accept a nil FILE argument.
21748 (vc-git-stash-list): New function.
21749 (vc-git-dir-extra-headers): Use it.
21751 2009-07-23 Glenn Morris <rgm@gnu.org>
21753 * help-fns.el (describe-variable): Describe ignored and risky local
21754 variables in a similar way to that in which we describe safe ones.
21756 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21757 (byte-compile-output-file-form, byte-compile-output-docform)
21758 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21759 Give some more local variables with common names a "bytecomp-" prefix,
21760 so as not to shadow things during compilation.
21761 * emacs-lisp/cl-macs.el (load-time-value)
21762 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21763 `outbuffer' to `bytecomp-outbuffer'.
21765 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21766 since the next two variables cover them automatically now.
21767 (elint-builtin-variables, elint-autoloaded-variables): New.
21768 (elint-unknown-builtin-args): Remove all members, since they can be
21769 parsed automatically now.
21770 (elint-extra-errors): New.
21771 (elint-env-add-env, elint-env-add-macro): Use cadr.
21772 (elint-current-buffer): Use or. Change final message.
21773 (elint-get-top-forms): Use line-end-position.
21774 (elint-init-env): Use cadr. Handle autoload, declare-function,
21776 (elint-add-required-env): Doc fix. Use or. Standardize error.
21777 (regexp-assoc): Remove unused function.
21778 (elint-top-form): Set elint-current-pos, to record the start of the
21779 top-level form, for compilation-mode.
21780 (elint-form): Trap errors in macro expansion. Use dolist.
21781 (elint-unbound-variable): Use elint-builtin-variables and
21782 elint-autoloaded-variables.
21783 (elint-get-args): Use cadr, or.
21784 (elint-check-cond-form): Use dolist, cadr.
21785 (elint-check-condition-case-form): Doc fix. Use cadr.
21786 Use elint-extra-errors.
21787 (elint-log): New function.
21788 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21789 Distinguish errors and warnings.
21790 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21791 Use a bytecomp-style format.
21792 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21793 (elint-get-log-buffer): Use compilation mode. Disable undo.
21794 Don't truncate lines.
21795 (elint-initialize): Set builtin and autoloaded variable lists.
21796 Only process elint-unknown-builtin-args if non-nil.
21797 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21799 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21801 2009-07-22 Kevin Ryde <user42@zip.com.au>
21803 * net/newst-backend.el (newsticker--parse-atom-1.0)
21804 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21805 (newsticker--parse-rss-1.0):
21806 * progmodes/idlwave.el (idlwave-mode):
21807 * progmodes/idlw-shell.el (idlwave-shell-mode):
21808 * progmodes/vera-mode.el (vera-mode):
21809 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21810 * progmodes/vhdl-mode.el (vhdl-mode):
21811 * textmodes/table.el (table-generate-source)
21812 (table--warn-incompatibility):
21813 Hyperlink urls in docstrings with URL `...'.
21815 2009-07-22 Glenn Morris <rgm@gnu.org>
21817 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21818 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21819 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21820 Remove leading * from defcustom docs.
21822 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21824 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21826 (list-load-path-shadows): Optionally, just return shadows as a string.
21828 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21830 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21832 * mail/rmailedit.el (rmail-edit-mode):
21833 Use auto-save-include-big-deletions.
21835 * mail/rmail.el (rmail-variables):
21836 Use auto-save-include-big-deletions.
21838 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21841 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21843 * calc/calc.el (calc-undo-length): New variable.
21844 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21846 2009-07-21 Richard Stallman <rms@gnu.org>
21848 * files.el (auto-save-mode): Handle buffer-save-size = -2
21851 2009-07-21 Glenn Morris <rgm@gnu.org>
21853 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21855 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21857 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21858 silence compiler. Instead...
21859 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21860 (ps-print-ensure-fontified): Update for above function name changes.
21862 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21863 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21864 silence compiler. Instead...
21865 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21866 (mh-show-buffer): Only define for compiler.
21867 (pr-mh-current-message): Update for above function name changes.
21869 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21871 (find-file-noselect, insert-file-1): Update for above change.
21873 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21875 * mail/mailclient.el (mailclient-send-it): Fix message.
21877 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21878 (edebug-eval): Check cl-debug-env is bound.
21879 (print-level, print-circle): Don't redefine built-in variables.
21881 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21882 (custom-print-vectors): Remove old comments from doc.
21884 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21885 (emerge-version): Make the variable an obsolete alias for the
21886 emacs-version variable. Make the function obsolete.
21887 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21888 Emerge options, rather than merging in into the main Options menu.
21889 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21890 and auto advance modes. Disable edit/fast items when not relevant.
21892 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21894 * term/vt420.el (terminal-init-vt420): Fix typo.
21896 2009-07-20 Sam Steingold <sds@gnu.org>
21898 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21899 variable (removed from compile.el on 2004-03-11).
21901 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21903 * files.el (hack-local-variables-filter): Fix last change.
21905 2009-07-19 Juri Linkov <juri@jurta.org>
21907 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21908 (dir-local-variables-alist): New buffer-local variable.
21909 (hack-local-variables-filter): If variable is not dir-local,
21910 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21911 because file-local overrides dir-local.
21912 (c-postprocess-file-styles) <declare-function>:
21913 Remove obsolete declaration.
21914 (hack-dir-local-variables): Add dir-local variable/value pair to
21915 `dir-local-variables-alist' and remove duplicates. Doc fix.
21917 * help-fns.el (describe-variable): Add information about
21918 file-local and dir-local variables.
21920 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21922 * files.el (hack-local-variables-filter): Rewrite.
21924 2009-07-19 Glenn Morris <rgm@gnu.org>
21926 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21927 Silence compiler by only defining on XEmacs.
21929 * international/mule.el (auto-coding-regexp-alist): Only match
21930 BABYL... at the start of buffer, not of lines. (Bug#3790)
21932 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21933 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21934 (cal-menu-context-mouse-menu): Doc fix.
21936 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21938 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21940 2009-07-18 Juri Linkov <juri@jurta.org>
21942 * info.el: Virtual Info keyword finder.
21943 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21944 (Info-finder-file): New variable.
21945 (Info-finder-find-file): New function.
21946 (finder-known-keywords, finder-package-info)
21947 (find-library-name, lm-commentary): Use defvar and
21948 declare-function to silence compiler warnings.
21949 (Info-finder-find-node): New function.
21950 (info-finder): New command.
21952 * subr.el (process-kill-buffer-query-function): New function.
21953 (add-hook)<kill-buffer-query-functions>: Add hook
21954 `process-kill-buffer-query-function'.
21956 2009-07-18 Alan Mackenzie <acm@muc.de>
21958 * progmodes/cc-mode.el (c-before-hack-hook)
21959 (c-postprocess-file-styles): Give invocation of `c-set-style'
21960 DONT-OVERRIDE parameter of t. Already set style variables will
21961 thus not be overridden by style settings given by `c-file-syle'.
21963 * files.el (hack-local-variables-filter): Remove entries with
21964 duplicate keys from `file-local-variables-alist'.
21966 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21968 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21969 x-set-selection if display-selections-p returns nil for the
21972 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21974 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21976 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21978 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21979 Accept nil in addition to a regexp.
21980 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21981 Accept nil in addition to a regexp.
21982 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21983 buffers that have an associated file. Handle nil values of
21984 desktop-buffers-not-to-save and desktop-files-not-to-save.
21987 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21988 (x-disown-selection-internal): New functions.
21990 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21992 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21994 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21995 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21997 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21999 * simple.el (set-mark): Revert last change.
22001 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22003 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22004 rendering of pngs is not possible instead of messaging a long
22007 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22009 * w32-fns.el (x-selection-owner-p): New function.
22011 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22012 (mouse-yank-at-click, mouse-yank-primary):
22013 If select-active-regions is non-nil, deactivate the mark before
22016 * simple.el (deactivate-mark, set-mark): Only save selection if we
22019 2009-07-17 Kenichi Handa <handa@m17n.org>
22021 * case-table.el (describe-buffer-case-table): Fix for the case
22022 that KEY is a cons.
22024 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22026 * vc-rcs.el (vc-rcs-find-file-hook):
22027 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22029 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22031 * net/tramp.el (tramp-wait-for-output): Handle the case when
22032 commands do not return a newline but a null byte before the shell
22035 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22037 * term/ns-win.el (ns-set-alpha): Don't declare.
22038 (ns-set-background-alpha): Remove function.
22040 2009-07-16 Kevin Ryde <user42@zip.com.au>
22042 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22043 y-or-n-p, for safety.
22045 2009-07-16 Richard Stallman <rms@gnu.org>
22047 * files.el (auto-save-mode): If buffer-saved-size is -2,
22050 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22051 (rmail-retry-ignored-headers): Add more uninteresting fields.
22053 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22055 * net/rcirc.el (rcirc): Use history variables.
22056 (rcirc-server-name-history, rcirc-nick-name-history)
22057 (rcirc-server-port-history): New variables.
22059 2009-07-15 Kenichi Handa <handa@m17n.org>
22061 * international/mule-cmds.el (set-language-environment-charset):
22062 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22065 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22066 Delete unibyte-display.
22068 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22070 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22072 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22074 * simple.el (deactivate-mark): Optional argument FORCE.
22075 (set-mark): Use deactivate-mark.
22077 * info.el (Info-search): No need to check transient-mark-mode
22078 before calling deactivate-mark.
22080 * select.el (x-set-selection): Doc fix.
22081 (x-valid-simple-selection-p): Allow buffer values.
22082 (xselect--selection-bounds): Handle buffer values.
22083 Suggested by David De La Harpe Golden.
22085 * mouse.el (mouse-set-region, mouse-drag-track):
22086 Call copy-region-as-kill before setting the mark, to let
22087 select-active-regions work.
22089 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22091 * simple.el (deactivate-mark): If select-active-regions is
22092 non-nil, copy the selection data into a string.
22093 (activate-mark): If select-active-regions is non-nil, set the
22094 selection to the current buffer.
22095 (set-mark): Update selection if select-active-regions is non-nil.
22097 * select.el (x-valid-simple-selection-p): Allow buffer values.
22099 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22101 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22102 and more featureful message-mode.
22104 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22106 * select.el (x-set-selection): Doc fix.
22107 (x-valid-simple-selection-p): Disallow selection data consisting
22108 of a list or cons of integers, since that is not used.
22109 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22110 (xselect-convert-to-string, xselect-convert-to-length)
22111 (xselect-convert-to-filename, xselect-convert-to-charpos)
22112 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22114 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22116 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22117 output in -break-info command (Emacs bug #3794).
22119 2009-07-14 Glenn Morris <rgm@gnu.org>
22121 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22122 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22123 (edebug-print-length, edebug-print-level, edebug-print-circle)
22124 (edebug-sit-for-seconds, edebug-view-outside)
22125 (edebug-bounce-point, edebug-set-global-break-condition)
22126 (edebug-Go-nonstop-mode, edebug-trace-mode)
22127 (edebug-Trace-fast-mode, edebug-continue-mode)
22128 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22129 (edebug-visit-eval-list): Doc fixes.
22131 * subr.el (def-edebug-spec): Doc fix.
22133 2009-07-14 Kenichi Handa <handa@m17n.org>
22135 * international/characters.el: Fix setting of category ?C.
22137 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22139 * term/ns-win.el (x-select-font): defalias x-select-font to
22140 ns-popup-font-panel instead of generate-fontset-menu.
22142 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22144 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22146 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22148 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22149 the PK\003\004 header (Bug#3770).
22151 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22153 * pcomplete.el (pcomplete-comint-setup): Check for
22154 shell-dynamic-complete-filename too.
22156 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22158 * simple.el (temporary-goal-column): Change the value for
22159 line-move-visual to a cons cell.
22160 (line-move-visual): Record or set the window hscroll, if
22161 necessary (Bug#3494).
22162 (line-move-1): Handle cons value of temporary-goal-column.
22164 2009-07-11 Kenichi Handa <handa@m17n.org>
22166 * international/mule-diag.el (describe-character-set): Don't show
22169 2009-07-10 Sam Steingold <sds@gnu.org>
22171 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22172 Omake sometimes indents the errors it prints, so allow all
22173 regexps to start with spaces.
22175 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22177 * cus-edit.el (customize-changed-options-previous-release):
22178 Bump value to 22.1. (Bug#3804)
22180 2009-07-08 Sam Steingold <sds@gnu.org>
22182 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22183 to be a cons cell (test . ignored-directory) to selectively ignore
22184 some directories depending on the location of the search.
22186 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22188 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22189 remote user is root, on the local host.
22190 (tramp-local-host-p): Either the local user or the remote user
22191 must be root. (Bug#3771)
22193 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22195 * progmodes/gdb-mi.el (gdb): Remove description of
22196 gdb-use-separate-io-buffer.
22197 (menu): Don't allow toggling of or enable
22198 gdb-use-separate-io-buffer from menubar.
22200 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22202 * mail/unrmail.el (unrmail): Make sure the message ends with two
22203 newlines (Bug#3769).
22205 2009-07-08 Glenn Morris <rgm@gnu.org>
22207 * calendar/calendar.el (calendar-current-date): Rework previous change.
22209 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22211 * calendar/calendar.el (calendar-current-date):
22212 Add an optional argument giving an offset from today.
22214 2009-07-08 Glenn Morris <rgm@gnu.org>
22216 * tutorial.el (tutorial--describe-nonstandard-key):
22217 Adjust the message for when a key has been unbound.
22218 (help-with-tutorial): Hide the arch-tag.
22220 2009-07-08 Kenichi Handa <handa@m17n.org>
22222 * international/fontset.el (setup-default-fontset): For each
22223 script, append (not set) font-specs.
22225 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22228 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22230 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22231 -data-list-register-names to ...
22232 (gdb-starting): ... here because GDB 7.0 requires execution to
22233 have started when using this MI command.
22234 (gdb-set-header): New function to distinguish select and
22235 unselected tabs in gdb buffers.
22236 (gdb-propertize-header): New macro that uses gdb-set-header.
22237 (gdb-breakpoints-header, gdb-locals-header): Use it.
22238 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22240 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22242 * Makefile.in (ELCFILES): Remove fadr.elc.
22244 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22246 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22247 may contain frame information, so `string-match' should be used.
22248 (gdb-update): Disassembly is invalidated through
22249 `gdb-get-selected-frame'.
22250 (gdb-pad-string): New function to pad string with spaces.
22251 (gdb-invalidate-disassembly): Invalidate only if the buffer
22253 (gdb-disassembly-handler-custom): Column alignment.
22254 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22256 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22258 (gdb-frame-handler): Match convention to for disassembly buffer
22260 (gdb-stack-list-frames-handler): Rewritten without regexps.
22261 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22262 not highlight breakpoints without line information.
22263 (gdb-input): Add trailing newline to command.
22265 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22267 (gdb-breakpoints-list-handler-custom): Replacement for
22268 `gdb-break-list-handler'. Using real parser instead of regexps
22270 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22271 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22272 to place breakpoints.
22273 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22275 (gdb-disassembly-handler-custom): Show overlay arrow.
22276 (gdb-disassembly-place-breakpoints): Show breakpoints in
22277 disassembly buffer.
22278 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22279 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22280 instead of parsing breakpoints buffer. Fixed old menu references
22285 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22286 (gdb-memory-address): New variable which holds top address of
22287 memory page shown in memory buffer.
22288 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22289 New customization variables.
22291 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22292 display the memory buffer.
22293 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22294 buffer display parameters.
22295 (def-gdb-memory-format, gdb-memory-format-binary)
22296 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22297 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22298 Functions for setting memory buffer format.
22299 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22300 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22301 unit size used in memory buffer.
22302 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22303 Switch to next/previous page of memory buffer.
22304 Now using (bindat-get-field) instead of fadr functions.
22306 2009-07-07 Sam Steingold <sds@gnu.org>
22308 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22309 non-top-level files.
22311 2009-07-07 Kenichi Handa <handa@m17n.org>
22313 * international/mule-cmds.el (reset-language-environment):
22314 Put the highset priority to the charset iso-8859-1.
22316 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22318 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22319 to the end of the line when locating the block (Bug#700).
22321 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22323 * net/tramp.el (tramp-handle-write-region): Flush file properties
22324 in case of short track.
22326 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22328 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22329 Coded custom representation of verilog error regular expressions
22330 to work with Emacs-22's new format.
22331 (verilog-error-regexp-xemacs-alist): Coded custom representation
22332 of verilog error regular expressions to work with XEmacs format.
22333 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22334 error recognition into XEmacs.
22335 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22336 error recognition into Emacs-22.
22338 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22340 * woman.el: Remove stand-alone closing parentheses.
22341 (woman-file-name, woman2-format-paragraphs)
22342 (woman-leave-blank-lines): Code cleanup.
22343 (woman-use-own-frame): Change default to nil.
22344 (woman-italic, woman-bold, woman-unknown, woman-addition):
22345 Change defaults to inherit from default faces.
22346 (woman2-process-escapes): Consume the newline after a stand-alone
22347 filler character (Bug#3651).
22349 2009-07-06 Glenn Morris <rgm@gnu.org>
22351 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22352 (top-level): Move provide to the end.
22353 (ffap): Remove defunct URL from custom group.
22355 * subr.el (eval-after-load): Doc fix.
22357 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22359 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22360 `calc-embedded-word' is called twice.
22362 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22364 * files.el (find-alternate-file-other-window, find-alternate-file):
22365 Obey confirm-nonexistent-file-or-buffer.
22367 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22369 * dired-aux.el (dired-show-file-type): Handle remote files.
22371 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22373 * desktop.el (desktop-globals-to-save):
22374 Add file-name-history (Bug#2750).
22376 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22378 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22380 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22382 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22383 property on entire argument since this is what eshell-lisp-command
22386 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22388 * net/tramp-gvfs.el (tramp-gvfs-methods)
22389 (tramp-gvfs-zeroconf-domain)
22390 (tramp-bluez-discover-devices-timeout): Add version flag.
22391 (tramp-gvfs-handler-mounted-unmounted)
22392 (tramp-gvfs-connection-mounted-p): Polish handling of
22393 incompatibilities between GVFS 0.2 and 1.0.
22395 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22397 * cus-start.el (all): Add make-pointer-invisible.
22399 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22401 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22402 formatted correctly.
22404 2009-07-02 Juri Linkov <juri@jurta.org>
22406 * info.el: Virtual Info files and nodes.
22407 (Info-virtual-files, Info-virtual-nodes): New variables.
22408 (Info-current-node-virtual): New variable.
22409 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22411 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22412 to check for a virtual file instead of checking a fixed list
22414 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22415 instead of ad-hoc processing of "dir" and (apropos history toc).
22416 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22417 instead of ad-hoc processing of "dir" and (apropos history toc).
22418 Reread a file when moving from a virtual node.
22419 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22420 (Info-directory-toc-nodes, Info-directory-find-file)
22421 (Info-directory-find-node): New functions.
22422 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22423 (Info-history): Move part of code to
22424 `Info-history-find-node'.
22425 (Info-history-toc-nodes, Info-history-find-file)
22426 (Info-history-find-node): New functions.
22427 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22428 (Info-toc): Move part of code to `Info-toc-find-node'.
22429 (Info-toc-find-node): New function.
22430 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22431 the current Info file name to references because now the node
22432 "*TOC*" belongs to the same Info manual.
22433 (Info-toc-build): Rename from `Info-build-toc'.
22434 (Info-toc-nodes): Rename input argument `file' to `filename'.
22435 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22436 instead of ad-hoc processing of ("dir" apropos history toc).
22437 (Info-index-nodes): Use Info-virtual-file-p
22438 to check for a virtual file instead of checking a fixed list
22440 (Info-index-node): Add check for `Info-current-node-virtual'.
22441 Raise `save-match-data' higher up the tree to contain
22442 `search-forward' too (bug fix).
22443 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22444 (Info-virtual-index-nodes): New variable.
22445 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22446 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22447 (Info-apropos-file, Info-apropos-nodes): New variables.
22448 (Info-apropos-toc-nodes, Info-apropos-find-file)
22449 (Info-apropos-find-node, Info-apropos-matches): New functions.
22450 (info-apropos): Move part of code to `Info-apropos-find-node' and
22451 `Info-apropos-matches'.
22452 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22453 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22454 for a virtual file instead of checking a fixed list of node names.
22456 * simple.el (async-shell-command): New command.
22458 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22460 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22461 instead of `mount-info'.
22463 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22465 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22466 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22468 2009-07-02 Kenichi Handa <handa@m17n.org>
22470 * international/mule.el (set-keyboard-coding-system): Force *-unix
22471 coding-system to avoid eol conversion.
22473 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22475 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22476 Add handler for `process-file', `shell-command' and
22477 `start-file-process'.
22478 (tramp-gvfs-handle-shell-command)
22479 (tramp-gvfs-handle-start-file-process)
22480 (tramp-gvfs-handle-process-file): New defuns.
22481 (tramp-synce-list-devices): Simplify check for existence of property.
22483 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22485 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22487 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22489 * language/korean.el (set-language-info-alist): Add korean-cp949,
22492 2009-07-01 Kenichi Handa <handa@m17n.org>
22494 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22496 * international/encoded-kb.el: Deleted.
22498 * international/mule.el (set-keyboard-coding-system): Perform the
22499 necessary setup here instead of calling encoded-kbd-setup-display.
22501 2009-07-01 Glenn Morris <rgm@gnu.org>
22503 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22505 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22507 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22509 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22511 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22512 Handle also the 'rename case, when setting file modes. (Bug#3712)
22513 (tramp-default-file-modes): Remove execute permissions.
22515 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22516 (top): Add a default for "synce" in `tramp-default-user-alist'.
22517 Add completion function for "synce" method.
22518 (tramp-hal-service, tramp-hal-path-manager)
22519 (tramp-hal-interface-manager, tramp-hal-interface-device):
22521 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22522 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22525 * net/trampver.el: Update release number.
22527 2009-06-30 Kenichi Handa <handa@m17n.org>
22529 * international/fontset.el (setup-default-fontset): Add CJK fonts
22530 for symbols and the other miscellaneous characters.
22532 * language/korea-util.el (setup-korean-environment-internal):
22533 Make char-width-table suitable for Korean environments.
22534 (exit-korean-environment): Cancel above.
22536 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22537 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22538 setup-function to make char-width-table suitable for respective
22539 environments, and an exit-function to cancel that.
22541 * language/japan-util.el (setup-japanese-environment-internal):
22542 Call use-cjk-char-width-table with arg `ja_JP'.
22544 * international/characters.el (cjk-char-width-table): Delete it.
22545 (cjk-char-width-table-list): New variable.
22546 (use-cjk-char-width-table): New arg local-name.
22547 (use-default-char-width-table): Fix for the case that Emacs is
22548 already using the default char-width-table.
22550 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22552 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22553 modes mandatory. (Bug#3712)
22555 2009-06-29 Alan Mackenzie <acm@muc.de>
22557 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22558 correction between the visible width of TABs and their number of bytes.
22560 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22562 * server.el (server-buffer-done): Prevent kill-buffer from
22563 prompting by clearing the buffer modification flag (Bug#3696).
22565 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22567 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22568 (verilog-endcomment-reason-re): Support unique case and priority case.
22569 (verilog-basic-complete-re): Support localparam lineup.
22570 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22571 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22573 (verilog-leap-to-case-head): Now support *nested* unique &
22574 priority case statements.
22575 (verilog-auto-lineup): Make just declarations the default (as it
22577 (verilog-leap-to-case-head): Support priority/unique case statements.
22578 (verilog-auto-lineup): Rework to give users radio buttons to
22579 select the various styles of automatic lineup.
22580 (verilog-error-regexp-alist): Rework to support the XEmacs style
22581 of error regular expressions from compilers, lint tools &
22582 simulators. Note that GNU Emacs has made it impossible for a mode
22583 to load such things.
22584 (electric-verilog-terminate-line, verilog-indent-declaration)
22585 (verilog-auto-wiure): Rework for radio button selection of
22586 auto-lineup selection of specification of auto lineup.
22587 (verilog-beg-of-statement-1): Redesign to support proper operation
22588 in additional code, based on testing with auto-lineup.
22589 (verilog-calculate-indent, assignments & declarations)
22590 (verilog-backward-token): Enhance to support auto-lineup of
22591 assignments & declarations.
22592 (verilog-in-directive-p, verilog-at-struct-p): New function for
22593 easy test of whether we are.
22594 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22595 to support safe execution at almost anyline.
22596 (verilog-calc-1): Properly support indenting deep inside generate
22598 (verilog-init-font): Remove definition & use of verilog-init-font,
22599 as it is redundant with font-lock-defaults.
22600 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22601 to avoid circular calls if syntax-ppss is a function (as is the
22602 case now in 22.x GNU Emacs) as that function would sometimes call
22603 itself, leading to (nearly) infinite recursion.
22604 (verilog-ovm-begin-re, verilog-ovm-end-re)
22605 (verilog-ovm-statement-re, verilog-leap-to-head)
22606 (verilog-backward-token): Add support for OVM macros. Some are
22607 complete statements, and others open and close scopes like begin
22609 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22610 (verilog-defun-level-generate-only-re): Really fix the defun-list
22612 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22613 coverpoint, constraint and cross statements.
22614 (verilog-defun-level-list, verilog-generate-defun-level-list)
22615 (verilog-all-defun-level-list): Redo these specifications - it is
22616 too hard to support eval-when compile aggregation of lists also
22617 built at when-compile time.
22618 (verilog-defun-level-list): Place defconsts of variables used in
22619 building regular expressions which are built in eval-when-compile
22620 bodies in the same eval-when-compile body to facilitate compile
22622 (verilog-beg-block-re-ordered): Support indenting
22623 virtual/protected tasks and functions.
22624 (verilog-defun-level-list, verilog-in-generate-region-p)
22625 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22626 indentation of some module items (generate items).
22627 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22628 across virtual/protected tasks and functions.
22630 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22632 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22633 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22634 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22635 in concatenations. Reported by Yishay Belkind.
22636 (verilog-auto-ascii-enum): Support one-hot state machines in
22637 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22638 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22639 modport in AUTOINST and add vl-modport for users.
22640 Reported by David Rogoff.
22641 (verilog-auto-inout-module, verilog-auto-inst)
22642 (verilog-decls-get-interfaces, verilog-insert-definition)
22643 (verilog-insert-one-definition, verilog-read-decls)
22644 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22645 (verilog-sig-modport, verilog-signals-combine-bus)
22646 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22647 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22648 Suggested by David Rogoff.
22649 (verilog-repair-open-comma): Fix non-insertion of comma when
22650 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22651 (verilog-make-width-expression): Simplify [A-1:0] expression
22652 widths to just {A{1'b0}}.
22653 (verilog-mode): Cleanup checkdoc warnings.
22654 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22655 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22656 inputs/outputs or data type. Suggested by Vasu Kandadi.
22657 (next-error-last-buffer): Fix byte-compiler warning.
22658 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22659 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22660 or shell command text during AUTO expansion. Suggested by Tad Truex.
22661 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22662 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22663 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22664 in AUTOINOUT. Reported by Matthew Lovell.
22665 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22666 causing use of <= assignments. Reported by Alex Reed.
22667 (verilog-read-decls): Fix triand, trior, wand, wor to be
22668 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22669 (verilog-extended-complete-re): Support import "DPI-C" functions.
22670 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22671 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22672 (verilog-insert-date, verilog-insert-year)
22673 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22674 Windows systems. Reported by Michael Potts.
22675 (verilog-read-module-name): Fix AUTOINST when the child module
22676 declaration's name is a tick define. Reported by Elliot Mednick.
22677 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22678 passed to next parameter's definition. Reported by Bruce T.
22679 (verilog-read-decls): Fix detecting "parameter int" when using
22680 AUTOINSTPARAM. Reported by Bruce T.
22681 (verilog-goto-defun): Fix goto not finding modules unless first
22682 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22683 (verilog-mode): Expand -f flag arguments on entry to mode so
22684 verilog-goto-defun will work. Reported by Lawrence Butcher.
22685 (verilog-getopt): Expand environment variables in -f file
22686 arguments. Suggested by Lawrence Butcher.
22687 (verilog-set-define): Fix "Symbol's value as variable is void"
22688 when reading enumerations.
22689 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22690 Suggested by Stephen Peltan.
22691 (verilog-read-defines): Fix reading of enumerations in include
22692 files. Reported by Steve Peltan.
22694 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22696 * files.el (trash-directory): Fix defcustom type.
22698 2009-06-28 Juri Linkov <juri@jurta.org>
22700 * help-fns.el (describe-function-1): Correctly locate adviced
22701 functions in hyperlink (Bug#2438).
22703 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22705 * files.el (trash-directory): Change default to nil.
22706 (move-file-to-trash): If trash-directory is nil and
22707 system-move-file-to-trash is unbound, perform freedesktop-style
22710 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22712 * files.el (move-file-to-trash): Add freedesktop trash
22715 2009-06-28 Glenn Morris <rgm@gnu.org>
22717 * autorevert.el (global-auto-revert-non-file-buffers)
22718 (global-auto-revert-mode): Doc fixes.
22720 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22722 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22724 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22726 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22727 opened an X connection before calling x-get-resource (Bug#3194).
22729 * play/doctor.el: Remove reference to obsolete website.
22730 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22732 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22734 Remove find-file-not-found-hook VC method. (Bug#2757)
22735 * vc-hooks.el (vc-file-not-found-hook)
22736 (vc-default-find-file-not-found-hook): Remove functions.
22737 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22738 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22741 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22743 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22745 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22746 compatibility function for `looking-back'.
22748 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22749 Use `ispell-looking-back'.
22751 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22753 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22754 rather than `filename'.
22756 2009-06-23 Miles Bader <miles@gnu.org>
22758 * face-remap.el (text-scale-set): New function.
22760 2009-06-23 Glenn Morris <rgm@gnu.org>
22762 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22764 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22766 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22768 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22770 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22771 Simplify Persian conditionals.
22773 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22774 variable `filename'.
22776 * comint.el (comint-insert-input): Doc fix.
22778 * Makefile.in (ELCFILES): Fix typo in previous change.
22780 2009-06-23 Miles Bader <miles@gnu.org>
22782 * cus-start.el: Add entry for `recenter-redisplay'.
22784 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22786 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22787 Add an optional argument for the backend, use it instead of
22788 calling vc-backend.
22789 (vc-mode-line): Add an optional argument for the backend.
22790 Pass the backend to vc-state and vc-working-revision. Move code for
22791 special handling for vc-state being a buffer to ...
22793 * vc-rcs.el (vc-rcs-find-file-hook):
22794 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22796 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22797 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22798 vc-stay-local-p and vc-mode-line calls.
22800 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22801 (vc-cvs-diff, vc-cvs-annotate-command)
22802 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22803 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22804 vc-mode-line calls.
22806 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22808 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22809 backend when calling vc-mode-line.
22810 (vc-register): Do not create a closure for calling the vc register
22811 function, call it directly.
22813 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22815 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22816 to make it obvious item can be clicked.
22818 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22820 2009-06-23 Kenichi Handa <handa@m17n.org>
22822 * language/korea-util.el (korean-key-bindings): Change the binding
22823 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22826 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22828 Sync with Tramp 2.1.16.
22830 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22832 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22833 when a loading of a package fails. Completion function for rsync
22834 is `tramp-completion-function-alist-ssh'.
22835 (all): Replace all calls of `split-string' and
22836 `tramp-split-string' by `tramp-compat-split-string'.
22837 (tramp-default-method): Use `tramp-compat-process-running-p'.
22838 (tramp-default-proxies-alist): Allow also Lisp forms.
22839 (tramp-remote-path): Add choice "Private Directories".
22840 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22841 (tramp-domain-regexp): Allow also "-", "_" and ".".
22842 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22843 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22844 (tramp-debug-message): Insert header line in debug buffer.
22845 (tramp-handle-directory-files-and-attributes-with-stat):
22846 Care about filenames with spaces, or starting with "-".
22847 (tramp-handle-dired-uncache): New defun.
22848 (tramp-handle-insert-directory): Don't flush the directory from
22849 cache, this is handled by `dired-uncache' now.
22850 (tramp-handle-insert-file-contents): Improve error handling.
22851 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22852 Quote `tramp-end-of-output'.
22853 (tramp-action-password): Improve trace message.
22854 (tramp-check-for-regexp): Both echoes must be present, before removing.
22855 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22856 (tramp-compute-multi-hops): Eval cons cells of
22857 `tramp-default-proxies-alist'.
22858 (tramp-maybe-open-connection): Use the same command pattern for
22859 first hop and further hops.
22860 (tramp-wait-for-output): Remove handling of newlines.
22861 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22862 (tramp-split-string): Remove function. It is handled in
22865 * net/tramp-cmds.el (tramp-bug):
22866 Recommend `tramp-cleanup-all-connections' in the bug mail.
22868 * net/tramp-compat.el (tramp-compat-split-string)
22869 (tramp-compat-process-running-p): New defuns.
22871 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22872 for `dired-uncache'.
22874 * net/tramp-gvfs.el: New package.
22876 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22877 Add handler for `dired-uncache'.
22878 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22880 * net/trampver.el: Update release number. Make version check fit
22883 2009-06-22 Jim Meyering <meyering@redhat.com>
22885 Automatically handle .xz suffix (XZ-compressed files), too.
22886 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22887 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22889 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22890 Nick Roberts <nickrob@snap.net.nz>
22892 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22893 repository (http://sphinx.net.ru/hg/gdb-mi/).
22895 2009-06-22 Glenn Morris <rgm@gnu.org>
22897 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22898 `mode' and `eval' entries. (Bug#3430)
22900 * Makefile.in (ELCFILES): Add fadr.elc.
22902 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22903 differing behavior of \n and ^ in strings. (Bug#3385)
22905 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22907 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22909 (lisp-indent-function): Make it a defcustom.
22911 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22913 * progmodes/gdb-ui.el: Replace with ...
22914 * progmodes/gdb-mi.el: ... this file.
22915 * progmodes/gud.el: Modify for gdb-mi.el.
22917 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22919 * fadr.el: New file.
22921 See ChangeLog.14 for earlier changes.
22923 ;; Local Variables:
22927 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22929 This file is part of GNU Emacs.
22931 GNU Emacs is free software: you can redistribute it and/or modify
22932 it under the terms of the GNU General Public License as published by
22933 the Free Software Foundation, either version 3 of the License, or
22934 (at your option) any later version.
22936 GNU Emacs is distributed in the hope that it will be useful,
22937 but WITHOUT ANY WARRANTY; without even the implied warranty of
22938 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22939 GNU General Public License for more details.
22941 You should have received a copy of the GNU General Public License
22942 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.