1 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
5 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
7 * net/trampver.el: Update release number.
9 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
11 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
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.
31 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
33 * help-fns.el (describe-variable): Don't complete keywords.
34 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
36 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
38 * emacs-lisp/package.el (package-version-join): Impose a standard
39 string representation for pre/alpha/beta version lists.
40 (package-unpack-single): Standardize the directory name by passing
41 it through package-version-join.
42 (package-strip-rcs-id): Accept any version string that does not
43 signal an error in version-to-list.
45 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
47 * simple.el (delete-trailing-whitespace): Return nil for the
48 benefit of `write-file-functions'.
50 2011-03-10 Glenn Morris <rgm@gnu.org>
52 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
54 * vc/vc-git.el (vc-git-program): New option.
55 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
56 (vc-git--call): Use it.
58 * eshell/esh-util.el (eshell-condition-case): Doc fix.
60 * cus-edit.el (Custom-newline): If no button at point, look
61 for a subgroup button at start-of-line. (Bug#2298)
63 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
65 2011-03-10 Julien Danjou <julien@danjou.info>
67 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
70 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
72 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
74 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
76 * allout.el Summary: Change so yank of distinctive-bullet items
77 preserves the existing header prefix, rebulleting it if necessary,
78 rather than replacing it. This is necessary for proper operation
79 of cooperative addons like allout-widgets.
80 (allout-make-topic-prefix) (allout-rebullet-heading): Change
81 SOLICIT arg to INSTEAD, and interpret additionally a string value
82 as alternate bullet to be used, instead of prompting the user for
85 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
87 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
88 not use `tramp-file-name-port', because this returns also
91 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
93 * net/rcirc.el (rcirc-handler-001): Remove useless
94 with-rcirc-process-buffer.
95 (rcirc-check-auth-status): Swap arguments to string-match.
97 2011-03-09 Glenn Morris <rgm@gnu.org>
99 * shell.el (shell-mode):
100 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
102 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
103 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
105 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
107 * emacs-lisp/package.el (package-refresh-contents)
108 (package-menu-execute): Use condition-case-no-debug.
110 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
112 * simple.el (shell-command-to-string): Use `process-file'.
114 * emacs-lisp/package.el (package-tar-file-info): Handle also
117 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
118 `equal' for upload base check.
120 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
122 * textmodes/texinfo.el (texinfo-environments):
123 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
125 2011-03-08 Glenn Morris <rgm@gnu.org>
127 * cus-start.el (cursor-in-non-selected-windows):
128 Fix :set quoting oddness. (Bug#8192)
130 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
131 in some setf expressions. (Bug#2159)
133 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
135 * custom.el (custom-available-themes): Return themes in
138 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
140 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
141 application of patch from Alan Mackenzie (Bug#7595).
143 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
145 * net/rcirc.el (rcirc-connect): Fix PASS bug.
147 2011-03-07 Glenn Morris <rgm@gnu.org>
149 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
150 Give an explicit error if failed to make writable. (Bug#6146)
152 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
154 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
155 Add optional `after-sunset' argument. (Bug#8190)
157 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
159 * play/morse.el (nato-alphabet, nato-region, denato-region):
160 New variable and functions. (Bug#2288)
161 (morse-region, unmorse-region): Barf if read-only.
163 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
165 * progmodes/gud.el (gdb-script-syntax-propertize-function):
166 Don't change the syntax of a \n that closes a comment (bug#8169).
168 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
170 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
172 (package--update-file): Doc fix. Accept relative file names.
173 (package--archive-contents-from-file): Remove the argument, since
174 it's necessarily always "archive-contents".
175 (package-maint-add-news-item): Pass relative file name args to
176 package--update-file.
177 (package-upload-buffer-internal): Prompt for a destination if
178 package-archive-upload-base is invalid. Create the directory if
180 (package-upload-buffer, package-upload-file): Doc fix.
182 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
184 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
185 and move isearch-yank-line to M-s C-e (Bug#8183).
187 2011-03-06 Alan Mackenzie <acm@muc.de>
189 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
190 (c-guess-basic-syntax): Move CASE 19 to a different place,
191 correctly to process template-args-cont lines.
193 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
195 * calc/calc-ext.el (calc-init-extensions):
196 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
197 and calc-nplevel, respectively. Add keybindings for calc-spn,
198 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
199 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
201 * calc/calc-units.el (calc-dblevel): Rename from
202 calc-logunits-dblevel.
203 (calc-nplevel): Rename from calc-logunits-nplevel.
204 (math-midi-round, math-freqp, math-midip, math-spnp)
205 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
206 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
207 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
208 (math-notes): New variable.
210 * calc/calc.el (calc-note-threshold): New variable.
212 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
214 * emacs-lisp/package.el (package-archives): Accept either ordinary
215 directory names, in addition to HTTP URLs.
216 (package--with-work-buffer): New macro. Handle normal directories.
217 (package-handle-response): Don't display the failing buffer.
218 (package-download-single, package-download-tar)
219 (package--download-one-archive): Use package--with-work-buffer.
220 (package-archive-base): Rename from package-archive-url.
222 2011-03-06 Glenn Morris <rgm@gnu.org>
224 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
225 (xmodmap-generic-mode): Respect generic-extras-enable-list.
227 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
229 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
231 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
233 * allout.el (allout-init, allout-prefixed-keybindings)
234 (allout-unprefixed-keybindings):
235 * progmodes/prolog.el (prolog-find-term):
236 Fix typos in docstrings.
238 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
240 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
242 2011-03-06 Kevin Ryde <user42@zip.com.au>
244 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
246 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
248 * window.el (one-window-p, walk-windows, display-buffer):
249 Doc fixes. (Bug#5567)
251 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
253 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
254 of the variable if it exists.
256 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
263 * net/tramp-cache.el:
264 * obsolete/fast-lock.el:
265 * textmodes/reftex.el:
266 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
268 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
270 * files.el (delete-directory, copy-directory, list-directory):
271 Use read-directory-name.
273 * find-file.el (ff-find-the-other-file):
274 * net/ange-ftp.el (ange-ftp-make-directory):
275 * printing.el (pr-interactive-dir):
276 * progmodes/ada-prj.el (ada-prj-load-directory):
277 * progmodes/ebnf2ps.el (ebnf-print-directory)
278 (ebnf-spool-directory, ebnf-eps-directory)
279 (ebnf-syntax-directory):
281 * speedbar.el (speedbar-create-directory):
282 * vc/emerge.el (emerge-merge-directories):
283 * vc/vc-dir.el (vc-dir):
284 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
286 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
288 * help-mode.el (help-buffer): If we are to return the current
289 buffer, signal an error if it's not in Help mode (Bug#8147).
291 2011-03-05 Reuben Thomas <rrt@sc3d.org>
293 * files.el (file-name-version-regexp): Handle backup files of the
294 form `foo.js.~HEAD~1~' (Bug#8159).
296 2011-03-05 Glenn Morris <rgm@gnu.org>
298 * eshell/esh-var.el: Don't require esh-test when compiling.
299 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
300 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
301 * eshell/esh-test.el: Move to ../../test/eshell.el.
303 2011-03-05 David Engster <deng@randomsample.de>
305 * files.el (save-some-buffers): Report the names of buffers saved
306 automatically due to buffer-save-without-query (Bug#8134).
308 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
310 * net/rcirc.el: Add QuakeNet authentication support.
311 (rcirc-authinfo, rcirc-check-auth-status)
312 (rcirc-authenticate): Support QuakeNet.
314 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
316 * net/rcirc.el: Add functionality to authenticate before
317 autojoining channels.
318 (rcirc-authenticate-before-join): New option.
319 (rcirc-authenticated-hook): New variable.
320 (rcirc-connect): Make local variable rcirc-user-authenticated.
321 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
322 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
324 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
325 Call rcirc-check-auth-status.
327 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
329 * net/soap-client.el (soap-namespace-put-link): Check if the target
330 name is fully qualified -- use only the name part.
331 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
332 types, treated the same as xsd:sequence. (Bug#8166)
334 2011-03-05 Eli Zaretskii <eliz@gnu.org>
336 * files.el (find-file-noselect): Don't ask about re-visiting
337 non-literally if the file is already visited in image-mode.
340 2011-03-05 Glenn Morris <rgm@gnu.org>
342 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
343 (eshell-mode): Use eshell-kill-buffer-function.
344 Run the -initialize functions independently of the -load-hooks.
345 * eshell/esh-proc.el (eshell-kill-process-function): New function.
346 (eshell-gather-process-output, eshell-sentinel)
347 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
348 Use eshell-kill-process-function.
349 * eshell/em-alias.el (eshell-alias-load-hook):
350 * eshell/em-banner.el (eshell-banner-load-hook):
351 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
352 * eshell/em-dirs.el (eshell-dirs-load-hook):
353 * eshell/em-glob.el (eshell-glob-load-hook):
354 * eshell/em-hist.el (eshell-hist-load-hook):
355 * eshell/em-pred.el (eshell-pred-load-hook):
356 * eshell/em-prompt.el (eshell-prompt-load-hook):
357 * eshell/em-rebind.el (eshell-rebind-load-hook):
358 * eshell/em-script.el (eshell-script-load-hook):
359 * eshell/em-smart.el (eshell-smart-load-hook):
360 * eshell/em-term.el (eshell-term-load-hook):
361 * eshell/em-unix.el (eshell-unix-load-hook):
362 * eshell/esh-arg.el (eshell-arg-load-hook):
363 * eshell/esh-cmd.el (eshell-cmd-load-hook):
364 * eshell/esh-ext.el (eshell-ext-load-hook):
365 * eshell/esh-io.el (eshell-io-load-hook):
366 * eshell/esh-mode.el (eshell-exit-hook):
367 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
368 * eshell/esh-var.el (eshell-var-load-hook):
369 Set default hook values to nil. (Bug#5375)
371 * eshell/esh-module.el (eshell-module-unload-hook)
372 (eshell-modules-list): Remove leading * from defcustom docs.
374 * eshell/esh-util.el (eshell-for): Make it obsolete.
375 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
376 * eshell/em-dirs.el (eshell-save-some-last-dir):
377 * eshell/em-hist.el (eshell-save-some-history)
378 (eshell-hist-parse-modifier):
379 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
381 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
382 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
384 * eshell/esh-ext.el (eshell-find-interpreter):
385 * eshell/esh-mode.el (eshell-mode):
386 * eshell/esh-module.el (eshell-unload-extension-modules):
387 * eshell/esh-proc.el (eshell-process-interact):
388 * eshell/esh-test.el (eshell-test):
389 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
390 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
391 (eshell-variables-list):
392 * eshell/eshell.el (eshell-unload-all-modules):
393 Replace eshell-for with dolist.
395 2011-03-04 Glenn Morris <rgm@gnu.org>
397 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
399 2011-03-04 Tom Tromey <tromey@redhat.com>
401 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
403 2011-03-04 Glenn Morris <rgm@gnu.org>
405 * outline.el (outline-regexp): No longer allow nil.
406 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
408 * net/browse-url.el (browse-url):
409 Handle deleted default-directory. (Bug#6077)
411 * recentf.el (recentf-include-p): In case of a buggy predicate,
412 err on the side of including, not excluding. (Bug#5843)
414 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
416 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
419 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
421 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
422 if there is no node. (Bug#3261)
424 2011-03-04 Leo <sdl.web@gmail.com>
426 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
428 * time.el (display-time-world-list): Fix typo. (Bug#7571)
430 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
432 * cus-edit.el (custom-buffer-create-internal):
433 Split search string before passing it to `customize-apropos' (bug#8136).
435 2011-03-04 Drew Adams <drew.adams@oracle.com>
437 * image-dired.el (image-dired-cmd-read-exif-data-options):
438 Fix typo in docstring (bug#8156).
440 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
442 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
444 2011-03-03 Christian Ohler <ohler@gnu.org>
446 * emacs-lisp/ert.el (ert--explain-equal): New function.
447 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
449 (ert--explain-equal-including-properties): Renamed from
450 `ert--explain-not-equal-including-properties'. All callers
453 2011-03-03 Christian Ohler <ohler@gnu.org>
455 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
456 (ert-char-for-test-result, ert-string-for-test-result)
457 (ert-run-tests-batch, ert--print-test-for-ewoc):
458 Handle `ert-test-quit'.
460 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
462 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
463 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
465 2011-03-03 Glenn Morris <rgm@gnu.org>
467 * files.el (file-truename): Doc fix. (Bug#2341)
469 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
471 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
473 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
475 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
476 programs output backslashes. (Bug#7663)
478 2011-03-03 Glenn Morris <rgm@gnu.org>
480 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
481 (mail-mode): Remove mail-sent-via from the doc.
482 (mail-sent-via): Make it obsolete. (Bug#1776)
484 * progmodes/grep.el (grep-highlight-matches): Doc fix.
485 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
487 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
488 with no parents. (Bug#8025)
490 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
492 * password-cache.el (password-in-cache-p): Add autoload.
494 2011-03-02 Glenn Morris <rgm@gnu.org>
496 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
497 * dired-x.el (Man-support-local-filenames): Autoload it.
498 (dired-guess-shell-alist-default): Also handle Red Hat's man.
500 * dired-x.el (dired-default-directory-alist, dired-default-directory):
502 (dired-smart-shell-command): Just call dired-current-directory.
504 * dired-x.el (dired-jump-other-window): Add autoload.
505 (dired-default-directory-alist, dired-default-directory): Doc fixes.
506 (dired-default-directory-alist): Mark as risky.
508 * dired-x.el (dired-omit-here-always): Make it obsolete.
510 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
512 * textmodes/artist.el (artist-curr-go): Default to pen-line.
513 (artist-select-op-pen-line): New function.
514 (artist-menu-map): New variable.
515 (artist-mode-map): Add a menu to the menu-bar.
517 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
519 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
522 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
524 (math-logunits-add, math-logunits-mul, math-logunits-divide):
525 (math-logunits-quant, math-logunits-level):
526 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
528 (math-logunits-level): Extract units from ratio.
530 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
532 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
534 2011-03-01 Glenn Morris <rgm@gnu.org>
536 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
537 (diary-hebrew-birthday): Rename and rework functions added
540 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
542 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
543 (diary-hebrew-birthday): New functions.
545 2011-03-01 Glenn Morris <rgm@gnu.org>
547 * dired.el (dired-safe-switches-p): Beef it up.
548 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
550 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
552 * dired.el (dired-safe-switches-p): New function.
554 2011-03-01 Glenn Morris <rgm@gnu.org>
556 * files.el (dir-locals-collect-variables):
557 Add the ability to exclude subdirectories. (Bug#8100)
559 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
561 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
563 * ido.el (ido-everywhere): Doc fix.
566 2011-02-28 Glenn Morris <rgm@gnu.org>
568 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
570 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
572 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
575 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
577 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
579 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
581 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
582 Fix typos in docstrings.
584 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
586 * dired-aux.el (dired-update-file-line):
587 Fix 2010-11-09 change. (Bug#8131)
589 2011-02-28 Eli Zaretskii <eliz@gnu.org>
591 * international/mule-cmds.el (set-default-coding-systems): Use the
592 -unix variant of encoding in default-keyboard-coding-system.
595 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
597 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
599 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
601 * term/screen.el: New file (Bug#2650).
603 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
605 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
606 (pcase-mutually-exclusive-predicates): New var.
607 (pcase--split-consp, pcase--split-pred): Use it.
608 (pcase--split-equal, pcase--split-member): When splitting against
609 a pure predicate, run it to know the outcome.
610 (pcase--u1): Mark vars that are actually used.
611 (pcase--q1): Avoid introducing unused vars.
613 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
615 * calc/calc-ext.el (calc-init-extensions):
616 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
618 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
621 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
622 argument is a variable.
624 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
626 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
627 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
628 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
630 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
632 * password-cache.el (password-in-cache-p): Convenience function to
633 check if a key is in the cache, even if the value is nil.
635 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
637 * emacs-lisp/package-x.el (package--archive-contents-from-url)
638 (package--archive-contents-from-file): New functions.
639 (package-update-news-on-upload): New var.
640 (package-upload-buffer-internal): Extract archive-contents from
641 package-archive-upload-base if it is not found at archive-url.
642 Obey package-update-news-on-upload.
643 (package-upload-buffer, package-upload-file): Doc fix.
645 2011-02-24 Glenn Morris <rgm@gnu.org>
647 * files-x.el (modify-dir-local-variable): Handle dir-locals from
648 the cache, and from non-file sources.
650 * help-fns.el (describe-variable): Return consistent results when a
651 dir-local from a file came from the cache or did not. (Bug#8095)
652 If a dir-local has no associated file, say it came from a "directory".
654 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
655 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
657 * files.el (dir-locals-find-file): Doc fix.
658 Fix the check for cache elements that have no associated file,
659 and the mtime check for those that do. (Bug#8095)
661 * dired-x.el (dired-hack-local-variables):
662 Handle interrupts during hacking local variables. (Bug#5216)
664 * emacs-lisp/autoload.el (autoload-save-buffers)
665 (autoload-find-destination, update-directory-autoloads):
666 Avoid prompts when updating autoloads.
668 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
670 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
672 2011-02-23 Kenichi Handa <handa@m17n.org>
674 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
675 error when a multipart boundary in the nested multipart is found.
677 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
680 2011-02-23 Glenn Morris <rgm@gnu.org>
682 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
683 * dired-x.el (dired-omit-mode): Safe if boolean.
684 (dired-enable-local-variables): Fix doc and custom type.
685 (dired-enable-local-variables, dired-local-variables-file)
686 (dired-hack-local-variables): Make obsolete.
687 (dired-omit-here-always): Use dir-locals.el instead.
689 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
691 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
693 * help-fns.el (describe-function-1): Don't signal an error just because
694 the DOC file disappeared.
696 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
698 * eshell/esh-ext.el (eshell-external-command): Do not restrict
699 remote check to "ftp". (Bug#8089)
701 2011-02-21 Alan Mackenzie <acm@muc.de>
704 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
705 in macros finding their way into c-state-nonlit-pos-cache.
706 Strengthen the comments.
707 (c-state-dump): New commented out diagnostic routine.
709 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
711 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
712 `field' property of `rfn-eshadow-overlay'.
714 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
716 * net/netrc.el (netrc-parse): Comment fix.
718 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
720 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
721 Autoload. Add optional arg FRAME, and pass it to color-values.
722 (color-complement): Caller changed. Doc fix.
723 (color-gradient): Rewrite for better clarity and efficiency.
725 * faces.el (color-values): Use cond for clarity. Doc fix.
727 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
729 (list-colors-sort-key, list-colors-print):
730 Use color-normalized-values.
732 2011-02-20 Drew Adams <drew.adams@oracle.com>
734 * color.el: First part of merge from hexrgb.el.
735 (color-rgb-to-hex): Rename from color-rgb->hex.
736 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
737 saturation to zero if the value is too small.
738 (color-rgb-to-hsl): Rename from color-rgb->hsl.
739 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
740 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
741 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
742 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
743 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
744 (color-cie-de2000): Doc fix.
746 2011-02-20 Alan Mackenzie <acm@muc.de>
748 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
749 locating the beginning of a macro. (Bug#7595)
751 2011-02-20 Glenn Morris <rgm@gnu.org>
753 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
756 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
757 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
759 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
760 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
762 * progmodes/hideshow.el (hs-find-block-beginning)
763 (hs-hide-level-recursive): Ignore comments when parsing braces
766 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
768 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
769 (vc-bzr-pull): Use it.
771 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
773 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
774 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
775 but returning an alist. Ignore comments in bzr conffile.
776 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
777 (vc-bzr-error-regex-alist): New var.
778 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
780 * vc/vc-dispatcher.el (vc-do-async-command):
781 Bind inhibit-read-only to t.
783 * progmodes/compile.el (compilation--flush-directory-cache):
784 Handle the case where cdr of compilation--flush-directory-cache
785 points to no buffer, which can occur if we previously switched to
786 compilation-mode in a pregenerated buffer.
788 2011-02-19 Kenichi Handa <handa@m17n.org>
790 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
791 get the header copy into the temporary buffer.
792 (rmail-mime-insert-decoded-text): Ignore us-ascii.
793 (rmail-show-mime): When rmail-mime-coding-system is nil, set
794 buffer-file-coding-system to undecided.
796 2011-02-19 Eli Zaretskii <eliz@gnu.org>
798 * international/mule-cmds.el (read-char-by-name, ucs-insert):
799 Document completion with asterisk and a substring.
801 2011-02-19 Glenn Morris <rgm@gnu.org>
803 * files.el (find-file-literally): Doc fix.
805 * simple.el (rfc822-goto-eoh): Give it a doc-string.
807 * log-edit.el (log-edit-insert-changelog):
808 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
810 2011-02-19 Glenn Morris <rgm@gnu.org>
812 * dired-x.el: Don't require dired-aux.
813 (dired-do-create-files, dired-mark-read-regexp)
814 (dired-do-create-files-regexp): Autoload from dired-aux.
816 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
817 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
819 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
820 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
822 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
823 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
824 (dired-clean-up-buffers-too): Declare.
826 * dired-x.el (dired-initial-position): Merge into dired.el's version.
827 * dired.el (dired-initial-position): Merge dired-x's version here.
828 (dired-find-subdir): Declare.
830 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
831 * dired-aux.el (dired-add-entry): Give it a doc-string.
832 Merge dired-x's dired-omit handling here.
833 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
835 * international/mule-diag.el (list-input-methods-1):
836 Indent all lines of multi-line doc-strings. (Bug#8066)
838 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
840 Fix 2011-02-02 changes.
842 * apropos.el (apropos-print): Call apropos-mode before setting up
843 buffer variables. Use inhibit-read-only.
845 * emacs-lisp/package.el (package--list-packages):
846 Call package-menu-mode before setting up buffer variables.
848 * play/solitaire.el (solitaire): Call solitaire-mode before
849 setting up buffer variables. Use inhibit-read-only.
851 2011-02-18 Lawrence Mitchell <wence@gmx.li>
853 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
854 Bind case-fold-search to nil when looking for end of here-doc.
856 2011-02-18 Eli Zaretskii <eliz@gnu.org>
858 * image-mode.el (image-toggle-display-image):
859 Set find-file-literally non-nil in buffers visiting binary image
862 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
864 * files.el (cd): Make completion obey cd-path (bug#7924).
866 2011-02-18 Glenn Morris <rgm@gnu.org>
868 * progmodes/prolog.el: Don't require compile when compiling.
869 (compilation-shell-minor-mode, compilation-error-regexp-alist)
870 (compilation-forget-errors, compilation-fake-loc)
871 (compilation-parse-errors-function, compilation-error-list): Declare.
872 (prolog-inferior-mode): Require 'compile.
874 * emulation/cua-base.el (pc-selection-mode): Declare.
876 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
877 (customize-object): Add autoload cookie.
878 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
879 (eieio-browse, describe-class, eieio-describe-class)
880 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
881 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
882 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
883 * Makefile.in (autoloads): Make eieio.el writable.
885 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
886 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
887 (dired-hack-local-variables): Use inhibit-read-only.
888 (dired-guess-default): Simplify.
889 (dired-make-relative-symlink): Use dotimes.
890 (dired-simultaneous-find-file): Use dolist.
891 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
892 (dired-x-hands-off-my-keys): Doc fix.
893 (dired-x-bind-find-file): Doc fix. Use remapping.
894 (after-init-hook): No need to add dired-x-bind-find-file.
895 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
896 No need to call expand-file-name.
897 (dired-filename-at-point): Remove unused locals `end', `filename'.
899 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
901 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
903 2011-02-18 Christian Ohler <ohler@gnu.org>
905 * emacs-lisp/ert.el (ert--setup-results-buffer)
906 (ert-results-pop-to-backtrace-for-test-at-point)
907 (ert-results-pop-to-messages-for-test-at-point)
908 (ert-results-pop-to-should-forms-for-test-at-point)
909 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
910 were incorrect and unnecessary. This should make `make check'
913 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
915 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
916 (allout-widgets-icons-dark-subdir): Track relocations of icons
917 * lisp/allout.el: Remove commentary about remove encryption
918 passphrase mnemonic support and verification.
919 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
920 armored text using gpg1, and indicate that the gpg version *might*
921 be the problem in the error message.
923 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
925 * net/rcirc.el (rcirc-float-time): New function.
926 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
927 (rcirc-ctcp-sender-PING): Use it.
929 2011-02-17 Glenn Morris <rgm@gnu.org>
931 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
932 (speedbar-update-flag, speedbar-fetch-etags-command)
933 (speedbar-fetch-etags-arguments):
934 * term.el (term-buffer-maximum-size, term-input-chunk-size)
935 (term-completion-autolist, term-completion-addsuffix)
936 (term-completion-recexact, term-completion-fignore):
937 * term/sup-mouse.el (sup-mouse-fast-select-window):
938 * term/x-win.el (x-select-request-type):
939 Convert some defvars with "*" to defcustoms.
941 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
943 * vc/vc.el (vc-default-previous-version):
944 Remove alias that points nowhere. (Bug#4496)
946 * dired-x.el (dired-clean-up-after-deletion):
947 kill-buffer does not need save-excursion.
948 (dired-do-run-mail): Doc fix.
949 (dired-filename-at-point): Doc fix.
950 Use looking-at, and skip-chars rather than re search.
952 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
954 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
956 * allout-widgets.el: New allout extension that shows allout
957 outline structure with graphical widgets. 'allout-widgets'
958 customize group is an 'allout' subgroup, for easy discovery.
960 * allout.el: Include PGP and GnuPG in Keywords, and other
961 commentary refinements.
962 (allout-abbreviate-flattened-numbering): Rename to
963 allout-flattened-numbering-abbreviation, and
964 define-obsolete-variable-alias the old name.
965 (allout-flattened-numbering-abbreviation): Rename from
966 allout-abbreviate-flattened-numbering.
967 (allout-mode-p): Include among autoloads, for use by other modes
969 (allout-listify-exposed):
970 Use allout-flattened-numbering-abbreviation.
971 (allout-encrypt-string): Use set-buffer-multibyte directly.
972 (allout-set-buffer-multibyte): Remove.
974 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
976 * simple.el (just-one-space): Remove useless `or' call.
978 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
980 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
981 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
982 (soap-decoded-multi-refs, soap-current-wsdl)
983 (soap-encoded-namespaces): Rename CL-style *...* variables.
985 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
987 * net/soap-client.el: Add "comm" and "hypermedia" to the
988 keywords. Reflow too long lines.
990 * net/soap-inspect.el: Ditto. Require 'cl.
992 2011-02-16 Bastien Guerry <bzg@altern.org>
994 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
995 in a `doctor-type' argument.
997 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
999 * net/soap-client.el:
1000 * net/soap-inspect.el: New files.
1002 2011-02-16 Leo <sdl.web@gmail.com>
1004 * dired-x.el (dired-mode-map, dired-extra-startup):
1005 Remove dired-copy-filename-as-kill since it's already in dired.el.
1007 2011-02-16 Glenn Morris <rgm@gnu.org>
1009 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1010 Doc fixes. Add :set property, replacing top-level calls.
1011 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1012 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1013 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1014 (dired-clean-up-after-deletion): Use when and dolist.
1015 (dired-jump): Use unless and when.
1016 (dired-virtual): Use line-end-position.
1017 (dired-default-directory-alist): Rename from default-directory-alist.
1018 (dired-default-directory): Update for above name change.
1019 (dired-vm): Drop VM < 5 and simplify.
1020 (dired-buffer-more-recently-used-p): Rewrite.
1021 (dired-filename-at-point): Use when and or.
1022 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1025 2011-02-15 Glenn Morris <rgm@gnu.org>
1027 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1029 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1031 * vc/vc-git.el (vc-git-root-log-format): New option for
1032 customizing log format.
1033 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1034 (vc-git-log-view-mode): Use it.
1035 (vc-git-expanded-log-entry): New function.
1036 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1038 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1039 customizing log format.
1040 (vc-hg-print-log): Use it.
1041 (vc-hg-expanded-log-entry): New function.
1042 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1043 vc-hg-expanded-log-entry. Truncate lines in root log.
1045 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1047 * vc/log-view.el (log-view-mode-menu):
1048 Add log-view-toggle-entry-display.
1050 2011-02-14 Glenn Morris <rgm@gnu.org>
1052 * dired-x.el: Don't require man when compiling.
1053 (dired-omit-extensions, dired-local-variables-file)
1054 (dired-x-hands-off-my-keys): Make them defcustoms.
1055 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1056 (vm-visit-folder): Declare rather than defining.
1057 (dired-x-help-address, dired-x-variable-list): Remove.
1058 (dired-x-submit-report): Make it an obsolete alias.
1060 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1062 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1064 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1066 * net/imap.el: Bring it back.
1068 2011-02-13 Alan Mackenzie <acm@muc.de>
1070 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1071 narrow-to-region call that cuts context off the end (Bug#7722).
1073 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1074 Refactor nested if-forms with a simple cond.
1075 (c-forward-<>-arglist): Revert 2011-01-31 change.
1077 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1079 * vc/log-view.el: New command log-view-toggle-entry-display for
1080 toggling log entries between concise and detailed forms.
1081 (log-view-toggle-entry-display): New command.
1082 (log-view-mode-map): Bind RET to it.
1083 (log-view-expanded-log-entry-function): New variable.
1084 (log-view-current-entry, log-view-inside-comment-p)
1085 (log-view-current-tag): New functions.
1086 (log-view-toggle-mark-entry): Use log-view-current-entry and
1087 log-view-end-of-defun instead of searching directly with
1088 log-view-message-re.
1089 (log-view-end-of-defun): Likewise. Add optional ARG for
1090 compatibility with end-of-defun.
1091 (log-view-end-of-defun): Ignore comments and VC buttons.
1093 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1094 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1096 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1098 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1100 * net/imap-hash.el: Remove file.
1102 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1104 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1106 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1109 * net/tramp-imap.el: Remove file.
1111 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1113 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1114 widget library for buttons, just use button.el.
1116 * vc/log-view.el (log-view-mode-map): Don't inherit from
1119 2011-02-12 Glenn Morris <rgm@gnu.org>
1121 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1122 (nintersection, set-difference, nset-difference)
1123 (set-exclusive-or, nset-exclusive-or): Doc fix.
1125 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1127 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1128 :italic props, so that frame-set-background-mode works. (Bug#7966)
1130 * simple.el (next-error): Doc fix.
1132 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1134 * dired-aux.el (dired-create-files): Adapt destination name to
1135 match the new behavior of copy-directory.
1137 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1139 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1140 from rmail-dont-reply-to-names. Callers changed.
1141 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1142 (rmail-dont-reply-to): Make it an obsolete alias.
1144 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1145 nil, and make obsolete (Bug#7888).
1146 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1148 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1150 * mail/rmailsort.el (rmail-sort-by-correspondent)
1151 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1153 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1155 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1157 * files.el (copy-directory): New argument COPY-CONTENTS for
1158 copying directory contents into another existing directory.
1160 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1162 * minibuffer.el (completion-table-case-fold): New function for
1163 creating a case-insensitive completion table.
1165 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1167 * net/tramp.el (tramp-default-method): Also check if
1168 `auth-source-search' is bound.
1169 (tramp-read-passwd): Use `auth-source-search' instead of
1170 `auto-source-user-or-password'.
1172 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1173 `auto-source-user-or-password.
1174 (tramp-imap-passphrase-callback-function): Use it.
1176 * net/imap-hash.el: Autoload `auto-source-search' instead of
1177 `auto-source-user-or-password.
1178 (imap-hash-open-connection): Use it.
1180 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1181 `auto-source-user-or-password.
1182 (smtpmail-try-auth-methods): Use it.
1184 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1186 * emacs-lisp/package.el: Allow packages to be reinstalled.
1187 (package--write-file-no-coding): Remove EXCL arg.
1188 (package-unpack-single): Don't use it.
1190 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1192 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1193 in each sub directory.
1194 (vc-svn-registered): Use vc-svn-root.
1195 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1196 (vc-svn-repository-hostname): Use "svn info".
1198 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1200 * simple.el (delete-trailing-whitespace): New optional buffer
1203 2011-02-11 Bastien Guerry <bzg@altern.org>
1205 * files.el (basic-save-buffer): save unmodified buffers when
1206 the file pointed by buffer-file-name doesn't exist.
1208 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1210 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1212 2011-02-11 Glenn Morris <rgm@gnu.org>
1214 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1216 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1218 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1220 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1222 * server.el (server-process-filter): Use pcase.
1224 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1226 (smie-indent--parent): Extend to "parent of arg".
1227 (smie-indent-inside-string): New function.
1228 (smie-indent-functions): Use it.
1230 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1231 bzr locking race condition.
1233 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1234 still valid before using it.
1236 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1237 `message' -> `compilation-message' rename (bug#8004).
1239 Move keymap initialization into declaration.
1240 * textmodes/enriched.el (enriched-mode-map):
1241 * textmodes/bib-mode.el (bib-mode-map):
1242 * term/lk201.el (lk201-function-map):
1243 * tar-mode.el (tar-mode-map):
1244 * replace.el (occur-mode-map):
1245 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1246 * progmodes/idlw-help.el (idlwave-help-mode-map):
1247 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1248 * play/solitaire.el (solitaire-mode-map):
1249 * play/snake.el (snake-mode-map, snake-null-map):
1250 * play/pong.el (pong-mode-map):
1251 * play/handwrite.el (menu-bar-handwrite-map):
1252 * play/gametree.el (gametree-mode-map):
1253 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1254 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1255 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1256 (newsticker--url-keymap):
1257 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1258 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1259 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1260 (menu-bar-edit-menu, menu-bar-custom-menu)
1261 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1262 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1263 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1264 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1265 (menu-bar-tools-menu, menu-bar-describe-menu)
1266 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1267 (menu-bar-help-menu):
1268 * mail/rmailsum.el (rmail-summary-mode-map):
1269 * kmacro.el (kmacro-step-edit-map):
1270 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1271 (ibuffer-mode-operate-map):
1272 * hi-lock.el (hi-lock-menu, hi-lock-map):
1273 * emulation/vip.el (vip-mode-map):
1274 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1275 * bookmark.el (bookmark-bmenu-mode-map):
1276 * help-mode.el (help-mode-map): Move initialization into declaration.
1278 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1280 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1281 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1282 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1283 (rcirc-cmd-me, rcirc-authenticate): Use them.
1285 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1287 * allout.el: Synopsis: Change allout user configuration so
1288 auto-activation is controlled solely by customization
1289 `allout-auto-activation'.
1291 (allout-auto-activation-helper, allout-setup): New autoloads
1292 implement new custom set procedure for allout-auto-activation.
1293 Also, explicitly invoke
1294 (allout-setup) after allout-auto-activation is custom-defined, to
1295 effect the settings in emacs sessions besides the few where
1296 allout-auto-activation customization is donea.
1297 (allout-auto-activation): Use allout-auto-activation-helper to
1298 :set. Revise the docstring.
1299 (allout-init): Reduce functionality to just customizing
1300 allout-auto-activation, and mark obsolete.
1301 (allout-mode): Respect string values for allout-auto-activation.
1302 Run allout-after-copy-or-kill-hook without any args.
1303 (allout-mode, allout-layout, allout-default-layout)
1304 (outlineify-sticky): Adjust docstring for new scheme.
1305 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1306 should concentrate on the kill ring.
1308 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1310 * password-cache.el (password-cache-remove): Accept secrets that are
1313 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1316 of here-doc that immediately follows a comment.
1318 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1320 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1322 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1324 (rcirc-ctcp-sender-PING): New function.
1326 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1329 Remove the mark/nomark handling, and activate shift-select-mode instead.
1331 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1333 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1335 * calc/calc-units.el (math-logunits-quant): Add support for
1336 non-logarithmic units.
1338 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1340 * allout.el (allout-after-copy-or-kill-hook): New hook for
1341 extension-specific processing of killed text.
1342 (allout-mode): Include new allout-after-copy-or-kill-hook among
1344 (allout-kill-line, allout-kill-topic): Ensure that processing
1345 after kill happens even if barf-if-buffer-read-only is raised.
1346 Include new allout-after-copy-or-kill-hook among that subsequent
1348 (allout-deannotate-hidden): Actually remove the annotation text
1351 * allout.el (allout-listify-exposed): Copy text sans text properties.
1353 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1355 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1357 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1359 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1361 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1363 * calc/calc.el (calc-logunits-field-reference): Rename from
1364 `calc-default-field-reference-level'.
1365 (calc-logunits-power-reference): Rename from
1366 `calc-default-power-reference-level'.
1368 * calc/calc-units.el (math-logunits-quant): Rename from
1369 `math-logunits-level'
1370 (math-logunits-plus): Rename from math-logcombine.
1371 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1372 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1373 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1375 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1376 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1377 (calc-logunits-quantity): Rename from `calc-level'.
1378 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1379 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1380 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1381 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1382 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1385 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1386 (calc-ul-prefix-help): Remove.
1387 (calc-l-prefix-help): New function.
1388 (calc-full-help): Add reference to `calc-l-prefix-help'.
1390 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1392 * calc/README: Mention logarithmic units.
1394 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1396 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1397 non-ASCII characters (Bug#7925).
1399 2011-02-05 Glenn Morris <rgm@gnu.org>
1401 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1403 * calendar/diary-lib.el (diary-font-lock-keywords):
1404 Tweak diary-time-regexp match. (Bug#7891)
1406 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1407 (f90-mode): Use it for mode's `find-tag-default-function' property.
1409 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1411 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1413 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1415 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1418 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1420 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1421 font-lock-syntax-table remappings.
1422 (sh-here-doc-markers, sh-here-doc-re): Remove.
1423 (sh-font-lock-close-heredoc): Remove.
1424 (sh-syntax-propertize-here-doc): New function.
1425 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1426 instead of the sh-here-doc-re.
1427 (sh-font-lock-paren): Don't do anything in comments or strings.
1428 Handle line continuations. Accept a few more chars.
1429 Don't rely on the font-lock-syntax-table remappings.
1430 `esac' is not a valid pattern.
1431 (sh-syntax-propertize-function): Handle here-docs differently, so we
1432 don't bother syntax-propertizing the insides.
1434 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1435 Handle new bashisms ";&" and ";;&" (bug#7947).
1437 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1439 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1440 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1442 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1444 * net/tramp.el (tramp-postfix-method-format)
1445 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1446 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1447 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1448 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1449 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1452 2011-02-04 Sam Steingold <sds@gnu.org>
1454 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1456 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1458 * international/mule-util.el (with-coding-priority): Doc fix.
1460 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1462 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1464 2011-02-03 Sam Steingold <sds@gnu.org>
1466 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1467 Do not error out when `func' is nil.
1469 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1471 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1472 `tramp-default-remote-path' to the docstring.
1473 (tramp-get-remote-path): Suppress error message when `getconf
1476 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1478 2011-02-03 Glenn Morris <rgm@gnu.org>
1480 * vc/vc-hg.el (vc-hg-command): Doc fix.
1482 * term/w32-win.el (libpng-version): Declare for compiler.
1484 * msb.el: No need to load dired while compiling.
1486 * emacs-lisp/elint.el (elint-standard-variables):
1487 Remove a couple of built-ins that now have doc-strings.
1489 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1490 `require' is automatically `eval-and-compile'd.
1492 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1493 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1495 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1496 Move definition before use.
1497 (strokes-report-bug): Make it obsolete.
1499 2011-02-02 Sam Steingold <sds@gnu.org>
1501 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1502 from `special-mode', entering it makes the buffer read-only, so
1503 call it only when everything has been already inserted.
1504 * emacs-lisp/ert.el (ert--setup-results-buffer)
1505 (ert-results-pop-to-backtrace-for-test-at-point)
1506 (ert-results-pop-to-messages-for-test-at-point)
1507 (ert-results-pop-to-timings): Ditto.
1508 * emacs-lisp/package.el (package--list-packages): Ditto.
1509 * play/solitaire.el (solitaire): Ditto.
1511 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1513 * progmodes/compile.el: Make all faces inherit.
1514 (compilation-warning): Inherit from font-lock-variable-name-face.
1515 (compilation-info): Inherit from font-lock-type-face.
1516 (compilation-line-number): Reassign to font-lock-keyword-face.
1517 (compilation-column-number): Reassign to font-lock-doc-face.
1518 (compilation-leave-directory-face): Reassign to
1519 font-lock-builtin-face.
1521 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1523 * dired.el (dired-insert-directory): Don't invoke `ls' when
1524 ls-lisp.el is used to emulate it.
1526 2011-02-01 Julien Danjou <julien@danjou.info>
1528 * color.el (color-gradient): Add a color-gradient function.
1530 2011-02-01 Sam Steingold <sds@gnu.org>
1532 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1533 bind "z" to `kill-this-buffer'.
1534 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1535 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1536 (apropos-mode): Inherit from `special-mode'.
1537 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1538 * bookmark.el (bookmark-bmenu-mode): Define using
1539 `define-derived-mode' inheriting from `special-mode'.
1540 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1541 * image-mode.el (image-mode-map): Ditto.
1542 * replace.el (occur-mode): Define using
1543 `define-derived-mode' inheriting from `special-mode'.
1544 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1545 * calendar/diary-lib.el (diary-fancy-display-mode):
1546 Inherit from `special-mode-map'.
1547 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1548 Inherit from `special-mode'.
1549 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1551 (package-menu-mode): Define using `define-derived-mode'
1552 inheriting from `special-mode'.
1553 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1554 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1555 (xesam-mode-map): Define separately.
1556 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1557 * progmodes/compile.el (compilation-minor-mode-map)
1558 (compilation-mode-map): Inherit from `special-mode-map'.
1559 * vc/diff-mode.el (diff-mode-shared-map):
1560 Inherit from `special-mode-map'.
1561 * vc/log-view.el (log-view-mode-map): Add a comment.
1563 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1565 * custom.el (load-theme): Define return value. Drop use of
1566 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1567 (custom-theme-load-confirm): Scroll in the correct window.
1568 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1570 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1571 checkbox if load-theme fails.
1573 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * progmodes/compile.el (compilation-next-error): Check there's
1576 a message before using it (bug#7941).
1578 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1580 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1581 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1582 of potential pivots.
1584 2011-01-31 Alan Mackenzie <acm@muc.de>
1586 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1587 Continue parsing if we encounter a naked # (Bug#7595).
1588 (c-beginning-of-statement): Avoid loop in locating the beginning
1589 of a macro. (Not actually committed until 2011-02-20, see above).
1591 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1593 * files.el (copy-directory): Fix arguments to recursive call.
1595 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1597 * files.el (copy-directory): If destination is an existing
1598 directory, copy into a subdirectory there.
1600 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1602 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1605 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1607 * image-dired.el (image-dired-mouse-display-image): No-op if no
1608 file is found (Bug#7817).
1610 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1612 2011-01-31 Kenichi Handa <handa@m17n.org>
1614 * international/quail.el (quail-keyboard-layout-alist):
1615 Remove superfluous SPC for "pc105-uk" (bug#7927).
1617 2011-01-31 Glenn Morris <rgm@gnu.org>
1619 * msb.el (msb-menu-bar-update-buffers): Update for changed
1620 argument handling of menu-bar-select-frame. (Bug#7902)
1622 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1624 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1625 to the recursion depth (Bug#7722).
1627 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1629 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1630 command-line-default-directory (Bug#7872).
1632 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * progmodes/compile.el (compilation--flush-directory-cache):
1635 New function, extracted from compilation--remove-properties.
1636 (compilation--remove-properties, compilation--parse-region): Use it.
1637 (compilation--previous-directory): Handle one more case.
1638 (compilation-enable-debug-messages): Remove.
1639 (compilation-parse-errors, compilation--flush-parse): Just remove the
1640 left over debug messages.
1642 2011-01-31 Sam Steingold <sds@gnu.org>
1644 * progmodes/compile.el (compilation-enable-debug-messages):
1645 Add a variable to make the parsing messages introduced in
1646 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1647 (compilation-parse-errors, compilation--flush-parse): Use it.
1649 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1651 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1652 (rcirc-nick-completion-format): New defcustom.
1653 (rcirc-complete): Use it.
1655 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1657 * net/rcirc.el: Clean log filenames (Bug#7933).
1658 (rcirc-log-write): Use convert-standard-filename.
1659 (rcirc-log-filename-function): Documentation updates.
1661 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1663 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1664 Check report-emacs-bug-can-use-osx-open and use that if t.
1665 (report-emacs-bug-can-use-osx-open): New function.
1666 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1667 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1669 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1671 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1672 updating Dired or VC-dir buffers after async command completes.
1674 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1675 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1677 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1678 completions if it exists. Use vc-set-async-update.
1679 (vc-git-pull): Use vc-set-async-update.
1681 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1682 read-shell-command. Use vc-set-async-update.
1683 (vc-hg-merge-branch): Use vc-set-async-update.
1685 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1687 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1688 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1691 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * progmodes/compile.el: Avoid an N² behavior in grep.
1694 (compilation--previous-directory): New fun.
1695 (compilation--previous-directory-cache): New var.
1696 (compilation--remove-properties): Flush it.
1697 (compilation-directory-properties, compilation-error-properties):
1698 Use the new fun to speed up looking for the current directory.
1700 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1702 * vc/vc-hg.el (vc-hg-history): New var.
1703 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1704 (vc-hg-merge-branch): New function.
1706 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1707 the other way around.
1709 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1710 (vc-git-merge-branch): New functions.
1711 (vc-git-history): New var.
1713 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1715 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1717 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1718 vc-do-async-command.
1720 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1723 2011-01-28 Leo <sdl.web@gmail.com>
1725 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1726 highlighting to the "this function is advised" message.
1728 * help-mode.el (help-mode-finish): Apply highlighting here, to
1729 avoid clobbering by substitute-command-keys (Bug#6304).
1731 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1733 * woman.el (woman0-roff-buffer): Process roff escape sequences
1734 occurring prior to the first request (Bug#7843).
1736 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * progmodes/compile.el: Don't use font-lock any more.
1739 (compilation-error-regexp-alist-alist): Change handling of makepp
1740 so it preserves the warning/error distinction on subsequent files.
1741 Simplify various rules.
1742 (compilation-directory-properties): Use font-lock-face.
1743 Add a compilation-message property.
1744 (compilation-internal-error-properties): Use font-lock-face.
1745 Don't set the compilation-debug property here.
1746 (compilation--put-prop, compilation--remove-properties)
1747 (compilation--parse-region, compilation--ensure-parse)
1748 (compilation--ensure-parse): New functions.
1749 (compilation-parse-errors): New function, largely inspired of
1750 compilation-mode-font-lock-keywords. Set compilation-debug here.
1751 (compilation--parsed): New var.
1752 (compilation--flush-parse): Use compilation--ensure-parse.
1753 (compilation-start): Don't call font-lock.
1754 (compilation-turn-on-font-lock): Remove.
1755 (compilation-setup): Don't set font-lock-extra-managed-props not change
1756 other font-lock settings, other than keywords.
1757 Don't activate font-lock-mode.
1758 Set change-major-mode-hook and before-change-functions.
1759 (compilation--unsetup): Remove properties and hooks.
1760 (compilation-next-single-property-change): New function.
1761 (compilation-next-error): Use it to parse when needed.
1762 (compile-goto-error): Parse buffer as needed.
1763 (compilation--compat-error-properties): Don't need a dummy `face'
1766 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1768 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1769 (compilation-process-setup-function): Fix docstring's false promises.
1770 (compilation-error-regexp-alist-alist): Catch omake's continuous
1771 recompilation message and avoid reuse of old markers.
1772 (compilation-parse-errors-function): Declare obsolete.
1773 (compilation-buffer-modtime): Remove.
1774 (compilation--make-cdrloc, compilation--loc->col)
1775 (compilation--loc->line, compilation--loc->file-struct)
1776 (compilation--loc->marker, compilation--loc->visited)
1777 (compilation--make-file-struct, compilation--file-struct->file-spec)
1778 (compilation--file-struct->formats)
1779 (compilation--file-struct->loc-tree): New macros. Use them.
1780 (compilation--message): New defstruct. Use them.
1781 (compilation-next-error-function): Don't mess with timestamps to try
1782 and guess when to reparse.
1784 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1787 (tex-old-error-file-name): New function,
1788 extracted from tex-compilation-parse-errors.
1789 (tex-compilation-parse-errors): Remove.
1790 (tex-error-regexp-alist): New var.
1791 (tex-shell): Use it to avoid compilation-parse-errors-function.
1793 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1794 (grep-mode-font-lock-keywords): Remove regexp that seems like
1795 a left-over from before we used compile.el.
1796 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1797 modifying the buffer within with-silent-modifications.
1799 * progmodes/compile.el: Cleanup text-properties namespace by using
1800 `compilation-message' instead of `message', `compilation-directory'
1801 instead of `directory', and `compilation-debug' instead of `debug'.
1802 (compilation-last-buffer, compilation-parsing-end)
1803 (compilation-error-list, compilation-old-error-list): Move to the
1804 compatibility part of the code.
1805 (compilation-error-properties): If `file' is a function, let it return
1807 (compilation-mode-font-lock-keywords): Be more conservative with the
1808 omake "^ *" pattern prefix, to try and minimize the risk of
1809 pathologically slow regexp matching.
1810 (compilation-start): Use inhibit-read-only.
1811 (compilation--unsetup): New function.
1812 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1813 (compilation-filter): Minor tweaks.
1814 (compilation-next-error-function): Try and avoid abusing variables.
1815 (compilation--flush-file-structure): New fun.
1816 (compilation-fake-loc): Use it to improve behavior when file is reused.
1817 (debug-ignored-errors): Add "Moved past last ...".
1818 (compilation--compat-error-properties)
1819 (compilation--compat-parse-errors): Rename by doubling the "-".
1821 Port features from the previous prolog.el to the new one.
1822 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1823 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1824 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1825 variable and use a function to compute the value dynamically.
1826 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1827 (prolog-continued-prompt-regexp): Remove, unused.
1828 (prolog-find-value-by-system): Try and use the value of prolog-system
1829 in the *prolog* buffer if it helps.
1830 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1831 (prolog-zip-on): ..and check prolog-system and version here instead.
1832 (prolog-inferior-self-insert-command): New command.
1833 (prolog-inferior-mode-map): Use it.
1834 (prolog-inferior-error-regexp-alist): New var.
1835 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1836 (prolog-input-filter): Use derived-mode-p.
1837 (prolog-inferior-guess-flavor): New function.
1838 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1839 make-comint to avoid running comint-mode twice.
1840 (prolog-inferior-buffer): New fun.
1841 (prolog-old-process-region, prolog-old-process-file):
1842 Don't call prolog-bsts here...
1843 (prolog-build-prolog-command): ...do it here instead.
1844 (prolog-old-process-region, prolog-old-process-file):
1845 Use compilation-fake-loc and compilation-forget-errors.
1846 (prolog-consult-compile-region): Use bolp.
1848 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1850 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1852 2011-01-27 Sam Steingold <sds@gnu.org>
1854 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1855 Remove "*server*" which is never created by emacs server.
1857 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1859 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1860 there are some diff switches.
1862 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1865 Copy change made to ruby-font-lock-syntactic-keywords.
1867 * htmlfontify.el: Make it obey the font-lock-face text property.
1868 Miscellaneous cleanup such as:
1869 - Don't hide expressions after a closing paren.
1870 - Move initial setq into let.
1871 - Hoist common parts out of ifs.
1872 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1873 (hfy-face-at): Use get-text-property instead.
1874 (hfy-prop-invisible-p): Use invisible-p if available.
1875 (htmlfontify-manual): Use \\[...].
1876 (hfy-html-quote-regex): Use [...].
1877 (hfy-combined-face-spec): Simplify.
1878 (hfy-compile-face-map): Don't presume point-min==1.
1879 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1880 match end of string.
1881 (hfy-text-p): η-reduce.
1882 (hfy-tags-for-file): Receive cache-hash directly.
1883 (hfy-mark-tag-names): Adjust call.
1885 2011-01-27 Glenn Morris <rgm@gnu.org>
1887 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1888 (msb-after-load-hook): Remove eval-after-load wackiness.
1890 2011-01-25 Sam Steingold <sds@gnu.org>
1892 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1893 literal "diff" (important for windows-nt).
1895 2011-01-25 Glenn Morris <rgm@gnu.org>
1897 * emacs-lisp/copyright.el (copyright-at-end-flag)
1898 (copyright-names-regexp): Add safety properties.
1899 (copyright-year-ranges): New option.
1900 (copyright-find-end): New function, split from copyright-update-year.
1901 (copyright-update-year): Use copyright-find-end.
1902 (copyright-fix-years): Optionally, convert years to ranges.
1903 Handle years continued over comment lines.
1904 Do not mess with the fill-prefix.
1905 Do not call copyright-update.
1906 (copyright-update-directory): Optionally, fix years rather than update.
1907 Skip directories. Find files with only safe local vars.
1909 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * files.el (file-name-non-special): Only change buffer-file-name after
1912 insert-file-contents if it's `visit'ing the file (bug#7854).
1914 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1916 * dired.el (dired-revert): Doc fix (Bug#7758).
1918 * simple.el (line-move-visual): Doc fix (Bug#7594).
1920 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1922 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1923 here-doc which ends with an underscore.
1924 (ruby-mode-set-encoding): Skip shebang line always.
1925 (ruby-mode-map): Bind C-c C-c to comment-region.
1926 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1927 (ruby-forward-sexp): Stop after literal hash key labels.
1928 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1931 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1933 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1934 the correct buffer (Bug#7650).
1936 2011-01-25 Glenn Morris <rgm@gnu.org>
1938 * comint.el (comint-mode): Doc fix. (Bug#7897)
1940 * simple.el (do-auto-fill): Give it a doc string.
1942 * button.el (make-text-button): Doc fix. (See bug#7881)
1944 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1947 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1949 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1950 Handle ?" and friends differently (e.g. don't use backrefs).
1952 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1954 * calc/calc.el (calc-default-power-reference-level)
1955 (calc-default-field-reference-level): New variables.
1956 * calc/calc-units.el (math-standard-units): Add dB and Np.
1957 (math-logunits): New variable.
1958 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1959 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1960 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1962 (math-find-base-units-rec): Add entry for ln(10).
1963 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1964 (calc-ul-prefix-help): New function.
1965 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1966 functions. Add keybindings for new units functions.
1968 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1970 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1971 rcirc buffers. (Bug#4940)
1973 2011-01-22 Glenn Morris <rgm@gnu.org>
1975 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1976 split out from copyright-update-year.
1977 (copyright-update): Don't mess with the GPL version if we don't own the
1978 copyright. Update license regexp, and remove no longer needed
1980 (copyright-fix-years): Use copyright-find-copyright.
1982 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1984 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1986 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1988 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1989 (lm): Rename to landmark.
1990 (lm-test-run): Rename to landmark-test-run.
1992 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1994 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1995 "Case sensitive" menu item.
1997 2011-01-22 Roland McGrath <roland@frob.com>
1999 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2000 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2002 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2006 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2008 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2009 Assume foo(bar) is a manpage reference rather than some unquoted
2012 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2015 Suggested by Flo <sensorflo@gmail.com>.
2017 2011-01-22 Glenn Morris <rgm@gnu.org>
2019 * progmodes/compile.el (compilation-error-regexp-alist):
2020 Fix custom type. (Bug#7812)
2022 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2024 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2025 allout-number-siblings, in keeping with what obtained due to
2026 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2028 (allout-before-change-handler): Better expose spots affected by
2031 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2033 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2035 2011-01-22 Phil Hagelberg <phil@evri.com>
2037 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2038 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2039 (pcmpl-ssh-config-hosts): New function.
2040 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2041 pcmpl-ssh-known-hosts.
2043 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2045 * calc/calc-undo.el (calc-undo): Autoload it.
2046 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2047 and autoload for `calc-undo'.
2048 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2049 * calc/calc-prog.el:
2050 * calc/calc-graph.el:
2051 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2053 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2055 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2056 keybindings to `calc-undo'.
2058 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2060 Don't mess with *temp*.
2061 * obsolete/spell.el: Move from textmodes/spell.el.
2063 * term.el (term-read-input-ring):
2064 * startup.el (display-startup-echo-area-message):
2065 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2066 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2067 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2070 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2072 * allout.el (allout-institute-keymap): Use fset instead of
2073 reapplying defalias.
2075 (allout-hotspot-key-handler): Check for non-control-modified
2076 bindings for hotspot characters if there are no control-modified
2079 * allout.el: Summary - migrate to defining allout mode using
2080 define-minor-mode instead of defun. Significantly clean-up
2081 internal keymap provisions, refactoring and, in the process,
2082 removing a lot of accumulated cruft.
2084 allout-mode-map is now a keymap by virtue of being a defalias to
2085 allout-mode-map-value, which contains the actual keymap structure.
2087 (allout-mode): Use define-minor-mode rather than defun.
2088 Remove now-unnecessary minor-mode setup activities from the body.
2089 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2090 entry will be '(allout-mode . allout-mode-map) - see
2091 allout-mode-map-value, below. Adjust docstring to track changes.
2092 (allout-minor-mode): Remove this defalias, now that we're using
2094 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2095 keymap is allout-mode-map-value, via defalias.
2096 (allout-mode-map-value): The variable holding the actual mode
2097 keymap structure, by virtue of defalias from allout-mode-map.
2098 (allout-compose-and-institute-keymap): Rename from
2099 allout-bind-keys, and including the binding-composition
2100 functionality of the former produce-allout-mode-map and
2101 allout-setup-mode-map.
2102 (allout-institute-keymap): Take over the "setup" part of the former
2103 allout-setup-mode-map. Reassign allout-mode-map-value value and
2104 update the defalias.
2105 (allout-command-prefix, allout-prefixed-keybindings)
2106 (allout-unprefixed-keybindings):
2107 Use allout-compose-and-institute-keymap to process the bindings.
2108 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2109 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2110 user can customize if they want to use that binding.
2111 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2112 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2113 elided that, previously, instead of the one for \C-h.)
2114 (allout-hotspot-key-handler): Remove attempt to resolve the key
2115 through the literal key-string lookup on allout-keybindings-list.
2116 That probably hasn't worked for a Long Time, and removal of
2117 allout-keybindings-list further simplifies the keybindings situation.
2118 (allout-pre-command-business): Use allout-mode-map-value instead
2120 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2121 the bindings if they want to use a keybinding having a trailing
2122 \C-h. No deprecation needed since this feature was never in a release.
2123 (allout-keybindings-list): Remove. It's not been useful for a
2124 while. (See allout-hotspot-key-handler changes, above.)
2125 (produce-allout-mode-map): Remove. Consolidate into
2126 allout-compose-and-institute-keymap.
2127 (allout-mode-map-adjustments): Remove. No longer necessary with
2128 removal of allout-preempt-trailing-ctrl-h.
2129 (allout-setup-mode-map): Remove. Consolidate into
2130 allout-compose-and-institute-keymap and allout-institute-keymap.
2132 2011-01-20 Glenn Morris <rgm@gnu.org>
2134 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2136 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2138 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2140 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2142 * files.el (find-alternate-file, basic-save-buffer)
2143 (basic-save-buffer-2, revert-buffer, recover-file)
2144 (kill-buffer-ask, abort-if-file-too-large)
2145 (set-visited-file-name, write-file, backup-buffer)
2146 (basic-save-buffer, save-some-buffers):
2147 * dired-aux.el (dired-compress-file): Callers changed.
2149 2011-01-19 Glenn Morris <rgm@gnu.org>
2151 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2152 Also check the property status. (Bug#7861)
2154 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2156 * net/tramp.el (tramp-debug-message): Extend function exclude
2157 list. Use `regexp-opt'.
2159 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2162 highlighting doesn't spill over subsequent lines.
2164 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2165 keymap expression. Improve docstring.
2167 * electric.el (electric-indent-post-self-insert-function):
2168 Don't auto-indent for indent-to-left-margin, it's too often
2171 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2173 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2174 spaces if the frame was resized, so that the full visible buffer
2175 serves as canvas for strokes.
2177 2011-01-16 Glenn Morris <rgm@gnu.org>
2179 * info-xref.el (info-xref-docstrings): Replace cl function.
2180 Also skip directories.
2182 2011-01-16 Kevin Ryde <user42@zip.com.au>
2184 * info-xref.el: Version 3.
2185 (info-xref-check, info-xref-check-all): Move commentary details
2186 into docstrings for better visibility.
2187 Use compilation-mode for the results buffer.
2188 (info-xref-output, info-xref-output-error, info-xref-with-output)
2189 (info-xref-filename, info-xref-in-progress):
2190 New internals for this.
2191 (info-xref-check-list, info-xref-check-buffer)
2192 (info-xref-check-all-custom): Use those.
2193 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2194 (info-xref-output-heading): Rename from info-xref-filename-heading.
2195 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2196 (info-xref-filename-heading): Move to output managing section.
2197 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2198 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2199 (info-xref-subfile-p): Move to generic section with those two.
2200 (info-xref-check-node): New function split from
2201 info-xref-check-buffer, shared by info-xref-docstrings.
2202 (info-xref-goto-node-p): Move to a checking section with that func.
2203 (info-xref-unavail): New counter.
2204 (info-xref-check-node): Use it.
2205 (info-xref-with-output): Show count of unavailables at end of output.
2206 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2207 symlinks. Exclude .texi files. Exclude Emacs backup files.
2208 (info-xref-check-all-custom): Fix quietening viper-mode and
2209 gnus-registry-install -- use setq not let so as not to unbind
2212 2011-01-16 Juri Linkov <juri@jurta.org>
2214 * isearch.el (isearch-abort): Don't quit if search has
2215 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2217 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2219 * files.el (backup-buffer): Make last-resort backup file in
2220 .emacs.d (Bug#6953).
2222 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2223 make it with permission 700.
2225 2011-01-15 Kenichi Handa <handa@m17n.org>
2227 * mail/rmailmm.el (rmail-mime-insert-header):
2228 Set rmail-mime-coding-system to a cons whose car is the last coding
2229 system used to decode the header.
2230 (rmail-mime-find-header-encoding): New function.
2231 (rmail-mime-insert-decoded-text):
2232 Override rmail-mime-coding-system if it is a cons.
2233 (rmail-show-mime): If only a header part was decoded, find the
2234 coding system while ignoring mm-charset-override-alist.
2236 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2238 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2240 2011-01-15 Kenichi Handa <handa@m17n.org>
2242 * mail/rmailmm.el (rmail-mime-next-item)
2243 (rmail-mime-previous-item): Delete them.
2244 (rmail-mime-shown-mode): Recursively call for children.
2245 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2247 (rmail-mime-raw-mode): Recursively call for children.
2248 (rmail-mode-map): Change mapping of tab and backtab to
2249 forward-button and backward-button respectively.
2250 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2252 (rmail-mime-update-tagline): New function.
2253 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2254 body display is changed.
2255 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2256 (rmail-mime-image): Delete this button type.
2257 (rmail-mime-toggle): New button type.
2258 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2259 body display is changed. Change the save button label to "Save".
2260 Don't process show/hide button here.
2261 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2262 the body display is changed. Unconditionally call
2263 rmail-mime-insert for children.
2264 (rmail-mime-handle): Update `display' vector of the just inserted
2266 (rmail-mime-process): If mail-header-parse-content-type returns
2267 nil, use "text/plain" as the fallback type.
2268 (rmail-mime-insert): For raw-mode, recursively call
2269 rmail-mim-insert for children.
2270 (rmail-mime): Handle the case that the current buffer is not rmail
2271 buffer (e.g. in summary buffer).
2273 2011-01-15 Kenichi Handa <handa@m17n.org>
2275 * mail/rmailmm.el (rmail-mime-next-item)
2276 (rmail-mime-previous-item): Skip the body of a non-multipart
2277 entity if a tagline is shown.
2279 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2281 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2282 (tmm-prompt): Simplify.
2283 (tmm-add-prompt): Remove unused var `win'.
2285 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2286 to minor mode which used nil accidentally to mean "turn off".
2288 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2290 * net/tramp-sh.el (tramp-find-inline-compress)
2291 (tramp-get-inline-coding): Quote command after pipe symbol for
2292 local calls under W32. (Bug#6784)
2294 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2296 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2297 only when running under W32.
2299 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2301 * progmodes/grep.el (grep-compute-defaults): Quote the program
2302 file name after the pipe symbol in Grep templates. (Bug#6784)
2303 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2305 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2307 * buff-menu.el (Buffer-menu-buffer-list): New var.
2308 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2309 restricted buffer list is not lost on revert (Bug#7749).
2311 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2313 * net/ldap.el (ldap-search-internal): Discard stderr output.
2315 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2317 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2319 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2323 2011-01-15 Kenichi Handa <handa@m17n.org>
2325 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2326 part as a plain text.
2327 (rmail-mime-process-multipart): Set the default content-type to
2328 nil for unknown multipart subtypes (bug#7651).
2330 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * hexl.el (hexl-mode-old-*): Remove.
2333 (hexl-mode--old-var-vals): New var to replace them.
2334 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2335 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2336 Use them to set local vars (bug#7846).
2337 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2338 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2339 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2341 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2342 (smerge-resolve--normalize-re): New var.
2343 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2344 (smerge-resolve): Use them.
2345 * newcomment.el (comment-only-p): New function.
2346 (comment-or-uncomment-region): Use it.
2348 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2350 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2351 table, get the value before switching to the output buffer. (Bug#7733)
2353 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2355 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2357 2011-01-14 Kim F. Storm <storm@cua.dk>
2359 * emulation/cua-base.el (cua--init-keymaps):
2360 Remap exchange-point-and-mark in cua-global-keymap.
2362 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2364 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2367 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2371 (easy-menu-create-menu, easy-menu-convert-item-1):
2372 Use :label rather than nil for labels. Use `case'.
2373 Add :enable as alias for :active.
2374 (easy-menu-binding): Obey :label.
2376 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2378 Use run-mode-hooks for major mode hooks (bug#513).
2379 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2380 Rename from reftex-toc-map.
2381 (reftex-toc-mode): Use define-derived-mode.
2382 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2383 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2384 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2385 (reftex-select-label-mode, reftex-select-bib-mode):
2386 Use define-derived-mode.
2387 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2388 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2389 Move init into delcaration.
2390 (reftex-index-mode, reftex-index-phrases-mode):
2391 Use define-derived-mode.
2392 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2393 speedbar-syntax-table. Move init into declaration.
2394 (speedbar-mode-map): Rename from speedbar-key-map.
2395 Move init into declaration.
2396 (speedbar-file-key-map): Move init into declaration.
2397 (speedbar-mode): Use define-derived-mode.
2398 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2399 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2400 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2401 (chart-face-list): Move initialization into declaration.
2402 (chart-mode): Use define-derived-mode.
2403 * calculator.el (calculator-mode-map): Move init into declaration.
2404 (calculator-mode): Use define-derived-mode.
2406 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2407 work for nested comments.
2409 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2410 (prolog-use-prolog-tokenizer-flag): Change default when
2411 syntax-propertize can be used.
2412 (prolog-syntax-propertize-function): New var.
2413 (prolog-mode-variables): Move make-local-variable into `set'.
2414 Don't make comment-column local since we don't set it.
2415 Set comment-add (as it was in previous prolog.el). Use dolist.
2416 Set syntax-propertize-function.
2417 (prolog-mode, prolog-inferior-mode):
2418 Call prolog(-inferior)-menu directly, not through the mode-hook.
2419 (prolog-buffer-module, prolog-indent-level)
2420 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2421 (prolog-comment-limits, prolog-goto-comment-column):
2422 Use line-(end|beginning)-position.
2423 (prolog-build-prolog-command): Tighten up regexp.
2424 (prolog-consult-compile): Move make-local-variable into `set'.
2425 (prolog-consult-compile-filter, prolog-goto-next-paren)
2426 (prolog-help-on-predicate, prolog-clause-info)
2427 (prolog-mark-predicate): Don't let+setq.
2428 (prolog-indent-line): Use indent-line-to.
2429 Only call prolog-goto-comment-column if necessary.
2430 (prolog-indent-level): Use bobp.
2431 (prolog-first-pos-on-line): Remove, not used any more.
2432 (prolog-in-string-or-comment): Use syntax-ppss if available.
2433 (prolog-help-on-predicate): Use read-string.
2434 (prolog-goto-predicate-info): Simplify.
2435 (prolog-read-predicate): Use `default' rather than `initial'.
2436 (prolog-temporary-file): Use make-temp-file to close a security hole.
2437 (prolog-toggle-sicstus-sd): New command.
2438 (prolog-electric-underscore, prolog-variables-to-anonymous):
2439 Use dynamic-scoping as it was meant.
2440 (prolog-menu): Move menu definitions to top-level.
2441 Use a toggle-button for Sicstus's source debugger.
2442 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2444 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2445 Move other menu definition to top-level.
2447 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2449 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2450 name. Keep original document's directory as default-directory
2452 (doc-view-initiate-display): Fall back to normal mode when
2453 doc-view-mode cannot be enabled, also when extracting the document
2454 text into a separate buffer (bug#6446).
2456 * simple.el (shell-command): Don't error out if shell command
2457 buffer contains text with non-nil read-only property when erasing
2460 2011-01-13 Kim F. Storm <storm@cua.dk>
2462 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2463 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2464 items when cycling through the matches.
2466 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2468 * dired-x.el (dired-omit-verbose): New defcustom that allows
2469 disabling the omit messages.
2470 (dired-omit-expunge): Use it.
2472 2011-01-13 Christian Ohler <ohler@gnu.org>
2474 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2476 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2478 * font-lock.el (font-lock-verbose): Default to nil.
2480 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2482 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2483 (compose-mail): New arg RETURN-ACTION.
2484 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2486 * mail/sendmail.el (mail-return-action): New var.
2487 (mail-mode): Make it buffer-local.
2488 (mail-bury): Obey it. Move special Rmail window handling to
2490 (mail, mail-setup): New arg RETURN-ACTION.
2491 (sendmail-user-agent-compose): Move from simple.el.
2493 * mail/rmail.el (rmail-mail-return): New function.
2494 (rmail-start-mail): Pass it to compose-mail.
2496 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2498 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2499 menus. Add menu item for customize-themes.
2501 * cus-theme.el (customize-themes):
2502 * emacs-lisp/package.el (package--list-packages):
2503 Use switch-to-buffer.
2505 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2507 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2509 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2511 * progmodes/prolog.el: Fix up coding convention and such.
2512 (prolog-indent-width): Use the same default as in
2513 previous prolog.el rather than tab-width which depends on which buffer
2514 is current when the file is loaded.
2515 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2517 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2518 (prolog-known-systems): Remove.
2519 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2520 Move initialization into declaration.
2521 (prolog-mode-map): Move initialization into declaration.
2522 Remove system-specific mode-map vars, since they referred to the same
2524 (prolog-mode-variables): Obey the user's preference w.r.t
2525 adaptive-fill-mode. Prefer symbol-value to `eval'.
2526 (prolog-mode-keybindings-edit): Add compatibility bindings.
2527 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2528 (mercury-mode-map): New var.
2529 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2530 (prolog-ensure-process, prolog-process-insert-string)
2531 (prolog-consult-compile): Use with-current-buffer.
2532 (prolog-guess-fill-prefix): Simplify data flow.
2533 (prolog-replace-in-string): New function to use instead of
2535 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2536 (prolog-uncomment-region): Use `uncomment-region' when available.
2537 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2538 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2539 of int-to-char and char-to-int.
2540 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2542 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2544 * progmodes/prolog.el: Replace by a whole new file.
2546 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2548 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2549 (declare-function, undefined, insert-for-yank)
2550 (replace-regexp-in-string): Follow checkdoc's recommendations.
2552 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2555 refreshing the diary buffer.
2557 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2559 * allout.el: Add 2011 to the file copyright.
2560 (allout-encrypt-string): Prevent encryption from adding an extra
2561 newline at the end of the topic body.
2562 (allout-version): Increment to 2.3.
2564 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2566 * net/dbus.el (dbus-unregister-service): Complete doc.
2567 Fix call of dbus-error signal.
2568 (dbus-register-property): Use `dont-register' keyword.
2570 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2572 * net/dbus.el (dbus-unregister-service): Translate returned
2573 integer into a symbol.
2574 (dbus-register-property): Use `dbus-register-service' to do the
2577 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2579 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2580 Suggested by Joakim Verona.
2582 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2584 * wid-edit.el (visibility): Replace :on-image and :off-image
2585 widget properties with :on-glyph and :off-glyph, for consistency
2586 with the `visibility' widget.
2587 (widget-toggle-value-create, widget-visibility-value-create):
2588 Merge into a single function `widget-toggle-value-create'.
2590 * cus-edit.el (custom-variable-value-create, custom-visibility)
2591 (custom-face-edit-value-create, custom-face-value-create):
2592 Replace :on-image and :off-image widget properties with :on-glyph and
2593 :off-glyph, for consistency with the `visibility' widget.
2595 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2597 * net/ldap.el (ldap-search-internal): Don't use eval.
2599 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2601 * subr.el (read-char-choice): Use read-key.
2603 * custom.el (custom-safe-themes): Rename from
2604 custom-safe-theme-files. Add :risky tag.
2605 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2606 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2608 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2610 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2611 from Search and add a label to Undo.
2613 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2614 inappropriate buttons and adding :vert-only tags.
2616 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2617 removal of Help tool-bar button. Remove Undo button for space.
2619 * info.el (info-tool-bar-map): Add :vert-only tags.
2621 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2623 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2624 image backend support. Either of them is fine.
2626 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2628 * subr.el (y-or-n-p): Doc fix.
2630 * custom.el (custom-safe-theme-files): New defcustom.
2631 (custom-theme-load-confirm): New function.
2632 (load-theme): Load theme using `load', confirming with
2633 custom-theme-load-confirm if necessary.
2635 * subr.el (read-char-choice): New function, factored out from
2636 dired-query and hack-local-variables-confirm.
2638 * dired-aux.el (dired-query):
2639 * files.el (hack-local-variables-confirm): Use it.
2641 * dired-aux.el (dired-compress-file):
2642 * files.el (abort-if-file-too-large, find-alternate-file)
2643 (set-visited-file-name, write-file, backup-buffer)
2644 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2645 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2646 Use new format string args for y-or-n-p and yes-or-no-p.
2648 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2650 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2651 [gcc-include]: Tighten file name match, add match for column
2653 [gnu]: Remove unused group.
2655 2011-01-08 Glenn Morris <rgm@gnu.org>
2657 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2659 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2661 2011-01-07 Sam Steingold <sds@gnu.org>
2663 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2664 the `explicit-shell-file-name' because that is the
2665 non-interactive shell.
2667 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2669 * subr.el (y-or-n-p): Accept format string args.
2671 2011-01-07 Glenn Morris <rgm@gnu.org>
2673 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2675 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2677 * allout.el (allout-back-to-current-heading): Ensure return to
2678 the visible containing topic, rather than a collapsed one.
2679 (allout-view-change-hook): Remove hook that was deprecated long ago.
2680 (allout-exposure-change-hook): Remove documentation remarks
2681 concerning removed allout-view-change-hook.
2682 (allout-flag-region): Remove invocation of and documentation
2683 remarks concerning allout-view-change-hook.
2685 2011-01-06 Glenn Morris <rgm@gnu.org>
2687 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2688 (vc-bzr-annotate-extract-revision-at-line):
2689 Handle authors with embedded spaces. (Bug#7792)
2691 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2693 * doc-view.el (doc-view-image-width): New variable.
2694 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2695 backend for PNG images, and do dynamic rescaling instead of
2696 reconverting the whole doc.
2698 2011-01-05 Glenn Morris <rgm@gnu.org>
2700 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2702 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2704 * allout.el: Reconcile with changes in line movement behavior for
2705 long text lines that cross more than a single physical window
2706 line, ie when truncate-lines is nil.
2707 (allout-next-visible-heading): Provide for change in line-move
2708 behavior on long lines when truncate-lines is nil. In that case,
2709 line-move can wind up on the same textual line when it moves to
2710 the next window line, and moving to the bullet position after the
2711 move yields zero advancement. Add logic to detect and compensate
2712 for the lack of progress.
2713 (allout-current-topic-collapsed-p): move-end-of-line respect for
2714 field boundaries is different when operating with body lines
2715 shorter than window width versus ones greater than window width,
2716 which can yield false negatives in this function. Avoid
2717 difference by applying move-end-of-line while field-text-motion is
2720 2011-01-04 Glenn Morris <rgm@gnu.org>
2722 * textmodes/rst.el (rst-compile-toolsets):
2723 Add pdf and s5 to option alist.
2725 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2727 * net/dbus.el (dbus-register-property): Add optional parameter
2728 dont-register-service. Updated docstring accordingly.
2730 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2732 * textmodes/rst.el (rst-compile-pdf-preview)
2733 (rst-compile-slides-preview): Remove extra line.
2735 2011-01-04 Glenn Morris <rgm@gnu.org>
2737 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2738 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2739 default to `prog' without a .py extension.
2740 (rst-compile-pdf-preview, rst-compile-slides-preview):
2741 Use program names from rst-compile-toolsets, rather than hard-coding.
2742 (rst-portable-mark-active-p): Fix presumed typo.
2744 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2746 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2747 libpng versions both before and after 1.4.0. (Bug#7716)
2749 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2751 * time.el (display-time-mode): Mention display-time-interval in
2752 the doc string. (Bug#7713)
2754 2011-01-02 Kenichi Handa <handa@m17n.org>
2756 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2757 condition-case and return an error message string if something
2759 (rmail-show-mime): Adjust for the above change. Insert the
2760 header by rmail-mime-insert-header.
2762 2011-01-02 Kenichi Handa <handa@m17n.org>
2764 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2765 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2766 (rmail-mime-mbox-buffer)
2767 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2768 (rmail-mime-entity): Argument changed. All codes handling an
2769 entity object are changed.
2770 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2772 (rmail-mime-entity-children, rmail-mime-entity-handler)
2773 (rmail-mime-entity-tagline): New functions.
2774 (rmail-mime-message-p): New function.
2775 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2776 (rmail-mime-entity-segment, rmail-mime-next-item)
2777 (rmail-mime-previous-item, rmail-mime-shown-mode)
2778 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2779 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2780 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2782 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2783 (rmail-mime-insert-decoded-text): New function.
2784 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2785 (rmail-mime-insert-image): Argument changed. Caller changed.
2786 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2787 (rmail-mime-set-bulk-data): New function.
2788 (rmail-mime-insert-bulk): Argument changed.
2789 (rmail-mime-multipart-handler): Return t.
2790 (rmail-mime-process-multipart): Argument changed.
2791 Handle "multipart/alternative" here.
2792 (rmail-mime-process): Argument changed.
2793 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2794 (rmail-mime-insert): Argument changed. Handle raw display mode.
2795 (rmail-mime): Argument changed. Handle toggling of raw display
2797 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2798 rmail-mime-view-buffer.
2799 (rmail-insert-mime-forwarded-message): Likewise.
2800 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2802 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2803 non-nil, handle the header in rmail-show-mime-function.
2805 2011-01-02 Leo <sdl.web@gmail.com>
2807 * help-fns.el (describe-variable): Fix previous change.
2809 2011-01-02 Juri Linkov <juri@jurta.org>
2811 * isearch.el (isearch-lazy-highlight-error): New variable.
2812 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2813 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2814 to the current value of `isearch-error' (Bug#7468).
2816 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2818 * help-fns.el (describe-variable): Don't emit trailing whitespace
2821 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2823 * textmodes/rst.el (rst-compile-pdf-preview)
2824 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2826 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2828 * emulation/edt-mapper.el: Override mapping of function keys so
2829 that the later call to read-key-sequence works.
2831 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2833 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2834 Unix EOLs. (Bug#7589)
2836 2011-01-02 Leo <sdl.web@gmail.com>
2838 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2839 if point is not behind eshell-last-output-end (Bug#7585).
2841 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2843 * files.el (file-local-variables-alist):
2844 Make permanent-local (bug#7767).
2846 2011-01-02 Glenn Morris <rgm@gnu.org>
2848 * version.el (emacs-copyright): Set short copyright year to 2011.
2850 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2852 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2853 an existing temp buffer. (Bug#7746)
2855 2011-01-02 Glenn Morris <rgm@gnu.org>
2857 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2858 multiple addresses. (Bug#7760)
2860 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2862 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2863 do-auto-fill if everything points back to allout-auto-fill.
2864 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2865 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2867 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2869 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2872 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2874 * doc-view.el (doc-view-set-doc-type): New function refactored
2876 (doc-view-fallback-mode): New function.
2877 (doc-view-mode): Use it.
2878 (doc-view-mode-maybe): New function that checks if doc-view-mode
2879 can be used and falls back to the next best mode otherwise.
2881 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2882 DVI, OpenDocument, and MS Office files.
2884 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2886 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2888 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2890 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2891 on a copy of auto-mode-alist, because that deletes with side
2894 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2896 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2897 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2898 fallback instead of hard coding fundamental mode.
2900 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2902 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2903 Office) files also for searching.
2905 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2907 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2908 Office) files. Not yet enabled via auto-mode-list.
2909 (doc-view-unoconv-program): New custom variable.
2910 (doc-view-mode-p): Handle new odf document type.
2911 (doc-view-odf->pdf): New conversion function.
2912 (doc-view-convert-current-doc): Call it for odf files.
2913 (doc-view-mode): Recognize newly supported file extensions.
2915 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2917 * net/tramp.el (tramp-default-method-alist)
2918 (tramp-default-user-alist)
2919 (tramp-local-host-regexp, tramp-prefix-domain-format)
2920 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2923 * net/tramp-gvfs.el:
2925 * net/tramp-imap.el:
2927 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2928 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2930 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2932 * saveplace.el (save-place-alist-to-file): Save list sorted and
2933 pretty-printed, so that it is mergeable by line-based text merging,
2934 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2936 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2938 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2939 (allout-mode): Argument "toggle" => "force".
2940 Refine the docstring.
2941 Remove special provisions for reactivation, besides the 'force'
2943 Consolidate layout provisions coce directly into the activation
2944 condition branch, now that we've removed those provisions.
2945 (allout-unload-function): Explicitly activate the mode before
2946 deactivating, if it's initially deactivated.
2947 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2948 warnings for version of function used only where
2949 set-buffer-multibyte is unavailable.
2951 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2953 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2954 are handled by the menu-bar entries. As before, don't use
2955 :visibile to avoid changing the tool-bar.
2957 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2959 * net/secrets.el (secrets-delete-alias): New defun.
2961 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2963 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2964 methods, otherwise ~/.ssh/config would be ignored.
2966 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2968 * emacs-lisp/rx.el: Make it a superset of sregex.
2969 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2970 of args, add `regex' alias.
2971 (rx-info): Add arg to distinguish head and standalone forms.
2972 (rx-check, rx-form): Pass the corresponding arg.
2974 (rx-repeat): Make it work for any number of args.
2975 (rx-syntax): Make it accept syntax chars as is.
2976 * obsolete/sregex.el: Move from emacs-lisp/.
2977 * emacs-lisp/re-builder.el: Remove sregex support.
2978 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2980 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2982 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2983 PRIMARY first, then the clipboard. (Bug#7699)
2985 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2990 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2992 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2993 .emacs.elc (Bug#7530).
2995 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2996 image spec (Bug#7480).
2998 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3000 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3001 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3004 2010-12-20 Leo <sdl.web@gmail.com>
3006 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3007 always be performed (Bug#7680).
3009 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3011 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3012 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3015 * color.el: Move from gnus/.
3017 * vc/diff.el (diff-better-file-name): Function deleted.
3018 abbreviating file names causes problems with shell-quote-argument.
3019 (diff-no-select): Just use expand-file-name.
3021 * tool-bar.el (tool-bar--image-expression): New function.
3022 (tool-bar-local-item, tool-bar--image-exp): Use it.
3023 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3024 Use :enable instead of :visible to avoid changing the tool-bar
3025 configuration unnecessarily.
3027 * info.el (info-tool-bar-map): Add separators.
3029 2010-12-17 Ken Brown <kbrown@cornell.edu>
3031 * loadup.el: Use version numbers in Cygwin build.
3033 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3035 * ido.el (ido-file-internal): Ask for confirmation before
3036 overwriting an existing file (Bug#1238).
3038 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3040 * tool-bar.el (tool-bar-setup): Add separators.
3042 * menu-bar.el (featurep): Use menu-bar-separator.
3044 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3046 Migrate allout encryption provisions from pgg to epg.
3048 * allout.el (allout-toggle-current-subtree-encryption)
3049 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3050 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3051 for simpler universal argument interpretation.
3052 (allout-toggle-subtree-encryption): Adjust docstring to describe
3053 changed encryption provisions. Change fetch-pass to keymode-cue, for
3054 simpler universal argument interpretation. Remove provisions for
3055 handling key type and identity - they'll all be within
3056 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3057 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3058 for keypair recipients (universal argument > 1) and, in addition,
3059 associating the specified recipients with the outline (universal
3060 argument > 4) using a file local variable setting for
3061 'epa-file-encrypt-to'.
3062 Require epa, for recipients handling.
3063 Change how regexp filtering elements are named.
3064 Describe the problem with caching of incorrect symmetric-decryption
3066 Use the epa-passphrase-callback-function, in case the user is using
3068 Support saving of the selected keypair recipients when invoked with a
3070 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3072 Establish epg-context with armoring and default epg-protocol.
3073 Remove all passphrase cache, verification, and hinting code.
3074 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3075 No longer used, delete.
3076 (allout-mode): Adjust docstring to describe changed encryption
3077 provisions. Describe the problem with caching of incorrect
3078 symmetric-decryption keys.
3079 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3080 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3081 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3082 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3085 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3087 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3088 key selection prompt; make 'silent as default (Bug#7487).
3090 2010-12-16 Leo <sdl.web@gmail.com>
3092 * eshell/eshell.el (eshell-directory-name):
3093 Use locate-user-emacs-file (Bug#7578).
3095 2010-12-15 Glenn Morris <rgm@gnu.org>
3097 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3099 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3100 Scott Evans <gse@antisleep.com>
3102 * rect.el (rectange--default-line-number-format)
3103 (rectangle-number-line-callback): New functions.
3104 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3106 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3108 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3109 Delete unused variables.
3110 (move-to-column-force): Remove function obsolete since 21.2.
3112 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3114 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3115 (tramp-handle-insert-file-contents): Do not set permanent-local
3118 * net/tramp-cache.el (tramp-persistency-file-name):
3119 Use `locate-user-emacs-file' if fboundp.
3121 * net/tramp-sh.el (tramp-methods): Add "ksu".
3122 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3125 2010-12-14 Glenn Morris <rgm@gnu.org>
3127 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3128 (find-tag-marker-ring): Declare.
3129 (js-find-symbol): Require etags.
3131 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3133 (mail-alias-file): Don't autoload. Doc fix.
3134 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3135 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3136 Mark as obsolete, and risky.
3137 (mail-setup): Simplify.
3139 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3140 * mail/sendmail.el (build-mail-aliases): Update autoload.
3142 * dired.el (dired-trivial-filenames, dired-chown-program)
3143 (dired-auto-revert-buffer): Remove autoload cookies.
3144 * mail/sendmail.el (mail-recover-1): Require 'dired.
3146 * dired.el (dired-subdir-switches, dired-chown-program)
3147 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3148 Make into defcustoms.
3149 (dired-chown-program): Simplify initialization.
3151 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3153 2010-12-13 Romain Francoise <romain@orebokech.com>
3155 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3157 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3159 * net/netrc.el (netrc-point-at-eol): Remove the unused
3160 netrc-point-at-old and netrc-bound-and-true-p bindings.
3161 (netrc-parse): Cache the netrc contents.
3163 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3165 * subr.el (posn-col-row): Evaluate header-line-format in the
3166 context of the POSITION window's buffer.
3168 2010-12-13 Glenn Morris <rgm@gnu.org>
3170 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3171 (with-silent-modifications): Doc fixes.
3173 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3175 * net/tramp.el (tramp-action-password, tramp-process-actions):
3176 Revert previous from. Use `save-restriction'.
3178 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3180 * calendar/diary-lib.el (diary-list-sexp-entries):
3181 Handle case of no newline at end of file. (Bug#7536)
3183 2010-12-13 Glenn Morris <rgm@gnu.org>
3185 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3187 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3189 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3190 (tramp-process-actions): Do not widen.
3192 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3193 Protect buffer-modified value. (Bug#7557)
3195 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3197 * log-edit.el (log-edit-changelog-entries):
3198 Regexp quote filename. (Bug#7505)
3200 2010-12-13 Tom Breton <tehom@panix.com>
3202 * cus-edit.el (custom-save-all):
3203 Bind print-length and print-level to nil. (Bug#7581)
3205 2010-12-13 Glenn Morris <rgm@gnu.org>
3207 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3208 Run hooks to update menu contents. (Bug#7586)
3210 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3211 file names, for the sake of MS Windows. (Bug#7588)
3213 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3216 empty lines without a leading space.
3218 2010-12-13 Leo <sdl.web@gmail.com>
3220 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3221 while mapping over marks (Bug#6810).
3223 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3225 * image-dired.el (image-dired-db-file)
3226 (image-dired-temp-image-file, image-dired-gallery-dir)
3227 (image-dired-temp-rotate-image-file): Set default values relative
3228 to image-dired-dir (Bug#7518).
3230 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3232 * format.el (format-decode-run-method): Pass args FROM and TO, not
3233 point-min and point-max, to shell-command-on-region (Bug#7488).
3235 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3237 * frame.el (blink-cursor-mode): Make default t for ns.
3239 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3241 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3243 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3245 * comint.el (comint-dynamic-list-input-ring)
3246 (comint-dynamic-complete-filename)
3247 (comint-replace-by-expanded-filename)
3248 (comint-dynamic-simple-complete)
3249 (comint-dynamic-list-filename-completions)
3250 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3252 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3255 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3257 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3260 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3262 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3265 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3267 * files.el (file-relative-name): Handle UNC file names on
3268 DOS/Windows. (Bug#4674)
3270 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3272 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3273 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3274 (epg-context-set-passphrase-callback): Mention that the callback
3275 is not called when used with GnuPG 2.x.
3277 2010-12-13 Glenn Morris <rgm@gnu.org>
3279 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3280 Ensure ps-footer-font-size-internal is initialized.
3281 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3283 2010-12-13 Kenichi Handa <handa@m17n.org>
3285 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3286 within condition-case.
3287 (rmail-show-mime): Don't use condition-case.
3288 (rmail-search-mime-message): New function.
3289 (rmail-search-mime-message-function): Set to
3290 rmail-search-mime-message.
3292 2010-12-13 Leo <sdl.web@gmail.com>
3294 * ido.el (ido-common-initialization): New function. (bug#3274)
3296 (ido-completing-read): Call it.
3298 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3300 * bookmark.el (bookmark-name-from-full-record): Rename back to
3301 this original name from `bookmark-name-from-record' reverting part
3302 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3303 As Drew Adams pointed out, there was no reason to cause churn for
3304 third-party callers. (Bug#7609)
3306 2010-12-12 Alan Mackenzie <acm@muc.de>
3308 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3309 template arglist, check that the current language supports this.
3311 2010-12-11 Glenn Morris <rgm@gnu.org>
3313 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3314 state of the file matches. (Bug#7544)
3315 (vc-bzr-register, vc-bzr-checkin)
3316 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3317 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3319 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3321 2010-12-11 Karel Klíč <kklic@redhat.com>
3323 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3325 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3327 Derive from prog-mode, use derived-mode-p, and fix up various
3328 minor style issues in lisp/progmodes.
3330 * progmodes/vhdl-mode.el (vhdl-mode):
3331 * progmodes/verilog-mode.el (verilog-mode):
3332 * progmodes/vera-mode.el (vera-mode):
3333 * progmodes/sql.el (sql-mode):
3334 * progmodes/scheme.el (scheme-mode):
3335 * progmodes/perl-mode.el (perl-mode):
3336 * progmodes/octave-inf.el (inferior-octave-mode):
3337 * progmodes/autoconf.el (autoconf-mode):
3338 * progmodes/m4-mode.el (m4-mode):
3339 * progmodes/inf-lisp.el (inferior-lisp-mode):
3340 * progmodes/idlwave.el (idlwave-mode):
3341 * progmodes/icon.el (icon-mode):
3342 * progmodes/idlw-help.el (idlwave-help-mode):
3343 * progmodes/dcl-mode.el (dcl-mode):
3344 * progmodes/idlw-shell.el (idlwave-shell-mode):
3345 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3346 (ebrowse-member-mode, ebrowse-electric-position-mode):
3347 Use define-derived-mode.
3349 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3350 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3351 (xscheme-debugger-mode-p, xscheme-send-string-1):
3352 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3353 (tcl-load-file, tcl-restart-with-file):
3354 * progmodes/ps-mode.el (ps-run-running):
3355 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3356 * progmodes/js.el (js--get-all-known-symbols):
3357 * progmodes/inf-lisp.el (inferior-lisp-proc):
3358 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3359 (idlwave-template, idlwave-update-buffer-routine-info)
3360 (idlwave-update-current-buffer-info)
3361 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3362 (idlwave-scan-class-info, idlwave-fix-keywords)
3363 (idlwave-list-buffer-load-path-shadows):
3364 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3365 (idlwave-toolbar-remove):
3366 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3367 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3368 (idlwave-shell-menu-def):
3369 * progmodes/idlw-complete-structtag.el
3370 (idlwave-prepare-structure-tag-completion):
3371 * progmodes/gud.el (gud-set-buffer):
3372 * progmodes/f90.el (f90-backslash-not-special):
3373 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3375 * progmodes/xscheme.el (xscheme-start)
3376 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3377 * progmodes/which-func.el (which-function):
3378 * progmodes/vhdl-mode.el (vhdl-set-style):
3379 * progmodes/verilog-mode.el (verilog-set-compile-command)
3380 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3381 (verilog-set-define, verilog-auto-reeval-locals):
3382 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3383 * progmodes/simula.el (simula-mode):
3384 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3385 * progmodes/python.el (python-check, python-mode):
3386 * progmodes/prolog.el (prolog-mode-variables):
3387 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3388 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3389 * progmodes/delphi.el (delphi-mode):
3390 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3391 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3392 (c-font-lock-init): Move make-local-variable to their setq.
3394 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3395 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3397 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3398 (sh-set-shell): Don't set require-final-newline since it's already done
3400 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3401 since we never set it.
3402 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3403 Use read-string and standard prompt.
3404 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3405 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3406 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3407 (meta-common-mode-map): Rename from meta-mode-map.
3408 Remove C-m binding, which is a user preference, not mode specific.
3409 (meta-common-mode): New major mode; replace meta-common-initialization.
3410 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3411 around with font-lock.
3412 * progmodes/etags.el (select-tags-table-mode):
3413 Derive from special-mode.
3414 * progmodes/octave-mod.el (octave-mode):
3415 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3416 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3417 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3418 Let define-derived-mode do its job.
3419 * progmodes/cpp.el (cpp-edit-mode-map):
3420 Move initialization into declaration.
3421 (cpp-edit-mode): Use define-derived-mode.
3422 (cpp-edit-load): Use derived-mode-p.
3423 * progmodes/mixal-mode.el (mixal-mode):
3424 * progmodes/f90.el (f90-mode):
3425 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3426 require-final-newline since prog-mode does it already.
3427 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3428 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3429 * progmodes/antlr-mode.el: Require cc-mode upfront.
3430 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3432 (antlr-directory-dependencies, antlr-show-makefile-rules):
3434 (antlr-language-option): Don't assume point-min==1.
3435 (antlr-mode): Use define-derived-mode.
3436 * progmodes/ada-mode.el: Use derived-mode-p.
3437 (ada-mode): Use define-derived-mode.
3438 Use hack-local-variables-hook.
3440 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3443 (texinfo-mode): Don't disable adaptive-fill-mode.
3444 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3445 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3446 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3447 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3448 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3449 (texinfo-insert-@quotation, texinfo-insert-@samp)
3450 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3451 (texinfo-insert-@uref): Use define-skeleton.
3452 (texinfo-insert-@-with-arg): Delete.
3454 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3456 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3457 nil, do quote archive member names. (Bug#6144)
3459 2010-12-10 Glenn Morris <rgm@gnu.org>
3461 * files.el (diff-no-select): Declare.
3463 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3464 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3466 * comint.el (comint-input-ring-file-name): Doc fix.
3468 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3470 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3472 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3473 Use them instead of `nil' and `>', respectively.
3474 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3476 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3477 and menu-bar-positive-p instead of `nil' and `>', respectively.
3480 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3482 * whitespace.el (whitespace-newline-mode): Code fix.
3484 2010-12-09 Glenn Morris <rgm@gnu.org>
3486 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3487 Rename functions without commas, update callers.
3489 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3491 * whitespace.el (whitespace-cleanup-region):
3492 Clean up spaces before tabs. (Bug#7582)
3494 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3496 * bookmark.el: Adjust parameter names and doc strings to resolve
3497 confusion over whether "bookmark" meant a bookmark name or a
3498 bookmark record. Along the way, shorten one function's name for
3499 similar reasons. (Issue #7548)
3500 (bookmark-name-from-record): New name for
3501 `bookmark-name-from-full-record'. All callers changed.
3502 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3503 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3504 (bookmark-get-annotation, bookmark-set-annotation)
3505 (bookmark-get-filename, bookmark-set-filename)
3506 (bookmark-get-position, bookmark-set-position)
3507 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3508 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3509 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3510 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3511 Rename `bookmark' parameter to `bookmark-name-or-record', to
3512 clearly show its role, and shorten or adjust doc strings accordingly.
3513 (bookmark-set-name): Same, and pass the parameter directly to
3514 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3515 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3516 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3517 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3518 and in some cases shorten doc string accordingly.
3519 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3520 and `new-name', and adjust an internal variable to avoid confusion.
3521 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3522 parameter in doc string.
3524 2010-12-08 Glenn Morris <rgm@gnu.org>
3526 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3527 from gdb's history file. (Bug#7575)
3529 * mail/emacsbug.el (report-emacs-bug):
3530 Try to handle some other mail clients.
3532 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3535 Use string-prefix-p.
3536 (file-name-version-regexp): New var.
3537 (file-name-sans-versions):
3538 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3539 (jka-compr-get-compression-info): Use dolist.
3540 (jka-compr-compression-info-list): Don't bother specifying
3541 version/backup regexps.
3543 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3545 * simple.el (just-one-space): Make argument n default to 1 if
3548 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3550 * electric.el (electric-indent-post-self-insert-function):
3551 Delete trailing newlines even if we don't reindent.
3553 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3555 * minibuffer.el (completion-at-point): Remove the `arg'.
3556 * bindings.el (complete-symbol): Move back from minibuffer.el.
3558 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3560 * simple.el (just-one-space): Delete newlines for negative arg.
3562 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3564 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3565 (ansi-color-filter-apply): Simplify.
3566 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3568 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3570 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3572 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3574 * dired.el (dired-use-ls-dired): Set default to a special
3575 "unspecified" value.
3576 (dired-insert-directory): When called the first time, check
3577 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3579 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3581 * replace.el: Add "collect" feature to occur.
3582 (occur-collect-regexp-history): New var.
3583 (occur-read-primary-args): Return a replace string for nlines,
3585 (occur): Extend the meaning of nlines.
3587 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3590 (which-func-update-1): Distinguish symbols from strings.
3591 (which-function): Stay within 80 columns.
3593 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3597 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3599 (comment-style): Use comment-styles's docs to describe values.
3601 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3603 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3604 and ns-show-prefs (Bug#7535).
3606 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3607 bindings (Bug#7535).
3609 2010-12-03 Glenn Morris <rgm@gnu.org>
3611 * nxml/nxml-mode.el: Require rng-nxml.
3612 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3613 Remove declarations.
3615 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3616 * nxml/rng-nxml.el, nxml/rng-valid.el:
3617 Remove leading `*' from defcustom docs.
3619 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3620 (normal-top-level-add-to-load-path, tty-handle-args):
3621 Convert comments to basic doc-strings.
3623 * net/browse-url.el (browse-url-url-at-point)
3624 (browse-url-default-browser): Remove autoload cookies.
3626 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3627 Remove more undefined cl functions.
3629 * vc/diff.el (diff-sentinel): Make new arguments optional.
3630 * ibuf-ext.el (diff-sentinel): Update declaration.
3632 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3634 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3635 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3636 (epg-context-set-passphrase-callback): Mention that the callback
3637 is not called when used with GnuPG 2.x.
3639 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3641 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3642 (tramp-file-name-port): Check also for `tramp-default-port'.
3643 (tramp-get-connection-name): New defun.
3644 (tramp-get-connection-process): Use it.
3645 (tramp-debug-message): Extend function exclude list.
3646 (tramp-drop-volume-letter): Fix doc string.
3648 * net/tramp-cmds.el: Remove solved todo item.
3651 * net/tramp-gvfs.el:
3653 * net/tramp-imap.el:
3654 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3655 and `tramp-default-user-alist', respectively.
3657 * net/tramp-gw.el (tramp-gw-open-connection):
3658 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3660 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3661 `tramp-file-name-port'.
3663 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3664 and "psftp". Exchange "%k" marker with options.
3665 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3666 Compute size of link target.
3667 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3668 `tramp-current-*' up due to gateway methods. Optimize computing of
3669 copy arguments. Use `tramp-get-connection-name' and
3670 `tramp-get-connection-buffer'. Improve debug messages.
3671 (tramp-compute-multi-hops): Remove port determination.
3672 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3674 * net/trampver.el: Update release number.
3676 2010-12-02 Glenn Morris <rgm@gnu.org>
3678 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3679 Avoid infinite loop over windows. (Bug#7492)
3681 * progmodes/flymake.el (flymake-check-file-limit):
3682 Allow nil to mean "no limit".
3683 (flymake-check-patch-master-file-buffer): Update for above change.
3684 Allow a .tex file-name extension to be optional.
3685 (flymake-master-tex-init): Also match \include statements.
3687 2010-11-30 Sam Steingold <sds@gnu.org>
3689 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3690 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3691 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3692 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3693 define-derived-mode').
3694 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3695 users who want to call `nxml-parent-document-set'.
3697 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3699 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3700 stand-alone lines, since that is handled by log-edit-match-to-eoh
3703 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3705 * dired.el (dired-get-filename): Replace backslashes with slashes
3706 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3707 * locate.el (locate-default-make-command-line): Don't consider
3708 drive letter and root directory part of
3709 `directory-listing-before-filename-regexp'. (Bug#7308)
3710 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3712 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3714 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3715 of :smie-open/close-alist.
3716 (smie-next-sexp): Make it accept a "start token" as argument.
3717 (smie-indent-keyword): Be careful not to misidentify tokens that span
3718 more than one line, as empty lines. Add argument `token'.
3720 2010-11-27 Kenichi Handa <handa@m17n.org>
3722 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3723 multipart subtypes, insert all as usual.
3725 * mail/rmail.el: Require rfc2047.
3727 2010-11-27 Kenichi Handa <handa@m17n.org>
3729 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3730 (rmail-mime-entity-disposition)
3731 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3732 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3733 (rmail-mime-save): Handle the case that the button's `data' is a
3735 (rmail-mime-insert-text): New function.
3736 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3737 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3738 (rmail-mime-insert-bulk): New function mostly copied from the old
3739 rmail-mime-bulk-handler.
3740 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3741 (rmail-mime-process-multipart): New function mostly copied from
3742 the old rmail-mime-multipart-handler.
3743 (rmail-mime-show): Just call rmail-mime-process.
3744 (rmail-mime-process): New function mostly copied from the old
3746 (rmail-mime-insert-multipart, rmail-mime-parse)
3747 (rmail-mime-insert, rmail-show-mime)
3748 (rmail-insert-mime-forwarded-message)
3749 (rmail-insert-mime-resent-message): New functions.
3750 (rmail-insert-mime-forwarded-message-function): Set to
3751 rmail-insert-mime-forwarded-message.
3752 (rmail-insert-mime-resent-message-function): Set to
3753 rmail-insert-mime-resent-message.
3755 * mail/rmailsum.el: Require rfc2047.
3756 (rmail-header-summary): Handle multiline Subject: field.
3757 (rmail-summary-line-decoder): Change the default to
3758 rfc2047-decode-string.
3760 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3761 (rmail-mime-feature): Change the default to `rmailmm'.
3762 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3763 (rmail-display-labels): Likewise.
3764 (rmail-show-message-1): Check rmail-enable-mime, and use
3765 rmail-show-mime-function for a MIME message. Decode the headers
3766 according to RFC2047.
3768 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * progmodes/which-func.el (which-func-imenu-joiner-function):
3771 Return a string, as expected.
3772 (which-function-mode): Make sure we stop any previous timer before
3775 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3777 * net/tramp.el (tramp-default-method-alist)
3778 (tramp-default-user-alist, tramp-default-proxies-alist):
3779 Adapt custom options type. (Bug#7445)
3781 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3783 * progmodes/python.el: Add Ipython support (Bug#5390).
3784 (python-shell-prompt-alist)
3785 (python-shell-continuation-prompt-alist): New options.
3786 (python--set-prompt-regexp): New function.
3787 (inferior-python-mode, run-python, python-shell):
3788 Require ansi-color. Use python--set-prompt-regexp to set the comint
3789 prompt based on the Python interpreter.
3790 (python--prompt-regexp): New var.
3791 (python-check-comint-prompt)
3792 (python-comint-output-filter-function): Use it.
3793 (run-python): Use a pipe (Bug#5694).
3795 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3797 * progmodes/python.el (run-python): Doc fix.
3798 (python-keep-current-directory-in-path): New var (Bug#7454).
3800 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3802 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3803 Prompt user before actually printing.
3805 2010-11-27 Glenn Morris <rgm@gnu.org>
3807 * startup.el (package-enable-at-startup, package-initialize):
3808 Remove unnecessary declarations.
3810 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3812 * international/characters.el (glyphless-char-display-control):
3813 Exclude newline and TAB from the c0-control group.
3815 2010-11-27 Glenn Morris <rgm@gnu.org>
3817 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3818 (expand-mail-aliases): Remove unnecessary autoload.
3820 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3822 * shell.el (shell-dir-cookie-re): Move definition before use.
3824 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3825 Replace undefined CL functions.
3827 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3829 * simple.el (prog-mode): Set bidi-paragraph-direction to
3832 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3834 2010-11-26 Glenn Morris <rgm@gnu.org>
3836 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3837 diary-outlook-formats can be sensitive to calendar-date-style.
3838 (diary-outlook-formats): Simplify the default setting.
3839 (diary-from-outlook-internal): Pass subject and body as arguments.
3840 Use dolist rather than dotimes. Don't save the diary buffer.
3841 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3842 Pass subject and body as explicit arguments to the -internal function.
3844 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3846 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3847 parsing them. This makes mailto:...?subject=foo\nbar work.
3849 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * vc/diff.el (diff): Fix last change.
3853 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3856 (pcase--dontcare-upats): New var.
3857 (pcase-let, pcase-let*): Generate better code.
3858 Accept the same bodies as `let'.
3859 (pcase-dolist): New macro.
3860 (pcase--trivial-upat-p): New helper function.
3861 (pcase--expand): Strip leading "(let nil" if any.
3863 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3865 * mail/mailclient.el (browse-url): Require.
3866 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3867 use the external browser function to send the mail (bug#7469).
3869 * net/browse-url.el (browse-url-browser-function): Revert the
3870 default back to the previous value, since the new value broke
3872 (browse-url-mailto-function): New variable for mailto: URLs.
3873 (browse-url): Use the new variable for mailto: URLs.
3875 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * eshell/esh-cmd.el (eshell-parse-command):
3878 * eshell/esh-arg.el (eshell-parse-arguments):
3879 * eshell/em-script.el (eshell-source-file):
3880 Use with-silent-modifications.
3882 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3884 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3885 for a merge location.
3887 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3888 (vc-bzr-merge-branch): Always prompt.
3889 (vc-bzr-async-command): Use the full branch filename.
3891 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3893 * shell.el (shell): Use current-buffer by default if it's already
3894 a shell mode buffer and its process is dead.
3895 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3897 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3899 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3900 Mention that the keywords should be comma separated.
3902 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3904 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3905 Accept optional prefix arg meaning to prompt for a command.
3906 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3907 prefix arg meaning to prompt for a command.
3908 (vc-pull): Alias for vc-update.
3910 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3911 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3912 (vc-bzr-merge-branch): New functions, implementing merge-branch
3913 and pull operations.
3915 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3917 * Makefile.in: Fix up last merge.
3919 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3920 (diff-sentinel): Get them as arguments instead.
3921 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3922 (diff-file-local-copy, diff-better-file-name): New funs.
3923 (diff-no-select): Rename from diff-into-buffer.
3924 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3925 Prefer closures to buffer-local variables.
3926 (diff): Adjust accordingly.
3927 (diff-buffer-with-file): Move from files.el.
3928 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3929 (diff-buffer-internal): Remove.
3930 (diff-buffer-buffer): Remove.
3931 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3932 the buffer name used, and so as not to mess up windows and frames.
3934 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3936 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3937 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3938 (diff-buffer-with-file): Use it.
3939 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3942 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3944 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3945 \ref's or \pageref's value as default instead of initial input.
3947 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3949 * files.el (backup-by-copying-when-mismatch): The default value is
3952 * startup.el (normal-top-level):
3953 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3954 `backup-by-copying-when-mismatch'.
3956 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3958 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3960 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3962 * progmodes/python.el (python-font-lock-keywords):
3963 Highlight top-level augmented assignments (Bug#6445).
3965 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3967 * term/ns-win.el (ns-right-control-modifier)
3968 (ns-right-command-modifier): Defvar them.
3970 * cus-start.el (all): Add ns-right-control-modifier and
3971 ns-right-command-modifier (Bug#7458).
3973 2010-11-20 Glenn Morris <rgm@gnu.org>
3975 * emacs-lisp/authors.el (authors-ignored-files)
3976 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3978 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3980 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3981 (report-emacs-bug-parse-query-results)
3982 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3983 keywords used for querying the bug database to show them in the
3984 existing bugs buffer.
3986 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3988 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3990 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3992 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3994 * international/characters.el (glyphless-char-display-control):
3995 Make it a defcustom, with update-glyphless-char-display as its
3997 (top level): Don't call update-glyphless-char-display.
3999 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4001 Sync with Tramp 2.2.0.
4003 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4004 `file-remote-p' (due to compatibility).
4006 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4007 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4009 * net/trampver.el: Update release number.
4011 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4013 * faces.el (glyphless-char): Define value for `pc'.
4015 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4017 Implemented a bug querying mechanism.
4018 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4019 (report-emacs-bug-create-existing-bugs-buffer)
4020 (report-emacs-bug-parse-query-results)
4021 (report-emacs-bug-query-existing-bugs): New functions.
4023 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4025 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4026 a \ref{} or \pageref{} macro, then use its value as initial input.
4028 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4030 * calc/calc-units.el (math-build-units-table-buffer):
4031 calc/README: Mention that the TeX specific units won't use the
4032 `tex' prefix in TeX mode.
4033 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4034 prefix for units in TeX mode.
4036 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4038 * simple.el (kill-new, kill-append, kill-region):
4039 * comint.el (comint-kill-region): Make the yank-handler argument
4042 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4044 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4045 that are both openers (resp. closers) and something else.
4046 (smie-grammar): Loosen definition of valid values.
4047 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4048 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4049 (smie-indent-after-keyword): Adjust users.
4050 (smie-indent-keyword): Don't indent empty lines.
4052 * vc-hg.el (vc-hg-program): New var.
4053 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4054 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4056 2010-11-18 Glenn Morris <rgm@gnu.org>
4058 * emacs-lisp/autoload.el (autoload-find-destination): The function
4059 coding-system-eol-type may return non-numeric values. (Bug#7414)
4061 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4063 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4065 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4067 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4069 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4071 * textmodes/picture.el (picture-mouse-set-point): Don't use
4072 posn-col-row; explicitly compute the motion based on the posn at
4073 the window-start (Bug#7390).
4075 2010-11-18 Glenn Morris <rgm@gnu.org>
4077 * novice.el (disabled-command-function):
4078 Fix 2009-11-15 change. (Bug#7384)
4080 2010-11-18 Glenn Morris <rgm@gnu.org>
4082 * calendar/calendar.el (diary-iso-date-forms): Make elements
4083 mutually exclusive. (Bug#7377)
4085 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4088 when filling the remaining "unconstrained" values.
4090 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4095 * files.el (safe-local-variable-p): Gracefully handle errors.
4097 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4098 Use smie-indent-virtual when indenting relative to an opener.
4099 (smie-rule-separator): Use smie-rule-parent.
4100 (smie-indent-keyword): Consult rules, even for openers at bol.
4101 (smie-indent-comment-close): Try to align closer's content.
4103 2010-11-18 Glenn Morris <rgm@gnu.org>
4105 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4107 2010-11-18 Glenn Morris <rgm@gnu.org>
4109 * printing.el (pr-menu-bind): Doc fix.
4111 * speedbar.el (speedbar-toggle-images): Doc fix.
4113 * progmodes/python.el (python-shell): Doc fix.
4115 * wid-edit.el (widget-field-use-before-change)
4116 (widget-use-overlay-change): Doc fixes.
4118 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4120 Minor cleanup to improve style.
4121 * textmodes/rst.el (rst-update-section): Use point-marker.
4122 (rst-get-decoration): Eliminate unneeded assignment.
4123 (rst-promote-region, rst-straighten-decorations)
4124 (rst-section-tree, rst-adjust): Use point-marker.
4125 (rst-toc-mode-mouse-goto): Avoid setq.
4126 (rst-shift-region-guts, rst-shift-region-left)
4127 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4128 (rst-convert-bullets-to-enumeration): Use copy-marker.
4130 * minibuffer.el (completion-fail-discreetly): New var.
4131 (completion--do-completion): Use it.
4133 * electric.el (electric-pair-pairs): New var.
4134 (electric-pair-post-self-insert-function): Use it.
4135 (electric-layout-post-self-insert-function): Don't insert a before
4136 newline unless it's actually needed.
4138 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * progmodes/python.el (run-python): Explain why we remove the current
4141 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4143 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4145 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4147 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4148 (octave-mode-map): Don't bind ;, SPC, and LF.
4149 (octave-auto-indent, octave-auto-newline): Remove.
4150 (electric-layout-rules): Declare.
4151 (octave-mode): Set electric-layout-rules.
4152 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4153 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4154 (octave-electric-space): Remove.
4156 * electric.el (electric-layout-mode): New minor mode.
4157 (electric--after-char-pos): New function.
4158 (electric-indent-post-self-insert-function): Use it.
4159 (electric-layout-rules): New var.
4160 (electric-layout-post-self-insert-function): New function.
4161 (electric-indent-mode): Make them interact better.
4163 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4166 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4167 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4169 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4171 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4172 Make sure to check inside the word (Bug#6761).
4174 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4176 * startup.el (command-line): If the cursorColor resource is set,
4177 change the cursor face-spec (Bug#7392).
4179 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4181 The main features of the following allout.el changes are:
4182 - implement user customization for the allout key bindings
4183 - add a customization control by which the user can inhibit use of
4184 a trailing Ctrl-H, so by default it's reserved for use with
4185 describe-prefix-bindings
4186 - adapt to new version of called-interactively-p, while
4187 maintaining backwards compatibility with old version
4188 - fix hotspot navigation so i works properly with meta-modified keys.
4190 * allout.el (allout-keybindings, allout-bind-keys)
4191 (allout-keybindings-binding, allout-prefixed-keybindings)
4192 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4193 (allout-keybindings-list, allout-mode-map-adjustments)
4194 (allout-setup-mode-map): Establish allout-mode keymaps as user
4195 customizable settings, and also establish a customizable setting which
4196 regulates whether or not a trailing control-h is reserved for use with
4197 describe-prefix-bindings - and inhibit it by default, so that control-h
4198 *is* reserved for describe-prefix-bindings unless the user changes it.
4200 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4201 and accurately between modified and unmodified events, and handle
4202 modified events more comprehensively.
4204 * allout.el (allout-substring-no-properties):
4205 Alias to use or provide version of `substring-no-properties'.
4206 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4208 * allout.el (allout-next-single-char-property-change):
4209 Alias to use or provide version of `next-single-char-property-change'.
4210 (allout-annotate-hidden, allout-hide-by-annotation):
4211 Use `allout-next-single-char-property-change'.
4213 * allout.el (allout-select-safe-coding-system):
4214 Alias to use or provide version of `select-safe-coding-system'.
4215 (allout-toggle-subtree-encryption):
4216 Use `allout-select-safe-coding-system'.
4218 * allout.el (allout-set-buffer-multibyte):
4219 Alias to use or provide version of `set-buffer-multibyte'.
4220 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4222 * allout.el (allout-called-interactively-p): Macro for using the
4223 different versions of called-interactively-p identically, depending on
4224 the subroutine's argument signature.
4225 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4226 Use `(interactive "p")' instead of `(called-interactively-p)'.
4228 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4229 (allout-previous-visible-heading, allout-forward-current-level)
4230 (allout-backward-current-level, allout-show-children):
4231 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4233 * allout.el (allout-before-change-handler):
4234 Exempt edits to the (overlaid) character after the allout outline
4235 bullet from edit confirmation prompt.
4237 * allout.el (allout-add-resumptions):
4238 Ensure that it respects correct buffer for keybindings.
4240 * allout.el (allout-beginning-of-line):
4241 Use `allout-previous-single-char-property-change' alias for the sake of
4242 diverse compatibility.
4244 * allout.el (allout-end-of-line):
4245 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4247 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4249 * frame.el (frame-notice-user-settings): Don't clobber other
4250 user-set parameters when calling face-set-after-frame-default in
4251 response to background-color parameter (Bug#7373).
4253 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4255 * international/characters.el (glyphless-char-display-control):
4256 Rename from glyphless-char-control; all users changed. Doc fix.
4257 Signal an error if display method is not one of the recognized
4260 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4262 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4263 (tramp-compat-line-end-position): Remove them.
4265 * net/tramp.el (tramp-parse-rhosts-group)
4266 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4267 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4268 (tramp-parse-netrc-group, tramp-parse-putty-group)
4269 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4270 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4271 (tramp-sh-handle-file-selinux-context)
4272 (tramp-sh-handle-file-name-all-completions)
4273 (tramp-sh-handle-insert-directory)
4274 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4275 (tramp-wait-for-output, tramp-send-command-and-read)
4276 * net/tramp-smb.el (tramp-smb-read-file-entry)
4277 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4279 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4281 (tramp-remote-coding-commands): Add an alternative using "base64
4282 -d -i". This is needed for older base64 versions from GNU
4283 coreutils. Reported by Klaus Reichl
4284 <Klaus.Reichl@thalesgroup.com>.
4286 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4288 * simple.el (count-words-region): New function.
4290 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * shell.el (shell-dir-cookie-re): New custom variable.
4293 (shell-dir-cookie-watcher): New function.
4295 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4296 and compilation-mode (bug#7350).
4298 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4299 highlight when one of them is empty.
4301 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4303 (skeleton-newline): New function.
4304 (skeleton-internal-1): Use it.
4306 * simple.el (open-line): `newline' may strip trailing space.
4308 2010-11-12 Kevin Ryde <user42@zip.com.au>
4310 * international/mule-cmds.el (princ-list): Use mapc.
4312 2010-11-12 Glenn Morris <rgm@gnu.org>
4314 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4315 Use it to replace all instances of "*Compile-Log*".
4317 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4319 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4322 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * progmodes/modula2.el: Use SMIE and skeleton.
4325 (m2-mode-syntax-table): (*..*) can be nested.
4326 Add //...\n. Fix paren syntax.
4327 (m2-mode-map): Remove LF and TAB bindings.
4328 (m2-indent): Add safety property.
4329 (m2-smie-grammar): New var.
4330 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4331 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4332 (m2-mode): Use define-derived-mode.
4333 (m2-newline, m2-tab): Remove.
4334 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4335 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4336 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4337 (m2-import): Use define-skeleton.
4339 2010-11-11 Glenn Morris <rgm@gnu.org>
4341 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4343 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4344 (ls-lisp-verbosity): Add custom :set-after property.
4345 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4346 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4347 (ls-lisp-insert-directory): Update caller.
4348 (ls-lisp-set-options): New function.
4349 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4352 * play/landmark.el (lm-prompt-for-move):
4353 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4355 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4357 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4358 (idlwave-study-twins): Prefix dynamic local variable `name'.
4359 (idlwave-routine-twin-compare): Update for above change.
4361 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4362 Prefix dynamic local variables `name', `kwd', and `link'.
4363 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4364 * progmodes/idlw-complete-structtag.el
4365 (idlwave-complete-structure-tag-help):
4366 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4367 (idlwave-complete-sysvar-tag-help)
4368 (idlwave-complete-class-structure-tag-help):
4369 Update for above name changes.
4371 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4373 * net/browse-url.el (browse-url-browser-function): Change the
4374 default to use `browse-url-mail' on mailto: URLs.
4376 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4378 * emacs-lisp/package.el (package-read-all-archive-contents):
4379 Reset package-archive-contents to nil before re-reading.
4381 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4383 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4384 already found as misspellings by (flyspell-large-region), just
4385 do highlighting (bug#7322).
4387 2010-11-10 Glenn Morris <rgm@gnu.org>
4389 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4391 * emulation/edt.el (edt-with-position): New macro.
4392 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4393 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4394 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4396 * emulation/tpu-extras.el (tpu-with-position): New macro.
4397 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4399 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4401 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4402 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4403 (texinfo-master-menu, texinfo-insert-node-lines)
4404 (texinfo-multiple-files-update):
4405 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4406 Use line-beginning-position.
4408 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4409 No recent Emacs supports system-type `emx'.
4411 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4412 (ada-command-separator, ada-default-prj-properties)
4413 (ada-find-any-references): Update for above name change.
4415 * dirtrack.el (dirtrack-directory-function)
4416 (dirtrack-canonicalize-function):
4417 * filecache.el (file-cache-completion-ignore-case)
4418 (file-cache-case-fold-search, file-cache-ignore-case):
4419 * term.el (serial-port-is-file-p): Cosmetic change.
4421 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4422 Remove non-existent `windows-95' system-type.
4423 * dired.el (dired-chown-program): Remove non-existent `linux'
4426 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4427 (ping-program-options): Remove non-existent `linux' system-type.
4429 * startup.el (package-initialize): Update declaration.
4431 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4432 (ls-lisp-handle-switches): Use time-less-p.
4433 (ls-lisp-format-time): Use float-time.
4435 * textmodes/remember.el (remember-time-to-seconds): Remove.
4436 (remember-store-in-mailbox): Use float-time.
4438 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4440 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4441 never a real function.
4442 (with-no-warnings): Remove compat stub, now unused.
4443 (time-less-p): Doc fix.
4444 (time-to-number-of-days): Simplify.
4446 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4448 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4449 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4450 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4451 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4452 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4454 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4455 (eshell-shuffle-files, eshell-shorthand-tar-command)
4456 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4457 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4458 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4459 Prefix dynamic local variable `matches'.
4461 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4462 Prefix dynamic local variable `skeleton'.
4464 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4466 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4467 in mail buffer; make yank-action always a command that yanks original
4470 2010-11-09 Glenn Morris <rgm@gnu.org>
4472 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4474 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4477 completion field (bug#7211).
4479 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4480 Fix handling of backslash escapes.
4481 (python-quote-syntax): Adjust accordingly.
4483 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4485 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4486 (vc-mtn-workfile-branch): Adjust to new output format.
4488 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4490 * international/mule-cmds.el (princ-list): Mark as obsolete.
4492 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * emacs-lisp/smie.el: New package.
4496 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4498 * files.el (backup-by-copying-when-mismatch):
4499 Set `permanent-local' property.
4501 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4502 `permanent-local' property for `backup-by-copying-when-mismatch'.
4504 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4506 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4508 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4510 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4511 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4512 AUTOINOUT for SV style multidimensional arrays, bug294.
4513 Reported by Eric Mastromarchi.
4514 (verilog-preprocess): Use with-current-buffer and
4515 font-lock-fontify-buffer to cleanup style issues.
4517 2010-11-09 Glenn Morris <rgm@gnu.org>
4519 * locate.el (locate, locate-mode): Doc fixes.
4521 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4523 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4524 user for confirmation.
4525 (server-force-stop): Use it.
4526 (server-start): Use server-force-stop for kill-emacs-hook, to
4527 avoid user interaction while killing Emacs.
4529 2010-11-09 Glenn Morris <rgm@gnu.org>
4531 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4532 (meta-indent-line): Simplify.
4534 * vc/emerge.el (emerge-line-number-in-buf):
4535 * textmodes/ispell.el (ispell-region):
4536 * textmodes/fill.el (current-fill-column):
4537 * progmodes/xscheme.el (xscheme-send-current-line):
4538 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4539 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4540 * progmodes/sh-script.el (sh-handle-prev-do):
4541 * progmodes/meta-mode.el (meta-indent-line):
4542 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4544 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4545 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4546 * progmodes/fortran.el (fortran-looking-at-if-then):
4547 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4548 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4549 (cperl-find-pods-heres):
4550 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4551 * net/quickurl.el (quickurl-list-insert):
4552 * net/ldap.el (ldap-search-internal):
4553 * net/eudc.el (eudc-expand-inline):
4554 * mail/sendmail.el (sendmail-send-it):
4555 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4556 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4557 (viper-brac-function):
4558 * calc/calc-yank.el (calc-do-grab-region):
4559 * calc/calc-keypd.el (calc-keypad-press):
4560 * term.el (term-move-columns, term-insert-spaces):
4561 * speedbar.el (speedbar-highlight-one-tag-line):
4562 * simple.el (current-word):
4563 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4564 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4566 * hippie-exp.el (he-line-beg):
4567 * epa.el (epa--marked-keys):
4568 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4569 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4570 (dired-relist-entry):
4571 * buff-menu.el (Buffer-menu-buffer):
4572 * array.el (current-line):
4573 * allout.el (allout-resolve-xref)
4574 (allout-latex-verbatim-quote-curr-line):
4575 Replace yet more uses of end-of-line etc with line-end-position, etc.
4577 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4580 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4581 (checkdoc-syntax-table): Initialize in the declaration.
4582 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4583 the mode on unconditionally.
4585 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4586 (extent-end-position, extent-start-position): Remove setf method for
4587 non-existing functions (bug#7319).
4589 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4591 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4592 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4593 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4594 (smie-prec2->grammar): Rename from smie-prec2-levels.
4595 (smie-grammar): Rename from smie-op-levels.
4596 (smie-indent--hanging-p): Rename from smie-hanging-p.
4597 (smie-rule-hanging-p): New alias.
4598 (smie-indent--bolp): Rename from smie-bolp.
4599 (smie-indent--hanging-p): New alias.
4600 (smie--token): New dynamically bound variable.
4601 (smie-indent--parent): New function.
4602 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4603 (smie-rule-next-p): Rename from smie-next-p.
4604 (smie-rule-prev-p): Rename from smie-prev-p.
4605 (smie-rule-sibling-p, smie-rule-parent)
4606 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4607 (smie-rule-separator-outdent): New var.
4608 (smie-indent--rule): Merge with smie-indent--column.
4609 (smie-indent-forward-token, smie-indent-backward-token):
4610 Also recognize close parens.
4611 (smie-indent-keyword): Don't use smie-indent--column any more.
4612 (smie-indent-after-keyword): Ignore closers by default.
4613 (smie-indent-line): Use with-demoted-errors.
4614 * progmodes/octave-mod.el (octave-smie-grammar):
4615 Rename from octave-smie-op-levels.
4616 (octave-smie-rules): Adjust to new behavior.
4617 * progmodes/prolog.el (prolog-smie-grammar):
4618 Rename from prolog-smie-op-levels.
4620 2010-11-07 Glenn Morris <rgm@gnu.org>
4622 * eshell/esh-util.el (subst-char-in-string)
4623 (directory-files-and-attributes): These compatibility definitions are
4624 not needed on any version of Emacs since at least 21.4.
4626 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4627 (verilog-get-end-of-line): Remove.
4628 (verilog-within-string, verilog-re-search-forward-substr)
4629 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4630 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4631 Use point-at-bol, point-at-eol.
4632 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4634 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4635 (electric-pascal-terminate-line, pascal-set-auto-comments)
4636 (pascal-indent-paramlist, pascal-indent-declaration)
4637 (pascal-get-lineup-indent, pascal-func-completion)
4638 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4639 Use point-at-bol, point-at-eol.
4640 * progmodes/flymake.el (flymake-line-beginning-position)
4641 (flymake-line-end-position): Remove.
4642 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4643 * eshell/esh-util.el (line-end-position, line-beginning-position):
4644 Remove compat definitions.
4646 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4648 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4649 Use line-end-position.
4651 * emacs-lisp/chart.el (chart-zap-chars):
4652 * play/decipher.el (decipher-set-map):
4653 * progmodes/ada-mode.el (ada-get-current-indent)
4654 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4655 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4656 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4657 (ada-get-all-references):
4658 * progmodes/cperl-mode.el (cperl-electric-paren)
4659 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4660 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4661 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4662 (cperl-word-at-point-hard):
4663 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4664 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4665 (idlwave-shell-display-line):
4666 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4667 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4668 * progmodes/js.el (js--re-search-forward-inner)
4669 (js--re-search-backward-inner):
4670 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4671 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4672 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4673 * textmodes/flyspell.el (flyspell-process-localwords):
4674 * textmodes/ispell.el (ispell-buffer-local-parsing)
4675 (ispell-buffer-local-dict, ispell-buffer-local-words):
4676 Use point-at-bol and point-at-eol.
4678 * speedbar.el (speedbar-generic-item-info)
4679 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4680 (speedbar-add-indicator, speedbar-check-vc-this-line)
4681 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4682 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4683 Replace more uses of end-of-line etc with line-end-position.
4685 2010-11-06 Glenn Morris <rgm@gnu.org>
4687 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4688 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4689 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4690 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4691 (texinfo-multiple-files-update):
4692 * textmodes/table.el (table--probe-cell-left-up)
4693 (table--probe-cell-right-bottom):
4694 * textmodes/picture.el (picture-tab-search):
4695 * textmodes/page-ext.el (pages-copy-header-and-position)
4696 (pages-directory-for-addresses):
4697 * progmodes/vera-mode.el (vera-get-offset):
4698 * progmodes/simula.el (simula-calculate-indent):
4699 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4700 * progmodes/prolog.el (end-of-prolog-clause):
4701 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4702 * progmodes/icon.el (indent-icon-exp):
4703 * progmodes/etags.el (tag-re-match-p):
4704 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4705 * progmodes/ebnf2ps.el (ebnf-begin-file):
4706 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4707 (dcl-save-local-variable):
4708 * play/life.el (life-setup):
4709 * play/gametree.el (gametree-looking-at-ply):
4710 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4711 * mail/sendmail.el (mail-mode-auto-fill):
4712 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4713 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4714 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4715 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4716 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4717 * type-break.el (type-break-file-keystroke-count):
4718 * term.el (term-replace-by-expanded-history-before-point)
4719 (term-skip-prompt, term-extract-string):
4720 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4721 (speedbar-contract-line, speedbar-toggle-line-expansion)
4722 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4723 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4724 * sort.el (sort-skip-fields):
4725 * skeleton.el (skeleton-internal-list):
4726 * simple.el (line-move-finish, line-move-to-column):
4727 * shell.el (shell-forward-command):
4728 * misc.el (copy-from-above-command):
4729 * makesum.el (double-column):
4730 * ebuff-menu.el (electric-buffer-update-highlight):
4731 * dired.el (dired-move-to-end-of-filename):
4732 * dframe.el (dframe-popup-kludge):
4733 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4734 * arc-mode.el (archive-get-lineno):
4735 Use line-end-position and line-beginning-position.
4737 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4738 (idlwave-study-twins): Prefix dynamic local `class'.
4739 (idlwave-routine-twin-compare): Update for above name change.
4741 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4742 Use boundp tests to silence compiler. Update for changed name of
4743 bytecomp-filename variable.
4745 * emulation/viper-cmd.el (viper-read-string-with-history):
4746 Prefix dynamic local `initial'.
4747 (viper-minibuffer-standard-hook): Update for above name change.
4749 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4750 (elint-init-form): Update for above name change.
4752 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4753 local variables `cbeg' and `cend' a prefix.
4754 (mail-extr-voodoo): Update for above name change.
4756 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4757 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4758 (reftex-toc-promote-action): Doc fix.
4760 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4761 `prompt', `data' a prefix.
4762 (reftex-select-post-command-hook, reftex-select-callback)
4763 (reftex-select-mouse-accept, reftex-select-read-cite):
4764 Update for above name changes.
4766 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4767 `refstyle' to reftex-refstyle.
4768 (reftex-offer-label-menu): Update for above name change.
4769 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4770 `refstyle' name change.
4772 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4773 with with-current-buffer.
4774 (diff, template): Give dynamic local variables a prefix.
4775 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4776 (emerge-line-number-in-buf): Update for above name change.
4777 (emerge-combine-versions-internal): Rename local `template' to
4778 emerge-combine-template.
4779 (emerge-combine-versions-edit): Update for above name change.
4781 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4783 * textmodes/reftex-cite.el
4784 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4785 entries with whitespace after \bibitem.
4786 (reftex-create-bibtex-file): Match entries containing numbers and
4787 symbol constituents. Make sure that entries with whitespace at
4788 various places are found.
4790 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4792 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4794 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4796 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4798 2010-11-05 Glenn Morris <rgm@gnu.org>
4800 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4801 (woman2-roff-buffer): Give local variable `request' a prefix.
4802 (woman0-macro): Rename argument `request' in the same way.
4803 (woman-request): New name for `request' dynamic variable.
4804 (woman-unquote, woman-forward-arg): Update for above name change.
4805 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4806 (woman1-unquote): New name for `unquote' dynamic variable.
4807 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4808 (woman-translations): Rename from `translations'. No longer global.
4809 (woman2-tr, woman-translate): Update for above name change.
4810 (woman-translate): Check for bound variable.
4811 (woman2-roff-buffer): Give local variable `translations' a prefix.
4813 * play/doctor.el: Give all local variables a prefix. Update callers.
4814 (doc$, doctor-put-meaning): Use backquote.
4816 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4817 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4819 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4820 variables bytes, ptr, op a prefix.
4821 (disassemble-offset): Update for above change.
4823 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4825 * emacs-lisp/package.el (package-unpack): Remove no-op.
4826 (package--builtins, package--dir): Doc fix.
4827 (package-activate-1, package-activate, package-install)
4828 (package-compute-transaction): Fix error message.
4829 (package-delete): Use delete-directory. Omit system packages.
4830 (package-initialize): Set package-alist to nil first.
4831 (package-menu-mark-delete, package-menu-mark-install): Don't add
4832 symbols that are inconsistent with the package state.
4833 (package-menu-execute): Perform deletions and installations as
4834 single batch operations.
4836 2010-11-03 Glenn Morris <rgm@gnu.org>
4838 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4839 (props): Remove unnecessary declaration.
4841 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4842 set-process-query-on-exit-flag.
4844 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4845 (reftex-toc-do-promote): Remove unused local `mpos'.
4846 (reftex-toc-restore-region): Make `mpos' local to this function.
4848 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4850 * play/landmark.el (lm-losing-threshold): Correct spelling.
4851 (lm-human-plays): Use new name.
4853 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4854 (gomoku-human-plays): Use new name.
4856 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4857 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4858 (gomoku-score-trans-table, gomoku-winning-threshold)
4859 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4861 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4863 * emacs-lisp/package.el: Don't put built-in packages in
4864 package-alist, to avoid loading inefficiencies.
4865 (package-built-in-p): Make VERSION optional, and treat it as a
4866 minimum acceptable version.
4867 (package-activate): Search separately for built-in packages.
4868 Emit a warning if a dependency fails.
4869 (define-package): Handle most common case, where there is no
4870 obsolete package, first.
4871 (package-compute-transaction): Print required version in error.
4872 (package--initialized): New variable.
4873 (list-packages): Use it.
4874 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4875 built-in packages in packages-alist; keep it separate.
4876 Set package--initialized.
4877 (describe-package): Avoid activating packages as a side-effect.
4878 Search separately for built-in packages.
4879 (describe-package-1): Handle the case where an elpa package is
4880 simultaneously built-in and available/installed.
4881 (package-installed-p, package--generate-package-list):
4882 Search separately for built-in packages.
4883 (package-load-descriptor): Doc fix.
4885 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4888 Handle __DATA__ and __END__.
4890 2010-11-02 Noah Friedman <friedman@splode.com>
4892 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4893 nil, do not ask to recompile files that are not already compiled,
4894 and do not recompile them.
4896 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4898 * emacs-lisp/package.el (package-initialize): Ensure that
4899 obsoleted built-in packages are not in package-activated-list
4901 (describe-package-1): Make the "installed" status override
4904 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4906 * subr.el (version-separator, version-regexp-alist): Remove '*'
4908 (version-list-<=, version<=, version=): Doc fix.
4910 2010-11-01 Kenichi Handa <handa@m17n.org>
4912 * faces.el (glyphless-char): Inherit underline for tty.
4914 2010-11-01 Kenichi Handa <handa@m17n.org>
4916 Implement various display methods for glyphless characters.
4918 * international/characters.el (char-acronym-table): New variable.
4919 (glyphless-char-control): New variable.
4920 (update-glyphless-char-display): New function.
4922 * faces.el (glyphless-char): New face.
4924 2010-11-01 Glenn Morris <rgm@gnu.org>
4926 * calendar/holidays.el (general-holidays, oriental-holidays)
4927 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4928 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4929 the definitions of their targets.
4931 * emacs-lisp/smie.el (smie): New custom group.
4932 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4934 * faces.el (xw-defined-colors, x-setup-function-keys):
4935 * mouse-sel.el (x-select-text):
4936 * term/w32console.el (x-setup-function-keys): Update declarations.
4938 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4940 * textmodes/ispell.el (comment-add): Declare.
4942 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4945 * info.el (finder-keywords-hash, package-alist): Declare.
4947 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4949 * finder.el (finder-compile-keywords): Don't use intern-soft,
4950 since package names may not yet exist in the obarray.
4952 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4954 * vc/vc-arch.el (vc-arch-checkin):
4955 * vc/vc-cvs.el (vc-cvs-checkin):
4956 * vc/vc-mtn.el (vc-mtn-checkin):
4957 * vc/vc-rcs.el (vc-rcs-checkin):
4958 * vc/vc-sccs.el (vc-sccs-checkin):
4959 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4960 since 2010-04-21 commit by Stefan Monnier.
4962 2010-11-01 Glenn Morris <rgm@gnu.org>
4964 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4966 * startup.el (package-enable-at-startup, package-initialize):
4969 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4972 2010-10-31 Julien Danjou <julien@danjou.info>
4974 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4975 (byte-recompile-directory):
4976 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4977 Use `byte-recompile-file'.
4979 2010-10-31 Glenn Morris <rgm@gnu.org>
4981 * cus-start.el: Handle standard values via a keyword.
4982 Only set version property if specified.
4983 (cursor-in-non-selected-windows, menu-bar-mode)
4984 (tool-bar-mode, show-trailing-whitespace):
4985 Do not specify standard values.
4986 (transient-mark-mode, temporary-file-directory): Use :standard.
4988 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4990 * term/x-win.el (x-get-selection-value): New function that gets
4991 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4993 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4995 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4996 preserve owner and group when editing files. (Bug#7289)
4998 2010-10-31 Glenn Morris <rgm@gnu.org>
5000 * speedbar.el (speedbar-mode):
5001 * play/fortune.el (fortune-in-buffer, fortune):
5002 * play/gomoku.el (gomoku-mode):
5003 * play/landmark.el (lm-mode):
5004 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5005 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5007 * select.el (x-selection): Mark it as an obsolete alias.
5009 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5011 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5012 major-mode (bug#7284).
5014 2010-10-31 Glenn Morris <rgm@gnu.org>
5016 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5017 rather than just an unused variable that inherits from the real one.
5019 2010-10-31 Alan Mackenzie <acm@muc.de>
5021 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5022 This fixes bug #7185.
5024 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5026 * startup.el (command-line): Search for package directories, and
5027 don't load package.el if none are found.
5029 * emacs-lisp/package.el (describe-package, list-packages):
5030 Call package-initialize if it has not been called yet.
5032 2010-10-30 Alan Mackenzie <acm@muc.de>
5034 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5035 which fontifies the tail of an enum.
5036 (c-basic-matchers-after): Insert a call to the above new function.
5037 This fixes bug #7264.
5039 2010-10-30 Glenn Morris <rgm@gnu.org>
5041 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5042 tool-bar-mode, transient-mark-mode. (Bug#7306)
5043 Include the :set property in the dumped Emacs.
5045 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5047 SMIE: change indent rules format, improve smie-setup.
5048 * emacs-lisp/smie.el (smie-precs-precedence-table)
5049 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5050 Mark them pure so the tables gets built at compile time.
5051 (smie-bnf-precedence-table): Store the closer-alist in the table.
5052 (smie-prec2-levels): Preserve the closer-alist.
5053 (smie-blink-matching-open): Be more forgiving in case of indentation.
5054 (smie-hanging-p): Rename from smie-indent--hanging-p.
5055 (smie-bolp): Rename from smie-indent--bolp.
5056 (smie--parent, smie--after): New dynamic vars.
5057 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5058 (smie-indent-rules): Remove.
5059 (smie-indent--offset-rule): Remove fun.
5060 (smie-rules-function): New var.
5061 (smie-indent--rule): New fun.
5062 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5063 (smie-indent-exps): Use it.
5064 (smie-setup): Setup paren blinking; add keyword args for token
5065 functions; extract closer-alist from op-levels.
5066 (smie-indent-debug-log): Remove var.
5067 (smie-indent-debug): Remove fun.
5068 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5069 (prolog-smie-rules): New fun to replace it.
5070 (prolog-mode-variables): Simplify.
5071 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5072 it's setup automatically.
5073 (octave-smie-indent-rules): Remove.
5074 (octave-smie-rules): New fun to replace it.
5075 (octave-mode): Simplify.
5077 2010-10-29 Glenn Morris <rgm@gnu.org>
5079 * files.el (temporary-file-directory): Remove (already defined in C).
5080 * cus-start.el: Add temporary-file-directory.
5082 * abbrev.el (abbrev-mode):
5083 * composite.el (auto-composition-mode):
5084 * menu-bar.el (menu-bar-mode):
5085 * simple.el (transient-mark-mode):
5086 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5087 that they do not define the associated variables twice.
5088 * simple.el (transient-mark-mode): Remove defvar.
5089 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5090 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5091 Handle multiple groups, and also custom-delayed-init-variables.
5092 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5094 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5096 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5097 (pcase-if): Add one minor optimization.
5098 (pcase-split-equal): Rename from pcase-split-eq.
5099 (pcase-split-member): Rename from pcase-split-memq.
5100 (pcase-u1): Add strings to the member optimization.
5101 Add `guard' variant of predicates.
5102 (pcase-q1): Add string patterns.
5104 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5106 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5108 2010-10-28 Glenn Morris <rgm@gnu.org>
5110 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5111 Move menu-bar related settings to ../menu-bar.el.
5112 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5113 Move ns-specific settings here from term/ns-win.el.
5115 * simple.el (x-selection-owner-p): Remove unused declaration.
5117 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * minibuffer.el (completion-cycling): New var (bug#7266).
5120 (minibuffer-complete, completion--do-completion):
5121 Use completion--flush-all-sorted-completions.
5122 (minibuffer-complete): Only cycle if completion-cycling is set.
5123 (completion--flush-all-sorted-completions): Unset completion-cycling.
5124 (minibuffer-force-complete): Set completion-cycling.
5125 (completion-all-sorted-completions): Move declaration before first use.
5127 2010-10-28 Leo <sdl.web@gmail.com>
5129 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5130 which changes the order of matches seen by users (bug#7231).
5132 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5134 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5135 Don't confuse -omega as "-o mega".
5137 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5140 (log-edit-author): New dynamic var.
5141 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5142 to return the author if different from committer.
5143 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5145 * play/landmark.el: Adjust commenting convention.
5146 (lm-nil-score): Rename from nil-score.
5147 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5148 (OOOOscore): Move into a let in lm-score-trans-table.
5149 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5151 * electric.el (electric-indent-chars): Autoload.
5152 * progmodes/octave-mod.el (octave-mode):
5153 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5154 (ruby-mode-abbrev-table): Merge initialization and declaration.
5156 2010-10-27 Glenn Morris <rgm@gnu.org>
5158 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5161 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5163 * term/ns-win.el: Restore require of cl when compiling.
5164 (menu-bar-final-items): Remove non-existent `windows' menu.
5165 (ns-handle-nxopen): Optionally handle the temp-case.
5166 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5167 (ns-insert-file, ns-find-file): Use `pop'.
5169 2010-10-26 Glenn Morris <rgm@gnu.org>
5171 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5173 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5175 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5177 * term/common-win.el (x-setup-function-keys): Remove most of the
5178 keymappings. Comment on the remaining ones.
5180 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5182 * server.el (server-port): New option. (Bug#854)
5183 (server-start): Use server-port.
5185 2010-10-26 Glenn Morris <rgm@gnu.org>
5187 * term/ns-win.el (ns-version-string): Remove unused declaration.
5188 (ns-invocation-args): Change to x-invocation-args.
5189 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5190 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5191 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5192 Use x-invocation-args instead of ns-invocation-args.
5193 (ns-initialize-window-system, handle-args-function-alist):
5194 Use x-handle-args instead of ns-handle-args.
5195 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5196 * startup.el (command-line-ns-option-alist): Replace
5197 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5198 ns-handle-iconic with the x- equivalents.
5200 * term/common-win.el (x-select-enable-clipboard):
5201 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5203 * term/ns-win.el: No need to require cl when compiling.
5204 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5205 (xw-defined-colors): Use the common-win definitions.
5206 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5207 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5208 * term/common-win.el (x-select-text, x-alternatives-map)
5209 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5210 * loadup.el [ns]: Load common-win.
5212 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5214 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5215 recipients; expand mail aliases (Bug#7280).
5217 2010-10-25 Glenn Morris <rgm@gnu.org>
5219 * term/common-win.el (x-handle-switch): Simplify with pop.
5220 Optionally handle numeric switches.
5221 (x-handle-numeric-switch): Just call x-handle-switch.
5222 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5223 (x-handle-name-switch, x-handle-display, x-handle-args):
5226 * term/ns-win.el: Do not require easymenu.
5227 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5228 <spell>: Move adjustments to menu-bar.el.
5229 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5230 <separator-undo, spell>: Move ns-win's adjustments here.
5231 * loadup.el [ns]: Do not load easymenu.
5233 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5235 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5238 * startup.el (fancy-startup-tail): Instead of using inline images,
5239 refer to image files from etc/.
5241 * wid-edit.el (checkbox): Likewise.
5242 (widget-image-find): Center image specs.
5244 2010-10-24 Glenn Morris <rgm@gnu.org>
5246 * term/ns-win.el (x-select-text): Doc fix.
5247 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5248 (x-select-text): Move to term/common-win.
5249 * term/w32-win.el (xw-defined-colors): Move to common-win.
5250 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5251 (x-setup-function-keys, x-select-text): Move to common-win.
5252 * term/common-win.el (x-select-text, x-alternatives-map)
5253 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5256 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5258 * net/mairix.el (mairix-searches-mode-map):
5259 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5261 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5263 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5264 auto-built for efficiency of execution and updating.
5265 (verilog-extended-complete-re): Support 'pure' fucntion & task
5266 declarations (these have no bodies).
5267 (verilog-beg-of-statement): General cleanup to enable support of
5268 'pure' fucntion & task declarations (these have no bodies).
5269 These efforts together fix Verilog bug210 from veripool; which was also
5270 noticed by Steve Pearlmutter.
5271 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5272 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5273 Support `elsif. Reported by Shankar Giri.
5274 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5275 attribute handling for lining up declarations and assignments.
5276 (verilog-beg-of-statement-1): Fix issue where continued declaration
5277 is indented differently if it is after a begin..end clock.
5278 (verilog-in-attribute-p, verilog-skip-backward-comments)
5279 (verilog-skip-forward-comment-p): Support proper treatment of
5280 attributes by indent code. Reported by Jeff Steele.
5281 (verilog-in-directive-p): Fix comment to correctly describe function.
5282 (verilog-backward-up-list, verilog-in-struct-region-p)
5283 (verilog-backward-token, verilog-in-struct-p)
5284 (verilog-in-coverage-p, verilog-do-indent)
5285 (verilog-pretty-declarations): Use verilog-backward-up-list as
5286 wrapper around backward-up-list inorder to properly skip comments.
5287 Reported by David Rogoff.
5288 (verilog-property-re, verilog-endcomment-reason-re)
5289 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5290 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5291 of if). Reported by Max Bjurling and
5292 (verilog-calc-1): Fix for clocking block in modport
5293 declaration. Reported by Brian Hunter.
5295 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5297 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5298 (verilog-gate-keywords, verilog-read-sub-decls)
5299 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5300 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5301 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5302 (verilog-read-decls): Fix spaces in V2K module parameters causing
5303 mis-identification as interfaces, bug287.
5304 (verilog-read-decls): Fix not treating "parameter string" as a
5305 parameter in AUTOINSTPARAM.
5306 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5307 treating `elsif similar to `endif inside AUTOSENSE.
5308 (verilog-do-indent): Implement correct automatic or static task or
5309 function end comment highlight. Reported by Steve Pearlmutter.
5310 (verilog-font-lock-keywords-2): Fix highlighting of single
5311 character pins, bug264. Reported by Michael Laajanen.
5312 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5313 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5314 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5315 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5316 (verilog-pretty-expr): Fix interactive arguments, bug272.
5317 Reported by Mark Johnson.
5318 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5319 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5320 bug269. Suggested by Gary Delp.
5321 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5322 (verilog-preprocessor, verilog-set-compile-command):
5323 Create verilog-preprocess and verilog-preprocessor to show
5324 preprocessed output.
5325 (verilog-get-beg-of-line, verilog-get-end-of-line)
5326 (verilog-modi-file-or-buffer, verilog-modi-name)
5327 (verilog-modi-point, verilog-within-string): Move defmacro's
5328 before first use to avoid warning. Reported by Steve Pearlmutter.
5329 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5330 (verilog-colorize-region, verilog-highlight-buffer)
5331 (verilog-highlight-includes, verilog-highlight-modules)
5332 (verilog-highlight-region, verilog-mode): Rename colorize to
5333 highlight to match other packages. Disable module highlighting,
5334 as received speed complaints, reenable for experimentation only
5335 using new verilog-highlight-modules.
5336 (verilog-read-decls): Fix regexp stack overflow in very large
5337 AUTO_TEMPLATEs, bug250.
5338 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5339 (verilog-scan): Create verilog-save-buffer-state to standardize
5340 making insignificant changes that shouldn't call hooks.
5341 (verilog-save-no-change-functions, verilog-save-scan-cache)
5342 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5343 Create verilog-save-no-change-functions to wrap verilog-scan
5344 preservation, and fix to work with nested preserved calls.
5345 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5346 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5347 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5348 (verilog-submit-bug-report): Update variable list to be complete.
5349 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5350 breaking on-the-fly font-locking.
5351 (verilog-colorize-buffer, verilog-colorize-include-files)
5352 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5353 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5354 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5355 AUTOINST cell instance name, middle mouse button now finds-file on
5356 it. Suggested by Brad Dobbie.
5357 (verilog-alw-get-temps, verilog-auto-reset)
5358 (verilog-auto-sense-sigs, verilog-read-always-signals)
5359 (verilog-read-always-signals-recurse): Fix loop indexes being
5360 AUTORESET. AUTORESET now assumes any variables in the
5361 initialization section of a for() should be ignored.
5362 Reported by Dan Dever.
5363 (verilog-error-font-lock-keywords)
5364 (verilog-error-regexp-emacs-alist)
5365 (verilog-error-regexp-xemacs-alist): Fix error detection of
5366 Cadence HAL, reported by David Asher. Repair drift between the
5367 three similar error variables.
5368 (verilog-modi-lookup, verilog-modi-lookup-cache)
5369 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5370 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5371 Fix slow verilog-auto expansion on very large files.
5372 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5373 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5374 "{1*2{...". Broke in last revision.
5375 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5376 submodule connections with replications "{#{a},#{b}}".
5378 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5380 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5381 Fix typo in docstring.
5383 2010-10-24 Kenichi Handa <handa@m17n.org>
5385 * face-remap.el (text-scale-adjust): Call read-event with a proper
5388 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5390 * emacs-lisp/unsafep.el: Don't mark functions that display
5391 messages as safe. Suggested by Johan Bockgård.
5393 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5396 Turn comments into docstrings.
5398 * minibuffer.el (completion--replace): Move point where it belongs
5399 when there's a common suffix (bug#7215).
5401 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5403 Merge read-color and facemenu-read-color (Bug#7242).
5405 * faces.el (read-color): Use the completion code from
5406 facemenu-read-color. Require match in completion. Doc fix.
5408 * facemenu.el (facemenu-read-color): Alias for read-color.
5409 (facemenu-set-foreground, facemenu-set-background):
5412 * frame.el (set-background-color, set-foreground-color)
5413 (set-cursor-color, set-mouse-color, set-border-color):
5416 2010-10-24 Leo <sdl.web@gmail.com>
5418 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5419 argument of delete-file and delete-directory (Bug#7011).
5421 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5423 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5426 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5428 * emacs-lisp/package.el (package--generate-package-list): Make the
5429 *Packages* buffer read-only.
5431 2010-10-24 Alan Mackenzie <acm@muc.de>
5433 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5434 result of `c-beginning-of-decl-1' between invocations of a lambda
5435 function (Bug #7265).
5437 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5439 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5440 executable is not available on the system (Bug#7268).
5442 2010-10-24 Glenn Morris <rgm@gnu.org>
5444 * select.el (selection-coding-system, next-selection-coding-system):
5445 Sync doc with C versions.
5447 * w32-vars.el (x-select-enable-clipboard):
5448 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5449 * term/common-win.el (x-select-enable-clipboard): Move here.
5451 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5452 definition of C variable.
5454 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5455 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5456 Don't redefine things that are defined in C.
5457 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5458 (show-trailing-whitespace, auto-hscroll-mode)
5459 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5460 Set up the appropriate custom properties.
5462 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5465 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5466 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5467 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5468 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5470 2010-10-23 Glenn Morris <rgm@gnu.org>
5472 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5475 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5476 Sync docs with C version.
5478 * term/ns-win.el (xw-defined-colors):
5479 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5481 * term/pc-win.el (x-select-enable-clipboard):
5482 * term/x-win.el (x-select-enable-clipboard):
5483 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5485 * comint.el (comint-password-prompt-regexp): Make it less vague.
5488 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5490 * help.el (finder-by-keyword): Remove unnecessary autoload.
5492 2010-10-22 Glenn Morris <rgm@gnu.org>
5494 * loadup.el: Unconditionally load float-sup.
5495 * paren.el (show-paren-delay):
5496 * emacs-lisp/float-sup.el:
5497 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5498 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5499 (lazy-lock-stealth-verbose): Assume float support.
5500 * ps-print.el: Assume float support on Emacs.
5501 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5502 Remove non-float branch.
5504 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5505 src/Makefile no longer being pre-processed.
5507 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * emacs-lisp/find-func.el (find-library): Use test-completion.
5511 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5513 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5515 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5517 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5518 space in stat format string.
5519 (tramp-send-command): Unset $PS1 when using here documents, in
5520 order not to get several prompts.
5521 (tramp-get-inline-coding): Return `nil' in case of errors.
5523 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5525 * hexl.el (hexl-mode, hexl-mode-exit):
5526 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5527 (hexl-revert-buffer-function): New function.
5528 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5530 2010-10-19 Alan Mackenzie <acm@muc.de>
5532 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5533 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5534 that these keywords aren't wrongly matched as identifiers.
5536 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5537 setting of c-new-BEG and c-new-END from c-before-change to
5538 c-after-change. (Bug#7181)
5540 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5542 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5545 * custom.el (custom-theme-set-variables): Likewise.
5546 (load-theme): Add custom-theme-set-faces and
5547 custom-theme-set-variables to safe-functions while loading.
5548 (custom-enabled-themes): Mark as risky.
5550 2010-10-18 Julien Danjou <julien@danjou.info>
5552 * bindings.el: Remove end dashes in default mode-line-format.
5554 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5556 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5557 to delete-forward-char.
5559 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5560 deletechar, and hence delete-forward-char.
5562 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * repeat.el (repeat): Use read-key (bug#6256).
5566 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5568 * emacs-lisp/unsafep.el: Don't mark functions that display
5569 messages as safe. Suggested by Johan Bockgård.
5571 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5573 * minibuffer.el (completion--replace): Move point where it belongs
5574 when there's a common suffix (bug#7215).
5576 2010-10-19 Kenichi Handa <handa@m17n.org>
5578 * international/characters.el: Add category '|' (word breakable)
5579 to fullwidth characters.
5581 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5583 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5584 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5585 order to make stat results a float. Patch by Andreas Schwab
5586 <schwab@linux-m68k.org>.
5588 2010-10-18 Julien Danjou <julien@danjou.info>
5590 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5591 hidden by `make-pointer-invisible'.
5593 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * files.el (locate-file-completion-table): Strip non-matching elements
5596 before checking length of list (bug#7238).
5598 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5600 * custom.el (custom-theme-set-variables): Mark as a safe function.
5601 (load-theme): Check forms using unsafep.
5603 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5605 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5607 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5608 Fix aspell data file searching (bug#7230).
5610 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5612 * cus-theme.el (custom-theme--migrate-settings): New var.
5613 (customize-create-theme): Allow editing the `user' theme.
5614 (custom-theme-add-variable, custom-theme-add-var-1)
5615 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5616 to the front of each variable or face widget.
5617 (custom-theme-write): Save theme settings in the correct order.
5618 Optionally, remove saved settings from user customizations.
5619 (custom-theme-write-variables, custom-theme-write-faces):
5620 Save only the checked widgets.
5621 (customize-themes): Add a link for migrating custom settings.
5623 * custom.el (custom-declare-theme, provide-theme):
5624 Use custom-theme-name-valid-p.
5625 (custom-theme-name-valid-p): Remove checks that are now
5626 unnecessary since themes no longer obey load-path.
5628 * cus-edit.el (custom-variable-value-create): For the simple
5629 style, hide documentation string when hidden.
5631 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5633 * cus-edit.el (custom-variable, custom-face): Combine the
5634 :inhibit-magic and :display-style properties into a single
5635 :custom-style property.
5636 (custom-toggle-hide-variable, custom-toggle-hide-face):
5637 New functions. If hiding an edited value, save it to :shown-value.
5638 (custom-variable-value-create, custom-face-value-create): Use them.
5639 (custom-magic-reset): Allow magic property to be unset.
5641 * custom.el: Custom themes no longer use load-path.
5642 (custom-theme-load-path): New option. Change built-in theme
5644 (custom-enabled-themes): Add custom-theme-load-path dependency.
5645 (custom-theme--load-path): New function.
5646 (load-theme, custom-available-themes): Use it.
5648 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5649 (customize-themes): Link to custom-theme-load-path variable.
5650 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5651 :custom-style property.
5653 * themes/*.el: Moved to etc/.
5655 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5657 * textmodes/reftex-cite.el
5658 (reftex-extract-bib-entries-from-thebibliography): Do not move
5659 point when searching for \bibitem entries. Match entries with
5660 spaces or tabs in front of arguments.
5662 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5664 * cus-theme.el (customize-create-theme): Delete overlays after
5665 erasing. If given a THEME arg, display only the faces of that arg
5666 instead of custom-theme--listed-faces.
5667 (custom-theme-variable-menu, custom-theme-variable-action)
5668 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5669 (custom-theme-add-variable, custom-theme-add-face): Apply value
5670 from the theme settings, instead of the current value.
5671 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5672 (custom-theme-visit-theme): Allow calling outside theme buffers.
5673 (custom-theme-merge-theme): Don't enable the theme when merging.
5674 (custom-theme-write-variables, custom-theme-write-faces): Use the
5675 :shown-value properties to save buffer values, not global ones.
5676 (customize-themes): Display a warning about user customizations.
5678 * cus-edit.el (custom-variable-value-create)
5679 (custom-face-value-create): Obey new special properties
5680 :shown-value and :inhibit-magic.
5682 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5684 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5685 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5688 2010-10-14 Kenichi Handa <handa@m17n.org>
5690 * mail/rmail.el (rmail-show-message-1): Catch an error of
5691 base64-decode-region and just show an error message (bug#7165).
5693 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5694 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5695 a font-spec (bug#7197).
5697 2010-10-14 Glenn Morris <rgm@gnu.org>
5699 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5701 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5703 * international/mule.el (define-coding-system):
5704 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5705 * composite.el (compose-region): Fix typo in docstring.
5707 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5709 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5710 only after checking the theme-face property.
5712 * faces.el (face-spec-reset-face): Reset all attributes in one
5713 single call to set-face-attribute.
5714 (face-spec-match-p): Make it a defsubst.
5715 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5716 (x-create-frame-with-faces, tty-create-frame-with-faces)
5717 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5718 frame-set-background-mode, since they are recomputed immediately
5719 afterwards in face-set-after-frame-default.
5720 (face-set-after-frame-default): Minor optimization.
5721 (cursor): Provide non-trivial defface spec.
5723 * custom.el (custom-theme-recalc-face): Simplify.
5725 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5727 * calc/calc-alg.el (math-var): Rename from `var'.
5728 (math-is-polynomial, math-is-poly-rec): Replace `var'
5731 * calc/calcalg2.el (math-var): Rename from `var'.
5732 (calcFunc-table, math-scan-for-limits): Replace `var'
5735 2010-10-13 Glenn Morris <rgm@gnu.org>
5737 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5739 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5741 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5743 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745 * net/tls.el (tls-program): Remove spurious %s from openssl.
5746 (tls-starttls-switches): Remove starttls hack.
5747 (open-tls-stream): Ditto.
5748 (tls-find-starttls-argument): Ditto.
5750 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5752 * image.el (image-library-alist): Declare as obsolete alias.
5753 (image-type-available-p): Use `dynamic-library-alist'.
5755 * term/w32-win.el (dynamic-library-alist):
5756 Use instead of `image-library-alist'.
5758 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5760 * subr.el (last): Make it faster. (Bug#7174)
5762 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5764 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5766 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5768 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5769 (describe-theme-1): Extract doc from unloaded themes.
5771 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5773 * themes/tango-theme.el:
5774 * themes/tango-dark-theme.el:
5775 * themes/wheatgrass-theme.el: New files.
5777 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5779 * cus-theme.el (describe-theme, customize-themes)
5780 (custom-theme-save): New commands.
5781 (custom-new-theme-mode-map): Bind C-x C-s.
5782 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5783 (customize-create-theme): New optional arg THEME.
5784 (custom-theme-revert): Use it.
5785 (custom-theme-visit-theme): Remove dead code.
5786 (custom-theme-merge-theme): Use custom-available-themes.
5787 (custom-theme-write): Make interactive.
5788 (custom-theme-write): Use custom-theme-name-valid-p.
5789 (describe-theme-1, custom-theme-choose-revert)
5790 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5792 (custom-theme-allow-multiple-selections): New option.
5793 (custom-theme-choose-mode): New major mode.
5795 * custom.el (custom-theme-set-variables): Remove dead code.
5796 Obey custom--inhibit-theme-enable.
5797 (custom--inhibit-theme-enable): New var.
5798 (provide-theme): Obey it.
5799 (load-theme): Replace load with manual read/eval, in order to
5800 check for correctness. Use custom-theme-name-valid-p.
5801 (custom-theme-name-valid-p): New function.
5802 (custom-available-themes): Use it.
5804 * cus-edit.el (custom--initialize-widget-variables): New function.
5805 (Custom-mode): Use it.
5807 * cus-face.el (custom-theme-set-faces): Remove dead code.
5808 Obey custom--inhibit-theme-enable.
5810 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5812 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5814 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5816 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5818 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5819 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5820 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5822 * cus-start.el (all): ns-right-alternate-modifier is new.
5824 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * emacs-lisp/lisp.el (lisp-completion-at-point):
5827 Use emacs-lisp-mode-syntax-table for the whole function.
5829 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5831 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5832 instead of font-lock-mode before adding keywords.
5833 Remove hi-lock-mode off code. Remove inhibit hack.
5834 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5835 non-nil; removed hook inhibit hack.
5837 2010-10-12 Glenn Morris <rgm@gnu.org>
5839 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5840 (load-path-shadows-find): ... to this.
5841 (list-load-path-shadows): Update for above change.
5843 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5845 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5847 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5848 Fix comment for declare-function.
5850 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5852 * custom.el (custom-fix-face-spec): New function; code moved from
5853 custom-face-edit-fix-value.
5854 (custom-push-theme): Use it when checking if a face has been
5855 changed outside customize.
5856 (custom-available-themes): New function.
5857 (load-theme): Use it.
5859 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5861 * custom.el (custom-push-theme): Cleanup (use cond).
5862 (disable-theme): Recompute the saved-face property.
5863 (custom-theme-recalc-face): Follow face alias before setting prop.
5865 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5866 New variables, containing checkbox images.
5868 * startup.el (fancy-startup-tail):
5869 * wid-edit.el (checkbox): Use them.
5871 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5873 * shell.el (shell-mode-map):
5874 * progmodes/modula2.el (m2-mode-map):
5875 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5876 * play/mpuz.el (mpuz-mode-map):
5877 * play/landmark.el (lm-mode-map):
5878 * play/decipher.el (decipher-mode-map):
5879 * play/5x5.el (5x5-mode-map):
5880 * net/telnet.el (telnet-mode-map):
5881 * net/quickurl.el (quickurl-list-mode-map):
5882 * net/mairix.el (mairix-searches-mode-map):
5883 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5884 * net/dig.el (dig-mode-map):
5885 * mail/mspools.el (mspools-mode-map):
5886 * hexl.el (hexl-mode-map):
5887 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5888 (wordstar-C-o-map, wordstar-C-q-map):
5889 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5890 * emacs-lisp/chart.el (chart-map):
5891 * edmacro.el (edmacro-mode-map):
5892 * erc/erc-list.el (erc-list-menu-mode-map):
5893 * array.el (array-mode-map): Declare and define in one step.
5895 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5897 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5899 * epa.el (epa-passphrase-callback-function): Display filename
5900 passed as the 3rd arg.
5901 * epa-file.el (epa-file-passphrase-callback-function):
5902 Pass filename to epa-passphrase-callback-function.
5904 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5906 * cus-edit.el (custom-face-widget-to-spec)
5907 (custom-face-get-current-spec, custom-face-state): New functions.
5908 (custom-face-set, custom-face-mark-to-save)
5909 (custom-face-value-create, custom-face-state-set): Use them.
5911 * cus-theme.el (custom-theme--listed-faces): New var.
5912 (customize-create-theme): Use *Custom Theme* as the buffer name.
5913 Set revert-buffer-function. Optional arg BUFFER. Insert all
5914 faces listed in custom-theme--listed-faces.
5915 (custom-theme-revert): New function.
5916 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5918 (custom-theme-write): Prompt for theme name if empty.
5919 (custom-theme-write-variables): Use dolist.
5920 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5922 2010-10-09 Alan Mackenzie <acm@muc.de>
5924 Enhance fontification of declarators to take account of the
5925 presence/absence of "typedef".
5927 * cc-engine.el (c-forward-type): New &optional param
5929 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5930 presence of either or both of a "struct"-like keyword and "typedef".
5932 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5933 fontification of declarators which follow a "}".
5934 (c-font-lock-declarations): Fontify declarators according to the
5935 presence/absence of "typedef".
5937 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5939 (c-typedef-decl-key): New lang variable built from
5940 c-typedef-decl-kwds.
5942 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5944 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5945 since that's too annoying. Move the filter groups commands to
5948 * epa.el (epa-passphrase-callback-function): Say what we're
5949 querying the password for.
5951 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5952 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5954 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5956 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5957 (custom-magic-value-create): Pad button tags with spaces.
5958 (custom-face-edit): New variable.
5959 (custom-face-value-create): Determine whether to use the usual
5960 face editor here, instead of using custom-face-selected.
5961 Pass face defaults to custom-face-edit widget.
5962 (custom-face-selected, custom-display-unselected): Delete widgets.
5963 (custom-display-unselected-match): Function removed.
5964 (custom-face-set, custom-face-mark-to-save):
5965 Accept custom-face-edit widgets as the direct widget child.
5967 * wid-edit.el (widget--completing-widget): New var.
5968 (widget-default-complete): Bind it when doing completion.
5969 (widget-string-complete, widget-file-complete): Use it.
5971 2010-10-09 Glenn Morris <rgm@gnu.org>
5973 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5974 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5975 (holiday-hebrew-misc): Small simplifications.
5977 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5979 * net/browse-url.el: Don't require thingatpt, term, dired,
5980 executable, or w3-auto when compiling.
5981 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5983 (browse-url-text-emacs): Require term.
5985 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5987 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5989 2010-10-08 Glenn Morris <rgm@gnu.org>
5991 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5993 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5994 (shadows-compare-text-p): Make it an obsolete alias for...
5995 (load-path-shadows-compare-text): ... new name.
5996 (find-emacs-lisp-shadows): Update for above name change.
5997 (load-path-shadows-same-file-or-nonexistent): New name for the old
5998 shadow-same-file-or-nonexistent.
6000 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6002 * minibuffer.el (completion--some, completion--do-completion)
6003 (minibuffer-complete-and-exit, minibuffer-completion-help)
6004 (completion-basic-try-completion)
6005 (completion-basic-all-completions)
6006 (completion-pcm--find-all-completions): Use lexical-let to
6007 avoid some false matches in variable completion (Bug#7056)
6009 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6011 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6013 2010-10-08 Leo <sdl.web@gmail.com>
6015 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6016 return non-nil if the file exists (Bug#7090).
6018 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6020 * minibuffer.el (completion--replace):
6021 Better preserve markers (bug#7138).
6023 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6025 * server.el (server-process-filter): Doc fix.
6027 2010-10-08 Drew Adams <drew.adams@oracle.com>
6029 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6031 2010-10-08 Glenn Morris <rgm@gnu.org>
6033 * vc/ediff-wind.el (ediff-setup-control-frame):
6034 * vc/ediff-ptch.el (ediff-default-backup-extension):
6035 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6036 (ediff-exec-process): Remove system-types emx, windows-95.
6038 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6040 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6042 * cus-edit.el (custom-variable, custom-face): Doc fix.
6043 (custom-face-edit): Add value-create attribute.
6044 (custom-face-edit-value-create)
6045 (custom-face-edit-value-visibility-action): New functions.
6046 Hide unused face attributes by default, and add a visibility toggle.
6047 (custom-face-edit-deactivate): Show empty values with shadow face.
6048 (custom-face-selected): Only use this for face specs with default
6050 (custom-face-value-create): Cleanup.
6052 * wid-edit.el (widget-checklist-value-create): Use dolist.
6053 (widget-checklist-match-find): Make second arg optional.
6055 2010-10-07 Glenn Morris <rgm@gnu.org>
6057 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6060 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6061 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6062 load-path-shadows-mode, update references.
6063 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6064 Rename variable and button.
6065 (list-load-path-shadows): Update button caller.
6067 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6069 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6070 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6071 (smie-merge-prec2s): Handle those new entries.
6072 (smie-prec2-levels): Only set precedence to nil for actual
6074 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6075 that is now unnecessary.
6077 2010-10-07 Miles Bader <miles@gnu.org>
6079 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6081 2010-10-07 Glenn Morris <rgm@gnu.org>
6083 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6084 (mail-position-on-field): Remove declarations.
6085 (mail-position-on-field): Autoload it.
6086 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6087 and mail-header-end. Don't require sendmail.
6089 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6090 (shadow-mode): New mode.
6091 (shadow-find-file): New button.
6092 (list-load-path-shadows): Use shadow-mode and buttons.
6094 * iimage.el (iimage-version): Remove.
6095 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6096 Turn into defcustoms.
6097 (iimage-mode-map): Give it a doc string.
6099 * calendar/appt.el (appt-activate): Give a warning rather than an error
6100 if there is no diary-file.
6102 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6104 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6105 Use `tramp-handle-find-backup-file-name'.
6107 2010-10-06 Glenn Morris <rgm@gnu.org>
6109 * font-core.el (font-lock-defaults-alist): Remove variable.
6110 (font-lock-mode): Doc fix.
6111 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6112 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6113 (font-lock-set-defaults): Doc fix.
6114 Do not consult font-lock-defaults-alist.
6116 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6118 * emacs-lisp/cl.el: No longer provide cl-19.
6120 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6122 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6123 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6124 New defuns, taken from tramp-smb.el.
6125 (tramp-coding-system-change-eol-conversion)
6126 (tramp-set-process-query-on-exit-flag): Remove.
6128 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6129 (tramp-compat-coding-system-change-eol-conversion)
6130 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6133 * net/tramp-gvfs.el:
6134 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6135 by `tramp-compat-set-process-query-on-exit-flag'.
6137 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6138 Use `tramp-handle-directory-files-and-attributes',
6139 `tramp-handle-file-exists-p' and
6140 `tramp-handle-file-newer-than-file-p'.
6141 (tramp-imap-handle-file-exists-p)
6142 (tramp-imap-handle-file-executable-p)
6143 (tramp-imap-handle-file-readable-p)
6144 (tramp-imap-handle-directory-files-and-attributes)
6145 (tramp-imap-handle-file-newer-than-file-p): Remove.
6147 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6148 by `tramp-compat-set-process-query-on-exit-flag' and
6149 `tramp-coding-system-change-eol-conversion' by
6150 `tramp-compat-coding-system-change-eol-conversion'.
6152 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6153 Use `tramp-handle-directory-files-and-attributes',
6154 `tramp-handle-file-exists-p' and
6155 `tramp-handle-file-newer-than-file-p'.
6156 (tramp-smb-handle-directory-files-and-attributes)
6157 (tramp-smb-handle-file-exists-p)
6158 (tramp-smb-handle-file-newer-than-file-p): Remove.
6159 (tramp-smb-maybe-open-connection):
6160 Replace `tramp-set-process-query-on-exit-flag' by
6161 `tramp-compat-set-process-query-on-exit-flag'.
6163 2010-10-05 Glenn Morris <rgm@gnu.org>
6165 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6167 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6169 Continue reorganization of load dependencies. (Bug#7156)
6171 * net/tramp.el (tramp-handle-file-local-copy-hook)
6172 (tramp-delete-temp-file-function): Move down.
6173 (tramp-exists-file-name-handler): Move up.
6174 (tramp-register-file-name-handlers): Simplify autoload.
6175 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6176 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6177 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6178 (tramp-handle-file-name-completion)
6179 (tramp-handle-file-name-directory)
6180 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6181 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6182 (tramp-handle-find-backup-file-name)
6183 (tramp-handle-insert-file-contents, tramp-handle-load)
6184 (tramp-handle-substitute-in-file-name)
6185 (tramp-handle-unhandled-file-name-directory)
6186 (tramp-mode-string-to-int, tramp-local-host-p)
6187 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6189 * net/tramp-gvfs.el (top):
6190 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6192 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6193 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6195 2010-10-04 Glenn Morris <rgm@gnu.org>
6197 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6198 (appt-activate): Give status messages.
6200 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6202 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6203 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6204 `gnutls-negotiate' (formerly `starttls-negotiate').
6205 Remove trivial wrapper `starttls-open-stream'.
6207 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6209 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6210 log-outgoing commands.
6211 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6212 to create a buffer local revert-buffer-function variable.
6213 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6214 revert-buffer-function lambda.
6216 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6218 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6219 `gnutls-boot'. Make TYPE the only required parameter.
6220 Allow TRUSTFILES and KEYFILES to be lists.
6221 (open-ssl-stream): Use it.
6223 2010-10-03 Glenn Morris <rgm@gnu.org>
6225 * subr.el (directory-sep-char): Remove obsolete variable.
6226 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6229 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6230 * vc/vc.el (vc-static-header-alist): Doc fix.
6231 * vc/vc-cvs.el (vc-cvs-header):
6232 * vc/vc-rcs.el (vc-rcs-header):
6233 * vc/vc-sccs.el (vc-sccs-header):
6234 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6235 * obsolete/vc-mcvs.el (vc-mcvs-header):
6236 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6239 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6241 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6242 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6244 2010-10-03 Glenn Morris <rgm@gnu.org>
6246 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6248 * textmodes/rst.el (rst-font-lock-keywords-function):
6251 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6253 * printing.el: Drop Emacs 20 code.
6255 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6256 without having used appt.el already).
6258 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6259 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6260 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6262 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6263 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6265 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6266 (charset-width, find-charset-region, chars-in-region, forward-point)
6267 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6268 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6269 Remove compatibility cruft (none of these are used by ps*.el).
6271 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6273 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6275 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6277 * server.el (server-process-filter, server-return-error):
6278 Give emacsclient time to shut down after receiving an error string.
6280 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6282 * files.el (remote-file-name-inhibit-cache): New defcustom.
6284 * time.el (display-time-file-nonempty-p):
6285 Use `remote-file-name-inhibit-cache'.
6287 * net/tramp.el (tramp-completion-reread-directory-timeout):
6290 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6291 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6292 `remote-file-name-inhibit-cache'. Check also for an integer
6293 value. Add/increase counter when `tramp-verbose' >= 10.
6294 (tramp-set-file-property): Add/increase counter when
6295 `tramp-verbose' >= 10.
6297 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6298 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6299 (tramp-bug): Set tramp-autoload cookie. Report all interned
6300 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6301 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6302 characters only in strings.
6304 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6305 to backward compatibility.
6307 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6308 (tramp-handle-file-name-all-completions)
6309 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6310 (tramp-open-connection-setup-interactive-shell):
6311 Call `tramp-cleanup-connection' directly.
6313 2010-10-02 Glenn Morris <rgm@gnu.org>
6315 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6317 * subr.el (char-bytes): Remove obsolete function.
6319 * isearch.el (isearch-return-char): Remove obsolete function.
6321 * mouse.el: No longer provide mldrag.
6322 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6323 Remove obsolete aliases.
6325 * comint.el (comint-kill-output): Remove obsolete alias.
6327 * composite.el (decompose-composite-char): Remove obsolete function.
6328 * ps-def.el (decompose-composite-char): Remove unused function.
6330 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6332 * outline.el (outline-visible): Remove obsolete function.
6334 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6335 * faces.el (internal-find-face, internal-get-face)
6336 (frame-update-faces, frame-update-face-colors)
6337 (x-frob-font-weight, x-frob-font-slant)
6338 (internal-frob-font-weight, internal-frob-font-slant)
6339 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6340 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6341 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6343 * emulation/viper-util.el (viper-get-face):
6344 * obsolete/lucid.el (find-face, get-face): Use facep.
6345 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6346 Remove unused functions.
6347 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6349 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6350 delete tempfile if interrupted during compilation.
6352 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6354 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6356 (tls-program): Add --insecure to be consistent with the defaults from
6357 openssl s_client. Now all three commands are insecure.
6359 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6361 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6362 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6363 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6365 2010-10-01 Glenn Morris <rgm@gnu.org>
6367 * obsolete/sc.el: Remove file.
6369 * files.el (temporary-file-directory): On darwin, also try
6370 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6372 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6374 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6375 Let's not break compatibility gratuitously, shall we?
6377 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6379 * net/tls.el (tls-starttls-switches): New variable.
6380 (tls-find-starttls-argument): Use it.
6381 (open-tls-stream): Ditto.
6383 * net/netrc.el (netrc-credentials): Return the value of the "default"
6385 (netrc-machine): Ditto.
6387 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6389 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6391 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6393 * server.el (server-start): Don't write pid to the authentication file.
6394 (server-create-tty-frame): Don't send pid.
6395 (server-process-filter): Send pid at the start of every connection.
6397 2010-09-30 Glenn Morris <rgm@gnu.org>
6399 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6400 (show-all-diary-entries): Remove obsolete function aliases.
6402 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6403 Remove options, obsolete since 22.1.
6404 (appt-display-format, appt-display-message):
6405 Remove backwards-compatibility code.
6406 (appt-check): No longer check appt-issue-message.
6407 (appt-make-list): No longer autoload it. Doc fix. No longer
6408 activate the package.
6410 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6412 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6413 (starttls-negotiate): Just call boot, and let the handshake be
6414 triggered from the read loop.
6416 2010-09-29 Glenn Morris <rgm@gnu.org>
6418 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6419 not displaying the diary.
6420 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6421 * calendar/appt.el (appt-check): No longer need to kill diary.
6423 * calendar/diary-lib.el (diary-list-entries): Move the
6424 "Preparing..." message entirely here.
6425 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6426 messages to diary-list-entries.
6427 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6428 diary-display-function.
6430 * calendar/diary-lib.el (diary-include-other-diary-files):
6431 Trap some recursive includes.
6433 * calendar/appt.el (appt-activate): Check diary file.
6435 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6437 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6440 * calendar/time-date.el: No need to require cl for Emacs 21.
6442 2010-09-28 Glenn Morris <rgm@gnu.org>
6444 * calendar/appt.el (appt-check): Minor simplification.
6446 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6448 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6451 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6453 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6454 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6456 2010-09-27 Kenichi Handa <handa@m17n.org>
6458 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6461 2010-09-27 Kenichi Handa <handa@m17n.org>
6463 * international/mule.el (define-coding-system): Docstring fixed.
6465 * international/mule-diag.el (describe-character-set): Use princ
6466 with proper print-length and print-level instead of insert.
6468 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6470 * window.el (walk-windows): Doc fix (bug#7105).
6472 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6474 * emacs-lisp/float-sup.el (e): Remove.
6476 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6478 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6480 (starttls-negotiate): Use it.
6482 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6484 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6487 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6491 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6493 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6495 * net/netrc.el (netrc-store-data): New function.
6497 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6499 * net/gnutls.el: GnuTLS glue code to set up a connection.
6501 2010-09-25 Julien Danjou <julien@danjou.info>
6503 * notifications.el: Call dbus-register-signal only if it is bound.
6505 2010-09-25 Glenn Morris <rgm@gnu.org>
6507 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6508 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6509 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6510 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6511 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6512 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6513 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6514 * eshell/esh-util.el, eshell/esh-var.el:
6515 Remove leading `*' from docs of faces and defcustoms.
6517 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6519 * eshell/em-ls.el (eshell-ls-archive-regexp):
6520 * eshell/esh-util.el (eshell-tar-regexp):
6521 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6522 * info.el (Info-suffix-list):
6523 * international/mule.el (auto-coding-alist):
6524 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6525 * progmodes/etags.el (tags-compression-info-list):
6526 Support xz compression.
6528 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6530 * files.el (get-free-disk-space): Don't assume the "df" output
6531 columns line up (Bug#6995).
6533 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6535 * finder.el (finder-unknown-keywords):
6536 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6537 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6539 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6541 * server.el (server-start): Revert part of 2010-08-08 change. Using
6542 address 127.0.0.1 for local host is now done in Fmake_network_process.
6544 2010-09-24 Glenn Morris <rgm@gnu.org>
6546 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6547 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6548 * textmodes/css-mode.el, textmodes/dns-mode.el:
6549 Move autoloaded auto-mode-alist entries to files.el.
6550 * files.el (auto-mode-alist): Move entries here.
6552 2010-09-23 Glenn Morris <rgm@gnu.org>
6554 * isearch.el (isearch-lazy-highlight-cleanup)
6555 (isearch-lazy-highlight-initial-delay)
6556 (isearch-lazy-highlight-interval)
6557 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6558 * net/net-utils.el (ipconfig-program-options):
6559 Move aliases to options before the associated definitions.
6561 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * newcomment.el (comment-normalize-vars): Better test validity of
6566 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6569 (float-e): New name for `e'.
6570 (degrees-to-radians, radians-to-degrees):
6571 * calendar/solar.el (solar-longitude):
6572 * calculator.el (calculator-registers, calculator-funcall):
6573 * textmodes/artist.el (artist-spray-random-points):
6574 * play/bubbles.el (bubbles--initialize-images): Use new names.
6576 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6578 Update to CEDET 1.0's version of EIEIO.
6580 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6582 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6583 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6584 (class-precedence-list): If class is nil, return nil.
6585 (eieio-generic-call): If class of first input arg is nil, don't
6586 look up static methods, and do check for primary methods.
6587 (initialize-instance): See if the default needs to be evaluated
6588 during the constructor.
6589 (eieio-perform-slot-validation-for-default): Don't do the check
6590 for values that will eventually be evaluated.
6591 (eieio-eval-default-p): New function.
6592 (eieio-default-eval-maybe): Use it.
6594 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6596 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6597 method-invocation-order.
6598 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6599 (eieio-class-precedence-dfs): Compute class precedence list using
6601 (eieio-class-precedence-bfs): Compute class precedence list using
6603 (eieio-class-precedence-c3): Compute class precedence list using
6605 (class-precedence-list): New function.
6606 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6607 (inconsistent-class-hierarchy): New error symbol.
6608 (call-next-method): Stow the replacement argument list for future
6609 call-next-method invocations.
6611 2010-09-23 Glenn Morris <rgm@gnu.org>
6613 * calendar/appt.el (appt-check): If not displaying the diary,
6614 use (diary 1) to only get the entries we need.
6615 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6616 that it is in day order. (Bug#7019)
6618 * calendar/appt.el (appt-check): Rather than showing the diary,
6619 just turn off invisible display, and only if needed.
6621 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6623 2010-09-23 Glenn Morris <rgm@gnu.org>
6625 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6626 (byte-compile-defvar, byte-compile-cl-warn):
6627 Start warnings with lower-case, like the majority.
6629 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6631 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6633 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6634 * files.el (auto-mode-alist): Move ld-script entries here, further down
6637 * vc/add-log.el: Don't require timezone when compiling.
6638 (timezone-make-date-sortable): Autoload it.
6639 (change-log-sortable-date-at): Don't require timezone.
6640 Use `ignore-errors'.
6642 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6643 Move alias before definition, so it does not need autoloading.
6645 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6646 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6647 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6648 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6649 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6650 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6651 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6652 * textmodes/tex-mode.el, textmodes/two-column.el:
6653 Remove leading `*' from docs of defcustoms etc.
6655 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6657 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6659 2010-09-22 Dan Christensen <jdc@uwo.ca>
6661 * calendar/time-date.el (date-to-time): Try using parse-time-string
6662 first before using the slower timezone-make-date-arpa-standard.
6664 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6666 * calendar/time-date.el (format-seconds): Comment fix.
6668 2010-09-22 Glenn Morris <rgm@gnu.org>
6670 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6671 is not automatically buffer-local.
6673 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6676 (smie-indent-comment): Be more careful with comment-start-skip.
6677 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6678 (smie-indent-functions): Use them.
6680 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6682 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6684 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6686 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6687 tool-bar-position. Don't modify frame parameters here.
6688 (menu-bar-options-save): Add tool-bar-position.
6690 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6692 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6694 * textmodes/reftex-parse.el (reftex-what-macro)
6695 (reftex-context-substring): Let-bind forward-sexp-function to nil
6696 since we don't need/want to treat \begin...\end as a block (bug#7053).
6698 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6700 * simple.el (blink-matching-open): Use syntax-class.
6702 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6703 Set invisibility spec for pascal's outline mode.
6704 (pascal-outline-change): Clean up calling convention.
6705 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6707 * progmodes/prolog.el (prolog-smie-forward-token)
6708 (prolog-smie-backward-token): New functions.
6709 (prolog-mode-variables): Use them to parse "!," correctly.
6710 Set up smie-blink-matching for ".".
6712 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6714 (ispell-region, ispell-process-line): Update users.
6716 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6719 * textmodes/ispell.el: Fix commenting convention.
6720 (ispell-parse-output): Simplify, use push.
6721 (ispell-region): Use match-string-no-properties.
6722 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6723 (ispell-minor-mode): Use define-minor-mode.
6724 (ispell-message): Remove unused var `skip-regexp'.
6725 (ispell-add-per-file-word-list): Use dynamic let-binding.
6726 Try and use the proper comment marker.
6728 * mail/sendmail.el: Fix commenting convention.
6729 (sendmail-send-it): Use line-beginning-position.
6731 * help-fns.el (describe-variable): Add original value, if applicable.
6733 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6735 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6737 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6739 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6742 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6743 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6744 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6745 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6746 something like "." can also be a closer.
6747 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6748 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6749 Rename internal functions to use "--". Update callers.
6751 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6753 * fringe.el (fringe-styles): New var.
6754 (fringe-mode, fringe-query-style): Use it.
6756 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6758 * progmodes/sql.el: Version 2.8
6759 (sql-login-params): Update widget structure; changes still needed.
6760 (sql-product-alist): Add :list-all and :list-table features for
6761 SQLite, Postgres and MySQL products.
6762 (sql-redirect): Handle default value.
6763 (sql-execute, sql-execute-feature): New functions.
6764 (sql-read-table-name): New function.
6765 (sql-list-all, sql-list-table): New functions. User API.
6766 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6767 for above functions.
6768 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6769 for above functions.
6770 (sql-postgres-login-params): Add user and database defaults.
6771 (sql-buffer-live-p): Bug fix.
6772 (sql-product-history): New variable.
6773 (sql-read-product): New function. Use it.
6774 (sql-set-product, sql-product-interactive): Use it.
6775 (sql-connection-history): New variable.
6776 (sql-read-connection): New function. Use it.
6777 (sql-connect): New function.
6778 (sql-for-each-login): Redesign function interface.
6779 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6780 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6781 (sql-comint): Check for program. Existing live buffer.
6782 (sql-comint-postgres): Add port parameter.
6784 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6786 * emacs-lisp/warnings.el: Fix commenting convention.
6787 (display-warning): Use special mode and make the buffer read-only.
6789 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6791 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6792 empty string when it follows a repeated or optional pattern.
6794 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6797 (indent-region): Use indent-according-to-mode.
6799 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6801 * fringe.el (fringe-mode): Doc fix.
6803 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6805 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6806 refreshing the preview buffer.
6808 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6810 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6811 (latex-syntax-propertize-rules): New consts; replace
6812 tex-font-lock-syntactic-keywords.
6813 (tex-env-mark, latex-env-before-change): New functions.
6814 (latex-electric-env-pair-mode): New minor mode.
6815 (tex-font-lock-verb): Change arguments; do move point.
6816 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6817 representation as a form of comment.
6818 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6819 (doctex-syntax-propertize-rules): New const; replaces
6820 doctex-font-lock-syntactic-keywords.
6821 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6823 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6824 (fortran-make-syntax-propertize-function): New function; replaces
6825 fortran-font-lock-syntactic-keywords.
6826 (fortran-mode): Use it.
6827 (fortran-line-length): Use it. Improve interactive spec.
6829 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6830 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6831 when adding surrounding \(..\).
6833 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6835 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6837 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6838 Use with-current-buffer.
6840 * isearch.el (isearch-face): Rename from `isearch'.
6841 (isearch-highlight): Use new name.
6843 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6845 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6846 5, for `half' width fringes. (Bug#6933)
6848 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6850 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6851 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6853 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6855 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6857 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6858 in calculating new frame position. Add more space between new and
6859 parent on the left (Bug#7048).
6861 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6863 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6866 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6868 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6870 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6871 obsolete alias for x-selection-value.
6873 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6875 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6877 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6880 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6882 * net/tramp-compat.el (tramp-compat-with-temp-message)
6883 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6884 (tramp-compat-process-put): New defuns.
6886 * net/tramp.el (top):
6887 * net/tramp-gvfs.el (top):
6888 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6890 * net/tramp.el (tramp-progress-reporter-update):
6891 Use `tramp-compat-funcall'.
6893 * net/tramp.el (tramp-process-actions):
6894 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6895 * net/tramp-sh.el (tramp-handle-vc-registered)
6896 (tramp-get-remote-stat, tramp-get-remote-readlink):
6897 Use `tramp-compat-with-temp-message'.
6899 * net/tramp-sh.el (top): Require 'cl.
6900 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6901 (tramp-open-connection-setup-interactive-shell):
6902 Use `tramp-compat-process-put'.
6904 2010-09-15 Alan Mackenzie <acm@muc.de>
6906 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6908 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6910 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6913 `lexical' for warnings related to lexical scoping.
6914 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6915 global vars which don't have a prefix and could hence affect lexical
6916 scoping in unrelated files.
6918 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6920 * net/imap.el: Revert back to version
6921 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6924 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6926 * obsolete/old-whitespace.el (whitespace-unload-function):
6927 Explicitly pass `obarray' to `unintern' to avoid a warning.
6929 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6931 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6932 Add `when' argument. Update callers.
6934 * subr.el (unintern): Declare the obarray arg mandatory.
6936 2010-09-14 Glenn Morris <rgm@gnu.org>
6938 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6941 * calendar/diary-lib.el (diary-included-files): New variable.
6942 (diary-list-entries): Maybe initialize diary-included-files.
6943 (diary-include-other-diary-files): Append to diary-included-files.
6944 * calendar/appt.el (appt-update-list): Also check the members of
6945 diary-included-files. (Bug#6999)
6946 (appt-check): Doc fix.
6948 2010-09-14 David Reitter <david.reitter@gmail.com>
6950 * simple.el (line-move-visual): Do not truncate goal column to
6951 integer size. (Bug#7020)
6953 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6955 * repeat.el (repeat): Allow repeating when the last event is a click.
6956 Suggested by Drew Adams (bug#6256).
6958 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6960 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6961 Replace setting HGRCPATH to "" by some less invasive --config options.
6963 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6965 * font-lock.el (font-lock-beginning-of-syntax-function):
6968 2010-09-14 Glenn Morris <rgm@gnu.org>
6970 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6971 and tool-bar modes. (Bug#6211)
6972 (menu-bar-mode): Move setting of standard-value after the
6973 minor-mode definition, otherwise it seems to have no effect.
6975 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6977 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6978 Fix typo. (Bug#6976)
6980 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6982 * whitespace.el: Allow cleaning up blanks without blank
6983 visualization (Bug#6651). Adjust help window for
6984 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6985 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6986 (whitespace-style): Add new value 'face. Adjust docstring.
6987 (whitespace-space, whitespace-hspace, whitespace-tab):
6988 Adjust foreground property face.
6989 (whitespace-line-column): Adjust docstring and type declaration.
6990 (whitespace-style-value-list, whitespace-toggle-option-alist)
6991 (whitespace-help-text): Adjust const initialization.
6992 (whitespace-toggle-options, global-whitespace-toggle-options):
6994 (whitespace-display-window, whitespace-interactive-char)
6995 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6996 (whitespace-help-scroll): New fun.
6998 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7000 * calendar/time-date.el (format-seconds): Comment fix.
7002 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7004 * progmodes/sql.el: Version 2.7.
7005 (sql-buffer-live-p): Improve detection.
7006 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7007 (sql-set-sqli-buffer): Use it.
7008 (sql-product-interactive): Run `sql-set-sqli-hook'.
7009 (sql-rename-buffer): Code cleanup.
7010 (sql-redirect, sql-redirect-value): New functions. More to come.
7012 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7014 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.
7015 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7016 (TRAMP_SRC): New macro.
7017 ($(lisp)/net/tramp-loaddefs.el): New target.
7019 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7021 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7023 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7025 * net/tramp.el (top): Don't show loading message. Require just
7026 'tramp-compat, everything else is required there.
7027 Use `ignore-errors' where appropriate.
7028 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7029 (tramp-terminal-type, tramp-end-of-output)
7030 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7031 (tramp-completion-function-alist-ssh)
7032 (tramp-completion-function-alist-telnet)
7033 (tramp-completion-function-alist-su)
7034 (tramp-completion-function-alist-putty, tramp-remote-path)
7035 (tramp-remote-process-environment, tramp-sh-extra-args)
7036 (tramp-actions-before-shell, tramp-uudecode)
7037 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7038 (tramp-perl-file-attributes)
7039 (tramp-perl-directory-files-and-attributes)
7040 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7041 (tramp-perl-encode, tramp-perl-decode)
7042 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7043 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7044 (tramp-handle-make-symbolic-link, tramp-handle-load)
7045 (tramp-handle-file-name-as-directory)
7046 (tramp-handle-file-name-directory)
7047 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7048 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7049 (tramp-do-file-attributes-with-ls)
7050 (tramp-do-file-attributes-with-perl)
7051 (tramp-do-file-attributes-with-stat)
7052 (tramp-handle-set-visited-file-modtime)
7053 (tramp-handle-verify-visited-file-modtime)
7054 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7055 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7056 (tramp-handle-file-selinux-context)
7057 (tramp-handle-set-file-selinux-context)
7058 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7059 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7060 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7061 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7062 (tramp-handle-file-ownership-preserved-p)
7063 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7064 (tramp-handle-directory-files-and-attributes)
7065 (tramp-do-directory-files-and-attributes-with-perl)
7066 (tramp-do-directory-files-and-attributes-with-stat)
7067 (tramp-handle-file-name-all-completions)
7068 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7069 (tramp-handle-copy-file, tramp-handle-copy-directory)
7070 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7071 (tramp-do-copy-or-rename-file-via-buffer)
7072 (tramp-do-copy-or-rename-file-directly)
7073 (tramp-do-copy-or-rename-file-out-of-band)
7074 (tramp-handle-make-directory, tramp-handle-delete-directory)
7075 (tramp-handle-delete-file)
7076 (tramp-handle-dired-recursive-delete-directory)
7077 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7078 (tramp-handle-insert-directory)
7079 (tramp-handle-unhandled-file-name-directory)
7080 (tramp-handle-expand-file-name)
7081 (tramp-handle-substitute-in-file-name)
7082 (tramp-handle-executable-find, tramp-process-sentinel)
7083 (tramp-handle-start-file-process, tramp-handle-process-file)
7084 (tramp-handle-call-process-region, tramp-handle-shell-command)
7085 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7086 (tramp-handle-insert-file-contents)
7087 (tramp-handle-insert-file-contents-literally)
7088 (tramp-handle-find-backup-file-name)
7089 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7090 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7091 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7092 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7093 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7094 (tramp-find-file-exists-command, tramp-open-shell)
7095 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7096 (tramp-open-connection-setup-interactive-shell)
7097 (tramp-local-coding-commands, tramp-remote-coding-commands)
7098 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7099 (tramp-inline-compress-commands, tramp-find-inline-compress)
7100 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7101 (tramp-send-command, tramp-wait-for-output)
7102 (tramp-send-command-and-check, tramp-barf-unless-okay)
7103 (tramp-send-command-and-read, tramp-mode-string-to-int)
7104 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7105 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7106 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7107 (tramp-method-out-of-band-p, tramp-local-host-p)
7108 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7109 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7110 (tramp-get-test-command, tramp-get-test-nt-command)
7111 (tramp-get-file-exists-command, tramp-get-remote-ln)
7112 (tramp-get-remote-perl, tramp-get-remote-stat)
7113 (tramp-get-remote-readlink, tramp-get-remote-trash)
7114 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7115 (tramp-get-local-uid, tramp-get-local-gid)
7116 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7118 (tramp-methods, tramp-default-method-alist)
7119 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7120 Move initialization to tramp-sh.el.
7121 (tramp-temp-name-prefix): Make it a defconst.
7122 (tramp-dissect-file-name): Don't check anymore for multi-hop
7124 (tramp-debug-outline-regexp): Add a docstring.
7125 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7126 (tramp-get-debug-buffer): Use it.
7128 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7129 initialization forms.
7130 (tramp-set-connection-property): Don't protect `tramp-message'
7131 call, it isn't necessary any longer.
7132 (tramp-dump-connection-properties): Use `ignore-errors'.
7134 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7135 'password-cache and 'auth-source.
7137 * net/tramp-gvfs.el (top):
7138 * net/tramp-smb.el (top): Require 'tramp-sh.
7140 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7142 * net/tramp-sh.el: New file, derived from tramp.el.
7143 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7144 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7145 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7146 Use `ignore-errors' where appropriate.
7147 (tramp-sh-file-name-handler-alist): Rename from
7148 `tramp-file-name-handler-alist'.
7149 (tramp-send-command-and-check): Return t or nil. Remove all
7150 `zerop' checks, where called.
7151 (tramp-handle-set-file-modes)
7152 (tramp-do-copy-or-rename-file-directly)
7153 (tramp-handle-delete-directory, tramp-handle-delete-file)
7154 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7155 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7156 (tramp-get-remote-ln): Set tramp-autoload cookie.
7158 * net/tramp-fish.el: Remove file.
7160 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7162 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7163 buffer-file-name to avoid file-locking. (Bug#7026)
7165 2010-09-13 Julien Danjou <julien@danjou.info>
7167 * notifications.el (notifications-notify): Add support for
7168 image-path and sound-name.
7169 (notifications-specification-version): Add this variable.
7171 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7173 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7175 2010-09-12 Leo <sdl.web@gmail.com>
7177 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7178 (rcirc-completion-start): New variables.
7179 (rcirc-nick-completions): Rename to rcirc-completions.
7180 (rcirc-nick-completion-start-offset): Delete.
7181 (rcirc-completion-at-point): New function for constructing
7182 completion data for both nicks and irc commands. Add to
7183 completion-at-point-functions in rcirc mode.
7184 (rcirc-complete): Rename from rcirc-nick-complete; use
7185 rcirc-completion-at-point.
7186 (defun-rcirc-command): Update rcirc-client-commands.
7188 2010-09-11 Glenn Morris <rgm@gnu.org>
7190 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7191 atomically, to avoid parallel build errors. (Bug#4196)
7193 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7195 * progmodes/sql.el: Version 2.6
7196 (sql-dialect): Synonym for "sql-product".
7197 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7198 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7199 Set "sql-buffer" to buffer name not buffer object so multiple sql
7200 interactive buffers work properly. Reverts misguided changes in
7202 (sql-comint): Make sure different buffer name is used if "*SQL*"
7203 buffer is for a different product.
7204 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7206 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7207 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7208 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7209 Accept new buffer name or prompt for one.
7210 (sql-port): Default to zero.
7211 (sql-comint-mysql): Handle "sql-port" as a numeric.
7212 (sql-port-history): Delete unused variable.
7213 (sql-get-login): Default "sql-port" to a number.
7214 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7215 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7216 "sqlite3" executables.
7217 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7218 (sql-buffer-live-p): New function.
7219 (sql-mode-menu, sql-send-string): Use it.
7220 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7222 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7223 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7225 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7227 * net/netrc.el (netrc-credentials): New convenience function.
7229 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7232 to replace texinfo-font-lock-syntactic-keywords.
7233 (texinfo-mode): Use it.
7235 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7236 Use syntax-propertize-function.
7238 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7239 replace sgml-font-lock-syntactic-keywords.
7240 (sgml-mode): Use it.
7242 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7243 since we don't use it.
7245 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7247 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7249 (vhdl-fontify-buffer): Adjust.
7251 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7252 replace tcl-font-lock-syntactic-keywords.
7255 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7256 replace simula-font-lock-syntactic-keywords.
7257 (simula-mode): Use it.
7259 * progmodes/sh-script.el (sh-st-symbol): Remove.
7260 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7261 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7262 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7263 (sh-font-lock-paren): Set syntax-multiline.
7264 (sh-font-lock-syntactic-keywords): Remove.
7265 (sh-syntax-propertize-function): New function to replace it.
7268 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7269 Define while compiling.
7270 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7271 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7272 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7273 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7274 (ruby-here-doc-end-syntax): Only define when
7275 syntax-propertize is not available.
7276 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7278 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7279 (electric-indent-chars): Silence bytecompiler.
7280 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7281 electric-indent-chars.
7283 * progmodes/python.el (python-syntax-propertize-function): New var to
7284 replace python-font-lock-syntactic-keywords.
7285 (python-mode): Use it.
7286 (python-quote-syntax): Simplify and adjust to new use.
7288 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7289 replace perl-font-lock-syntactic-keywords.
7290 (perl-syntax-propertize-special-constructs): New fun to replace
7291 perl-font-lock-special-syntactic-constructs.
7292 (perl-font-lock-syntactic-face-function): New fun.
7293 (perl-mode): Use it.
7295 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7296 to replace octave-font-lock-close-quotes.
7297 (octave-syntax-propertize-function): New function to replace
7298 octave-font-lock-syntactic-keywords.
7299 (octave-mode): Use it.
7301 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7302 replaces mixal-font-lock-syntactic-keywords.
7303 (mixal-mode): Use it.
7305 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7306 New var; replaces makefile-font-lock-syntactic-keywords.
7307 (makefile-mode): Use it.
7308 (makefile-imake-mode): Adjust.
7310 * progmodes/js.el (js--regexp-literal): Define while compiling.
7311 (js-syntax-propertize-function): New var; replaces
7312 js-font-lock-syntactic-keywords.
7315 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7316 replaces gdb-script-font-lock-syntactic-keywords.
7317 (gdb-script-mode): Use it.
7319 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7320 (fortran--font-lock-syntactic-keywords): New var.
7321 (fortran-line-length): Update syntax-propertize-function and
7322 fortran--font-lock-syntactic-keywords.
7324 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7326 * progmodes/cfengine.el (cfengine-mode):
7327 Use syntax-propertize-function.
7328 (cfengine-font-lock-syntactic-keywords): Remove.
7330 * progmodes/autoconf.el (autoconf-mode):
7331 Use syntax-propertize-function.
7332 (autoconf-font-lock-syntactic-keywords): Remove.
7334 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7335 (ada-after-change-function, ada-initialize-syntax-table-properties)
7336 (ada-handle-syntax-table-properties): Only define when
7337 syntax-propertize is not available.
7338 (ada-mode): Use syntax-propertize-function.
7340 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7341 (font-lock-fontify-syntactic-keywords-region): Move handling of
7342 font-lock-syntactically-fontified to...
7343 (font-lock-default-fontify-region): ...here.
7344 Let syntax-propertize-function take precedence.
7345 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7347 * emacs-lisp/syntax.el (syntax-propertize-function)
7348 (syntax-propertize-chunk-size, syntax-propertize--done)
7349 (syntax-propertize-extend-region-functions): New vars.
7350 (syntax-propertize-wholelines, syntax-propertize-multiline)
7351 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7352 (syntax-propertize): New functions.
7353 (syntax-propertize-rules): New macro.
7354 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7355 (syntax-ppss): Call syntax-propertize.
7357 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7359 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7361 * textmodes/ispell.el (ispell-init-process): Improve comments.
7362 XEmacs compatibility changes regarding (add-hook) 'local option
7363 and (set-process-query-on-exit-flag).
7365 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7367 * net/tramp-cache.el (tramp-parse-connection-properties):
7368 Set tramp-autoload cookie.
7370 2010-09-09 Glenn Morris <rgm@gnu.org>
7372 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7373 (imagemagick-register-types): Doc fix.
7375 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7377 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7379 * progmodes/js.el (require): Require is already "eval-and-compile".
7380 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7381 (js--re-search-backward): Use js--re-search-forward.
7383 * progmodes/fortran.el (fortran-line-length): Don't recompute
7384 syntactic keywords redundantly a second time.
7386 * progmodes/ada-mode.el: Replace "(set '" with setq.
7387 (ada-mode): Simplify.
7388 (ada-create-case-exception, ada-adjust-case-interactive)
7389 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7390 (ada-search-ignore-string-comment, ada-move-to-start)
7391 (ada-move-to-end): Use with-syntax-table.
7393 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7394 (font-lock-unfontify-region, font-lock-default-fontify-region):
7395 Update usage correspondingly.
7396 (font-lock-fontify-syntactic-keywords-region):
7397 Set parse-sexp-lookup-properties buffer-locally here.
7398 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7400 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7402 2010-09-08 Glenn Morris <rgm@gnu.org>
7404 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7405 Error if not compiled with -DBYTE_CODE_METER.
7407 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7408 Ignore dir-locals-file.
7410 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7414 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7415 for the `gnu' messages.
7416 (compilation-set-skip-threshold): New command.
7417 (compilation-start): Use \' rather than $.
7418 (compilation-forget-errors): Use clrhash.
7420 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7422 * textmodes/ispell.el (ispell-valid-dictionary-list):
7425 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7427 Migrate to Tramp 2.2. Rearrange load dependencies.
7428 (Bug#1529, Bug#5448, Bug#5705)
7430 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7431 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7432 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7434 * net/tramp.el (top): Remove all other tramp-* loads except
7435 tramp-compat.el. Remove all changes to tramp-unload-hook for
7436 other tramp-* packages. Rearrange defun order. Change calls of
7437 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7438 `tramp-compat-octal-to-decimal' to new function names.
7439 (tramp-terminal-type, tramp-initial-end-of-output)
7440 (tramp-methods, tramp-foreign-file-name-handler-alist)
7441 (tramp-tramp-file-p, tramp-completion-mode-p)
7442 (tramp-send-command-and-check, tramp-get-remote-path)
7443 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7444 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7445 (with-file-property, with-connection-property): Move to
7447 (tramp-local-call-process, tramp-decimal-to-octal)
7448 (tramp-octal-to-decimal): Move to tramp-compat.el.
7449 (tramp-handle-shell-command): Do not require 'shell.
7450 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7452 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7454 * net/tramp-cache.el (top): Require 'tramp. Add to
7455 `tramp-unload-hook'.
7456 (tramp-cache-data, tramp-get-file-property)
7457 (tramp-set-file-property, tramp-flush-file-property)
7458 (tramp-flush-directory-property, tramp-get-connection-property)
7459 (tramp-set-connection-property, tramp-flush-connection-property)
7460 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7462 (with-file-property, with-connection-property): New defuns, moved
7464 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7467 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7468 (tramp-version): Set tramp-autoload cookie.
7470 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7471 changes to tramp-unload-hook for other tramp-* packages. Add to
7472 `tramp-unload-hook'.
7473 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7474 (tramp-compat-call-process): New defuns, moved from tramp.el.
7476 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7477 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7478 Add to `tramp-unload-hook'. Change call of
7479 `tramp-compat-decimal-to-octal' to new function name.
7480 (tramp-fish-method): Make it a defconst.
7481 (tramp-fish-file-name-p): Make it a defsubst.
7482 (tramp-fish-method, tramp-fish-file-name-handler)
7483 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7485 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7486 `tramp-foreign-file-name-handler-alist'. Add to
7487 `tramp-unload-hook'.
7488 (tramp-ftp-method): Make it a defconst.
7489 (tramp-ftp-file-name-p): Make it a defsubst.
7490 (tramp-ftp-method, tramp-ftp-file-name-handler)
7491 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7493 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7494 `tramp-foreign-file-name-handler-alist'. Add to
7495 `tramp-unload-hook'. Change checks, whether package can be
7497 (tramp-gvfs-file-name-p): Make it a defsubst.
7498 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7499 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7500 (tramp-gvfs-handle-file-directory-p): New defun.
7501 (tramp-gvfs-file-name-handler-alist): Use it.
7503 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7504 `tramp-foreign-file-name-handler-alist'. Add to
7505 `tramp-unload-hook'.
7506 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7507 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7509 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7510 (tramp-gw-open-connection): Set tramp-autoload cookie.
7512 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7513 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7514 Add to `tramp-unload-hook'. Change checks, whether package can be
7516 (tramp-imap-file-name-p): Make it a defsubst.
7517 (tramp-imap-method, tramp-imaps-method)
7518 (tramp-imap-file-name-handler)
7519 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7521 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7522 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7523 Add to `tramp-unload-hook'. Change checks, whether package can be
7524 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7526 (tramp-smb-tunnel-method): Make it a defconst.
7527 (tramp-smb-file-name-p): Make it a defsubst.
7528 (tramp-smb-method, tramp-smb-file-name-handler)
7529 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7531 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7532 (tramp-uuencode-region): Set tramp-autoload cookie.
7534 * net/trampver.el (top) Add to `tramp-unload-hook'.
7535 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7536 cookie. Update release number.
7538 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7540 * textmodes/ispell.el (ispell-start-process): Make sure original
7541 arg list is properly initialized (Bug#6993, Bug#6994).
7543 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7545 * files.el (directory-abbrev-alist): Use \` as default regexp.
7547 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7548 chars like - or ] (bug#6984).
7549 (rx-any-condense-range): Explode 2-char ranges.
7551 2010-09-06 Glenn Morris <rgm@gnu.org>
7553 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7555 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7557 * textmodes/bibtex.el:
7558 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7560 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7562 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7563 since no callers use it.
7564 (imap-message-get): Ditto.
7565 (imap-message-put): Ditto.
7566 (imap-mailbox-map): Ditto.
7567 (imap-mailbox-put): Ditto.
7568 (imap-mailbox-get): Ditto.
7569 (imap-mailbox-get): Revert last change for this function.
7571 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7573 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7574 callers to use `imap-fetch' instead. According to the comments, this
7575 should be safe, since all other IMAP clients use the 1:* syntax.
7576 (imap-enable-exchange-bug-workaround): Remove.
7577 (imap-debug): Remove -- doesn't seem very useful.
7579 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7581 * net/imap.el (imap-log): New convenience function used throughout
7582 instead of repeating the same code all over the place.
7584 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7586 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7587 when mouse-drag-copy-region is non-nil (Bug#6956).
7589 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7591 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7592 Improve regexps (Bug#6987).
7593 (dired-sort-toggle): Search more robustly for -t flag.
7595 * files.el (get-free-disk-space): Search more robustly for
7596 "available" column. Suggested by Ehud Karni
7597 <ehud@unix.mvs.co.il>.
7599 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7601 * international/uni-bidi.el:
7602 * international/uni-category.el:
7603 * international/uni-combining.el:
7604 * international/uni-decimal.el:
7605 * international/uni-mirrored.el:
7606 * international/uni-name.el: Regenerate.
7608 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7610 * electric.el (electric-indent-post-self-insert-function):
7611 Don't reindent with a sloppy indentation function.
7613 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7614 border case in change-log-mode.
7616 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7618 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7619 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7620 Recognize leading tab in gcc-include regexp. Ignore names with
7621 leading "from" or "in" in gnu regexp (Bug#6937).
7623 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7625 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7626 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7627 (ispell-start-process): Avoid setq and simplify logic.
7628 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7629 (kill-buffer-hook): Don't use it globally with code that uses
7630 expand-file-name since that may call kill-buffer via
7631 code_conversion_restore.
7633 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7635 * emacs-lisp/package.el (package-directory-list): Only call
7636 file-name-nondirectory on a string.
7638 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7640 * emacs-lisp/package.el (package--download-one-archive):
7641 Ensure that archive-contents is valid before saving it.
7642 (package-activate-1, package-mark-obsolete, define-package)
7643 (package-compute-transaction, package-list-maybe-add): Use push.
7645 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7647 Use SMIE's blink-paren for octave-mode.
7648 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7649 Backslashes do not escape single-quotes, single-quotes do.
7650 (octave-block-else-regexp, octave-block-end-regexp)
7651 (octave-block-match-alist): Remove.
7652 (octave-smie-bnf-table): New var, with old content.
7653 (octave-smie-op-levels): Use it.
7654 (octave-smie-closer-alist): New var.
7655 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7656 (octave-blink-matching-block-open): Remove.
7657 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7658 (octave-electric-space): Let self-insert-command run expand-abbrev and
7661 * electric.el (electricity): New group.
7662 (electric-indent-chars): New var.
7663 (electric-indent-post-self-insert-function): New fun.
7664 (electric-indent-mode): New minor mode.
7665 (electric-pair-skip-self): New custom.
7666 (electric-pair-post-self-insert-function): New function.
7667 (electric-pair-mode): New minor mode.
7669 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7670 calcAlg-blink-matching-open.
7671 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7672 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7673 Use the new blink-matching-check-function.
7675 Provide blink-matching support to SMIE.
7676 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7677 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7678 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7680 * simple.el (newline): Fix last change to properly remove itself from
7683 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7685 * simple.el (newline): Eliminate optimization.
7686 Use post-self-insert-hook to set hard-newline and things before
7687 running post-self-insert-hook.
7688 (blink-matching-check-mismatch): New function.
7689 (blink-matching-check-function): New variable.
7690 (blink-matching-open): Use them.
7691 Skip back forward over prefix chars skipped by forward-sexp.
7692 Don't check if the parens are backslash escaped.
7693 (blink-paren-post-self-insert-function): Check backslash escaping here.
7695 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7697 * emacs-lisp/package.el (package-menu-mode-map):
7698 Change package-menu-revert bindings to revert-buffer.
7699 (package-menu-mode): Set revert-buffer-function.
7700 (package-menu-revert): Doc fix.
7702 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7704 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7705 `default-directory' unless using Ispell per-directory personal
7706 dictionaries and not in a mini-buffer under XEmacs.
7707 (kill-buffer-hook): Do not kill ispell process on exit when
7708 `ispell-process-directory' is "~/". (Bug#6143)
7710 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7712 * simple.el (kill-new): Call interprogram-cut-function with only
7715 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7716 Remove cut buffer from error message.
7718 * term/x-win.el (x-select-text):
7719 * term/pc-win.el (x-selection-value):
7720 * term/ns-win.el (x-selection-value):
7721 * eshell/em-term.el:
7722 * w32-fns.el (x-get-selection-value):
7723 * mouse-sel.el (mouse-sel-set-selection-function):
7724 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7726 * term/x-win.el: Update documentation for x-last-selected-text-*.
7727 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7728 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7729 (x-select-text): Remove argument PUSH, update documentation.
7730 Remove cut-buffer code.
7731 (x-selection-value-internal): Was previously x-selection-value.
7732 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7733 Update documentation, remove cut-buffer code.
7734 Call x-selection-value-internal.
7735 (x-clipboard-yank): Call x-selection-value-internal.
7736 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7738 * term/pc-win.el (x-last-selected-text):
7739 x-cut-buffer-or-selection-value renamed to x-selection-value
7740 (x-select-text): Remove argument PUSH, update documentation.
7742 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7743 x-cut-buffer-or-selection-value renamed to x-selection-value
7744 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7745 (x-select-text): Remove argument PUSH, update documentation.
7747 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7749 * w32-fns.el (x-last-selected-text):
7750 x-cut-buffer-or-selection-value renamed to x-selection-value.
7751 (x-cut-buffer-max): Remove.
7752 (x-select-text): Remove argument PUSH, update documentation.
7754 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7756 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7758 * mouse-sel.el (mouse-sel-get-selection-function):
7759 x-cut-buffer-or-selection-value renamed to x-selection-value.
7760 (x-select-text): Remove optional push.
7762 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7764 * simple.el (blink-paren-function): Move from C to here.
7765 (blink-paren-post-self-insert-function): New function.
7766 (post-self-insert-hook): Use it.
7768 * emacs-lisp/pcase.el (pcase-split-memq):
7769 Fix overenthusiastic optimisation.
7770 (pcase-u1): Handle the case of a lambda pred.
7772 2010-08-31 Kenichi Handa <handa@m17n.org>
7774 * international/mule-cmds.el (standard-display-european-internal):
7775 Setup standard-display-table for 8-bit characters by storing 8-bit
7776 characters in the element vector.
7778 * disp-table.el (standard-display-8bit):
7779 Setup standard-display-table for 8-bit characters by storing 8-bit
7780 characters in the element vector.
7781 (standard-display-european): Likewise.
7783 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7785 * textmodes/nroff-mode.el (nroff-view): New command.
7786 (nroff-mode-map): Bind it to C-c C-c.
7788 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7790 * emacs-lisp/smie.el (smie-down-list): New command.
7792 Remove old indentation and navigation code on octave-mode.
7793 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7794 smie-down-list rather than add a binding for octave-down-block.
7795 (octave-mark-block, octave-blink-matching-block-open):
7796 Rely on forward-sexp-function.
7797 (octave-fill-paragraph): Don't narrow, so you can use
7798 indent-according-to-mode.
7799 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7800 (octave-in-block-p, octave-re-search-forward-kw)
7801 (octave-re-search-backward-kw, octave-indent-calculate)
7802 (octave-end-as-array-index-p, octave-block-end-offset)
7803 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7804 (octave-down-block, octave-backward-up-block, octave-up-block)
7805 (octave-before-magic-comment-p, octave-indent-line): Remove.
7807 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7809 * emacs-lisp/package.el (package--read-archive-file): Just use
7810 `read', to avoid copying an additional string.
7811 (package-menu-mode): Set header-line-format here.
7812 (package-menu-refresh, package-menu-revert): Signal an error if
7813 not in the Package Menu.
7814 (package-menu-package-list): New var.
7815 (package--generate-package-list): Operate on the current buffer;
7816 don't assume that it is *Packages*, since the user may rename it.
7817 Allow persistent package listings and sort keys using
7818 package-menu-package-list and package-menu-package-sort-key.
7819 (package-menu--version-predicate): Fix version calculation.
7820 (package-menu-sort-by-column): Don't select the window.
7821 (package--list-packages): Create the *Packages* buffer.
7822 Set package-menu-package-list-key.
7823 (list-packages): Sorting by status is now the default.
7824 (package-buffer-info): Use match-string-no-properties.
7825 (define-package): Add a &rest argument for future proofing, but
7827 (package-install-from-buffer, package-install-buffer-internal):
7828 Merge into a single function, package-install-from-buffer.
7829 (package-install-file): Change caller.
7831 * finder.el: Load finder-inf using `require'.
7832 (finder-list-matches): Sorting by status is now the default.
7833 (finder-compile-keywords): Simpify printing.
7835 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7838 (octave-mode-map): Remove special bindings for forward/backward-block
7839 and octave-backward-up-block. Use smie-close-block.
7840 (octave-continuation-marker-regexp): New var.
7841 (octave-continuation-regexp): Use it.
7842 (octave-operator-table, octave-smie-op-levels)
7843 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7844 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7845 (octave-mode): Use SMIE.
7846 (octave-close-block): Delete.
7848 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7850 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7851 CLIPBOARD, not in PRIMARY. (Bug#6944)
7853 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7855 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7857 (smie-indent-column): Allow indirection through variables.
7859 * composite.el (save-buffer-state): Delete, unused.
7860 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7861 (font-lock-default-fontify-region): Use with-syntax-table.
7862 * jit-lock.el (with-buffer-unmodified): Remove.
7863 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7865 Use `declare' in defmacros.
7866 * window.el (save-selected-window):
7867 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7868 * progmodes/python.el (def-python-skeleton):
7869 * net/dbus.el (dbus-ignore-errors):
7870 * jka-cmpr-hook.el (with-auto-compression-mode):
7871 * international/mule.el (with-category-table):
7872 * emacs-lisp/timer.el (with-timeout):
7873 * emacs-lisp/lisp-mnt.el (lm-with-file):
7874 * emacs-lisp/eieio.el (with-slots):
7875 * emacs-lisp/easymenu.el (easy-menu-define):
7876 * emacs-lisp/debug.el (debugger-env-macro):
7877 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7878 (Multiple-value-call, Multiple-value-prog1):
7879 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7880 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7881 edebug rule to definition.
7882 * emacs-lisp/lisp-mode.el (save-selected-window)
7883 (with-current-buffer, combine-after-change-calls)
7884 (with-output-to-string, with-temp-file, with-temp-buffer)
7885 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7886 (dolist, dotimes, when, unless):
7887 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7889 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7891 * finder.el: Require `package'.
7892 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7893 (finder-package-info): Var deleted.
7894 (finder-keywords-hash, finder--builtins-alist): New vars.
7895 (finder-compile-keywords): Compute package--builtins and
7896 finder-keywords-hash instead of finder-keywords-hash, respecting
7897 the "Package" header.
7898 (finder-unknown-keywords, finder-list-matches):
7899 Use finder-keywords-hash and package--list-packages.
7900 (finder-mode): Don't set font-lock-defaults.
7901 (finder-exit): We don't use "*Finder-package*" and "*Finder
7902 Category*" buffers anymore.
7904 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7905 (package--builtins): Set default value to nil.
7906 (package-initialize): Load precomputed value of package--builtins
7908 (package-alist, package-compute-transaction)
7909 (package-download-transaction): Improve docstring.
7910 (package-read-all-archive-contents): Do not change
7911 package--builtins here.
7912 (list-packages): Make package-list-packages an alias for this.
7913 Sort by status by default.
7914 (package--list-packages): Add optional PACKAGES arg.
7915 (describe-package-1): Use font-lock-face property. For built-in
7916 packages, insert file commentary.
7917 (package--generate-package-list): Rename from
7918 package-list-packages-internal; all callers changed. Add optional
7919 PACKAGES arg. Add alphabetical sort fallbacks.
7920 (package-menu--version-predicate, package-menu--status-predicate)
7921 (package-menu--description-predicate)
7922 (package-menu--name-predicate): New functions.
7924 * info.el (Info-finder-find-node): Search package-alist instead of
7925 finder-package-info.
7927 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7929 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7931 (version-to-list): Handle versions like "10.3d".
7933 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7935 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7936 (macroexp-accumulate): Use `declare'.
7938 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7940 * whitespace.el (whitespace-style): Adjust type declaration.
7942 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7944 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7946 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7948 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7951 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7953 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7954 (js-paren-indent-offset, js-square-indent-offset)
7955 (js-curly-indent-offset): New options.
7956 (js--proper-indentation): Use them.
7958 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7960 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7961 instead of inspecting font-lock properties (Bug#6916).
7963 2010-08-26 David Reitter <david.reitter@gmail.com>
7965 * server.el (server-visit-files): Run pre-command-hook and
7966 post-command-hook for each buffer while it is current (Bug#6910).
7967 (server-execute): Do not run hooks here.
7969 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7971 Sync with Tramp 2.1.19.
7973 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7975 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7977 * net/tramp.el (tramp-handle-expand-file-name)
7978 (tramp-completion-handle-file-name-all-completions)
7979 (tramp-completion-handle-file-name-completion):
7980 Use `tramp-connectable-p'.
7982 * net/trampver.el: Update release number.
7984 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7986 * help.el (help-map): Bind `C-h P' to describe-package.
7988 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7990 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7991 when downloading archives.
7992 (describe-package-1): Add package commentary.
7993 (package-install-button-action): New function.
7994 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7995 (package-menu-view-commentary): Function removed.
7996 (package-list-packages-internal): Hide the `package' package too.
7998 2010-08-25 Kenichi Handa <handa@m17n.org>
8000 * language/misc-lang.el ("Arabic"): New language environment.
8001 Setup composition-function-table for Arabic characters.
8003 * international/fontset.el (setup-default-fontset): Fix typo for
8004 arabic OTF spec (fini->fina).
8006 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8008 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8011 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8013 * whitespace.el: Allow cleaning up blanks without blank
8014 visualization (Bug#6651). Adjust help window for
8015 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8016 instead of whitespace-line-column (from EmacsWiki). New version
8018 (whitespace-style): Add new value 'face. Adjust docstring.
8019 (whitespace-space, whitespace-hspace, whitespace-tab):
8020 Adjust foreground property face.
8021 (whitespace-line-column): Adjust docstring and type declaration.
8022 (whitespace-style-value-list, whitespace-toggle-option-alist)
8023 (whitespace-help-text): Adjust const initialization.
8024 (whitespace-toggle-options, global-whitespace-toggle-options):
8026 (whitespace-display-window, whitespace-interactive-char)
8027 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8028 (whitespace-help-scroll): New fun.
8030 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8032 * emacs-lisp/package.el (list-packages): Alias for
8033 package-list-packages.
8035 2010-08-24 Kevin Ryde <user42@zip.com.au>
8037 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8040 * progmodes/ruby-mode.el (ruby): Add defgroup.
8042 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8044 * progmodes/python.el: Add Ipython support (Bug#5390).
8045 (python-shell-prompt-alist)
8046 (python-shell-continuation-prompt-alist): New options.
8047 (python--set-prompt-regexp): New function.
8048 (inferior-python-mode, run-python, python-shell):
8049 Require ansi-color. Use python--set-prompt-regexp to set the comint
8050 prompt based on the Python interpreter.
8051 (python--prompt-regexp): New var.
8052 (python-check-comint-prompt)
8053 (python-comint-output-filter-function): Use it.
8054 (run-python): Use a pipe (Bug#5694).
8056 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8058 * progmodes/python.el (python-send-region): Send a different
8059 Python command if Ipython is in use.
8060 (python-check-version): Use a Python command to find the version.
8062 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8064 * mouse.el (mouse-yank-primary): Avoid setting primary when
8065 deactivating the mark (Bug#6872).
8067 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8069 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8070 with "else" (Bug#3991).
8072 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8074 * net/dbus.el: Accept UNIX domain sockets as bus address.
8075 (top): Don't initialize `dbus-registered-objects-table' anymore,
8076 this is done in dbusbind.c.
8077 (dbus-check-event): Adapt test for bus.
8078 (dbus-return-values-table, dbus-unregister-service)
8079 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8082 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8084 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8086 2010-08-22 Juri Linkov <juri@jurta.org>
8088 * simple.el (read-extended-command): New function with the logic
8089 for `completing-read' moved to Elisp from `execute-extended-command'.
8090 Use `function-called-at-point' in `minibuffer-default-add-function'
8091 to get a command name for M-n (bug#5364, bug#5214).
8093 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8095 * startup.el (command-line-1): Issue warning for ignored arguments
8096 --unibyte, etc (Bug#6886).
8098 2010-08-22 Leo <sdl.web@gmail.com>
8100 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8101 (ignore, bright, dim, keyword): Split list of nicknames before
8102 passing to rcirc-add-or-remove (Bug#6894).
8104 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8106 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8108 2010-08-22 Leo <sdl.web@gmail.com>
8110 Fix buffer-list rename&refresh after killing a buffer in ido.
8111 * ido.el: Revert Óscar's.
8112 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8113 Remember the buffers at head, rather than their name.
8114 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8116 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8117 Stefan Monnier <monnier@iro.umontreal.ca>
8119 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8120 extra backslash added to each line (bug#6890).
8122 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8124 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8126 2010-08-22 Glenn Morris <rgm@gnu.org>
8128 * menu-bar.el (menu-bar-games-menu): Add landmark.
8130 2010-08-22 Glenn Morris <rgm@gnu.org>
8132 * align.el (align-regexp): Make group and spacing arguments
8133 use the interactive defaults when non-interactive. (Bug#6698)
8135 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8136 expansion, so as not to need sendmail.
8137 (mail-text-start): Remove declaration.
8138 (rmail-retry-failure): Require sendmail.
8140 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8142 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8144 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8146 * progmodes/flymake.el (flymake-start-syntax-check-process):
8147 Use `start-file-process' in order to let it run also on remote hosts.
8149 2010-08-22 Kenichi Handa <handa@m17n.org>
8151 * files.el: Add `word-wrap' as safe local variable.
8153 2010-08-22 Glenn Morris <rgm@gnu.org>
8155 * woman.el (woman-translate): Case matters. (Bug#6849)
8157 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8159 * simple.el (kill-region): Doc fix (Bug#6787).
8161 2010-08-22 Glenn Morris <rgm@gnu.org>
8163 * calendar/diary-lib.el (diary-header-line-format):
8164 Fit it to the window, not the frame.
8166 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8168 * subr.el (ignore-errors): Add debug declaration.
8170 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8172 * whitespace.el (whitespace-color-off): Remove post-command-hook
8175 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8177 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8179 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8181 * cus-edit.el (custom-group-value-create): Add extra newline
8182 before end line (Bug#6876).
8184 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8186 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8187 when extending it. Before killing on the second click, check if
8188 the buffer is the correct one. Doc fix.
8189 (mouse-secondary-save-then-kill): Allow usage without first
8190 calling mouse-start-secondary, by defaulting to point. Don't save
8191 an empty secondary selection. Doc fix.
8193 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8195 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8196 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8198 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8199 Adjust initialization.
8200 (whitespace-bob-marker, whitespace-eob-marker)
8201 (whitespace-buffer-changed): New vars.
8202 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8203 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8204 (whitespace-post-command-hook, whitespace-display-char-on):
8206 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8207 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8209 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8211 * files.el (locate-file-completion-table): Only list the .el and .elc
8212 extensions if there's no other choice (bug#5955).
8214 * facemenu.el (facemenu-self-insert-data): New var.
8215 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8217 (facemenu-add-face): Use them.
8219 * simple.el (blink-matching-open): Obey forward-sexp-function.
8221 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * simple.el (prog-mode-map): New var.
8224 (prog-indent-sexp): New command.
8226 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8228 * progmodes/prolog.el (smie): Require.
8230 * emacs-lisp/smie.el (smie-default-backward-token)
8231 (smie-default-forward-token): Strip properties.
8232 (smie-next-sexp): Be more careful with associative operators.
8233 (smie-forward-sexp-command): Generalize.
8234 (smie-backward-sexp-command): Simplify.
8235 (smie-closer-alist): New var.
8236 (smie-close-block): New command.
8237 (smie-indent-debug-log): New var.
8238 (smie-indent-offset-rule): Add a few more cases.
8239 (smie-indent-column): New function.
8240 (smie-indent-after-keyword): Use it.
8241 (smie-indent-keyword): Use it.
8242 Fix up the opener code's point position.
8243 (smie-indent-comment): Only applies at BOL.
8244 (smie-indent-debug): New command.
8246 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8247 declarations that are useful before running the macro.
8249 2010-08-18 Joakim Verona <joakim@verona.se>
8251 * image.el (imagemagick-types-inhibit): New variable.
8252 (imagemagick-register-types): New function.
8253 * image-mode.el (image-transform-properties): New function.
8254 (image-transform-set-scale, image-transform-fit-to-height)
8255 (image-transform-set-rotation, image-transform-set-resize)
8256 (image-transform-fit-to-width, image-transform-fit-to-height):
8258 (image-toggle-display-image): Support image transforms.
8260 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8262 * image.el (create-animated-image): Don't add heuristic mask to image
8265 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8267 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8268 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8270 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8272 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8274 Font-lock '...' strings, plus various simplifications and fixes.
8275 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8276 (octave-font-lock-close-quotes): New function.
8277 (octave-font-lock-syntactic-keywords): New var.
8278 (octave-mode): Use it. Set beginning-of-defun-function.
8279 (octave-mode-map): Don't override the <foo>-defun commands.
8280 (octave-mode-menu): Pass it directly to easy-menu-define;
8281 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8282 (octave-block-match-alist): Fix up last change so that
8283 octave-close-block uses the more specific keyword.
8284 (info-lookup-mode): Silence byte-compiler.
8285 (octave-beginning-of-defun): Not interactive any more.
8287 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8288 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8289 (octave-completion-at-point-function): Make sure point is within
8291 (octave-reindent-then-newline-and-indent):
8292 Use reindent-then-newline-and-indent.
8293 (octave-add-octave-menu): Remove.
8295 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8297 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8298 (report-emacs-bug-can-use-xdg-email): New functions.
8299 (report-emacs-bug): Set can-xdg-email to result of
8300 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8301 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8304 * net/browse-url.el (browse-url-default-browser): Add cond
8305 for browse-url-xdg-open.
8306 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8308 2010-08-17 Glenn Morris <rgm@gnu.org>
8310 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8311 (c-fontify-recorded-types-and-refs): Define for compiler.
8312 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8315 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8318 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8320 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8322 (tramp-handle-process-file): Call the program in a subshell, in
8323 order to preserve working directory.
8324 (tramp-action-password): Hide password prompt before next run.
8325 (tramp-process-actions): Widen connection buffer for the trace.
8327 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8329 * net/rcirc.el (rcirc-log-process-buffers): New option.
8330 (rcirc-print): Use it.
8331 (rcirc-generate-log-filename): New function.
8332 (rcirc-log-filename-function): Change default to
8333 rcirc-generate-log-filename (Bug#6828).
8335 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8337 * simple.el (deactivate-mark): If select-active-regions is `only',
8338 only set selection for temporarily active regions.
8340 * cus-start.el: Change defcustom for select-active-regions.
8342 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8344 * mouse.el (mouse--drag-set-mark-and-point): New function.
8345 (mouse-drag-track): Use LOCATION arg to push-mark.
8346 Use mouse--drag-set-mark-and-point to take click-count into
8347 consideration when updating point and mark (Bug#6840).
8349 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8351 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8352 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8354 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8356 * font-lock.el (lisp-font-lock-keywords-2):
8357 Add combine-after-change-calls, condition-case-no-debug,
8358 with-demoted-errors, and with-silent-modifications (Bug#6025).
8360 2010-08-14 Kevin Ryde <user42@zip.com.au>
8362 * emacs-lisp/copyright.el (copyright-update-year)
8363 (copyright-update): Temporary switch-to-buffer to ensure the
8364 buffer change being queried is visible (Bug#5394).
8366 2010-08-14 Tom Tromey <tromey@redhat.com>
8368 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8371 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8373 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8376 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8378 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8379 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8380 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8381 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8382 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8383 Call menu-bar-set-tool-bar-position.
8385 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8387 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8388 comment style (bug#6834).
8389 * progmodes/scheme.el (scheme-mode-syntax-table):
8390 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8391 "b" flag in "' 14b" syntax.
8393 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8394 for (un)commenting the region and performing completion.
8395 (octave-mode-menu): Use standard commands for help and completion.
8396 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8397 (octave-mode): Use define-derived-mode.
8398 Set completion-at-point-functions and don't set columns.
8399 Don't disable adaptive-fill-regexp.
8400 (octave-describe-major-mode, octave-comment-region)
8401 (octave-uncomment-region, octave-comment-indent)
8402 (octave-indent-for-comment): Remove.
8403 (octave-indent-calculate): Rename from calculate-octave-indent.
8404 (octave-indent-line, octave-fill-paragraph): Update caller.
8405 (octave-initialize-completions): No need to make an alist.
8406 (octave-completion-at-point-function): New function.
8407 (octave-complete-symbol): Use it.
8408 (octave-insert-defun): Use define-skeleton.
8410 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8411 (octave-mode-map): Use comment-dwim (bug#6829).
8413 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8415 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8416 indentation of inserted comment.
8418 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8420 * faces.el (region): Add type gtk that uses gtk colors.
8422 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8423 Handle theme-name change.
8425 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8427 * progmodes/sql.el: Version 2.5
8428 (sql-product-alist): Add :prompt-cont-regexp property for several
8430 (sql-prompt-cont-regexp): New variable.
8431 (sql-output-newline-count, sql-output-by-send):
8432 New variables. Record number of newlines in input text.
8433 (sql-send-string): Handle multiple filters and count newlines.
8434 (sql-send-magic-terminator): Count terminator newline.
8435 (sql-interactive-remove-continuation-prompt): Filters output to
8436 remove continuation prompts; one for each newline.
8437 (sql-interactive-mode): Set up new variables, prompt regexp and
8439 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8440 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8442 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * emacs-lisp/pcase.el: New file.
8446 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8448 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8449 as here-document, otherwise the command could exceed maximum
8450 length of command line.
8451 (tramp-handle-vc-registered): Call script accordingly.
8452 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8454 2010-08-10 Kenichi Handa <handa@m17n.org>
8456 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8459 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8461 * emacs-lisp/package.el (package-version-split)
8462 (package--version-first-nonzero, package-version-compare):
8464 (package-directory-list, package-load-all-descriptors)
8465 (package--built-in, package-activate, define-package)
8466 (package-installed-p, package-compute-transaction)
8467 (package-read-all-archive-contents)
8468 (package--add-to-archive-contents, package-buffer-info)
8469 (package-tar-file-info, package-list-packages-internal):
8470 Use version-to-list and version-list-*.
8472 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8473 Use version-to-list.
8474 (package-upload-buffer-internal): Use version-list-<=.
8476 2010-08-09 Kenichi Handa <handa@m17n.org>
8478 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8481 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8483 * tutorial.el (tutorial--default-keys): C-d is now bound to
8484 delete-forward-char (Bug#6826).
8486 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8487 for `double' value of mouse-1-click-follows-link (Bug#6807).
8489 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8491 * replace.el (replace-highlight): Bind isearch-forward and
8492 isearch-error, ensuring that highlighting is updated if the user
8493 switches the search direction (Bug#6808).
8495 * isearch.el (isearch-lazy-highlight-forward): New var.
8496 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8497 (isearch-lazy-highlight-update): Use it.
8499 2010-08-08 Kenichi Handa <handa@m17n.org>
8501 * international/mule.el (define-charset): Store NAME as :base property.
8502 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8503 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8504 current priority. Force using the designation of the specific
8505 charset by adding `charset' text property. Improve the whole algorithm.
8507 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8509 * emulation/pc-select.el (pc-selection-mode-hook)
8510 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8511 (pc-selection-mode): Fix typos in docstrings.
8513 2010-08-08 Kenichi Handa <handa@m17n.org>
8515 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8516 ctext-non-standard-encodings-alist here.
8518 * international/mule.el (ctext-non-standard-encodings-alist):
8519 Add "koi8-r" and "microsoft-cp1251".
8520 (ctext-standard-encodings): New variable.
8521 (ctext-non-standard-encodings-table): List only elements for
8522 non-standard encodings.
8523 (ctext-pre-write-conversion): Adjust for the above change.
8524 Check ctext-standard-encodings.
8526 * international/mule-conf.el (compound-text): Doc fix.
8527 (ctext-no-compositions): Doc fix.
8528 (compound-text-with-extensions): Doc fix.
8530 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8534 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8536 * progmodes/which-func.el (which-func-format): Split help-echo text
8537 into lines, like other mode-line tooltips.
8539 * server.el (server-start): When using TCP sockets, force IPv4
8540 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8542 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8546 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8548 * term.el (term-delimiter-argument-list): Reflow docstring.
8549 (term-read-input-ring, term-write-input-ring, term-send-input)
8550 (term-bol, term-erase-in-display, serial-supported-or-barf):
8551 Fix typos in docstrings.
8553 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8557 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8559 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8561 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8563 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8564 Fix typo in docstring (bug#6747).
8566 2010-08-08 Leo <sdl.web@gmail.com>
8568 * eshell/esh-io.el (eshell-get-target): Better detection of
8569 read-only file (Bug#6762).
8571 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8573 * align.el (align-default-spacing): Doc fix.
8574 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8576 2010-08-08 Stephen Peters <speters@itasoftware.com>
8578 * calendar/icalendar.el
8579 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8580 (icalendar--get-weekday-numbers): New.
8581 (icalendar--convert-recurring-to-diary): Handle multiple byday
8582 values in weekly rules. (Bug#6766)
8584 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8586 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8587 (icalendar--create-uid, icalendar-export-region)
8588 (icalendar--parse-summary-and-rest): Code formatting.
8590 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8592 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8593 to italicize headers.
8594 (calc-highlight-selections-with-faces): New variable.
8595 (calc-selected-face, calc-nonselected-face): New faces.
8597 * calc/calccomp.el (math-comp-highlight-string): Use
8598 `calc-highlight-selections-with-faces' to determine how to highlight
8601 * calc/calc-sel.el (calc-show-selections): Change message to when
8602 using faces to highlight selections.
8604 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8606 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8607 Add SQLite 3 keywords, functions and datatypes.
8608 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8611 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8613 * simple.el (select-active-regions): Move to keyboard.c.
8614 (deactivate-mark): Used saved-region-selection.
8615 (select-active-region): Function removed.
8616 (activate-mark, set-mark, push-mark-command)
8617 (handle-shift-selection): Don't call it.
8618 (keyboard-quit): Avoid adding the region to the window selection.
8620 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8621 select-active-regions implementation.
8622 (mouse-yank-at-click): Doc fix.
8624 * cus-start.el: Add custom declaration for select-active-regions.
8626 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8628 * simple.el (delete-forward-char): Doc fix.
8630 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8631 after reading the tutorial.
8633 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8635 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8636 Fix for the case that a C style comment has its delimiters alone on
8637 their respective lines. (Bug#193)
8639 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8641 * net/tramp.el (tramp-handle-start-file-process): Set connection
8643 (tramp-process-sentinel): Use it for flushing the cache.
8644 We cannot do it via the process buffer, the buffer could be deleted
8645 already when running the sentinel.
8647 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8649 * comint.el (comint-mode): Make directory tracking functions
8650 functional on remote files. (Bug#6764)
8652 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8654 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8656 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8658 * emacs-lisp/find-gc.el (find-gc-source-files):
8659 Rename unexec.c => unexcoff.c.
8661 * emacs-lisp/authors.el (authors-fixed-entries):
8662 Rename unexec.c => unexcoff.c.
8664 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8666 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8667 cache, not only file cache.
8668 (tramp-process-sentinel): New defun.
8669 (tramp-handle-start-file-process): Use it, in order to invalidate
8672 2010-08-03 Leo <sdl.web@gmail.com>
8674 * server.el (server-start): Simplify loop.
8676 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8678 * frame.el (screen-height, screen-width, set-screen-width)
8679 (set-screen-height): Remove ancient compatibility aliases.
8681 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8682 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8684 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8685 that change current buffer.
8687 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8689 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8690 beginning of the string. Use `string-match-p'. (Bug#6765)
8692 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8694 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8696 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8698 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8699 (package--builtins): Tweak descriptions.
8700 (package-print-package): Upcase descriptions if necessary.
8701 Show all built-in packages in font-lock-builtin-face.
8702 (package-list-packages-internal): Omit "emacs" package.
8703 Show status of built-in packages as "built-in".
8705 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8707 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8708 before killing to preserve the primary selection (Bug#6701).
8710 * term/x-win.el (x-select-text): Doc fix.
8712 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8714 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8715 (objc-font-lock-extra-types):
8716 * progmodes/cc-mode.el (c-basic-common-init):
8717 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8718 (c++-make-template-syntax-table)
8719 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8720 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8721 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8722 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8723 * progmodes/cc-fonts.el (c-make-inverse-face)
8724 (c-basic-matchers-after):
8725 * progmodes/cc-engine.el (c-forward-keyword-clause)
8726 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8727 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8728 (c-guess-continued-construct, c-guess-basic-syntax):
8729 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8730 The above functions were modified or created.
8732 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8734 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8736 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8738 * files.el (bidi-paragraph-direction): Define safe local values.
8740 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8741 language-info-alist. Remove outdated FIXME in a comment.
8743 2010-07-31 Alan Mackenzie <acm@muc.de>
8745 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8746 Auto-fill broken in C/C++ modes.
8748 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8750 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8751 (menu-bar-showhide-tool-bar-menu-customize-disable)
8752 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8753 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8754 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8755 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8756 make a menu for Options => toolbar that can move it.
8758 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8760 * emacs-lisp/package-x.el (package--make-rss-entry):
8761 (package-maint-add-news-item, package--update-news)
8762 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8764 * emacs-lisp/package.el (package-archive-url): Rename from
8766 (package-install): Doc fix.
8767 (package-download-single, package-download-tar, package-install)
8768 (package-menu-view-commentary): Callers changed.
8770 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8772 * net/tramp.el (tramp-handle-start-file-process): Check only for
8773 `remote-tty' process property.
8774 (tramp-open-shell): Don't check for tty.
8775 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8778 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8781 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8783 * emacs-lisp/package.el (package-load-list, package-archives)
8784 (package-archive-contents, package-user-dir)
8785 (package-directory-list, package--builtins, package-alist)
8786 (package-activated-list, package-obsolete-alist): Mark as risky.
8788 2010-07-28 Phil Hagelberg <phil@evri.com>
8790 Add support for non-default package repositories.
8791 * emacs-lisp/package.el (package-archive-base): Var deleted.
8792 (package-archives): New variable.
8793 (package-archive-contents): Doc fix.
8794 (package-load-descriptor): Do nothing if descriptor file is missing.
8795 (package--write-file-no-coding): New function.
8796 (package-unpack-single): Use it.
8797 (package-archive-id): New function.
8798 (package-download-single, package-download-tar)
8799 (package-menu-view-commentary): Use it.
8800 (package-installed-p): Make second argument optional.
8801 (package-read-all-archive-contents): New function.
8802 (package-initialize): Use it.
8803 (package-read-archive-contents): Add ARCHIVE argument.
8804 (package--add-to-archive-contents): New function.
8805 (package-install): Don't call package-read-archive-contents.
8806 (package--download-one-archive): Store archive file in a
8807 subdirectory of package-user-dir.
8808 (package-menu-execute): Remove spurious line movement.
8810 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8812 * cus-start.el (tool-bar-style): Add text-image-horiz.
8814 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8816 * progmodes/gud.el (gud-common-init): Check for remoteness of
8817 `file', and not of `default-directory'.
8819 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8821 * net/tramp.el (tramp-methods): Move hostname to the end in all
8822 ssh `tramp-login-args'.
8823 (tramp-verbose): Describe verbose level 9.
8824 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8825 (tramp-open-connection-setup-interactive-shell): Trace stty
8826 settings if `tramp-verbose' >= 9.
8827 (tramp-handle-start-file-process): Implement tty setting.
8828 (Bug#4604, Bug#6360)
8830 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8831 `tramp-verbose' to 9.
8833 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8835 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8836 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8837 Remove references to package `lisp-re' (bug#4369).
8839 2010-07-27 Tom Tromey <tromey@redhat.com>
8841 * progmodes/js.el (js-mode):
8842 * progmodes/make-mode.el (makefile-mode):
8843 * progmodes/simula.el (simula-mode):
8844 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8846 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8848 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8850 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8851 (display-time-world-buffer-name, display-time-world-mode-map):
8852 Fix typos in docstrings.
8854 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8856 * image-mode.el (image-display-size): New function.
8857 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8858 (image-mode-fit-frame): Use it (Bug#6639).
8860 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8862 * dired.el (dired-buffers-for-dir): Handle list values of
8863 dired-directory (Bug#6636).
8865 2010-07-26 Sam Steingold <sds@gnu.org>
8867 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8868 Do not call `x-get-selection' the second time, reuse the value.
8870 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8872 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8873 which consist of control chars only. Suggested by Richard Stallman.
8875 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8877 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8878 exists before passing an error to find-file-not-found-functions
8881 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8883 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8884 Remove leading nil element, adjust values.
8885 (tetris-shapes, tetris-shape-scores):
8886 Change representation of shapes and remove some redundancy.
8887 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8888 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8889 Adjust for working with new representation of shapes.
8890 (tetris-shape-rotations): New function.
8891 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8892 (tetris-rotate-prev, tetris-rotate-next):
8893 Adjust for working with the new version of tetris-test-shape.
8895 2010-07-23 Markus Triska <markus.triska@gmx.at>
8897 * progmodes/ps-mode.el: Use comint (bug#5954).
8898 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8899 (ps-mode-other-newline): Simplify.
8900 (ps-run-mode): Derive from comint-mode instead of
8901 fundamental-mode, yielding input history etc.
8902 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8903 (ps-run-send-string): Adapt for comint-mode.
8904 (ps-run-newline): Remove now unneeded function.
8906 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8908 * net/tramp.el (tramp-methods): Move hostname to the end in all
8909 plink `tramp-login-args'.
8911 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8913 * net/tramp.el (tramp-open-shell): New defun.
8914 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8917 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8919 * net/tramp.el (tramp-file-name-regexp-unified)
8920 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8921 not regard the volume letter as remote filename. (Bug#5447)
8923 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8925 * custom.el (custom-declare-variable): Give a clearer error message
8926 when the docstring is missing (bug#6476).
8928 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8930 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8931 (sql-login-params): New widget definition.
8932 (sql-oracle-login-params, sql-mysql-login-params)
8933 (sql-solid-login-params, sql-sybase-login-params)
8934 (sql-informix-login-params, sql-ingres-login-params)
8935 (sql-ms-login-params, sql-postgres-login-params)
8936 (sql-interbase-login-params, sql-db2-login-params)
8937 (sql-linter-login-params): Use it.
8938 (sql-sqlite-login-params): Use it; Define "database" parameter as
8940 (sql-sqlite-program): Change to "sqlite3".
8941 (sql-comint-sqlite): Make sure database name is complete.
8942 (sql-for-each-login): New function.
8943 (sql-connect, sql-save-connection): Use it.
8944 (sql-get-login-ext): New function.
8945 (sql-get-login): Use it.
8946 (sql-make-alternate-buffer-name): Handle :file parameters.
8948 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8950 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8951 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8953 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8955 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8957 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8959 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8961 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8963 * net/tramp.el (tramp-get-ls-command)
8964 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8967 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8969 * progmodes/sql.el: Version 2.3.
8970 (sql-connection-alist): Change keys from symbols to strings;
8971 enhanced the widget definition.
8972 (sql-mode-menu): Add submenu to select connections.
8973 (sql-interactive-mode-menu): Add "Save Connection" item.
8974 (sql-add-product): Fix menu item.
8975 (sql-get-product-feature): Improved error handling.
8976 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8977 (sql-make-alternate-buffer-name): Simplified.
8978 (sql-product-interactive): Handle missing product.
8979 (sql-connect): Support string keys, minor improvements.
8980 (sql-save-connection): New function.
8981 (sql-connection-menu-filter): New function.
8983 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8985 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8986 (tramp-open-connection-setup-interactive-shell):
8987 Apply workaround for IRIX64 bug. Move argument of last
8988 `tramp-send-command' where it belongs to.
8990 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8992 * net/tramp.el (tramp-perl-file-attributes)
8993 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8994 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8995 front of `login-args'.
8997 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8999 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9000 Set `show-trailing-whitespace' to nil.
9001 (display-time-world-display): Simplify.
9003 2010-07-18 Alan Mackenzie <acm@muc.de>
9005 Enhance `c-file-style' in file/directory local variables.
9006 * progmodes/cc-mode.el (c-count-cfss): New function.
9007 (c-before-hack-hook): Call `c-set-style' differently according to
9008 whether c-file-style was set in file or directory local
9011 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9013 * progmodes/sql.el: Version 2.2.
9014 (sql-product, sql-user, sql-database, sql-server, sql-port):
9015 Use defcustom :safe keyword rather than putting safe-local-variable
9017 (sql-password): Use defcustom :risky keyword rather than putting
9018 risky-local-variable property.
9019 (sql-oracle-login-params, sql-sqlite-login-params)
9020 (sql-solid-login-params, sql-sybase-login-params)
9021 (sql-informix-login-params, sql-ingres-login-params)
9022 (sql-ms-login-params, sql-postgres-login-params)
9023 (sql-interbase-login-params, sql-db2-login-params)
9024 (sql-linter-login-params): Add `port' option.
9025 (sql-get-product-feature): Add NO-INDIRECT parameter.
9026 (sql-comint-oracle, sql-comint-sybase)
9027 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9028 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9029 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9030 (sql-comint-linter): Rename sql-connect-* functions to
9032 (sql-product-alist, sql-mode-menu): Rename as above and
9033 :sqli-connect-func to :sqli-comint-func.
9034 (sql-connection): New variable.
9035 (sql-interactive-mode): Set it.
9036 (sql-connection-alist): New variable.
9037 (sql-connect): New function.
9038 (sql--alt-buffer-part, sql--alt-if-not-empty)
9039 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9041 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9043 * image-mode.el (image-bookmark-make-record): Do not set context
9044 in an image (Bug#6650).
9046 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9048 * simple.el (select-active-region): New function.
9049 (push-mark-command, set-mark, activate-mark)
9050 (handle-shift-selection): Use it.
9051 (deactivate-mark): Don't check for size of region.
9053 * mouse.el (mouse-drag-track): Use select-active-region.
9055 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9057 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9060 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9062 * term/x-win.el (x-select-enable-primary): Change default to nil.
9063 (x-select-enable-clipboard): Add :version keyword.
9065 * mouse.el (mouse-drag-copy-region):
9066 * simple.el (select-active-regions): Likewise.
9068 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9070 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9071 (vc-coding-system-for-diff): Use it to decide whether to inherit
9072 from the file the EOL format for reading the diffs of that file.
9075 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9077 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9078 unibyte, so compressed attachments are not compressed again.
9080 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9082 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9083 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9084 (tramp-find-shell): Simplify setting connection property.
9085 (tramp-get-ls-command): Make test for "--color=never" stronger.
9087 2010-07-15 Simon South <ssouth@member.fsf.org>
9089 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9090 blocks within record declarations (i.e. variant parts) correctly.
9092 2010-07-15 Simon South <ssouth@member.fsf.org>
9094 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9095 over literal tokens when parsing so newlines aren't "absorbed" by
9096 single-line comments. Corrects the indentation of case blocks
9097 that have a comment on the first line.
9099 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9101 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9102 by Drew Adams (Bug#5504).
9104 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9106 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9107 now that Unicode is used (Bug#6594).
9109 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9111 * term/x-win.el (x-select-enable-clipboard): Default to t.
9112 (x-initialize-window-system): Don't overwrite Paste menu item.
9114 * simple.el (select-active-regions): Default to t.
9115 (push-mark-command): Don't overwrite primary with empty string.
9117 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9118 (mouse-drag-copy-region): Default to nil.
9120 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9121 Cut/Copy/Paste menu bar items.
9123 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9125 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9126 Patch applied by Karl Fogel.
9128 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9129 and `bookmark-current-buffer' if they have been already set in
9130 another buffer (e.g gnus-art).
9132 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9133 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9135 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9137 * bookmark.el (bookmark-make-record-default): Allow unneeded
9138 information to be omitted from the record.
9140 Adjust declarations and calls:
9142 * info.el (bookmark-make-record-default): Adjust declaration.
9143 (Info-bookmark-make-record): Adjust call.
9145 * woman.el (bookmark-make-record-default): Adjust declaration.
9146 (woman-bookmark-make-record): Adjust call.
9148 * man.el (bookmark-make-record-default): Adjust declaration.
9149 (Man-bookmark-make-record): Adjust call.
9151 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9153 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9155 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9157 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9158 This is also from Thierry Volpiatto's patch in bug #6444. However,
9159 because it was extraneous to the functional change in that patch,
9160 and causes a re-indendation, I am committing it separately.
9162 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9164 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9165 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9166 Patch applied by Karl Fogel (Bug#6444).
9168 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9170 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9172 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9174 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9175 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9176 (ns-alternatives-map): Change S-tab binding to backtab
9179 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9182 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9184 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9187 * language/tv-util.el (tai-viet-re): Remove format.
9189 2010-07-12 Kenichi Handa <handa@m17n.org>
9191 * language/hebrew.el: Remove no-byte-compile declaration.
9192 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9193 composition-function-table for 3-character looking back.
9194 (hebrew-font-get-precomposed): New function.
9195 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9197 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9199 * mouse.el (mouse-drag-track): Handle select-active-regions
9202 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9204 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9205 empty argument to gvfs-copy.
9207 2010-07-10 Glenn Morris <rgm@gnu.org>
9209 * calendar/calendar.el (calendar-week-end-day): New function.
9210 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9211 Respect calendar-week-start-day. (Bug#6606)
9212 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9213 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9214 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9215 respect calendar-week-start-day.
9217 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9219 * simple.el (use-region-p): Doc fix (Bug#6607).
9221 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9224 Add regexps for cucumber and ruby.
9226 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9228 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9229 (epa-file-insert-file-contents): Hack to prevent
9230 find-file from opening empty buffer when decryption failed
9233 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9235 * textmodes/ispell.el (ispell-alternate-dictionary):
9236 Use file-readable-p.
9237 Return nil if no word-list is found at default locations.
9238 (ispell-complete-word-dict): Default to nil.
9239 (ispell-command-loop): Use 'word-list' when using lookup-words.
9240 (lookup-words): Use ispell-complete-word-dict or
9241 ispell-alternate-dictionary. Check for word-list availability
9242 and handle errors if needed with better messages (Bug#6539).
9243 (ispell-complete-word): Use ispell-complete-word-dict or
9244 ispell-alternate-dictionary.
9246 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9248 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9249 builtins (BufferError, BytesWarning, WindowsError; callables
9250 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9252 2010-07-07 Glenn Morris <rgm@gnu.org>
9254 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9255 (zone-shift-left): Ignore intangibility, and any errors from
9257 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9258 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9259 deleting, and copying text properties.
9260 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9261 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9262 to point-max is hard.
9263 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9264 (zone-fill-out-screen): Ignore intangibility.
9266 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9268 * menu-bar.el (menu-bar-mode):
9269 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9272 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9273 word/line selection (Bug#6565).
9275 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9277 * net/dbus.el (dbus-send-signal): Declare function.
9279 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9281 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9282 (dbus-register-property): New optional argument EMITS-SIGNAL.
9283 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9285 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9287 * mouse.el (mouse-drag-overlay): Variable deleted.
9288 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9289 (mouse--remap-link-click-p): New function.
9290 (mouse-drag-track): Handle dragging by using temporary Transient
9291 Mark mode, instead of a special overlay.
9292 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9295 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9298 2010-07-02 Juri Linkov <juri@jurta.org>
9300 * autoinsert.el (auto-insert-alist): Fix readability
9301 by using dotted pair notation for lambda.
9303 2010-07-02 Juri Linkov <juri@jurta.org>
9305 * faces.el (read-face-name): Rename arg `string-describing-default'
9306 to `default'. Doc fix. Display the default value in quotes
9307 in the prompt. With empty input, return the `default' arg,
9308 unless the default value is a string (in which case return nil).
9309 (describe-face): Replace the string `default' arg of `read-face-name'
9310 with the symbol `default'.
9312 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9314 * emulation/viper-cmd.el (viper-delete-backward-char)
9315 (viper-del-backward-char-in-insert)
9316 (viper-del-backward-char-in-replace, viper-change)
9317 (viper-backward-indent): Replace delete-backward-char with
9318 delete-char (Bug#6552).
9320 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9322 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9324 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9326 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9327 argument passed to frame-creation-function (Bug#5378).
9329 * faces.el (x-handle-named-frame-geometry)
9330 (x-handle-reverse-video, x-create-frame-with-faces)
9331 (face-set-after-frame-default, tty-create-frame-with-faces):
9332 Don't separately consult default-frame-alist. It is now passed as the
9335 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9337 * startup.el (command-line): Don't call tool-bar-setup in a
9340 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9342 * ruler-mode.el (ruler--save-header-line-format): New fun.
9343 (ruler-mode): Use it as a setter function, so as not to overwrite
9344 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9346 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9348 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9349 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9350 (vc-log-outgoing): Use it.
9351 (vc-diff-internal): Set diff-vc-backend.
9353 * vc/diff-mode.el (diff-vc-backend): New var.
9355 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9357 * dynamic-setting.el (font-setting-change-default-font):
9358 Remove call to message.
9360 2010-06-28 Kenichi Handa <handa@m17n.org>
9362 * international/quail.el (quail-insert-kbd-layout): Fix the
9363 showing of untranslated characters.
9365 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9367 * simple.el (delete-active-region): New option.
9368 (delete-backward-char): Implement in Lisp.
9369 (delete-forward-char): New command.
9371 * mouse.el (mouse-region-delete-keys): Delete.
9372 (mouse-show-mark): Simplify.
9374 * bindings.el (global-map): Bind delete and DEL, the former to
9375 delete-forward-char.
9377 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9379 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9380 (ruby-mode): Bind indent-line-function (Bug#5119).
9382 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9384 * startup.el (command-line): Recognize "0" X resource value.
9386 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9388 * startup.el (command-line): Use X resources to set the value of
9389 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9391 * menu-bar.el (menu-bar-mode):
9392 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9393 Set init-value to t.
9395 * frame.el (frame-notice-user-settings): Don't change
9396 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9397 vice versa (Bug#2249).
9399 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9401 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9403 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9405 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9406 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9408 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9409 default directories are expanded (Bug#6143).
9411 2010-06-24 Juri Linkov <juri@jurta.org>
9413 * minibuffer.el (completions-format): Change default from nil to
9414 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9416 2010-06-24 Juri Linkov <juri@jurta.org>
9418 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9419 buffer-locally to lambda that re-runs the vc diff command.
9422 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9424 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9425 echo area is in use (Bug#3412).
9427 2010-06-22 Glenn Morris <rgm@gnu.org>
9429 * textmodes/texinfmt.el (texinfo-format-region)
9430 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9431 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9432 (texinfo-format-option, texinfo-noindent):
9433 Use line-beginning-position and line-end-position.
9435 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9436 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9437 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9440 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9442 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9443 forward-line fallout.
9445 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9447 * mouse.el (mouse-appearance-menu): Add docstring.
9449 * help.el (describe-key): Print up-event using key-description.
9451 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9453 * net/zeroconf.el (zeroconf-resolve-service)
9454 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9455 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9457 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9459 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9461 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9463 Avoid displaying files with a nil state in vc-dir.
9464 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9465 cases that cause insertion.
9466 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9469 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9471 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9473 2010-06-29 Leo <sdl.web@gmail.com>
9475 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9477 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9479 * generic-x.el (bat-generic-mode): Fix regexp for command line
9480 switches (Bug#5719).
9482 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9484 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9485 of nconc to avoid pure storage error (Bug#6239).
9487 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9489 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9490 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9491 bindings of bookmark-automatically-show-annotations (Bug#6515).
9493 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9495 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9496 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9498 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9500 * comint.el (make-comint, make-comint-in-buffer): Mention return
9501 value in the docstrings. (Bug#6498)
9503 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9505 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9506 since it is not present when using some non-default switches.
9508 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9510 * simple.el (compose-mail): Fix doc string to refer to
9511 `compose-mail-user-agent-warnings', instead of to the
9512 nonexistent `compose-mail-check-user-agent'.
9514 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9516 Fix an indentation bug:
9518 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9519 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9522 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9523 (c-clear->-pair-props-if-match-before): now return t when they've
9524 cleared properties, nil otherwise.
9525 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9526 by taking account of the existing value.
9528 * progmodes/cc-defs.el
9529 (c-clear-char-property-with-value-function): Fix this to clear the
9530 property rather than overwriting it with nil.
9532 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9534 * emacs-lisp/package.el (package-print-package): Add link to
9535 package description via describe-package.
9536 (describe-package-1): List package requirements. Add button to
9537 perform installation.
9538 (package-menu-describe-package): New command.
9540 * help-mode.el (help-package): New button type.
9542 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9544 * emacs-lisp/package.el: Move package-list-packages binding to
9546 (describe-package, describe-package-1, package--dir): New funs.
9547 (package-activate-1): Use package--dir.
9549 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9551 * help-mode.el (help-package-def): New button type.
9553 * menu-bar.el: Move package-list-packages binding here from
9556 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9558 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9560 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9562 * emacs-lisp/edebug.el (edebug-read-list):
9563 Phase out old-style backquotes.
9565 2010-06-17 Juri Linkov <juri@jurta.org>
9567 * help-mode.el (help-mode): Set buffer-local variable
9568 revert-buffer-function to help-mode-revert-buffer.
9569 (help-mode-revert-buffer): New function.
9571 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9572 before popping to "*info*" (like in other Info functions).
9573 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9574 old-history-forward. Pop to old-buffer-name or "*info*" to
9575 recreate the killed buffer. Set Info-history-forward from
9576 old-history-forward.
9577 (Info-breadcrumbs-depth): Add :group and :version.
9579 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9581 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9583 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9585 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9586 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9588 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9590 * emacs-lisp/package.el (package-menu-mode-map):
9591 Move initialization into declaration.
9593 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9595 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9597 * emacs-lisp/package.el (package-archive-base): Point to
9599 (package-enable, package-load-list): New defcustoms.
9600 (package-user-dir, package-directory-list): Turn into defcustoms.
9601 Don't include package-user-dir in package-directory-list.
9602 (package--builtins-base): Don't include Emacs as a "package".
9603 (package-subdirectory-regexp): New var.
9604 (package-load-all-descriptors, package-compute-transaction)
9605 (package-download-transaction): Obey package-load-list.
9606 (package-activate-1): Rename from package-do-activate.
9607 (package-list-packages-internal): Check package-load-list.
9608 (package-load-descriptor, package-generate-autoloads)
9609 (package-unpack, package-unpack-single)
9610 (package--read-archive-file, package-delete):
9611 Use expand-file-name.
9613 * emacs-lisp/package-x.el: New file. Package uploading
9614 functionality split out from package.el.
9616 * startup.el (command-line): Load packages after reading init file.
9618 2010-06-17 Tom Tromey <tromey@redhat.com>
9620 * emacs-lisp/package.el: New file.
9622 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9624 Fix vc-annotate for renamed files when using Git.
9625 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9626 ls-files. Doe not pass the object as a file name to cat-file, it
9628 (vc-git-annotate-command): Pass the file name using -- to avoid
9629 ambiguity with the revision.
9630 (vc-git-previous-revision): Pass a relative file name.
9632 2010-06-22 Glenn Morris <rgm@gnu.org>
9634 * progmodes/js.el (js-mode-map): Use standard capitalization and
9635 ellipses for menu entries.
9637 * wid-edit.el (widget-complete): Doc fix.
9639 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9641 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9643 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9645 Fix annotating other revisions for renamed files in vc-annotate.
9646 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9647 VC backend. Use it when non-nil.
9648 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9651 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9652 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9653 Do not pass the file name to the 'previous-revision call when we
9654 don't want a file diff. (Bug#6489)
9656 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9658 Fix finding revisions for renamed files in vc-annotate.
9659 * vc/vc.el (vc-find-revision): Add an optional argument for
9660 the VC backend. Use it when non-nil.
9661 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9662 backend to vc-find-revision. (Bug#6487)
9664 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9666 Fix reading file names in Git annotate buffers.
9667 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9668 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9670 2010-06-20 Alan Mackenzie <acm@muc.de>
9672 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9673 in file local variables, set it first.
9675 2010-06-19 Glenn Morris <rgm@gnu.org>
9677 * descr-text.el (describe-char-unicode-data): Insert separating
9678 space when needed. (Bug#6422)
9680 * progmodes/idlwave.el (idlwave-action-and-binding):
9681 Fix typo in 2009-12-03 change. (Bug#6450)
9683 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9685 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9686 handling for `lambda' (misunderstanding).
9688 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9690 * calc/calc-poly.el (math-accum-factors): Make sure that
9691 constants aren't distributed after they are factored out.
9693 2010-06-16 Juri Linkov <juri@jurta.org>
9695 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9696 `list-colors-print'. (Bug#6332)
9698 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9700 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9703 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9705 * font-lock.el (font-lock-major-mode): Rename from
9706 font-lock-mode-major-mode to distinguish it from
9707 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9708 (font-lock-set-defaults):
9709 * font-core.el (font-lock-default-function): Adjust users.
9710 (font-lock-mode): Don't set it at all.
9712 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9714 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9716 2010-06-16 Glenn Morris <rgm@gnu.org>
9718 * calendar/appt.el (appt-time-msg-list): Doc fix.
9719 (appt-check): Let-bind appt-warn-time.
9720 (appt-add): Make the 3rd argument optional.
9721 Simplify argument names. Doc fix. Check for integer WARNTIME.
9722 Only add WARNTIME to the output list if non-nil.
9724 2010-06-16 Ivan Kanis <apple@kanis.eu>
9726 * calendar/appt.el (appt-check): Let the 3rd element of
9727 appt-time-msg-list specify the warning time.
9728 (appt-add): Add new argument with the warning time. (Bug#5176)
9730 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9732 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9733 older than version 1.6. (Bug#6361)
9735 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9737 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9738 used by cl-do-arglist. (Bug#6408)
9740 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9742 * textmodes/ispell.el (ispell-dictionary-base-alist):
9743 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9744 Suggested by Rolando Pereira (bug#6434).
9746 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9748 * facemenu.el (list-colors-sort): Doc fix.
9750 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9752 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9754 2010-06-14 Juri Linkov <juri@jurta.org>
9756 Add sort option `list-colors-sort'. (Bug#6332)
9757 * facemenu.el (color-rgb-to-hsv): New function.
9758 (list-colors-sort): New defcustom.
9759 (list-colors-sort-key): New function.
9760 (list-colors-display): Doc fix. Sort list according to the option
9762 (list-colors-print): Add HSV values to `help-echo' property of
9765 2010-06-14 Juri Linkov <juri@jurta.org>
9767 * compare-w.el: Move to the "vc" subdirectory.
9769 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9771 * image-mode.el (image-mode-map): Remap left-char and right-char.
9773 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9775 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9777 * term/common-win.el (x-colors): Add all the color names defined
9778 in rgb.txt (Bug#6332).
9780 * facemenu.el (list-colors-print): Don't print extra names if it
9781 will overflow the window width.
9783 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9786 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9788 * files.el (make-directory): Doc fix (bug#6396).
9790 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9792 * net/tramp.el (tramp-remote-process-environment): Protect version
9793 string by apostroph.
9794 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9796 (tramp-file-name-for-operation): Add `call-process-region'.
9797 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9799 * net/tramp-compat.el (top): Do not autoload
9800 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9801 only when `start-file-process' is not bound.
9802 (tramp-advice-file-expand-wildcards): Do not use
9803 `tramp-handle-file-remote-p'.
9804 (tramp-compat-make-temp-file): Handle the case, that
9805 `make-temp-file' has no third argument EXTENSION.
9807 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9809 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9811 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9813 2010-06-11 Juri Linkov <juri@jurta.org>
9815 * finder.el (finder-known-keywords): Add keyword "vc"
9816 for version control.
9818 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9819 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9820 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9821 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9823 2010-06-11 Juri Linkov <juri@jurta.org>
9825 Move version control related files to the "vc" subdirectory.
9826 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9827 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9828 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9829 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9830 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9831 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9832 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9833 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9834 Move files to the "vc" subdirectory.
9836 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9838 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9841 2010-06-11 Stephen Eglen <stephen@gnu.org>
9843 * shell.el: Bind `shell-resync-dirs' to M-RET.
9845 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9847 * notifications.el: Move file from lisp/net, because it is
9848 supposed to talk locally to the user.
9850 2010-06-10 Julien Danjou <julien@danjou.info>
9852 * net/notifications.el (notifications-on-action-signal)
9853 (notifications-on-closed-signal): Pass notification id as first
9854 argument to the callback functions. Add docstrings.
9855 (notifications-notify): Fix docstring.
9857 2010-06-10 Glenn Morris <rgm@gnu.org>
9859 * emacs-lisp/authors.el (authors-ignored-files)
9860 (authors-valid-file-names): Add some files.
9862 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9864 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9865 merge conflict, giving preference to the emacs-23 version of the code.
9867 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9869 * emacs-lisp/advice.el (ad-compile-function):
9870 Define warning-suppress-types before we let-bind it (bug#6275).
9872 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9873 declare it, make it buffer-local and permanent-local (bug#6324).
9874 (vc-resynch-window): Adjust name.
9875 * vc-hooks.el (vc-find-file-hook): Adjust name.
9877 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9879 * net/notifications.el (notifications-notify): Fix docstring.
9881 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9883 Update to Unicode 6.0.0 beta.
9884 * international/charprop.el: Update copyright.
9885 * international/mule-cmds.el (ucs-names): Update character ranges.
9886 * international/uni-bidi.el:
9887 * international/uni-category.el:
9888 * international/uni-combining.el:
9889 * international/uni-comment.el:
9890 * international/uni-decimal.el:
9891 * international/uni-decomposition.el:
9892 * international/uni-digit.el:
9893 * international/uni-lowercase.el:
9894 * international/uni-mirrored.el:
9895 * international/uni-name.el:
9896 * international/uni-numeric.el:
9897 * international/uni-old-name.el:
9898 * international/uni-titlecase.el:
9899 * international/uni-uppercase.el: Regenerate.
9901 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9903 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9904 (smie-precs-precedence-table): Fix typo in docstring.
9906 * vc-mtn.el (log-edit-extract-headers): Declare function.
9908 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9910 * net/notifications.el (dbus-register-signal): Declare function.
9911 (notifications-notify): Fix typos and reflow docstring.
9913 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9915 Improve VC create/retrieve tag/branch.
9916 * vc.el (vc-create-tag): Do not read the directory name for VCs
9917 with repository revision granularity. Adjust the tag/branch
9918 prompt. Reset VC properties.
9919 (vc-retrieve-tag): Do not read the directory name for VCs
9920 with repository revision granularity. Reset VC properties.
9922 2010-06-09 Julien Danjou <julien@danjou.info>
9924 * net/notifications.el: New file.
9926 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9928 Add optional support for resetting VC properties.
9929 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9930 call vc-file-clearprops when true.
9931 (vc-resynch-buffer): Add new optional argument, pass it down.
9932 (vc-resynch-buffers-in-directory): Likewise.
9934 Improve support for special markup in the VC commit message.
9935 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9936 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9937 * vc-git.el (vc-git-checkin):
9938 * vc-bzr.el (vc-bzr-checkin): Likewise.
9940 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9943 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9945 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9947 * iimage.el: Remove images as soon as the underlying text is modified.
9948 (iimage-modification-hook): New function.
9949 (iimage-mode-buffer): Use it.
9951 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9953 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9954 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9955 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9956 (smie-indent-keyword): Add handling of open-paren keywords.
9957 (smie-indent-comment-continue): Don't assume comment-continue.
9959 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9961 * window.el (pop-to-buffer): Remove the conditional that
9962 compares new-window and old-window, so it will reselect
9963 the selected window unconditionally.
9964 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9966 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * emacs-lisp/smie.el (smie-indent-offset-after)
9969 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9970 (smie-indent-after-keyword): Use them.
9971 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9972 (smie-indent-keyword): Tweak the black magic.
9973 (smie-indent-comment-continue): Strip comment-continue before use.
9974 (smie-indent-functions): Indent comments before keywords.
9976 2010-06-06 Juri Linkov <juri@jurta.org>
9978 * isearch.el (isearch-lazy-highlight-search): Fix looping
9979 by checking for empty match. This syncs this loop with the
9980 similar loop in `isearch-search'. (Bug#6362)
9982 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9984 * net/dbus.el (dbus-register-method): Declare function.
9985 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9986 (dbus-introspect): Doc fix.
9987 (dbus-event-bus-name, dbus-introspect-get-interface)
9988 (dbus-introspect-get-argument): Reflow docstrings.
9990 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9992 vc-log-incoming/vc-log-outgoing fixes for Git.
9993 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9994 incoming/outgoing logs.
9995 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9996 instead of vc-git-compute-remote.
9997 (vc-git-compute-remote): Remove.
9999 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10001 * term/common-win.el (x-colors): Add "dark green" and "dark
10002 turquoise" (Bug#6332).
10004 2010-06-04 Juri Linkov <juri@jurta.org>
10006 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10007 Instead of setting `replace' to t and replacing the same string
10008 with itself, don't do certain actions when
10009 kill-do-not-save-duplicates is non-nil and string is equal to car
10010 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10011 interprogram-paste strings to kill-ring, and don't push the input
10012 argument `string' to kill-ring.
10013 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10015 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10017 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10019 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10021 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10022 (tramp-gvfs-handler-mounted-unmounted)
10023 (tramp-gvfs-connection-mounted-p): Handle default-location.
10025 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10026 move files to trash.
10028 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10030 * international/mule-cmds.el (nonascii-insert-offset)
10031 (nonascii-translation-table): Add obsolescence information.
10033 * international/mule.el (make-translation-table-from-vector): Doc fix.
10035 2010-06-03 Glenn Morris <rgm@gnu.org>
10037 * desktop.el (desktop-clear-preserve-buffers):
10038 Add "*Warnings*" buffer. (Bug#6336)
10040 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10042 vc-log-incoming/vc-log-outgoing improvements for Git.
10043 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10045 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10047 Add bindings for vc-log-incoming and vc-log-outgoing.
10048 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10049 and vc-log-outgoing.
10050 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10051 and vc-log-outgoing.
10053 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10055 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10056 (rcirc-handler-366): Always sort nicknames.
10058 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10060 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10062 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10064 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10066 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10068 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10069 (rcirc-sort-nicknames-join): Avoid setq.
10071 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10073 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10074 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10075 (rcirc-handler-366): Use them.
10077 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10079 Split smie-indent-calculate into more manageable chunks.
10080 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10081 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10082 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10083 (smie-indent-exps): Extract from smie-indent-calculate.
10084 (smie-indent-functions): New var.
10085 (smie-indent-functions): Use them.
10087 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10089 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10090 (smie-indent-calculate): Simplify and cleanup.
10092 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10094 * net/tramp-gvfs.el (top): Require url-util.
10095 (tramp-gvfs-mount-point): Remove.
10096 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10098 (with-tramp-dbus-call-method): Format trace message.
10099 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10100 Implement backup call, when operation on local files fails.
10101 Use progress reporter. Flush properties of changed files.
10102 (tramp-gvfs-handle-make-directory): Make more traces.
10103 (tramp-gvfs-url-file-name): Hexify file name in url.
10104 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10105 into account for the resulting file name.
10106 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10107 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10108 (tramp-gvfs-handler-mounted-unmounted)
10109 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10110 attribute "default_location". Set "prefix" property.
10111 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10112 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10113 exists. Raise an error, if not (due to a corresponding answer
10114 "no" in interactive questions, for example).
10116 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10118 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10120 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10122 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10123 right-*. (Bug#6265)
10125 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10127 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10128 * vc-git.el (vc-git-compute-remote): New function.
10129 (vc-git-log-outgoing): Use it instead of hard coding a value.
10130 (vc-git-log-incoming): New function.
10132 Improve state updating for VC tag commands.
10133 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10134 to update the state of all buffers in the directory.
10136 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10138 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10141 `file-directory-p' to the filename part rather than to the whole text.
10143 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10145 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10147 2010-05-31 Drew Adams <drew.adams@oracle.com>
10149 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10151 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10153 * subr.el (momentary-string-display): Just use read-event to read
10154 the exit event (Bug#6238).
10156 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10158 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10160 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10162 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10163 Suggested by Eli Zaretskii <eliz@gnu.org>.
10165 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10167 * minibuffer.el (completion-file-name-table): Don't return a boundary
10168 past the end of `string' (bug#6299).
10169 (completion--file-name-table): Delegate to completion-file-name-table
10170 for the `boundaries' case.
10172 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10174 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10177 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10178 `path-separator', but maintain compatibility with Emacs 20.2.
10180 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10182 * server.el (server-process-filter): Receive parent-id argument
10184 (server-create-window-system-frame): New arg. Pass parent-id as
10187 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10189 Bidi-sensitive word movement with arrow keys.
10190 * subr.el (right-arrow-command, left-arrow-command): Move to
10193 * bindings.el (right-char, left-char): Move from subr.el and
10194 rename from right-arrow-command and left-arrow-command.
10195 (right-word, left-word): New functions.
10196 (global-map) <right>: Bind to right-char.
10197 (global-map) <left>: Bind to left-char.
10198 (global-map) <C-right>: Bind to right-word.
10199 (global-map) <C-left>: Bind to left-word.
10201 * ls-lisp.el (ls-lisp-classify-file): New function.
10202 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10203 (ls-lisp-classify): Call ls-lisp-classify-file.
10204 (insert-directory): Remove blanks from switches.
10206 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10208 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10209 (ansi-color-drop-regexp): New constant.
10210 (ansi-color-apply, ansi-color-filter-region)
10211 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10212 (ansi-color-apply): Build string list before calling concat.
10214 2010-05-28 Juri Linkov <juri@jurta.org>
10216 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10217 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10220 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10222 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10223 to ignored backtrace functions.
10224 (with-progress-reporter): Expand docstring.
10225 (tramp-handle-delete-file): Implement TRASH argument.
10226 (tramp-get-remote-trash): New defun.
10228 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10230 * net/tramp-compat.el (tramp-compat-delete-file):
10231 Use `symbol-value' for backward compatibility.
10233 * net/tramp.el (tramp-handle-make-symbolic-link)
10234 (tramp-handle-load)
10235 (tramp-do-copy-or-rename-file-via-buffer)
10236 (tramp-do-copy-or-rename-file-directly)
10237 (tramp-do-copy-or-rename-file-out-of-band)
10238 (tramp-handle-process-file, tramp-handle-call-process-region)
10239 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10240 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10241 (tramp-delete-temp-file-function): Use `delete-file' instead
10242 of `tramp-compat-delete-file'.
10244 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10245 (tramp-fish-handle-make-symbolic-link)
10246 (tramp-fish-handle-process-file): Use `delete-file' instead
10247 of `tramp-compat-delete-file'.
10249 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10250 Use `delete-file' instead of `tramp-compat-delete-file'.
10252 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10253 `delete-file' instead of `tramp-compat-delete-file'.
10255 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10256 Use `delete-file' instead of `tramp-compat-delete-file'.
10258 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10259 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10260 (tramp-smb-handle-write-region): Use `delete-file' instead of
10261 `tramp-compat-delete-file'.
10262 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10264 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10266 * dired.el (dired-delete-file): New arg TRASH.
10267 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10268 (dired-do-flagged-delete, dired-do-delete): Use trash.
10270 * speedbar.el (speedbar-item-delete): Allow trashing.
10272 * files.el (delete-directory): New arg TRASH.
10274 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10275 (ange-ftp-rename-remote-to-remote)
10276 (ange-ftp-rename-local-to-remote)
10277 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10278 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10280 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10283 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10284 handle new TRASH arg of `delete-file'.
10286 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10287 (tramp-handle-make-symbolic-link, tramp-handle-load)
10288 (tramp-do-copy-or-rename-file-via-buffer)
10289 (tramp-do-copy-or-rename-file-directly)
10290 (tramp-do-copy-or-rename-file-out-of-band)
10291 (tramp-handle-process-file, tramp-handle-call-process-region)
10292 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10293 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10294 (tramp-delete-temp-file-function): Use null TRASH arg in
10295 tramp-compat-delete-file call.
10297 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10298 (tramp-fish-handle-delete-file)
10299 (tramp-fish-handle-make-symbolic-link)
10300 (tramp-fish-handle-process-file): Use null TRASH arg in
10301 `tramp-compat-delete-file' call.
10303 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10304 arg in `tramp-compat-delete-file' call.
10306 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10307 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10308 `tramp-compat-delete-file' call.
10310 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10311 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10312 `tramp-compat-delete-file' call.
10314 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10315 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10316 (tramp-smb-handle-write-region): Use null TRASH arg in
10317 tramp-compat-delete-file call.
10318 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10319 (tramp-smb-handle-delete-file): Rename arg.
10321 * diff.el (diff-sentinel):
10322 * epg.el (epg--make-temp-file, epg-decrypt-string)
10323 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10324 * jka-compr.el (jka-compr-partial-uncompress)
10325 (jka-compr-call-process, jka-compr-write-region):
10326 * server.el (server-sentinel): Remove optional arg from
10327 delete-file, reverting 2010-05-03 change.
10329 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10331 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10332 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10334 2010-05-27 Kenichi Handa <handa@m17n.org>
10336 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10337 element of GSTRING is nil.
10339 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * emacs-lisp/smie.el (smie-forward-token-function)
10342 (smie-backward-token-function): New vars.
10343 (smie-backward-sexp, smie-forward-sexp)
10344 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10345 (smie-default-backward-token): Rename from smie-backward-token and
10347 (smie-default-forward-token): Rename from smie-forward-token and
10349 (smie-next-sexp): Handle nil results from next-token.
10350 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10352 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10354 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10355 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10357 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10359 * htmlfontify.el (hfy-face-resolve-face): New function.
10360 (hfy-face-to-style): Use it (Bug#6279).
10362 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10364 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10365 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10367 2010-05-26 Glenn Morris <rgm@gnu.org>
10369 * emulation/edt.el (edt-load-keys): Use locate-library.
10371 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10373 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10374 (log-edit-changelog-entries): Doc fix.
10375 (log-edit-changelog-insert-entries): Args changed.
10376 Rename relative filenames in ChangeLog entries. Delete tabs.
10377 (log-edit-insert-changelog-entries): Reorganize return value of
10378 `log-edit-changelog-entries' to pass filenames to
10379 log-edit-changelog-insert-entries.
10381 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10383 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10384 `image-dired-dired-insert-marked-thumbs' to
10385 `image-dired-dired-toggle-marked-thumbs'.
10387 * image-dired.el: Require cl when compiling.
10388 (image-dired-dired-toggle-marked-thumbs): Rename from
10389 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10390 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10391 to 'no-dir. Skip files whose names don't match
10392 `image-file-name-regexp'. When file has a thumbnail overlay,
10393 delete it. (Bug#5270)
10395 2010-05-25 Juri Linkov <juri@jurta.org>
10397 * image-mode.el (image-mode): Add image-after-revert-hook to
10399 (image-after-revert-hook): New function. (Bug#5669)
10401 2010-05-25 Juri Linkov <juri@jurta.org>
10403 * image.el (image-animated-p): When delay between animated images
10404 is 0, set it to 10 (0.1 sec). (Bug#6258)
10406 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10408 * net/tramp.el (tramp-handle-insert-directory): Don't use
10409 `forward-word', its default syntax could be changed.
10411 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10413 * net/tramp.el (tramp-progress-reporter-update): New defun.
10414 (with-progress-reporter): Use it.
10415 (tramp-process-actions):
10416 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10417 Preserve current message, in order to let progress reporter continue
10418 afterwards. (Bug#6257)
10420 2010-05-25 Glenn Morris <rgm@gnu.org>
10422 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10425 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10427 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10428 (rcirc-default-full-name): Change to "unknown".
10429 (rcirc-user-name-history): Add variable.
10431 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10432 Jonathan Rockway <jon@jrock.us>
10434 * net/rcirc.el (rcirc-server-alist): Add :pass.
10435 (rcirc): When prompting for connection parameters, also prompt for
10436 username and password.
10437 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10438 value to server when connecting.
10440 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10443 (smie-merge-prec2s): Pass the tables as separate args.
10444 (smie-bnf-precedence-table): Adjust call accordingly.
10445 (smie-prec2-levels): Set levels at the end.
10447 Replace Lisp calls to delete-backward-char by delete-char.
10448 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10449 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10450 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10451 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10452 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10453 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10454 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10455 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10456 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10457 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10458 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10459 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10460 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10461 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10462 delete-backward-char by calls to delete-char.
10464 2010-05-25 Kenichi Handa <handa@m17n.org>
10466 * language/hebrew.el (hebrew-shape-gstring): New function.
10467 Register it in composition-function-table for all Hebrew combining
10470 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * epa.el (epa--select-keys): Don't explicitly delete the window since
10473 that can fail (e.g. sole window in frame). Use dedication instead.
10475 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10477 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10479 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10481 * image.el (image-refresh): Define as an alias for image-flush.
10483 * image-mode.el (image-toggle-display-image): Caller changed.
10485 2010-05-21 Juri Linkov <juri@jurta.org>
10487 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10488 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10489 whitespace, call wildcard-to-regexp on substrings and concat them
10490 with "\\|". (Bug#6114)
10492 2010-05-21 Alan Mackenzie <acm@muc.de>
10494 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10495 Replace parameter `here' with `here-' and `here-plus', which sandwich
10496 any pertinent CPP construct.
10497 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10498 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10499 CPP construct from taking part in the scanning.
10501 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10503 * net/tramp.el (tramp-do-copy-or-rename-file)
10504 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10505 Tune `with-progress-reporter' messages.
10506 (tramp-handle-vc-registered):
10507 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10508 (tramp-fish-handle-insert-file-contents)
10509 (tramp-fish-maybe-open-connection):
10510 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10511 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10512 (tramp-imap-handle-insert-file-contents)
10513 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10515 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10517 * add-log.el (change-log-font-lock-keywords):
10518 Highlight all authors in multi-author entries.
10520 * smerge-mode.el (smerge-refine-ignore-whitespace)
10521 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10522 Fix typos in docstrings.
10523 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10525 2010-05-21 Glenn Morris <rgm@gnu.org>
10527 * progmodes/fortran.el (fortran-mode):
10528 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10530 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10531 having a relative path in src/Makefile.in.
10533 2010-05-20 Kevin Ryde <user42@zip.com.au>
10535 * help-mode.el (help-make-xrefs): For Info node links turn
10536 newlines into spaces. Link node names with newlines are matched
10537 by help-xref-info-regexp and buttonized, this change ensures they
10538 can be followed successfully with RET. (Bug#6206)
10540 2010-05-20 Juri Linkov <juri@jurta.org>
10542 * locate.el (locate): Use pop-to-buffer instead of
10543 switch-to-buffer-other-window. (Bug#6204)
10545 2010-05-20 Juri Linkov <juri@jurta.org>
10547 * replace.el (replace-highlight): Fix lazy-highlighting
10548 for `M-s w str M-% str RET'.
10550 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10552 * isearch.el (isearch-yank-word-or-char): Pull next subword
10553 when `subword-mode' is activated. (Bug#6220)
10555 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10557 * isearch.el (isearch-update-post-hook): New hook.
10558 (isearch-update): Use the new hook. (Bug#6225)
10560 2010-05-20 Juri Linkov <juri@jurta.org>
10562 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10563 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10566 2010-05-20 Juri Linkov <juri@jurta.org>
10568 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10571 2010-05-20 Juri Linkov <juri@jurta.org>
10573 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10574 FILE-NAME to read from the minibuffer when called interactively
10575 with prefix argument instead of using buffer-file-name.
10576 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10578 * dired.el: Update autoloads.
10580 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10582 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10583 nxml-finish-element, for consistency with SGML mode.
10585 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10586 octave-close-block.
10588 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10590 * composite.el: Require cl when compiling.
10591 (reference-point-alist, compose-gstring-for-graphic)
10592 (compose-gstring-for-terminal): Fix typos in docstrings.
10594 2010-05-19 Juri Linkov <juri@jurta.org>
10596 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10597 set-window-parameter.
10599 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10601 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10603 (tramp-maybe-open-connection): Use it.
10605 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10607 * simple.el (move-end-of-line): Make sure we are at line beginning
10608 before backing up to end of previous line.
10610 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10612 * password-cache.el (password-cache-remove): Fix docstring.
10614 * net/secrets.el: Autoload the widget functions.
10615 (secrets-search-items, secrets-create-item)
10616 (secrets-get-attributes, secrets-expand-item): Attributes will be
10617 stored on the password database without leading ":", as all other
10618 clients do as well.
10619 (secrets-mode): Fix docstring.
10620 (secrets-show-secrets): Provide it as autoloaded command only when
10621 D-Bus support is available. Check existence of Secret Service API.
10623 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * indent.el (indent-region): Deactivate region (bug#6200).
10627 2010-05-19 Glenn Morris <rgm@gnu.org>
10629 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10631 2010-05-19 Kenichi Handa <handa@m17n.org>
10633 * composite.el: Register compose-gstring-for-graphic in
10634 composition-function-table only for combining characters (Mn, Mc, Me).
10636 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10638 * calc/calc-trail.el (calc-trail-isearch-forward)
10639 (calc-trail-isearch-backward): Ensure that the new window
10640 point is set correctly.
10642 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10644 * subr.el (read-quoted-char): Resolve modifiers after key
10645 remapping (bug#6212).
10647 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10649 Add visualization code for secrets.
10650 * net/secrets.el (secrets-mode): New major mode.
10651 (secrets-show-secrets, secrets-show-collections)
10652 (secrets-expand-collection, secrets-expand-item)
10653 (secrets-tree-widget-after-toggle-function)
10654 (secrets-tree-widget-show-password): New defuns.
10656 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10659 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10660 handled in smie-next-sexp.
10661 (smie-indent-calculate): Provide a starting indentation (so the
10662 recursion is well-founded ;-).
10664 Fix handling of non-associative equal levels.
10665 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10666 when it's not needed.
10667 (smie-op-left, smie-op-right): New functions.
10668 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10669 Better handle equal levels to distinguish the associative case from
10670 the "multi-keyword construct" case.
10671 (smie-backward-sexp, smie-forward-sexp): Use it.
10673 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10675 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10677 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10678 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10680 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10682 Provide a simple generic indentation engine and use it for Prolog.
10683 * emacs-lisp/smie.el: New file.
10684 * progmodes/prolog.el (prolog-smie-op-levels)
10685 (prolog-smie-indent-rules): New var.
10686 (prolog-mode-variables): Use them to configure SMIE.
10687 (prolog-indent-line, prolog-indent-level): Remove.
10689 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10691 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10692 order before computing the averages.
10694 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10696 * calc/calc-vec.el (calc-histogram):
10697 (calcFunc-histogram): Allow vectors as inputs.
10698 (math-vector-avg): New function.
10700 * calc/calc-ext.el (math-group-float): Have the number of digits
10701 being grouped depend on the radix (Bug#6189).
10703 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10705 * version.el (emacs-copyright, emacs-version): Don't define here,
10706 now that emacs.c defines it.
10708 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10710 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10711 "Describe Language Environment" menu item.
10713 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10715 Bidi-sensitive movement with arrow keys.
10716 * subr.el (right-arrow-command, left-arrow-command): New functions.
10718 * bindings.el (global-map): Bind them to right and left arrow keys.
10720 Don't override standard definition of convert-standard-filename.
10721 * files.el (convert-standard-filename):
10722 Call w32-convert-standard-filename and dos-convert-standard-filename on
10723 the corresponding systems.
10725 * w32-fns.el (w32-convert-standard-filename): Rename from
10726 convert-standard-filename. Doc fix.
10728 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10729 (convert-standard-filename): Don't defalias.
10730 (register-name-alist, make-register, register-value)
10731 (set-register-value, intdos): Obsolete aliases for the
10732 corresponding dos-* functions and variables.
10733 (dos-intdos): Add a doc string.
10735 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10737 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10738 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10739 (math-compose-tex-func):
10740 * calc/calccomp.el (math-compose-expr):
10741 * calc/calc-ext.el (math-format-flat-expr-fancy):
10742 * calc/calc-store.el (calc-read-var-name):
10743 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10745 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10746 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10747 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10748 (math-standard-units): Add units.
10750 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10752 * progmodes/asm-mode.el (asm-mode):
10753 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10755 * pcomplete.el (pcomplete-completions-at-point): New function,
10756 extracted from pcomplete-std-complete.
10757 (pcomplete-std-complete): Use it.
10759 2010-05-15 Glenn Morris <rgm@gnu.org>
10761 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10762 Remove references to CVS, RCS and Old directories.
10764 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10766 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10769 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10771 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10772 (sh-mode-syntax-table): Give it a default value instead.
10773 (sh-header-marker): Make buffer-local.
10774 (sh-mode): Move make-local-variable to the corresponding setq.
10775 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10776 Use complete-with-action.
10778 * simple.el (prog-mode): New (abstract) major mode.
10779 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10780 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10782 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10784 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10785 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10786 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10787 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10788 (sql-escape-newlines-filter, sql-input-sender)
10789 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10791 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10793 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10795 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10796 latex-open-block and C-c / to latex-close-block.
10798 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10799 and C-c C-e to sgml-close-tag.
10801 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10803 * net/tramp.el (with-progress-reporter): Create reporter object
10804 only when the message would be displayed. Handle nested calls.
10805 (tramp-handle-load, tramp-handle-file-local-copy)
10806 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10807 (tramp-maybe-send-script, tramp-find-shell):
10808 Use `with-progress-reporter'.
10809 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10812 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10813 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10814 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10815 Use `with-progress-reporter'.
10817 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10819 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10820 process everytime when spellchecking from the minibuffer (bug#6143).
10822 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10824 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10826 * dos-fns.el: Add "dos-" prefix for namespace control.
10827 (convert-standard-filename): Define as alias for
10828 dos-convert-standard-filename but only if applicable.
10830 2010-05-12 Alan Mackenzie <acm@muc.de>
10832 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10833 Push the mark at the start of these functions when appropriate.
10835 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10837 * minibuffer.el (completion-cycle-threshold): New custom var.
10838 (completion--do-completion): Use it.
10839 (minibuffer-complete): Use cycling if appropriate.
10841 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10843 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10844 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10846 2010-05-11 Juri Linkov <juri@jurta.org>
10848 * scroll-all.el (scroll-all-check-to-scroll):
10849 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10851 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * iimage.el (iimage-mode-map): Move initialization into declaration.
10854 (iimage-mode-buffer): Use with-silent-modifications.
10855 Simplify calling convention. Adjust callers.
10856 (iimage-mode): Don't run hook redundantly.
10858 * minibuffer.el (completion-pcm--pattern->regex):
10859 Fix last change (bug#6160).
10861 2010-05-10 Juri Linkov <juri@jurta.org>
10863 Remove nodes visited during Isearch from the Info history.
10864 * info.el (Info-isearch-initial-history)
10865 (Info-isearch-initial-history-list): New variables.
10866 (Info-isearch-start): Record initial values of
10867 Info-isearch-initial-history and Info-isearch-initial-history-list.
10868 Add Info-isearch-end to isearch-mode-end-hook.
10869 (Info-isearch-end): New function.
10871 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10873 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10874 format string, in order to work around a bug in pdksh.
10875 Reported by Gilles Pion <gpion@lfdj.com>.
10876 (tramp-handle-verify-visited-file-modtime): Do not send a command
10877 when the connection is not established.
10878 (tramp-handle-set-file-times): Simplify the check for utc.
10880 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10882 Fix use of `filter-buffer-substring' (rework previous change).
10883 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10884 (cua-repeat-replace-region):
10885 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10886 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10887 (cua-cut-region-to-global-mark): Use it.
10889 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10891 * progmodes/sql.el: Version 2.1.
10892 (sql-product-alist): Redesign structure of product info.
10893 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10894 (sql-port, sql-port-history): New variables.
10895 (sql-interactive-product): New variable.
10896 (sql-send-terminator): New variable.
10897 (sql-imenu-generic-expression): Add "Types" imenu entry.
10898 (sql-oracle-login-params, sql-sqlite-login-params)
10899 (sql-mysql-login-params, sql-solid-login-params)
10900 (sql-sybase-login-params, sql-informix-login-params)
10901 (sql-ingres-login-params, sql-ms-login-params)
10902 (sql-postgres-login-params, sql-interbase-login-params)
10903 (sql-db2-login-params, sql-linter-login-params)
10904 (sql-oracle-scan-on): New variables.
10905 (sql-mode-map): Add C-c C-i to start interactive mode.
10906 (sql-mode-menu): Update existing menu entries.
10907 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10908 (sql-mode-oracle-font-lock-keywords)
10909 (sql-mode-postgres-font-lock-keywords)
10910 (sql-mode-ms-font-lock-keywords)
10911 (sql-mode-sybase-font-lock-keywords)
10912 (sql-mode-informix-font-lock-keywords)
10913 (sql-mode-interbase-font-lock-keywords)
10914 (sql-mode-ingres-font-lock-keywords)
10915 (sql-mode-solid-font-lock-keywords)
10916 (sql-mode-mysql-font-lock-keywords)
10917 (sql-mode-sqlite-font-lock-keywords)
10918 (sql-mode-db2-font-lock-keywords)
10919 (sql-mode-linter-font-lock-keywords): Update initialization to
10920 reduce run-time complexity.
10921 (sql-add-product, sql-del-product): New functions.
10922 (sql-set-product-feature, sql-get-product-feature): New functions.
10923 (sql-product-font-lock): Update product API.
10924 (sql-add-product-keywords): New function.
10925 (sql-highlight-product): Update product API.
10926 (sql-help-list-products): New function.
10927 (sql-help): Dynamically lists free and non-free products.
10928 (sql-get-login): Correct bug in handling history and added
10930 (sql-copy-column): Copy without properties.
10931 (sqli-input-sender): Apply filters to SQLi input.
10932 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10933 Implement as a filter.
10934 (sql-escape-newlines-filter): Implement as a filter.
10935 (sql-remove-tabs-filter): New function.
10936 (sql-send-magic-terminator): New function.
10937 (sql-send-string): Implement magic terminator.
10938 (sql-send-region): Use `sql-send-string'.
10939 (sql-interactive-mode): Use product API.
10940 (sql-product-interactive): Use product API.
10941 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10942 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10943 (sql-db2, sql-linter): Use `sql-product-interactive'.
10944 (sql-connect): New function.
10945 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10946 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10947 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10948 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10951 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10953 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10954 New custom variable.
10955 (completion-pcm--string->pattern): Use it.
10956 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10957 Make it handle any symbol as `any'.
10958 (completion-pcm--merge-completions): Extract common suffix for the new
10959 `prefix' symbol as well.
10960 (completion-substring--all-completions): Use the new `prefix' symbol.
10962 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10964 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10966 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10967 (tramp-compat-funcall): New defmacro.
10968 (tramp-compat-line-beginning-position)
10969 (tramp-compat-line-end-position)
10970 (tramp-compat-temporary-file-directory)
10971 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10972 (tramp-compat-copy-file, tramp-compat-copy-directory)
10973 (tramp-compat-delete-file, tramp-compat-delete-directory)
10974 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10975 * net/tramp.el (top, with-progress-reporter)
10976 (tramp-rfn-eshadow-setup-minibuffer)
10977 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10978 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10979 (tramp-completion-mode-p, tramp-check-for-regexp)
10980 (tramp-open-connection-setup-interactive-shell)
10981 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10982 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10983 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10984 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10985 (tramp-reporter-dump-variable, tramp-load-report-modules)
10986 (tramp-append-tramp-buffers)
10987 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10989 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10991 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10993 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10994 buffer-modtime. Adjust users.
10996 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10998 * international/mule.el (auto-coding-alist): Only purecopy
10999 car of each item, not the whole list (Bug#6083).
11001 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11003 * progmodes/js.el (js-mode): Make paragraph variables local before
11004 calling c-setup-paragraph-variables (Bug#6071).
11006 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11008 * composite.el (compose-region, reference-point-alist): Fix typos
11009 in the doc strings.
11011 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11013 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11014 gnuplot's "set" command.
11016 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11018 * abbrev.el (last-abbrev-text): Doc fix.
11019 (abbrev-prefix-mark): Don't escape parenthesis.
11021 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11023 * composite.el (find-composition): Doc fix.
11025 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11027 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11028 (sql-oracle-program, sql-sqlite-options)
11029 (sql-query-placeholders-and-send): Doc fixes.
11030 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11031 (sql-imenu-generic-expression, sql-buffer)
11032 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11033 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11034 (sql-mode-sybase-font-lock-keywords)
11035 (sql-mode-informix-font-lock-keywords)
11036 (sql-mode-interbase-font-lock-keywords)
11037 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11038 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11039 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11040 (sql-product-feature, sql-highlight-product)
11041 (comint-line-beginning-position, sql-rename-buffer)
11042 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11043 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11044 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11045 Fix typos in docstrings.
11047 2010-05-08 Juri Linkov <juri@jurta.org>
11049 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11050 property instead of `invisible' and `after-string' (bug#5998).
11052 2010-05-08 Juri Linkov <juri@jurta.org>
11054 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11056 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11058 * filecache.el (file-cache-add-directory-list)
11059 (file-cache-add-directory-recursively): Fix typos in docstrings.
11061 2010-05-08 Kenichi Handa <handa@m17n.org>
11063 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11064 (gujarati-composable-pattern): Fix typo.
11066 2010-05-08 Kenichi Handa <handa@m17n.org>
11068 * language/indian.el (oriya-composable-pattern)
11069 (tamil-composable-pattern, malayalam-composable-pattern):
11070 Add two-part vowels to "v" (vowel sign).
11072 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11074 * files.el (copy-directory): Handle symlinks (Bug#5982).
11076 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11078 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11079 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11082 2010-05-08 Glenn Morris <rgm@gnu.org>
11084 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11086 * minibuffer.el (completion-at-point): Doc fix.
11088 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11090 * electric.el (Electric-command-loop): Minor tweak.
11092 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11093 better with dedicated windows.
11095 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11097 * Version 23.2 released.
11099 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11100 Stefan Monnier <monnier@iro.umontreal.ca>
11102 Highlight vendor specific properties.
11103 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11104 (css-proprietary-property): New face.
11105 (css-font-lock-keywords): Use them.
11107 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11109 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11111 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11113 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11114 * files.el (auto-mode-alist): Remove redundant entries.
11116 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11117 * simple.el (auto-save-mode): Move from files.el.
11118 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11120 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11122 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11124 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11126 * mail/binhex.el (binhex-decode-region-internal)
11127 * mail/uudecode.el (uudecode-decode-region-internal)
11128 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11129 (dns-read-type, dns-query)
11130 * pgg-parse.el (pgg-parse-armor)
11131 * pgg.el (pgg-verify-region)
11132 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11135 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11137 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11139 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11141 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11142 * emulation/cua-base.el (cua-repeat-replace-region):
11143 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11144 (cua-cut-region-to-global-mark):
11145 Remove text properties with `set-text-properties'.
11147 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11149 * net/tramp.el (top, with-progress-reporter):
11150 Use `symbol-function' inside `funcall'.
11152 * net/tramp-compat.el (tramp-compat-file-attributes)
11153 (tramp-compat-delete-file, tramp-compat-delete-directory):
11154 Handle only `wrong-number-of-arguments' error.
11156 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11157 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11160 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11162 * minibuffer.el (completion--sreverse, completion--common-suffix):
11164 (completion-pcm--merge-completions): Extract common suffix when safe.
11166 * emacs-lisp/easy-mmode.el (define-minor-mode):
11167 Make :variable more flexible.
11168 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11170 2010-05-05 Juri Linkov <juri@jurta.org>
11172 Add `slow' and `history' tags to the desktop data.
11174 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11175 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11176 (Info-finder-find-node): Require `finder.el' to be able
11177 to restore node from the desktop.
11178 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11179 data `Info-history' and `slow' tag in the assoc list.
11180 (Info-restore-desktop-buffer): Don't restore nodes with the
11181 `slow' tag. Restore `Info-history'.
11183 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11185 Add FORCE argument to `delete-file'.
11187 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11188 forcing to delete the temporary file.
11189 (ange-ftp-delete-file): Add FORCE arg.
11190 (ange-ftp-rename-remote-to-remote)
11191 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11192 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11193 Force file deletion.
11195 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11197 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11198 (tramp-handle-make-symbolic-link, tramp-handle-load)
11199 (tramp-do-copy-or-rename-file-via-buffer)
11200 (tramp-do-copy-or-rename-file-directly)
11201 (tramp-do-copy-or-rename-file-out-of-band)
11202 (tramp-handle-process-file, tramp-handle-call-process-region)
11203 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11204 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11205 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11207 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11208 (tramp-fish-handle-make-symbolic-link)
11209 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11211 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11212 Use `tramp-compat-delete-file'.
11214 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11215 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11217 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11218 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11220 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11221 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11222 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11223 Use `tramp-compat-delete-file'.
11225 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * subr.el (add-minor-mode): Use push.
11229 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11230 * emulation/edt.el (edt-select-mode): Simplify.
11232 Use define-minor-mode in more cases.
11233 * term/tvi970.el (tvi970-set-keypad-mode):
11234 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11235 (normal-erase-is-backspace-mode):
11236 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11237 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11238 (get-scroll-bar-mode): New function.
11239 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11241 Use define-minor-mode for less obvious cases.
11242 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11243 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11244 * international/iso-ascii.el (iso-ascii-mode):
11245 * frame.el (auto-raise-mode, auto-lower-mode):
11246 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11248 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11250 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11251 in order to see error messages for failed logins.
11253 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11255 * diff.el (diff-sentinel):
11257 * epg.el (epg--make-temp-file, epg-decrypt-string)
11258 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11260 * jka-compr.el (jka-compr-partial-uncompress)
11261 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11263 * server.el (server-sentinel): Use delete-file's new FORCE arg
11266 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11268 Use define-minor-mode where applicable.
11269 * view.el (view-mode):
11270 * type-break.el (type-break-query-mode)
11271 (type-break-mode-line-message-mode):
11272 * textmodes/reftex.el (reftex-mode):
11273 * term/vt100.el (vt100-wide-mode):
11274 * tar-mode.el (tar-subfile-mode):
11275 * savehist.el (savehist-mode):
11276 * ibuf-ext.el (ibuffer-auto-mode):
11277 * composite.el (auto-composition-mode):
11278 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11279 Use define-minor-mode.
11280 (vhdl-mode): Use static mode-line format.
11281 (vhdl-mode-line-update): Delete.
11282 (vhdl-create-mode-menu, vhdl-activate-customizations)
11283 (vhdl-hs-minor-mode): Don't bother calling it.
11285 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11287 * simple.el (with-wrapper-hook): Move.
11288 (buffer-substring-filters): Mark obsolete.
11289 (filter-buffer-substring-functions): New variable.
11290 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11292 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11293 Michael Albinus <michael.albinus@gmx.de>
11295 Implement compression for inline methods.
11297 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11298 (tramp-copy-size-limit): Allow also nil.
11299 (tramp-inline-compress-commands): New defconst.
11300 (tramp-find-inline-compress, tramp-get-inline-compress)
11301 (tramp-get-inline-coding): New defuns.
11302 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11303 replaced by `tramp-get-inline-coding'.
11304 (tramp-handle-file-local-copy, tramp-handle-write-region)
11305 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11307 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11309 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11310 Remove unused functions.
11312 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11313 Set find-tag-default-function as a variable rather than a property.
11315 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11316 * progmodes/etags.el (tags-completion-at-point-function):
11317 Remove left over interactive spec. Add autoloading stub.
11318 (complete-tag): Use tags-completion-at-point-function.
11320 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11322 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11324 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11326 * ido.el (ido-init-completion-maps): Remove C-v binding.
11327 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11329 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11331 * minibuffer.el (tags-completion-at-point-function): New function.
11332 (completion-at-point-functions): Use it.
11334 * progmodes/etags.el (complete-tag): Revert last change.
11336 2010-04-29 Alan Mackenzie <acm@muc.de>
11338 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11339 off-by-one error (in end of macro position).
11341 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11344 firefox is absent. Don't autoload.
11345 (browse-url-galeon-program): Don't autoload.
11347 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11349 * bindings.el (complete-symbol): Move into minibuffer.el.
11351 * minibuffer.el (complete-tag): Move from etags.el. If tags
11352 completion cannot be performed, return nil instead of signalling
11354 (completion-at-point): Make it an alias for complete-symbol.
11355 (complete-symbol): Move from bindings.el, and replace with the
11356 body of completion-at-point.
11358 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11360 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11362 * net/tramp.el (tramp-remote-selinux-p): New defun.
11363 (tramp-handle-file-selinux-context)
11364 (tramp-handle-set-file-selinux-context): Use it.
11366 2010-04-28 Sam Steingold <sds@gnu.org>
11368 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11369 `safe-local-variable' if the value is a string or a symbol with
11370 the property `bug-reference-url-format'.
11372 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11374 * progmodes/bug-reference.el (bug-reference-url-format):
11375 Revert 2010-04-27 change due to security risk.
11377 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11379 Make it possible to locally disable a globally enabled mode.
11380 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11381 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11382 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11383 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11384 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11385 that subsequent hooks get a chance to disable it.
11387 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11389 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11390 Avoid re-enabling a minor mode after the user turned the minor mode
11391 off if MODE-enable-in-buffers is run twice (typically once from
11392 fundamental-mode's after-change-major-mode-hook and a second time from
11393 run-mode-hook's own after-change-major-mode-hook).
11395 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11397 2010-04-27 Sam Steingold <sds@gnu.org>
11399 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11400 `safe-local-variable' if the value is a string or a function, as
11401 documented and implemented on 2010-04-02.
11403 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11405 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11406 when method is 'kill.
11408 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11410 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11411 condition in default directory check.
11412 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11413 Kill ispell process when killing its associated buffer.
11415 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11417 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11418 but we aren't using it.
11420 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11422 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11423 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11425 2010-04-24 Glenn Morris <rgm@gnu.org>
11427 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11428 Ignore VCS-ignore files, and deleted nextstep preferences files.
11429 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11430 (authors-ambiguous-files): New list.
11431 (authors-valid-file-names): Add some deleted files.
11432 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11433 (authors-disambiguate-file-name): New function. (Bug#5501)
11434 (authors-canonical-file-name): Doc fix.
11435 Don't warn about obsolete files.
11436 (authors-canonical-file-name, authors-scan-el):
11437 Use authors-disambiguate-file-name.
11439 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11440 Add autoload cookies.
11441 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11442 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11443 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11444 They have definitions / compiler macros in cl.el.
11445 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11446 Replace manual autoloads with generated ones.
11447 (htmlfontify-unload-rgb-file): Remove autoload.
11448 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11450 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11453 (byte-compile-setq-default): Optimize for the
11454 single-var case and don't call byte-compile-form in this case to avoid
11455 inf-loop with byte-compile-set-default.
11457 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11459 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11461 Implement SELINUX backends.
11463 * net/tramp.el (tramp-file-name-handler-alist):
11464 Add `file-selinux-context' and `set-file-selinux-context'.
11465 (tramp-handle-file-selinux-context)
11466 (tramp-handle-set-file-selinux-context): New defuns.
11467 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11468 Handle PRESERVE-SELINUX-CONTEXT.
11470 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11471 Add `file-selinux-context' and `set-file-selinux-context'.
11472 (tramp-gvfs-handle-file-selinux-context)
11473 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11474 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11476 * net/ange-ftp.el (ange-ftp-copy-file):
11477 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11478 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11479 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11480 Add PRESERVE-SELINUX-CONTEXT.
11482 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11484 Synchronize with Tramp repository.
11486 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11487 (tramp-action-process-alive, tramp-action-out-of-band)
11488 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11489 (tramp-exists-file-name-handler): Fix docstring.
11490 (with-progress-reporter): New defmacro.
11491 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11492 (tramp-maybe-open-connection): Use it.
11494 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11496 Detect ssh 'ControlMaster' argument automatically in some cases.
11498 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11499 (tramp-default-method): Use it.
11501 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11503 * net/tramp.el (tramp-handle-copy-file): Add new optional
11504 parameter `preserve-selinux-context'.
11505 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11507 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11509 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11510 Ensure, that non remote files are still checked. Oops.
11512 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11516 * icomplete.el (icomplete-completions): Use `non-essential'.
11518 * net/tramp.el (tramp-connectable-p): New defun.
11519 (tramp-handle-expand-file-name)
11520 (tramp-completion-handle-file-name-all-completions)
11521 (tramp-completion-handle-file-name-completion): Use it.
11523 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11525 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11527 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11529 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11531 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11533 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11536 * info.el (info-tool-bar-map): Add labels.
11538 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11540 * cus-edit.el (custom-commands): Add labels for tool bar.
11541 (custom-buffer-create-internal, Custom-mode): Adjust for
11542 labels in custom-commands.
11544 * dynamic-setting.el: Renamed from font-setting.el.
11546 2010-04-21 John Wiegley <jwiegley@gmail.com>
11548 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11549 toggles the use of virtual buffers.
11550 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11551 (ido-toggle-virtual-buffers): New function.
11553 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11555 Use `define-derived-mode'; fix window selection; doc fixes.
11556 * play/tetris.el (tetris, tetris-update-speed-function)
11557 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11558 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11559 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11560 (tetris-pause-game): Fix typos in docstrings.
11561 (tetris-mode-map, tetris-null-map):
11562 Move initialization into declaration.
11563 (tetris-mode): Define with `define-derived-mode';
11564 set show-trailing-whitespace to nil.
11565 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11567 2010-04-21 Karel Klíč <kklic@redhat.com>
11569 * files.el (backup-buffer): Handle SELinux context, and return it
11570 if a backup was made by renaming.
11571 (backup-buffer-copy): Set SELinux context to the target file.
11572 (basic-save-buffer): Set SELinux context of the newly written file.
11573 (basic-save-buffer-1): Now it also returns any SELinux context.
11574 (basic-save-buffer-2): Set SELinux context of the newly created file,
11576 * net/tramp.el (tramp-file-name-for-operation):
11577 Add file-selinux-context.
11579 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11581 Make the log-edit comments use RFC822 format throughout.
11583 * vc.el (vc-checkin, vc-modify-change-comment):
11584 Adjust to new vc-start/finish-logentry.
11585 (vc-find-conflicted-file): New command.
11586 (vc-transfer-file): Adjust to new vc-checkin.
11587 (vc-next-action): Improve scoping.
11589 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11590 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11592 * vc-git.el (vc-git-log-edit-mode): Remove.
11593 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11594 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11596 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11597 (vc-start-logentry): Remove argument `extra'.
11598 (vc-finish-logentry): Remove extra args.
11600 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11601 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11602 (vc-bzr-conflicted-files): New function.
11604 * log-edit.el (log-edit-extra-flags)
11605 (log-edit-before-checkin-process): Remove.
11606 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11607 (log-edit-headers-alist): New var.
11608 (log-edit-header-contents-regexp): New const.
11609 (log-edit-match-to-eoh): New function.
11610 (log-edit-font-lock-keywords): Use them.
11611 (log-edit): Insert a "Summary:" header as default.
11612 (log-edit-mode): Mark font-lock rules as case-insensitive.
11613 (log-edit-done): Cleanup headers.
11614 (log-view-process-buffer): Remove.
11615 (log-edit-extract-headers): New function to replace it.
11617 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11619 * subr.el (default-direction-reversed): Remove obsolescence info.
11621 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11623 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11626 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11627 I.e. include text after point in the completion region.
11628 Also, return nil when we're not after/in a symbol.
11630 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11631 default enable-multibyte-characters.
11633 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11635 * international/mule.el: Help the user choose a valid coding-system.
11636 (read-buffer-file-coding-system): New function.
11637 (set-buffer-file-coding-system): Use it. Prompt the user if the
11638 coding-system cannot encode all the chars.
11640 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11641 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11642 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11643 Don't use *vc-bzr-shelve*.
11645 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11647 Fix the version number for added files.
11648 * vc-hg.el (vc-hg-working-revision): Check if the file is
11649 registered after hg parent fails (Bug#5961).
11651 2010-04-19 Glenn Morris <rgm@gnu.org>
11653 * htmlfontify.el (htmlfontify-buffer)
11654 (htmlfontify-copy-and-link-dir): Autoload entry points.
11656 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11658 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11659 name relative to the project root (Bug#5960).
11661 2010-04-19 Glenn Morris <rgm@gnu.org>
11663 * vc-git.el (vc-git-print-log): Doc fix.
11665 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11667 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11669 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11671 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11672 default settings (Bug#5928).
11674 2010-04-19 Glenn Morris <rgm@gnu.org>
11676 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11678 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11680 2010-04-19 Kenichi Handa <handa@m17n.org>
11682 * language/indian.el (malayalam-composable-pattern): Fix previous
11683 change (add U+0D4D "SIGN VIRAMA").
11684 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11685 (tamil-composable-pattern): Fix typo in the regexp.
11686 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11687 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11688 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11690 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11692 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11693 paragraph-separate (Bug#5821).
11695 2010-04-19 Juri Linkov <juri@jurta.org>
11697 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11699 * info.el (Info-find-node-2): Comment out code that skips
11701 (Info-mouse-follow-link): New command.
11702 (Info-link-keymap): New keymap.
11703 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11704 Return a string with links instead of inserting breadcrumbs
11705 to the Info buffer.
11706 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11707 Instead of putting the `invisible' text property over the Info
11708 header, make an overlay over the Info header with the `invisible'
11709 property and `after-string' set to the string returned by
11710 `Info-breadcrumbs'.
11712 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11714 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11715 Reported by monkey@sandpframing.com.
11717 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11719 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11720 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11721 available in the "keyseq cache" any more.
11723 * custom.el (defcustom): Add edebug spec.
11725 2010-04-18 Juri Linkov <juri@jurta.org>
11727 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11729 * view.el (view-file, view-buffer): Move test for special mode-class
11730 from view-file to view-buffer.
11732 * tar-mode.el (tar-extract): Turn if's into one cond
11733 like in arc-mode.el.
11735 2010-04-18 Juri Linkov <juri@jurta.org>
11737 Add 7z archive format support (bug#5475).
11739 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11740 (archive-7z-extract): New defcustom.
11741 (archive-find-type): Add magic string for 7z.
11742 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11743 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11744 `buffer' arg of `call-process'.
11745 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11746 call the function `archive-7z-extract' with the variable
11747 `archive-7z-extract' let-bound to `archive-zip-extract'.
11748 (archive-7z-summarize, archive-7z-extract): New functions.
11750 * international/mule.el (auto-coding-alist):
11751 * files.el (auto-mode-alist): Add 7z file extension.
11753 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11755 * loadup.el: Setup hash-cons for pure data.
11757 Fix duplicate entries in cedet's loaddefs.el files.
11758 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11759 Should make most file-local generated-autoload-file unnecessary.
11760 (print-readably): Silence warnings.
11761 (autoload-find-destination): Take load-name as an arg to make sure
11762 it's the same as the one that will be in the file.
11763 (autoload-generate-file-autoloads): Adjust to above changes.
11764 Try to make the dataflow a bit simpler.
11766 * cvs-status.el (cvs-refontify): Remove unused.
11768 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11770 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11772 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11773 twos-complement mode.
11775 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11777 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11778 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11779 (calc-inverse): Add "Option" to message, as appropriate.
11780 (calc-hyperbolic): Add "Option" to message, as appropriate.
11781 (calc-option, calc-is-option): New functions.
11783 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11784 (calc-option-prefix-help): New function.
11786 * calc/calc-misc.el (calc-help): Add "Option" entry.
11788 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11789 (calc-option-flag): New variable.
11790 (calc-do): Set `calc-option-flag to nil.
11791 (calc-set-mode-line): Add "Opt " as appropriate.
11793 2010-04-16 Juri Linkov <juri@jurta.org>
11795 Move scrolling commands from simple.el to window.el
11796 because their primitives are implemented in window.c.
11798 * simple.el (scroll-error-top-bottom)
11799 (scroll-up-command, scroll-down-command, scroll-up-line)
11800 (scroll-down-line, scroll-other-window-down)
11801 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11802 * window.el (scroll-error-top-bottom)
11803 (scroll-up-command, scroll-down-command, scroll-up-line)
11804 (scroll-down-line, scroll-other-window-down)
11805 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11806 Move from simple.el to window.el because their primitives are
11807 implemented in window.c.
11809 2010-04-16 Juri Linkov <juri@jurta.org>
11811 * isearch.el (isearch-lookup-scroll-key): Check both
11812 `isearch-scroll' and `scroll-command' properties.
11813 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11815 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11817 * simple.el (scroll-up-command, scroll-down-command)
11818 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11820 2010-04-15 Juri Linkov <juri@jurta.org>
11822 * simple.el (scroll-up-command, scroll-down-command)
11823 (scroll-up-line, scroll-down-line): Put `scroll-command'
11824 property on the these symbols. Remove them from
11825 `scroll-preserve-screen-position-commands'.
11827 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11828 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11829 Remove it from `scroll-preserve-screen-position-commands'.
11831 * isearch.el (isearch-allow-scroll): Doc fix.
11833 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11835 * net/tramp.el (tramp-error-with-buffer): Don't show the
11836 connection buffer when we are in completion mode.
11837 (tramp-file-name-handler): Catch the error for some operations
11838 when we are in completion mode. This gives the user the chance to
11839 correct the file name in the minibuffer.
11841 2010-04-15 Glenn Morris <rgm@gnu.org>
11843 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11845 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11847 Simplify by using `define-derived-mode'.
11848 * info.el (Info-mode):
11849 * calendar/todo-mode.el (todo-mode):
11850 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11851 (gomoku-mode-map): Move initialization into declaration.
11853 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11856 * ido.el (ido-file-name-all-completions-1):
11857 * minibuffer.el (minibuffer-completion-help):
11858 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11860 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11862 * simple.el (non-essential): New var.
11864 Add a new field `location' to bookmarks for non-file bookmarks.
11865 * bookmark.el (bookmark-location): Use the new field, if present.
11866 (bookmark-insert-location): Undo last change, not needed any more.
11867 * man.el (Man-bookmark-make-record):
11868 * woman.el (woman-bookmark-make-record): Add `location' field.
11870 2010-04-14 Juri Linkov <juri@jurta.org>
11872 * simple.el (scroll-error-top-bottom): New defcustom.
11873 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11875 * emulation/pc-select.el (pc-select-override-scroll-error):
11876 Obsolete in favor of `scroll-error-top-bottom'.
11878 2010-04-14 Juri Linkov <juri@jurta.org>
11880 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11881 `scroll-up-command' and `M-v' to `scroll-down-command'.
11883 * emulation/cua-rect.el (cua--init-rectangles):
11884 * forms.el (forms--change-commands):
11885 * image-mode.el (image-mode-map):
11886 Remap scroll-down-command and scroll-up-command
11887 in addition to scroll-down and scroll-up.
11889 2010-04-14 Juri Linkov <juri@jurta.org>
11891 * mwheel.el (scroll-preserve-screen-position-commands):
11892 Add mwheel-scroll to this list of commands.
11894 * simple.el (scroll-preserve-screen-position-commands):
11895 Add scroll-up-command, scroll-down-command, scroll-up-line,
11896 scroll-down-line to this list of commands.
11898 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11900 * obsolete/complete.el: Move from lisp/complete.el.
11902 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11904 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11905 to the minor mode function now turns the mode ON unconditionally.
11907 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11909 * vc-dir.el (vc-dir-kill-line): New command.
11910 (vc-dir-mode-map): Bind it to C-k.
11912 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11914 * woman.el: Add bookmark declarations to silence the compiler.
11915 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11916 step to compatibility between man and woman bookmarks.
11917 Adjust for Man-default-bookmark-title renaming.
11918 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11920 * man.el: Add bookmark declarations to silence the compiler.
11921 (Man-name-local-regexp): Make it match NAME as well.
11922 (Man-getpage-in-background): Return the buffer.
11923 (Man-notify-when-ready): Use `case'.
11924 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11925 Don't hardcode "NAME". Simplify.
11926 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11927 Rename from Man-bookmark-make-record.
11928 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11929 we have the actual man-args. Use Man-getpage-in-background rather
11930 than `man' since the arg is already processed. Let bookmark.el do the
11931 window handling. Only wait for the relevant process.
11932 Don't forget to autoload.
11934 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11936 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11938 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11940 (woman-mode): Setup bookmark support.
11942 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11943 (man-bookmark-jump): New functions.
11944 (Man-mode): Setup bookmark support.
11946 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11948 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11949 recognize ssh-keygen prompt (Bug#2817).
11951 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11953 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11955 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11957 Synchronize with Tramp repository.
11959 * net/tramp.el (tramp-completion-function-alist)
11960 (tramp-file-name-regexp, tramp-chunksize)
11961 (tramp-local-coding-commands, tramp-remote-coding-commands):
11963 (tramp-remote-process-environment): Use `format' instead of `concat'.
11964 (tramp-handle-directory-files-and-attributes)
11965 (tramp-get-remote-path): Use `copy-tree'.
11966 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11967 compatibility: Use `completion-ignore-case' if
11968 `read-file-name-completion-ignore-case' does not exist.
11969 (tramp-do-copy-or-rename-file-directly): Do not use
11970 `tramp-handle-file-remote-p'.
11971 (tramp-do-copy-or-rename-file-out-of-band):
11972 Use `tramp-compat-delete-directory'.
11973 (tramp-do-copy-or-rename-file-out-of-band)
11974 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11975 Use `format-spec-make'.
11976 (tramp-find-foreign-file-name-handler)
11977 (tramp-advice-make-auto-save-file-name)
11978 (tramp-set-auto-save-file-modes): Remove superfluous check for
11979 `stringp'. This is done inside `tramp-tramp-file-p'.
11980 (tramp-debug-outline-regexp): New defconst.
11981 (tramp-get-debug-buffer): Use it.
11982 (tramp-check-for-regexp): Use (forward-line 1).
11983 (tramp-set-auto-save-file-modes): Adapt version check.
11985 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11986 Wrap call of `featurep' for 2nd argument.
11987 (tramp-compat-make-temp-file): Simplify fallback implementation.
11988 (tramp-compat-copy-tree): Remove function.
11989 (tramp-compat-delete-directory): Provide implementation for older
11992 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11993 Do not use `tramp-fish-handle-file-attributes.
11995 * net/trampver.el: Update release number.
11997 2010-04-10 Glenn Morris <rgm@gnu.org>
11999 * progmodes/compile.el (compilation-save-buffers-predicate):
12000 Add missing :version tag.
12002 2010-04-09 Sam Steingold <sds@gnu.org>
12004 * progmodes/compile.el (compilation-save-buffers-predicate):
12005 Remove the "autoload" cookie.
12007 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12008 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12009 and `bug-reference-prog-mode' can be used in hooks directly.
12011 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12013 Add --author support to git commit.
12014 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12015 (vc-git-log-edit-mode): New minor mode.
12016 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12019 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12021 * vc-hooks.el, vc-git.el: Improve documentation comments.
12023 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12025 Fix some of the problems in defsubst* (bug#5728).
12026 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12027 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12029 2010-04-07 Sam Steingold <sds@gnu.org>
12031 * progmodes/compile.el (compilation-save-buffers-predicate):
12032 New custom variable.
12033 (compile, recompile): Pass it to `save-some-buffers'.
12035 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12037 * wid-edit.el (widget-choose): Move cursor to the second line of
12038 the buffer (Bug#5695).
12040 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12042 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12043 * vc.el (vc-print-log-setup-buttons): New function split out from
12044 vc-print-log-internal.
12045 (vc-log-internal-common): New function, a parametrized version of
12046 vc-print-log-internal.
12047 (vc-print-log-internal): Just call vc-log-internal-common with the
12049 (vc-incoming-outgoing-internal):
12050 (vc-log-incoming, vc-log-outgoing): New functions.
12051 (vc-log-view-type): New permanent local variable.
12053 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12055 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12056 of the dynamic bound vc-short-log.
12057 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12059 * vc-git.el (vc-git-log-outgoing): New function.
12060 (vc-git-log-view-mode): Use vc-log-view-type instead
12061 of the dynamic bound vc-short-log.
12063 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12064 of the dynamic bound vc-short-log. Highlight the tag.
12065 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12066 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12067 (vc-hg-incoming-mode): Remove.
12068 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12070 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12072 Fix default-directory for vc-root-diff.
12073 * vc.el (vc-root-diff): Bind default-directory to the root
12074 directory for the diff command.
12076 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12078 * progmodes/verilog-mode.el (verilog-forward-sexp):
12079 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12080 word keywords, suggested by Steve Pearlmutter.
12081 (verilog-pretty-declarations): Support lineup of declarations in
12083 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12084 fix bug for /* / comments.
12085 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12086 Speed up and simplfy as this is never called with a bound.
12087 (verilog-pretty-declarations): Enhance to line up declarations
12088 inside a parameter list, suggested by Alan Morgan.
12089 (verilog-pretty-expr): Tune assignment regular expression match
12090 string for corner cases; also use markers instead of character
12091 number as indent changes the later.
12093 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12095 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12096 as missing keyword.
12097 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12098 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12099 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12100 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12102 (verilog-keywords):
12103 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12104 1800-2009 keywords, including "global.".
12106 2010-04-06 John Wiegley <jwiegley@gmail.com>
12108 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12109 appearing in buffer list (if a live buffer name matched a recentf
12110 file basename). Should use uniquify to offer a real solution.
12112 2010-04-06 John Wiegley <jwiegley@gmail.com>
12114 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12115 comment to code, and add a :version tag.
12116 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12118 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12120 Enable recentf-mode if using virtual buffers.
12121 * ido.el (recentf-list): Declare for byte-compiler.
12122 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12123 (ido-make-buffer-list): Simplify.
12124 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12126 2010-04-05 Juri Linkov <juri@jurta.org>
12128 Scrolling commands which scroll a line instead of full screen.
12129 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12131 * simple.el (scroll-up-line, scroll-down-line): New commands.
12132 Put property isearch-scroll=t on them.
12134 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12137 2010-04-05 Juri Linkov <juri@jurta.org>
12139 Scrolling commands which do not signal errors at top/bottom.
12140 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12142 * simple.el (scroll-up-command, scroll-down-command): New commands.
12143 Put property isearch-scroll=t on them.
12145 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12146 `scroll-down-command' and [next] from `scroll-up' to
12147 `scroll-up-command'.
12149 * emulation/cua-base.el: Put property CUA=move on
12150 `scroll-up-command' and `scroll-down-command'.
12151 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12152 and `scroll-down-command' to `cua-scroll-down'.
12154 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12156 * help.el (describe-mode): Return nil.
12158 2010-04-04 John Wiegley <jwiegley@gmail.com>
12160 * ido.el (ido-use-virtual-buffers): New variable to indicate
12161 whether "virtual buffer" support is enabled for IDO.
12162 (ido-virtual): Face used to indicate virtual buffers in the list.
12163 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12164 exists, but a virtual buffer of that name does (which would be why
12165 it was in the list), recreate the buffer by reopening the file.
12166 (ido-make-buffer-list): If virtual buffers are being used, call
12167 `ido-add-virtual-buffers-to-list' before the make list hook.
12168 (ido-virtual-buffers): New variable which contains a copy of the
12169 current contents of the `recentf-list', albeit pared down for the
12170 sake of speed, and with proper faces applied.
12171 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12172 create a list of "virtual buffers" to present to the user in
12173 addition to the currently open set. Note that this logic could
12174 get rather slow if that list is too large. With the default
12175 `recentf-max-saved-items' of 200, there is little speed penalty.
12177 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12179 * font-lock.el: Require CL when compiling.
12180 (font-lock-turn-on-thing-lock): Use `case'.
12182 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12184 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12187 2010-04-02 Juri Linkov <juri@jurta.org>
12189 * ehelp.el (electric-help-orig-major-mode):
12190 New buffer-local variable.
12191 (electric-help-mode): Set it to original major-mode. Doc fix.
12192 (with-electric-help): Use `electric-help-orig-major-mode' instead
12193 of (default-value 'major-mode). Doc fix.
12194 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12196 2010-04-02 Sam Steingold <sds@gnu.org>
12198 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12199 `vc-hg-command' with a list of flags.
12201 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12202 Also accept "patch" and "RFE".
12203 (bug-reference-fontify): `bug-reference-url-format' can also be a
12204 function to be able to handle the bug kind.
12205 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12207 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12209 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12210 value to fboundp, it may not be a symbol.
12212 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12214 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12216 2010-03-31 Juri Linkov <juri@jurta.org>
12218 * simple.el (next-line, previous-line): Re-throw a signal
12219 with `signal' instead of using `ding'.
12220 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12222 2010-03-31 Juri Linkov <juri@jurta.org>
12224 * simple.el (keyboard-escape-quit): Raise deselecting the active
12225 region higher than exiting the minibuffer.
12226 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12228 2010-03-31 Juri Linkov <juri@jurta.org>
12230 * image.el (image-animated-p): Use `image-metadata' instead of
12231 `image-extension-data'. Get GIF extenstion data from metadata
12232 property `extension-data'.
12234 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12236 * simple.el (append-to-buffer): Simplify.
12238 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12240 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12241 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12243 2010-03-31 Kenichi Handa <handa@m17n.org>
12245 * language/sinhala.el (composition-function-table): Fix regexp for
12246 the new Unicode specification.
12248 * language/indian.el (devanagari-composable-pattern)
12249 (tamil-composable-pattern, kannada-composable-pattern)
12250 (malayalam-composable-pattern): Adjust for the new Unicode
12252 (bengali-composable-pattern, gurmukhi-composable-pattern)
12253 (gujarati-composable-pattern, oriya-composable-pattern)
12254 (telugu-composable-pattern): New variables to cope with the new
12255 Unicode specification. Use them in composition-function-table.
12257 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12259 Make tmm-menubar work for the Buffers menu again (bug#5726).
12260 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12261 vectors rather than cons cells, as used in menu-bar-update-buffers.
12263 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12265 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12266 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12267 electric punctuation for "{}();,:" (Bug#5586).
12269 * mail/sendmail.el (mail-default-directory): Doc fix.
12271 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12273 * mail/sendmail.el (mail-default-directory): Doc fix.
12275 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12277 * subr.el (version-regexp-alist, version-to-list)
12278 (version-list-<, version-list-=, version-list-<=)
12279 (version-list-not-zero, version<, version<=, version=): Doc fix.
12282 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12284 * vc.el (vc-root-diff): Doc fix.
12286 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12288 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12290 * simple.el (append-to-buffer): Fix last change.
12292 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12294 * simple.el (append-to-buffer): Ensure that point is preserved if
12295 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12298 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12300 * files.el (auto-mode-case-fold): Change default to t.
12302 2010-03-30 Juri Linkov <juri@jurta.org>
12304 * dired-x.el (dired-omit-mode): Doc fix.
12306 2010-03-30 Juri Linkov <juri@jurta.org>
12308 * replace.el (occur-accumulate-lines): Move occur-engine related
12309 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12310 to be located after `occur-engine'.
12312 2010-03-30 Juri Linkov <juri@jurta.org>
12314 Make occur handle multi-line matches cleanly with context.
12315 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12317 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12318 (occur-engine): Add local variables `ret', `prev-after-lines',
12319 `prev-lines'. Use more arguments for `occur-context-lines'.
12320 Set first elem of its returned list to `data', and the second elem
12321 to `prev-after-lines'. Don't print the separator line.
12322 In the end, print remaining context after-lines.
12323 (occur-context-lines): Add new arguments `begpt', `endpt',
12324 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12325 after-lines of the previous match with before-lines of the
12326 current match and not overlap them. Return a list with two
12327 values: the output line and the list of context after-lines.
12329 2010-03-30 Juri Linkov <juri@jurta.org>
12331 * replace.el (occur-accumulate-lines): Fix a bug where the first
12332 context line at the beginning of the buffer was missing.
12334 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12336 * files.el: Make bidi-display-reordering safe variable for boolean
12339 2010-03-29 Phil Hagelberg <phil@evri.com>
12340 Chong Yidong <cyd@stupidchicken.com>
12342 * subr.el: Extend progress reporters to perform "spinning".
12343 (progress-reporter-update, progress-reporter-do-update):
12344 Handle non-numeric value arguments.
12345 (progress-reporter--pulse-characters): New var.
12347 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12349 * progmodes/compile.el (compilation-start): Fix regexp detection
12350 of initial cd command (Bug#5771).
12352 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12354 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12356 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12358 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12359 * progmodes/gdb-mi.el: Restore.
12360 * progmodes/gdb-ui.el: Remove.
12361 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12363 2010-03-25 Glenn Morris <rgm@gnu.org>
12365 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12366 all dired buffers, even tramp ones. (Bug#5755)
12368 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12370 Add "union tags" in mpc.el.
12371 * mpc.el: Remove backward compatibility code.
12372 (mpc-browser-tags): Change default.
12373 (mpc--find-memoize-union-tags): New var.
12374 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12375 (mpc-cmd-find): Handle the case where the playlist does not exist.
12377 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12378 (mpc-cmd-add): Use mpc-cmd-flush.
12379 (mpc-tagbrowser-tag-name): New fun.
12380 (mpc-tagbrowser-buf): Use it.
12381 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12383 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12386 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12387 Use replace-regexp-in-string.
12388 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12389 (makefile-imake-mode-syntax-table): Move init into defvar.
12390 (makefile-mode): Use define-derived-mode.
12392 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12393 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12394 not be present any more.
12396 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12398 * faces.el (set-face-attribute): Fix typo in docstring.
12399 (face-valid-attribute-values): Reflow docstring.
12401 2010-03-24 Glenn Morris <rgm@gnu.org>
12403 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12405 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12407 * indent.el (indent-for-tab-command): Doc fix.
12409 2010-03-24 Alan Mackenzie <acm@muc.de>
12411 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12412 Fix off-by-one error. Fixes bug #5747.
12414 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12416 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12417 (image-dired-read-comment): Doc fix.
12419 * json.el (json-object-type, json-array-type, json-key-type)
12420 (json-false, json-null, json-read-number):
12421 * minibuffer.el (completion-in-region-functions):
12422 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12423 (cal-tex-cursor-week):
12424 * emacs-lisp/trace.el (trace-function):
12425 * eshell/em-basic.el (eshell/printnl):
12426 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12427 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12428 * obsolete/levents.el (allocate-event, event-key, event-object)
12429 (event-point, event-process, event-timestamp, event-to-character)
12430 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12431 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12432 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12433 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12434 (reftex-highlight-selection): Fix typos in docstrings.
12436 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12438 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12440 2010-03-24 Glenn Morris <rgm@gnu.org>
12442 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12443 2008-02-13 without comment; mark it obsolete.
12444 (rmail-highlight-headers): Use rmail-highlight-face once more.
12446 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12448 * woman.el (woman2-process-escapes): Only consume the newline if
12449 the filler character is on a line by itself (Bug#5729).
12451 2010-03-24 Kenichi Handa <handa@m17n.org>
12453 * language/indian.el (devanagari-composable-pattern): Add more
12456 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12458 * net/trampver.el: Update release number.
12460 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12462 * net/tramp.el (tramp-find-executable):
12463 Use `tramp-get-connection-buffer'. Make the regexp for checking
12464 output of "wc -l" more robust.
12465 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12466 (tramp-open-connection-setup-interactive-shell): Remove workaround
12467 for OpenSolaris bug, it is not needed anymore.
12469 2010-03-24 Glenn Morris <rgm@gnu.org>
12471 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12473 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12475 * files.el (auto-mode-alist): Accept more verilog file patterns.
12477 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12481 2010-03-24 Glenn Morris <rgm@gnu.org>
12483 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12484 log-edit-before-checkin-process.
12486 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12488 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12490 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12491 (log-view-process-buffer, log-edit-extra-flags): Declare.
12493 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12495 2010-03-23 Sam Steingold <sds@gnu.org>
12497 Fix bug#5620: recalculate all markers on compilation buffer
12498 modifications, not on file modifications.
12499 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12500 variable: the buffer modification time, for buffers not associated with
12502 (compilation-mode): Create it.
12503 (compilation-filter): Update it.
12504 (compilation-next-error-function): Use it instead of
12505 `visited-file-modtime' for timestamp.
12507 2010-03-23 Juri Linkov <juri@jurta.org>
12509 Implement Occur multi-line matches.
12510 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12512 * replace.el (occur): Doc fix.
12513 (occur-engine): Set `begpt' to the beginning of the first line.
12514 Set `endpt' to the end of the last match line. At first, count
12515 line numbers between `origpt' and `begpt'. Split out code from
12516 `out-line' variable to new let-bindings `match-prefix' and
12517 `match-str'. In `out-line' add non-numeric prefix to all
12518 non-first lines of multi-line matches. Finally, count lines
12519 between `begpt' and `endpt' and add to `lines'.
12521 2010-03-23 Juri Linkov <juri@jurta.org>
12523 * replace.el (occur-accumulate-lines, occur-engine):
12524 Use `occur-engine-line' instead of duplicate code.
12525 (occur-engine-line): New function created from duplicate code
12526 in `occur-accumulate-lines' and `occur-engine'.
12528 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12529 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12531 2010-03-23 Juri Linkov <juri@jurta.org>
12533 * finder.el: Remove TODO tasks.
12535 * info.el (Info-finder-find-node): Add node "all"
12536 with all package info. Handle a list of multiple keywords
12537 separated by comma.
12538 (info-finder): In interactive use with a prefix argument,
12539 use `completing-read-multiple' to read a list of keywords
12540 separated by comma.
12542 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12544 Add a new completion style `substring'.
12545 * minibuffer.el (completion-basic--pattern): New function.
12546 (completion-basic-try-completion, completion-basic-all-completions):
12548 (completion-substring--all-completions)
12549 (completion-substring-try-completion)
12550 (completion-substring-all-completions): New functions.
12551 (completion-styles-alist): New style `substring'.
12553 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12555 Get rid of .elc files after removal of the corresponding .el.
12556 * Makefile.in (compile-clean): New target.
12557 (compile-main): Use it.
12559 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12561 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12562 don't do make there. When compiling with separate object dir, there
12563 is no Makefile there.
12565 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12567 Get rid of the ELCFILES abomination, again.
12568 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12569 (all, compile): Don't call compile-last.
12570 (compile-main): Build the "elcfiles" list dynamically.
12571 (compile-targets): New (internal) target.
12573 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12575 * Makefile.in (top_srcdir): Define.
12576 (abs_top_builddir): Define.
12577 (srcdir): Don't append `/..'.
12578 (EMACS): Use ${abs_top_builddir}.
12579 (all, compile, compile-always, compile-last): Don't set emacswd.
12580 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12582 (lisp): Use $(srcdir) instead of @srcdir@.
12584 2010-03-21 Juri Linkov <juri@jurta.org>
12586 Fix message of multi-line occur regexps and multi-buffer header lines.
12587 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12589 * replace.el (occur-1): Don't display regexp if it is longer
12590 than window-width. Use `query-replace-descr' to display regexp.
12591 (occur-engine): Don't display regexp in the buffer header for
12592 multi-buffer occur. Display a separate header line with total
12593 match count and regexp for multi-buffer occur.
12594 Use `query-replace-descr' to display regexp.
12596 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12598 * net/secrets.el: Fix parenthesis.
12599 (secrets-enabled): Fix parenthesis.
12601 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12603 Use more relative file and directory names.
12604 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12605 (setwins, setwins_almost, setwins_for_subdirs):
12606 Don't `cd'; output relative names.
12607 (all, compile, compile-always, compile-last): Set emacswd.
12608 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12609 Just cd to the lisp source dir so we can use relative file names.
12611 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12613 2010-03-20 Glenn Morris <rgm@gnu.org>
12615 * textmodes/rst.el: Use faces for font-lock customization, and make the
12616 old -face variables obsolete.
12617 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12618 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12619 (rst-block-face, rst-external-face, rst-definition-face)
12620 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12621 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12623 (rst-font-lock-keywords-function): Update for above changes.
12625 2010-03-20 Juri Linkov <juri@jurta.org>
12628 * obsolete/s-region.el: Move to obsolete.
12630 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12632 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12634 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12636 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12638 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12640 Add special markup processing for commit logs.
12641 * log-edit.el (log-edit-extra-flags): New variable.
12642 (log-edit): Add new argument MODE. Use that mode when non-nil
12643 instead of the log-view-mode.
12644 (log-view-process-buffer): New function.
12646 * vc.el: Document that the checkin method takes optional
12647 arguments. Document new backend specific method: log-view-mode.
12648 (vc-default-log-edit-mode): New function.
12649 (vc-checkin): Use a backend specific log-view-mode.
12650 Pass extra arguments to the checkin method.
12651 (vc-modify-change-comment): Pass a dummy extra argument.
12653 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12655 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12656 (vc-finish-logentry): Process the log buffer before passing it
12657 down. Pass log-edit-extra-flags.
12659 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12661 (log-edit-extra-flags, log-edit-before-checkin-process):
12664 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12666 (log-edit-extra-flags, log-edit-before-checkin-process):
12668 (vc-hg-log-edit-mode): New derived mode.
12670 * vc-arch.el (vc-arch-checkin):
12671 * vc-cvs.el (vc-cvs-checkin):
12672 * vc-git.el (vc-git-checkin):
12673 * vc-mtn.el (vc-mtn-checkin):
12674 * vc-rcs.el (vc-rcs-checkin):
12675 * vc-sccs.el (vc-sccs-checkin):
12676 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12678 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12680 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12683 2010-03-19 Glenn Morris <rgm@gnu.org>
12685 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12687 2010-03-18 Glenn Morris <rgm@gnu.org>
12689 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12691 * replace.el (query-replace-history): Give it a doc string.
12692 (map-query-replace-regexp): Use query-replace-from-history-variable
12693 and query-replace-to-history-variable.
12695 * mail/hashcash.el (declare-function): Remove duplicate definition.
12697 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12698 Make it an obsolete alias for report-emacs-bug-address.
12699 (message-strip-special-text-properties): Declare.
12700 (report-emacs-bug): Remove test for a pretest bug address.
12701 Combine message-mode-specific code.
12703 * mail/supercite.el: Don't require sendmail.
12704 (mh-in-header-p): Declare rather than using with-no-warnings.
12705 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12706 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12708 * calendar/cal-french.el: Convert to utf-8.
12710 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12713 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12715 * net/secrets.el (secrets-enabled): New variable. Use it instead
12718 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12720 * net/secrets.el (top): Register the D-Bus signals only when the
12721 service "org.freedesktop.secrets" can be pinged.
12722 Provide subfeature `enabled'.
12724 2010-03-14 Juri Linkov <juri@jurta.org>
12726 Add finder unknown keywords.
12728 * finder.el (finder-unknown-keywords): New function.
12730 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12731 to create a Finder node with unknown keywords.
12733 2010-03-14 Juri Linkov <juri@jurta.org>
12735 * finder.el (finder-compile-keywords): Replace `princ' with
12736 `prin1' on a list of symbols interned from keyword strings.
12738 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12739 a comma, then split keywords using a comma and optional whitespace.
12740 Otherwise, split by whitespace.
12748 * progmodes/mixal-mode.el: Fix keywords.
12750 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12752 * Makefile.in (ELCFILES): Add net/secrets.elc.
12754 * net/secrets.el: New file.
12756 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12758 * facemenu.el (list-colors-display, list-colors-print): New arg
12759 callback. Use it to allow selecting colors.
12761 * wid-edit.el (widget-image-insert): Insert image prop even if the
12762 current display is non-graphic.
12763 (widget-field-value-set): New fun.
12764 (editable-field): Use it.
12765 (widget-field-value-get): Clean up unused var.
12766 (widget-color-value-create, widget-color--choose-action):
12767 New funs. Allow using list-colors-display to choose color.
12769 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12771 * cus-edit.el: Resort topmost custom groups.
12772 (custom-buffer-sort-alphabetically): Default to t.
12773 (customize-apropos): Use apropos-parse-pattern.
12774 (custom-search-field): New var.
12775 (custom-buffer-create-internal): Add custom-apropos search field.
12776 (custom-add-parent-links): Don't display parent doc.
12777 (custom-group-value-create): Don't sort top-level custom group.
12778 (custom-magic-value-create): Show visibility button before option name.
12780 (custom-variable-state): New fun, from custom-variable-state-set.
12781 (custom-variable-state-set): Use it.
12782 (custom-group-value-create): Hide options with standard values
12783 using the :hidden-states property. Use progress reporter.
12785 (custom-show): Simplify.
12786 (custom-visibility): Disable images by default.
12787 (custom-variable): New property :hidden-states.
12788 (custom-variable-value-create): Enable images for
12789 custom-visibility widgets. Use :hidden-states property to
12790 determine initial visibility.
12792 * wid-edit.el (widget-image-find): Give images center ascent.
12793 (visibility): Add :on-image and :off-image properties.
12794 (widget-visibility-value-create): Use them.
12796 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12798 * cus-edit.el (processes): Remove from development group.
12799 (oop, hypermedia): Delete group.
12800 (comm): Promote to top-level group.
12802 * net/browse-url.el (browse-url):
12803 * net/xesam.el (xesam):
12804 * net/tramp.el (tramp):
12805 * net/goto-addr.el (goto-address):
12806 * net/ange-ftp.el (ange-ftp): Put in comm group.
12808 * view.el (view): Remove from editing group.
12810 * uniquify.el (uniquify): Put in files group.
12812 * net/browse-url.el (browse-url):
12813 * ps-print.el (postscript): Put in external group.
12815 * cus-edit.el (outlines):
12816 * textmodes/text-mode.el (text-mode-hook):
12817 * textmodes/table.el (table):
12818 * textmodes/picture.el (picture):
12819 * outline.el (outlines): Put in wp group.
12821 * nxml/nxml-mode.el (nxml): Remove from wp group.
12823 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12825 * mail/metamail.el (metamail): Remove from hypermedia group.
12827 * cus-edit.el (abbrev):
12828 * whitespace.el (whitespace):
12829 * vcursor.el (vcursor):
12830 * reveal.el (reveal):
12831 * hl-line.el (hl-line): Put in convenience group.
12833 * epg-config.el (epg): Put in data group.
12835 * emulation/pc-select.el (pc-select): Put in emulations group.
12837 * calculator.el (calculator): Put in applications group.
12839 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12841 Add .dir-locals.el support for file-less buffers.
12842 * files.el (hack-local-variables): Split out code to apply local
12843 variable settings ...
12844 (hack-local-variables-apply): ... here. New function.
12845 (hack-dir-local-variables): Use the default directory for when the
12846 buffer does not have an associated file.
12847 (hack-dir-local-variables-non-file-buffer): New function.
12848 * diff-mode.el (diff-mode):
12849 * vc-annotate.el (vc-annotate-mode):
12850 * vc-dir.el (vc-dir-mode):
12851 * log-edit.el (log-edit-mode):
12852 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12854 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12856 Add support for shelving snapshots and for showing shelves.
12857 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12858 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12860 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12861 (vc-bzr-extra-menu-map): Map them.
12863 2010-03-11 Glenn Morris <rgm@gnu.org>
12865 * cus-edit.el (customize-changed-options-previous-release):
12868 * image.el (image-animate-max-time): Fix :version tag.
12870 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12874 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12876 * vc-git.el (vc-git-revision-table): Include remote branches.
12878 2010-03-10 Kim F. Storm <storm@cua.dk>
12880 Animated image API.
12881 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12883 * image.el (image-animate-max-time): New defcustom.
12884 (image-animated-types): New defconst.
12885 (create-animated-image, image-animate-timer)
12886 (image-animate-start, image-animate-stop, image-animate-timeout)
12887 (image-animated-p): New functions.
12889 * image-mode.el (image-toggle-display-image):
12890 Replace `create-image' with `create-animated-image'.
12892 2010-03-09 Miles Bader <miles@gnu.org>
12894 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12895 instead of "format:"; this ensures that the output is
12896 newline-terminated.
12898 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12900 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12901 that all errors are caught, and that the return value is always a
12904 2010-03-08 Kenichi Handa <handa@m17n.org>
12906 * language/misc-lang.el (windows-1256): New coding system.
12907 (cp1256): New alias of windows-1256 (bug#5690).
12909 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12911 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12912 call to rfc822-bad-address. (Bug#5692)
12914 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12916 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12917 Use vc-git-root as default directory for revision path (Bug#5657).
12919 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12921 * calculator.el (calculator): Don't bind split-window-keep-point
12924 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12926 * vc-git.el: Re-flow to fit into 80 columns.
12927 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12928 Remove spurious `quote' element in each case alternative.
12929 (vc-git-show-log-entry): Use prog1.
12930 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12932 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12934 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12936 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12938 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12939 definition, not the name (Bug#5481).
12941 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12943 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12944 argument with a local variable. (Bug#5670)
12946 2010-03-02 Juri Linkov <juri@jurta.org>
12948 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12950 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12952 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12953 error when FILENAME and NEWNAME are existing remote directories.
12955 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12956 parameter DIR-FLAG.
12958 2010-03-02 Glenn Morris <rgm@gnu.org>
12960 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12961 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12963 2010-03-01 Kenichi Handa <handa@m17n.org>
12965 * language/burmese.el (burmese-composable-pattern): Rename from
12966 myanmar-composable-pattern.
12968 * international/characters.el (script-list):
12969 * international/fontset.el (script-representative-chars):
12970 Change myanmar to burmese.
12971 (otf-script-alist): Likewise.
12972 (setup-default-fontset): Likewise. Re-fix :otf spec.
12974 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12976 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12978 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12980 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12982 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12984 * net/tramp.el (tramp-handle-write-region): START can be a string.
12985 Take care in the checks. Reported by Dan Davison
12986 <davison@stats.ox.ac.uk>.
12988 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12990 * net/dbus.el (dbus-introspect, dbus-get-property)
12991 (dbus-set-property, dbus-get-all-properties):
12992 Use `dbus-call-method' when noninteractive. (Bug#5645)
12994 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12996 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12997 * emacs-lisp/elint.el (elint-add-required-env):
12998 * calendar/icalendar.el (icalendar--add-diary-entry):
12999 * calc/calcalg2.el (math-tracing-integral):
13000 * files.el (recover-session-finish): Use with-current-buffer
13001 instead of save-excursion.
13003 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13005 Fix in-buffer completion when after-change-functions modify the buffer.
13006 * minibuffer.el (completion--replace): New function.
13007 (completion--do-completion): Use it and use relative movement.
13009 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13011 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13013 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13015 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13016 Allow the characters _<> in the stack entry (Bug#5653).
13018 2010-02-26 Kenichi Handa <handa@m17n.org>
13020 * language/burmese.el: Fix entries in composition-function-table.
13021 (myanmar-composable-pattern): New variable.
13023 * international/fontset.el (setup-default-fontset): Add an entry
13026 * international/characters.el (script-list): Add Myanmar
13029 2010-02-26 Glenn Morris <rgm@gnu.org>
13031 * custom.el (custom-initialize-delay): Doc fix.
13033 * mail/sendmail.el (send-mail-function): Autoload the call
13034 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13036 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13038 * files.el (hack-local-variables-filter): For eval forms, also
13039 check safe-local-variable-p (Bug#5636).
13041 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13043 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13044 setting the modes by `ignore-errors'. It might fail, for example
13045 if the file is not owned by the user but the group.
13046 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13048 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13050 * files.el (directory-listing-before-filename-regexp):
13051 Use stricter matching for iso-style dates, to avoid false matches with
13052 date-like filenames (Bug#5597).
13054 * htmlfontify.el (htmlfontify): Doc fix.
13056 * eshell/eshell.el (eshell): Doc fix.
13058 * startup.el (fancy-about-screen): In mode-line, apply
13059 mode-line-buffer-id face only to the buffer name (Bug#5613).
13061 2010-02-20 Kevin Ryde <user42@zip.com.au>
13063 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13064 In `watcom' anchor regexp to start of line, to avoid slowness
13067 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13069 * subr.el (remove-yank-excluded-properties): Explain in a comment
13070 why `category' property is removed.
13072 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13074 * isearch.el (isearch-update-post-hook, isearch-update):
13075 Revert 2010-02-17 change.
13077 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13079 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13080 (icalendar--convert-weekly-to-ical)
13081 (icalendar--convert-yearly-to-ical)
13082 (icalendar--convert-block-to-ical)
13083 (icalendar--convert-cyclic-to-ical)
13084 (icalendar--convert-anniversary-to-ical): Take care of time
13085 specifications where hour has 1-digit only (Bug#5549).
13087 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13089 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13090 of disassemble output in GDB 7.1.
13092 2010-02-19 Glenn Morris <rgm@gnu.org>
13094 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13095 property. (Bug#5593)
13097 2010-02-18 Sam Steingold <sds@gnu.org>
13099 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13101 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13103 Use abbreviated file names in bookmarks (bug#5591).
13104 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13105 calls to expand-file-name.
13106 (bookmark-relocate): Use abbreviated file names in bookmarks.
13107 (bookmark-load): Use abbreviated file names in messages.
13109 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13111 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13112 expand "." and "..". Reported by Thierry Volpiatto
13113 <thierry.volpiatto@gmail.com>.
13115 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13117 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13118 permissions of the temporary file to "0600". In case the remote
13119 file has no read permissions for the owner, there might be
13120 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13122 22010-02-18 Glenn Morris <rgm@gnu.org>
13124 * emacs-lisp/authors.el (authors-renamed-files-alist):
13125 Add entries for INSTALL.CVS.
13127 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13129 * vc-bzr.el: Fix typo in Known Bugs section.
13131 * isearch.el (isearch-update-post-hook): New hook.
13132 (isearch-update): Use the new hook.
13134 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13136 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13137 Fix errors in copying directories.
13138 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13139 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13140 (tramp-handle-delete-file)
13141 (tramp-handle-dired-recursive-delete-directory)
13142 (tramp-handle-write-region): Flush also the cache for the upper
13145 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13147 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13149 * cus-edit.el (hardware): Doc fix.
13151 * man.el (man): Add to external custom group.
13153 * delim-col.el (columns): Move to wp custom group.
13155 * doc-view.el (doc-view): Add to data custom group.
13157 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13159 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13160 by ispell-parse-output (Bug#5575).
13162 2010-02-16 Kenichi Handa <handa@m17n.org>
13164 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13165 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13166 (skkdic-convert): Use `euc-japan' coding system for writing.
13168 2010-02-16 Glenn Morris <rgm@gnu.org>
13170 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13171 tex-main-file before using it. (Bug#5562)
13173 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13175 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13176 warnings, since it is annoying for the user to see them each time he
13179 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13181 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13182 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13183 instead of PROC for caching "first-password-request". Otherwise,
13184 new processes would not profit from passwords already entered.
13186 * net/tramp-cache.el (tramp-dump-connection-properties):
13187 Don't save "first-password-request" property.
13189 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13191 * outline.el (outline-head-from-level):
13192 * simple.el (with-wrapper-hook):
13193 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13194 (elint-defun, elint-buffer-env, elint-top-form-logged)
13195 (elint-unbound-variable):
13196 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13197 Fix typos in docstrings.
13199 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13201 * files.el (insert-directory): When WILDCARD-REGEXP and
13202 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13203 whole directory. (Bug#5551)
13205 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13206 dired's alignment sanity. (Bug#5516)
13208 2010-02-14 Juri Linkov <juri@jurta.org>
13210 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13211 Remove remaining ^H with their preceding chars. (Bug#5566)
13213 2010-02-13 Glenn Morris <rgm@gnu.org>
13215 * simple.el (transpose-subr): Give it a doc-string.
13217 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13220 2010-02-12 Juri Linkov <juri@jurta.org>
13222 * arc-mode.el (archive-unique-fname): Make directories for nested
13223 archives. (Bug#5540)
13225 2010-02-12 Juri Linkov <juri@jurta.org>
13227 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13229 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13231 * subr.el (copy-overlay): Handle deleted overlays.
13233 * man.el (Man-completion-table): Don't signal an error if we can't run
13234 manual-program (bug#4056).
13236 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13238 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13240 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13242 * info.el (Info-bookmark-jump): Simplify.
13244 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13245 (bookmark-default-handler): Accept new bookmark field `buffer'.
13247 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13249 * iswitchb.el (iswitchb-completions): Revert last change.
13251 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13253 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13254 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13255 This prevents file names like "~/" being listed literally.
13257 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13259 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13260 Remove dead code. (Bug#5546)
13262 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13264 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13265 correctly (Bug#5548).
13267 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13269 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13270 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13272 2010-02-08 Kenichi Handa <handa@m17n.org>
13274 * international/mule-util.el (with-coding-priority): Add autoload
13275 cookie for putting `lisp-indent-function'.
13277 2010-02-07 Glenn Morris <rgm@gnu.org>
13279 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13280 Move F2003 named interfaces from keywords-2 to keywords-1, and
13281 use function-name-face rather than constant-face.
13282 Simplify "abstract interface" regexp.
13284 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13286 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13287 ID-FORMAT. Pass it to `file-attributes'.
13289 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13291 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13293 * faces.el (set-face-attribute): Allow calling
13294 internal-set-lisp-face-attribute with 'unspecified family and
13295 foundry argument (Bug#5536).
13297 2010-02-07 Glenn Morris <rgm@gnu.org>
13299 * progmodes/f90.el (f90-font-lock-keywords-2)
13300 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13301 Handle F2003 named interfaces.
13303 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13305 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13306 beg and end before calling c-get-state-before-change-functions.
13308 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13310 * vc-bzr.el (vc-bzr-dir-extra-headers):
13311 Disable the pending merges header.
13313 2010-02-05 Juri Linkov <juri@jurta.org>
13315 * doc-view.el (doc-view-mode):
13316 * image-mode.el (image-mode): Put property mode-class=special.
13319 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13321 * vc-svn.el (vc-svn-revision-table): New function.
13323 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13325 * net/ange-ftp.el (ange-ftp-insert-directory):
13326 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13327 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13328 Handle also directories. (Bug#5478)
13330 2010-02-05 Glenn Morris <rgm@gnu.org>
13332 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13334 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13336 * startup.el (command-line-1): Convert options beginning with a
13337 single dash as well (Bug#5519).
13339 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13341 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13342 * minibuffer.el (completion-initials-expand): Only check the presence
13343 of delims *within* the boundaries, since otherwise the / delim is
13344 always found for files.
13346 Fix up various corner case problems.
13347 * doc-view.el (doc-view-last-page-number): New function.
13348 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13349 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13350 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13351 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13352 (doc-view-convert-current-doc): Don't create the resolution.el file
13354 (doc-view-pdf/ps->png): Do it here instead.
13355 (doc-view-already-converted-p): Check that resolution.el is present.
13356 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13357 windows that are not yet showing images.
13359 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13361 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13362 `dired-uncache' for every elemnt which is an absolute file name.
13364 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13365 directory, handle its directory component.
13366 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13367 function is called permanently and creates noise, otherwise.
13369 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13370 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13371 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13373 2010-02-04 David Burger <dburger@google.com> (tiny change)
13375 * macros.el (apply-macro-to-region-lines):
13376 Minor simplification. (Bug#5485)
13378 2010-02-04 Glenn Morris <rgm@gnu.org>
13380 * mail/rmail.el (rmail-show-message-1): Handle malformed
13381 quoted-printable text. (Bug#5441)
13383 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13385 * simple.el (visual-line-mode): Capitalize lighter.
13387 2010-02-03 John Wiegley <jwiegley@gmail.com>
13389 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13390 list of files considered for "virtual buffer" completions.
13392 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13394 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13395 also in case of (and (not full) (not wildcard)). This is needed
13396 when dired is called with a list of files, which are not in
13397 `default-directory'. (Bug#5478)
13399 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13401 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13403 2010-02-02 Juri Linkov <juri@jurta.org>
13405 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13406 from unidiff to allow function-line after @@.
13408 2010-02-02 Juri Linkov <juri@jurta.org>
13410 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13411 '(RCS SCCS) with inverted condition.
13413 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13415 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13418 2010-02-01 Juri Linkov <juri@jurta.org>
13420 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13421 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13422 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13423 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13425 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13428 (doc-view-revert-buffer): New command.
13429 (doc-view-mode-map): Use it.
13431 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13433 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13434 pending merge is detected.
13436 2010-01-31 Juri Linkov <juri@jurta.org>
13438 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13439 beginning of interactive spec like all other grep commands do.
13440 Put "all" in front of "gz". (Bug#5260)
13442 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13444 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13446 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13448 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13449 regexp is incorrect (Bug#5476).
13451 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13453 * net/tramp.el (tramp-handle-insert-directory): Handle also
13454 symlinks, when FILENAME is not in `default-directory'.
13456 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13458 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13459 FILE is not in `default-directory'. (Bug#5478)
13461 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13462 of SWITCHES. Handle the case, FILENAME is not in
13463 `default-directory'. (Bug#5478)
13464 (tramp-register-file-name-handlers): Add safe-magic property.
13466 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13468 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13471 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13473 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13474 (flymake-master-make-header-init): Add other C++ filename masks.
13475 (flymake-find-possible-master-files)
13476 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13478 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13480 Fix some busybox annoyances.
13482 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13483 not responding." string.
13484 (tramp-open-connection-setup-interactive-shell): Dump stty
13485 settings. Enable "neveropen" arg for all `tramp-send-command'
13486 calls. Handle "=" in variable values properly.
13487 (tramp-find-inline-encoding): Raise an error, when no encoding is
13489 (tramp-wait-for-output): Check, whether PROC buffer is available.
13490 Remove spurious " ^H" sequences, sent by busybox.
13491 (tramp-get-ls-command): Suppress coloring, if possible.
13493 2010-01-28 Glenn Morris <rgm@gnu.org>
13495 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13497 * log-edit.el (log-edit-strip-single-file-name): Add missing
13498 :safe, :group, and :version tags.
13500 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13502 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13503 buffers. (Bug#5477)
13505 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13507 * files.el (delete-directory): Handle moving to trash without
13508 first doing recursion (Bug#5436).
13510 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13512 * vc-hooks.el (vc-path): Mark as obsolete.
13514 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13516 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13519 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13521 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13523 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13525 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13527 * vc-bzr.el (vc-bzr-revision-table): New function.
13529 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13531 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13532 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13534 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13536 Remove support for adding --signoff on commit.
13537 Future support will use an incompatible generic mechanism.
13538 * vc-git.el (vc-git-add-signoff): Remove variable.
13539 (vc-git-toggle-signoff): Remove function.
13540 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13542 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13543 Rename from xterm-set-background-mode. Return t if the background mode
13545 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13546 earlier, call it again in case the background mode has changed.
13548 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13550 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13553 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13555 * emacs-lisp/assoc.el (aelement): Doc fix.
13556 (aput, adelete, amake): Use lexical-let (Bug#5450).
13558 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13560 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13561 is the same as subprogram call, not declaration. (Bug#5435).
13563 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13565 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13566 (tramp-smb-maybe-open-connection): Use it.
13568 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13570 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13572 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13574 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13575 just because we see "encoding: 8bit".
13576 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13578 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13580 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13582 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13584 * jka-compr.el (jka-compr-load): If load-file is not in
13585 load-history, try its file-truename version. (bug#5447)
13587 2010-01-21 Alan Mackenzie <acm@muc.de>
13589 Fix a situation where deletion of a cpp construct throws an error.
13590 * progmodes/cc-engine.el (c-invalidate-state-cache):
13591 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13592 special cpp construct is still in the buffer.
13593 (c-parse-state): Record the special cpp with markers, not numbers.
13595 2010-01-21 Kenichi Handa <handa@m17n.org>
13597 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13598 process last-command-event, as it is now decoded first (Bug#5380).
13600 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13602 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13604 2010-01-20 Glenn Morris <rgm@gnu.org>
13606 * indent.el (tab-always-indent): Fix custom-type.
13608 2010-01-19 Alan Mackenzie <acm@muc.de>
13610 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13611 buffer throws "args out of range".
13612 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13613 playing the role of delimiter.
13615 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13617 * progmodes/ada-mode.el: Fix bug#5400.
13618 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13619 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13620 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13621 Improve comments in "is" portion. Handle null procedure declaration.
13622 (ada-move-to-end): Improve doc string.
13624 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13626 * ido.el (ido-cur-list): Initialize to nil.
13627 Remove obsolete information from commentary.
13628 (ido-choice-list): Initialize to nil.
13629 (ido-get-bufname): Reject minibuffers.
13630 (ido-make-buffer-list): If "default" is a nonexistent
13631 buffer, ignore it, as per the function's comment.
13632 (ido-kill-buffer-internal): New function.
13633 (ido-kill-buffer-at-head): Use it.
13634 (ido-visit-buffer): Likewise.
13636 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13638 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13640 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13642 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13643 Fix typos in chart titles.
13645 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13646 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13647 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13648 (describe-class, eieio-describe-generic, describe-generic):
13649 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13650 (eieio-speedbar-expand):
13651 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13652 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13653 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13654 (viper-del-backward-char-in-replace, viper-backward-indent)
13655 (viper-brac-function, viper-register-to-point, viper-submit-report):
13656 * net/tramp.el (tramp-remote-coding-commands):
13657 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13658 Fix typos in docstrings.
13660 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13662 * mail/sendmail.el (mail-yank-original): Set the mark if the
13663 specified function for yanking does not do it.
13665 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13667 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13669 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13670 resyncing a directory.
13672 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13674 * progmodes/ada-mode.el: Fix bug#1920.
13675 (ada-ident-re): Delete ., allow multibyte characters.
13676 (ada-goto-label-re): New; matches goto labels.
13677 (ada-block-label-re): New; matches block labels.
13678 (ada-label-re): New; matches both.
13679 (ada-named-block-re): Delete; callers changed to use
13680 `ada-block-label-re' instead.
13681 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13682 Use `ada-block-label-re'.
13683 (ada-indent-on-previous-lines): Improve handling of goto labels.
13684 (ada-get-indent-block-start): Special-case block label.
13685 (ada-get-indent-label): Split into `ada-indent-block-label' and
13686 `ada-indent-goto-label'.
13687 (ada-goto-stmt-start, ada-goto-next-non-ws):
13688 Optionally ignore goto labels.
13689 (ada-goto-next-word): Simplify.
13690 (ada-indent-newline-indent-conditional): Insert newline before
13691 trying to fix indentation; doc fix.
13693 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13695 * calc/calc.el (calc-command-flags): Give it an initial value.
13697 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13699 * files.el (minibuffer-with-setup-hook):
13700 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13701 (artist-key-draw-continously, artist-key-do-continously-continously)
13702 (artist-key-set-point-continously, artist-mouse-draw-continously):
13703 Fix typos in docstrings.
13705 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13707 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13708 Never return t (Bug#3898).
13710 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13712 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13713 can parse the output of the external commands (Bug#5279).
13715 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13717 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13719 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13721 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13723 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13725 * startup.el (command-line): Remove unused --icon-type arg.
13726 Handle --display arg, passing it to command-line-1 (Bug#5392).
13728 2010-01-16 Mario Lang <mlang@delysid.org>
13730 * emacs-lisp/chart.el (chart-translate-namezone):
13731 * textmodes/artist.el (artist-compute-popup-menu-table):
13732 Remove duplicated words in doc-strings.
13734 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13736 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13737 to mairix-search to suppress threading (Bug#5342).
13739 2010-01-15 Kenichi Handa <handa@m17n.org>
13741 * international/mule-cmds.el (canonicalize-coding-system-name):
13742 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13744 2010-01-15 Glenn Morris <rgm@gnu.org>
13746 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13748 * wid-edit.el (widget-keymap): Doc fix.
13750 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13751 former seems to be more widely accepted by various svn versions.
13753 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13755 * find-cmd.el (find-constituents):
13756 * vc-arch.el (vc-arch-root):
13757 * window.el (window-body-height, pop-up-frames):
13758 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13759 * progmodes/ada-stmt.el (ada-if):
13760 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13761 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13762 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13763 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13765 * progmodes/flymake.el (flymake-post-syntax-check):
13766 Fix typo in error message.
13768 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13770 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13771 which is always a string. (Bug#5313)
13773 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13775 * progmodes/ada-xref.el (ada-default-prj-properties):
13776 Simplify previous change.
13778 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13780 * progmodes/ada-xref.el (ada-default-prj-properties):
13781 Default ada_project_path to $ADA_PROJECT_PATH.
13783 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13785 * progmodes/ada-mode.el (ada-create-keymap):
13786 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13788 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13790 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13791 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13792 (ada-get-current-indent, ada-imenu-generic-expression)
13793 (ada-which-function): Check for it.
13795 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13797 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13798 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13800 2010-01-14 Glenn Morris <rgm@gnu.org>
13802 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13804 2010-01-14 Kenichi Handa <handa@m17n.org>
13806 * composite.el (auto-composition-mode): Make it a buffer local
13807 variable (permanent-local).
13808 (auto-composition-function): Set the default value to
13809 auto-compose-chars.
13810 (auto-composition-mode): Make it a simple function, not a minor mode.
13811 (global-auto-composition-mode): Likewise.
13812 (turn-on-auto-composition-if-enabled): Delete it.
13814 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13816 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13818 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13820 * files.el (copy-directory): Compute target for recursive
13821 directories with identical names. (Bug#5343)
13823 2010-01-12 Glenn Morris <rgm@gnu.org>
13825 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13826 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13828 2010-01-11 Sam Steingold <sds@gnu.org>
13830 * imenu.el (imenu-default-create-index-function): Detect infinite
13831 loops caused by imenu-prev-index-position-function.
13833 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13835 * htmlfontify.el (htmlfontify-load-rgb-file)
13836 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13837 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13838 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13839 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13840 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13841 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13842 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13843 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13844 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13845 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13846 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13847 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13848 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13849 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13850 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13851 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13852 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13853 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13854 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13855 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13856 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13857 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13858 backslash-quoting from parentheses, etc.
13860 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13862 * progmodes/js.el: Autoload javascript-mode alias.
13864 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13866 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13867 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13868 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13869 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13870 Fix typos in docstrings.
13871 (ffap-url-regexp): Doc fix.
13872 (ffap-at-mouse): Fix typo in message.
13874 2010-01-11 Glenn Morris <rgm@gnu.org>
13876 * version.el (emacs-copyright): Set copyright year to 2010.
13878 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13880 * format.el (format-annotate-function): Only set
13881 write-region-post-annotation-function after running to-fn so as not to
13882 affect nested write-region calls (bug#5273).
13884 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13886 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13889 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13891 * man.el (Man-goto-section): Signal error if the section is not
13894 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13896 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13897 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13899 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13901 * progmodes/compile.el: Don't treat compile-command as safe if
13902 compilation-read-command might be nil (Bug#4218).
13904 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13906 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13909 2010-01-08 Kenichi Handa <handa@m17n.org>
13911 * international/fontset.el (build-default-fontset-data):
13912 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13914 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13916 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13917 to `create-file-buffer' as it expects, not just a buffer name.
13918 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13919 to help uniquify. (Bug#3224)
13921 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13923 * font-setting.el (font-setting-change-default-font): Use user-spec
13926 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13928 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13930 2010-01-05 Tom Tromey <tromey@redhat.com>
13932 * progmodes/python.el (python-font-lock-keywords):
13933 Handle qualified decorators (Bug#881).
13935 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13937 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13938 in a lightweight checkout.
13940 2010-01-05 Kenichi Handa <handa@m17n.org>
13942 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13944 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13946 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13948 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13950 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13951 checkouts. (Bug#618)
13952 (vc-bzr-log-view-mode): Also highlight the author.
13953 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13954 (vc-bzr-shelve-menu-map):
13955 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13956 (vc-bzr-shelve-apply): Make prompt more explicit.
13958 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13960 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13961 They are valid characters in URL paths (rfc3986), and at least
13962 Firefox does not understand the encoded version (Bug#3166).
13964 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13966 * progmodes/octave-mod.el (octave-end-keywords)
13967 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13968 Add "end" keyword (Bug#3061).
13969 (octave-end-as-array-index-p): New function.
13970 (calculate-octave-indent): Use it.
13972 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13974 * bookmark.el: Consistently put the text property on the bookmark name.
13975 (bookmark-bmenu-marks-width): Bump back to 2, to include
13977 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13978 property on the bookmark name, instead of not putting it at all.
13979 (bookmark-bmenu-list): Fix where we put the text property.
13981 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13983 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13984 for showing buffer modified state (as added in the previous change).
13986 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13988 * bookmark.el: Show modified state of bookmark buffer more accurately.
13989 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13990 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13991 (with-buffer-modified-unmodified): New macro.
13992 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13993 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13994 Use new macro to preserve the buffer modified state.
13996 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13998 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13999 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14000 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14001 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14002 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14003 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14004 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14006 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14008 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14009 Make the lines in the generated doc string shorter. (Bug#4668)
14011 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14013 * net/rcirc.el: Add follow-link binding (Bug#4738).
14015 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14017 * Makefile.in (bzr-update): Rename from cvs-update.
14018 (cvs-update): New target for backward compatibility.
14020 * makefile.w32-in (bzr-update): Rename from cvs-update.
14021 (cvs-update): New target for backward compatibility.
14023 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14025 * bookmark.el: Remove gratuitous gratitude.
14027 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14029 * bookmark.el (bookmark-bmenu-any-marks): New function.
14030 (bookmark-bmenu-save): Clear buffer modification if no marks.
14032 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14034 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14035 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14036 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14037 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14039 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14040 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14041 To: emacs-devel {_AT_} gnu.org
14042 Subject: bookmark.el bug report
14043 Date: Mon, 28 Dec 2009 14:19:16 +0800
14044 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14046 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14048 * bookmark.el: Improvements suggested by Drew Adams:
14049 (bookmark-bmenu-ensure-position): New name for
14050 `bookmark-bmenu-check-position'. Just ensure the position,
14051 don't return any meaningful value.
14052 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14055 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14057 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14058 (bookmark-yank-point, bookmark-bmenu-check-position):
14059 Fix typos in docstrings.
14060 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14061 (bookmark-name-from-full-record, bookmark-get-position)
14062 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14063 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14064 Remove useless quoting of parenthesis, etc. in docstrings.
14066 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14067 (ediff-append-custom-diff): Fix typo in error message.
14068 (ediff-meta-mark-equal-files): Fix typos in messages.
14070 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14072 * net/imap-hash.el (imap-hash-make): Doc fix.
14073 (imap-hash-test): Fix typo in error message; reflow docstring.
14074 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14075 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14076 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14077 Fix typos in docstrings.
14078 (imap-hash-open-connection): Fix typo in error message.
14080 * play/gomoku.el (gomoku): Fix typos in docstring.
14082 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14083 (gdb-jsonify-buffer): Fix typos in docstring.
14084 (gdb-goto-breakpoint): Fix typo in error message.
14085 ("Display Other Windows"): Fix typo in help message.
14086 (gdb-speedbar-expand-node): Fix typo in question.
14088 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14089 (idlwave-html-system-help-location, idlwave-html-help-location)
14090 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14091 (idlwave-help-browser-generic-args, idlwave-help-directory)
14092 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14093 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14094 (idlwave-online-help, idlwave-help-html-link)
14095 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14096 Fix typos in docstrings.
14097 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14099 (idlwave-help-assistant-start): Fix typo in error message.
14101 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14102 (octave-electric-space): Fix typos in docstrings.
14104 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14106 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14108 2010-01-01 Juri Linkov <juri@jurta.org>
14110 * comint.el (comint-input-ring-size): Make it a defcustom and
14111 increase the default to 500 (Bug#5148).
14113 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14115 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14116 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14117 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14119 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14121 Show working revision correctly for mercurial.
14122 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14123 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14125 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14127 Declare some functions for the byte-compiler.
14128 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14129 (speedbar-timer-fn, speedbar-change-expand-button-char)
14130 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14132 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14134 This changeset reverts GDB Graphical Interface to use annotations.
14135 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14137 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14139 Make vc-dir work on subdirectories of the bzr root.
14140 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14141 Return file names relative to it.
14142 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14143 relative directory to vc-bzr-after-dir-status.
14145 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14147 * font-lock.el (font-lock-refresh-defaults): New function, which
14148 can be used to let font-lock react to external changes in
14149 variables like font-lock-defaults and keywords.
14150 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14152 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14154 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14156 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14158 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14160 Supersede color.diff settings in git log (bug#5211).
14162 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14163 escape chars in its output when the user has color.diff set to `always'.
14164 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14166 2009-12-26 Kevin Ryde <user42@zip.com.au>
14168 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14169 node. Keep previous "Index" name to work with past coreutils too.
14171 * man.el (man): Revise docstring a bit to show -a and -l as
14172 examples. Add -k description since support for it has otherwise
14173 been a secret. (Further to bug#3717.)
14174 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14175 "no matches" rather than "Can't find manpage", as the latter reads
14176 like -k was interpreted as a page name, which is not so. (Bug#5431)
14178 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14180 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14181 switches. Check also for //SUBDIRED// line.
14183 2009-12-25 Kenichi Handa <handa@m17n.org>
14185 * language/indian.el (devanagari-composable-pattern): Fix to
14186 handle ZWNJ and ZWJ. Use it in composition-function-table for
14188 (malayalam-composable-pattern): Fix previous change.
14190 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14192 * ps-print.el (ps-face-attributes): It was not returning the
14193 attribute face for faces specified as string. Reported by harven
14194 <harven@free.fr>. (Bug#5254)
14195 (ps-print-version): New version 7.3.5.
14197 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14199 * calendar/icalendar.el (icalendar--convert-tz-offset):
14200 Fix timezone names.
14201 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14202 (icalendar--add-diary-entry): Remove the trailing blank that
14203 diary-make-entry inserts.
14205 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14207 Make `file-expand-wildcards' work for remote files.
14209 * files.el (file-expand-wildcards): In case of remote files, check
14210 only local file name part for wildcards. Provide feature 'files
14211 and subfeature 'remote-wildcards. (Bug#5198)
14213 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14214 if there is already an established connection.
14215 (tramp-advice-file-expand-wildcards): Remove it.
14217 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14218 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14219 Activate advice for older GNU Emacs versions. (Bug#5237)
14221 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14223 Some doc fixes (more needed).
14225 * find-cmd.el (find-constituents): Reflow docstring.
14226 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14227 (find-generic): Doc fix.
14229 2009-12-17 Juri Linkov <juri@jurta.org>
14231 Fix regression from 23.1 to allow multiple modes in Local Variables.
14233 * files.el (hack-local-variables-filter): While ignoring duplicates,
14234 don't take `mode' into account.
14235 (hack-local-variables-filter, hack-dir-local-variables):
14236 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14238 2009-12-17 Juri Linkov <juri@jurta.org>
14240 Make `dired-diff' safer. (Bug#5225)
14242 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14243 `current' or when `file' is a directory of the `current' file.
14245 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14247 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14248 unconditionally preloaded files.
14250 2009-12-16 Juri Linkov <juri@jurta.org>
14252 Revert to old 23.1 logic of using the file at the mark as default.
14253 * dired-aux.el (dired-diff): Use the file at the mark as default
14254 if it's not the same as the current file, and the target dir is
14255 the current dir or the mark is active. Add the current file
14256 as the arg of `dired-dwim-target-defaults'. Use the default file
14257 in the prompt. (Bug#5225)
14259 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14261 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14262 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14263 (tramp-check-for-regexp): Check also, when an echoing shell stops
14264 to echo sent commands.
14266 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14268 * Makefile.in: Revert last change (Bug#5191).
14270 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14272 * vc-hg.el (vc-hg-print-log): Fix argument order.
14273 (vc-hg-working-revision): Make sure the command is executed in a
14274 known environment so that we can parse the output. (Bug#4417)
14276 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14278 * progmodes/python.el (python-symbol-completions): Remove text
14279 properties from symbol string before calling python-send-receive.
14281 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14283 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14284 when there are values for both file and line. (Bug#5060)
14286 2009-12-14 Juri Linkov <juri@jurta.org>
14288 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14289 whitespace after the file name of the first line of unified format,
14290 because git-diff doesn't output whitespace and file modification time
14291 after the file name.
14293 2009-12-14 David Kastrup <dak@gnu.org>
14295 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14296 check if it already has the `display' property added by
14297 `Info-display-images-node', and not put the `invisible' property
14300 2009-12-13 Glenn Morris <rgm@gnu.org>
14302 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14303 (report-emacs-bug): In message-mode, sort manually before storing
14304 original report text. (Bug#5178)
14305 Remove superfluous save-excursion.
14307 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14309 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14310 when responding to "GetAll" properties.
14312 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14314 * simple.el (compose-mail): Remove mail-setup-with-from from
14315 customization checks.
14317 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14319 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14320 RAR archives created on Unix systems.
14322 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14324 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14325 the varalias that was accidentally removed by the 2009-11-19 change
14328 2009-12-12 Kenichi Handa <handa@m17n.org>
14330 * language/indian.el (indian-compose-regexp): New function.
14331 (malayalam-composable-pattern): Fix the pattern.
14332 (composition-function-table): Set malayalam-composable-pattern for
14333 Malayalam characters.
14335 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14337 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14338 rather than down-mouse-1, based on follow-link conventions.
14340 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14343 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14345 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14346 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14347 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14348 (verilog-leap-to-head, verilog-backward-token):
14349 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14351 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14353 * progmodes/verilog-mode.el (verilog-auto-lineup)
14354 (verilog-nameable-item-re): Cleanup user-visible spelling and
14355 documentation errors. One reported by Gary Delp.
14356 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14357 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14358 package, bug195. Reported by Pierre-David Pfister.
14360 2009-12-11 Glenn Morris <rgm@gnu.org>
14362 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14364 * mail/emacsbug.el: No longer require sendmail.
14365 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14366 (report-emacs-bug-orig-text): Doc fix.
14367 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14368 New local variables, to adapt to different mail-user-agents.
14369 (report-emacs-bug): Fix test for a gnu.org address.
14370 Use overlays for emphasis, since font-lock defeats 'face property.
14371 Pretest bugs also end up at the newsgroup these days.
14372 Stop message-mode stripping text properties.
14373 Set and use the new buffer-local variables.
14374 (report-emacs-bug-hook): Add doc-string.
14375 Remove some unnecessary save-excursions and simplify.
14376 Use the appropriate hook and send-command.
14378 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14379 capitalization of some menu entries.
14381 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14383 * whitespace.el (whitespace-display-char-on):
14384 Ensure `buffer-display-table' is unique when two or more windows are
14385 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14388 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14390 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14391 characters in the Attribute field.
14393 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14395 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14397 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14399 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14400 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14401 Disregard autoload-excludes.
14402 (update-directory-autoloads): Obey autoload-excludes here instead.
14403 But don't store its contents in no-autoloads and remove entries that
14404 refer to excludes files.
14406 2009-12-10 Glenn Morris <rgm@gnu.org>
14408 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14409 (expand-mail-aliases): Define for compiler.
14411 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14412 Define for compiler.
14414 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14415 appropriate for the mail-user-agent in use.
14417 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14419 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14421 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14423 Fix short log parsing and fontification.
14424 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14425 Fix fontification for the [merge] label.
14427 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14429 Drop some properties to avoid surprises (bug#5002).
14430 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14431 (hfy-fontify-buffer): Use it.
14433 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14436 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14437 Adjust all callers.
14438 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14439 args compulsory. Adjust callers.
14440 (ffap-gopher-at-point): Remove unused var `name'.
14442 Get rid of the ELCFILES abomination.
14443 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14444 (compile-elcfiles): New phony target.
14445 (compile-main): Compute ELCFILES dynamically.
14446 (compile-clean): New target to remove left-over elc files.
14447 (compile, all): Use it.
14449 2009-12-09 Kenichi Handa <handa@etlken>
14451 * international/mule-diag.el: Require help-mode instead of help-fns.
14453 2009-12-09 Kenichi Handa <handa@m17n.org>
14455 * international/mule-cmds.el (ucs-names): Supply sufficiently
14456 fine ranges instead of pre-calculating accurate ranges.
14457 Iterate with bigger gc-cons-threshold.
14459 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14461 Add support for stashing a snapshot of the current tree.
14462 * vc-git.el (vc-git-stash-snapshot): New function.
14463 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14465 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14467 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14468 instead of `(beginning|end)-of-line'.
14470 2009-12-08 Glenn Morris <rgm@gnu.org>
14472 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14474 * Makefile.in (ELCFILES): Regenerate.
14476 2009-12-07 Juri Linkov <juri@jurta.org>
14478 Don't lazy-highlight the comint output in history Isearch mode.
14480 * comint.el (comint-history-isearch-search): Instead of
14481 `comint-line-beginning-position', use `comint-after-pmark-p'
14482 to check if point if before the process mark, and go to
14483 `process-mark' in this case.
14485 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14487 * textmodes/tex-mode.el (latex-complete)
14488 (latex-indent-or-complete): Remove.
14489 (latex-mode): Set completion-at-point-functions instead.
14491 Provide a standard completion command and hook it into TAB.
14492 * minibuffer.el (completion-at-point-functions): New var.
14493 (completion-at-point): New command.
14494 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14495 * progmodes/python.el (python-mode-map): Use completion-at-point.
14496 (python-completion-at-point): Rename from python-partial-symbol and
14497 adjust for use in completion-at-point-functions.
14498 (python-mode): Setup completion-at-point for Python completion.
14499 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14500 extracted from lisp-complete-symbol.
14501 (lisp-complete-symbol): Use it.
14502 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14503 setup completion-at-point for Elisp completion.
14504 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14505 Use completion-at-point.
14506 * ielm.el (ielm-map): Use completion-at-point.
14507 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14508 * progmodes/sym-comp.el: Move to...
14509 * obsolete/sym-comp.el: Move from progmodes.
14511 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14513 Prevent save-buffer in Rmail buffers from using the coding-system
14514 of the current message, and from clobbering the encoding mnemonics
14515 in the mode line (Bug#4623).
14517 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14519 (rmail-message-encoding): New variable.
14520 (rmail-write-region-annotate): Record the encoding of the current
14521 message in rmail-message-encoding.
14522 (rmail-after-save-hook): New function, restores the encoding of
14523 the current message after the message collection is saved.
14525 2009-12-07 Juri Linkov <juri@jurta.org>
14527 * progmodes/grep.el (grep-read-files): Use `completing-read'
14528 instead of `read-string'. Set its `collection' arg to
14529 `read-file-name-internal'. (Bug#4301)
14531 2009-12-07 Juri Linkov <juri@jurta.org>
14533 Correctly restore original Isearch point. (Bug#4994)
14535 * isearch.el (isearch-mode): Move `isearch-push-state' after
14536 `(run-hooks 'isearch-mode-hook)'.
14537 (isearch-cancel): When `isearch-push-state-function' is defined,
14538 let-bind `isearch-cmds' to the first state (the last element of
14539 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14540 function and restores the original point). Otherwise, move point
14541 to `isearch-opoint'.
14543 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14545 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14546 chars that don't have names, so the table can be built much faster at
14549 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14551 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14552 change. Suggested by David Kastrup.
14554 * simple.el (compose-mail): Check for incompatibilities and warn.
14555 (compose-mail-user-agent-warnings): New option.
14557 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14559 Support showing a single log entry from vc-annotate.
14560 * vc.el (print-log): Add a new argument: START-REVISION.
14561 (vc-print-log-internal): Add a new optional argument and
14562 pass it to the backend.
14563 (vc-print-log, vc-print-root-log): Adjust callers.
14564 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14565 buffer already displays the requested log entry, use it.
14566 Otherwise display only the log entry in question.
14567 * vc-svn.el (vc-svn-print-log):
14568 * vc-mtn.el (vc-mtn-print-log):
14569 * vc-hg.el (vc-hg-state):
14570 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14571 (vc-git-show-log-entry): Return t on success.
14572 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14573 (vc-bzr-show-log-entry): Return t on success.
14574 * vc-rcs.el (vc-rcs-print-log):
14575 * vc-sccs.el (vc-sccs-print-log):
14576 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14578 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14580 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14581 Add menus to the meta mode. (Bug#5043)
14583 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14585 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14588 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14590 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14592 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14593 Berbain <raphael.berbain@gmail.com>.
14595 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14597 (tramp-initial-end-of-output): New defconst.
14598 (tramp-methods, tramp-find-shell)
14599 (tramp-open-connection-setup-interactive-shell)
14600 (tramp-maybe-open-connection): Use it.
14601 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14602 Handle existence of `#' and `$'.
14604 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14605 Use `tramp-initial-end-of-output'.
14607 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14609 Get the background mode from the terminal for xterm, and set
14611 * term/xterm.el (xterm-set-background-mode): New function.
14612 (terminal-init-xterm): Use it in case xterm supports background
14613 color queries. Recompute faces after getting the background
14616 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14618 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14619 number comment back on its own line, for easier parsing.
14621 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14623 Make it work for non-file buffers (bug#5102).
14624 * doc-view.el (doc-view-current-cache-dir):
14625 Use doc-view-buffer-file-name rather than buffer-file-name.
14626 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14628 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14630 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14631 author field is too short.
14633 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14635 * vc-git.el (vc-git-print-log): Handle a limit argument.
14636 Display the short log in graph form and with labels.
14637 (vc-git-log-view-mode): Handle labels.
14639 Make vc-revert change VC state from 'added to 'unregistered.
14640 * vc-git.el (vc-git-revert): Call git reset first.
14642 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14644 * net/newst-backend.el, net/newst-plainview.el:
14645 * net/newst-reader.el, net/newst-ticker.el:
14646 * net/newst-treeview.el, net/newsticker.el:
14647 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14649 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14651 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14653 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14654 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14655 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14656 Update annotation regexp.
14658 * simple.el (beginning-of-visual-line): Constrain to field
14659 boundaries (Bug#5106).
14661 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14663 * xml.el (xml-substitute-numeric-entities):
14664 Move newsticker--decode-numeric-entities in newst-backend.el to
14665 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14666 * net/newst-backend.el (newsticker--parse-generic-feed)
14667 (newsticker--parse-generic-items)
14668 (newsticker--decode-numeric-entities):
14669 Move newsticker--decode-numeric-entities in newst-backend.el to
14670 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14672 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14674 * progmodes/js.el (js--js-not): Add null to the list of values.
14676 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14678 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14680 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14682 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14683 delimiter if it is at the end of the current line.
14684 (bibtex-generate-url-list): Fix docstring.
14686 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14688 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14689 minibuffer's content with itself.
14690 Fold the confirm-after-completion case into the `confirm' case.
14691 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14693 2009-12-06 Kevin Ryde <user42@zip.com.au>
14695 * ffap.el (ffap-rfc-path): Make this a defcustom since
14696 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14698 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14699 manuals, similar to existing setup for help-mode. (Bug#3913.)
14701 2009-12-05 Juri Linkov <juri@jurta.org>
14703 Save and restore dired buffer's point positions too. (Bug#4880)
14705 * dired.el (dired-save-positions): Return in the first element
14706 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14708 (dired-restore-positions): First restore buffer's position.
14709 While restoring window's positions, check if window still displays
14710 the original buffer.
14712 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14714 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14717 * shell.el (shell): Require ansi-color (Bug#5113).
14719 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14721 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14723 2009-12-05 Alan Mackenzie <acm@muc.de>
14725 * progmodes/cc-mode.el (c-before-hack-hook)
14726 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14727 `c-file-style' to work again. This reversion restores the current
14728 software to its state in Emacs 23.1. (Bug#4146)
14730 2009-12-05 Kevin Ryde <user42@zip.com.au>
14732 * textmodes/sgml-mode.el (sgml-lexical-context):
14733 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14735 2009-12-05 Juri Linkov <juri@jurta.org>
14737 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14738 for virtual nodes. (Bug#4147)
14739 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14740 when moving from a virtual node.
14741 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14742 (Info-mode): Add `Info-virtual-index' to the docstring.
14744 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14746 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14747 track of the buffer position of the end of a BibTeX entry as this
14748 position may change during reformatting.
14749 (bibtex-format-entry): Remove whitespace before processing
14750 numerical fields so that we recognize the latter properly.
14751 (bibtex-reformat): Do not use push which changes the global value
14752 of bibtex-entry-format.
14753 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14754 (bibtex-field-re-init): Replace only space characters by regexp
14756 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14757 (bibtex-initialize): Also update bibtex-strings.
14758 (bibtex-kill-field): Preserve white space at end of entry.
14759 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14760 Update bibtex-reference-keys.
14762 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14764 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14765 point after a star, if that's the only place where modifications can
14768 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14770 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14773 2009-12-04 Juri Linkov <juri@jurta.org>
14775 * proced.el (proced): Call `(proced-update t)' to update process
14776 information instead of only running proced-post-display-hook.
14777 (proced-send-signal): Add a leading space to the buffer name
14778 " *Marked Processes*" to make this buffer ephemeral.
14780 2009-12-04 Juri Linkov <juri@jurta.org>
14782 * dired.el (dired-auto-revert-buffer): New defcustom.
14783 (dired-internal-noselect): Use it.
14785 2009-12-04 Juri Linkov <juri@jurta.org>
14787 Change roles of modes and functions in image-mode.el (Bug#5062).
14789 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14790 in `auto-mode-alist'.
14791 (image-mode-previous-major-mode): New variable.
14792 (image-minor-mode-map): Rename from `image-mode-text-map'.
14793 (image-mode): Move graceful error-handling code from
14794 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14795 (image-minor-mode): Remove all image-handling code.
14796 Replace `image-mode-text-map' with `image-minor-mode-map'.
14797 Check for `image-type' in mode-line format string.
14798 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14799 (image-mode-as-text): New function with most code from
14800 `image-mode-maybe'.
14801 (image-toggle-display-text): Move code that removes image
14802 properties from `image-toggle-display' to here.
14803 (image-toggle-display-image): New function with code that adds
14804 image properties copied from `image-toggle-display'.
14805 (image-toggle-display): Remove most code with leaving only code
14806 that toggles between `image-mode-as-text' and `image-mode'.
14808 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14810 * net/newst-treeview.el
14811 (newsticker--treeview-list-highlight-start): Restored call to
14812 save-excursion: Selected item was stuck.
14813 (newsticker--treeview-list-select): New.
14814 (newsticker--treeview-item-show-text)
14815 (newsticker--treeview-item-show)
14816 (newsticker--treeview-item-update): Use new
14817 newsticker-treeview-item-mode.
14818 (newsticker-treeview-update): Keep current item.
14819 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14820 (newsticker--treeview-first-feed): Doc change.
14821 (newsticker-treeview-list-menu)
14822 (newsticker-treeview-item-menu): Add menu entries.
14823 (newsticker-treeview-item-mode): New.
14825 * net/newst-backend.el (newsticker-customize): Delete other
14828 2009-12-04 Sam Steingold <sds@gnu.org>
14830 * log-view.el (log-view-mode-map): "q" calls quit-window,
14831 like in all the other non-self-insert buffers.
14833 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14836 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14837 key decoding rather than do it manually via last-input-event +
14839 (term-exec): Use delete-and-extract-region.
14840 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14841 (term-process-pager): Remove unused var `i'.
14842 (term-dynamic-simple-complete): Make obsolete.
14843 (serial-update-config-menu): Remove unused vars `y' and `str'.
14844 (term-update-mode-line): Remove unused var `temp'.
14846 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14848 Limit the number of log entries displayed by default.
14849 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14850 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14851 using a prefix argument.
14853 2009-12-03 Glenn Morris <rgm@gnu.org>
14855 * progmodes/idlwave.el (class): Restore still useful declaration.
14857 2009-12-03 Alan Mackenzie <acm@muc.de>
14859 Enhance `c-parse-state' to run efficiently in "brace deserts".
14861 * progmodes/cc-mode.el (c-basic-common-init):
14862 Call c-state-cache-init.
14863 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14864 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14865 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14867 * progmodes/cc-langs.el (c-before-font-lock-function):
14868 c-extend-and-neutralize-syntax-in-CPP has been renamed
14869 c-neutralize-syntax-in-and-mark-CPP.
14871 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14872 with `category' properties now, not `syntax-table' ones.
14874 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14875 enhanced (but slower) version of c-end-of-macro that won't land
14876 inside a literal or on another awkward character.
14877 (c-state-cache-too-far, c-state-cache-start)
14878 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14879 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14880 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14881 (c-state-min-scan-pos, c-state-brace-pair-desert)
14882 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14883 buffer local variables.
14884 (c-state-literal-at, c-state-lit-beg)
14885 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14886 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14887 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14888 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14889 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14890 (c-renarrow-state-cache)
14891 (c-append-lower-brace-pair-to-state-cache)
14892 (c-state-push-any-brace-pair, c-append-to-state-cache)
14893 (c-remove-stale-state-cache)
14894 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14895 (c-invalidate-state-cache-1, c-parse-state-1)
14896 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14897 (c-parse-state): Enhance and refactor.
14898 (c-debug-parse-state): Amend to deal with all the new variables.
14900 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14901 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14902 modify to use category text properties rather than syntax-table ones.
14903 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14904 to switch off/on the syntactic paren property of C++ template
14905 delimiters using the category property.
14906 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14907 template delims suppressed.
14908 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14909 New constant/macros which apply category properties to the start
14910 and end of preprocessor constructs.
14911 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14912 "comment out" the syntactic value of characters in preprocessor
14914 (c-with-cpps-commented-out)
14915 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14916 with characters in all or all but one preprocessor constructs
14919 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14921 * proced.el (proced-filter-alist): Use regexp-quote.
14923 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14926 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14927 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14928 arguments. Expand `default-directory'.
14930 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14931 the benefit of returning an expanded localname.
14932 (tramp-tramp-file-p): Handle the case NAME is not a string.
14934 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14936 Add support for bzr shelve/unshelve.
14937 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14938 (vc-bzr-extra-menu-map): New variables.
14939 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14940 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14941 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14942 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14943 (vc-bzr-dir-extra-headers): Display shelves.
14945 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14947 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14949 * textmodes/bibtex.el (bibtex-complete-internal):
14950 Use completion-in-region.
14951 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14953 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14955 Support applying stashes. Improve UI.
14956 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14957 (vc-git-stash-apply, vc-git-stash-pop)
14958 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14959 (vc-git-stash-menu): New functions.
14960 (vc-git-stash-menu-map): New variable.
14961 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14963 2009-12-03 Glenn Morris <rgm@gnu.org>
14965 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14966 (vc-print-log-internal): Fix previous change.
14967 (vc-revert): Correct pluralization.
14969 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14971 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14972 it to be an alist any more.
14973 (makefile-complete): Use completion-in-region.
14975 * progmodes/octave-mod.el (octave-complete-symbol):
14976 Use completion-in-region.
14979 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14980 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14981 (idlwave-complete-class): Don't quote lambda.
14982 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14983 (idlwave-mode-map): Move initialization into declaration.
14984 (idlwave-action-and-binding): Use backquotes.
14985 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14987 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14988 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14989 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14990 `parts', and `all-parts'.
14991 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14992 (idlwave-convert-xml-system-routine-info): Remove unused string
14994 (idlwave-display-user-catalog-widget): Use dolist.
14995 (idlwave-scanning-lib): Declare dynamically-scoped var.
14996 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14997 (completion-highlight-first-word-only): Declare to silence bytecomp.
14998 (idlwave-popup-select): Tighten scope of `resp'.
14999 (idlwave-find-struct-tag): Remove unused var `beg'.
15000 (idlwave-after-load-rinfo-hook): Declare.
15001 (idlwave-sintern-class-info): Remove unused var `taglist'.
15002 (idlwave-find-class-definition): Remove unused var `list'.
15003 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15004 (idlwave-what-module-find-class): Remove unused var `classes'.
15006 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15008 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15010 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15012 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15013 buffers visited. Remove redundant current-buffer-saving.
15015 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15017 Use completion-in-buffer and remove uses of dynamic scoping.
15018 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15019 (pascal-buffer-to-use, pascal-flag): Don't declare.
15020 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15021 (pascal-get-completion-decl, pascal-keyword-completion):
15022 Add `pascal-str' argument, save-excursion,
15023 return the found completions, and don't filter with pascal-pred.
15024 (pascal-completion-cache): New var.
15025 (pascal-completion): Don't switch buffer any more (it was never
15026 necessary). Don't save-excursion any more (it's done by the called
15027 subroutines). Use a cache to avoid redundant computations.
15028 Use complete-with-action rather than pascal-completion-response and
15029 let it apply the predicate as well.
15030 (pascal-complete-word): Use completion-in-buffer when
15031 pascal-toggle-completions is nil.
15032 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15034 (pascal-comp-defun): Don't change buffer any more.
15035 Use complete-with-action rather than pascal-completion-response and
15036 let it apply the predicate as well.
15037 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15040 2009-12-02 Kenichi Handa <handa@m17n.org>
15042 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15043 shape for all Indic scripts.
15045 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15047 Use completion-in-buffer.
15048 * wid-edit.el (widget-field-text-end): New function.
15049 (widget-field-value-get): Use it.
15050 (widget-string-complete, widget-file-complete)
15051 (widget-color-complete): Use it and completion-in-region.
15052 (widget-complete): Don't narrow the buffer.
15054 2009-12-02 Glenn Morris <rgm@gnu.org>
15056 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15057 (rmail-select-summary): Use rmail-pop-to-buffer.
15058 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15059 rmail-pop-to-buffer, to prevent horizontal splits.
15061 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15062 save-excursion with save-current-buffer.
15063 Widen before searching. (Bug#5093)
15064 (diary-list-sexp-entries): Remove superfluous save-excursion.
15066 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15068 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15071 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15073 * ido.el (ido-file-internal): Handle filenames at point that do
15074 not have a directory part. (Bug#5049)
15076 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15078 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15079 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15081 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15083 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15084 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15087 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15089 * comint.el (comint-insert-input): Ignore clicks to the right of
15090 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15092 * vc.el (vc-print-log-internal): Don't wait for the process to
15093 terminate before setting up the major mode.
15095 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15098 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15101 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15103 2009-12-01 Glenn Morris <rgm@gnu.org>
15105 * window.el (window--display-buffer-2): Fix previous changes.
15107 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15109 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15111 2009-12-01 Glenn Morris <rgm@gnu.org>
15113 * Makefile.in (ELCFILES): Add mpc.elc.
15115 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15117 * mpc.el: New file.
15119 2009-12-01 Glenn Morris <rgm@gnu.org>
15121 * window.el (window-to-use): Define for compiler.
15123 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15124 consistent with others (no final period).
15126 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15127 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15129 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15131 Make vc-print-log buttons work.
15132 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15134 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15136 * savehist.el (savehist-autosave-interval): Allow setting to nil
15137 through customize. (Bug#5056)
15139 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15141 Fix references to jit-lock properties.
15142 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15143 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15144 (perl-font-lock-special-syntactic-constructs):
15145 Quote jit-lock-defer-multiline property.
15147 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15149 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15151 2009-11-30 Juri Linkov <juri@jurta.org>
15153 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15154 value `buffer' of `multi-isearch-next-buffer-current-function'.
15155 Use `(current-buffer)' when `buffer' is nil.
15156 (multi-isearch-next-buffer-from-list): Don't fallback to
15157 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15159 2009-11-30 Juri Linkov <juri@jurta.org>
15161 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15162 of buffers with `get-buffer' to `multi-isearch-buffers'.
15163 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15164 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15165 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15166 FILES with `expand-file-name' converting relative file names
15167 to absolute. Doc fix. (Bug#4727)
15169 2009-11-30 Juri Linkov <juri@jurta.org>
15171 * misearch.el (multi-isearch-read-buffers)
15172 (multi-isearch-read-matching-buffers): New functions.
15173 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15174 Use them in the `interactive' spec. Doc fix.
15175 (multi-isearch-read-files, multi-isearch-read-matching-files):
15177 (multi-isearch-files, multi-isearch-files-regexp):
15178 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15180 2009-11-30 Juri Linkov <juri@jurta.org>
15182 * doc-view.el (doc-view-continuous):
15183 Rename from `doc-view-continuous-mode'.
15184 (doc-view-menu): Move "Toggle display" to the top.
15185 Add submenu "Continuous" with radio buttons "Off"/"On"
15186 and "Save as Default".
15187 (doc-view-scroll-up-or-next-page)
15188 (doc-view-scroll-down-or-previous-page)
15189 (doc-view-next-line-or-next-page)
15190 (doc-view-previous-line-or-previous-page):
15191 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15193 2009-11-30 Juri Linkov <juri@jurta.org>
15195 * comint.el (comint-mode-map): Rebind `M-r' from
15196 `comint-previous-matching-input' to
15197 `comint-history-isearch-backward-regexp'.
15198 Unbind `M-s' to allow global key binding `M-s'.
15199 Add menu items for `comint-history-isearch-backward' and
15200 `comint-history-isearch-backward-regexp'. (Bug#3746)
15202 2009-11-30 Juri Linkov <juri@jurta.org>
15204 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15205 For def=recenter, replace `recenter' with `recenter-top-bottom'
15206 that is called with `this-command' and `last-command' let-bound
15207 to `recenter-top-bottom'. When the last `def' was not `recenter',
15208 set `recenter-last-op' to nil. (Bug#4981)
15210 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15212 Minor cleanup and simplification.
15213 * filecache.el (file-cache-add-directory)
15214 (file-cache-add-directory-recursively)
15215 (file-cache-add-from-file-cache-buffer)
15216 (file-cache-delete-file-regexp, file-cache-delete-directory)
15217 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15218 (file-cache-temp-minibuffer-message): Delete function.
15219 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15221 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15222 Don't signal an error when bumping into EOB in tr, s, or y.
15224 2009-11-29 Juri Linkov <juri@jurta.org>
15226 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15229 * descr-text.el (describe-char-unidata-list): Use lowercase name
15230 for "Unicode name" like in other tags.
15232 2009-11-29 Juri Linkov <juri@jurta.org>
15234 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15235 New compatibility macro.
15236 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15238 2009-11-29 Juri Linkov <juri@jurta.org>
15240 Add defcustom to define the cycling order of `recenter-top-bottom'.
15243 * window.el (recenter-last-op): Doc fix.
15244 (recenter-positions): New defcustom.
15245 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15246 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15248 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15250 Improve integration of Tramp and ange-ftp in eshell.
15252 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15253 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15254 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15256 * eshell/esh-util.el (top): Require also Tramp when compiling.
15257 (eshell-directory-files-and-attributes): Check for FTP remote
15259 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15260 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15261 (eshell-file-attributes): Handle ".". Return `entry'.
15263 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15264 (ange-ftp-directory-files-and-attributes)
15265 (ange-ftp-real-directory-files-and-attributes): New defuns.
15267 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15268 shell with "exec" when possible. This prevents trailing prompts
15269 in `start-file-process'.
15271 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15273 Try and remove assumptions about point-min==1.
15274 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15275 (rng-compute-mode-line-string): Show the validation percentage in
15276 terms of the narrowed text, not the widened text.
15277 (rng-do-some-validation): Don't catch internal errors when debugging.
15278 (rng-first-error): Simplify.
15279 (rng-after-change-function): Remove work around. AFAIK the bug has
15280 been fixed a while ago.
15282 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15283 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15285 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15287 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15288 `cd' doesn't always do it for us (bug#5067).
15290 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15291 on 2009-10-25 as part of some other change (bug#5067).
15293 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15295 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15297 (byte-compile-warnings): Use byte-compile-warning-types.
15298 (byte-compile-save-excursion): Warn about use of set-buffer right
15299 after save-excursion.
15301 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15302 the excursion as well.
15304 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15306 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15307 providing a Tramp related implementation of "su" and "sudo".
15308 (eshell-unix-initialize): Add "su" and "sudo".
15310 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15312 * net/socks.el (socks-send-command): Convert binary request to
15313 unibyte before sending. This fixes mishandling of some port
15314 numbers such as 129.
15316 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15318 * help.el (describe-bindings-internal): Remove `interactive'.
15320 * man.el (Man-completion-table): Trim a terminating "(".
15321 Remove the space between name page a section.
15322 Add the command's description on the `help-echo' property.
15323 Remove `process-connection-type' binding since it's unused by
15325 Provide completion for the "<section> <name>" format as well.
15326 (Man-default-man-entry): Remove spurious var shadowing the argument.
15328 2009-11-26 Kevin Ryde <user42@zip.com.au>
15330 * log-view.el: Add "Keywords: tools", since its other keywords
15331 aren't in finder-known-keywords, and following vc.el.
15333 * sha1.el (sha1-string-external): default-directory "/" in case
15334 otherwise non-existent. process-connection-type pipe for touch of
15335 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15337 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15339 Misc coding convention cleanups.
15340 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15341 hfy-init-kludge-hooks.
15342 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15343 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15344 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15346 (hfy-slant, hfy-weight): Use tables rather than code.
15347 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15348 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15349 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15350 (hfy-face-to-css): Remove `nconc' with single arg.
15351 (hfy-p-to-face-lennart): Use `or'.
15352 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15353 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15354 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15355 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15356 (hfy-force-fontification): Use run-hooks.
15358 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15360 Various minor fixes.
15361 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15362 Javascript belongs in the header, not the body.
15363 (hfy-javascript): Remove.
15364 (hfy-fontify-buffer): Don't insert it any more.
15365 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15366 Fix bug in invis handling when there were no invis props in a chunk.
15368 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15372 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15374 * finder.el (finder-mode-map): Add a menu.
15376 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15378 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15379 "unsigned" structs.
15381 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15382 fork" statement better.
15384 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15386 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15387 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15388 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15389 Reported by Clay Douglass.
15391 (verilog-auto-inst, verilog-auto-star-safe)
15392 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15393 Fix removing "// Interfaces" when saving .* expansions.
15394 Reported by Pierre-David Pfister.
15396 2009-11-26 Glenn Morris <rgm@gnu.org>
15398 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15401 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15403 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15404 Really use previous revision.
15406 2009-11-25 Kevin Ryde <user42@zip.com.au>
15408 * man.el (Man-completion-table): default-directory "/" in case
15409 doesn't otherwise exist. process-environment COLUMNS=999 so as
15410 not to truncate long names. process-connection-type pipe to avoid
15411 any chance of hitting the pseudo-tty TIOCGWINSZ.
15412 (man): completion-ignore-case t for friendliness and since man
15413 itself is case-insensitive on the command line.
15414 Further to Bug#3717.
15416 * arc-mode.el: Add "Keywords: files", so the details in its
15417 commentary can be reached from finder-by-keyword.
15418 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15419 editing mode, but it's comms related and sgml-mode.el has "comm"
15421 * textmodes/bibtex-style.el: Add "Keywords: tex".
15422 * international/isearch-x.el, international/ja-dic-cnv.el:
15423 * international/ja-dic-utl.el, international/kkc.el:
15424 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15426 2009-11-25 Juri Linkov <juri@jurta.org>
15428 * man.el (Man-completion-table): Modify regexp to include
15429 section names to completion strings. (Bug#3717)
15431 2009-11-25 Juri Linkov <juri@jurta.org>
15433 Search recursively in gzipped files. (Bug#4982)
15435 * progmodes/grep.el (grep-highlight-matches): Add new options
15436 `always' and `auto'. Doc fix.
15437 (grep-process-setup): Check `grep-highlight-matches' for
15438 `auto-detect' to determine the need to compute grep defaults.
15439 Move Windows/DOS specific --colors settings handling
15440 to `grep-compute-defaults'. Check `grep-highlight-matches'
15441 to get the value of "--color=".
15442 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15443 has the value `auto-detect'. Move Windows/DOS specific settings
15444 from `grep-process-setup'.
15445 (zrgrep): New command with alias `rzgrep'.
15447 2009-11-25 Juri Linkov <juri@jurta.org>
15449 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15450 to nil instead of switching off view-mode. (Bug#4896)
15452 2009-11-25 Juri Linkov <juri@jurta.org>
15454 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15456 * mwheel.el (mwheel-scroll-up-function)
15457 (mwheel-scroll-down-function): New defvars.
15458 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15459 `scroll-up', and `mwheel-scroll-down-function' instead of
15462 * doc-view.el (doc-view-scroll-up-or-next-page)
15463 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15464 Use this ARG in the call to image-scroll-up/image-scroll-down.
15465 Change `interactive' spec to "P". Goto next/previous page only
15466 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15467 SPC/DEL case). Doc fix.
15468 (doc-view-next-line-or-next-page)
15469 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15471 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15472 `doc-view-scroll-up-or-next-page', and buffer-local
15473 `mwheel-scroll-down-function' to
15474 `doc-view-scroll-down-or-previous-page'.
15476 2009-11-25 Juri Linkov <juri@jurta.org>
15478 Provide additional default values (directories at other Dired
15479 windows) via M-n in the minibuffer of some Dired commands.
15481 * dired-aux.el (dired-diff, dired-compare-directories)
15482 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15483 `minibuffer-default' in `minibuffer-with-setup-hook'.
15484 (dired-dwim-target-directory): Find a window that displays Dired
15485 buffer instead of failing when the next window is not Dired.
15486 Use `get-window-with-predicate' to find for the next Dired window.
15487 (dired-dwim-target-defaults): New function.
15489 * ediff-util.el (ediff-read-file-name):
15490 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15491 in `minibuffer-with-setup-hook'.
15493 2009-11-25 Juri Linkov <juri@jurta.org>
15495 Provide additional default values (file name at point or at the
15496 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15498 * minibuffer.el (read-file-name-defaults): New function.
15499 (read-file-name): Reset `minibuffer-default' to nil when
15500 it duplicates initial input `insdef'.
15501 Bind `minibuffer-default-add-function' to lambda that
15502 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15503 (minibuffer-insert-file-name-at-point): New command.
15505 * files.el (file-name-at-point-functions): New defcustom.
15506 (find-file-default): Remove defvar.
15507 (find-file-read-args): Don't use `find-file-default'.
15508 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15509 to `read-file-name'.
15510 (find-file-literally): Use `read-file-name' with
15511 `confirm-nonexistent-file-or-buffer'.
15513 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15515 * dired.el (dired-read-dir-and-switches):
15516 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15517 to `read-file-name'.
15518 (dired-file-name-at-point): New function.
15519 (dired-mode): Add hook `dired-file-name-at-point' to
15520 `file-name-at-point-functions'.
15522 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15524 Really make the *Completions* window soft-dedicated (bug#5030).
15525 * window.el (window--display-buffer-2): Add `dedicated' argument.
15526 (display-buffer): Pass it when needed so the dedicated flag is set
15527 after calling set-window-buffer, which would otherwise reset it.
15529 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15531 * progmodes/meta-mode.el (meta-complete-symbol):
15532 * progmodes/etags.el (complete-tag):
15533 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15534 Use completion-in-region.
15536 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15537 (dabbrev-completion): Use completion-in-region.
15538 (dabbrev--abbrev-at-point): Simplify regexp.
15540 * abbrev.el (abbrev--before-point): Use word-motion functions
15541 if :regexp is not specified (bug#5031).
15543 * subr.el (string-prefix-p): New function.
15545 * man.el (Man-completion-cache): New var.
15546 (Man-completion-table): Use it.
15548 * vc.el (vc-print-log-internal): Make `limit' optional for better
15549 compatibility (e.g. with vc-annotate.el).
15551 2009-11-24 Kevin Ryde <user42@zip.com.au>
15553 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15554 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15556 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15557 when .el source file not found or other error.
15559 2009-11-24 Markus Triska <markus.triska@gmx.at>
15561 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15563 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15565 Handle the [back] button properly (bug#4979).
15566 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15567 Use help-setup-xref, help-buffer, and with-help-window.
15568 (describe-char): Add `buffer' argument.
15569 Pass proper command to help-setup-xref. Don't meddle with
15570 help-xref-stack-item directly.
15571 (describe-text-category): Use with-help-window and help-buffer.
15573 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15574 for the displayed buffer (bug#4887).
15576 * man.el (Man-completion-table): New function.
15579 2009-11-24 David Reitter <david.reitter@gmail.com>
15581 * vc-git.el (vc-git-registered): Use checkout directory (where
15582 .git is) rather than the file's directory and a relative path spec
15583 to work around a bug in git.
15585 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15587 Improve handling of processes on remote hosts.
15589 * eshell/esh-util.el (eshell-path-env): New defvar.
15590 (eshell-parse-colon-path): New defun.
15591 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15593 * eshell/esh-ext.el (eshell-search-path):
15594 Use `eshell-parse-colon-path'.
15595 (eshell-remote-command): Remove argument HANDLER.
15596 (eshell-external-command): Check for FTP remote connection.
15598 * eshell/esh-proc.el (eshell-gather-process-output):
15599 Use `file-truename', in order to start also symlinked files.
15600 Apply `start-file-process' instead of `start-process'.
15601 Shorten `command' to the local file name part.
15603 * eshell/em-cmpl.el (eshell-complete-commands-list):
15604 Use `eshell-parse-colon-path'.
15606 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15608 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15609 to `eshell-directory-change-hook'.
15611 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15613 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15614 because it could be enabled automatically if view-read-only is non-nil.
15616 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15618 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15619 made on 2009-11-22.
15621 2009-11-24 Glenn Morris <rgm@gnu.org>
15623 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15624 deleted variable bookmark-bmenu-bookmark-column.
15626 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15628 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15630 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15632 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15633 two slashes to the "file:" prefix.
15634 (browse-url-file-url): De-munge Cygwin filenames before passing
15635 them to Windows browser.
15636 (browse-url-default-windows-browser): Use call-process.
15638 2009-11-23 Juri Linkov <juri@jurta.org>
15640 Implement DocView Continuous mode. (Bug#4896)
15641 * doc-view.el (doc-view-continuous-mode): New defcustom.
15642 (doc-view-mode-map): Bind C-n/<down> to
15643 `doc-view-next-line-or-next-page', C-p/<up> to
15644 `doc-view-previous-line-or-previous-page'.
15645 (doc-view-next-line-or-next-page)
15646 (doc-view-previous-line-or-previous-page): New commands.
15648 2009-11-23 Juri Linkov <juri@jurta.org>
15650 Implement Isearch in comint input history. (Bug#3746)
15651 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15652 `isearch-mode-hook'.
15653 (comint-history-isearch): New defcustom.
15654 (comint-history-isearch-backward)
15655 (comint-history-isearch-backward-regexp): New commands.
15656 (comint-history-isearch-message-overlay): New buffer-local variable.
15657 (comint-history-isearch-setup, comint-history-isearch-end)
15658 (comint-goto-input, comint-history-isearch-search)
15659 (comint-history-isearch-message, comint-history-isearch-wrap)
15660 (comint-history-isearch-push-state)
15661 (comint-history-isearch-pop-state): New functions.
15663 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15665 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15667 (tramp-handle-make-symbolic-link)
15668 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15670 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15671 (tramp-handle-process-file): Use it.
15673 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15675 * window.el (move-to-window-line-last-op): Remove.
15676 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15678 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15680 Make M-r mirror the new cycling behavior of C-l.
15681 * window.el (move-to-window-line-last-op): New var.
15682 (move-to-window-line-top-bottom): New command.
15683 (global-map): Bind M-r move-to-window-line-top-bottom.
15685 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15687 * dired-x.el (dired-guess-shell-alist-default):
15688 Support xz format. (Bug#4953)
15690 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15692 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15693 last-command-char/last-command-event.
15694 (viper-prefix-arg-value): Do correct conversion of event-char for
15697 * emulation/viper-util.el, emulation/viper.el:
15698 Use viper-last-command-char instead of
15699 last-command-char/last-command-event.
15701 * ediff-init.el, ediff-mult.el, ediff-util.el:
15702 Replace last-command-char and last-command-event
15703 with (ediff-last-command-char) everywhere.
15705 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15706 created in fundamental mode.
15708 * ediff.el (ediff-version): Revert the change of interactive-p to
15709 called-interactively-p.
15711 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15713 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15714 generation from word-movement command names.
15716 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15718 * cus-start.el (all): Add native condition for font-use-system-font.
15720 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15722 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15723 Correct the patch from 2009-11-18. (Bug#3910)
15725 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15727 * progmodes/subword.el: Rename from lisp/subword.el.
15729 * subword.el: Rename to progmodes/subword.el.
15731 * Makefile.in (ELCFILES): Adapt to subword.el move.
15733 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15734 Stefan Monnier <monnier@iro.umontreal.ca>
15736 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15737 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15738 (bookmark-bmenu-show-filenames): Use push.
15739 (bookmark-bmenu-hide-filenames): Use local var instead of
15740 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15741 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15742 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15743 filenames now that the bookmark names are always available.
15745 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15747 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15748 (bookmark-search-pattern): Move and leave unbound.
15749 (bookmark-bmenu-mode-map): Change binding.
15750 (bookmark-read-search-input): Simplify.
15751 Don't use text-char-description. Don't error on non-char events.
15752 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15753 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15754 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15755 Use a local var for the timer.
15756 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15757 (i.e. bookmark-bmenu-search).
15759 2009-11-21 Glenn Morris <rgm@gnu.org>
15761 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15763 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15765 * net/browse-url.el (browse-url-default-windows-browser):
15766 Use cygstart for cygwin.
15768 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15770 * bookmark.el: Formatting and doc fixes only:
15771 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15772 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15773 Minor grammar and punctuation fixes in doc string.
15774 (bookmark-read-search-input): Adjust to fit within 80 columns.
15776 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15778 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15779 (c-backward-into-nomenclature): Adapt to subword renaming.
15781 * subword.el (subword-forward, subword-backward, subword-mark)
15782 (subword-kill, subword-backward-kill, subword-transpose)
15783 (subword-downcase, subword-upcase, subword-capitalize)
15784 (subword-forward-internal, subword-backward-internal):
15785 Rename from forward-subword, backward-subword, mark-subword,
15786 kill-subword, backward-kill-subword, transpose-subwords,
15787 downcase-subword, upcase-subword, capitalize-subword,
15788 forward-subword-internal, backward-subword-internal.
15790 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15792 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15794 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15796 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15797 (bookmark-bmenu-filter-alist-by-regexp)
15798 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15799 (bookmark-bmenu-search): New command.
15800 (bookmark-bmenu-mode-map): Bind it.
15802 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15804 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15805 backward-subword to quit the byte-compiler.
15807 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15809 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15811 * progmodes/cc-cmds.el (c-update-modeline)
15812 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15813 Refer to subword.el functions instead of cc-subword.el.
15815 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15816 subword.el functions instead of cc-subword.el.
15818 * progmodes/cc-subword.el: Rename to subword.el.
15819 * subword.el: Rename from progmodes/cc-subword.el.
15820 (subword-mode-map): Rename from c-subword-mode-map.
15821 (subword-mode): Rename from c-subword-mode.
15822 (global-subword-mode): New global minor mode.
15823 (forward-subword): Rename from c-forward-subword.
15824 (backward-subword): Rename from c-backward-subword.
15825 (mark-subword): Rename from c-mark-subword.
15826 (kill-subword): Rename from c-kill-subword.
15827 (backward-kill-subword): Rename from c-backward-kill-subword.
15828 (transpose-subwords): Rename from c-tranpose-subword.
15829 (downcase-subword): Rename from c-downcase-subword.
15830 (capitalize-subword): Rename from c-capitalize-subword.
15831 (forward-subword-internal): Rename from c-forward-subword-internal.
15832 (backward-subword-internal): Rename from c-backward-subword-internal.
15834 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15836 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15837 from a dired buffer.
15838 (vc-dired-deduce-fileset): New function.
15839 (vc-root-diff, vc-print-root-log): Use it.
15841 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15842 nil LIMIT argument to vc-print-log-internal.
15844 2009-11-20 Glenn Morris <rgm@gnu.org>
15846 * Makefile.in (ELCFILES): Regenerate.
15848 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15850 * calc/calc.el (calc-set-mode-line):
15851 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15852 (math-format-number): Rename `math-format-complement-signed' to
15853 `math-format-twos-complement'.
15855 * calc/calc-bin.el (math-format-twos-complement): Rename from
15856 math-format-complement-signed.
15857 (calc-radix): Rename `calc-complement-signed-mode' to
15858 `calc-twos-complement-mode'.
15859 (calc-octal-radix, calc-hex-radix): Add an argument for
15862 * calc/calc-embed.el (calc-embedded-mode-vars):
15863 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15865 * calc/calc-ext.el (calc-init-extensions):
15866 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15867 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15869 * calc/calc-units.el (math-build-units-table-buffer):
15870 Let `calc-twos-complement-mode' be nil.
15872 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15875 * calc/calc-vec.el (calcFunc-vunpack):
15876 * calc/calc-aent.el (calc-do-calc-eval):
15877 * calc/calc-forms.el (math-format-date):
15878 * calc/calc-graph.el (calc-graph-plot):
15879 * calc/calc-math.el (math-use-emacs-fn):
15880 * calc/calccomp.el (math-compose-expr):
15881 Let `calc-twos-complement-mode' be nil.
15883 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15885 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15886 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15887 * minibuffer.el (completion-in-region-functions): New hook.
15888 (completion-in-region): New function.
15889 * emacs-lisp/lisp.el (lisp-complete-symbol):
15890 * pcomplete.el (pcomplete-std-complete): Use it.
15892 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15894 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15895 (latex-complete-alist): New vars.
15896 (latex-string-prefix-p, latex-complete-bibtex-keys)
15897 (latex-complete-envnames, latex-complete-refkeys)
15898 (latex-complete-data): New functions.
15899 (latex-complete, latex-indent-or-complete): New commands.
15901 * window.el (display-buffer-mark-dedicated): New var.
15902 (display-buffer): Obey it.
15903 * minibuffer.el (minibuffer-completion-help): Use it.
15905 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15907 * filecache.el (file-cache-add-file): Use push and cons.
15908 (file-cache-delete-file-regexp): Use push.
15909 (file-cache-complete): Use completion-in-region.
15911 * simple.el (with-wrapper-hook): Fix thinko.
15913 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15914 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15915 Use with-current-buffer and string-to-number.
15916 (hfy-fallback-colour-values): Use assoc-string.
15917 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15918 (hfy-face-at): Remove unused var `found-face'.
15919 (hfy-compile-stylesheet): Remove unused var `css'.
15920 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15922 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15923 Use with-current-buffer.
15924 (hfy-text-p): Use expand-file-name and fewer setq.
15926 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15928 * htmlfontify.el, hfy-cmap.el: New files.
15930 2009-11-19 Juri Linkov <juri@jurta.org>
15932 * minibuffer.el (completions-format): New defcustom.
15933 (completion--insert-strings): Implement vertical format.
15935 * simple.el (switch-to-completions): Move point to the first
15936 completion when point was at the beginning of the buffer.
15938 2009-11-19 Juri Linkov <juri@jurta.org>
15940 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15942 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15944 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15946 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15947 (mail-signature): Change default to t.
15948 (mail-from-style): Deprecate `system-default' value.
15949 (mail-insert-from-field): For default value of mail-from-style,
15950 default to `angles' unless `angles' needs quoting and `parens'
15952 (mail-citation-prefix-regexp): Use citation regexp from
15955 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15957 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15958 Set variables for computing the prompt for reading password.
15960 2009-11-19 Glenn Morris <rgm@gnu.org>
15962 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15964 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15966 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15967 (newsticker-treeview-listwindow-height): Fix custom type.
15969 2009-11-19 Kenichi Handa <handa@m17n.org>
15971 * descr-text.el (describe-char-padded-string): Compose with TAB
15972 only if there's a font for CH.
15973 (describe-char): Fix the condition for detecting a trivial composition.
15975 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15977 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15978 more accurate version of the regexp. (Bug#3910)
15980 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15982 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15984 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15986 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15987 (font-setting-change-default-font): Fix typo in docstring.
15989 2009-11-18 Alan Mackenzie <acm@muc.de>
15991 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15993 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15995 * font-setting.el (font-use-system-font): Move ...
15997 * cus-start.el (all): ... to here.
15999 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16001 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16002 Don't set `ad-return-value' if `ad-do-it' doesn't.
16004 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16007 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16009 * menu-bar.el: Put "Use system font" in Option-menu.
16010 (menu-bar-options-save): Add font-use-system-font.
16012 * loadup.el: If feature system-font-setting or font-render-setting is
16013 there, load font-setting.
16015 * Makefile.in (ELCFILES): Add font-settings.el.
16016 * font-setting.el: New file.
16018 2009-11-17 Glenn Morris <rgm@gnu.org>
16020 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16022 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16023 Preserve point in the list buffer. (Bug#4939)
16025 (newsticker--treeview-list-update-highlight)
16026 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16028 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16030 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16033 * calc/calc-ext.el (calc-init-extensions): Remove references to
16036 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16038 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16039 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16042 2009-11-16 Kevin Ryde <user42@zip.com.au>
16044 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16045 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16047 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16048 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16049 Ignore trailing spaces by omit-nulls to split-string (fixing
16050 regression from Emacs 21 due to the incompatible split-string
16051 change). (Bug #4928.)
16053 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16055 * vc.el (vc-log-show-limit): Default to 2000.
16056 (vc-print-log-internal): Insert buttons to request more entries
16057 when limiting the output.
16059 * vc-sccs.el (vc-sccs-print-log):
16060 * vc-rcs.el (vc-rcs-print-log):
16061 * vc-cvs.el (vc-cvs-print-log):
16062 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16065 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16067 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16068 error when `tramp-gvfs-dbus-event-vector' is set.
16069 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16071 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16073 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16075 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16077 * net/dbus.el (dbus-unregister-service): New defun.
16078 (dbus-register-property): Register the handlers of
16079 "org.freedesktop.DBus.Properties" for SERVICE.
16080 (dbus-property-handler): Fix docstring.
16082 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16084 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16085 Quote doc string reference in defvaralias as it is not in special form.
16086 (byte-compile-output-docform): Doc fix.
16088 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16090 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16091 (calc-complement-signed-mode): New variables.
16092 (calc-set-mode-line): Add indicator for twos-complements.
16093 (math-format-number): Format twos-complement notation.
16095 * calc/calc-bin.el (calc-word-size): Reset the variables
16096 `math-2-word-size' and `math-half-2-word-size'.
16097 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16098 (calc-symclip): New functions.
16100 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16102 * calc/calc-embed.el (calc-embedded-mode-vars):
16103 Add `calc-complement-signed-mode' to the list of modes.
16105 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16106 (calc-b-oper-keys): Add `calc-symclip' to list.
16108 * calc/calc-ext.el (math-read-number-fancy): Read complement
16110 (calc-init-extensions): Add binding for `calc-symclip'.
16111 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16113 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16115 (calc-modes-menu): Add item for twos complement mode.
16117 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16119 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16121 * register.el (jump-to-register, insert-register): Handle Semantic
16122 tags. From commented-out advice in semantic/senator.el.
16124 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16126 * vc.el (vc-log-show-limit): New variable.
16127 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16128 when using a prefix argument.
16129 (vc-print-log-internal): Add new argument LIMIT.
16131 * vc-svn.el (vc-svn-print-log):
16132 * vc-mtn.el (vc-mtn-print-log):
16133 * vc-hg.el (vc-hg-print-log):
16134 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16135 pass it to the log command when set. Make the BUFFER argument
16138 * vc-sccs.el (vc-sccs-print-log):
16139 * vc-rcs.el (vc-rcs-print-log):
16140 * vc-git.el (vc-git-print-log):
16141 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16142 ignore it. Make the BUFFER argument non-optional.
16144 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16146 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16148 * dired.el (dired-mode-map): Move encryption items to "Operate"
16151 * strokes.el (strokes-update-window-configuration): Make strokes
16152 buffer current before erasing (Bug#4906).
16154 2009-11-15 Juri Linkov <juri@jurta.org>
16156 * simple.el (set-mark-default-inactive): Add :type, :group
16157 and :version. (Bug#4876)
16159 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16161 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16162 (archive-unique-fname): ... here. (Bug#4929)
16164 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16166 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16169 * novice.el (disabled-command-function): Add useful args.
16170 Setup the help buffer so that [back] works.
16171 Remove redundant call to help-mode.
16172 (disabled-command-function): Use `case'.
16173 (en/disable-command): New function extracted from enable-command.
16174 (enable-command, disable-command): Use it.
16176 2009-11-14 Glenn Morris <rgm@gnu.org>
16178 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16179 constants. (Bug#4913)
16181 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16183 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16185 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16186 defined in C that have no doc-strings. (Bug#1063)
16188 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16190 * cus-edit.el (data, files):
16191 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16193 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16195 * simple.el (shell-command): Doc fix (Bug#4891).
16197 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16199 2009-11-14 Glenn Morris <rgm@gnu.org>
16201 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16202 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16203 If they are already loaded, eval-after-load will do the right thing.
16205 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16208 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16210 * simple.el (x-selection-owner-p): Declare.
16211 (read-mail-command): Use custom radio type rather than choice.
16212 (completion-no-auto-exit): Doc fix.
16214 * custom.el (defgroup):
16215 * epg-config.el (epg): Doc fixes.
16217 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16219 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16220 * international/ccl.el (define-ccl-program): Do not purecopy the
16221 docstring, defconst does it anyway.
16223 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16225 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16228 * x-dnd.el (x-dnd-maybe-call-test-function):
16229 * window.el (split-window-vertically):
16230 * whitespace.el (whitespace-help-on):
16231 * vc-rcs.el (vc-rcs-consult-headers):
16232 * userlock.el (ask-user-about-lock-help)
16233 (ask-user-about-supersession-help):
16234 * type-break.el (type-break-force-mode-line-update):
16235 * time-stamp.el (time-stamp-conv-warn):
16236 * terminal.el (te-set-output-log, te-more-break, te-filter)
16237 (te-sentinel, terminal-emulator):
16238 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16239 (term-write-input-ring, term-check-source, term-start-output-log):
16240 (term-display-buffer-line, term-dynamic-list-completions):
16241 (term-ansi-make-term, serial-term):
16242 * subr.el (selective-display):
16243 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16244 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16245 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16246 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16247 (speedbar-remove-localized-speedbar-support)
16248 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16249 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16250 (speedbar-buffers-line-directory):
16251 * simple.el (shell-command-on-region, append-to-buffer)
16252 (prepend-to-buffer):
16253 * shadowfile.el (shadow-save-todo-file):
16254 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16255 (scroll-bar-maybe-set-window-start):
16256 * sb-image.el (speedbar-image-dump):
16257 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16258 (load-save-place-alist-from-file):
16259 * ps-samp.el (ps-print-message-from-summary):
16260 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16261 (ps-background-image, ps-begin-job, ps-do-despool):
16262 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16263 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16264 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16265 (pr-call-process, pr-file-list, pr-interface-save):
16266 * novice.el (disabled-command-function)
16267 (enable-command, disable-command):
16268 * mouse.el (mouse-buffer-menu-alist):
16269 * mouse-copy.el (mouse-kill-preserving-secondary):
16270 * macros.el (kbd-macro-query):
16271 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16272 * informat.el (batch-info-validate):
16273 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16274 * hippie-exp.el (try-expand-dabbrev-visible):
16275 * help-mode.el (help-make-xrefs):
16276 * help-fns.el (describe-variable):
16277 * generic-x.el (bat-generic-mode-run-as-comint):
16278 * finder.el (finder-mouse-select):
16279 * find-dired.el (find-dired-sentinel):
16280 * filesets.el (filesets-file-close):
16281 * files.el (list-directory):
16282 * faces.el (list-faces-display, describe-face):
16283 * facemenu.el (list-colors-display):
16284 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16285 * epg.el (epg--process-filter, epg-cancel):
16286 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16287 (epa--read-signature-type):
16288 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16289 (emerge-file-names):
16290 * ehelp.el (electric-helpify):
16291 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16292 * ediff-vers.el (rcs-ediff-view-revision):
16293 * ediff-util.el (ediff-setup):
16294 * ediff-mult.el (ediff-append-custom-diff):
16295 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16297 * echistory.el (Electric-command-history-redo-expression):
16298 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16299 * disp-table.el (describe-display-table):
16300 * dired.el (dired-find-buffer-nocreate):
16301 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16302 * dabbrev.el (dabbrev--same-major-mode-p):
16303 * chistory.el (list-command-history):
16304 * apropos.el (apropos-documentation):
16305 * allout.el (allout-obtain-passphrase):
16306 (allout-copy-exposed-to-buffer):
16307 (allout-verify-passphrase): Use with-current-buffer.
16309 2009-11-13 Glenn Morris <rgm@gnu.org>
16311 * Makefile.in (ELCFILES): Regenerate.
16313 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16315 * net/dbus.el (dbus-registered-objects-table): Rename from
16316 `dbus-registered-functions-table', because it contains also properties.
16317 (dbus-unregister-object): Unregister also properties.
16318 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16319 Use a timeout of 500 msec, in order to not block.
16320 (dbus-register-property, dbus-property-handler): New defuns.
16322 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16324 * simple.el (minibuffer-default-add-completions): Drop deprecated
16327 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16329 * textmodes/artist.el (artist-mouse-choose-operation):
16330 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16331 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16332 (artist-compute-up-event-key): New function.
16333 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16335 2009-11-13 Kenichi Handa <handa@m17n.org>
16337 * language/japan-util.el: Make sure that the value of jisx0208
16338 property is jisx0208 character.
16340 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16342 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16343 car or each item, not the whole list.
16345 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16347 * minibuffer.el (minibuffer-completion-help):
16348 Use minibuffer-hide-completions.
16350 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16352 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16353 (dired-revert): Use them (bug#4880).
16355 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16357 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16359 2009-11-12 Juri Linkov <juri@jurta.org>
16361 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16363 (find-file-literally-at-point): Alias of `ffap-literally'.
16365 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16367 * textmodes/ispell.el (ispell-skip-region-alist):
16368 * textmodes/css-mode.el (auto-mode-alist):
16369 * progmodes/compile.el (auto-mode-alist):
16370 * international/mule.el (ctext-non-standard-encodings-alist)
16371 (ctext-non-standard-encodings-regexp):
16372 * simple.el (shell-command-switch, text-read-only):
16373 * replace.el (occur-mode-map):
16374 * paths.el (rmail-file-name):
16375 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16376 * find-file.el (ff-special-constructs):
16377 * files.el (file-name-handler-alist):
16378 * composite.el: Purecopy strings.
16380 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16382 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16384 * widget.el (define-widget): Purecopy the docstring.
16385 * international/mule-cmds.el (charset): Do not purecopy the
16386 docstring here, define-widget does it.
16388 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16389 * textmodes/bibtex-style.el (auto-mode-alist):
16390 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16391 * progmodes/compile.el (compile-command):
16392 * language/korea-util.el (default-korean-keyboard):
16393 * international/mule-conf.el (file-coding-system-alist):
16394 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16395 * tooltip.el (tooltip-frame-parameters):
16396 * newcomment.el (comment-end, comment-padding):
16397 * dired.el (dired-trivial-filenames):
16398 * comint.el (comint-file-name-prefix): Purecopy initial values.
16400 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16402 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16403 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16405 (tramp-advice-make-auto-save-file-name)
16406 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16407 after removing the advice.
16409 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16411 * progmodes/grep.el (grep-regexp-alist):
16412 * international/mule-cmds.el (iso-2022-control-alist):
16413 * emacs-lisp/timer.el (timer-duration-words):
16414 * subr.el (version-separator, version-regexp-alist):
16415 * minibuffer.el (completion-styles-alist):
16416 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16417 Change defvars to defconsts.
16419 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16420 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16421 * international/mule-conf.el: Allow to be byte compiled.
16423 * international/mule.el (define-charset): Purecopy props.
16424 (load-with-code-conversion): Purecopy doc string and file name.
16425 (put-charset-property): Purecopy strings.
16426 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16428 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16429 (define-char-code-property): Correctly purecopy the table.
16431 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16433 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16435 * subr.el (add-hook): Purecopy strings.
16436 (eval-after-load): Purecopy load-history-regexp and the form.
16438 * custom.el (custom-declare-group): Purecopy load-file-name.
16440 * subr.el (menu-bar-separator): New defconst.
16441 * net/eudc.el (eudc-tools-menu):
16442 * international/mule-cmds.el (set-coding-system-map)
16443 (mule-menu-keymap):
16444 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16445 * vc-hooks.el (vc-menu-map):
16446 * replace.el (occur-mode-map):
16447 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16448 (menu-bar-edit-menu, menu-bar-goto-menu)
16449 (menu-bar-custom-menu, menu-bar-showhide-menu)
16450 (menu-bar-options-menu, menu-bar-tools-menu)
16451 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16452 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16453 (menu-bar-help-menu):
16454 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16455 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16457 * term/x-win.el (x-gtk-stock-map):
16458 * progmodes/vera-mode.el (auto-mode-alist):
16459 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16460 (inferior-lisp-program, inferior-lisp-load-command):
16461 * progmodes/hideshow.el (hs-special-modes-alist):
16462 * progmodes/gud.el (same-window-regexps):
16463 * progmodes/grep.el (grep-program, find-program, xargs-program):
16464 * net/telnet.el (same-window-regexps):
16465 * net/rlogin.el (same-window-regexps):
16466 * language/ethiopic.el (font-ccl-encoder-alist):
16467 * vc-sccs.el (vc-sccs-master-templates):
16468 * vc-rcs.el (vc-rcs-master-templates):
16469 * subr.el (cl-assertion-failed):
16470 * simple.el (next-error-overlay-arrow-position):
16471 * lpr.el (lpr-command):
16472 * locate.el (locate-ls-subdir-switches):
16473 * info.el (same-window-regexps, info)
16474 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16475 * image-mode.el (image-mode, auto-mode-alist):
16476 * hippie-exp.el (hippie-expand-ignore-buffers):
16477 * format.el (format-alist):
16478 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16480 * facemenu.el (facemenu-keybindings):
16481 * dired.el (dired-listing-switches, dired-chown-program):
16482 * diff.el (diff-switches, diff-command):
16483 * cus-edit.el (same-window-regexps):
16484 * bindings.el (mode-line-mule-info)
16485 (mode-line-buffer-identification): Purecopy strings.
16487 2009-11-11 Juri Linkov <juri@jurta.org>
16489 * simple.el (dired-get-filename) <declare-function>:
16490 Tell the byte-compiler about dired-get-filename.
16491 (shell-command): In Dired mode, get filename from the current line
16492 as the default value.
16494 2009-11-10 Glenn Morris <rgm@gnu.org>
16496 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16497 * calendar/holidays.el, progmodes/cperl-mode.el:
16498 Update x-popup-menu declarations.
16500 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16501 (list-load-path-shadows): Use dolist.
16502 (list-load-path-shadows): Use with-current-buffer.
16504 2009-11-10 Juri Linkov <juri@jurta.org>
16506 * minibuffer.el (read-file-name): Support a list of default values
16507 in `default-filename'. Use the first file name where only one
16508 element is required. Doc fix.
16510 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16512 * net/dbus.el (dbus-unregister-object): Release service, if no
16513 other method is registered for it.
16515 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16517 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16518 bookmark-sort-flag is non-nil (Bug#4653).
16520 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16522 * emulation/cua-base.el: Add CUA property to some CC mode commands
16525 2009-11-08 Kevin Ryde <user42@zip.com.au>
16527 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16528 at end of sentence (Bug#4818).
16530 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16532 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16533 Handle "see declaration of" MSFT statements (Bug#4100).
16535 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16537 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16538 (tramp-advice-file-expand-wildcards): Unload via
16539 `ad-remove-advice'.
16541 * net/trampver.el: Update release number.
16543 2009-11-08 Kevin Ryde <user42@zip.com.au>
16545 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16548 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16550 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16551 in order to keep context in SELinux.
16553 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16555 * dired-aux.el (dired-query): Place cursor in echo area and allow
16558 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16559 menu item if not on a directory (Bug#4701).
16561 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16563 Sync with Tramp 2.1.17.
16565 * net/tramp.el (tramp-handle-copy-directory): Don't use
16566 `file-remote-p' (due to compatibility).
16568 * net/tramp-compat.el (tramp-compat-copy-directory)
16569 (tramp-compat-delete-directory): New defuns.
16571 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16572 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16573 Use `tramp-compat-delete-directory'.
16575 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16576 (tramp-smb-handle-delete-directory):
16577 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16579 * net/trampver.el: Update release number.
16581 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16583 * tar-mode.el (tar-copy): Call write-region on the right buffer
16586 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16587 by hand, if necessary (Bug#4878).
16589 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16591 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16592 align size column (Bug#4839).
16594 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16597 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16599 * progmodes/ld-script.el (auto-mode-alist):
16600 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16602 * cus-face.el (custom-declare-face): Purecopy face spec.
16604 2009-11-06 Kenichi Handa <handa@m17n.org>
16606 * international/uni-bidi.el: Re-generated.
16607 * international/uni-category.el: Re-generated.
16608 * international/uni-combining.el: Re-generated.
16609 * international/uni-mirrored.el: Re-generated.
16611 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16613 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16614 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16615 (tex-start-options, slitex-run-command, latex-run-command)
16616 (tex-run-command, tex-directory):
16617 * textmodes/ispell.el (ispell-html-skip-alists)
16618 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16619 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16620 (adaptive-fill-regexp):
16621 * textmodes/dns-mode.el (auto-mode-alist):
16622 * progmodes/python.el (interpreter-mode-alist):
16623 * progmodes/etags.el (tags-compression-info-list):
16624 * progmodes/etags.el (tags-file-name):
16625 * net/browse-url.el (browse-url-galeon-program)
16626 (browse-url-firefox-program):
16627 * mail/sendmail.el (mail-signature-file)
16628 (mail-citation-prefix-regexp):
16629 * international/mule-conf.el (eight-bit):
16630 * international/latexenc.el (latex-inputenc-coding-alist):
16631 * international/fontset.el (x-pixel-size-width-font-regexp):
16632 * emacs-lisp/warnings.el (warning-type-format):
16633 * emacs-lisp/trace.el (trace-buffer):
16634 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16635 (emacs-lisp-mode-map):
16636 * calendar/holidays.el (holiday-solar-holidays)
16637 (holiday-bahai-holidays, holiday-islamic-holidays)
16638 (holiday-christian-holidays, holiday-hebrew-holidays)
16639 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16640 (hebrew-holidays-1, holiday-oriental-holidays)
16641 (holiday-general-holidays):
16642 * x-dnd.el (x-dnd-known-types):
16643 * tool-bar.el (tool-bar):
16644 * startup.el (site-run-file):
16645 * shell.el (shell-dumb-shell-regexp):
16646 * rfn-eshadow.el (file-name-shadow-tty-properties)
16647 (file-name-shadow-properties):
16648 * paths.el (remote-shell-program, news-directory):
16649 * mouse.el ([C-down-mouse-3]):
16650 * menu-bar.el (menu-bar-tools-menu):
16651 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16652 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16653 (jka-compr-compression-info-list):
16654 * isearch.el (search-whitespace-regexp):
16655 * image-file.el (image-file-name-extensions):
16656 * find-dired.el (find-ls-option):
16657 * files.el (directory-listing-before-filename-regexp)
16658 (directory-free-space-args, insert-directory-program)
16659 (list-directory-brief-switches, magic-fallback-mode-alist)
16660 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16661 (automount-dir-prefix):
16662 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16663 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16664 (face-font-registry-alternatives, face-font-registry-alternatives)
16665 (face-font-family-alternatives):
16666 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16667 (facemenu-foreground-menu, facemenu-face-menu):
16668 * epa-hook.el (epa-file-name-regexp):
16669 * dnd.el (dnd-protocol-alist):
16670 * textmodes/rst.el (auto-mode-alist):
16671 * button.el (default-button): Purecopy strings.
16673 2009-11-06 Glenn Morris <rgm@gnu.org>
16675 * Makefile.in (ELCFILES): Update.
16677 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16679 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16680 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16682 * nxml/xsd-regexp.el (xsdre-gen-categories):
16683 * nxml/xmltok.el (xmltok-parse-entity):
16684 * nxml/rng-parse.el (rng-parse-validate-file):
16685 * nxml/rng-maint.el (rng-format-manual)
16686 (rng-manual-output-force-new-line):
16687 * nxml/rng-loc.el (rng-save-schema-location-1):
16688 * nxml/rng-cmpct.el (rng-c-parse-file):
16689 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16690 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16692 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16694 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16695 Remove extra save-excursions and make-variable-buffer-local's.
16696 Suggested by Stefan Monnier.
16698 (verilog-getopt-file, verilog-module-inside-filename-p)
16699 (verilog-set-define): Merge GNU 1.35 and repair changes from
16700 switching to using with-current-buffer.
16702 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16703 being treated as a number and confusing AUTORESET.
16704 Reported by Dan Dever.
16706 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16707 Add verilog-auto-ignore-concat to fix backward compatibility with
16708 older verilog-modes. Reported by Dan Katz.
16710 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16711 containing closing anchors "...$".
16713 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16714 Reported by Wade Smith.
16716 (verilog-batch-execute-func): Comment on function usage.
16718 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16720 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16723 (verilog-label-re, verilog-calc-1): Support proper indent of named
16726 (verilog-backward-token, verilog-basic-complete-re)
16727 (verilog-beg-of-statement, verilog-indent-re): Support proper
16728 indent of the assert statement at the beginning of a block of text.
16730 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16731 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16734 2009-11-05 Glenn Morris <rgm@gnu.org>
16736 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16737 Emacs 19. (Bug#1531)
16738 (byte-compile-fix-header): Update for the above change.
16739 Drop test for epoch::version.
16741 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16742 * cus-dep.el (custom-make-dependencies):
16743 * finder.el (finder-compile-keywords):
16744 Use autoload-rubric's feature argument.
16746 * calendar/diary-lib.el (top-level): Make load behave more like require.
16748 * vc-git.el (vc-git-stash-map): Move definition before use.
16750 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16752 * custom.el (custom-declare-group): Purecopy standard-value.
16753 (custom-declare-group): Purecopy custom-prefix.
16755 * international/mule.el (load-with-code-conversion):
16756 Call do-after-load-evaluation unconditionally.
16758 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16760 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16762 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16764 2009-11-04 Glenn Morris <rgm@gnu.org>
16766 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16767 (byte-compile-compatibility): Remove option.
16768 (byte-compile-close-variables, byte-compile-fix-header)
16769 (byte-compile-insert-header, byte-compile-output-docform)
16770 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16771 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16772 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16773 (byte-compile-insert, byte-compile-defun):
16774 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16775 (byte-defop-compiler19): Remove.
16776 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16777 used by anything. Replace all calls with byte-defop-compiler.
16779 2009-11-04 Juri Linkov <juri@jurta.org>
16781 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16782 (menu-bar-options-menu): Don't quote the `prop' arg of
16783 `menu-bar-make-mm-toggle'.
16785 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16787 * calendar/calendar.el (cal-loaddefs):
16788 * calendar/diary-lib.el (diary-loaddefs):
16789 * calendar/holidays.el (hol-loaddefs):
16790 * eshell/esh-module.el (esh-groups): Load rather than require.
16792 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16794 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16796 (todo-top-priorities): Only display-buffer when called interactively.
16797 (todo-item-start): Don't save excursion point.
16798 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16799 (todo-insert-item-here, todo-file-item, todo-remove-item):
16800 Adjust uses of todo-item-start and todo-item-end.
16802 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16803 (autoload-rubric): Don't use any more.
16805 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16806 and only put a prop if it is non-nil.
16808 2009-11-03 Juri Linkov <juri@jurta.org>
16810 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16811 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16813 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16814 and "Menu" to make top-level menu item visually one unit (like
16815 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16816 multi-word menu items). Fix :help string for quit-window.
16818 2009-11-03 Glenn Morris <rgm@gnu.org>
16820 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16821 (byte-compile-file-form-define-abbrev-table)
16822 (byte-compile-file-form-custom-declare-variable)
16823 (byte-compile-variable-ref, byte-compile-defvar):
16824 Whether or not a warning is enabled should only affect whether we issue
16825 the warning, not whether or not we collect the relevant data.
16826 Eg warnings can be turned on and off throughout the course of a file.
16828 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16829 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16831 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16833 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16834 * play/mpuz.el (mpuz-create-buffer):
16835 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16836 (lm-print-y,s,noise, lm-print-w0, lm-init):
16837 * play/gomoku.el (gomoku-prompt-for-move):
16838 * play/fortune.el (fortune-in-buffer):
16839 * play/dissociate.el (dissociated-press):
16840 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16841 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16842 * mail/supercite.el (sc-eref-show):
16843 * mail/smtpmail.el (smtpmail-send-it):
16844 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16845 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16846 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16847 (rmail-summary-goto-msg, rmail-summary-expunge)
16848 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16849 (rmail-summary-add-label, rmail-summary-output-menu)
16850 (rmail-summary-output-body):
16851 * mail/rfc822.el (rfc822-addresses):
16852 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16853 * mail/mailpost.el (post-mail-send-it):
16854 * mail/hashcash.el (hashcash-generate-payment):
16855 * mail/feedmail.el (feedmail-run-the-queue)
16856 (feedmail-queue-send-edit-prompt-help-first)
16857 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16858 (feedmail-deduce-address-list):
16859 * eshell/esh-ext.el (eshell-remote-command):
16860 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16861 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16862 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16863 (viper-save-string-in-file, viper-valid-marker):
16864 * emulation/viper-keym.el (viper-toggle-key):
16865 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16866 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16867 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16868 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16869 (viper-exec-form-in-emacs, viper-brac-function):
16870 * emulation/viper.el (viper-delocalize-var):
16871 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16872 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16873 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16874 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16875 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16876 * emulation/edt.el (edt-electric-helpify):
16877 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16878 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16879 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16880 (cua-indent-to-global-mark-column):
16881 * calendar/diary-lib.el (calendar-mark-1):
16882 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16883 Use with-current-buffer.
16884 * emulation/viper.el (viper-delocalize-var): Use dolist.
16886 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16888 * comint.el (comint-replace-by-expanded-history-before-point):
16889 Replace !! with the previous input string literally (Bug#1795).
16891 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16893 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16894 to be made up of whitespace.
16896 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16898 * minibuffer.el (read-file-name): Don't use file dialogs for
16899 remote directories (Bug#99).
16901 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16903 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16905 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16907 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16908 instead of deleting the window or frame.
16910 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16912 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16913 Support face colors.
16915 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16916 New function. Support face colors (Bug#1168).
16917 (tex-common-initialization): Use it.
16919 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16920 mode allows it (Bug#1168).
16922 2009-10-31 Juri Linkov <juri@jurta.org>
16924 * facemenu.el (list-colors-display): Don't mark buffer as
16925 modified (Bug#3948).
16927 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16929 * international/mule-diag.el (list-character-sets-1):
16930 Minor message fix (Bug#3526).
16932 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16933 Fix face property (Bug#4834).
16934 (etags-list-tags, etags-tags-apropos-additional)
16935 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16938 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16941 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16943 * textmodes/two-column.el (2C-split):
16944 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16945 * textmodes/tex-mode.el (tex-set-buffer-directory):
16946 * textmodes/spell.el (spell-region, spell-string):
16947 * textmodes/reftex.el (reftex-erase-buffer):
16948 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16949 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16950 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16951 (reftex-select-item):
16952 * textmodes/reftex-ref.el (reftex-label-info-update)
16953 (reftex-offer-label-menu):
16954 * textmodes/reftex-index.el (reftex-index-change-entry)
16955 (reftex-index-phrases-info):
16956 * textmodes/reftex-global.el (reftex-create-tags-file)
16957 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16958 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16959 (reftex-view-crossref-from-bibtex):
16960 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16961 (reftex-extract-bib-entries-from-thebibliography)
16962 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16963 * textmodes/refbib.el (r2b-capitalize-title):
16964 (r2b-convert-buffer, r2b-help):
16965 * textmodes/page-ext.el (pages-directory)
16966 (pages-directory-goto-with-mouse):
16967 * textmodes/bibtex.el (bibtex-validate-globally):
16968 * textmodes/bib-mode.el (bib-capitalize-title):
16969 * textmodes/artist.el (artist-clear-buffer, artist-system):
16970 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16971 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16972 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16973 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16974 (xscheme-send-control-g-interrupt, xscheme-start-process)
16975 (xscheme-process-sentinel, xscheme-cd):
16976 * progmodes/verilog-mode.el (verilog-read-always-signals)
16977 (verilog-set-define, verilog-getopt-file)
16978 (verilog-module-inside-filename-p):
16979 * progmodes/sh-script.el:
16980 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16981 (python-pdbtrack-grub-for-buffer, python-execute-file):
16982 * progmodes/octave-inf.el (inferior-octave):
16983 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16984 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16985 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16986 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16987 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16988 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16989 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16990 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16991 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16992 (idlwave-shell-examine-display, idlwave-shell-run-region)
16993 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16994 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16995 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16996 (idlwave-help-get-help-buffer):
16997 * progmodes/gud.el (gud-basic-call, gud-find-class)
16998 (gud-tooltip-activate-mouse-motions-if-enabled):
16999 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17000 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17001 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17002 (ebrowse-tags-next-file):
17003 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17004 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17005 (ebnf-eps-finish-and-write):
17006 * progmodes/cpp.el (cpp-edit-save):
17007 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17008 * progmodes/cc-defs.el (c-emacs-features):
17009 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17010 (antlr-directory-dependencies):
17011 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17012 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17013 (ada-find-any-references, ada-make-filename-from-adaname)
17014 (ada-make-body-gnatstub):
17015 * obsolete/rnews.el (news-list-news-groups):
17016 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17017 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17018 * net/rcirc.el (rcirc-debug):
17019 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17020 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17021 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17022 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17023 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17024 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17025 (newsticker--treeview-list-clear-highlight)
17026 (newsticker--treeview-list-update-highlight)
17027 (newsticker--treeview-list-highlight-start)
17028 (newsticker--treeview-tree-update-highlight)
17029 (newsticker--treeview-get-selected-item)
17030 (newsticker-treeview-mark-list-items-old)
17031 (newsticker--treeview-set-current-node):
17032 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17033 * net/newst-backend.el (newsticker--get-news-by-funcall)
17034 (newsticker--get-news-by-wget, newsticker--image-get)
17035 (newsticker--image-sentinel):
17036 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17037 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17038 (eudc-ph-close-session):
17039 * net/eudc.el (eudc-save-options):
17040 * language/thai-word.el (thai-update-word-table):
17041 * language/japan-util.el (japanese-string-conversion):
17042 * international/titdic-cnv.el (tsang-quick-converter)
17043 (ziranma-converter, ctlau-converter):
17044 * international/mule-cmds.el (describe-language-environment):
17045 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17046 (skkdic-convert-postfix, skkdic-convert-prefix):
17047 (skkdic-convert-okuri-nasi, skkdic-convert):
17048 * emacs-lisp/re-builder.el (reb-update-overlays):
17049 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17050 * emacs-lisp/gulp.el (gulp-send-requests):
17051 * emacs-lisp/find-gc.el (trace-call-tree):
17052 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17053 (eieio-describe-generic):
17054 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17055 * emacs-lisp/edebug.el (edebug-outside-excursion):
17056 * emacs-lisp/debug.el (debugger-make-xrefs):
17057 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17058 * emacs-lisp/chart.el (chart-new-buffer):
17059 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17060 Use with-current-buffer.
17061 * textmodes/artist.el (artist-system): Don't call
17062 copy-sequence on a fresh string.
17063 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17065 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17067 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17068 is no item to edit. (Bug#4820)
17069 (todo-top-priorities): Restore point and restore narrowing in Todo
17072 2009-10-31 Glenn Morris <rgm@gnu.org>
17074 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17075 (comint-last-output-start, comint-last-input-start)
17076 (comint-last-input-end): Don't defvar when compiling.
17077 (ange-ftp-process-file): Use bound-and-true-p.
17079 * pcmpl-rpm.el (top-level): Move provide statement to end.
17080 (pcmpl-rpm): Remove unused custom group.
17082 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17084 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17086 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17087 (byte-compile-warnings): Add `constants' as an option.
17088 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17089 (display-call-tree): Update for byte-compile-fdefinition possibly
17090 returning `(macro lambda ...)'. (Bug#4778)
17091 (byte-compile-variable-ref, byte-compile-setq-default):
17092 Respect `constants' member of byte-compile-warnings.
17094 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17096 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17097 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17100 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17102 * textmodes/ispell.el (ispell-skip-region-alist):
17103 * international/mule-conf.el (eight-bit):
17104 * international/fontset.el (font-encoding-alist):
17105 * startup.el (pure-space-overflow-message):
17106 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17107 * paths.el (gnus-nntp-service, rmail-spool-directory)
17108 (term-file-prefix):
17109 * files.el (save-some-buffers-action-alist):
17110 * cmuscheme.el (same-window-buffer-names):
17111 * ielm.el (same-window-buffer-names):
17112 * shell.el (same-window-buffer-names):
17113 * mail/sendmail.el (same-window-buffer-names):
17114 * progmodes/inf-lisp.el (same-window-buffer-names):
17115 * bindings.el (mode-line-client)
17116 (mode-line-column-line-number-mode-map):
17117 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17118 (tibetan-precomposed-regexp): Purecopy string arguments.
17120 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17122 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17123 (calcDigit-nondigit):
17124 * calc/calc-yank.el (calc-copy-to-buffer):
17125 * calc/calc-units.el (calc-invalidate-units-table):
17126 * calc/calc-trail.el (calc-trail-yank):
17127 * calc/calc-store.el (calc-insert-variables):
17128 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17129 * calc/calc-prog.el (calc-read-parse-table):
17130 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17131 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17132 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17133 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17134 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17135 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17136 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17137 * calc/calc-ext.el (calc-realign):
17138 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17139 (calc-embedded-finish-edit, calc-embedded-make-info)
17140 (calc-embedded-finish-command, calc-embedded-stack-change):
17141 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17143 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17144 shell-dynamic-complete-filename in preference to
17145 comint-dynamic-complete-filename.
17147 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17148 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17149 Don't consider whether the display supports colors.
17150 (bookmark-import-new-list): Use dolist.
17151 (bookmark-bmenu-mode-map): Move initialization into declaration.
17152 (bookmark-bmenu-list): Use dolist, simplify.
17153 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17154 (menu-bar-final-items): Use push.
17156 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17158 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17159 it works on remote files.
17160 (vc-hg-diff): Don't pass any `--cwd' argument.
17162 2009-10-27 Kevin Ryde <user42@zip.com.au>
17164 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17165 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17166 (Further to Bug#3921).
17168 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17170 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17171 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17172 calling `tramp-imap-put-file'. Add file size to the call.
17173 (tramp-imap-get-file-entries): Compute also user name, file size,
17175 (tramp-imap-handle-insert-directory): Insert uid and gid.
17176 (tramp-imap-handle-file-attributes): Transform uid and gid
17177 according to `id-format'.
17178 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17179 size in header X-Size.
17181 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17183 * simple.el (transpose-subr): Give clearer error when the mark
17184 is not set. (Bug#4807)
17186 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17188 * net/tramp.el (tramp-perl-file-truename): New defconst.
17189 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17190 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17191 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17192 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17194 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17195 Ignore `dired-call-process'.
17196 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17198 2009-10-26 Julian Scheid <julians37@gmail.com>
17200 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17201 (tramp-get-remote-readlink): New defun.
17202 (tramp-handle-file-truename): Use it.
17203 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17204 file exists if cache value present.
17205 (tramp-check-cached-permissions): New defun.
17206 (tramp-handle-file-readable-p): Use it.
17207 (tramp-handle-file-writable-p): Likewise.
17208 (tramp-handle-file-executable-p): Likewise.
17209 (tramp-handle-file-name-all-completions): Try using Perl to get
17210 partial completions. When perl not available, combine `cd' and
17211 `ls' into single remote operation and use shell expansion to get
17212 partial remote directory contents. Set `file-exists-p' cache for
17213 directory and any files returned by ls. Change cache handling to
17214 support partial directory contents. Use error message emitted by
17215 remote `cd' or Perl code for local tramp-error.
17216 (tramp-do-copy-or-rename-file-directly): Avoid separate
17217 tramp-send-command-and-check call.
17218 (tramp-handle-process-file): Merge three remote ops into one.
17219 Do not flush all caches when `process-file-side-effects' is set.
17220 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17221 file-attributes shows uid/gid to be set already.
17223 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17225 * textmodes/tex-mode.el (tex-dvi-view-command)
17226 (tex-show-queue-command, tex-open-quote):
17227 * progmodes/ruby-mode.el (auto-mode-alist)
17228 (interpreter-mode-alist): Purecopy strings.
17230 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17232 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17233 string for the hook, keymap and abbrev table.
17235 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17237 * x-dnd.el (x-dnd-xdnd-to-action):
17238 * startup.el (fancy-startup-text, fancy-about-text): Change to
17239 defconst from defvar.
17241 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17243 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17244 Purecopy initialization strings.
17246 * mail/sendmail.el (mail-header-separator)
17247 (mail-personal-alias-file):
17248 * mail/rmail.el (rmail-default-dont-reply-to-names)
17249 (rmail-ignored-headers, rmail-retry-ignored-headers)
17250 (rmail-highlighted-headers, rmail-secondary-file-directory)
17251 (rmail-secondary-file-regexp):
17252 * files.el (null-device, file-name-invalid-regexp)
17253 (locate-dominating-stop-dir-regexp)
17254 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17255 (interpreter-mode-alist): Use mapcar instead of mapc.
17257 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17259 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17260 (completion-ignored-extensions):
17261 (debug-ignored-errors): Purecopy strings.
17263 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17265 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17266 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17267 (pcomplete--here): Use push.
17269 * subr.el (all-completions): Declare the 4th arg obsolete.
17271 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17273 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17274 (pcomplete-unquote-argument): New function.
17275 (pcomplete--common-suffix): Always pay attention to case.
17276 (pcomplete--table-subvert): Quote and unquote the text.
17277 (pcomplete--common-quoted-suffix): New function.
17278 (pcomplete-std-complete): Use it and pcomplete-begin.
17280 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17281 we're inside a dedicated or minibuffer window.
17283 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17285 * bookmark.el: Update documentation, especially documentation
17286 of `bookmark-alist' and of the bookmark file format.
17287 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17289 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17291 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17292 keybindings apply to the mail buffer (Bug#4003). Shrink help
17295 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17296 (global-whitespace-mode, global-whitespace-newline-mode)
17297 (whitespace-toggle-options, global-whitespace-toggle-options):
17298 Doc fix (Bug#3660).
17300 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17301 of xmltok-start before the end tag was inserted (Bug#2840).
17303 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17304 patterns that are preceded by an open-paren (Bug#1320).
17306 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17308 * files.el (delete-directory): Delete symlinks to directories with
17309 delete-file (Bug#4739).
17311 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17313 * vc.el (vc-backend-for-registration): Rename from
17314 vc-get-backend-for-registration. Update callers.
17316 * international/mule-cmds.el (set-language-info-alist):
17318 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17319 (charset): Purecopy the name.
17320 (define-char-code-property): Purecopy string arguments.
17322 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17323 Purecopy string arguments.
17325 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17326 * ediff-hook.el (menu-bar-ediff-menu):
17327 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17328 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17330 2009-10-24 Glenn Morris <rgm@gnu.org>
17332 * comint.el (comint-dynamic-list-completions):
17333 * term.el (term-dynamic-list-completions): Use choose-completion rather
17334 than obsolete alias mouse-choose-completion.
17336 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17337 file-cache-choose-completion.
17338 (file-cache-choose-completion): Handle an optional event argument.
17339 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17341 * progmodes/octave-mod.el (octave-complete-symbol):
17342 Use choose-completion if mouse-choose-completion is ever removed.
17344 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17347 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17350 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17352 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17355 Ignore `pred' now that we receive one.
17356 Handle test-completion specially.
17358 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17360 * vc.el (vc-responsible-backend): Throw an error if not backend is
17361 found. Remove the REGISTER argument. Move the code dealing with
17363 (vc-get-backend-for-registration): ... here. New function.
17364 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17365 of vc-responsible-backend, pass the file name instead of the
17368 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17370 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17372 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17373 (pcomplete-comint-setup): Don't modify a global var via
17374 accidental side-effects.
17375 (pcomplete-shell-setup): Adjust call accordingly.
17376 (pcomplete-parse-comint-arguments): Use push.
17378 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17380 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17381 Allow uncapitalized info node names (Bug#3921).
17383 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17384 to the DEBUG file (Bug#3781).
17386 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17388 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17389 dictionary entry (Bug#4579).
17391 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17393 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17394 from `rfn-eshadow-update-overlay-hook' when unloading.
17395 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17396 "rsyncc". Adjust doc string.
17397 (tramp-temp-buffer-file-name): New buffer-local defvar.
17398 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17399 Keep temporary file when indicated by method ("rsync" and
17401 (tramp-handle-write-region): Handle APPEND.
17402 (tramp-delete-temp-file-function): New defun. Added to
17403 `kill-buffer-hook'.
17405 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17407 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17409 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17411 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17412 (color-name-rgb-alist, tty-standard-colors)
17413 (tty-color-mode-alist): Change to defconst.
17415 * simple.el (mark-inactive): Purecopy message.
17417 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17418 (global-map, yank-menu):
17419 * textmodes/ispell.el (ispell-menu-map):
17420 * net/eudc.el (eudc-tools-menu):
17421 * international/mule-cmds.el (describe-language-environment-map)
17422 (setup-language-environment-map, set-coding-system-map)
17423 (mule-menu-keymap):
17424 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17425 * replace.el (occur-mode-map):
17426 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17428 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17430 * calc/calc.el (math-read-number, math-read-number-simple):
17431 Use `save-match-data'.
17433 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17435 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17436 rather than fiddling with global-map bindings, since it should only
17437 affect per-terminal settings.
17438 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17440 * minibuffer.el (completion-table-with-terminator): Allow to specify
17441 the terminator-regexp.
17443 * simple.el (switch-to-completions): Look for *Completions* in other
17446 * pcomplete.el: Allow the use of completion-tables.
17447 (pcomplete-std-complete): New command.
17448 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17449 (pcomplete--here): Use a function for `form' rather than an expression,
17450 so it can be byte-compiled.
17451 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17452 Add edebug declaration.
17453 (pcomplete-show-completions): Remove unused var `curbuf'.
17454 (pcomplete-do-complete, pcomplete-stub):
17455 Don't assume `completions' is a list of strings any more.
17457 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17459 * find-dired.el (find-name-arg): Fix typo in docstring.
17461 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17463 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17464 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17466 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17469 * comint.el (comint-read-input-ring, comint-write-input-ring)
17470 (comint-substitute-in-file-name)
17471 (comint-dynamic-complete-as-filename)
17472 (comint-dynamic-simple-complete)
17473 (comint-dynamic-list-filename-completions)
17474 (comint-dynamic-list-completions)
17475 (comint-redirect-results-list-from-process): Minor simplifications.
17477 2009-10-21 Kevin Ryde <user42@zip.com.au>
17479 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17480 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17481 the first form. And insert a blank line after ";;; Code" since
17482 that's usual style. (Bug#4612)
17484 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17486 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17488 * minibuffer.el (completion-table-with-terminator): Properly implement
17489 boundaries, in case `terminator' appears in the suffix.
17490 (completion--embedded-envvar-table): Don't return boundaries if
17491 there's no valid completion. Simplify.
17492 (completion-file-name-table): New completion table extracted from
17493 completion--file-name-table.
17494 (completion--file-name-table): Use it.
17495 (read-file-name-predicate): Declare obsolete.
17496 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17497 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17498 completion-file-name-table, and use the `pred' argument.
17499 * files.el (locate-file-completion-table): Use the `pred' arg rather
17500 than read-file-name-predicate.
17501 (abbreviate-file-name): Use \` rather than ^ for BOS.
17503 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17505 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17506 vc-responsible-backend to register, it causes problems.
17508 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17510 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17512 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17514 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17515 (tramp-smb-handle-file-attributes): Use it.
17516 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17517 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17518 `mapcar'. Use `tramp-smb-get-stat-capability'.
17519 Add `dired-filename' text properties.
17520 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17521 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17524 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17526 * subr.el (read-key-delay): Reduce to 0.01.
17527 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17530 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17532 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17534 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17535 (Info-menu): Remove unused vars `last' and `completions'.
17536 (Info-index-nodes): Remove unused var `node'.
17538 * info.el (Info-complete-menu-item): Use complete-with-action.
17540 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17542 Make vc-annotate work through copies and renames.
17543 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17544 Return the file name too.
17545 (vc-annotate-revision-at-line)
17546 (vc-annotate-find-revision-at-line)
17547 (vc-annotate-revision-previous-to-line)
17548 (vc-annotate-show-log-revision-at-line): Update to get the file
17549 name from vc-annotate-extract-revision-at-line.
17550 (vc-annotate-show-diff-revision-at-line-internal): Change the
17551 argument to mean whether to show a file diff or not. Get the file
17552 name from vc-annotate-extract-revision-at-line.
17553 (vc-annotate-show-diff-revision-at-line):
17554 Update vc-annotate-show-diff-revision-at-line call.
17555 (vc-annotate-warp-revision): Add an optional file argument.
17557 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17558 (vc-git-annotate-extract-revision-at-line): Also return the file
17561 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17562 command. Remove unused code.
17563 (vc-hg-annotate-re): Update to match --follow output.
17564 (vc-hg-annotate-extract-revision-at-line): Also return the file
17567 * vc.el: Update annotate-extract-revision-at-line documentation.
17569 2009-10-18 Kevin Ryde <user42@zip.com.au>
17571 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17572 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17574 * net/browse-url.el (browse-url): Identify alist with "consp and
17575 not functionp" and let all other things go down the `apply' leg,
17576 as suggested by Stefan. (Further to bug#4531.)
17578 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17580 * minibuffer.el (read-file-name): Check for repeat before putting
17581 a default argument in file-name-history (Bug#4657).
17583 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17584 read syntax (Bug#4737).
17586 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17588 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17590 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17591 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17592 entries and make note of obsolete tags.
17594 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17596 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17598 2009-10-18 Glenn Morris <rgm@gnu.org>
17600 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17601 grep, so that binary files (eg international/uni-bidi.el) can match.
17602 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17603 now, and in any case the file header format has changed.
17605 2009-10-17 Glenn Morris <rgm@gnu.org>
17607 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17608 (flyspell-get-word, flyspell-large-region)
17609 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17611 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17613 * Makefile.in (ELCFILES): Add ede/shell.
17615 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17617 * term/common-win.el (x-colors): Purecopy it.
17619 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17621 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17622 permissive for when the buffer is empty.
17623 (tar-header-block-tokenize): Decode the username and groupname.
17624 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17626 2009-10-17 Eric Ludlam <zappo@gnu.org>
17628 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17629 contains multibyte characters, choose first applicable coding
17630 system automatically.
17632 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17634 * international/mule-cmds.el (select-safe-coding-system): If the file
17635 has a coding cookie, use it regardless of any other setting (bug#4712).
17637 2009-10-17 Glenn Morris <rgm@gnu.org>
17639 * foldout.el (foldout-mouse-swallow-events):
17640 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17642 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17643 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17644 (dired-keep-marker-symlink, dired-dwim-target)
17645 (dired-copy-preserve-time): Do not autoload these defcustoms.
17647 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17648 messages from messing up the file coding. (Bug#4623)
17650 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17652 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17653 if no match is found for the current dictionary. (Bug#4578)
17655 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17656 optional, since that is how it is documented, and this is often called
17657 with a nil argument. (Bug#4577)
17658 (flyspell-external-point-words, flyspell-auto-correct-word)
17659 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17660 (flyspell-word-search-backward): Remove nil argument in calls to
17661 flyspell-get-word, since it is not needed now.
17663 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17665 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17667 2009-10-16 Glenn Morris <rgm@gnu.org>
17669 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17671 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17673 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17674 (ange-ftp-file-size): New function.
17675 (ange-ftp-file-attributes): Use it.
17677 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17679 * net/tramp-smb.el (tramp-smb-version): New defvar.
17680 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17683 2009-10-16 Glenn Morris <rgm@gnu.org>
17685 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17686 Maybe copy some custom properties from old to new name. (Bug#4706)
17688 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17690 * subr.el (error, sit-for, start-process-shell-command)
17691 (start-file-process-shell-command): Set the calling convention
17692 after the function definition.
17694 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17696 * subr.el (error, sit-for, start-process-shell-command)
17697 (start-file-process-shell-command): Use the new
17698 set-advertised-calling-convention feature.
17700 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17702 * international/ucs-normalize.el (ucs-normalize-version):
17704 (check-range): Adjust for Unicode 5.2.
17706 2009-10-15 Juri Linkov <juri@jurta.org>
17708 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17709 to the `menu-item' format.
17711 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17713 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17714 if the environment variable does not exist.
17716 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17717 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17719 (tramp-smb-handle-add-name-to-file)
17720 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17721 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17722 (tramp-smb-handle-file-attributes)
17723 (tramp-smb-do-file-attributes-with-stat)
17724 (tramp-smb-handle-file-local-copy)
17725 (tramp-smb-handle-insert-directory)
17726 (tramp-smb-handle-make-directory)
17727 (tramp-smb-handle-make-directory-internal)
17728 (tramp-smb-handle-make-symbolic-link)
17729 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17730 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17731 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17732 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17733 Handle long file names.
17734 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17735 process is running.
17736 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17737 Read share names with "-g" option.
17739 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17741 * net/rcirc.el (rcirc-view-log-file): New command.
17742 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17743 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17746 2009-10-15 Glenn Morris <rgm@gnu.org>
17748 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17749 from the second command-line argument.
17750 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17751 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17752 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17753 w32-batch-update-autoloads.
17754 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17755 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17757 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17758 the headers cannot be located. Simplify, subtracting superflous
17761 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17763 Replace completion-base-size by completion-base-position to fix bugs
17764 such as (bug#4699).
17765 * simple.el (completion-base-position): New var.
17766 (completion-base-size): Mark as obsolete.
17767 (choose-completion): Make it work for mouse events as well.
17768 Pass the new base-position to choose-completion-string.
17769 (choose-completion-guess-base-position): New function, extracted from
17770 choose-completion-delete-max-match.
17771 (choose-completion-delete-max-match): Use it. Make obsolete.
17772 (choose-completion-string): Use the new base-position info.
17773 (completion-root-regexp): Delete.
17774 (completion-setup-function): Preserve completion-base-position.
17775 Eliminate obsolete base-size manipulation.
17776 * minibuffer.el (display-completion-list): Don't mess with base-size.
17777 (minibuffer-completion-help): Set completion-base-position instead.
17778 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17780 * textmodes/bibtex.el (bibtex-complete):
17781 * emacs-lisp/crm.el (crm--choose-completion-string):
17782 Adjust to new calling convention.
17783 * complete.el (partial-completion-mode): Use minibufferp to avoid
17784 bumping into incompatible change to choose-completion-string-functions.
17785 * ido.el (ido-choose-completion-string): Make its calling convention
17787 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17788 base-size manipulation.
17789 (comint-dynamic-list-input-ring): Use dotimes and push.
17790 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17791 fundamental-mode. Use `or'.
17793 2009-10-14 Juri Linkov <juri@jurta.org>
17795 * misearch.el (multi-isearch-next-buffer-from-list)
17796 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17798 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17800 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17803 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17804 string we return is all made up of text from the completions rather
17805 than part from the completions and part from the input (bug#4219).
17807 * ido.el (ido-everywhere): Use define-minor-mode.
17809 * buff-menu.el (list-buffers, ctl-x-map):
17810 Mark the entry points with ;;;###autoload cookies.
17812 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17814 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17815 correctly in the detached head case.
17816 (vc-git-print-log): Remove unused binding.
17818 * vc.el (vc-responsible-backend): When a directory is passed for
17819 for registration create a VC repository if no backend is
17820 responsible for the directory argument.
17821 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17823 * vc.el: Move comments about RCS and SCCS ...
17825 * vc-sccs.el: ... here, respectively.
17827 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17829 * minibuffer.el (completion--file-name-table): Return nil if there's
17830 no file completion, even if substitute-in-file-name changed
17831 the string (bug#4708).
17833 2009-10-13 Juri Linkov <juri@jurta.org>
17835 * files-x.el (read-file-local-variable-value): Don't filter out
17836 minor modes from mode name completion (bug#4664).
17838 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17840 * international/mule-cmds.el (ucs-names): Remove exclusion of
17841 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17843 2009-10-13 Kenichi Handa <handa@m17n.org>
17845 * international/uni-name.el: Regenerated.
17847 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17849 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17850 should be automatically buffer-local, but isn't.)
17852 2009-10-12 Sam Steingold <sds@gnu.org>
17854 * progmodes/compile.el (compilation-next-error-function): Fix the
17855 timestamps if the buffer has been visited before.
17856 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17857 non-anchored patterns, like the perl one (bug#3928).
17859 2009-10-12 Glenn Morris <rgm@gnu.org>
17861 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17864 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17866 * proced.el (proced-unload-function): New function.
17868 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17869 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17872 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17874 2009-10-11 Juri Linkov <juri@jurta.org>
17876 * files-x.el (read-file-local-variable-value):
17877 Provide default value only for bound variables (bug#4664).
17879 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17881 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17882 connection methods like smb.
17884 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17887 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17888 (tramp-smb-file-name-handler-alist): Add handlers for
17889 `add-name-to-file', `make-symbolic-link'.
17890 (tramp-smb-handle-add-name-to-file)
17891 (tramp-smb-do-file-attributes-with-stat)
17892 (tramp-smb-handle-make-symbolic-link)
17893 (tramp-smb-get-cifs-capabilities): New defuns.
17894 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17895 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17896 (tramp-smb-handle-file-local-copy)
17897 (tramp-smb-handle-make-directory-internal)
17898 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17899 The file name syntax depends on cifs capabilities.
17900 (tramp-smb-handle-file-attributes):
17901 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17902 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17903 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17905 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17907 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17908 (eieio-defclass): Apply deftype handler and setf-method properties
17910 (eieio-add-new-slot): Avoid union function from cl library.
17911 (eieio--typep): New function.
17912 (eieio-perform-slot-validation): Use it.
17914 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17916 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17917 Update documentation to refer to the variables documented in r1.135.
17920 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17922 * bookmark.el (Info-suffix-list): Remove this unused variable.
17923 (bookmark-current-point): Remove this obsolete variable.
17924 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17925 Adjust for removal of bookmark-current-point.
17927 (bookmarks-already-loaded, bookmark-current-buffer)
17928 (bookmark-yank-point): Document. (Bug#4188)
17930 2009-10-10 Glenn Morris <rgm@gnu.org>
17932 * frame.el (frame-height): Doc fix.
17934 * calendar/calendar.el (calendar-split-width-threshold): New option.
17935 (calendar-basic-setup): Use calendar-split-width-threshold.
17937 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17939 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17940 Ideographic Supplement" range (U+1F200..U+1F2FF).
17942 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17944 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17945 since the list will have been rebuilt anyway. (Bug#4349)
17947 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17949 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17950 (bookmark-bmenu-execute-deletions): Don't save here, as
17951 bookmark-delete will now do so if necessary.
17952 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17955 2009-10-09 Glenn Morris <rgm@gnu.org>
17957 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17959 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17961 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17962 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17963 argument now, so the two function's behaviors will match. (Bug#3645)
17965 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17967 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17968 (tramp-file-name-real-host, tramp-file-name-port):
17969 Apply `save-match-data'.
17971 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17972 case both directories are remote.
17973 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17974 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17976 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17978 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17980 2009-10-07 Glenn Morris <rgm@gnu.org>
17982 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17985 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17987 * files-x.el (read-file-local-variable): Include some
17988 non-user-variables in the completion table (bug#4664).
17990 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17992 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17995 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17996 (tramp-smb-file-name-handler-alist): Add handler for
17997 `copy-directory', `expand-file-name', `set-file-modes'.
17998 (tramp-smb-handle-copy-directory)
17999 (tramp-smb-handle-expand-file-name)
18000 (tramp-smb-handle-set-file-modes): New defuns.
18001 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18002 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18004 (tramp-smb-handle-insert-directory): Don't flush the cache.
18005 (tramp-smb-maybe-open-connection): Check for samba client and
18008 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18010 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18011 to not error out of search for "^lisp=" fails.
18013 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18015 * makefile.w32-in (WINS_UPDATES): New macro.
18016 (custom-deps, finder-data, autoloads): Use it.
18018 2009-10-07 Glenn Morris <rgm@gnu.org>
18020 * Makefile.in (autoloads): Revert previous change.
18021 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18022 the list of preloaded files passed on the command-line, get
18023 it from src/Makefile.
18025 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18026 show the original buffer rather than a random one.
18028 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18030 * help.el (describe-no-warranty): Place point in a slightly better
18031 position in the GPLv3 text.
18033 2009-10-06 Sam Steingold <sds@gnu.org>
18035 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18036 the comm attribute is present before calling regexp-quote.
18038 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18040 * play/animate.el (animate-string): For good effect, make sure
18041 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18043 * play/animate.el (animate-sequence, animate-birthday-present):
18044 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18046 2009-10-06 Glenn Morris <rgm@gnu.org>
18048 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18050 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18051 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18052 (batch-update-autoloads): Process a string value of autoload-excludes,
18053 set during the build process.
18054 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18056 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18057 inside with-parsed... macro so that `v' is defined.
18059 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18060 * progmodes/fortran.el (fortran-end-of-block)
18061 (fortran-beginning-of-block):
18062 Also push mark in the macro case.
18064 * emerge.el (emerge-show-file-name):
18065 * calc/calc.el (calc-quit):
18066 * calc/calc-misc.el (calc-big-or-small):
18067 * calc/calc-graph.el (calc-graph-view):
18068 * calc/calc-ext.el (calc-reset):
18069 * calendar/calendar.el (calendar-basic-setup):
18070 Use window-full-height-p.
18072 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18073 header we don't understand, don't insert another. (Bug#4624)
18074 If changing mime charset, insert the new one in the right place.
18076 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18078 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18079 (cal-tex-cursor-month): Correctly increment the end date for diary and
18080 holiday listing. (Bug#4626)
18082 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18084 * help-fns.el (describe-function-1): Don't burp if the function is not
18087 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18089 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18090 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18091 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18092 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18094 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18095 (eieio-default-superclass): Reflow docstrings.
18096 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18097 (eieio-unbind-method-implementations, defmethod)
18098 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18099 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18100 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18101 (eieio-slot-originating-class-p, eieio-slot-name-index)
18102 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18103 (constructor, initialize-instance, no-next-method, object-print)
18104 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18105 Fix typos in docstrings.
18106 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18107 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18108 (next-method-p): Doc fixes.
18109 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18110 Fix typos in error messages.
18111 (eieio-defmethod): Fix typo in description of generic method.
18113 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18114 (eieio-persistent-save-interactive, slot-missing):
18115 Fix typos in docstrings.
18116 (eieio-instance-inheritor-slot-boundp): Doc fix.
18118 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18119 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18121 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18122 (eieio-custom-object-apply-reset):
18123 Fix typos in docstrings and error messages.
18125 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18126 Fix typo in docstring.
18128 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18129 (eieio-browse-tree): Doc fix.
18130 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18131 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18132 Fix typos in docstrings.
18134 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18135 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18136 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18137 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18140 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18142 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18143 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18144 Set log-view-vc-backend so that diff can work.
18146 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18148 (vc-diff-internal): Autoload this instead of vc-version-diff.
18150 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18152 * simple.el (eval-expression): Doc fix.
18154 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18156 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18158 * files.el (directory-files-no-dot-files-regexp): New defconst.
18159 (delete-directory): Use it.
18160 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18162 * net/tramp.el (tramp-verbose): Fix docstring.
18163 (tramp-methods): Add recursive option to `tramp-copy-args'.
18164 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18165 "scp1_old", "scp2_old", "rsync", "rsyncc".
18166 (tramp-default-method): Check also for `auth-source-user-or-password'.
18167 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18168 Add handler for `copy-directory'.
18169 (tramp-handle-copy-directory): New defun.
18170 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18171 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18172 Optimize sent command.
18174 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18176 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18177 window if necessary.
18179 * calendar/calendar.el (calendar-basic-setup): Don't call
18180 switch-to-buffer in a dedicated window.
18182 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18184 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18185 don't do anything related to relocating, just return nil.
18186 (bookmark-error-no-filename): New error.
18187 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18188 bookmark has no file. Don't even attempt to handle things that
18189 are not files; the whole point of custom handlers is to keep that
18190 knowledge elsewhere anyway. Tighten some comments.
18191 (bookmark-file-or-variation-thereof): Remove now-unused function.
18192 (bookmark-location): Doc string fix.
18195 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18197 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18198 don't use a file dialog, because they usually don't know how to read
18199 a directory target from the user. (Bug#4230)
18200 Also, make sure the prompt can display directories as well as files.
18202 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18204 * bookmark.el (bookmark-set, bookmark-buffer-name):
18205 Improve doc strings. (Bug#1193)
18207 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18209 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18210 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18211 (bookmark-get-annotation, bookmark-set-annotation)
18212 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18213 (bookmark-set-position, bookmark-get-front-context-string)
18214 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18215 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18216 (bookmark-jump-other-window, bookmark-handle-bookmark)
18217 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18218 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18219 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18220 Improve doc strings to say whether bookmark can be a string or
18221 a record or both, and make other consistency and clarity fixes.
18222 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18223 (bookmark-default-annotation-text, bookmark-yank-word)
18224 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18225 (bookmark-import-new-list, bookmark-maybe-rename)
18226 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18227 (bookmark-bmenu-bookmark): Give these doc strings.
18228 (bookmark-bmenu-check-position): Give this a doc string, but also
18229 add a FIXME comment about how the function may be pointless.
18230 (bookmark-default-handler): Rework doc string and change a
18231 parameter name, to clarify that this takes a bookmark record
18232 not a bookmark name.
18233 (bookmark-set): Change a parameter name to indicate its meaning,
18234 and improve the doc string a bit.
18237 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18239 * bookmark.el (bookmark-alist): Document the new `handler' element
18240 in the param alist.
18241 (bookmark-make-record-function): Adjust documentation for above.
18244 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18246 * info.el (Info-bookmark-make-record): Document this function.
18247 (Info-bookmark-jump): Document with a doc string, not just a comment.
18250 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18252 * files.el (copy-directory): New defun.
18254 * dired-aux.el (dired-copy-file-recursive): Use it.
18256 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18258 * files-x.el (modify-dir-local-variable)
18259 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18262 * recentf.el (recentf-unload-function): New function.
18264 2009-10-04 Glenn Morris <rgm@gnu.org>
18266 * window.el (window-full-height-p): Add doc string.
18268 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18270 * window.el (window-full-height-p): New function. (Bug#4543)
18272 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18274 * vc.el: Remove commented out code.
18275 (vc-derived-from-dir-mode): Remove, unused.
18276 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18278 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18280 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18281 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18282 there could be recursive loading when `default-directory' is a
18283 remote file name. (Bug#4614)
18285 2009-10-03 Glenn Morris <rgm@gnu.org>
18287 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18289 (calendar-generate-window): Test for shrinkability rather than width.
18291 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18292 reusing existing buffers, in case we happen to visit two files with the
18293 same basename. (Bug#4593)
18295 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18297 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18298 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18299 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18300 subdirs of cedet as well.
18301 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18303 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18305 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18306 Obey advertised-signature-table.
18308 * help-fns.el (help-function-arglist): Don't check
18309 advertised-signature-table.
18310 (describe-function-1): Do it here instead so it also applies to subrs.
18312 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18314 * simple.el (start-file-process): Say in the doc-string, that file
18315 handlers might not support pty association, if PROGRAM is nil.
18317 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18318 HOST and USER are strings. They are nil, when there are
18319 incomplete entries in ~/.netrc, for example.
18320 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18321 root directory ("device busy" error otherwise).
18323 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18324 Flush file properties of created directory.
18326 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18328 * makefile.w32-in (WINS_BASIC): Remove cedet.
18329 (WINS_CEDET): Add cedet.
18330 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18332 2009-10-02 Kevin Ryde <user42@zip.com.au>
18334 * net/browse-url.el (browse-url): Pass any symbol in
18335 browse-url-browser-function to `apply', since if you've mistakenly put
18336 an unbound symbol then the error is clearer. (Bug#4531)
18338 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18340 * allout.el (allout-init, allout-back-to-current-heading)
18341 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18342 (allout-ascend, allout-up-current-level, allout-end-of-level)
18343 (allout-previous-visible-heading, allout-forward-current-level)
18344 (allout-backward-current-level, allout-show-children):
18345 * apropos.el (apropos-describe-plist):
18346 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18347 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18348 * completion.el (add-completion, add-permanent-completion):
18349 * descr-text.el (describe-text-category, describe-char):
18350 * desktop.el (desktop-lazy-abort):
18351 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18352 * dired.el (dired-build-subdir-alist):
18353 * ediff.el (ediff-version):
18354 * elide-head.el (elide-head, elide-head-show):
18355 * emerge.el (emerge-version):
18357 * face-remap.el (variable-pitch-mode):
18358 * faces.el (describe-face):
18359 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18361 * files.el (find-file-existing, auto-save-mode):
18362 * font-lock.el (font-lock-fontify-buffer):
18363 * help-fns.el (describe-function, describe-variable)
18364 (describe-syntax, describe-categories):
18365 * help.el (view-lossage, describe-bindings, describe-key)
18367 * hexl.el (hexl-current-address):
18368 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18369 * info.el (Info-goto-emacs-key-command-node):
18370 * log-edit.el (log-edit-insert-cvs-template)
18371 (log-edit-insert-cvs-rcstemplate):
18372 * menu-bar.el (menu-bar-mode):
18373 * mouse.el (mouse-appearance-menu):
18374 * newcomment.el (comment-indent-new-line):
18375 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18376 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18377 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18378 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18379 * recentf.el (recentf-mode):
18380 * savehist.el (savehist-mode, savehist-save):
18381 * shadowfile.el (shadow-copy-files):
18382 * simple.el (kill-ring-save, next-line, previous-line)
18383 (normal-erase-is-backspace-mode):
18384 * strokes.el (strokes-update-window-configuration)
18385 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18386 (strokes-xpm-for-stroke):
18387 * time.el (emacs-uptime, emacs-init-time):
18388 * tutorial.el (tutorial--describe-nonstandard-key)
18389 (tutorial--detailed-help):
18390 * type-break.el (type-break-mode)
18391 (type-break-mode-line-message-mode, type-break-query-mode)
18392 (type-break-guesstimate-keystroke-threshold):
18393 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18394 * version.el (emacs-version):
18395 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18396 * winner.el (winner-mode):
18397 * calendar/timeclock.el (timeclock-in, timeclock-out)
18398 (timeclock-status-string, timeclock-change)
18399 (timeclock-workday-remaining-string)
18400 (timeclock-workday-elapsed-string)
18401 (timeclock-when-to-leave-string):
18402 * calendar/todo-mode.el (todo-add-category):
18403 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18404 * emacs-lisp/autoload.el (update-file-autoloads):
18405 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18406 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18407 (checkdoc-message-text, checkdoc-defun):
18408 * emacs-lisp/debug.el (debugger-list-functions):
18409 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18410 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18411 (eieio-describe-generic):
18412 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18413 * emacs-lisp/shadow.el (list-load-path-shadows):
18414 * emulation/cua-base.el (cua-mode):
18415 * emulation/edt.el (edt-set-scroll-margins):
18416 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18417 (tpu-toggle-regexp, tpu-toggle-search-direction)
18418 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18419 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18420 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18421 (viper-set-parsing-style-toggling-macro)
18422 (viper-set-emacs-state-searchstyle-macros):
18423 * emulation/viper.el (viper-set-hooks):
18424 * eshell/esh-mode.el (eshell-truncate-buffer):
18425 * international/mule-cmds.el (prefer-coding-system)
18426 (describe-input-method, describe-language-environment):
18427 * international/mule-diag.el (list-character-sets)
18428 (describe-character-set, describe-coding-system)
18429 (describe-fontset, list-fontsets, list-input-methods):
18430 * mail/sendmail.el (mail-signature):
18431 * net/ange-ftp.el (ange-ftp-copy-file):
18432 * net/browse-url.el (browse-url):
18433 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18434 * net/quickurl.el (quickurl-add-url):
18435 * net/rcirc.el (names, topic):
18436 * net/xesam.el (xesam-mode):
18437 * play/5x5.el (5x5-new-game):
18438 * play/yow.el (apropos-zippy):
18439 * progmodes/ada-mode.el (ada-mode-version):
18440 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18442 (f90-beginning-of-block):
18443 * progmodes/fortran.el (fortran-end-of-block)
18444 (fortran-beginning-of-block):
18445 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18446 * progmodes/python.el (python-describe-symbol, python-shell):
18447 * term/ns-win.el (ns-print-buffer):
18448 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18449 * textmodes/flyspell.el (flyspell-mode-on):
18450 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18451 (pages-directory-for-addresses):
18452 * textmodes/table.el (table-recognize-cell)
18453 (table-query-dimension, table-generate-source)
18454 (table-insert-sequence, table--warn-incompatibility):
18455 * textmodes/tex-mode.el (tex-validate-buffer):
18456 * textmodes/texinfmt.el (texinfmt-version)
18457 (texinfo-format-buffer):
18458 Use `called-interactively-p' instead of `interactive-p'.
18460 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18462 * image-mode.el (image-toggle-display):
18463 * emacs-lisp/elp.el (elp-instrument-function):
18464 * emacs-lisp/advice.el (ad-make-advised-definition):
18465 * emacs-lisp/easy-mmode.el (define-minor-mode):
18466 * net/browse-url.el (browse-url-maybe-new-window):
18467 * progmodes/sh-script.el (sh-learn-buffer-indent):
18468 Pass new argument 'any to `called-interactively-p'.
18470 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18472 * international/uni-bidi.el:
18473 * international/uni-category.el:
18474 * international/uni-combining.el:
18475 * international/uni-comment.el:
18476 * international/uni-decimal.el:
18477 * international/uni-decomposition.el:
18478 * international/uni-digit.el:
18479 * international/uni-lowercase.el:
18480 * international/uni-mirrored.el:
18481 * international/uni-name.el:
18482 * international/uni-numeric.el:
18483 * international/uni-old-name.el:
18484 * international/uni-titlecase.el:
18485 * international/uni-uppercase.el:
18486 Regenerate from Unicode 5.2.0 data.
18488 2009-10-01 Glenn Morris <rgm@gnu.org>
18490 * Makefile.in (ELCFILES): Regenerate.
18492 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18494 * subr.el (interactive-p): Mark obsolete.
18495 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18496 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18497 advertised-signature-table for subroutines as well.
18499 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18500 (set-advertised-calling-convention): New function.
18501 (make-obsolete, define-obsolete-function-alias)
18502 (make-obsolete-variable, define-obsolete-variable-alias):
18503 Make the optional-ness of `when' obsolete.
18504 (define-obsolete-face-alias): Make `when' non-optional.
18505 * help-fns.el (help-function-arglist):
18506 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18507 Use advertised-signature-table.
18509 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18511 * files.el (delete-directory): New defun. The original function
18512 in fileio.c has been renamed to `delete-directory-internal'.
18514 * dired.el (dired-delete-file): Call `delete-directory' with
18515 RECURSIVE parameter.
18517 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18518 parameter RECURSIVE. Implementation is missing.
18520 * net/tramp.el (tramp-handle-make-directory): Flush upper
18521 directory's file properties.
18522 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18523 (tramp-handle-dired-recursive-delete-directory): Flush directory
18524 properties after the remove command only.
18526 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18527 Handle optional parameter RECURSIVE.
18529 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18530 Handle optional parameter RECURSIVE.
18532 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18533 connection timeout.
18534 (tramp-smb-handle-delete-directory): Handle optional parameter
18537 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18539 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18540 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18541 (byte-compile-defmacro): Use backquotes.
18543 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18545 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18546 has no associated file.
18547 (vc-resynch-buffer): Use vc-dir-buffers.
18549 2009-10-01 Glenn Morris <rgm@gnu.org>
18551 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18552 (chart-file-count):
18553 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18554 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18555 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18556 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18557 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18558 (eieio-copy-parents-into-subclass, make-instance, class-children)
18559 (eieio-generic-form):
18561 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18562 match-data. (Bug#4555).
18564 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18565 rather than parsing it as a regexp. This relaxes the layout
18566 requirements and makes errors easier to detect.
18567 (check-declare-verify): Check file is regular.
18568 (check-declare-directory): Doc fix.
18569 * subr.el (declare-function): Doc fix.
18571 * ibuffer.el (ibuffer-format-qualifier):
18572 * isearch.el (hi-lock-regexp-okay):
18573 * calc/calc.el (math-zerop):
18574 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18575 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18576 Remove unused declarations.
18578 2009-09-30 Eric Ludlam <zappo@gnu.org>
18580 * emacs-lisp/eieio.el (boolean-p): Delete.
18582 2009-09-30 Glenn Morris <rgm@gnu.org>
18584 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18586 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18587 filename is not a string.
18589 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18591 * files.el (safe-local-eval-forms): Fix typo.
18593 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18595 * vc-hooks.el (vc-dir-buffers): New var.
18596 (vc-state-refresh): New function.
18597 (vc-state): Use it.
18598 (vc-after-save): Always ask the backend to recompute the new state.
18599 Always call vc-dir if necessary, using vc-dir-buffers.
18600 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18601 Use vc-dir-buffers.
18602 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18603 (vc-dir-prepare-status-buffer, vc-dir-update)
18604 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18605 Don't call expand-file-name on default-directory.
18607 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18609 * speedbar.el (speedbar-item-delete):
18610 * calc/calc-prog.el (calc-kbd-if):
18611 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18613 * epa.el (epa-key-list-mode-map):
18614 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18616 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18617 (hs-show-hook): Fix typo in docstring.
18619 2009-09-29 Glenn Morris <rgm@gnu.org>
18621 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18622 file-name-nondirectory call preventing location of cedet files.
18623 (check-declare-verify): Use literal search rather than re-search.
18624 Add basic defmethod and defclass, and define-overloadable-function.
18626 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18627 Use tramp-compat-file-attributes rather than nonexistent
18628 tramp-compat-handle-file-attributes.
18630 * Makefile.in (lisptagsfiles4): New.
18631 (AUTOGENEL): Add cedet loaddefs files.
18632 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18633 (update-elclist, compile-always, backup-compiled-files)
18634 (bootstrap-clean): Add yet another directory level.
18635 (update-elclist): Use LC_COLLATE rather than COLLATE.
18636 (ELCFILES): Update, via `make update-elclist'.
18638 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18640 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18641 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18642 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18644 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18646 * Makefile.in (lisptagsfiles3): Define.
18647 (TAGS, TAGS-LISP): Use it.
18648 (update-elclist): Add third directory level to look for elc files.
18649 (compile-always): Likewise.
18650 (backup-compiled-files): Likewise.
18651 (bootstrap-clean): Likewise.
18652 (ELCFILES): Update.
18654 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18656 * Makefile.in (ELCFILES): Add CEDET files.
18658 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18660 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18662 * net/tramp.el (top): Require tramp-imap.
18664 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18665 Use `tramp-compat-handle-file-attributes'.
18667 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18669 * net/tramp-imap.el: New package.
18671 2009-09-28 Eric Ludlam <zappo@gnu.org>
18673 * emacs-lisp/chart.el:
18674 * emacs-lisp/eieio-base.el:
18675 * emacs-lisp/eieio-comp.el:
18676 * emacs-lisp/eieio-custom.el:
18677 * emacs-lisp/eieio-datadebug.el:
18678 * emacs-lisp/eieio-opt.el:
18679 * emacs-lisp/eieio-speedbar.el:
18680 * emacs-lisp/eieio.el: New files.
18682 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18684 * whitespace.el (whitespace-trailing-regexp)
18685 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18688 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18690 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18693 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18694 menu-bar-ediff-menu.
18696 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18697 define-overloadable-function.
18699 * progmodes/autoconf.el: Provide autoconf as well, so that this
18700 file can be `require'd.
18702 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18704 * emacs-lisp/autoload.el (generated-autoload-feature)
18705 (generated-autoload-load-name): New vars.
18706 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18707 (make-autoload): Recognize define-overloadable-function and
18708 defclass forms (for EIEIO).
18710 * Makefile.in (update-subdirs): Exclude cedet directory.
18712 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18714 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18716 * faces.el: Default light-background background for region face to
18717 ns_selection_color under NS.
18719 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18721 * net/imap-hash.el: New library, see NEWS.
18723 * Makefile.in (ELCFILES): Add imap-hash.el.
18725 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18727 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18728 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18729 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18730 definition where the docstring could be taken for the return value.
18732 2009-09-26 Glenn Morris <rgm@gnu.org>
18734 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18735 Add option to only show images below a certain size.
18736 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18737 save-excursion calls.
18739 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18741 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18742 subdirectories) and eieio.
18744 2009-09-26 Alan Mackenzie <acm@muc.de>
18746 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18747 Correct buggy bracketing. (Bug#4289)
18749 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18750 character constants (as case labels). (Bug#4289)
18752 2009-09-25 Juri Linkov <juri@jurta.org>
18754 * files.el (safe-local-eval-forms): Allow time-stamp in
18755 before-save-hook (Bug#4554).
18757 2009-09-25 Drew Adams <drew.adams@oracle.com>
18759 * menu-bar.el (list-buffers-directory): Doc fix.
18761 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18763 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18764 Try and avoid copying twice the same paragraph.
18765 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18766 Remove save-excursion.
18767 (log-edit-changelog-entry): Do it here instead.
18769 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18771 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18772 when available, instead of hardcoding mode names. Doc fix.
18774 * menu-bar.el (list-buffers-directory): Add docstring.
18775 Make automatically buffer-local.
18777 * dired.el (dired-mode):
18778 * files.el (cd-absolute):
18779 * pcvs.el (cvs-temp-buffer):
18780 * pcvs-util.el (cvs-get-buffer-create):
18781 * shell.el (shell-mode):
18782 * vc-dir.el (vc-dir-mode):
18783 Don't make `list-buffers-directory' buffer local.
18785 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18787 * comint.el (comint-exec, comint-run, make-comint):
18788 Doc fixes (Bug#4542).
18790 2009-09-25 Glenn Morris <rgm@gnu.org>
18792 * mail/rmailmm.el (rmail-mime): New custom group.
18793 Move all defcustoms in this file into this group.
18794 (rmail-mime-media-type-handlers-alist): Revert previous change.
18795 (rmail-mime-show-images): New option.
18796 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18797 references to it, since it wasn't actually used for anything.
18798 (rmail-mime-insert-image): New function.
18799 (rmail-mime-image): Use rmail-mime-insert-image.
18800 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18801 obey the value of `rmail-mime-show-images' option. Print the size of
18804 2009-09-25 David Engster <deng@randomsample.de>
18806 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18808 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18810 * whitespace.el: Does not highlight trailing spaces While point is
18811 at end of line. Does not highligt spaces at beginning of buffer
18812 while point is at beginning of buffer. Does not highlight spaces
18813 at end of buffer while point is at end of buffer. (Bug#4177)
18815 (whitespace-display-mappings): Adjust initialization.
18816 (whitespace-point, whitespace-font-lock-refontify): New vars.
18817 (whitespace-color-on, whitespace-color-off): Adjust code.
18818 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18819 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18820 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18822 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18824 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18826 * textmodes/sgml-mode.el: Remove xml-mode alias.
18828 * files.el (auto-mode-alist, conf-mode-maybe)
18829 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18831 2009-09-24 Alan Mackenzie <acm@muc.de>
18833 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18834 c-forward-conditionals, but it doesn't move point and doesn't set
18836 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18837 (c-down-conditional-with-else, c-backward-conditional)
18838 (c-forward-conditional): Refactor to use c-scan-conditionals.
18840 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18842 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18843 (help-default-arg-highlight): Remove.
18844 (help-highlight-arg): New function.
18845 (help-do-arg-highlight): Use it.
18846 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18848 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18850 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18851 Undo last change, which didn't fix the problem and introduced others.
18853 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18855 * progmodes/gdb-mi.el: Don't require speedbar.
18856 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18858 2009-09-24 Glenn Morris <rgm@gnu.org>
18860 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18862 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18864 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18865 there is no newline after the final mime boundary. (Bug#4539)
18866 Move markers on insertion so that any buttons inserted don't end up in
18867 the next part of a multipart message.
18868 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18869 (rmail-mime-bulk-handler): Optionally handle images.
18870 (rmail-mime-image): New button action.
18871 (rmail-mime-image-handler): New function.
18872 (rmail-mime-mode): New mode.
18873 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18875 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18877 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18878 than just dropping elements from it (bug#4504).
18880 * term.el (term-set-scroll-region): Don't move cursor any more.
18881 (term-handle-ansi-escape): Call term-goto here instead.
18882 Suggested by Ivan Kanis <apple@kanis.eu>.
18884 * term.el: Require CL.
18885 (term-ansi-reset): New function.
18886 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18887 (term-handle-colors-array): Simplify.
18889 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18891 * allout.el (allout-overlay-interior-modification-handler)
18892 (allout-obtain-passphrase):
18893 * epa-file.el (epa-file-write-region):
18894 * ps-print.el (ps-begin-job):
18895 * vc-hooks.el (vc-toggle-read-only):
18896 * vc-rcs.el (vc-rcs-rollback):
18897 * vc-sccs.el (vc-sccs-rollback):
18898 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18899 (vc-version-diff, vc-revert, vc-rollback):
18900 * wdired.el (wdired-check-kill-buffer):
18901 * emacs-lisp/authors.el (authors):
18902 * net/socks.el (socks-open-connection):
18903 * net/zeroconf.el (zeroconf-service-add-hook):
18904 * obsolete/vc-mcvs.el (vc-mcvs-register):
18905 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18906 (gdb-select-frame):
18907 * progmodes/grep.el (lgrep, rgrep):
18908 * progmodes/idlw-help.el (idlwave-help-check-locations)
18909 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18910 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18911 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18912 (reftex-toc-rename-label): Fix typos in error messages.
18914 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18915 (dired-copy-how-to-fn): Doc fix.
18916 (dired-files-attributes, dired-read-shell-command):
18917 Fix typos in docstrings.
18919 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18920 (dired-x-find-file-other-window): Reflow docstrings.
18921 (dired-omit-marker-char, dired-read-shell-command)
18922 (dired-x-submit-report): Fix typos in docstrings.
18924 * shell.el (shell-mode-hook):
18925 * view.el (View-scroll-line-forward):
18926 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18927 Fix typos in docstrings.
18929 * net/dig.el (dig-invoke): Fix typo in docstring.
18930 (query-dig): Reflow docstring.
18932 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18933 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18934 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18935 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18936 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18937 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18938 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18939 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18940 (idlwave-completion-map, idlwave-current-indent)
18941 (idlwave-custom-ampersand-surround, idlwave-customize)
18942 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18943 (idlwave-define-abbrev, idlwave-determine-class-special)
18944 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18945 (idlwave-end-block-reg, idlwave-end-of-statement)
18946 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18947 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18948 (idlwave-explicit-class-listed, idlwave-file-header)
18949 (idlwave-fill-paragraph, idlwave-find-class-definition)
18950 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18951 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18952 (idlwave-in-quote, idlwave-indent-action-table)
18953 (idlwave-indent-expand-table, idlwave-indent-line)
18954 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18955 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18956 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18957 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18958 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18959 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18960 (idlwave-outlawed-buffers, idlwave-popup-select)
18961 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18962 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18963 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18964 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18965 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18966 (idlwave-statement-type, idlwave-struct-skip)
18967 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18968 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18969 (idlwave-what-module-find-class): Fix typos in docstrings.
18970 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18971 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18972 (idlwave-find-module, idlwave-find-structure-definition)
18973 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18974 (idlwave-list-load-path-shadows, idlwave-next-statement)
18975 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18976 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18977 (idlwave-template): Reflow docstrings.
18979 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18980 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18981 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18982 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18983 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18984 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18985 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18986 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18987 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18988 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18989 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18990 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18991 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18992 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18993 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18994 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18995 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18996 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18997 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18998 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18999 Fix typos in docstrings.
19000 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19001 (idlwave-shell-hide-output, idlwave-shell-mode)
19002 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19005 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19007 2009-09-24 Ivan Kanis <apple@kanis.eu>
19009 * term.el (term-bold-attribute): New var.
19010 (term-handle-colors-array): Use it.
19012 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19014 * progmodes/gdb-mi.el (gdb-version): New variable.
19015 (gdb-non-stop-handler): Set gdb-version.
19016 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19017 Condition "--thread" option on gdb-version.
19018 (gdb-invalidate-threads): Remove unused argument.
19020 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19022 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19023 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19025 2009-09-23 Glenn Morris <rgm@gnu.org>
19027 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19028 replying to mail without References or Message-Id. (Bug#4525)
19030 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19032 * term/ns-win.el (ns-reg-to-script): New variable.
19034 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19036 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19038 2009-09-22 Sam Steingold <sds@gnu.org>
19040 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19041 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19042 to 1 because hg returns status 1 when nothing is found.
19043 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19045 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19047 * textmodes/fill.el: Convert to utf-8 encoding.
19048 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19051 * add-log.el (change-log-fill-forward-paragraph): New function.
19052 (change-log-mode): Use it so fill-region DTRT.
19053 Set fill-indent-according-to-mode here rather than in
19054 change-log-fill-paragraph.
19055 (change-log-fill-paragraph): Remove.
19057 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19059 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19060 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19062 2009-09-22 Glenn Morris <rgm@gnu.org>
19064 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19065 the scroll-bar scroll the calendar window rather than the buffer.
19067 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19068 commands that move point (as opposed to scrolling).
19070 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19072 * emacs-lisp/elint.el (elint): New custom group.
19073 (elint-log-buffer): Make it a defcustom.
19074 (elint-scan-preloaded, elint-ignored-warnings)
19075 (elint-directory-skip-re): New options.
19076 (elint-builtin-variables): Doc fix.
19077 (elint-preloaded-env): New variable.
19078 (elint-unknown-builtin-args): Add an entry for encode-time.
19079 (elint-extra-errors): Make it a variable rather than a constant.
19080 (elint-preloaded-skip-re): New constant.
19081 (elint-directory): Skip files matching elint-directory-skip-re.
19082 (elint-features): New variable, local to linted buffers.
19083 (elint-update-env): Initialize elint-features. Possibly add
19084 elint-preloaded-env to the buffer's environment.
19085 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19087 (elint-init-form): New function, extracted from elint-init-env.
19088 Make non-list forms a warning rather than an error.
19089 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19090 easy-menu-define, put that adds an error-condition, and provide.
19091 When requiring cl, also require cl-macs. Really require cl, to handle
19092 some cl macros. Store required libraries in the list elint-features,
19093 so as not to re-load them. Treat cc-require like require.
19094 (elint-init-env): Call elint-init-form to do the work.
19095 Handle eval-and-compile and such like.
19096 (elint-add-required-env): Do not clear messages.
19097 (elint-special-forms): Add handlers for function, defalias, if, when,
19099 (elint-form): Add optional argument to ignore elint-special-forms,
19100 useful to prevent recursive calls from handlers. Doc fix.
19101 Respect elint-ignored-warnings.
19102 (elint-form): Respect elint-ignored-warnings.
19103 (elint-bound-variable, elint-bound-function): New variables.
19104 (elint-unbound-variable): Respect elint-bound-variable.
19105 (elint-get-args): Respect elint-bound-function.
19106 (elint-check-cond-form): Add some simple handling for (f)boundp and
19108 (elint-check-defalias-form): New handler.
19109 (elint-check-let-form): Make an empty let a warning rather than an
19111 (elint-check-setq-form): Make an empty setq a warning rather than an
19112 error. Respect elint-ignored-warnings.
19113 (elint-check-defvar-form): Accept null doc-strings.
19114 (elint-check-conditional-form): New handler. Does some simple-minded
19115 checking of featurep and (f)boundp tests.
19116 (elint-put-function-args): New function.
19117 (elint-initialize): Use elint-scan-doc-file rather than
19118 elint-find-builtin-variables. Use elint-put-function-args.
19119 Possibly scan preloaded-file-list.
19120 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19121 extend to handle functions as well.
19123 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19125 * linum.el (linum-delete-overlays, linum-update-window):
19126 Do not modify the right margin. (Bug#3971)
19128 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19130 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19131 Use nxml-mode instead of xml-mode.
19133 2009-09-21 Kevin Ryde <user42@zip.com.au>
19135 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19137 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19139 * net/dig.el (dig-mode): Use define-derived-mode.
19141 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19143 * vc-dispatcher.el (vc-do-command): Return the process object in
19144 the asynchronous case. Use when instead of if. Do not run
19145 vc-exec-after to display a message if not enabled. (Bug#4463)
19147 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19148 properties to the stash strings.
19149 (vc-git-stash-list): Return a list of strings.
19150 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19151 (vc-git-stash-show-at-point): New functions.
19152 (vc-git-stash-map): New keymap.
19154 * register.el (ctl-x-r-map): Define the keys here instead of
19157 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19159 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19160 list, to workaround performance problem (bug#4485).
19162 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19164 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19166 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19168 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19169 Document that this option is not recommended to use.
19171 2009-09-19 Glenn Morris <rgm@gnu.org>
19173 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19176 * calc/calc-alg.el (var):
19177 * calc/calcalg2.el (var): Define for compiler.
19179 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19181 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19182 Doc fix (Bug#3932).
19184 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19186 * time-stamp.el (time-stamp-month-dd-yyyy)
19187 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19188 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19189 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19190 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19191 Remove functions that have been obsolete since 1995 (Bug#4436).
19193 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19194 indent buffer only if called interactively (Bug#4452).
19196 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19197 Eli Zaretskii <eliz@gnu.org>
19199 This fixes bug#4197 (merged to bug#865, though not identical).
19200 * server.el (server-auth-dir): Add docstring note about FAT32.
19201 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19202 but warn against using them.
19204 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19206 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19207 older GDB where there is no has_more field.
19209 2009-09-19 Glenn Morris <rgm@gnu.org>
19211 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19213 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19215 * files.el (auto-mode-alist): Change default for XML files to nXML
19218 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19220 * server.el (server-ensure-safe-dir): Pass 'integer
19221 to `file-attributes', as suggested.
19223 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19225 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19226 (dired-query): Use read-key.
19228 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19230 * cus-start.el (ns-use-qd-smoothing): Remove.
19232 2009-09-18 Glenn Morris <rgm@gnu.org>
19234 * allout.el (top-level): Remove unnecessary progn.
19236 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19238 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19239 definition of abbrev table.
19241 * speedbar.el (speedbar-track-mouse):
19242 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19243 * net/eudc.el (eudc-expand-inline):
19244 * net/newst-backend.el (newsticker--cache-read-feed):
19245 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19246 condition-case handlers.
19248 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19250 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19251 (gdb-var-list): Add an element for has_more field.
19252 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19253 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19254 (gdb-var-update-handler-1): Parse output of dynamic variable
19255 objects (STL containers).
19256 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19257 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19259 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19261 (gud-speedbar-buttons): Make node expandable if expression "has more"
19264 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19266 * startup.el (emacs-quick-startup): Remove variable and all uses.
19267 (command-line): Set `inhibit-x-resources' instead.
19268 (command-line-1): Use `inhibit-x-resources' instead.
19270 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19272 * subr.el: Fix last change to avoid using the `unless' macro,
19273 which breaks bootstrapping.
19275 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19277 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19278 extended definitions, in case we reload subr.el after having
19280 (eval-next-after-load): Mark as obsolete.
19282 2009-09-17 Juri Linkov <juri@jurta.org>
19284 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19285 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19286 (menu-bar-showhide-menu, menu-bar-tools-menu)
19287 (menu-bar-describe-menu, menu-bar-help-menu)
19288 (minibuffer-local-completion-map, minibuffer-local-map):
19291 2009-09-17 Glenn Morris <rgm@gnu.org>
19293 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19294 arguments, whether or not it has a handler.
19296 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19298 * simple.el (hard-newline): Give it a doc-string.
19300 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19301 (lisp-mode-syntax-table): Give them doc-strings.
19303 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19305 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19306 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19307 (menu-bar-options-menu, menu-bar-showhide-menu)
19308 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19309 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19310 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19311 (menu-bar-options-menu, menu-bar-tools-menu)
19312 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19313 (menu-bar-help-menu):
19314 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19317 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19318 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19319 calls for the menu names and :help.
19321 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19323 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19324 to :minor-mode-function (bug#4455).
19326 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19328 * startup.el (command-line): Initialize the window-system after
19329 processing the command-line.
19331 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19332 page-delimiter matches the empty string.
19334 2009-09-16 Glenn Morris <rgm@gnu.org>
19336 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19337 byte-compile-not-obsolete-var. It's a list now.
19338 (byte-compile-not-obsolete-funcs): New variable.
19339 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19340 byte-compile-not-obsolete-funcs.
19341 (byte-compile-variable-ref, byte-compile-defvar): Update for
19342 byte-compile-not-obsolete-vars name-change and list nature.
19343 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19344 and variables behind (f)boundp tests.
19345 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19347 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19349 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19351 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19353 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19354 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19357 2009-09-15 Stephen Eglen <stephen@gnu.org>
19359 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19360 the virtual-buffers, use the name of the buffer specified by
19361 find-file-noselect, as the match may be a symlink. (This was a
19362 problem if the target and the symlink had different names.)
19364 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19366 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19368 * desktop.el (desktop-path): Check user-emacs-directory.
19370 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19372 * loadup.el: Use after-load-functions to GC after loading each file.
19373 Remove the explicit GC calls that used to be sprinkled around.
19375 * subr.el (after-load-functions): New hook.
19376 (do-after-load-evaluation): Run it. Use string-match-p to detect
19377 `obsolete' packages, rather than painfully extracting the relevant
19380 2009-09-15 Glenn Morris <rgm@gnu.org>
19382 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19383 free variable `doc'.
19385 * dired.el (dired-mode-map): Add menu entry for async shell command.
19387 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19388 variables, also consider the .elc files, since the .el files are
19389 normally gzipped (subsequent code locates the .el.gz from the .elc).
19391 * calc/calc-prog.el (arglist): Define for compiler.
19393 * calendar/diary-lib.el (diary-display-function): Change the default to
19395 (body): Define for compiler.
19397 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19398 (byte-compile-file-form, byte-compile-lambda)
19399 (byte-compile-top-level-body, byte-compile-form)
19400 (byte-compile-variable-ref, byte-compile-setq)
19401 (byte-compile-setq-default, byte-compile-body)
19402 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19403 (batch-byte-compile): Give some more local variables with common names
19404 a "bytecomp-" prefix to avoid masking warnings about free variables.
19406 * startup.el (command-line-1): Give local variables with common names a
19407 distinguishing prefix, so as not to hide free variable warnings during
19410 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19411 clever and add a suffix to make a unique name, just let the user decide
19412 whether or not to overwrite it. If the input is a directory, write the
19413 default filename to that directory. (Bug#4388)
19414 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19415 is a filename-as-a-directory.
19417 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19419 * textmodes/page.el (what-page): Don't move to beginning of line.
19420 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19422 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19424 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19426 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19428 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19429 * help.el (help-for-help-internal): Add purecopy calls for text.
19431 * vc.el (top): print-log method now takes an optional SHORTLOG
19432 argument. Add a new method: root.
19433 (vc-root-diff, vc-print-root-log): New functions.
19434 (vc-log-short-style): New variable.
19435 (vc-print-log-internal): Add support for showing short logs.
19437 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19438 vc-print-root-log and vc-print-root-diff.
19440 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19441 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19442 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19445 * vc-cvs.el (vc-cvs-print-log):
19446 * vc-mtn.el (vc-mtn-print-log):
19447 * vc-rcs.el (vc-rcs-print-log):
19448 * vc-sccs.el (vc-sccs-print-log):
19449 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19450 that is ignored for now.
19452 * vc-mtn.el (vc-mtn-annotate-command):
19453 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19455 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19457 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19458 to function-key-map, and give them ascii-character property.
19459 * term/x-win.el (x-alternatives-map):
19460 * term/ns-win.el (ns-alternatives-map):
19461 * term/internal.el (msdos-key-remapping-map):
19462 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19464 2009-09-14 Glenn Morris <rgm@gnu.org>
19466 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19467 temp-buffers (2009-09-12).
19469 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19471 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19472 the new read-key function.
19474 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19476 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19477 is defined (Bug#4405).
19479 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19481 * recentf.el (recentf-cleanup): Use a hash table to find
19482 duplicates (Bug#4407).
19484 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19486 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19487 kp-0 to ascii equivalents (Bug#4325).
19489 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19491 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19493 * eshell/em-hist.el:
19494 * eshell/em-dirs.el (eshell-complete-user-reference):
19495 Declare pcomplete functions and variables to avoid compiler warnings.
19497 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19499 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19500 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19501 * eshell/em-alias.el (eshell-aliases-file):
19502 * eshell/em-hist.el (eshell-history-file-name):
19503 Use expand-file-name instead of concat to make file names (Bug#4308).
19505 2009-09-13 Glenn Morris <rgm@gnu.org>
19507 * ediff-merg.el (ediff-do-merge):
19508 * filesets.el (filesets-run-cmd):
19509 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19510 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19511 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19512 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19513 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19514 Replace empty `let's with `progn'.
19516 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19518 * mail/sendmail.el (send-mail-function):
19519 * tooltip.el (tooltip-mode):
19520 * simple.el (transient-mark-mode):
19521 * rfn-eshadow.el (file-name-shadow-mode):
19522 * frame.el (blink-cursor-mode):
19523 * font-core.el (global-font-lock-mode):
19524 * files.el (temporary-file-directory)
19525 (small-temporary-file-directory, auto-save-file-name-transforms):
19526 * epa-hook.el (auto-encryption-mode):
19527 * composite.el (global-auto-composition-mode):
19528 Use custom-initialize-delay.
19529 * startup.el (command-line): Don't explicitly call
19530 custom-reevaluate-setting for all the above vars.
19531 * custom.el (custom-initialize-safe-set)
19532 (custom-initialize-safe-default): Delete.
19534 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19536 * term/x-win.el (x-initialize-window-system):
19537 * term/w32-win.el (w32-initialize-window-system):
19538 * term/ns-win.el (ns-initialize-window-system): Don't call
19539 mouse-wheel-mode since it's enabled globally by default already.
19541 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19542 actually define the variable, but only silences the byte-compiler.
19543 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19544 before looking it up.
19545 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19548 2009-09-12 Glenn Morris <rgm@gnu.org>
19550 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19552 (elint-add-required-env): Don't beep on error.
19553 (elint-forms): In case of error, return ENV unchanged.
19554 (elint-init-env): Skip non-list forms.
19555 (elint-log): Handle unknown file positions.
19557 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19559 * epg.el (epg-make-context): Add autoload cookie.
19560 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19561 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19562 (epg-verify-string, epg-start-sign, epg-sign-file)
19563 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19564 (epg-encrypt-string, epg-start-export-keys)
19565 (epg-export-keys-to-file, epg-export-keys-to-string)
19566 (epg-start-import-keys, epg-import-keys-from-file)
19567 (epg-import-keys-from-string, epg-start-receive-keys)
19568 (epg-receive-keys, epg-import-keys-from-server)
19569 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19570 (epg-sign-keys, epg-start-generate-key)
19571 (epg-generate-key-from-file, epg-generate-key-from-string):
19572 Remove autoload cookie.
19574 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19576 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19577 reevaluation of trash-directory.
19579 * mwheel.el: Fix last change.
19580 (mouse-wheel-mode): New defvar.
19581 (mouse-wheel-mode): Remove autoload cookie.
19583 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19585 * mwheel.el (mwheel-installed-bindings): New var.
19586 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19587 the bindings we set last time. Use custom-initialize-delay.
19588 * loadup.el: Load mwheel after term/*-win.el.
19589 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19590 and mouse-wheel-up-event now that their first evaluation is done
19591 sufficiently late to be correct.
19593 * startup.el (tutorial-directory): Make it a defcustom.
19594 Use custom-initialize-delay rather than eval-at-startup to set it.
19595 * image.el (image-load-path): Make it a defcustom.
19596 Use custom-initialize-delay rather than eval-at-startup to set it.
19597 * subr.el (eval-at-startup): Remove.
19598 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19600 * subr.el (do-after-load-evaluation): Warn the user after loading an
19603 2009-09-12 Glenn Morris <rgm@gnu.org>
19605 * proced.el (proced-mark-alt): Remove alias.
19606 (proced-mode-map): Remove proced-mark-alt.
19608 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19609 Elint file and directory. Remove initialization entry.
19611 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19613 (elint-current-buffer): Set mode-line-process.
19614 (elint-init-env): Handle define-derived-mode.
19615 Fix declare-function with unspecified arglist. Guard against odd
19616 defalias statements (eg iso-insert's 8859-1-map).
19617 (elint-add-required-env): Use a temp buffer.
19618 (elint-form): Just print the function/macro name, not the whole form.
19619 Return env unchanged if we fail to parse a macro.
19620 (elint-forms): Guard against parse errors.
19621 (elint-output): New function, to handle batch mode.
19622 (elint-log-message): Add optional argument. Use elint-output.
19623 (elint-set-mode-line): New function.
19625 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19627 * emacs-lisp/elp.el (elp-not-profilable): Add more
19628 functions (Bug#4233).
19630 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19632 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19633 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19635 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19637 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19638 (gdb-var-list-children): Use json parsing.
19640 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19642 * progmodes/js.el (js--proper-indentation): Handle the case where
19643 char-before is null. Reported by Deniz Dogan.
19645 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19647 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19649 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19651 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19652 (epg-digest-algorithm-alist): Add SHA224.
19653 (epg-context-set-passphrase-callback)
19654 (epg-context-set-progress-callback): Add description about
19657 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19659 * custom.el (custom-delayed-init-variables): New var.
19660 (custom-initialize-delay): New function.
19661 * startup.el (command-line): "Re"evaluate all vars in
19662 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19663 explicitly any more.
19664 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19665 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19667 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19669 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19671 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19672 (gdb-var-update-handler): Use json parsing.
19674 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19676 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19677 decode annotated text, regardless of language environment. (Bug#2741)
19679 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19681 * Makefile.in (autoloads): Make rmail.el writable as well.
19683 2009-09-11 Glenn Morris <rgm@gnu.org>
19685 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19687 * dired.el: Regenerate with extracted autoloads.
19688 * Makefile.in (autoloads): Make dired.el writable.
19690 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19691 * ibuffer.el: Regenerate with extracted autoloads.
19692 * Makefile.in (autoloads): Make ibuffer.el writable.
19694 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19695 * version.el (emacs-copyright, emacs-major-version)
19696 (emacs-minor-version): Reformat doc-strings for make-docfile.
19698 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19699 functions and variables, since they must be stuff specific to some other
19701 (apropos-print): Make mouse-click message less specific about button.
19703 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19704 that records where a macro was defined.
19705 * help-fns.el (describe-function-1): Mention if a function has a
19707 * help-mode.el (help-function-cmacro): New button.
19709 * locate.el (top-level): Always require dired.
19710 (locate-mode-map): Initialize inside the defvar.
19712 * net/ange-ftp.el (dired-compress-file): Declare.
19713 (ange-ftp-dired-compress-file): Add doc string.
19715 * term/ns-win.el (x-display-name, x-setup-function-keys):
19716 Unify doc-strings with X versions.
19718 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19720 * emulation/crisp.el (crisp-mode-map): Move initialization
19722 (crisp-mode): Use define-minor-mode.
19724 * progmodes/xscheme.el (xscheme-evaluation-commands):
19725 Put a :advertised-binding property rather than using
19726 advertised-xscheme-send-previous-expression.
19727 (advertised-xscheme-send-previous-expression): Declare obsolete.
19728 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19730 (crisp-mode): Add corresponding bindings to
19731 undo's :advertised-binding instead.
19732 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19733 than using dired-advertised-find-file.
19734 (dired-advertised-find-file):
19735 * simple.el (advertised-undo):
19736 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19737 (widget-keymap): Put a :advertised-binding property rather
19738 than using advertised-widget-backward.
19739 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19740 than using advertised-undo.
19741 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19743 2009-09-10 Simon South <ssouth@slowcomputing.org>
19745 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19746 Mark mode is enabled and region is active; otherwise indent or
19747 insert TAB as usual.
19748 (delphi-mode): Update description of TAB-key binding.
19750 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19752 * subr.el (define-key-rebound-commands): Mark obsolete.
19753 * startup.el (precompute-menubar-bindings): Remove.
19754 (normal-top-level): Remove obsolete code that tried to precompute
19756 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19757 define-key-rebound-commands and precompute-menubar-bindings.
19759 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19761 * net/imap.el (imap-interactive-login): Better messages.
19762 (imap-open): Fix bug with renamed buffer on reconnect.
19763 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19764 for easier debugging and cleaner code. On successful (guessed based on
19765 server capabilities) secondary authentication, set imap-state
19767 (imap-last-authenticator): Define imap-last-authenticator as a variable
19770 2009-09-10 Glenn Morris <rgm@gnu.org>
19772 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19774 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19775 (byte-compile-file-form-autoload): Don't warn about unknown functions
19776 where the autoload statement comes after the use.
19777 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19778 that any handlers inside the body (eg require) are in turn respected.
19780 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19783 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19784 and syntax and abbrev tables basic docs, if they don't have any.
19786 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19788 * international/mule-cmds.el (top-level): Require cl when compiling.
19789 (view-hello-file): Use default-value rather than
19790 default-enable-multibyte-characters.
19792 * progmodes/fortran.el: Move all safe and risky properties into the
19795 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19796 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19797 * mail/undigest.el:
19798 Put autoloads in rmail.el rather than loaddefs.el.
19799 * mail/rmail.el: Regenerate with extracted autoloads.
19801 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19802 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19804 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19806 Reported in thread for Bug#4375.
19807 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19808 "-data-evaluate-expression" instead of print.
19809 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19810 (gdb-tooltip-print): Parse output from above MI command.
19811 (gdb): Revert 2009-08-11 change. User should detach inferior
19814 Remove the word "separate" from IO functions as inferior
19815 output is now never displayed in the GUD buffer.
19817 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19819 * startup.el (command-line-normalize-file-name): On Windows and
19820 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19822 2009-09-10 Juri Linkov <juri@jurta.org>
19824 * isearch.el (isearch-text-char-description): Propertize escape
19825 character sequences with the `escape-glyph' face. (Bug#4344)
19827 * simple.el (shell-command): Set asynchronous process filter to
19828 `comint-output-filter'. (Bug#4343)
19830 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19831 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19832 the list. Move "asm" to the bottom.
19833 (grep-find-ignored-directories): Add `choice' with nil value
19834 to empty the list easily.
19835 (grep-find-ignored-files): New option.
19836 (grep-files-history): Set to nil by default instead of '("ch" "el").
19837 (grep-compute-defaults): Add "<X>" to `grep-template'.
19838 (grep-read-files): Bind new local variables `default-alias' and
19839 `default-extension'. Use a list of default values for the file prompt.
19840 (lgrep): Add `--exclude=' command line options composed from
19841 `grep-find-ignored-files'.
19842 (rgrep): Add `-name' command line options composed from
19843 `grep-find-ignored-files'. (Bug#4301)
19845 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19847 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19850 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19852 * calendar/time-date.el (autoload):
19853 Expand define-obsolete-function-alias into defalias and make-obsolete
19854 for old Emacsen that Gnus supports.
19855 (with-no-warnings): Define it for old Emacsen.
19856 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19858 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19859 float-time is available; suppress compile warning for time-to-seconds.
19861 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19863 * net/imap.el (imap-message-map): Docstring fix.
19865 2009-09-09 Glenn Morris <rgm@gnu.org>
19867 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19868 line numbers too. (Bug#4374)
19870 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19872 * smerge-mode.el (smerge-remove-props, smerge-refine):
19873 Use with-silent-modifications (bug#4342).
19875 * subr.el (with-silent-modifications): New macro.
19877 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19879 * files.el (top-level): Require `cl' when compiling.
19881 2009-09-07 Glenn Morris <rgm@gnu.org>
19883 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19885 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19886 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19888 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19890 * vc-git.el (vc-git-annotate-command): Use separator to parse
19891 arguments correctly.
19893 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19895 * proced.el (proced-mode): Doc fix.
19897 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19899 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19901 (tramp-do-file-attributes-with-ls): Check for file existence at
19903 (tramp-do-file-attributes-with-stat): Likewise.
19904 (tramp-convert-file-attributes): Return nil when attr is nil.
19906 2009-09-05 Glenn Morris <rgm@gnu.org>
19908 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19909 properties to this button.
19910 (diary-fancy-display): Don't extend the button to the final newline.
19911 (diary-fancy-display-mode): Continue to define "q" as a local key.
19913 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19916 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19918 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19919 (byte-compile-dest-file-function): New option.
19920 (byte-compile-dest-file): Doc fix.
19921 Obey byte-compile-dest-file-function.
19922 (byte-compile-cl-file-p): New function.
19923 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19924 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19925 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19926 than for file being previously loaded.
19927 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19928 (byte-compile-file-form-require): Handle the case where requiring a file
19929 indirectly causes CL to be loaded.
19931 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19933 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19934 before killing the old buffer, since by the time `kill-buffer' is
19935 run so many buffer variables have been set to nil that it may not
19936 behave as expected. (Bug#4061)
19938 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19940 * files.el (find-alternate-file): If the old buffer is modified
19941 and visiting a file, behave similarly to `kill-buffer' when
19942 killing it, thus reverting to the pre-1.878 behavior; see
19943 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19944 for discussion. Also, consult `buffer-file-name' as a variable
19945 not as a function, for consistency with the rest of the code.
19947 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19949 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19950 also when adding a new directory.
19952 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19955 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19957 * files.el (locate-file-completion-table): Make it provide boundary
19958 information, so partial-completion works better.
19960 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19962 * mail/footnote.el (Footnote-text-under-cursor):
19963 Check footnote-text-marker-alist before using it (bug#4324).
19965 2009-09-04 Glenn Morris <rgm@gnu.org>
19967 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19968 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19969 * play/solitaire.el, play/tetris.el:
19970 Remove leading * from defcustom and defface docs.
19972 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19974 (diary-fancy-overriding-map): New variable.
19975 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19978 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19981 2009-09-03 Glenn Morris <rgm@gnu.org>
19983 * arc-mode.el (archive-mode):
19984 * dos-fns.el (set-default-process-coding-system):
19985 * man.el (Man-getpage-in-background):
19986 * menu-bar.el (menu-bar-describe-menu):
19987 * server.el (server-process-filter):
19988 * startup.el (command-line):
19989 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19990 * w32-fns.el (set-default-process-coding-system):
19991 * x-dnd.el (x-dnd-handle-file-name):
19992 * international/mule-cmds.el (mule-menu-keymap)
19993 (set-default-coding-systems, language-info-alist, set-language-info)
19994 (set-language-environment, standard-display-european-internal)
19995 (set-locale-environment):
19996 * international/mule-diag.el (mule-diag):
19997 * mail/emacsbug.el (report-emacs-bug):
19998 * mail/rmail.el (rmail-mode):
19999 * mail/sendmail.el (mail-setup):
20000 Use default-value rather than default-enable-multibyte-characters.
20002 * progmodes/f90.el: Move all safe properties into the defcustoms.
20003 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20005 * calendar/appt.el (appt-check):
20006 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20007 (diary-check-diary-file, diary-list-entries)
20008 (diary-include-other-diary-files, diary-simple-display)
20009 (diary-fancy-display, diary-print-entries)
20010 (diary-mark-included-diary-files, diary-make-entry):
20011 Don't call substitute-in-file-name on diary-file.
20013 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20014 Stefan Monnier <monnier@iro.umontreal.ca>
20016 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20017 (footnote-mode-map): Move initialization into the declaration.
20018 (footnote-minor-mode-map): Define it rather than changing global-map.
20019 (footnote-mode): Use define-minor-mode.
20021 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20023 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20024 (tramp-do-file-attributes-with-perl)
20025 (tramp-do-file-attributes-with-stat): Rename from
20026 `tramp-handle-file-attributes-with-*'.
20027 (tramp-handle-file-attributes): Use them.
20028 (tramp-do-directory-files-and-attributes-with-perl)
20029 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20030 `tramp-handle-directory-files-and-attributes-with-*'.
20031 (tramp-handle-directory-files-and-attributes): Use them.
20032 (tramp-method-out-of-band-p): Additional parameter SIZE.
20033 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20034 (tramp-handle-write-region): Use it.
20035 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20036 (tramp-handle-vc-registered): Check, whether the first run did
20037 return files to be tested.
20038 (tramp-advice-make-auto-save-file-name): Do not call directly
20039 `tramp-handle-make-auto-save-file-name', because this would bypass
20040 the locking mechanism.
20042 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20043 (file-remote-p, process-file, start-file-process, set-file-times)
20044 (tramp-compat-file-attributes): Compatibility functions shall not
20045 call directly `tramp-handle-*', because this would bypass the
20047 (tramp-compat-number-sequence): New defun.
20049 2009-09-02 Glenn Morris <rgm@gnu.org>
20051 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20052 alias for float-time.
20053 (time-to-number-of-days): In Emacs, use float-time.
20054 * net/newst-backend.el (time-add): Suppress warnings from compat
20056 * time.el (emacs-uptime, emacs-init-time):
20057 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20058 Use float-time rather than time-to-seconds.
20060 * minibuffer.el (completion-initials-expand): Fix typo.
20062 * faces.el (modeline, modeline-inactive, modeline-highlight)
20063 (modeline-buffer-id):
20064 * info.el (info-menu-5): Mark these face aliases as obsolete.
20066 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20068 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20070 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20071 no "--thread" option.
20072 (gdb-stopped): Don't print "Switched to thread" message when it is
20075 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20077 * minibuffer.el (completion-try-completion)
20078 (completion-all-completions): Remove ill-defined (and
20079 mistakenly installed and luckily never used nor documented)
20080 `completion-styles' property.
20081 (completion-initials-expand, completion-initials-all-completions)
20082 (completion-initials-try-completion): New functions.
20083 (completion-styles-alist): Add doc to each entry.
20084 Add new `initials' entry.
20086 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20088 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20089 MI command -var-evaluate-expression.
20090 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20091 and tweak for case of string child.
20092 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20094 2009-09-01 Glenn Morris <rgm@gnu.org>
20096 * add-log.el (change-log-date-face, change-log-name-face)
20097 (change-log-email-face, change-log-file-face, change-log-list-face)
20098 (change-log-conditionals-face, change-log-function-face)
20099 (change-log-acknowledgement-face):
20100 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20101 (custom-modified-face, custom-set-face, custom-changed-face)
20102 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20103 (custom-documentation-face, custom-state-face, custom-comment-face)
20104 (custom-comment-tag-face, custom-variable-tag-face)
20105 (custom-variable-button-face, custom-face-tag-face)
20106 (custom-group-tag-face-1, custom-group-tag-face):
20107 * diff-mode.el (diff-header-face, diff-file-header-face)
20108 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20109 (diff-added-face, diff-changed-face, diff-function-face)
20110 (diff-context-face, diff-nonexistent-face):
20111 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20112 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20113 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20114 (Info-title-4-face):
20115 * isearch.el (isearch-lazy-highlight-face):
20116 * log-view.el (log-view-file-face, log-view-message-face):
20117 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20118 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20119 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20121 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20122 (smerge-base-face, smerge-markers-face):
20123 * wid-edit.el (widget-documentation-face, widget-button-face)
20124 (widget-field-face, widget-single-line-field-face)
20125 (widget-inactive-face, widget-button-pressed-face):
20126 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20127 (woman-addition-face):
20128 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20129 (eshell-ls-executable-face, eshell-ls-readonly-face)
20130 (eshell-ls-unreadable-face, eshell-ls-special-face)
20131 (eshell-ls-missing-face, eshell-ls-archive-face)
20132 (eshell-ls-backup-face, eshell-ls-product-face)
20133 (eshell-ls-clutter-face):
20134 * eshell/em-prompt.el (eshell-prompt-face):
20135 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20136 * obsolete/old-whitespace.el (whitespace-highlight-face):
20137 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20138 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20139 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20140 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20141 (antlr-font-lock-literal-face):
20142 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20143 (ebrowse-root-class-face, ebrowse-file-name-face)
20144 (ebrowse-default-face, ebrowse-member-attribute-face)
20145 (ebrowse-member-class-face, ebrowse-progress-face):
20146 * progmodes/make-mode.el (makefile-space-face):
20147 * progmodes/sh-script.el (sh-heredoc-face):
20148 * textmodes/flyspell.el (flyspell-incorrect-face)
20149 (flyspell-duplicate-face):
20150 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20151 * textmodes/texinfo.el (texinfo-heading-face):
20152 Mark face aliases with "-face" suffix as obsolete.
20154 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20157 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20158 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20159 easy-menu-define wants to modify these.
20161 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20163 * net/browse-url.el (browse-url-file-url):
20164 * term/internal.el (dos-codepage-setup):
20165 Use default-value rather than default-enable-multibyte-characters.
20167 * progmodes/etags.el (etags-goto-tag-location):
20168 * progmodes/flymake.el (flymake-highlight-line)
20169 (flymake-goto-file-and-line, flymake-goto-line):
20170 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20171 (gdb-goto-breakpoint):
20172 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20173 * progmodes/python.el (python-find-function)
20174 (python-pdbtrack-track-stack-file):
20175 * progmodes/verilog-mode.el (verilog-surelint-off):
20176 * term/ns-win.el (ns-open-file-select-line):
20177 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20178 Use forward-line rather than goto-line.
20180 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20181 * textmodes/reftex-index.el (reftex-display-index):
20182 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20183 * textmodes/reftex-toc.el (reftex-toc):
20184 Remove unnecessary bindings of default-major-mode (all are followed by
20185 major-mode check and possible mode switch).
20187 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20189 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20190 Handle watchpoints (bug#4282).
20191 (def-gdb-thread-buffer-command): Enable thread to be selected by
20192 clicking without selecting threads buffer first.
20193 (gdb-current-context-command): Use selected frame so that "up",
20194 "down" etc work in the GUD buffer.
20195 (gdb-update): Find selected frame before rendering stack buffer.
20196 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20198 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20200 * progmodes/sym-comp.el (displayed-completions): Remove.
20201 (symbol-complete): Use minibuffer-complete.
20203 2009-08-31 Glenn Morris <rgm@gnu.org>
20205 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20207 * apropos.el (apropos-symbols-internal):
20208 Handle (obsolete) face aliases.
20210 * faces.el (describe-face): Adjust the output format to be more like
20211 describe-variable, and to mention (obsolete) face aliases.
20212 Adjust the whitespace so that help-setup-xref works.
20214 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20215 * calendar/diary-lib.el (diary-button-face):
20216 Mark these face aliases as obsolete.
20218 * calendar/calendar.el (calendar-today): Doc fix.
20220 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20222 * progmodes/gdb-mi.el (gdb-control-all-threads)
20223 (gdb-control-current-thread): Force tool bar update.
20224 (gdb-non-stop-handler): New function.
20225 (gdb-init-1): Use it to test if non-stop mode is supported.
20226 Remove unused gdbmi buffer type.
20228 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20230 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20231 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20233 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20235 * comint.el (comint-exec-1): Check command is non-null first.
20236 Part of gdb-mi.el change (2009-08-28).
20238 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20240 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20242 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20244 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20245 instead of `dolist' to avoid a recursive require when bootstrapping.
20247 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20249 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20251 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20253 * net/imap.el (imap-send-command): Simplify.
20254 (imap-wait-for-tag): point-max -> buffer-size.
20256 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20258 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20259 with constant argument.
20261 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20263 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20265 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20266 Change default, since most of our files don't have a history.
20267 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20270 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20273 * calc/calc.el: Improve commenting convention.
20274 (calc-digit-map, toplevel): Simplify.
20276 * comint.el (comint-insert-input): Be careful to only set point if we
20277 don't delegate to some other command.
20279 * proced.el (proced-signal-list): Make it an alist.
20280 (proced-grammar-alist): Capitalize names.
20281 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20282 Disable undo manually and make it read-only.
20283 Use completion-annotate-function.
20285 * minibuffer.el (minibuffer-message): If the current buffer is not
20286 a minibuffer, insert the message in the echo area rather than at the
20288 (completion-annotate-function): New variable.
20289 (minibuffer-completion-help): Use it.
20290 (completion--embedded-envvar-table): Environment vars are
20291 always case-sensitive.
20293 2009-08-30 Glenn Morris <rgm@gnu.org>
20295 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20296 from fortran-current-defun.
20297 (fortran-beginning-of-subprogram): Be more precise about finding the
20298 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20299 (fortran-end-of-subprogram): Simplify.
20300 (fortran-current-defun): Use fortran-start-prog-re.
20302 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20304 * subr.el (do-after-load-evaluation): Simplify.
20306 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20308 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20310 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20311 (vc-rcs-print-log): Use it.
20313 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20315 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20317 * paths.el (abbrev-file-name): Move to abbrev.el.
20318 * abbrev.el (abbrev-file-name): Move from paths.el.
20319 Obey user-emacs-directory.
20320 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20321 user-emacs-directory.
20322 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20323 abbrev-file-name and calc-settings-file any more.
20324 * startup.el (command-line): Recompute abbrev-file-name and
20325 abbreviated-home-dir.
20326 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20327 of the special code for when C-h bindings haven't been changed.
20328 (display-startup-echo-area-message): Use with-current-buffer.
20329 (command-line-1): Use a list of strings, rather than a list of lists
20330 of strings for longopts.
20332 * files.el (get-free-disk-space): Use / for default-directory.
20334 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20335 Use with-current-buffer.
20337 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20338 Recognize immutable variables like most-positive-fixnum.
20339 (byte-compile-setq-default): Check and warn if trying to assign
20340 to an immutable variable, or a non-variable.
20342 * progmodes/cc-vars.el (c-comment-continuation-stars):
20343 * progmodes/cc-engine.el (c-looking-at-bos):
20344 * progmodes/cc-cmds.el (c-toggle-auto-state)
20345 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20346 (c-comment-line-break-function): Add version of obsolescence.
20348 2009-08-28 Juri Linkov <juri@jurta.org>
20350 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20351 associated with `archive-mode'.
20353 * image.el (image-type-header-regexps): Use only JPEG magic number
20354 to determine JPEG images, and don't use `image-jpeg-p' because
20355 Emacs can display non-JFIF non-Exif JPEG images.
20357 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20359 * arc-mode.el (archive-mode):
20360 * emacs-lisp/re-builder.el (re-builder-unload-function):
20361 Protect against the default value of `major-mode' being nil.
20363 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20365 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20366 Fix typos in docstrings.
20368 * progmodes/js.el (js--macro-decl-re): Doc fix.
20369 (js--plain-method-re, js--split-name): Refloc docstring.
20370 (js--class-styles, js--make-merged-item, js--splice-into-items):
20371 Fix typos in docstrings; reflow docstrings.
20372 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20373 (js--variable-decl-matcher, js--inside-pitem-p)
20374 (js--parse-state-at-point, js--get-all-known-symbols)
20375 (js--symbol-history, js-find-symbol, js--js-references)
20376 (js--moz-interactor, js--js-encode-value, js--read-tab):
20377 Fix typos in docstrings.
20379 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20381 * textmodes/reftex.el (reftex-get-file-buffer-force):
20382 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20383 * emulation/viper.el (viper-go-away, viper-set-hooks):
20384 * emacs-lisp/re-builder.el (re-builder-unload-function):
20385 * emacs-lisp/bytecomp.el (byte-compile-file):
20386 * ses.el (ses-unload-function):
20387 * hexl.el (hexl-find-file):
20388 * files.el (normal-mode):
20389 * ehelp.el (with-electric-help):
20390 * autoinsert.el (auto-insert-alist):
20391 * arc-mode.el (archive-mode):
20392 Use (default-value 'major-mode) instead of default-major-mode.
20394 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20395 * international/mule.el (load-with-code-conversion):
20396 * emacs-lisp/debug.el (debug):
20397 * ediff-vers.el (ediff-rcs-get-output-buffer):
20398 * dired.el (dired-internal-noselect): Don't let-bind
20399 default-major-mode around code that doesn't use it.
20400 E.g. buffer creation via get-buffer-create doesn't use it.
20402 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20404 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20405 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20406 when writing the temp file. Otherwise, epa-file gets confused.
20407 (tramp-register-file-name-handlers): Make it a defun. Move also
20408 `epa-file-handler' to the front of `file-name-handler-alist'.
20410 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20412 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20413 start right after a ^M.
20414 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20415 (tramp-completion-file-name-regexp-separate)
20416 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20417 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20418 Don't modify last-coding-system-used by accident.
20419 (tramp-completion-file-name-handler): Apply the checks here,
20420 instead during registration.
20421 (tramp-register-file-name-handlers): Rename from
20422 `tramp-register-file-name-handler'. Register both
20423 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20424 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20426 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20428 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20429 Remove variable ...
20430 (gdb-init-1, gdb-display-separate-io-buffer)
20431 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20433 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20434 (gdb-inferior-filter): Use comint-output-filter to stop
20435 echoing and remove ^M characters.
20437 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20439 * emulation/viper-init.el (viper-restore-cursor-type):
20440 * emulation/cua-base.el (cua--update-indications):
20441 Replace default-cursor-type with (default-value 'cursor-type).
20443 * mail/sendmail.el (mail-recover-1):
20444 * international/mule-diag.el (describe-current-coding-system-briefly)
20445 (describe-current-coding-system):
20446 * international/mule-cmds.el (select-safe-coding-system)
20447 (select-message-coding-system)
20448 (set-language-environment-coding-systems, set-locale-environment):
20449 * hexl.el (hexl-insert-multibyte-char):
20450 * dos-w32.el (find-buffer-file-type-coding-system):
20451 * simple.el (what-cursor-position):
20452 Replace uses of default-buffer-file-coding-system
20453 with (default-value 'buffer-file-coding-system).
20455 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20456 Replace uses of default-cursor-in-non-selected-windows
20457 with (default-value 'cursor-in-non-selected-windows).
20458 Use with-current-buffer.
20460 * mail/feedmail.el: Use CL macros.
20461 (feedmail-run-the-queue, feedmail-send-it-immediately):
20462 * dos-w32.el (find-buffer-file-type): Replace uses of
20463 default-buffer-file-type with (default-value 'buffer-file-type).
20465 2009-08-28 Glenn Morris <rgm@gnu.org>
20467 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20468 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20469 Use default-value of major-mode rather than default-major-mode.
20471 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20473 * Makefile.in (update-elcfiles): Report left over elc files.
20475 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20476 expand-file-name and with-current-buffer.
20477 (mail-get-names, mail-directory): Use with-current-buffer.
20479 * vc.el (vc-read-revision): New function.
20480 (vc-version-diff, vc-merge): Use it.
20482 2009-08-27 Sam Steingold <sds@gnu.org>
20484 * simple.el (kill-do-not-save-duplicates): New user option.
20485 (kill-new): When it is non-nil, and the new string is the same as
20486 the latest kill, set replace to t to avoid duplicates in kill-ring.
20488 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20490 * net/tramp.el (tramp-handle-process-file): Do not flush all
20491 caches when `process-file-side-effects' is set.
20492 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20493 instead of `tramp-find-file-exists-command'.
20494 Unset `process-file-side-effects'.
20496 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20498 * net/tramp.el (tramp-methods): New method "rsyncc".
20499 (top): Add completion function for "rsyncc".
20500 (tramp-message-show-message): New defvar.
20501 (tramp-message, tramp-error): Use it.
20502 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20504 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20505 `tramp-methods' entry `copy-env' of "rsyncc".
20506 (tramp-vc-registered-read-file-names): New defconst.
20507 (tramp-vc-registered-file-names): New defvar.
20508 (tramp-handle-vc-registered): Implement optimization strategy.
20509 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20510 (tramp-vc-file-name-handler): New defun.
20511 (tramp-get-ls-command, tramp-get-test-command)
20512 (tramp-get-file-exists-command, tramp-get-remote-ln)
20513 (tramp-get-remote-perl, tramp-get-remote-stat)
20514 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20516 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20517 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20519 (tramp-get-file-property): Check for timestamps in
20520 `tramp-cache-inhibit-cache'.
20521 (tramp-set-file-property): Write timestamp.
20523 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20525 * language/japan-util.el (japanese-symbol-table): Add entries for
20528 * international/characters.el: Add category `j' to cp932-2-byte.
20530 2009-08-27 Kenichi Handa <handa@m17n.org>
20532 * international/fontset.el (build-default-fontset-data): New macro.
20533 (setup-default-fontset): Use build-default-fontset-data for CJK,
20534 tibetan, ethiopic, and ipa.
20536 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20538 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20539 (enable-multibyte-characters): Not customizable any more.
20541 * subr.el (default-mode-line-format, default-header-line-format)
20542 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20543 (default-direction-reversed, default-truncate-lines)
20544 (default-left-margin, default-tab-width, default-case-fold-search)
20545 (default-left-margin-width, default-right-margin-width)
20546 (default-left-fringe-width, default-right-fringe-width)
20547 (default-fringes-outside-margins, default-scroll-bar-width)
20548 (default-vertical-scroll-bar, default-indicate-empty-lines)
20549 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20550 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20551 (default-scroll-down-aggressively, default-fill-column)
20552 (default-cursor-type, default-buffer-file-type)
20553 (default-cursor-in-non-selected-windows)
20554 (default-buffer-file-coding-system, default-major-mode)
20555 (default-enable-multibyte-characters): Mark as obsolete.
20557 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20559 * vc-dir.el (vc-dir-update): Remove debug helper.
20561 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20563 2009-08-26 Sam Steingold <sds@gnu.org>
20565 * simple.el (save-interprogram-paste-before-kill): New user option.
20566 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20567 save the interprogram-paste into kill-ring before overriding it
20568 with the Emacs kill.
20570 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20572 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20573 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20574 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20575 and move to vc-rcs.el.
20576 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20578 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20579 (vc-rcs-update-changelog): Remove.
20580 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20581 and move to vc-rcs.el.
20583 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20584 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20586 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20587 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20588 vc.el, renamed to be RCS specific.
20590 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20592 (vc-cvs-update-changelog): Move here from vc.el.
20594 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20597 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20599 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20601 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20603 * vc-git.el (vc-git-register): Use "git add" for directories.
20604 (vc-git-stash, vc-git-stash-show): New functions.
20605 (vc-git-extra-menu-map): Bind them.
20607 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20608 directory correctly in case the item is a directory itself.
20610 * vc.el: Document the desired behavior for reverted files in the
20612 (vc-default-prettify-state-info): Remove function, unused.
20614 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20616 2009-08-26 Glenn Morris <rgm@gnu.org>
20618 * bindings.el (standard-mode-line-format): Reposition dashes in
20619 which-func entry. (Bug#4217)
20621 * files.el (enable-local-variables, enable-local-eval)
20622 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20624 (auto-mode-alist, ignored-local-variables)
20625 (save-some-buffers-action-alist): Move risky declarations to the
20627 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20628 (font-lock-defaults, format-alist, imenu--index-alist)
20629 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20630 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20631 (mode-line-modified, mode-line-mule-info, mode-line-position)
20632 (mode-line-process, mode-line-remote, outline-level)
20633 (parse-time-rules, rmail-output-file-alist)
20634 (special-display-buffer-names, vc-mode):
20635 Move risky declarations to the relevant files.
20636 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20637 (mode-line-modified, mode-line-process, mode-line-position)
20638 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20639 * font-core.el (font-lock-defaults):
20640 * format.el (format-alist):
20641 * vc-hooks.el (vc-mode):
20642 * window.el (special-display-buffer-names):
20643 * international/mule-cmds.el (input-method-alist):
20644 Define riskiness here (dumped file) rather than in files.el.
20645 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20646 * imenu.el (imenu-generic-expression, imenu--index-alist):
20647 * outline.el (outline-level):
20648 * time.el (display-time-string):
20649 * calendar/parse-time.el (parse-time-rules):
20650 * mail/rmailout.el (rmail-output-file-alist):
20651 Autoload riskiness here, rather than placing in files.el.
20653 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20655 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20657 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20659 * simple.el (process-file-side-effects): New defvar.
20661 * dired-aux.el (dired-show-file-type):
20662 * vc.el (vc-diff-internal):
20663 * vc-arch.el (vc-arch-diff):
20664 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20665 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20666 * vc-git.el (vc-git-registered, vc-git-working-revision)
20667 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20668 (vc-git--empty-db-p):
20669 * vc-hooks.el (vc-user-login-name):
20670 * vc-svn.el (vc-svn-registered, vc-svn-state)
20671 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20672 * progmodes/grep.el (grep-probe): Let-bind
20673 `process-file-side-effects' with nil.
20675 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20677 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20678 daemon. Replace ping by checking for running service for bluez
20679 and zeroconf. (Bug#4239)
20681 2009-08-25 Kevin Ryde <user42@zip.com.au>
20683 * net/dig.el (dig): Add autoload cookie.
20685 2009-08-25 Glenn Morris <rgm@gnu.org>
20687 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20688 load-history for absolute file-names.
20689 (byte-compile-file-form-require): Warn about use of the cl package.
20691 * format.el (format-alist): Doc fix.
20693 * play/bubbles.el (top-level): Don't require cl at run-time.
20695 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20698 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20700 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20702 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20704 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20706 * calc/calc-alg.el (math-trig-rewrite)
20707 (math-hyperbolic-trig-rewrite): New functions.
20708 (calc-simplify): Simplify trig functions when asked.
20710 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20712 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20714 2009-08-24 Kenichi Handa <handa@m17n.org>
20716 * language/ind-util.el (mapthread): Delete it.
20717 (combinatorial): New function.
20718 (indian--puthash-cv): Use combinatorial instead of mapthread.
20720 2009-08-22 Kevin Ryde <user42@zip.com.au>
20722 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20723 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20724 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20725 Clarify docstring that the value is strings not symbols.
20726 (checkdoc-list-of-strings-p): New function.
20728 2009-08-22 Glenn Morris <rgm@gnu.org>
20730 * files.el (auto-mode-alist):
20731 * hippie-exp.el (he-concat-directory-file-name):
20732 * lpr.el (lpr-windows-system, printer-name):
20733 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20734 * ps-print.el (ps-windows-system):
20735 * startup.el (command-line):
20736 * emulation/viper-ex.el (viper-glob-function):
20737 * international/mule-cmds.el (set-language-environment-coding-systems):
20738 * net/ange-ftp.el (ange-ftp-write-region):
20739 * obsolete/fast-lock.el (fast-lock-cache-name):
20740 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20741 unisoft-unix, vax-vms, win32, w32.
20743 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20744 given name if the pattern is not more specific.
20746 * calendar/lunar.el (lunar-phase-names): New option.
20747 (lunar-phase): Doc fix.
20748 (lunar-cycles-per-year): New constant.
20749 (lunar-index): New function.
20750 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20751 (lunar-phase-name): Use lunar-phase-names.
20752 (calendar-lunar-phases): Use format.
20753 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20755 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20756 Copy imenu-example--name-and-position function here for own use.
20757 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20759 * bs.el (bs--redisplay):
20760 * cus-edit.el (custom-redraw):
20761 * ibuffer.el (ibuffer-bury-buffer):
20762 * server.el (server-goto-line-column):
20763 * startup.el (command-line-1):
20764 * strokes.el (strokes-xpm-for-stroke):
20765 * term.el (term-display-buffer-line):
20766 * view.el (View-goto-line):
20767 * calc/calc.el (calc-do, calc-trail-buffer):
20768 * play/gamegrid.el (gamegrid-add-score-insecure):
20769 * progmodes/ada-mode.el (ada-compile-goto-error):
20770 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20771 (ebrowse-select-1st-to-9nth):
20772 * progmodes/cperl-mode.el (cperl-time-fontification):
20773 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20774 * progmodes/gud.el (gud-display-line):
20775 (idlwave-shell-display-line):
20776 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20777 * progmodes/make-mode.el (makefile-browser-toggle):
20778 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20779 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20780 * textmodes/picture.el (picture-draw-rectangle):
20781 * textmodes/reftex-index.el (reftex-index-goto-letter):
20782 (reftex-select-jump-to-previous):
20783 * textmodes/reftex-sel.el (reftex-find-start-point)
20784 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20785 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20786 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20787 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20788 * textmodes/two-column.el (2C-associated-buffer):
20789 Use forward-line rather than goto-line.
20791 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20794 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20795 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20796 (quick-check-list-to-regexp): Declare.
20798 * progmodes/make-mode.el (makefile-browser-insert-selection):
20799 Use goto-char rather than goto-line.
20801 * progmodes/prolog.el (compilation-error-regexp-alist)
20802 (compilation-forget-errors): Declare.
20804 2009-08-22 Juri Linkov <juri@jurta.org>
20806 * progmodes/grep.el (lgrep, rgrep): At the beginning
20807 set `dir' to `default-directory' unless `dir' is a non-nil
20808 readable directory. (Bug#4052)
20809 (lgrep, rgrep): Change a weird way to report an error
20810 from using `read-string' to using `error'.
20811 Instead of using interactive arguments in the function body,
20812 add new argument `confirm'.
20814 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20816 * textmodes/remember.el (remember-buffer):
20817 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20818 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20819 (icalendar-extract-ical-from-buffer):
20820 * net/newst-treeview.el (newsticker-groups-filename):
20821 * net/newst-backend.el (newsticker-cache-filename):
20822 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20823 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20824 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20825 (speedbar-buffers-line-path, speedbar-path-line)
20826 (speedbar-buffers-line-path):
20827 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20829 * epa.el (epa-display-verify-result):
20830 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20832 2009-08-21 Glenn Morris <rgm@gnu.org>
20834 * progmodes/js.el (inferior-moz-process): Fix declaration.
20836 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20838 * obsolete/rnewspost.el (news-mail-reply):
20839 Use goto-char rather than goto-line.
20841 * term/ns-win.el (ns-open-file-select-line):
20842 Use line-beginning-position rather than goto-line.
20844 * apropos.el (apropos-command):
20845 * ehelp.el (electric-helpify):
20846 * printing.el (pr-show-setup):
20847 * strokes.el (strokes-help):
20848 * tutorial.el (tutorial--describe-nonstandard-key)
20849 (tutorial--detailed-help):
20850 * woman.el (woman-mini-help, woman-display-extended-fonts):
20851 * calc/calc-help.el (calc-describe-key):
20852 * emulation/edt.el (edt-electric-helpify):
20853 * international/mule-diag.el (mule-diag):
20854 * play/yow.el (apropos-zippy):
20855 * progmodes/python.el (python-describe-symbol):
20856 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20857 * textmodes/table.el (*table--cell-describe-mode)
20858 (*table--cell-describe-bindings):
20859 Use help-print-return-message rather than the now obsolete alias.
20861 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20862 (calendar-cursor-to-visible-date):
20863 * play/5x5.el (5x5-position-cursor):
20864 * play/decipher.el (decipher):
20865 * play/gomoku.el (gomoku-goto-xy):
20866 * play/landmark.el (lm-goto-xy):
20867 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20868 (mpuz-paint-digit):
20869 Use forward-line, not goto-line.
20871 * mail/rmail.el (rmail-obsolete): Delete custom group.
20872 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20873 (rmail-remote-password, rmail-remote-password-required):
20874 Remove unneeded :set-after and :set properties.
20876 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20878 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20880 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20882 * loadup.el: Remove leftover macos code.
20884 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20885 Explicitly pass the date format to git blame so that user local
20886 so that the output format can be parsed.
20888 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20890 * net/dbus.el (top): Don't check for (getenv
20891 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20893 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20895 * log-edit.el (log-edit-strip-single-file-name): New var.
20896 (log-edit-insert-changelog): Use it. Bug#3571.
20898 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20900 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20903 * help.el (help-print-return-message): Rename from
20904 print-help-return-message.
20906 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20907 cvs-mode-map parent hack.
20908 (log-view-mode): Derive from special-mode.
20910 * linum.el (linum-mode): window-size-change-functions is redundant.
20911 Adapt to new window-configuration-change-hook behavior.
20912 (linum-after-size, linum-after-config): Remove.
20914 * imenu.el (imenu-example--name-and-position)
20915 (imenu-example--lisp-extract-index-name)
20916 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20919 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20920 (inferior-prolog-mode): Use it.
20921 (inferior-prolog-load-file): Reset list of errors.
20923 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20925 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20927 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20929 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20931 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20932 is running already.
20934 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20936 * subr.el (listify-key-sequence-1): Use normal syntax since those
20937 integers are nowadays always represented by the same (positive) number
20939 (read-key-empty-map): New const.
20940 (read-key-delay): New var.
20941 (read-key): New function.
20942 (force-mode-line-update): Use with-current-buffer.
20943 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20944 (start-process-shell-command, start-file-process-shell-command):
20945 Discourage the use of command-args.
20947 2009-08-19 Glenn Morris <rgm@gnu.org>
20949 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20951 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20953 * simple.el (choose-completion-string): Don't rely on
20954 minibuffer-completing-file-name and ad-hoc checks to decide whether
20955 to continue completion or not.
20957 * minibuffer.el (minibuffer-hide-completions): New function.
20958 (completion--do-completion): Use it.
20959 (completions-annotations): New face.
20960 (completion--insert-strings): Use it.
20961 (completion-pcm--delim-wild-regex): Add docstring.
20962 (completion-pcm--string->pattern): Add support for 0-width delimiters
20963 in completion-pcm--delim-wild-regex.
20965 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20967 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20968 Remove unused var `buffer-modified-p'.
20970 * minibuffer.el (completion--do-completion): Move point for the #b001
20971 case as well (bug#4176).
20972 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20974 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20976 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20977 and :session buses.
20979 2009-08-18 Kenichi Handa <handa@m17n.org>
20981 * international/ucs-normalize.el (ucs-normalize-version):
20983 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20984 (utf-8-hfs): Make it perform normalization on encoding too.
20986 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20987 (sentence-end-without-space): Delete duplicated chars.
20988 (sentence-end-base): Likewise.
20990 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20991 (html-mode): Delete duplicated chars from sentence-end-base.
20993 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20994 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20996 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20998 * files.el (hack-one-local-variable): If the mode function is for
20999 a minor mode, pass it an argument (Bug#4148).
21001 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21003 * net/tramp.el (tramp-register-completion-file-name-handler):
21004 Check also for (member 'partial-completion completion-styles).
21006 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21008 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21011 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21013 * progmodes/cperl-mode.el: Merge upstream 6.2.
21014 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21015 (cperl-forward-re): Check cperl-brace-recursing.
21016 (cperl-highlight-charclass): New function.
21017 (cperl-find-pods-heres): Use it.
21018 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21019 (cperl-beautify-regexp-piece): Fix column calculation.
21020 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21021 (cperl-beautify-level): Don't process entire regexp.
21022 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21024 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21025 (cperl-init-faces): Build a list in the normal way.
21027 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21029 * calendar/parse-time.el (parse-time-string-chars): Save match
21032 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21034 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21035 (sql-product): Use it.
21036 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21037 (sql-set-product): Add completion.
21038 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21039 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21040 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21041 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21042 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21043 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21044 (sql-highlight-db2-keywords): Remove.
21045 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21046 (sql-highlight-product): Use derived-mode-p.
21047 (sql-set-sqli-buffer): Use with-current-buffer.
21048 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21051 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21053 * term.el: Fix commenting convention, turn comments into docstrings.
21055 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21057 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21059 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21061 * calendar/parse-time.el (parse-time-string-chars): Compute using
21062 character classes, to handle non-ascii characters (Bug#3190).
21064 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21066 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21067 another heredoc if the user adds another < (Bug#3226).
21069 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21070 Don't initialize based on window-system (Bug#4124).
21072 * facemenu.el (facemenu-read-color): Use a completion function
21073 that accepts any defined color, such as RGB triplets (Bug#3677).
21075 * files.el (get-free-disk-space): Change fallback default
21076 directory to /. Expand DIR argument before switching to fallback.
21077 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21079 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21081 * files.el (load-library): Doc fix.
21083 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21085 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21086 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21087 incremental search string.
21089 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21092 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21093 (ediff-merge-region-is-non-clash)
21094 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21095 Also check if the job is really a merge job.
21097 * ediff.el (ediff-current-file): New function.
21099 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21101 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21103 (js-insert-and-indent): Delete function.
21104 (js-mode-map): Don't bind keys to js-insert-and-indent.
21105 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21106 (js-end-of-defun): Rename from js--end-of-defun.
21107 (js-auto-indent-flag): Delete variable.
21109 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21111 * progmodes/js.el: Remove proclaim statement.
21112 Defvar which-func-imenu-joiner-function to silence compiler.
21114 * files.el (auto-mode-alist): Use js-mode for .js files.
21116 * progmodes/js2-mode.el: Remove file.
21118 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21120 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21122 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21124 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21125 Karl Landstrom <karl.landstrom@brgeight.se>
21127 * progmodes/js.el: New file.
21129 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21131 * timezone.el (timezone-parse-date): Add ability to understand ISO
21132 basic format (minimal separators) dates in addition to the
21133 already-supported extended format dates.
21135 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21137 * international/ucs-normalize.el: Add a `coding' file variable.
21139 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21141 2009-08-14 Sam Steingold <sds@gnu.org>
21143 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21145 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21147 * faces.el (help-argument-name): Define it here instead of
21148 help-fns.el, because in daemon mode help-fns.el may be loaded when
21149 faces are still uninitialized (Bug#1078).
21151 * help-fns.el (help-argument-name): Move defface to faces.el.
21153 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21155 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21156 create buffer with a pty but no process so that GDB can make the
21157 inferior the controlling process.
21159 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21161 * international/ucs-normalize.el: New file.
21163 2009-08-13 Richard Stallman <rms@gnu.org>
21165 * mail/rmail.el (rmail-get-attr-names):
21166 Accept an attribute header that is too short.
21168 * mail/rmail.el (rmail-forget-messages):
21169 Ignore nil elt in rmail-message-vector. Use dotimes.
21171 * progmodes/compile.el (compilation-goto-locus):
21172 Use next-error-move-function.
21174 * simple.el (next-error-move-function): New variable.
21176 2009-08-12 Juri Linkov <juri@jurta.org>
21178 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21179 always non-nil. (Bug#4052)
21181 * replace.el (read-regexp): Return empty string when
21182 `default-value' is nil.
21183 (keep-lines-read-args): Don't use empty string as the
21184 default value for `read-regexp'. (Bug#2495)
21186 2009-08-12 Juri Linkov <juri@jurta.org>
21188 * international/mule-cmds.el (ucs-insert): Change arguments
21189 from `arg' to `character', `count', `inherit' to be the same
21190 as in `insert-char'. Doc fix. (Bug#4039)
21192 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21194 2009-08-12 Juri Linkov <juri@jurta.org>
21196 * files-x.el: New file.
21198 * files.el: Move code that deals with adding/deleting
21199 file/directory-local variables to files-x.el.
21201 * Makefile.in (ELCFILES): Add files-x.elc.
21203 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21205 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21206 to use `goto-line'.
21207 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21209 (gdb-invalidate-disassembly): Do not refresh upon receiving
21210 'update signal. Instead, update all disassembly buffers only after
21212 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21213 (gdb-starting): Move -data-list-register-names...
21214 (gdb-stopped): ...here so it's sent when first thread stops.
21215 (gdb-registers-handler-custom): Do nothing if register names are
21218 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21219 from `gdb-mi.el' to avoid extra tangling.
21221 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21222 change which breaks `gud-def' definitions used in `gdb'.
21223 (gdb-update-gud-running): No extra fuss for updating frame number.
21225 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21227 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21228 (describe-language-environment-map, setup-language-environment-map)
21229 (set-coding-system-map): Move initialization into declaration.
21230 (set-language-info-alist): Last arg to define-key-after can be skipped.
21232 * international/quail.el (quail-completion-1): Simplify.
21233 (quail-define-rules): Use slightly more compact code.
21234 (quail-insert-decode-map): Propertize keys, compact columns.
21236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21239 2009-08-10 Miles Bader <miles@gnu.org>
21241 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21242 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21243 (js2-instance-member, js2-private-member, js2-private-function-call)
21244 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21245 (js2-magic-paren, js2-external-variable):
21246 Remove "-face" suffix from face names.
21247 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21248 (js2-highlight-undeclared-vars, js2-peek-token)
21249 (js2-parse-function-params, js2-mode-show-errors)
21250 (js2-mode-show-warnings, js2-make-magic-delimiter)
21251 (js2-mode-highlight-magic-parens): Update to use new face names.
21253 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21255 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21256 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21258 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21260 * subr.el: Provide hashtable-print-readable.
21262 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21263 hs-c-like-adjust-block-beginning.
21264 (hs-hide-block-at-point): Stop hiding at the beginning of
21265 hs-block-end-regexp (Bug#700).
21267 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21269 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21271 (gdb-registers-handler-custom): Do not fail when register names
21274 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21276 * progmodes/gdb-mi.el (gdb-control-all-threads)
21277 (gdb-control-current-thread): Interactive setters for
21278 `gdb-gud-control-all-threads' to use in menu.
21279 (gdb-show-run-p): Show «Go» when process is not active.
21280 (gud-tool-bar-map): Add non-stop/A,T indicator.
21281 Uses gud/thread.xpm and gud/all.xpm.
21283 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21285 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21286 (nslookup-font-lock-keywords): Make it a variable.
21287 (net-utils-mode): New mode for viewing diagnostic network output.
21288 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21289 (net-utils-run-simple): New function.
21290 (ifconfig, iwconfig, netstat, arp, route): Use it.
21292 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21294 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21295 (gdb-memory-set-address, def-gdb-set-positive-number)
21296 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21297 after changing settings.
21298 (gdb-invalidate-disassembly): Update when first shown.
21299 (gdb-edit-locals-value): Fix.
21300 (gdb-registers-handler-custom): Print registers in right order and
21301 allow changing register values (only for current thread yet).
21302 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21303 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21304 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21305 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21306 Thread info in mode name.
21307 (gdb-registers-mode-map): TAB to switch to locals.
21309 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21311 * mail/rmail.el (rmail-add-mbox-headers)
21312 (rmail-set-message-counters-counter): Search for
21313 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21315 2009-08-08 Glenn Morris <rgm@gnu.org>
21317 * Makefile.in (ELCFILES): Update.
21319 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21321 * mail/sendmail.el (mail-yank-original):
21322 Set buffer-file-coding-system from the one used by the message whose
21325 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21326 to "windows" when "pgnuplot" is used.
21327 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21328 Don't call accept-process-output if "pgnuplot" is used.
21329 (calc-graph-init): Don't send -display and -geometry to
21330 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21331 running "pgnuplot -V" with shell-command-to-string.
21333 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21336 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21338 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21341 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21343 * vc-dispatcher.el (vc-resynch-window): Update comment.
21345 * term.el (term-handle-ansi-escape): Add comments with the
21346 terminfo capabilities implemented.
21348 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21350 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21351 (gdb-var-create-handler): Rewritten using JSON parser.
21352 (gdb-propertize-header): Move earlier.
21353 (gdb-set-header): Remove to avoid duplication.
21354 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21355 Refresh disassembly buffers only after threads list have been
21357 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21360 2009-08-04 Juri Linkov <juri@jurta.org>
21362 * files.el: Commands to add/delete file/directory-local variables.
21363 (read-file-local-variable, read-file-local-variable-value)
21364 (read-file-local-variable-mode, modify-file-local-variable)
21365 (modify-file-local-variable-prop-line)
21366 (modify-dir-local-variable): New functions.
21367 (add-file-local-variable, delete-file-local-variable)
21368 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21369 (add-dir-local-variable, delete-dir-local-variable)
21370 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21371 (copy-dir-locals-to-file-locals-prop-line): New commands.
21373 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21375 * abbrev.el (insert-abbrev-table-description): Prettify output.
21376 Suggested by Karl Chen.
21378 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21380 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21381 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21382 (gdb-overlay-arrow-position, gdb-thread-position)
21383 (gdb-disassembly-position): Declare variables.
21384 (gdb-wait-for-pending): Function now.
21385 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21386 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21387 compilation goes smoothly.
21388 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21389 (gdb-non-stop-setting): New customization setting which replaces
21390 `gdb-non-stop' so changing it doesn't break active GDB session.
21391 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21392 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21393 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21394 (gdb-show-threads-by-default): New customization options.
21395 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21397 (gdb-get-buffer-create): Send buffers update signal when they are
21399 (gdb-invalidate-locals, gdb-invalidate-registers)
21400 (gdb-invalidate-breakpoints)
21401 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21402 (gdb-invalidate-memory): Accept update signal.
21403 (gdb-current-context-command): Use --frame option.
21404 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21405 Implement `gdb-frame-number' selection logic.
21406 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21407 whether to show GUD toolbar buttons.
21408 (gdb-thread-exited): Unselect current thread when it exits.
21409 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21410 (gdb-mark-line): Routine which sets overlay arrow or inverses
21411 video on fringeless displays.
21412 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21413 to build aligned columns of data in GDB buffers and set text
21414 properties line-by-line.
21415 (gdb-invalidate-breakpoints)
21416 (gdb-breakpoints-list-handler-custom)
21417 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21418 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21419 (gdb-registers-handler-custom): Align data columns.
21420 (gdb-locals-handler-custom): Now prints data like in variable
21422 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21423 Remove confusing buttons.
21424 (gdb-invalidate-threads): Append --frame.
21425 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21426 between breakpoints/threads buffers.
21427 (gdb-set-window-buffer): Now can ignore dedicated windows.
21428 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21429 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21430 (def-gdb-thread-buffer-gud-command): Replaces
21431 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21432 for fine thread control.
21433 (gdb-preempt-existing-or-display-buffer): New function used to
21434 display bound buffers without breaking window layout.
21435 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21436 (gdb-select-frame): New version of `gdb-frames-select' which now
21437 sets `gdb-frame-number' so commands may use --frame option instead
21438 of inner debugger state.
21439 (gdb-frame-handler): Do not set `gdb-frame-number'.
21440 (gdb-threads-mode-map): Select threads with mouse.
21442 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21443 avoid compilation warning.
21444 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21447 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21448 Argument `key' renamed to `buffer-type'.
21449 (gdb-current-context-buffer-name): Do not add thread info to
21450 buffer name when no thread is selected.
21451 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21452 command (bug 3794).
21453 (gdb-thread-selected): Handle `=thread-selected' notification.
21454 (gdb-wait-for-pending): New macro to deal with congestion problems.
21455 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21457 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21458 This fixes problem similar to one described in bug 3947.
21459 (gud-menu-map): More menu items.
21460 (gdb-init-1): Reset `gdb-thread-number' to nil.
21462 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21465 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21466 (gdb-current-context-command): Do not append --thread if
21467 `gdb-thread-number' is nil.
21468 (gdb-running-threads-count, gdb-stopped-threads-count):
21470 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21471 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21472 New customization options.
21473 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21475 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21476 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21477 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21478 set `gdb-thread-number' and update `gud-running' properly.
21479 (gdb-running): Update threads list when new threads appear.
21480 (gdb-stopped): Support non-stop operation and new thread switching
21482 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21483 (gdb-json-partial-output): New set of JSON routines.
21484 (def-gdb-auto-update-trigger): New `signal-list' optional
21486 (gdb-thread-list-handler-custom): Update `gud-running',
21487 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21488 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21489 (gdb-continue-thread, gdb-step-thread): New commands for fine
21490 thread execution control.
21491 (gud-menu-map): New menu items to switch non-stop options.
21492 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21493 (gdb-send): Mimic RET properly (bug 3794).
21495 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21496 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21498 (def-gdb-auto-update-handler): New nopreserve optional argument.
21499 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21501 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21502 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21503 (gdb-parent-mode): New mode to derive other GDB modes from.
21504 (gdb-display-disassembly-for-thread)
21505 (gdb-frame-disassembly-for-thread): New commands for threads
21508 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21509 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21510 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21511 (gdb-update): We now store all GDB buffers in a list so that they
21512 can be updated by traversing a list instead of calling invalidate
21513 triggers explicitly.
21514 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21515 pair for GDB buffer.
21516 (gdb-stack-buffer-name): Add thread information.
21517 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21518 handle pending triggers.
21519 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21520 (def-gdb-thread-buffer-simple-command)
21521 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21522 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21523 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21524 New commands which show buffers bound to thread.
21525 (gdb-stack-list-locals-regexp): Remove unused regexp.
21527 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21528 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21529 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21530 to (gud-comint-buffer) in *-buffer-name functions
21531 because (gdb-get-target-string) already does that.
21532 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21533 (gdb-changed-registers-handler): Rewritten without regexps.
21535 * progmodes/gdb-mi.el: Basic thread selection support.
21536 (gdb-thread-number): New variable.
21537 (gdb-current-context-command): New macro which adds --thread
21539 (gdb-threads-mode-map): Select thread with SPC.
21540 (gdb-thread-list-handler-custom): Mark current thread with overlay
21541 arrow. Synchronize GDB thread and Emacs thread.
21542 (gdb-select-thread): New command which selects current thread.
21543 (gdb-invalidate-frames, gdb-invalidate-locals)
21544 (gdb-invalidate-registers): Use --thread option.
21546 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21548 * net/tramp.el (top): Make check for tramp-gvfs loading more
21550 (tramp-handle-insert-file-contents): `unwind-protect' must be
21551 inside `with-parsed-tramp-file-name'.
21553 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21556 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21558 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21559 directory if CLASSPATH is not set.
21561 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21563 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21565 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21567 2009-08-02 Kevin Ryde <user42@zip.com.au>
21569 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21570 Update freshmeat link. Delete newsforge.com as it seems gone.
21572 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21574 * select.el (x-set-selection): Doc fix (Bug#4021).
21576 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21578 * help-fns.el (describe-variable): Treat list return values from
21579 dir-locals-find-file properly (Bug#4005).
21581 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21583 * net/tramp.el (tramp-debug-message): Print also microseconds.
21585 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21587 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21589 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21590 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21593 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21594 (tramp-get-file-property): Use it.
21596 * autorevert.el (auto-revert-handler):
21597 Allow `auto-revert-tail-mode' for remote files.
21599 2009-08-02 Jason Rumney <jasonr@gnu.org>
21601 * minibuffer.el (read-file-name): Treat confirm options to
21602 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21604 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21606 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21607 (font-lock-variable-name-face, font-lock-constant-face):
21608 Darken the colors for light backgrounds.
21610 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21612 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21613 month names. (Bug#3987)
21615 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21617 * simple.el (line-move-finish): Pass whole number to
21618 line-move-to-column.
21619 (line-move-visual): Perform hscroll to the recorded position.
21621 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21623 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21625 2009-07-29 Alan Mackenzie <acm@muc.de>
21627 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21629 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21631 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21632 (gdb-place-breakpoints): Use full path when setting breakpoints.
21634 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21636 * calc/calc.el (calc-mode-map): Add keybinding for
21637 `calc-transpose-lines'.
21639 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21641 * calc/calc-misc.el (calc-transpose-lines): New function.
21643 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21645 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21646 Simplify check for out-of-band methods.
21647 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21648 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21650 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21652 * vc-git.el (vc-git-checkin): Fix typo.
21654 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21656 * progmodes/js2-mode.el: New file.
21658 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21660 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21661 (gud-menu-map): Adjust tooltip accordingly.
21663 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21665 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21666 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21668 * add-log.el (change-log-mode-map): Add a menu.
21670 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21672 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21673 function returns nil.
21674 (dbus-handle-event): Handle special return value :ignore.
21675 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21677 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21679 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21682 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21686 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21688 * term/pc-win.el (x-display-name, x-colors)
21689 (x-select-enable-clipboard, x-select-text): Doc fix.
21691 * term/common-win.el (x-display-name, x-colors): Doc fix.
21693 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21694 (xw-defined-colors): Doc fix.
21696 * w32-fns.el (x-select-text, x-setup-function-keys)
21697 (x-get-selection, x-set-selection): Doc fix.
21699 * term/x-win.el (x-select-text, x-setup-function-keys)
21700 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21702 * select.el (x-set-selection): Doc fix.
21704 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21706 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21707 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21708 "IsNSSSupportAvailable" method is not available.
21709 Reported by Steve Youngs <steve@sxemacs.org>.
21711 2009-07-24 Kenichi Handa <handa@m17n.org>
21713 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21714 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21715 (build-unicode-category-table): Fix range checks.
21717 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21719 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21720 the buffer we try to sync is current when calling
21723 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21724 not show up to date files.
21726 2009-07-24 Glenn Morris <rgm@gnu.org>
21728 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21729 Add autoload cookies. If necessary, initialize.
21730 (elint-log): Handle non-file buffers.
21731 (elint-initialize): Add optional argument to reinitialize.
21732 (elint-find-builtin-variables): Save excursion.
21734 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21736 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21739 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21741 * vc.el (vc-print-log-internal): New function, split out from ...
21742 (vc-print-log): ... here.
21743 (vc-dir-move-to-goal-column): Declare.
21745 * vc-git.el (vc-git-add-signoff): New variable.
21746 (vc-git-checkin): Use it.
21747 (vc-git-toggle-signoff): New function.
21748 (vc-git-extra-menu-map): Bind it to menu.
21749 (vc-git--run-command-string): Accept a nil FILE argument.
21750 (vc-git-stash-list): New function.
21751 (vc-git-dir-extra-headers): Use it.
21753 2009-07-23 Glenn Morris <rgm@gnu.org>
21755 * help-fns.el (describe-variable): Describe ignored and risky local
21756 variables in a similar way to that in which we describe safe ones.
21758 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21759 (byte-compile-output-file-form, byte-compile-output-docform)
21760 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21761 Give some more local variables with common names a "bytecomp-" prefix,
21762 so as not to shadow things during compilation.
21763 * emacs-lisp/cl-macs.el (load-time-value)
21764 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21765 `outbuffer' to `bytecomp-outbuffer'.
21767 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21768 since the next two variables cover them automatically now.
21769 (elint-builtin-variables, elint-autoloaded-variables): New.
21770 (elint-unknown-builtin-args): Remove all members, since they can be
21771 parsed automatically now.
21772 (elint-extra-errors): New.
21773 (elint-env-add-env, elint-env-add-macro): Use cadr.
21774 (elint-current-buffer): Use or. Change final message.
21775 (elint-get-top-forms): Use line-end-position.
21776 (elint-init-env): Use cadr. Handle autoload, declare-function,
21778 (elint-add-required-env): Doc fix. Use or. Standardize error.
21779 (regexp-assoc): Remove unused function.
21780 (elint-top-form): Set elint-current-pos, to record the start of the
21781 top-level form, for compilation-mode.
21782 (elint-form): Trap errors in macro expansion. Use dolist.
21783 (elint-unbound-variable): Use elint-builtin-variables and
21784 elint-autoloaded-variables.
21785 (elint-get-args): Use cadr, or.
21786 (elint-check-cond-form): Use dolist, cadr.
21787 (elint-check-condition-case-form): Doc fix. Use cadr.
21788 Use elint-extra-errors.
21789 (elint-log): New function.
21790 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21791 Distinguish errors and warnings.
21792 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21793 Use a bytecomp-style format.
21794 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21795 (elint-get-log-buffer): Use compilation mode. Disable undo.
21796 Don't truncate lines.
21797 (elint-initialize): Set builtin and autoloaded variable lists.
21798 Only process elint-unknown-builtin-args if non-nil.
21799 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21801 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21803 2009-07-22 Kevin Ryde <user42@zip.com.au>
21805 * net/newst-backend.el (newsticker--parse-atom-1.0)
21806 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21807 (newsticker--parse-rss-1.0):
21808 * progmodes/idlwave.el (idlwave-mode):
21809 * progmodes/idlw-shell.el (idlwave-shell-mode):
21810 * progmodes/vera-mode.el (vera-mode):
21811 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21812 * progmodes/vhdl-mode.el (vhdl-mode):
21813 * textmodes/table.el (table-generate-source)
21814 (table--warn-incompatibility):
21815 Hyperlink urls in docstrings with URL `...'.
21817 2009-07-22 Glenn Morris <rgm@gnu.org>
21819 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21820 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21821 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21822 Remove leading * from defcustom docs.
21824 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21826 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21828 (list-load-path-shadows): Optionally, just return shadows as a string.
21830 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21832 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21834 * mail/rmailedit.el (rmail-edit-mode):
21835 Use auto-save-include-big-deletions.
21837 * mail/rmail.el (rmail-variables):
21838 Use auto-save-include-big-deletions.
21840 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21843 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21845 * calc/calc.el (calc-undo-length): New variable.
21846 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21848 2009-07-21 Richard Stallman <rms@gnu.org>
21850 * files.el (auto-save-mode): Handle buffer-save-size = -2
21853 2009-07-21 Glenn Morris <rgm@gnu.org>
21855 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21857 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21859 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21860 silence compiler. Instead...
21861 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21862 (ps-print-ensure-fontified): Update for above function name changes.
21864 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21865 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21866 silence compiler. Instead...
21867 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21868 (mh-show-buffer): Only define for compiler.
21869 (pr-mh-current-message): Update for above function name changes.
21871 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21873 (find-file-noselect, insert-file-1): Update for above change.
21875 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21877 * mail/mailclient.el (mailclient-send-it): Fix message.
21879 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21880 (edebug-eval): Check cl-debug-env is bound.
21881 (print-level, print-circle): Don't redefine built-in variables.
21883 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21884 (custom-print-vectors): Remove old comments from doc.
21886 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21887 (emerge-version): Make the variable an obsolete alias for the
21888 emacs-version variable. Make the function obsolete.
21889 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21890 Emerge options, rather than merging in into the main Options menu.
21891 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21892 and auto advance modes. Disable edit/fast items when not relevant.
21894 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21896 * term/vt420.el (terminal-init-vt420): Fix typo.
21898 2009-07-20 Sam Steingold <sds@gnu.org>
21900 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21901 variable (removed from compile.el on 2004-03-11).
21903 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21905 * files.el (hack-local-variables-filter): Fix last change.
21907 2009-07-19 Juri Linkov <juri@jurta.org>
21909 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21910 (dir-local-variables-alist): New buffer-local variable.
21911 (hack-local-variables-filter): If variable is not dir-local,
21912 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21913 because file-local overrides dir-local.
21914 (c-postprocess-file-styles) <declare-function>:
21915 Remove obsolete declaration.
21916 (hack-dir-local-variables): Add dir-local variable/value pair to
21917 `dir-local-variables-alist' and remove duplicates. Doc fix.
21919 * help-fns.el (describe-variable): Add information about
21920 file-local and dir-local variables.
21922 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21924 * files.el (hack-local-variables-filter): Rewrite.
21926 2009-07-19 Glenn Morris <rgm@gnu.org>
21928 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21929 Silence compiler by only defining on XEmacs.
21931 * international/mule.el (auto-coding-regexp-alist): Only match
21932 BABYL... at the start of buffer, not of lines. (Bug#3790)
21934 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21935 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21936 (cal-menu-context-mouse-menu): Doc fix.
21938 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21940 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21942 2009-07-18 Juri Linkov <juri@jurta.org>
21944 * info.el: Virtual Info keyword finder.
21945 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21946 (Info-finder-file): New variable.
21947 (Info-finder-find-file): New function.
21948 (finder-known-keywords, finder-package-info)
21949 (find-library-name, lm-commentary): Use defvar and
21950 declare-function to silence compiler warnings.
21951 (Info-finder-find-node): New function.
21952 (info-finder): New command.
21954 * subr.el (process-kill-buffer-query-function): New function.
21955 (add-hook)<kill-buffer-query-functions>: Add hook
21956 `process-kill-buffer-query-function'.
21958 2009-07-18 Alan Mackenzie <acm@muc.de>
21960 * progmodes/cc-mode.el (c-before-hack-hook)
21961 (c-postprocess-file-styles): Give invocation of `c-set-style'
21962 DONT-OVERRIDE parameter of t. Already set style variables will
21963 thus not be overridden by style settings given by `c-file-syle'.
21965 * files.el (hack-local-variables-filter): Remove entries with
21966 duplicate keys from `file-local-variables-alist'.
21968 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21970 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21971 x-set-selection if display-selections-p returns nil for the
21974 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21976 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21978 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21980 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21981 Accept nil in addition to a regexp.
21982 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21983 Accept nil in addition to a regexp.
21984 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21985 buffers that have an associated file. Handle nil values of
21986 desktop-buffers-not-to-save and desktop-files-not-to-save.
21989 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21990 (x-disown-selection-internal): New functions.
21992 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21994 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21996 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21997 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21999 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22001 * simple.el (set-mark): Revert last change.
22003 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22005 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22006 rendering of pngs is not possible instead of messaging a long
22009 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22011 * w32-fns.el (x-selection-owner-p): New function.
22013 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22014 (mouse-yank-at-click, mouse-yank-primary):
22015 If select-active-regions is non-nil, deactivate the mark before
22018 * simple.el (deactivate-mark, set-mark): Only save selection if we
22021 2009-07-17 Kenichi Handa <handa@m17n.org>
22023 * case-table.el (describe-buffer-case-table): Fix for the case
22024 that KEY is a cons.
22026 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22028 * vc-rcs.el (vc-rcs-find-file-hook):
22029 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22031 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22033 * net/tramp.el (tramp-wait-for-output): Handle the case when
22034 commands do not return a newline but a null byte before the shell
22037 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22039 * term/ns-win.el (ns-set-alpha): Don't declare.
22040 (ns-set-background-alpha): Remove function.
22042 2009-07-16 Kevin Ryde <user42@zip.com.au>
22044 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22045 y-or-n-p, for safety.
22047 2009-07-16 Richard Stallman <rms@gnu.org>
22049 * files.el (auto-save-mode): If buffer-saved-size is -2,
22052 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22053 (rmail-retry-ignored-headers): Add more uninteresting fields.
22055 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22057 * net/rcirc.el (rcirc): Use history variables.
22058 (rcirc-server-name-history, rcirc-nick-name-history)
22059 (rcirc-server-port-history): New variables.
22061 2009-07-15 Kenichi Handa <handa@m17n.org>
22063 * international/mule-cmds.el (set-language-environment-charset):
22064 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22067 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22068 Delete unibyte-display.
22070 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22072 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22074 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22076 * simple.el (deactivate-mark): Optional argument FORCE.
22077 (set-mark): Use deactivate-mark.
22079 * info.el (Info-search): No need to check transient-mark-mode
22080 before calling deactivate-mark.
22082 * select.el (x-set-selection): Doc fix.
22083 (x-valid-simple-selection-p): Allow buffer values.
22084 (xselect--selection-bounds): Handle buffer values.
22085 Suggested by David De La Harpe Golden.
22087 * mouse.el (mouse-set-region, mouse-drag-track):
22088 Call copy-region-as-kill before setting the mark, to let
22089 select-active-regions work.
22091 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22093 * simple.el (deactivate-mark): If select-active-regions is
22094 non-nil, copy the selection data into a string.
22095 (activate-mark): If select-active-regions is non-nil, set the
22096 selection to the current buffer.
22097 (set-mark): Update selection if select-active-regions is non-nil.
22099 * select.el (x-valid-simple-selection-p): Allow buffer values.
22101 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22103 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22104 and more featureful message-mode.
22106 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22108 * select.el (x-set-selection): Doc fix.
22109 (x-valid-simple-selection-p): Disallow selection data consisting
22110 of a list or cons of integers, since that is not used.
22111 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22112 (xselect-convert-to-string, xselect-convert-to-length)
22113 (xselect-convert-to-filename, xselect-convert-to-charpos)
22114 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22116 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22118 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22119 output in -break-info command (Emacs bug #3794).
22121 2009-07-14 Glenn Morris <rgm@gnu.org>
22123 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22124 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22125 (edebug-print-length, edebug-print-level, edebug-print-circle)
22126 (edebug-sit-for-seconds, edebug-view-outside)
22127 (edebug-bounce-point, edebug-set-global-break-condition)
22128 (edebug-Go-nonstop-mode, edebug-trace-mode)
22129 (edebug-Trace-fast-mode, edebug-continue-mode)
22130 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22131 (edebug-visit-eval-list): Doc fixes.
22133 * subr.el (def-edebug-spec): Doc fix.
22135 2009-07-14 Kenichi Handa <handa@m17n.org>
22137 * international/characters.el: Fix setting of category ?C.
22139 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22141 * term/ns-win.el (x-select-font): defalias x-select-font to
22142 ns-popup-font-panel instead of generate-fontset-menu.
22144 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22146 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22148 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22150 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22151 the PK\003\004 header (Bug#3770).
22153 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22155 * pcomplete.el (pcomplete-comint-setup): Check for
22156 shell-dynamic-complete-filename too.
22158 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22160 * simple.el (temporary-goal-column): Change the value for
22161 line-move-visual to a cons cell.
22162 (line-move-visual): Record or set the window hscroll, if
22163 necessary (Bug#3494).
22164 (line-move-1): Handle cons value of temporary-goal-column.
22166 2009-07-11 Kenichi Handa <handa@m17n.org>
22168 * international/mule-diag.el (describe-character-set): Don't show
22171 2009-07-10 Sam Steingold <sds@gnu.org>
22173 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22174 Omake sometimes indents the errors it prints, so allow all
22175 regexps to start with spaces.
22177 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22179 * cus-edit.el (customize-changed-options-previous-release):
22180 Bump value to 22.1. (Bug#3804)
22182 2009-07-08 Sam Steingold <sds@gnu.org>
22184 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22185 to be a cons cell (test . ignored-directory) to selectively ignore
22186 some directories depending on the location of the search.
22188 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22190 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22191 remote user is root, on the local host.
22192 (tramp-local-host-p): Either the local user or the remote user
22193 must be root. (Bug#3771)
22195 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22197 * progmodes/gdb-mi.el (gdb): Remove description of
22198 gdb-use-separate-io-buffer.
22199 (menu): Don't allow toggling of or enable
22200 gdb-use-separate-io-buffer from menubar.
22202 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22204 * mail/unrmail.el (unrmail): Make sure the message ends with two
22205 newlines (Bug#3769).
22207 2009-07-08 Glenn Morris <rgm@gnu.org>
22209 * calendar/calendar.el (calendar-current-date): Rework previous change.
22211 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22213 * calendar/calendar.el (calendar-current-date):
22214 Add an optional argument giving an offset from today.
22216 2009-07-08 Glenn Morris <rgm@gnu.org>
22218 * tutorial.el (tutorial--describe-nonstandard-key):
22219 Adjust the message for when a key has been unbound.
22220 (help-with-tutorial): Hide the arch-tag.
22222 2009-07-08 Kenichi Handa <handa@m17n.org>
22224 * international/fontset.el (setup-default-fontset): For each
22225 script, append (not set) font-specs.
22227 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22230 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22232 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22233 -data-list-register-names to ...
22234 (gdb-starting): ... here because GDB 7.0 requires execution to
22235 have started when using this MI command.
22236 (gdb-set-header): New function to distinguish select and
22237 unselected tabs in gdb buffers.
22238 (gdb-propertize-header): New macro that uses gdb-set-header.
22239 (gdb-breakpoints-header, gdb-locals-header): Use it.
22240 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22242 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22244 * Makefile.in (ELCFILES): Remove fadr.elc.
22246 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22248 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22249 may contain frame information, so `string-match' should be used.
22250 (gdb-update): Disassembly is invalidated through
22251 `gdb-get-selected-frame'.
22252 (gdb-pad-string): New function to pad string with spaces.
22253 (gdb-invalidate-disassembly): Invalidate only if the buffer
22255 (gdb-disassembly-handler-custom): Column alignment.
22256 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22258 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22260 (gdb-frame-handler): Match convention to for disassembly buffer
22262 (gdb-stack-list-frames-handler): Rewritten without regexps.
22263 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22264 not highlight breakpoints without line information.
22265 (gdb-input): Add trailing newline to command.
22267 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22269 (gdb-breakpoints-list-handler-custom): Replacement for
22270 `gdb-break-list-handler'. Using real parser instead of regexps
22272 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22273 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22274 to place breakpoints.
22275 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22277 (gdb-disassembly-handler-custom): Show overlay arrow.
22278 (gdb-disassembly-place-breakpoints): Show breakpoints in
22279 disassembly buffer.
22280 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22281 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22282 instead of parsing breakpoints buffer. Fixed old menu references
22287 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22288 (gdb-memory-address): New variable which holds top address of
22289 memory page shown in memory buffer.
22290 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22291 New customization variables.
22293 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22294 display the memory buffer.
22295 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22296 buffer display parameters.
22297 (def-gdb-memory-format, gdb-memory-format-binary)
22298 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22299 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22300 Functions for setting memory buffer format.
22301 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22302 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22303 unit size used in memory buffer.
22304 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22305 Switch to next/previous page of memory buffer.
22306 Now using (bindat-get-field) instead of fadr functions.
22308 2009-07-07 Sam Steingold <sds@gnu.org>
22310 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22311 non-top-level files.
22313 2009-07-07 Kenichi Handa <handa@m17n.org>
22315 * international/mule-cmds.el (reset-language-environment):
22316 Put the highset priority to the charset iso-8859-1.
22318 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22320 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22321 to the end of the line when locating the block (Bug#700).
22323 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22325 * net/tramp.el (tramp-handle-write-region): Flush file properties
22326 in case of short track.
22328 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22330 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22331 Coded custom representation of verilog error regular expressions
22332 to work with Emacs-22's new format.
22333 (verilog-error-regexp-xemacs-alist): Coded custom representation
22334 of verilog error regular expressions to work with XEmacs format.
22335 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22336 error recognition into XEmacs.
22337 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22338 error recognition into Emacs-22.
22340 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22342 * woman.el: Remove stand-alone closing parentheses.
22343 (woman-file-name, woman2-format-paragraphs)
22344 (woman-leave-blank-lines): Code cleanup.
22345 (woman-use-own-frame): Change default to nil.
22346 (woman-italic, woman-bold, woman-unknown, woman-addition):
22347 Change defaults to inherit from default faces.
22348 (woman2-process-escapes): Consume the newline after a stand-alone
22349 filler character (Bug#3651).
22351 2009-07-06 Glenn Morris <rgm@gnu.org>
22353 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22354 (top-level): Move provide to the end.
22355 (ffap): Remove defunct URL from custom group.
22357 * subr.el (eval-after-load): Doc fix.
22359 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22361 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22362 `calc-embedded-word' is called twice.
22364 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22366 * files.el (find-alternate-file-other-window, find-alternate-file):
22367 Obey confirm-nonexistent-file-or-buffer.
22369 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22371 * dired-aux.el (dired-show-file-type): Handle remote files.
22373 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22375 * desktop.el (desktop-globals-to-save):
22376 Add file-name-history (Bug#2750).
22378 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22380 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22382 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22384 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22385 property on entire argument since this is what eshell-lisp-command
22388 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22390 * net/tramp-gvfs.el (tramp-gvfs-methods)
22391 (tramp-gvfs-zeroconf-domain)
22392 (tramp-bluez-discover-devices-timeout): Add version flag.
22393 (tramp-gvfs-handler-mounted-unmounted)
22394 (tramp-gvfs-connection-mounted-p): Polish handling of
22395 incompatibilities between GVFS 0.2 and 1.0.
22397 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22399 * cus-start.el (all): Add make-pointer-invisible.
22401 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22403 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22404 formatted correctly.
22406 2009-07-02 Juri Linkov <juri@jurta.org>
22408 * info.el: Virtual Info files and nodes.
22409 (Info-virtual-files, Info-virtual-nodes): New variables.
22410 (Info-current-node-virtual): New variable.
22411 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22413 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22414 to check for a virtual file instead of checking a fixed list
22416 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22417 instead of ad-hoc processing of "dir" and (apropos history toc).
22418 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22419 instead of ad-hoc processing of "dir" and (apropos history toc).
22420 Reread a file when moving from a virtual node.
22421 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22422 (Info-directory-toc-nodes, Info-directory-find-file)
22423 (Info-directory-find-node): New functions.
22424 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22425 (Info-history): Move part of code to
22426 `Info-history-find-node'.
22427 (Info-history-toc-nodes, Info-history-find-file)
22428 (Info-history-find-node): New functions.
22429 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22430 (Info-toc): Move part of code to `Info-toc-find-node'.
22431 (Info-toc-find-node): New function.
22432 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22433 the current Info file name to references because now the node
22434 "*TOC*" belongs to the same Info manual.
22435 (Info-toc-build): Rename from `Info-build-toc'.
22436 (Info-toc-nodes): Rename input argument `file' to `filename'.
22437 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22438 instead of ad-hoc processing of ("dir" apropos history toc).
22439 (Info-index-nodes): Use Info-virtual-file-p
22440 to check for a virtual file instead of checking a fixed list
22442 (Info-index-node): Add check for `Info-current-node-virtual'.
22443 Raise `save-match-data' higher up the tree to contain
22444 `search-forward' too (bug fix).
22445 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22446 (Info-virtual-index-nodes): New variable.
22447 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22448 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22449 (Info-apropos-file, Info-apropos-nodes): New variables.
22450 (Info-apropos-toc-nodes, Info-apropos-find-file)
22451 (Info-apropos-find-node, Info-apropos-matches): New functions.
22452 (info-apropos): Move part of code to `Info-apropos-find-node' and
22453 `Info-apropos-matches'.
22454 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22455 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22456 for a virtual file instead of checking a fixed list of node names.
22458 * simple.el (async-shell-command): New command.
22460 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22462 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22463 instead of `mount-info'.
22465 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22467 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22468 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22470 2009-07-02 Kenichi Handa <handa@m17n.org>
22472 * international/mule.el (set-keyboard-coding-system): Force *-unix
22473 coding-system to avoid eol conversion.
22475 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22478 Add handler for `process-file', `shell-command' and
22479 `start-file-process'.
22480 (tramp-gvfs-handle-shell-command)
22481 (tramp-gvfs-handle-start-file-process)
22482 (tramp-gvfs-handle-process-file): New defuns.
22483 (tramp-synce-list-devices): Simplify check for existence of property.
22485 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22487 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22489 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22491 * language/korean.el (set-language-info-alist): Add korean-cp949,
22494 2009-07-01 Kenichi Handa <handa@m17n.org>
22496 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22498 * international/encoded-kb.el: Deleted.
22500 * international/mule.el (set-keyboard-coding-system): Perform the
22501 necessary setup here instead of calling encoded-kbd-setup-display.
22503 2009-07-01 Glenn Morris <rgm@gnu.org>
22505 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22507 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22509 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22511 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22513 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22514 Handle also the 'rename case, when setting file modes. (Bug#3712)
22515 (tramp-default-file-modes): Remove execute permissions.
22517 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22518 (top): Add a default for "synce" in `tramp-default-user-alist'.
22519 Add completion function for "synce" method.
22520 (tramp-hal-service, tramp-hal-path-manager)
22521 (tramp-hal-interface-manager, tramp-hal-interface-device):
22523 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22524 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22527 * net/trampver.el: Update release number.
22529 2009-06-30 Kenichi Handa <handa@m17n.org>
22531 * international/fontset.el (setup-default-fontset): Add CJK fonts
22532 for symbols and the other miscellaneous characters.
22534 * language/korea-util.el (setup-korean-environment-internal):
22535 Make char-width-table suitable for Korean environments.
22536 (exit-korean-environment): Cancel above.
22538 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22539 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22540 setup-function to make char-width-table suitable for respective
22541 environments, and an exit-function to cancel that.
22543 * language/japan-util.el (setup-japanese-environment-internal):
22544 Call use-cjk-char-width-table with arg `ja_JP'.
22546 * international/characters.el (cjk-char-width-table): Delete it.
22547 (cjk-char-width-table-list): New variable.
22548 (use-cjk-char-width-table): New arg local-name.
22549 (use-default-char-width-table): Fix for the case that Emacs is
22550 already using the default char-width-table.
22552 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22554 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22555 modes mandatory. (Bug#3712)
22557 2009-06-29 Alan Mackenzie <acm@muc.de>
22559 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22560 correction between the visible width of TABs and their number of bytes.
22562 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22564 * server.el (server-buffer-done): Prevent kill-buffer from
22565 prompting by clearing the buffer modification flag (Bug#3696).
22567 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22569 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22570 (verilog-endcomment-reason-re): Support unique case and priority case.
22571 (verilog-basic-complete-re): Support localparam lineup.
22572 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22573 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22575 (verilog-leap-to-case-head): Now support *nested* unique &
22576 priority case statements.
22577 (verilog-auto-lineup): Make just declarations the default (as it
22579 (verilog-leap-to-case-head): Support priority/unique case statements.
22580 (verilog-auto-lineup): Rework to give users radio buttons to
22581 select the various styles of automatic lineup.
22582 (verilog-error-regexp-alist): Rework to support the XEmacs style
22583 of error regular expressions from compilers, lint tools &
22584 simulators. Note that GNU Emacs has made it impossible for a mode
22585 to load such things.
22586 (electric-verilog-terminate-line, verilog-indent-declaration)
22587 (verilog-auto-wiure): Rework for radio button selection of
22588 auto-lineup selection of specification of auto lineup.
22589 (verilog-beg-of-statement-1): Redesign to support proper operation
22590 in additional code, based on testing with auto-lineup.
22591 (verilog-calculate-indent, assignments & declarations)
22592 (verilog-backward-token): Enhance to support auto-lineup of
22593 assignments & declarations.
22594 (verilog-in-directive-p, verilog-at-struct-p): New function for
22595 easy test of whether we are.
22596 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22597 to support safe execution at almost anyline.
22598 (verilog-calc-1): Properly support indenting deep inside generate
22600 (verilog-init-font): Remove definition & use of verilog-init-font,
22601 as it is redundant with font-lock-defaults.
22602 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22603 to avoid circular calls if syntax-ppss is a function (as is the
22604 case now in 22.x GNU Emacs) as that function would sometimes call
22605 itself, leading to (nearly) infinite recursion.
22606 (verilog-ovm-begin-re, verilog-ovm-end-re)
22607 (verilog-ovm-statement-re, verilog-leap-to-head)
22608 (verilog-backward-token): Add support for OVM macros. Some are
22609 complete statements, and others open and close scopes like begin
22611 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22612 (verilog-defun-level-generate-only-re): Really fix the defun-list
22614 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22615 coverpoint, constraint and cross statements.
22616 (verilog-defun-level-list, verilog-generate-defun-level-list)
22617 (verilog-all-defun-level-list): Redo these specifications - it is
22618 too hard to support eval-when compile aggregation of lists also
22619 built at when-compile time.
22620 (verilog-defun-level-list): Place defconsts of variables used in
22621 building regular expressions which are built in eval-when-compile
22622 bodies in the same eval-when-compile body to facilitate compile
22624 (verilog-beg-block-re-ordered): Support indenting
22625 virtual/protected tasks and functions.
22626 (verilog-defun-level-list, verilog-in-generate-region-p)
22627 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22628 indentation of some module items (generate items).
22629 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22630 across virtual/protected tasks and functions.
22632 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22634 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22635 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22636 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22637 in concatenations. Reported by Yishay Belkind.
22638 (verilog-auto-ascii-enum): Support one-hot state machines in
22639 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22640 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22641 modport in AUTOINST and add vl-modport for users.
22642 Reported by David Rogoff.
22643 (verilog-auto-inout-module, verilog-auto-inst)
22644 (verilog-decls-get-interfaces, verilog-insert-definition)
22645 (verilog-insert-one-definition, verilog-read-decls)
22646 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22647 (verilog-sig-modport, verilog-signals-combine-bus)
22648 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22649 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22650 Suggested by David Rogoff.
22651 (verilog-repair-open-comma): Fix non-insertion of comma when
22652 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22653 (verilog-make-width-expression): Simplify [A-1:0] expression
22654 widths to just {A{1'b0}}.
22655 (verilog-mode): Cleanup checkdoc warnings.
22656 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22657 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22658 inputs/outputs or data type. Suggested by Vasu Kandadi.
22659 (next-error-last-buffer): Fix byte-compiler warning.
22660 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22661 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22662 or shell command text during AUTO expansion. Suggested by Tad Truex.
22663 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22664 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22665 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22666 in AUTOINOUT. Reported by Matthew Lovell.
22667 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22668 causing use of <= assignments. Reported by Alex Reed.
22669 (verilog-read-decls): Fix triand, trior, wand, wor to be
22670 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22671 (verilog-extended-complete-re): Support import "DPI-C" functions.
22672 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22673 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22674 (verilog-insert-date, verilog-insert-year)
22675 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22676 Windows systems. Reported by Michael Potts.
22677 (verilog-read-module-name): Fix AUTOINST when the child module
22678 declaration's name is a tick define. Reported by Elliot Mednick.
22679 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22680 passed to next parameter's definition. Reported by Bruce T.
22681 (verilog-read-decls): Fix detecting "parameter int" when using
22682 AUTOINSTPARAM. Reported by Bruce T.
22683 (verilog-goto-defun): Fix goto not finding modules unless first
22684 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22685 (verilog-mode): Expand -f flag arguments on entry to mode so
22686 verilog-goto-defun will work. Reported by Lawrence Butcher.
22687 (verilog-getopt): Expand environment variables in -f file
22688 arguments. Suggested by Lawrence Butcher.
22689 (verilog-set-define): Fix "Symbol's value as variable is void"
22690 when reading enumerations.
22691 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22692 Suggested by Stephen Peltan.
22693 (verilog-read-defines): Fix reading of enumerations in include
22694 files. Reported by Steve Peltan.
22696 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22698 * files.el (trash-directory): Fix defcustom type.
22700 2009-06-28 Juri Linkov <juri@jurta.org>
22702 * help-fns.el (describe-function-1): Correctly locate adviced
22703 functions in hyperlink (Bug#2438).
22705 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22707 * files.el (trash-directory): Change default to nil.
22708 (move-file-to-trash): If trash-directory is nil and
22709 system-move-file-to-trash is unbound, perform freedesktop-style
22712 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22714 * files.el (move-file-to-trash): Add freedesktop trash
22717 2009-06-28 Glenn Morris <rgm@gnu.org>
22719 * autorevert.el (global-auto-revert-non-file-buffers)
22720 (global-auto-revert-mode): Doc fixes.
22722 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22724 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22726 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22728 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22729 opened an X connection before calling x-get-resource (Bug#3194).
22731 * play/doctor.el: Remove reference to obsolete website.
22732 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22734 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22736 Remove find-file-not-found-hook VC method. (Bug#2757)
22737 * vc-hooks.el (vc-file-not-found-hook)
22738 (vc-default-find-file-not-found-hook): Remove functions.
22739 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22740 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22743 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22745 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22747 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22748 compatibility function for `looking-back'.
22750 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22751 Use `ispell-looking-back'.
22753 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22755 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22756 rather than `filename'.
22758 2009-06-23 Miles Bader <miles@gnu.org>
22760 * face-remap.el (text-scale-set): New function.
22762 2009-06-23 Glenn Morris <rgm@gnu.org>
22764 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22766 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22768 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22770 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22772 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22773 Simplify Persian conditionals.
22775 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22776 variable `filename'.
22778 * comint.el (comint-insert-input): Doc fix.
22780 * Makefile.in (ELCFILES): Fix typo in previous change.
22782 2009-06-23 Miles Bader <miles@gnu.org>
22784 * cus-start.el: Add entry for `recenter-redisplay'.
22786 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22788 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22789 Add an optional argument for the backend, use it instead of
22790 calling vc-backend.
22791 (vc-mode-line): Add an optional argument for the backend.
22792 Pass the backend to vc-state and vc-working-revision. Move code for
22793 special handling for vc-state being a buffer to ...
22795 * vc-rcs.el (vc-rcs-find-file-hook):
22796 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22798 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22799 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22800 vc-stay-local-p and vc-mode-line calls.
22802 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22803 (vc-cvs-diff, vc-cvs-annotate-command)
22804 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22805 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22806 vc-mode-line calls.
22808 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22810 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22811 backend when calling vc-mode-line.
22812 (vc-register): Do not create a closure for calling the vc register
22813 function, call it directly.
22815 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22817 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22818 to make it obvious item can be clicked.
22820 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22822 2009-06-23 Kenichi Handa <handa@m17n.org>
22824 * language/korea-util.el (korean-key-bindings): Change the binding
22825 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22828 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22830 Sync with Tramp 2.1.16.
22832 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22834 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22835 when a loading of a package fails. Completion function for rsync
22836 is `tramp-completion-function-alist-ssh'.
22837 (all): Replace all calls of `split-string' and
22838 `tramp-split-string' by `tramp-compat-split-string'.
22839 (tramp-default-method): Use `tramp-compat-process-running-p'.
22840 (tramp-default-proxies-alist): Allow also Lisp forms.
22841 (tramp-remote-path): Add choice "Private Directories".
22842 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22843 (tramp-domain-regexp): Allow also "-", "_" and ".".
22844 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22845 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22846 (tramp-debug-message): Insert header line in debug buffer.
22847 (tramp-handle-directory-files-and-attributes-with-stat):
22848 Care about filenames with spaces, or starting with "-".
22849 (tramp-handle-dired-uncache): New defun.
22850 (tramp-handle-insert-directory): Don't flush the directory from
22851 cache, this is handled by `dired-uncache' now.
22852 (tramp-handle-insert-file-contents): Improve error handling.
22853 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22854 Quote `tramp-end-of-output'.
22855 (tramp-action-password): Improve trace message.
22856 (tramp-check-for-regexp): Both echoes must be present, before removing.
22857 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22858 (tramp-compute-multi-hops): Eval cons cells of
22859 `tramp-default-proxies-alist'.
22860 (tramp-maybe-open-connection): Use the same command pattern for
22861 first hop and further hops.
22862 (tramp-wait-for-output): Remove handling of newlines.
22863 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22864 (tramp-split-string): Remove function. It is handled in
22867 * net/tramp-cmds.el (tramp-bug):
22868 Recommend `tramp-cleanup-all-connections' in the bug mail.
22870 * net/tramp-compat.el (tramp-compat-split-string)
22871 (tramp-compat-process-running-p): New defuns.
22873 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22874 for `dired-uncache'.
22876 * net/tramp-gvfs.el: New package.
22878 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22879 Add handler for `dired-uncache'.
22880 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22882 * net/trampver.el: Update release number. Make version check fit
22885 2009-06-22 Jim Meyering <meyering@redhat.com>
22887 Automatically handle .xz suffix (XZ-compressed files), too.
22888 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22889 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22891 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22892 Nick Roberts <nickrob@snap.net.nz>
22894 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22895 repository (http://sphinx.net.ru/hg/gdb-mi/).
22897 2009-06-22 Glenn Morris <rgm@gnu.org>
22899 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22900 `mode' and `eval' entries. (Bug#3430)
22902 * Makefile.in (ELCFILES): Add fadr.elc.
22904 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22905 differing behavior of \n and ^ in strings. (Bug#3385)
22907 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22909 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22911 (lisp-indent-function): Make it a defcustom.
22913 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22915 * progmodes/gdb-ui.el: Replace with ...
22916 * progmodes/gdb-mi.el: ... this file.
22917 * progmodes/gud.el: Modify for gdb-mi.el.
22919 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22921 * fadr.el: New file.
22923 See ChangeLog.14 for earlier changes.
22925 ;; Local Variables:
22929 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22931 This file is part of GNU Emacs.
22933 GNU Emacs is free software: you can redistribute it and/or modify
22934 it under the terms of the GNU General Public License as published by
22935 the Free Software Foundation, either version 3 of the License, or
22936 (at your option) any later version.
22938 GNU Emacs is distributed in the hope that it will be useful,
22939 but WITHOUT ANY WARRANTY; without even the implied warranty of
22940 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22941 GNU General Public License for more details.
22943 You should have received a copy of the GNU General Public License
22944 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.