1 2011-03-07 Glenn Morris <rgm@gnu.org>
3 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
5 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
7 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
8 Add optional `after-sunset' argument. (Bug#8190)
10 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12 * play/morse.el (nato-alphabet, nato-region, denato-region):
13 New variable and functions. (Bug#2288)
14 (morse-region, unmorse-region): Barf if read-only.
16 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
18 * progmodes/gud.el (gdb-script-syntax-propertize-function):
19 Don't change the syntax of a \n that closes a comment (bug#8169).
21 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
23 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
25 (package--update-file): Doc fix. Accept relative file names.
26 (package--archive-contents-from-file): Remove the argument, since
27 it's necessarily always "archive-contents".
28 (package-maint-add-news-item): Pass relative file name args to
30 (package-upload-buffer-internal): Prompt for a destination if
31 package-archive-upload-base is invalid. Create the directory if
33 (package-upload-buffer, package-upload-file): Doc fix.
35 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
37 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
38 and move isearch-yank-line to M-s C-e (Bug#8183).
40 2011-03-06 Alan Mackenzie <acm@muc.de>
42 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
43 (c-guess-basic-syntax): Move CASE 19 to a different place,
44 correctly to process template-args-cont lines.
46 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
48 * calc/calc-ext.el (calc-init-extensions):
49 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
50 and calc-nplevel, respectively. Add keybindings for calc-spn,
51 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
52 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
54 * calc/calc-units.el (calc-dblevel): Rename from
55 calc-logunits-dblevel.
56 (calc-nplevel): Rename from calc-logunits-nplevel.
57 (math-midi-round, math-freqp, math-midip, math-spnp)
58 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
59 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
60 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
61 (math-notes): New variable.
63 * calc/calc.el (calc-note-threshold): New variable.
65 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
67 * emacs-lisp/package.el (package-archives): Accept either ordinary
68 directory names, in addition to HTTP URLs.
69 (package--with-work-buffer): New macro. Handle normal directories.
70 (package-handle-response): Don't display the failing buffer.
71 (package-download-single, package-download-tar)
72 (package--download-one-archive): Use package--with-work-buffer.
73 (package-archive-base): Rename from package-archive-url.
75 2011-03-06 Glenn Morris <rgm@gnu.org>
77 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
78 (xmodmap-generic-mode): Respect generic-extras-enable-list.
80 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
82 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
84 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
86 * allout.el (allout-init, allout-prefixed-keybindings)
87 (allout-unprefixed-keybindings):
88 * progmodes/prolog.el (prolog-find-term):
89 Fix typos in docstrings.
91 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
93 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
95 2011-03-06 Kevin Ryde <user42@zip.com.au>
97 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
99 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
101 * window.el (one-window-p, walk-windows, display-buffer):
102 Doc fixes. (Bug#5567)
104 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
106 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
107 of the variable if it exists.
109 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
116 * net/tramp-cache.el:
117 * obsolete/fast-lock.el:
118 * textmodes/reftex.el:
119 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
121 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
123 * files.el (delete-directory, copy-directory, list-directory):
124 Use read-directory-name.
126 * find-file.el (ff-find-the-other-file):
127 * net/ange-ftp.el (ange-ftp-make-directory):
128 * printing.el (pr-interactive-dir):
129 * progmodes/ada-prj.el (ada-prj-load-directory):
130 * progmodes/ebnf2ps.el (ebnf-print-directory)
131 (ebnf-spool-directory, ebnf-eps-directory)
132 (ebnf-syntax-directory):
134 * speedbar.el (speedbar-create-directory):
135 * vc/emerge.el (emerge-merge-directories):
136 * vc/vc-dir.el (vc-dir):
137 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
139 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
141 * help-mode.el (help-buffer): If we are to return the current
142 buffer, signal an error if it's not in Help mode (Bug#8147).
144 2011-03-05 Reuben Thomas <rrt@sc3d.org>
146 * files.el (file-name-version-regexp): Handle backup files of the
147 form `foo.js.~HEAD~1~' (Bug#8159).
149 2011-03-05 Glenn Morris <rgm@gnu.org>
151 * eshell/esh-var.el: Don't require esh-test when compiling.
152 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
153 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
154 * eshell/esh-test.el: Move to ../../test/eshell.el.
156 2011-03-05 David Engster <deng@randomsample.de>
158 * files.el (save-some-buffers): Report the names of buffers saved
159 automatically due to buffer-save-without-query (Bug#8134).
161 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
163 * net/rcirc.el: Add QuakeNet authentication support.
164 (rcirc-authinfo, rcirc-check-auth-status)
165 (rcirc-authenticate): Support QuakeNet.
167 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
169 * net/rcirc.el: Add functionality to authenticate before
170 autojoining channels.
171 (rcirc-authenticate-before-join): New option.
172 (rcirc-authenticated-hook): New variable.
173 (rcirc-connect): Make local variable rcirc-user-authenticated.
174 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
175 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
177 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
178 Call rcirc-check-auth-status.
180 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
182 * net/soap-client.el (soap-namespace-put-link): Check if the target
183 name is fully qualified -- use only the name part.
184 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
185 types, treated the same as xsd:sequence. (Bug#8166)
187 2011-03-05 Eli Zaretskii <eliz@gnu.org>
189 * files.el (find-file-noselect): Don't ask about re-visiting
190 non-literally if the file is already visited in image-mode.
193 2011-03-05 Glenn Morris <rgm@gnu.org>
195 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
196 (eshell-mode): Use eshell-kill-buffer-function.
197 Run the -initialize functions independently of the -load-hooks.
198 * eshell/esh-proc.el (eshell-kill-process-function): New function.
199 (eshell-gather-process-output, eshell-sentinel)
200 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
201 Use eshell-kill-process-function.
202 * eshell/em-alias.el (eshell-alias-load-hook):
203 * eshell/em-banner.el (eshell-banner-load-hook):
204 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
205 * eshell/em-dirs.el (eshell-dirs-load-hook):
206 * eshell/em-glob.el (eshell-glob-load-hook):
207 * eshell/em-hist.el (eshell-hist-load-hook):
208 * eshell/em-pred.el (eshell-pred-load-hook):
209 * eshell/em-prompt.el (eshell-prompt-load-hook):
210 * eshell/em-rebind.el (eshell-rebind-load-hook):
211 * eshell/em-script.el (eshell-script-load-hook):
212 * eshell/em-smart.el (eshell-smart-load-hook):
213 * eshell/em-term.el (eshell-term-load-hook):
214 * eshell/em-unix.el (eshell-unix-load-hook):
215 * eshell/esh-arg.el (eshell-arg-load-hook):
216 * eshell/esh-cmd.el (eshell-cmd-load-hook):
217 * eshell/esh-ext.el (eshell-ext-load-hook):
218 * eshell/esh-io.el (eshell-io-load-hook):
219 * eshell/esh-mode.el (eshell-exit-hook):
220 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
221 * eshell/esh-var.el (eshell-var-load-hook):
222 Set default hook values to nil. (Bug#5375)
224 * eshell/esh-module.el (eshell-module-unload-hook)
225 (eshell-modules-list): Remove leading * from defcustom docs.
227 * eshell/esh-util.el (eshell-for): Make it obsolete.
228 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
229 * eshell/em-dirs.el (eshell-save-some-last-dir):
230 * eshell/em-hist.el (eshell-save-some-history)
231 (eshell-hist-parse-modifier):
232 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
234 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
235 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
237 * eshell/esh-ext.el (eshell-find-interpreter):
238 * eshell/esh-mode.el (eshell-mode):
239 * eshell/esh-module.el (eshell-unload-extension-modules):
240 * eshell/esh-proc.el (eshell-process-interact):
241 * eshell/esh-test.el (eshell-test):
242 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
243 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
244 (eshell-variables-list):
245 * eshell/eshell.el (eshell-unload-all-modules):
246 Replace eshell-for with dolist.
248 2011-03-04 Glenn Morris <rgm@gnu.org>
250 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
252 2011-03-04 Tom Tromey <tromey@redhat.com>
254 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
256 2011-03-04 Glenn Morris <rgm@gnu.org>
258 * outline.el (outline-regexp): No longer allow nil.
259 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
261 * net/browse-url.el (browse-url):
262 Handle deleted default-directory. (Bug#6077)
264 * recentf.el (recentf-include-p): In case of a buggy predicate,
265 err on the side of including, not excluding. (Bug#5843)
267 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
269 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
272 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
274 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
275 if there is no node. (Bug#3261)
277 2011-03-04 Leo <sdl.web@gmail.com>
279 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
281 * time.el (display-time-world-list): Fix typo. (Bug#7571)
283 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
285 * cus-edit.el (custom-buffer-create-internal):
286 Split search string before passing it to `customize-apropos' (bug#8136).
288 2011-03-04 Drew Adams <drew.adams@oracle.com>
290 * image-dired.el (image-dired-cmd-read-exif-data-options):
291 Fix typo in docstring (bug#8156).
293 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
295 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
297 2011-03-03 Christian Ohler <ohler@gnu.org>
299 * emacs-lisp/ert.el (ert--explain-equal): New function.
300 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
302 (ert--explain-equal-including-properties): Renamed from
303 `ert--explain-not-equal-including-properties'. All callers
306 2011-03-03 Christian Ohler <ohler@gnu.org>
308 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
309 (ert-char-for-test-result, ert-string-for-test-result)
310 (ert-run-tests-batch, ert--print-test-for-ewoc):
311 Handle `ert-test-quit'.
313 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
315 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
316 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
318 2011-03-03 Glenn Morris <rgm@gnu.org>
320 * files.el (file-truename): Doc fix. (Bug#2341)
322 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
324 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
326 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
328 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
329 programs output backslashes. (Bug#7663)
331 2011-03-03 Glenn Morris <rgm@gnu.org>
333 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
334 (mail-mode): Remove mail-sent-via from the doc.
335 (mail-sent-via): Make it obsolete. (Bug#1776)
337 * progmodes/grep.el (grep-highlight-matches): Doc fix.
338 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
340 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
341 with no parents. (Bug#8025)
343 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
345 * password-cache.el (password-in-cache-p): Add autoload.
347 2011-03-02 Glenn Morris <rgm@gnu.org>
349 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
350 * dired-x.el (Man-support-local-filenames): Autoload it.
351 (dired-guess-shell-alist-default): Also handle Red Hat's man.
353 * dired-x.el (dired-default-directory-alist, dired-default-directory):
355 (dired-smart-shell-command): Just call dired-current-directory.
357 * dired-x.el (dired-jump-other-window): Add autoload.
358 (dired-default-directory-alist, dired-default-directory): Doc fixes.
359 (dired-default-directory-alist): Mark as risky.
361 * dired-x.el (dired-omit-here-always): Make it obsolete.
363 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
365 * textmodes/artist.el (artist-curr-go): Default to pen-line.
366 (artist-select-op-pen-line): New function.
367 (artist-menu-map): New variable.
368 (artist-mode-map): Add a menu to the menu-bar.
370 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
372 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
375 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
377 (math-logunits-add, math-logunits-mul, math-logunits-divide):
378 (math-logunits-quant, math-logunits-level):
379 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
381 (math-logunits-level): Extract units from ratio.
383 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
385 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
387 2011-03-01 Glenn Morris <rgm@gnu.org>
389 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
390 (diary-hebrew-birthday): Rename and rework functions added
393 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
395 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
396 (diary-hebrew-birthday): New functions.
398 2011-03-01 Glenn Morris <rgm@gnu.org>
400 * dired.el (dired-safe-switches-p): Beef it up.
401 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
403 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
405 * dired.el (dired-safe-switches-p): New function.
407 2011-03-01 Glenn Morris <rgm@gnu.org>
409 * files.el (dir-locals-collect-variables):
410 Add the ability to exclude subdirectories. (Bug#8100)
412 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
414 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
416 * ido.el (ido-everywhere): Doc fix.
419 2011-02-28 Glenn Morris <rgm@gnu.org>
421 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
423 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
425 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
428 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
430 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
432 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
434 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
435 Fix typos in docstrings.
437 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
439 * dired-aux.el (dired-update-file-line):
440 Fix 2010-11-09 change. (Bug#8131)
442 2011-02-28 Eli Zaretskii <eliz@gnu.org>
444 * international/mule-cmds.el (set-default-coding-systems): Use the
445 -unix variant of encoding in default-keyboard-coding-system.
448 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
450 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
452 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
454 * term/screen.el: New file (Bug#2650).
456 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
458 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
459 (pcase-mutually-exclusive-predicates): New var.
460 (pcase--split-consp, pcase--split-pred): Use it.
461 (pcase--split-equal, pcase--split-member): When splitting against
462 a pure predicate, run it to know the outcome.
463 (pcase--u1): Mark vars that are actually used.
464 (pcase--q1): Avoid introducing unused vars.
466 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
468 * calc/calc-ext.el (calc-init-extensions):
469 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
471 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
474 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
475 argument is a variable.
477 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
479 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
480 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
481 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
483 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
485 * password-cache.el (password-in-cache-p): Convenience function to
486 check if a key is in the cache, even if the value is nil.
488 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
490 * emacs-lisp/package-x.el (package--archive-contents-from-url)
491 (package--archive-contents-from-file): New functions.
492 (package-update-news-on-upload): New var.
493 (package-upload-buffer-internal): Extract archive-contents from
494 package-archive-upload-base if it is not found at archive-url.
495 Obey package-update-news-on-upload.
496 (package-upload-buffer, package-upload-file): Doc fix.
498 2011-02-24 Glenn Morris <rgm@gnu.org>
500 * files-x.el (modify-dir-local-variable): Handle dir-locals from
501 the cache, and from non-file sources.
503 * help-fns.el (describe-variable): Return consistent results when a
504 dir-local from a file came from the cache or did not. (Bug#8095)
505 If a dir-local has no associated file, say it came from a "directory".
507 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
508 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
510 * files.el (dir-locals-find-file): Doc fix.
511 Fix the check for cache elements that have no associated file,
512 and the mtime check for those that do. (Bug#8095)
514 * dired-x.el (dired-hack-local-variables):
515 Handle interrupts during hacking local variables. (Bug#5216)
517 * emacs-lisp/autoload.el (autoload-save-buffers)
518 (autoload-find-destination, update-directory-autoloads):
519 Avoid prompts when updating autoloads.
521 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
523 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
525 2011-02-23 Kenichi Handa <handa@m17n.org>
527 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
528 error when a multipart boundary in the nested multipart is found.
530 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
533 2011-02-23 Glenn Morris <rgm@gnu.org>
535 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
536 * dired-x.el (dired-omit-mode): Safe if boolean.
537 (dired-enable-local-variables): Fix doc and custom type.
538 (dired-enable-local-variables, dired-local-variables-file)
539 (dired-hack-local-variables): Make obsolete.
540 (dired-omit-here-always): Use dir-locals.el instead.
542 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
544 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
546 * help-fns.el (describe-function-1): Don't signal an error just because
547 the DOC file disappeared.
549 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
551 * eshell/esh-ext.el (eshell-external-command): Do not restrict
552 remote check to "ftp". (Bug#8089)
554 2011-02-21 Alan Mackenzie <acm@muc.de>
557 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
558 in macros finding their way into c-state-nonlit-pos-cache.
559 Strengthen the comments.
560 (c-state-dump): New commented out diagnostic routine.
562 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
564 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
565 `field' property of `rfn-eshadow-overlay'.
567 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
569 * net/netrc.el (netrc-parse): Comment fix.
571 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
573 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
574 Autoload. Add optional arg FRAME, and pass it to color-values.
575 (color-complement): Caller changed. Doc fix.
576 (color-gradient): Rewrite for better clarity and efficiency.
578 * faces.el (color-values): Use cond for clarity. Doc fix.
580 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
582 (list-colors-sort-key, list-colors-print):
583 Use color-normalized-values.
585 2011-02-20 Drew Adams <drew.adams@oracle.com>
587 * color.el: First part of merge from hexrgb.el.
588 (color-rgb-to-hex): Rename from color-rgb->hex.
589 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
590 saturation to zero if the value is too small.
591 (color-rgb-to-hsl): Rename from color-rgb->hsl.
592 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
593 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
594 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
595 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
596 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
597 (color-cie-de2000): Doc fix.
599 2011-02-20 Alan Mackenzie <acm@muc.de>
601 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
602 locating the beginning of a macro. (Bug#7595)
604 2011-02-20 Glenn Morris <rgm@gnu.org>
606 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
609 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
610 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
612 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
613 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
615 * progmodes/hideshow.el (hs-find-block-beginning)
616 (hs-hide-level-recursive): Ignore comments when parsing braces
619 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
621 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
622 (vc-bzr-pull): Use it.
624 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
626 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
627 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
628 but returning an alist. Ignore comments in bzr conffile.
629 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
630 (vc-bzr-error-regex-alist): New var.
631 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
633 * vc/vc-dispatcher.el (vc-do-async-command):
634 Bind inhibit-read-only to t.
636 * progmodes/compile.el (compilation--flush-directory-cache):
637 Handle the case where cdr of compilation--flush-directory-cache
638 points to no buffer, which can occur if we previously switched to
639 compilation-mode in a pregenerated buffer.
641 2011-02-19 Kenichi Handa <handa@m17n.org>
643 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
644 get the header copy into the temporary buffer.
645 (rmail-mime-insert-decoded-text): Ignore us-ascii.
646 (rmail-show-mime): When rmail-mime-coding-system is nil, set
647 buffer-file-coding-system to undecided.
649 2011-02-19 Eli Zaretskii <eliz@gnu.org>
651 * international/mule-cmds.el (read-char-by-name, ucs-insert):
652 Document completion with asterisk and a substring.
654 2011-02-19 Glenn Morris <rgm@gnu.org>
656 * files.el (find-file-literally): Doc fix.
658 * simple.el (rfc822-goto-eoh): Give it a doc-string.
660 * log-edit.el (log-edit-insert-changelog):
661 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
663 2011-02-19 Glenn Morris <rgm@gnu.org>
665 * dired-x.el: Don't require dired-aux.
666 (dired-do-create-files, dired-mark-read-regexp)
667 (dired-do-create-files-regexp): Autoload from dired-aux.
669 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
670 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
672 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
673 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
675 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
676 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
677 (dired-clean-up-buffers-too): Declare.
679 * dired-x.el (dired-initial-position): Merge into dired.el's version.
680 * dired.el (dired-initial-position): Merge dired-x's version here.
681 (dired-find-subdir): Declare.
683 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
684 * dired-aux.el (dired-add-entry): Give it a doc-string.
685 Merge dired-x's dired-omit handling here.
686 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
688 * international/mule-diag.el (list-input-methods-1):
689 Indent all lines of multi-line doc-strings. (Bug#8066)
691 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
693 Fix 2011-02-02 changes.
695 * apropos.el (apropos-print): Call apropos-mode before setting up
696 buffer variables. Use inhibit-read-only.
698 * emacs-lisp/package.el (package--list-packages):
699 Call package-menu-mode before setting up buffer variables.
701 * play/solitaire.el (solitaire): Call solitaire-mode before
702 setting up buffer variables. Use inhibit-read-only.
704 2011-02-18 Lawrence Mitchell <wence@gmx.li>
706 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
707 Bind case-fold-search to nil when looking for end of here-doc.
709 2011-02-18 Eli Zaretskii <eliz@gnu.org>
711 * image-mode.el (image-toggle-display-image):
712 Set find-file-literally non-nil in buffers visiting binary image
715 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
717 * files.el (cd): Make completion obey cd-path (bug#7924).
719 2011-02-18 Glenn Morris <rgm@gnu.org>
721 * progmodes/prolog.el: Don't require compile when compiling.
722 (compilation-shell-minor-mode, compilation-error-regexp-alist)
723 (compilation-forget-errors, compilation-fake-loc)
724 (compilation-parse-errors-function, compilation-error-list): Declare.
725 (prolog-inferior-mode): Require 'compile.
727 * emulation/cua-base.el (pc-selection-mode): Declare.
729 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
730 (customize-object): Add autoload cookie.
731 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
732 (eieio-browse, describe-class, eieio-describe-class)
733 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
734 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
735 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
736 * Makefile.in (autoloads): Make eieio.el writable.
738 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
739 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
740 (dired-hack-local-variables): Use inhibit-read-only.
741 (dired-guess-default): Simplify.
742 (dired-make-relative-symlink): Use dotimes.
743 (dired-simultaneous-find-file): Use dolist.
744 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
745 (dired-x-hands-off-my-keys): Doc fix.
746 (dired-x-bind-find-file): Doc fix. Use remapping.
747 (after-init-hook): No need to add dired-x-bind-find-file.
748 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
749 No need to call expand-file-name.
750 (dired-filename-at-point): Remove unused locals `end', `filename'.
752 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
754 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
756 2011-02-18 Christian Ohler <ohler@gnu.org>
758 * emacs-lisp/ert.el (ert--setup-results-buffer)
759 (ert-results-pop-to-backtrace-for-test-at-point)
760 (ert-results-pop-to-messages-for-test-at-point)
761 (ert-results-pop-to-should-forms-for-test-at-point)
762 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
763 were incorrect and unnecessary. This should make `make check'
766 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
768 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
769 (allout-widgets-icons-dark-subdir): Track relocations of icons
770 * lisp/allout.el: Remove commentary about remove encryption
771 passphrase mnemonic support and verification.
772 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
773 armored text using gpg1, and indicate that the gpg version *might*
774 be the problem in the error message.
776 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
778 * net/rcirc.el (rcirc-float-time): New function.
779 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
780 (rcirc-ctcp-sender-PING): Use it.
782 2011-02-17 Glenn Morris <rgm@gnu.org>
784 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
785 (speedbar-update-flag, speedbar-fetch-etags-command)
786 (speedbar-fetch-etags-arguments):
787 * term.el (term-buffer-maximum-size, term-input-chunk-size)
788 (term-completion-autolist, term-completion-addsuffix)
789 (term-completion-recexact, term-completion-fignore):
790 * term/sup-mouse.el (sup-mouse-fast-select-window):
791 * term/x-win.el (x-select-request-type):
792 Convert some defvars with "*" to defcustoms.
794 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
796 * vc/vc.el (vc-default-previous-version):
797 Remove alias that points nowhere. (Bug#4496)
799 * dired-x.el (dired-clean-up-after-deletion):
800 kill-buffer does not need save-excursion.
801 (dired-do-run-mail): Doc fix.
802 (dired-filename-at-point): Doc fix.
803 Use looking-at, and skip-chars rather than re search.
805 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
807 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
809 * allout-widgets.el: New allout extension that shows allout
810 outline structure with graphical widgets. 'allout-widgets'
811 customize group is an 'allout' subgroup, for easy discovery.
813 * allout.el: Include PGP and GnuPG in Keywords, and other
814 commentary refinements.
815 (allout-abbreviate-flattened-numbering): Rename to
816 allout-flattened-numbering-abbreviation, and
817 define-obsolete-variable-alias the old name.
818 (allout-flattened-numbering-abbreviation): Rename from
819 allout-abbreviate-flattened-numbering.
820 (allout-mode-p): Include among autoloads, for use by other modes
822 (allout-listify-exposed):
823 Use allout-flattened-numbering-abbreviation.
824 (allout-encrypt-string): Use set-buffer-multibyte directly.
825 (allout-set-buffer-multibyte): Remove.
827 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
829 * simple.el (just-one-space): Remove useless `or' call.
831 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
833 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
834 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
835 (soap-decoded-multi-refs, soap-current-wsdl)
836 (soap-encoded-namespaces): Rename CL-style *...* variables.
838 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
840 * net/soap-client.el: Add "comm" and "hypermedia" to the
841 keywords. Reflow too long lines.
843 * net/soap-inspect.el: Ditto. Require 'cl.
845 2011-02-16 Bastien Guerry <bzg@altern.org>
847 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
848 in a `doctor-type' argument.
850 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
852 * net/soap-client.el:
853 * net/soap-inspect.el: New files.
855 2011-02-16 Leo <sdl.web@gmail.com>
857 * dired-x.el (dired-mode-map, dired-extra-startup):
858 Remove dired-copy-filename-as-kill since it's already in dired.el.
860 2011-02-16 Glenn Morris <rgm@gnu.org>
862 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
863 Doc fixes. Add :set property, replacing top-level calls.
864 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
865 (dired-guess-shell-gnutar): Test tar version rather than system-type.
866 (dired-extra-startup, dired-man, dired-info): Doc fixes.
867 (dired-clean-up-after-deletion): Use when and dolist.
868 (dired-jump): Use unless and when.
869 (dired-virtual): Use line-end-position.
870 (dired-default-directory-alist): Rename from default-directory-alist.
871 (dired-default-directory): Update for above name change.
872 (dired-vm): Drop VM < 5 and simplify.
873 (dired-buffer-more-recently-used-p): Rewrite.
874 (dired-filename-at-point): Use when and or.
875 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
878 2011-02-15 Glenn Morris <rgm@gnu.org>
880 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
882 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
884 * vc/vc-git.el (vc-git-root-log-format): New option for
885 customizing log format.
886 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
887 (vc-git-log-view-mode): Use it.
888 (vc-git-expanded-log-entry): New function.
889 (vc-git-log-view-mode): Use it. Truncate lines in root log.
891 * vc/vc-hg.el (vc-hg-root-log-template): New option for
892 customizing log format.
893 (vc-hg-print-log): Use it.
894 (vc-hg-expanded-log-entry): New function.
895 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
896 vc-hg-expanded-log-entry. Truncate lines in root log.
898 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
900 * vc/log-view.el (log-view-mode-menu):
901 Add log-view-toggle-entry-display.
903 2011-02-14 Glenn Morris <rgm@gnu.org>
905 * dired-x.el: Don't require man when compiling.
906 (dired-omit-extensions, dired-local-variables-file)
907 (dired-x-hands-off-my-keys): Make them defcustoms.
908 (Man-support-local-filenames, Man-getpage-in-background): Declare.
909 (vm-visit-folder): Declare rather than defining.
910 (dired-x-help-address, dired-x-variable-list): Remove.
911 (dired-x-submit-report): Make it an obsolete alias.
913 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
915 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
917 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
919 * net/imap.el: Bring it back.
921 2011-02-13 Alan Mackenzie <acm@muc.de>
923 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
924 narrow-to-region call that cuts context off the end (Bug#7722).
926 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
927 Refactor nested if-forms with a simple cond.
928 (c-forward-<>-arglist): Revert 2011-01-31 change.
930 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
932 * vc/log-view.el: New command log-view-toggle-entry-display for
933 toggling log entries between concise and detailed forms.
934 (log-view-toggle-entry-display): New command.
935 (log-view-mode-map): Bind RET to it.
936 (log-view-expanded-log-entry-function): New variable.
937 (log-view-current-entry, log-view-inside-comment-p)
938 (log-view-current-tag): New functions.
939 (log-view-toggle-mark-entry): Use log-view-current-entry and
940 log-view-end-of-defun instead of searching directly with
942 (log-view-end-of-defun): Likewise. Add optional ARG for
943 compatibility with end-of-defun.
944 (log-view-end-of-defun): Ignore comments and VC buttons.
946 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
947 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
949 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
951 * net/imap.el: Remove file. All the functionality is in nnimap.el.
953 * net/imap-hash.el: Remove file.
955 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
957 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
959 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
962 * net/tramp-imap.el: Remove file.
964 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
966 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
967 widget library for buttons, just use button.el.
969 * vc/log-view.el (log-view-mode-map): Don't inherit from
972 2011-02-12 Glenn Morris <rgm@gnu.org>
974 * emacs-lisp/cl-seq.el (union, nunion, intersection)
975 (nintersection, set-difference, nset-difference)
976 (set-exclusive-or, nset-exclusive-or): Doc fix.
978 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
980 * faces.el (face-attr-match-p): Handle the obsolete :bold and
981 :italic props, so that frame-set-background-mode works. (Bug#7966)
983 * simple.el (next-error): Doc fix.
985 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
987 * dired-aux.el (dired-create-files): Adapt destination name to
988 match the new behavior of copy-directory.
990 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
992 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
993 from rmail-dont-reply-to-names. Callers changed.
994 (mail-dont-reply-to): Rename from mail-dont-reply-to.
995 (rmail-dont-reply-to): Make it an obsolete alias.
997 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
998 nil, and make obsolete (Bug#7888).
999 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1001 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1003 * mail/rmailsort.el (rmail-sort-by-correspondent)
1004 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1006 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1008 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1010 * files.el (copy-directory): New argument COPY-CONTENTS for
1011 copying directory contents into another existing directory.
1013 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1015 * minibuffer.el (completion-table-case-fold): New function for
1016 creating a case-insensitive completion table.
1018 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1020 * net/tramp.el (tramp-default-method): Also check if
1021 `auth-source-search' is bound.
1022 (tramp-read-passwd): Use `auth-source-search' instead of
1023 `auto-source-user-or-password'.
1025 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1026 `auto-source-user-or-password.
1027 (tramp-imap-passphrase-callback-function): Use it.
1029 * net/imap-hash.el: Autoload `auto-source-search' instead of
1030 `auto-source-user-or-password.
1031 (imap-hash-open-connection): Use it.
1033 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1034 `auto-source-user-or-password.
1035 (smtpmail-try-auth-methods): Use it.
1037 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1039 * emacs-lisp/package.el: Allow packages to be reinstalled.
1040 (package--write-file-no-coding): Remove EXCL arg.
1041 (package-unpack-single): Don't use it.
1043 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1045 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1046 in each sub directory.
1047 (vc-svn-registered): Use vc-svn-root.
1048 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1049 (vc-svn-repository-hostname): Use "svn info".
1051 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1053 * simple.el (delete-trailing-whitespace): New optional buffer
1056 2011-02-11 Bastien Guerry <bzg@altern.org>
1058 * files.el (basic-save-buffer): save unmodified buffers when
1059 the file pointed by buffer-file-name doesn't exist.
1061 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1063 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1065 2011-02-11 Glenn Morris <rgm@gnu.org>
1067 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1069 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1071 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1073 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * server.el (server-process-filter): Use pcase.
1077 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1079 (smie-indent--parent): Extend to "parent of arg".
1080 (smie-indent-inside-string): New function.
1081 (smie-indent-functions): Use it.
1083 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1084 bzr locking race condition.
1086 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1087 still valid before using it.
1089 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1090 `message' -> `compilation-message' rename (bug#8004).
1092 Move keymap initialization into declaration.
1093 * textmodes/enriched.el (enriched-mode-map):
1094 * textmodes/bib-mode.el (bib-mode-map):
1095 * term/lk201.el (lk201-function-map):
1096 * tar-mode.el (tar-mode-map):
1097 * replace.el (occur-mode-map):
1098 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1099 * progmodes/idlw-help.el (idlwave-help-mode-map):
1100 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1101 * play/solitaire.el (solitaire-mode-map):
1102 * play/snake.el (snake-mode-map, snake-null-map):
1103 * play/pong.el (pong-mode-map):
1104 * play/handwrite.el (menu-bar-handwrite-map):
1105 * play/gametree.el (gametree-mode-map):
1106 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1107 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1108 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1109 (newsticker--url-keymap):
1110 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1111 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1112 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1113 (menu-bar-edit-menu, menu-bar-custom-menu)
1114 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1115 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1116 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1117 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1118 (menu-bar-tools-menu, menu-bar-describe-menu)
1119 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1120 (menu-bar-help-menu):
1121 * mail/rmailsum.el (rmail-summary-mode-map):
1122 * kmacro.el (kmacro-step-edit-map):
1123 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1124 (ibuffer-mode-operate-map):
1125 * hi-lock.el (hi-lock-menu, hi-lock-map):
1126 * emulation/vip.el (vip-mode-map):
1127 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1128 * bookmark.el (bookmark-bmenu-mode-map):
1129 * help-mode.el (help-mode-map): Move initialization into declaration.
1131 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1133 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1134 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1135 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1136 (rcirc-cmd-me, rcirc-authenticate): Use them.
1138 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1140 * allout.el: Synopsis: Change allout user configuration so
1141 auto-activation is controlled solely by customization
1142 `allout-auto-activation'.
1144 (allout-auto-activation-helper, allout-setup): New autoloads
1145 implement new custom set procedure for allout-auto-activation.
1146 Also, explicitly invoke
1147 (allout-setup) after allout-auto-activation is custom-defined, to
1148 effect the settings in emacs sessions besides the few where
1149 allout-auto-activation customization is donea.
1150 (allout-auto-activation): Use allout-auto-activation-helper to
1151 :set. Revise the docstring.
1152 (allout-init): Reduce functionality to just customizing
1153 allout-auto-activation, and mark obsolete.
1154 (allout-mode): Respect string values for allout-auto-activation.
1155 Run allout-after-copy-or-kill-hook without any args.
1156 (allout-mode, allout-layout, allout-default-layout)
1157 (outlineify-sticky): Adjust docstring for new scheme.
1158 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1159 should concentrate on the kill ring.
1161 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1163 * password-cache.el (password-cache-remove): Accept secrets that are
1166 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1169 of here-doc that immediately follows a comment.
1171 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1173 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1175 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1177 (rcirc-ctcp-sender-PING): New function.
1179 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1181 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1182 Remove the mark/nomark handling, and activate shift-select-mode instead.
1184 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1186 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1188 * calc/calc-units.el (math-logunits-quant): Add support for
1189 non-logarithmic units.
1191 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1193 * allout.el (allout-after-copy-or-kill-hook): New hook for
1194 extension-specific processing of killed text.
1195 (allout-mode): Include new allout-after-copy-or-kill-hook among
1197 (allout-kill-line, allout-kill-topic): Ensure that processing
1198 after kill happens even if barf-if-buffer-read-only is raised.
1199 Include new allout-after-copy-or-kill-hook among that subsequent
1201 (allout-deannotate-hidden): Actually remove the annotation text
1204 * allout.el (allout-listify-exposed): Copy text sans text properties.
1206 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1208 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1210 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1212 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1214 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1216 * calc/calc.el (calc-logunits-field-reference): Rename from
1217 `calc-default-field-reference-level'.
1218 (calc-logunits-power-reference): Rename from
1219 `calc-default-power-reference-level'.
1221 * calc/calc-units.el (math-logunits-quant): Rename from
1222 `math-logunits-level'
1223 (math-logunits-plus): Rename from math-logcombine.
1224 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1225 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1226 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1228 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1229 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1230 (calc-logunits-quantity): Rename from `calc-level'.
1231 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1232 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1233 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1234 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1235 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1238 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1239 (calc-ul-prefix-help): Remove.
1240 (calc-l-prefix-help): New function.
1241 (calc-full-help): Add reference to `calc-l-prefix-help'.
1243 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1245 * calc/README: Mention logarithmic units.
1247 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1249 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1250 non-ASCII characters (Bug#7925).
1252 2011-02-05 Glenn Morris <rgm@gnu.org>
1254 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1256 * calendar/diary-lib.el (diary-font-lock-keywords):
1257 Tweak diary-time-regexp match. (Bug#7891)
1259 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1260 (f90-mode): Use it for mode's `find-tag-default-function' property.
1262 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1264 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1266 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1268 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1271 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1274 font-lock-syntax-table remappings.
1275 (sh-here-doc-markers, sh-here-doc-re): Remove.
1276 (sh-font-lock-close-heredoc): Remove.
1277 (sh-syntax-propertize-here-doc): New function.
1278 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1279 instead of the sh-here-doc-re.
1280 (sh-font-lock-paren): Don't do anything in comments or strings.
1281 Handle line continuations. Accept a few more chars.
1282 Don't rely on the font-lock-syntax-table remappings.
1283 `esac' is not a valid pattern.
1284 (sh-syntax-propertize-function): Handle here-docs differently, so we
1285 don't bother syntax-propertizing the insides.
1287 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1288 Handle new bashisms ";&" and ";;&" (bug#7947).
1290 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1292 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1293 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1295 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1297 * net/tramp.el (tramp-postfix-method-format)
1298 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1299 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1300 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1301 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1302 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1305 2011-02-04 Sam Steingold <sds@gnu.org>
1307 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1309 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1311 * international/mule-util.el (with-coding-priority): Doc fix.
1313 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1315 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1317 2011-02-03 Sam Steingold <sds@gnu.org>
1319 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1320 Do not error out when `func' is nil.
1322 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1324 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1325 `tramp-default-remote-path' to the docstring.
1326 (tramp-get-remote-path): Suppress error message when `getconf
1329 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1331 2011-02-03 Glenn Morris <rgm@gnu.org>
1333 * vc/vc-hg.el (vc-hg-command): Doc fix.
1335 * term/w32-win.el (libpng-version): Declare for compiler.
1337 * msb.el: No need to load dired while compiling.
1339 * emacs-lisp/elint.el (elint-standard-variables):
1340 Remove a couple of built-ins that now have doc-strings.
1342 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1343 `require' is automatically `eval-and-compile'd.
1345 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1346 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1348 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1349 Move definition before use.
1350 (strokes-report-bug): Make it obsolete.
1352 2011-02-02 Sam Steingold <sds@gnu.org>
1354 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1355 from `special-mode', entering it makes the buffer read-only, so
1356 call it only when everything has been already inserted.
1357 * emacs-lisp/ert.el (ert--setup-results-buffer)
1358 (ert-results-pop-to-backtrace-for-test-at-point)
1359 (ert-results-pop-to-messages-for-test-at-point)
1360 (ert-results-pop-to-timings): Ditto.
1361 * emacs-lisp/package.el (package--list-packages): Ditto.
1362 * play/solitaire.el (solitaire): Ditto.
1364 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1366 * progmodes/compile.el: Make all faces inherit.
1367 (compilation-warning): Inherit from font-lock-variable-name-face.
1368 (compilation-info): Inherit from font-lock-type-face.
1369 (compilation-line-number): Reassign to font-lock-keyword-face.
1370 (compilation-column-number): Reassign to font-lock-doc-face.
1371 (compilation-leave-directory-face): Reassign to
1372 font-lock-builtin-face.
1374 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1376 * dired.el (dired-insert-directory): Don't invoke `ls' when
1377 ls-lisp.el is used to emulate it.
1379 2011-02-01 Julien Danjou <julien@danjou.info>
1381 * color.el (color-gradient): Add a color-gradient function.
1383 2011-02-01 Sam Steingold <sds@gnu.org>
1385 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1386 bind "z" to `kill-this-buffer'.
1387 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1388 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1389 (apropos-mode): Inherit from `special-mode'.
1390 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1391 * bookmark.el (bookmark-bmenu-mode): Define using
1392 `define-derived-mode' inheriting from `special-mode'.
1393 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1394 * image-mode.el (image-mode-map): Ditto.
1395 * replace.el (occur-mode): Define using
1396 `define-derived-mode' inheriting from `special-mode'.
1397 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1398 * calendar/diary-lib.el (diary-fancy-display-mode):
1399 Inherit from `special-mode-map'.
1400 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1401 Inherit from `special-mode'.
1402 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1404 (package-menu-mode): Define using `define-derived-mode'
1405 inheriting from `special-mode'.
1406 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1407 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1408 (xesam-mode-map): Define separately.
1409 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1410 * progmodes/compile.el (compilation-minor-mode-map)
1411 (compilation-mode-map): Inherit from `special-mode-map'.
1412 * vc/diff-mode.el (diff-mode-shared-map):
1413 Inherit from `special-mode-map'.
1414 * vc/log-view.el (log-view-mode-map): Add a comment.
1416 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1418 * custom.el (load-theme): Define return value. Drop use of
1419 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1420 (custom-theme-load-confirm): Scroll in the correct window.
1421 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1423 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1424 checkbox if load-theme fails.
1426 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1428 * progmodes/compile.el (compilation-next-error): Check there's
1429 a message before using it (bug#7941).
1431 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1433 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1434 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1435 of potential pivots.
1437 2011-01-31 Alan Mackenzie <acm@muc.de>
1439 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1440 Continue parsing if we encounter a naked # (Bug#7595).
1441 (c-beginning-of-statement): Avoid loop in locating the beginning
1442 of a macro. (Not actually committed until 2011-02-20, see above).
1444 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1446 * files.el (copy-directory): Fix arguments to recursive call.
1448 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1450 * files.el (copy-directory): If destination is an existing
1451 directory, copy into a subdirectory there.
1453 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1455 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1458 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1460 * image-dired.el (image-dired-mouse-display-image): No-op if no
1461 file is found (Bug#7817).
1463 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1465 2011-01-31 Kenichi Handa <handa@m17n.org>
1467 * international/quail.el (quail-keyboard-layout-alist):
1468 Remove superfluous SPC for "pc105-uk" (bug#7927).
1470 2011-01-31 Glenn Morris <rgm@gnu.org>
1472 * msb.el (msb-menu-bar-update-buffers): Update for changed
1473 argument handling of menu-bar-select-frame. (Bug#7902)
1475 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1477 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1478 to the recursion depth (Bug#7722).
1480 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1482 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1483 command-line-default-directory (Bug#7872).
1485 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * progmodes/compile.el (compilation--flush-directory-cache):
1488 New function, extracted from compilation--remove-properties.
1489 (compilation--remove-properties, compilation--parse-region): Use it.
1490 (compilation--previous-directory): Handle one more case.
1491 (compilation-enable-debug-messages): Remove.
1492 (compilation-parse-errors, compilation--flush-parse): Just remove the
1493 left over debug messages.
1495 2011-01-31 Sam Steingold <sds@gnu.org>
1497 * progmodes/compile.el (compilation-enable-debug-messages):
1498 Add a variable to make the parsing messages introduced in
1499 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1500 (compilation-parse-errors, compilation--flush-parse): Use it.
1502 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1504 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1505 (rcirc-nick-completion-format): New defcustom.
1506 (rcirc-complete): Use it.
1508 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1510 * net/rcirc.el: Clean log filenames (Bug#7933).
1511 (rcirc-log-write): Use convert-standard-filename.
1512 (rcirc-log-filename-function): Documentation updates.
1514 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1516 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1517 Check report-emacs-bug-can-use-osx-open and use that if t.
1518 (report-emacs-bug-can-use-osx-open): New function.
1519 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1520 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1522 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1524 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1525 updating Dired or VC-dir buffers after async command completes.
1527 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1528 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1530 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1531 completions if it exists. Use vc-set-async-update.
1532 (vc-git-pull): Use vc-set-async-update.
1534 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1535 read-shell-command. Use vc-set-async-update.
1536 (vc-hg-merge-branch): Use vc-set-async-update.
1538 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1540 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1541 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1544 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * progmodes/compile.el: Avoid an N² behavior in grep.
1547 (compilation--previous-directory): New fun.
1548 (compilation--previous-directory-cache): New var.
1549 (compilation--remove-properties): Flush it.
1550 (compilation-directory-properties, compilation-error-properties):
1551 Use the new fun to speed up looking for the current directory.
1553 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1555 * vc/vc-hg.el (vc-hg-history): New var.
1556 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1557 (vc-hg-merge-branch): New function.
1559 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1560 the other way around.
1562 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1563 (vc-git-merge-branch): New functions.
1564 (vc-git-history): New var.
1566 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1568 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1570 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1571 vc-do-async-command.
1573 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1576 2011-01-28 Leo <sdl.web@gmail.com>
1578 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1579 highlighting to the "this function is advised" message.
1581 * help-mode.el (help-mode-finish): Apply highlighting here, to
1582 avoid clobbering by substitute-command-keys (Bug#6304).
1584 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1586 * woman.el (woman0-roff-buffer): Process roff escape sequences
1587 occurring prior to the first request (Bug#7843).
1589 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1591 * progmodes/compile.el: Don't use font-lock any more.
1592 (compilation-error-regexp-alist-alist): Change handling of makepp
1593 so it preserves the warning/error distinction on subsequent files.
1594 Simplify various rules.
1595 (compilation-directory-properties): Use font-lock-face.
1596 Add a compilation-message property.
1597 (compilation-internal-error-properties): Use font-lock-face.
1598 Don't set the compilation-debug property here.
1599 (compilation--put-prop, compilation--remove-properties)
1600 (compilation--parse-region, compilation--ensure-parse)
1601 (compilation--ensure-parse): New functions.
1602 (compilation-parse-errors): New function, largely inspired of
1603 compilation-mode-font-lock-keywords. Set compilation-debug here.
1604 (compilation--parsed): New var.
1605 (compilation--flush-parse): Use compilation--ensure-parse.
1606 (compilation-start): Don't call font-lock.
1607 (compilation-turn-on-font-lock): Remove.
1608 (compilation-setup): Don't set font-lock-extra-managed-props not change
1609 other font-lock settings, other than keywords.
1610 Don't activate font-lock-mode.
1611 Set change-major-mode-hook and before-change-functions.
1612 (compilation--unsetup): Remove properties and hooks.
1613 (compilation-next-single-property-change): New function.
1614 (compilation-next-error): Use it to parse when needed.
1615 (compile-goto-error): Parse buffer as needed.
1616 (compilation--compat-error-properties): Don't need a dummy `face'
1619 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1621 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1622 (compilation-process-setup-function): Fix docstring's false promises.
1623 (compilation-error-regexp-alist-alist): Catch omake's continuous
1624 recompilation message and avoid reuse of old markers.
1625 (compilation-parse-errors-function): Declare obsolete.
1626 (compilation-buffer-modtime): Remove.
1627 (compilation--make-cdrloc, compilation--loc->col)
1628 (compilation--loc->line, compilation--loc->file-struct)
1629 (compilation--loc->marker, compilation--loc->visited)
1630 (compilation--make-file-struct, compilation--file-struct->file-spec)
1631 (compilation--file-struct->formats)
1632 (compilation--file-struct->loc-tree): New macros. Use them.
1633 (compilation--message): New defstruct. Use them.
1634 (compilation-next-error-function): Don't mess with timestamps to try
1635 and guess when to reparse.
1637 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1640 (tex-old-error-file-name): New function,
1641 extracted from tex-compilation-parse-errors.
1642 (tex-compilation-parse-errors): Remove.
1643 (tex-error-regexp-alist): New var.
1644 (tex-shell): Use it to avoid compilation-parse-errors-function.
1646 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1647 (grep-mode-font-lock-keywords): Remove regexp that seems like
1648 a left-over from before we used compile.el.
1649 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1650 modifying the buffer within with-silent-modifications.
1652 * progmodes/compile.el: Cleanup text-properties namespace by using
1653 `compilation-message' instead of `message', `compilation-directory'
1654 instead of `directory', and `compilation-debug' instead of `debug'.
1655 (compilation-last-buffer, compilation-parsing-end)
1656 (compilation-error-list, compilation-old-error-list): Move to the
1657 compatibility part of the code.
1658 (compilation-error-properties): If `file' is a function, let it return
1660 (compilation-mode-font-lock-keywords): Be more conservative with the
1661 omake "^ *" pattern prefix, to try and minimize the risk of
1662 pathologically slow regexp matching.
1663 (compilation-start): Use inhibit-read-only.
1664 (compilation--unsetup): New function.
1665 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1666 (compilation-filter): Minor tweaks.
1667 (compilation-next-error-function): Try and avoid abusing variables.
1668 (compilation--flush-file-structure): New fun.
1669 (compilation-fake-loc): Use it to improve behavior when file is reused.
1670 (debug-ignored-errors): Add "Moved past last ...".
1671 (compilation--compat-error-properties)
1672 (compilation--compat-parse-errors): Rename by doubling the "-".
1674 Port features from the previous prolog.el to the new one.
1675 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1676 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1677 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1678 variable and use a function to compute the value dynamically.
1679 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1680 (prolog-continued-prompt-regexp): Remove, unused.
1681 (prolog-find-value-by-system): Try and use the value of prolog-system
1682 in the *prolog* buffer if it helps.
1683 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1684 (prolog-zip-on): ..and check prolog-system and version here instead.
1685 (prolog-inferior-self-insert-command): New command.
1686 (prolog-inferior-mode-map): Use it.
1687 (prolog-inferior-error-regexp-alist): New var.
1688 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1689 (prolog-input-filter): Use derived-mode-p.
1690 (prolog-inferior-guess-flavor): New function.
1691 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1692 make-comint to avoid running comint-mode twice.
1693 (prolog-inferior-buffer): New fun.
1694 (prolog-old-process-region, prolog-old-process-file):
1695 Don't call prolog-bsts here...
1696 (prolog-build-prolog-command): ...do it here instead.
1697 (prolog-old-process-region, prolog-old-process-file):
1698 Use compilation-fake-loc and compilation-forget-errors.
1699 (prolog-consult-compile-region): Use bolp.
1701 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1703 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1705 2011-01-27 Sam Steingold <sds@gnu.org>
1707 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1708 Remove "*server*" which is never created by emacs server.
1710 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1712 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1713 there are some diff switches.
1715 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1718 Copy change made to ruby-font-lock-syntactic-keywords.
1720 * htmlfontify.el: Make it obey the font-lock-face text property.
1721 Miscellaneous cleanup such as:
1722 - Don't hide expressions after a closing paren.
1723 - Move initial setq into let.
1724 - Hoist common parts out of ifs.
1725 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1726 (hfy-face-at): Use get-text-property instead.
1727 (hfy-prop-invisible-p): Use invisible-p if available.
1728 (htmlfontify-manual): Use \\[...].
1729 (hfy-html-quote-regex): Use [...].
1730 (hfy-combined-face-spec): Simplify.
1731 (hfy-compile-face-map): Don't presume point-min==1.
1732 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1733 match end of string.
1734 (hfy-text-p): η-reduce.
1735 (hfy-tags-for-file): Receive cache-hash directly.
1736 (hfy-mark-tag-names): Adjust call.
1738 2011-01-27 Glenn Morris <rgm@gnu.org>
1740 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1741 (msb-after-load-hook): Remove eval-after-load wackiness.
1743 2011-01-25 Sam Steingold <sds@gnu.org>
1745 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1746 literal "diff" (important for windows-nt).
1748 2011-01-25 Glenn Morris <rgm@gnu.org>
1750 * emacs-lisp/copyright.el (copyright-at-end-flag)
1751 (copyright-names-regexp): Add safety properties.
1752 (copyright-year-ranges): New option.
1753 (copyright-find-end): New function, split from copyright-update-year.
1754 (copyright-update-year): Use copyright-find-end.
1755 (copyright-fix-years): Optionally, convert years to ranges.
1756 Handle years continued over comment lines.
1757 Do not mess with the fill-prefix.
1758 Do not call copyright-update.
1759 (copyright-update-directory): Optionally, fix years rather than update.
1760 Skip directories. Find files with only safe local vars.
1762 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * files.el (file-name-non-special): Only change buffer-file-name after
1765 insert-file-contents if it's `visit'ing the file (bug#7854).
1767 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1769 * dired.el (dired-revert): Doc fix (Bug#7758).
1771 * simple.el (line-move-visual): Doc fix (Bug#7594).
1773 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1775 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1776 here-doc which ends with an underscore.
1777 (ruby-mode-set-encoding): Skip shebang line always.
1778 (ruby-mode-map): Bind C-c C-c to comment-region.
1779 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1780 (ruby-forward-sexp): Stop after literal hash key labels.
1781 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1784 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1786 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1787 the correct buffer (Bug#7650).
1789 2011-01-25 Glenn Morris <rgm@gnu.org>
1791 * comint.el (comint-mode): Doc fix. (Bug#7897)
1793 * simple.el (do-auto-fill): Give it a doc string.
1795 * button.el (make-text-button): Doc fix. (See bug#7881)
1797 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1800 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1802 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1803 Handle ?" and friends differently (e.g. don't use backrefs).
1805 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1807 * calc/calc.el (calc-default-power-reference-level)
1808 (calc-default-field-reference-level): New variables.
1809 * calc/calc-units.el (math-standard-units): Add dB and Np.
1810 (math-logunits): New variable.
1811 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1812 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1813 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1815 (math-find-base-units-rec): Add entry for ln(10).
1816 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1817 (calc-ul-prefix-help): New function.
1818 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1819 functions. Add keybindings for new units functions.
1821 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1823 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1824 rcirc buffers. (Bug#4940)
1826 2011-01-22 Glenn Morris <rgm@gnu.org>
1828 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1829 split out from copyright-update-year.
1830 (copyright-update): Don't mess with the GPL version if we don't own the
1831 copyright. Update license regexp, and remove no longer needed
1833 (copyright-fix-years): Use copyright-find-copyright.
1835 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1837 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1839 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1841 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1842 (lm): Rename to landmark.
1843 (lm-test-run): Rename to landmark-test-run.
1845 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1847 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1848 "Case sensitive" menu item.
1850 2011-01-22 Roland McGrath <roland@frob.com>
1852 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1853 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1855 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1859 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1861 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1862 Assume foo(bar) is a manpage reference rather than some unquoted
1865 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1867 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1868 Suggested by Flo <sensorflo@gmail.com>.
1870 2011-01-22 Glenn Morris <rgm@gnu.org>
1872 * progmodes/compile.el (compilation-error-regexp-alist):
1873 Fix custom type. (Bug#7812)
1875 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1877 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1878 allout-number-siblings, in keeping with what obtained due to
1879 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1881 (allout-before-change-handler): Better expose spots affected by
1884 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1886 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1888 2011-01-22 Phil Hagelberg <phil@evri.com>
1890 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1891 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1892 (pcmpl-ssh-config-hosts): New function.
1893 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1894 pcmpl-ssh-known-hosts.
1896 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1898 * calc/calc-undo.el (calc-undo): Autoload it.
1899 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1900 and autoload for `calc-undo'.
1901 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1902 * calc/calc-prog.el:
1903 * calc/calc-graph.el:
1904 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1906 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
1908 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1909 keybindings to `calc-undo'.
1911 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1913 Don't mess with *temp*.
1914 * obsolete/spell.el: Move from textmodes/spell.el.
1916 * term.el (term-read-input-ring):
1917 * startup.el (display-startup-echo-area-message):
1918 * progmodes/antlr-mode.el (antlr-directory-dependencies):
1919 * comint.el (comint-read-input-ring): Use with-temp-buffer.
1920 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1923 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
1925 * allout.el (allout-institute-keymap): Use fset instead of
1926 reapplying defalias.
1928 (allout-hotspot-key-handler): Check for non-control-modified
1929 bindings for hotspot characters if there are no control-modified
1932 * allout.el: Summary - migrate to defining allout mode using
1933 define-minor-mode instead of defun. Significantly clean-up
1934 internal keymap provisions, refactoring and, in the process,
1935 removing a lot of accumulated cruft.
1937 allout-mode-map is now a keymap by virtue of being a defalias to
1938 allout-mode-map-value, which contains the actual keymap structure.
1940 (allout-mode): Use define-minor-mode rather than defun.
1941 Remove now-unnecessary minor-mode setup activities from the body.
1942 Specify :keymap as allout-mode-map so the minor-mode-map-alist
1943 entry will be '(allout-mode . allout-mode-map) - see
1944 allout-mode-map-value, below. Adjust docstring to track changes.
1945 (allout-minor-mode): Remove this defalias, now that we're using
1947 (allout-mode-map): Set value to be 'allout-mode-map. The actual
1948 keymap is allout-mode-map-value, via defalias.
1949 (allout-mode-map-value): The variable holding the actual mode
1950 keymap structure, by virtue of defalias from allout-mode-map.
1951 (allout-compose-and-institute-keymap): Rename from
1952 allout-bind-keys, and including the binding-composition
1953 functionality of the former produce-allout-mode-map and
1954 allout-setup-mode-map.
1955 (allout-institute-keymap): Take over the "setup" part of the former
1956 allout-setup-mode-map. Reassign allout-mode-map-value value and
1957 update the defalias.
1958 (allout-command-prefix, allout-prefixed-keybindings)
1959 (allout-unprefixed-keybindings):
1960 Use allout-compose-and-institute-keymap to process the bindings.
1961 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
1962 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1963 user can customize if they want to use that binding.
1964 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1965 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
1966 elided that, previously, instead of the one for \C-h.)
1967 (allout-hotspot-key-handler): Remove attempt to resolve the key
1968 through the literal key-string lookup on allout-keybindings-list.
1969 That probably hasn't worked for a Long Time, and removal of
1970 allout-keybindings-list further simplifies the keybindings situation.
1971 (allout-pre-command-business): Use allout-mode-map-value instead
1973 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
1974 the bindings if they want to use a keybinding having a trailing
1975 \C-h. No deprecation needed since this feature was never in a release.
1976 (allout-keybindings-list): Remove. It's not been useful for a
1977 while. (See allout-hotspot-key-handler changes, above.)
1978 (produce-allout-mode-map): Remove. Consolidate into
1979 allout-compose-and-institute-keymap.
1980 (allout-mode-map-adjustments): Remove. No longer necessary with
1981 removal of allout-preempt-trailing-ctrl-h.
1982 (allout-setup-mode-map): Remove. Consolidate into
1983 allout-compose-and-institute-keymap and allout-institute-keymap.
1985 2011-01-20 Glenn Morris <rgm@gnu.org>
1987 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1989 * simple.el (read-expression-history): Remove, it's in minibuf.c.
1991 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
1993 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1995 * files.el (find-alternate-file, basic-save-buffer)
1996 (basic-save-buffer-2, revert-buffer, recover-file)
1997 (kill-buffer-ask, abort-if-file-too-large)
1998 (set-visited-file-name, write-file, backup-buffer)
1999 (basic-save-buffer, save-some-buffers):
2000 * dired-aux.el (dired-compress-file): Callers changed.
2002 2011-01-19 Glenn Morris <rgm@gnu.org>
2004 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2005 Also check the property status. (Bug#7861)
2007 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2009 * net/tramp.el (tramp-debug-message): Extend function exclude
2010 list. Use `regexp-opt'.
2012 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2015 highlighting doesn't spill over subsequent lines.
2017 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2018 keymap expression. Improve docstring.
2020 * electric.el (electric-indent-post-self-insert-function):
2021 Don't auto-indent for indent-to-left-margin, it's too often
2024 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2026 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2027 spaces if the frame was resized, so that the full visible buffer
2028 serves as canvas for strokes.
2030 2011-01-16 Glenn Morris <rgm@gnu.org>
2032 * info-xref.el (info-xref-docstrings): Replace cl function.
2033 Also skip directories.
2035 2011-01-16 Kevin Ryde <user42@zip.com.au>
2037 * info-xref.el: Version 3.
2038 (info-xref-check, info-xref-check-all): Move commentary details
2039 into docstrings for better visibility.
2040 Use compilation-mode for the results buffer.
2041 (info-xref-output, info-xref-output-error, info-xref-with-output)
2042 (info-xref-filename, info-xref-in-progress):
2043 New internals for this.
2044 (info-xref-check-list, info-xref-check-buffer)
2045 (info-xref-check-all-custom): Use those.
2046 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2047 (info-xref-output-heading): Rename from info-xref-filename-heading.
2048 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2049 (info-xref-filename-heading): Move to output managing section.
2050 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2051 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2052 (info-xref-subfile-p): Move to generic section with those two.
2053 (info-xref-check-node): New function split from
2054 info-xref-check-buffer, shared by info-xref-docstrings.
2055 (info-xref-goto-node-p): Move to a checking section with that func.
2056 (info-xref-unavail): New counter.
2057 (info-xref-check-node): Use it.
2058 (info-xref-with-output): Show count of unavailables at end of output.
2059 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2060 symlinks. Exclude .texi files. Exclude Emacs backup files.
2061 (info-xref-check-all-custom): Fix quietening viper-mode and
2062 gnus-registry-install -- use setq not let so as not to unbind
2065 2011-01-16 Juri Linkov <juri@jurta.org>
2067 * isearch.el (isearch-abort): Don't quit if search has
2068 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2070 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2072 * files.el (backup-buffer): Make last-resort backup file in
2073 .emacs.d (Bug#6953).
2075 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2076 make it with permission 700.
2078 2011-01-15 Kenichi Handa <handa@m17n.org>
2080 * mail/rmailmm.el (rmail-mime-insert-header):
2081 Set rmail-mime-coding-system to a cons whose car is the last coding
2082 system used to decode the header.
2083 (rmail-mime-find-header-encoding): New function.
2084 (rmail-mime-insert-decoded-text):
2085 Override rmail-mime-coding-system if it is a cons.
2086 (rmail-show-mime): If only a header part was decoded, find the
2087 coding system while ignoring mm-charset-override-alist.
2089 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2091 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2093 2011-01-15 Kenichi Handa <handa@m17n.org>
2095 * mail/rmailmm.el (rmail-mime-next-item)
2096 (rmail-mime-previous-item): Delete them.
2097 (rmail-mime-shown-mode): Recursively call for children.
2098 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2100 (rmail-mime-raw-mode): Recursively call for children.
2101 (rmail-mode-map): Change mapping of tab and backtab to
2102 forward-button and backward-button respectively.
2103 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2105 (rmail-mime-update-tagline): New function.
2106 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2107 body display is changed.
2108 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2109 (rmail-mime-image): Delete this button type.
2110 (rmail-mime-toggle): New button type.
2111 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2112 body display is changed. Change the save button label to "Save".
2113 Don't process show/hide button here.
2114 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2115 the body display is changed. Unconditionally call
2116 rmail-mime-insert for children.
2117 (rmail-mime-handle): Update `display' vector of the just inserted
2119 (rmail-mime-process): If mail-header-parse-content-type returns
2120 nil, use "text/plain" as the fallback type.
2121 (rmail-mime-insert): For raw-mode, recursively call
2122 rmail-mim-insert for children.
2123 (rmail-mime): Handle the case that the current buffer is not rmail
2124 buffer (e.g. in summary buffer).
2126 2011-01-15 Kenichi Handa <handa@m17n.org>
2128 * mail/rmailmm.el (rmail-mime-next-item)
2129 (rmail-mime-previous-item): Skip the body of a non-multipart
2130 entity if a tagline is shown.
2132 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2135 (tmm-prompt): Simplify.
2136 (tmm-add-prompt): Remove unused var `win'.
2138 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2139 to minor mode which used nil accidentally to mean "turn off".
2141 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2143 * net/tramp-sh.el (tramp-find-inline-compress)
2144 (tramp-get-inline-coding): Quote command after pipe symbol for
2145 local calls under W32. (Bug#6784)
2147 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2149 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2150 only when running under W32.
2152 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2154 * progmodes/grep.el (grep-compute-defaults): Quote the program
2155 file name after the pipe symbol in Grep templates. (Bug#6784)
2156 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2158 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2160 * buff-menu.el (Buffer-menu-buffer-list): New var.
2161 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2162 restricted buffer list is not lost on revert (Bug#7749).
2164 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2166 * net/ldap.el (ldap-search-internal): Discard stderr output.
2168 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2170 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2172 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2176 2011-01-15 Kenichi Handa <handa@m17n.org>
2178 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2179 part as a plain text.
2180 (rmail-mime-process-multipart): Set the default content-type to
2181 nil for unknown multipart subtypes (bug#7651).
2183 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2185 * hexl.el (hexl-mode-old-*): Remove.
2186 (hexl-mode--old-var-vals): New var to replace them.
2187 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2188 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2189 Use them to set local vars (bug#7846).
2190 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2191 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2192 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2194 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2195 (smerge-resolve--normalize-re): New var.
2196 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2197 (smerge-resolve): Use them.
2198 * newcomment.el (comment-only-p): New function.
2199 (comment-or-uncomment-region): Use it.
2201 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2203 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2204 table, get the value before switching to the output buffer. (Bug#7733)
2206 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2208 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2210 2011-01-14 Kim F. Storm <storm@cua.dk>
2212 * emulation/cua-base.el (cua--init-keymaps):
2213 Remap exchange-point-and-mark in cua-global-keymap.
2215 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2217 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2220 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2224 (easy-menu-create-menu, easy-menu-convert-item-1):
2225 Use :label rather than nil for labels. Use `case'.
2226 Add :enable as alias for :active.
2227 (easy-menu-binding): Obey :label.
2229 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2231 Use run-mode-hooks for major mode hooks (bug#513).
2232 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2233 Rename from reftex-toc-map.
2234 (reftex-toc-mode): Use define-derived-mode.
2235 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2236 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2237 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2238 (reftex-select-label-mode, reftex-select-bib-mode):
2239 Use define-derived-mode.
2240 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2241 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2242 Move init into delcaration.
2243 (reftex-index-mode, reftex-index-phrases-mode):
2244 Use define-derived-mode.
2245 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2246 speedbar-syntax-table. Move init into declaration.
2247 (speedbar-mode-map): Rename from speedbar-key-map.
2248 Move init into declaration.
2249 (speedbar-file-key-map): Move init into declaration.
2250 (speedbar-mode): Use define-derived-mode.
2251 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2252 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2253 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2254 (chart-face-list): Move initialization into declaration.
2255 (chart-mode): Use define-derived-mode.
2256 * calculator.el (calculator-mode-map): Move init into declaration.
2257 (calculator-mode): Use define-derived-mode.
2259 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2260 work for nested comments.
2262 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2263 (prolog-use-prolog-tokenizer-flag): Change default when
2264 syntax-propertize can be used.
2265 (prolog-syntax-propertize-function): New var.
2266 (prolog-mode-variables): Move make-local-variable into `set'.
2267 Don't make comment-column local since we don't set it.
2268 Set comment-add (as it was in previous prolog.el). Use dolist.
2269 Set syntax-propertize-function.
2270 (prolog-mode, prolog-inferior-mode):
2271 Call prolog(-inferior)-menu directly, not through the mode-hook.
2272 (prolog-buffer-module, prolog-indent-level)
2273 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2274 (prolog-comment-limits, prolog-goto-comment-column):
2275 Use line-(end|beginning)-position.
2276 (prolog-build-prolog-command): Tighten up regexp.
2277 (prolog-consult-compile): Move make-local-variable into `set'.
2278 (prolog-consult-compile-filter, prolog-goto-next-paren)
2279 (prolog-help-on-predicate, prolog-clause-info)
2280 (prolog-mark-predicate): Don't let+setq.
2281 (prolog-indent-line): Use indent-line-to.
2282 Only call prolog-goto-comment-column if necessary.
2283 (prolog-indent-level): Use bobp.
2284 (prolog-first-pos-on-line): Remove, not used any more.
2285 (prolog-in-string-or-comment): Use syntax-ppss if available.
2286 (prolog-help-on-predicate): Use read-string.
2287 (prolog-goto-predicate-info): Simplify.
2288 (prolog-read-predicate): Use `default' rather than `initial'.
2289 (prolog-temporary-file): Use make-temp-file to close a security hole.
2290 (prolog-toggle-sicstus-sd): New command.
2291 (prolog-electric-underscore, prolog-variables-to-anonymous):
2292 Use dynamic-scoping as it was meant.
2293 (prolog-menu): Move menu definitions to top-level.
2294 Use a toggle-button for Sicstus's source debugger.
2295 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2297 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2298 Move other menu definition to top-level.
2300 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2302 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2303 name. Keep original document's directory as default-directory
2305 (doc-view-initiate-display): Fall back to normal mode when
2306 doc-view-mode cannot be enabled, also when extracting the document
2307 text into a separate buffer (bug#6446).
2309 * simple.el (shell-command): Don't error out if shell command
2310 buffer contains text with non-nil read-only property when erasing
2313 2011-01-13 Kim F. Storm <storm@cua.dk>
2315 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2316 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2317 items when cycling through the matches.
2319 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2321 * dired-x.el (dired-omit-verbose): New defcustom that allows
2322 disabling the omit messages.
2323 (dired-omit-expunge): Use it.
2325 2011-01-13 Christian Ohler <ohler@gnu.org>
2327 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2329 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2331 * font-lock.el (font-lock-verbose): Default to nil.
2333 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2335 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2336 (compose-mail): New arg RETURN-ACTION.
2337 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2339 * mail/sendmail.el (mail-return-action): New var.
2340 (mail-mode): Make it buffer-local.
2341 (mail-bury): Obey it. Move special Rmail window handling to
2343 (mail, mail-setup): New arg RETURN-ACTION.
2344 (sendmail-user-agent-compose): Move from simple.el.
2346 * mail/rmail.el (rmail-mail-return): New function.
2347 (rmail-start-mail): Pass it to compose-mail.
2349 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2351 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2352 menus. Add menu item for customize-themes.
2354 * cus-theme.el (customize-themes):
2355 * emacs-lisp/package.el (package--list-packages):
2356 Use switch-to-buffer.
2358 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2360 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2362 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * progmodes/prolog.el: Fix up coding convention and such.
2365 (prolog-indent-width): Use the same default as in
2366 previous prolog.el rather than tab-width which depends on which buffer
2367 is current when the file is loaded.
2368 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2370 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2371 (prolog-known-systems): Remove.
2372 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2373 Move initialization into declaration.
2374 (prolog-mode-map): Move initialization into declaration.
2375 Remove system-specific mode-map vars, since they referred to the same
2377 (prolog-mode-variables): Obey the user's preference w.r.t
2378 adaptive-fill-mode. Prefer symbol-value to `eval'.
2379 (prolog-mode-keybindings-edit): Add compatibility bindings.
2380 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2381 (mercury-mode-map): New var.
2382 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2383 (prolog-ensure-process, prolog-process-insert-string)
2384 (prolog-consult-compile): Use with-current-buffer.
2385 (prolog-guess-fill-prefix): Simplify data flow.
2386 (prolog-replace-in-string): New function to use instead of
2388 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2389 (prolog-uncomment-region): Use `uncomment-region' when available.
2390 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2391 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2392 of int-to-char and char-to-int.
2393 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2395 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2397 * progmodes/prolog.el: Replace by a whole new file.
2399 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2402 (declare-function, undefined, insert-for-yank)
2403 (replace-regexp-in-string): Follow checkdoc's recommendations.
2405 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2408 refreshing the diary buffer.
2410 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2412 * allout.el: Add 2011 to the file copyright.
2413 (allout-encrypt-string): Prevent encryption from adding an extra
2414 newline at the end of the topic body.
2415 (allout-version): Increment to 2.3.
2417 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2419 * net/dbus.el (dbus-unregister-service): Complete doc.
2420 Fix call of dbus-error signal.
2421 (dbus-register-property): Use `dont-register' keyword.
2423 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2425 * net/dbus.el (dbus-unregister-service): Translate returned
2426 integer into a symbol.
2427 (dbus-register-property): Use `dbus-register-service' to do the
2430 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2432 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2433 Suggested by Joakim Verona.
2435 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2437 * wid-edit.el (visibility): Replace :on-image and :off-image
2438 widget properties with :on-glyph and :off-glyph, for consistency
2439 with the `visibility' widget.
2440 (widget-toggle-value-create, widget-visibility-value-create):
2441 Merge into a single function `widget-toggle-value-create'.
2443 * cus-edit.el (custom-variable-value-create, custom-visibility)
2444 (custom-face-edit-value-create, custom-face-value-create):
2445 Replace :on-image and :off-image widget properties with :on-glyph and
2446 :off-glyph, for consistency with the `visibility' widget.
2448 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2450 * net/ldap.el (ldap-search-internal): Don't use eval.
2452 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2454 * subr.el (read-char-choice): Use read-key.
2456 * custom.el (custom-safe-themes): Rename from
2457 custom-safe-theme-files. Add :risky tag.
2458 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2459 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2461 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2463 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2464 from Search and add a label to Undo.
2466 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2467 inappropriate buttons and adding :vert-only tags.
2469 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2470 removal of Help tool-bar button. Remove Undo button for space.
2472 * info.el (info-tool-bar-map): Add :vert-only tags.
2474 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2476 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2477 image backend support. Either of them is fine.
2479 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2481 * subr.el (y-or-n-p): Doc fix.
2483 * custom.el (custom-safe-theme-files): New defcustom.
2484 (custom-theme-load-confirm): New function.
2485 (load-theme): Load theme using `load', confirming with
2486 custom-theme-load-confirm if necessary.
2488 * subr.el (read-char-choice): New function, factored out from
2489 dired-query and hack-local-variables-confirm.
2491 * dired-aux.el (dired-query):
2492 * files.el (hack-local-variables-confirm): Use it.
2494 * dired-aux.el (dired-compress-file):
2495 * files.el (abort-if-file-too-large, find-alternate-file)
2496 (set-visited-file-name, write-file, backup-buffer)
2497 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2498 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2499 Use new format string args for y-or-n-p and yes-or-no-p.
2501 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2503 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2504 [gcc-include]: Tighten file name match, add match for column
2506 [gnu]: Remove unused group.
2508 2011-01-08 Glenn Morris <rgm@gnu.org>
2510 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2512 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2514 2011-01-07 Sam Steingold <sds@gnu.org>
2516 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2517 the `explicit-shell-file-name' because that is the
2518 non-interactive shell.
2520 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2522 * subr.el (y-or-n-p): Accept format string args.
2524 2011-01-07 Glenn Morris <rgm@gnu.org>
2526 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2528 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2530 * allout.el (allout-back-to-current-heading): Ensure return to
2531 the visible containing topic, rather than a collapsed one.
2532 (allout-view-change-hook): Remove hook that was deprecated long ago.
2533 (allout-exposure-change-hook): Remove documentation remarks
2534 concerning removed allout-view-change-hook.
2535 (allout-flag-region): Remove invocation of and documentation
2536 remarks concerning allout-view-change-hook.
2538 2011-01-06 Glenn Morris <rgm@gnu.org>
2540 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2541 (vc-bzr-annotate-extract-revision-at-line):
2542 Handle authors with embedded spaces. (Bug#7792)
2544 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2546 * doc-view.el (doc-view-image-width): New variable.
2547 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2548 backend for PNG images, and do dynamic rescaling instead of
2549 reconverting the whole doc.
2551 2011-01-05 Glenn Morris <rgm@gnu.org>
2553 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2555 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2557 * allout.el: Reconcile with changes in line movement behavior for
2558 long text lines that cross more than a single physical window
2559 line, ie when truncate-lines is nil.
2560 (allout-next-visible-heading): Provide for change in line-move
2561 behavior on long lines when truncate-lines is nil. In that case,
2562 line-move can wind up on the same textual line when it moves to
2563 the next window line, and moving to the bullet position after the
2564 move yields zero advancement. Add logic to detect and compensate
2565 for the lack of progress.
2566 (allout-current-topic-collapsed-p): move-end-of-line respect for
2567 field boundaries is different when operating with body lines
2568 shorter than window width versus ones greater than window width,
2569 which can yield false negatives in this function. Avoid
2570 difference by applying move-end-of-line while field-text-motion is
2573 2011-01-04 Glenn Morris <rgm@gnu.org>
2575 * textmodes/rst.el (rst-compile-toolsets):
2576 Add pdf and s5 to option alist.
2578 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2580 * net/dbus.el (dbus-register-property): Add optional parameter
2581 dont-register-service. Updated docstring accordingly.
2583 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2585 * textmodes/rst.el (rst-compile-pdf-preview)
2586 (rst-compile-slides-preview): Remove extra line.
2588 2011-01-04 Glenn Morris <rgm@gnu.org>
2590 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2591 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2592 default to `prog' without a .py extension.
2593 (rst-compile-pdf-preview, rst-compile-slides-preview):
2594 Use program names from rst-compile-toolsets, rather than hard-coding.
2595 (rst-portable-mark-active-p): Fix presumed typo.
2597 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2599 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2600 libpng versions both before and after 1.4.0. (Bug#7716)
2602 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2604 * time.el (display-time-mode): Mention display-time-interval in
2605 the doc string. (Bug#7713)
2607 2011-01-02 Kenichi Handa <handa@m17n.org>
2609 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2610 condition-case and return an error message string if something
2612 (rmail-show-mime): Adjust for the above change. Insert the
2613 header by rmail-mime-insert-header.
2615 2011-01-02 Kenichi Handa <handa@m17n.org>
2617 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2618 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2619 (rmail-mime-mbox-buffer)
2620 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2621 (rmail-mime-entity): Argument changed. All codes handling an
2622 entity object are changed.
2623 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2625 (rmail-mime-entity-children, rmail-mime-entity-handler)
2626 (rmail-mime-entity-tagline): New functions.
2627 (rmail-mime-message-p): New function.
2628 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2629 (rmail-mime-entity-segment, rmail-mime-next-item)
2630 (rmail-mime-previous-item, rmail-mime-shown-mode)
2631 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2632 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2633 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2635 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2636 (rmail-mime-insert-decoded-text): New function.
2637 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2638 (rmail-mime-insert-image): Argument changed. Caller changed.
2639 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2640 (rmail-mime-set-bulk-data): New function.
2641 (rmail-mime-insert-bulk): Argument changed.
2642 (rmail-mime-multipart-handler): Return t.
2643 (rmail-mime-process-multipart): Argument changed.
2644 Handle "multipart/alternative" here.
2645 (rmail-mime-process): Argument changed.
2646 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2647 (rmail-mime-insert): Argument changed. Handle raw display mode.
2648 (rmail-mime): Argument changed. Handle toggling of raw display
2650 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2651 rmail-mime-view-buffer.
2652 (rmail-insert-mime-forwarded-message): Likewise.
2653 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2655 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2656 non-nil, handle the header in rmail-show-mime-function.
2658 2011-01-02 Leo <sdl.web@gmail.com>
2660 * help-fns.el (describe-variable): Fix previous change.
2662 2011-01-02 Juri Linkov <juri@jurta.org>
2664 * isearch.el (isearch-lazy-highlight-error): New variable.
2665 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2666 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2667 to the current value of `isearch-error' (Bug#7468).
2669 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2671 * help-fns.el (describe-variable): Don't emit trailing whitespace
2674 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2676 * textmodes/rst.el (rst-compile-pdf-preview)
2677 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2679 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2681 * emulation/edt-mapper.el: Override mapping of function keys so
2682 that the later call to read-key-sequence works.
2684 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2686 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2687 Unix EOLs. (Bug#7589)
2689 2011-01-02 Leo <sdl.web@gmail.com>
2691 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2692 if point is not behind eshell-last-output-end (Bug#7585).
2694 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2696 * files.el (file-local-variables-alist):
2697 Make permanent-local (bug#7767).
2699 2011-01-02 Glenn Morris <rgm@gnu.org>
2701 * version.el (emacs-copyright): Set short copyright year to 2011.
2703 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2705 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2706 an existing temp buffer. (Bug#7746)
2708 2011-01-02 Glenn Morris <rgm@gnu.org>
2710 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2711 multiple addresses. (Bug#7760)
2713 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2715 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2716 do-auto-fill if everything points back to allout-auto-fill.
2717 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2718 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2720 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2722 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2725 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2727 * doc-view.el (doc-view-set-doc-type): New function refactored
2729 (doc-view-fallback-mode): New function.
2730 (doc-view-mode): Use it.
2731 (doc-view-mode-maybe): New function that checks if doc-view-mode
2732 can be used and falls back to the next best mode otherwise.
2734 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2735 DVI, OpenDocument, and MS Office files.
2737 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2739 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2741 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2743 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2744 on a copy of auto-mode-alist, because that deletes with side
2747 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2749 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2750 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2751 fallback instead of hard coding fundamental mode.
2753 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2755 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2756 Office) files also for searching.
2758 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2760 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2761 Office) files. Not yet enabled via auto-mode-list.
2762 (doc-view-unoconv-program): New custom variable.
2763 (doc-view-mode-p): Handle new odf document type.
2764 (doc-view-odf->pdf): New conversion function.
2765 (doc-view-convert-current-doc): Call it for odf files.
2766 (doc-view-mode): Recognize newly supported file extensions.
2768 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2770 * net/tramp.el (tramp-default-method-alist)
2771 (tramp-default-user-alist)
2772 (tramp-local-host-regexp, tramp-prefix-domain-format)
2773 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2776 * net/tramp-gvfs.el:
2778 * net/tramp-imap.el:
2780 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2781 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2783 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2785 * saveplace.el (save-place-alist-to-file): Save list sorted and
2786 pretty-printed, so that it is mergeable by line-based text merging,
2787 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2789 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2791 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2792 (allout-mode): Argument "toggle" => "force".
2793 Refine the docstring.
2794 Remove special provisions for reactivation, besides the 'force'
2796 Consolidate layout provisions coce directly into the activation
2797 condition branch, now that we've removed those provisions.
2798 (allout-unload-function): Explicitly activate the mode before
2799 deactivating, if it's initially deactivated.
2800 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2801 warnings for version of function used only where
2802 set-buffer-multibyte is unavailable.
2804 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2806 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2807 are handled by the menu-bar entries. As before, don't use
2808 :visibile to avoid changing the tool-bar.
2810 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2812 * net/secrets.el (secrets-delete-alias): New defun.
2814 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2816 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2817 methods, otherwise ~/.ssh/config would be ignored.
2819 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * emacs-lisp/rx.el: Make it a superset of sregex.
2822 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2823 of args, add `regex' alias.
2824 (rx-info): Add arg to distinguish head and standalone forms.
2825 (rx-check, rx-form): Pass the corresponding arg.
2827 (rx-repeat): Make it work for any number of args.
2828 (rx-syntax): Make it accept syntax chars as is.
2829 * obsolete/sregex.el: Move from emacs-lisp/.
2830 * emacs-lisp/re-builder.el: Remove sregex support.
2831 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2833 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2835 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2836 PRIMARY first, then the clipboard. (Bug#7699)
2838 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2840 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2843 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2845 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2846 .emacs.elc (Bug#7530).
2848 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2849 image spec (Bug#7480).
2851 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2853 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2854 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2857 2010-12-20 Leo <sdl.web@gmail.com>
2859 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2860 always be performed (Bug#7680).
2862 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2864 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2865 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2868 * color.el: Move from gnus/.
2870 * vc/diff.el (diff-better-file-name): Function deleted.
2871 abbreviating file names causes problems with shell-quote-argument.
2872 (diff-no-select): Just use expand-file-name.
2874 * tool-bar.el (tool-bar--image-expression): New function.
2875 (tool-bar-local-item, tool-bar--image-exp): Use it.
2876 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2877 Use :enable instead of :visible to avoid changing the tool-bar
2878 configuration unnecessarily.
2880 * info.el (info-tool-bar-map): Add separators.
2882 2010-12-17 Ken Brown <kbrown@cornell.edu>
2884 * loadup.el: Use version numbers in Cygwin build.
2886 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
2888 * ido.el (ido-file-internal): Ask for confirmation before
2889 overwriting an existing file (Bug#1238).
2891 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
2893 * tool-bar.el (tool-bar-setup): Add separators.
2895 * menu-bar.el (featurep): Use menu-bar-separator.
2897 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
2899 Migrate allout encryption provisions from pgg to epg.
2901 * allout.el (allout-toggle-current-subtree-encryption)
2902 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2903 defaulting policy and other changes. Change fetch-pass to keymode-cue,
2904 for simpler universal argument interpretation.
2905 (allout-toggle-subtree-encryption): Adjust docstring to describe
2906 changed encryption provisions. Change fetch-pass to keymode-cue, for
2907 simpler universal argument interpretation. Remove provisions for
2908 handling key type and identity - they'll all be within
2909 allout-encrypt-string or epg/epg or even contained all the way in gpg.
2910 (allout-encrypt-string): Include keymode-cue, for optionally prompting
2911 for keypair recipients (universal argument > 1) and, in addition,
2912 associating the specified recipients with the outline (universal
2913 argument > 4) using a file local variable setting for
2914 'epa-file-encrypt-to'.
2915 Require epa, for recipients handling.
2916 Change how regexp filtering elements are named.
2917 Describe the problem with caching of incorrect symmetric-decryption
2919 Use the epa-passphrase-callback-function, in case the user is using
2921 Support saving of the selected keypair recipients when invoked with a
2923 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2925 Establish epg-context with armoring and default epg-protocol.
2926 Remove all passphrase cache, verification, and hinting code.
2927 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2928 No longer used, delete.
2929 (allout-mode): Adjust docstring to describe changed encryption
2930 provisions. Describe the problem with caching of incorrect
2931 symmetric-decryption keys.
2932 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2933 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2934 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2935 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2938 2010-12-16 Daiki Ueno <ueno@unixuser.org>
2940 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2941 key selection prompt; make 'silent as default (Bug#7487).
2943 2010-12-16 Leo <sdl.web@gmail.com>
2945 * eshell/eshell.el (eshell-directory-name):
2946 Use locate-user-emacs-file (Bug#7578).
2948 2010-12-15 Glenn Morris <rgm@gnu.org>
2950 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2952 2010-12-15 Jari Aalto <jari.aalto@cante.net>
2953 Scott Evans <gse@antisleep.com>
2955 * rect.el (rectange--default-line-number-format)
2956 (rectangle-number-line-callback): New functions.
2957 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2959 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
2961 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2962 Delete unused variables.
2963 (move-to-column-force): Remove function obsolete since 21.2.
2965 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
2967 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2968 (tramp-handle-insert-file-contents): Do not set permanent-local
2971 * net/tramp-cache.el (tramp-persistency-file-name):
2972 Use `locate-user-emacs-file' if fboundp.
2974 * net/tramp-sh.el (tramp-methods): Add "ksu".
2975 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
2978 2010-12-14 Glenn Morris <rgm@gnu.org>
2980 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2981 (find-tag-marker-ring): Declare.
2982 (js-find-symbol): Require etags.
2984 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2986 (mail-alias-file): Don't autoload. Doc fix.
2987 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2988 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
2989 Mark as obsolete, and risky.
2990 (mail-setup): Simplify.
2992 * mail/mailalias.el (build-mail-aliases): Make it interactive.
2993 * mail/sendmail.el (build-mail-aliases): Update autoload.
2995 * dired.el (dired-trivial-filenames, dired-chown-program)
2996 (dired-auto-revert-buffer): Remove autoload cookies.
2997 * mail/sendmail.el (mail-recover-1): Require 'dired.
2999 * dired.el (dired-subdir-switches, dired-chown-program)
3000 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3001 Make into defcustoms.
3002 (dired-chown-program): Simplify initialization.
3004 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3006 2010-12-13 Romain Francoise <romain@orebokech.com>
3008 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3010 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3012 * net/netrc.el (netrc-point-at-eol): Remove the unused
3013 netrc-point-at-old and netrc-bound-and-true-p bindings.
3014 (netrc-parse): Cache the netrc contents.
3016 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3018 * subr.el (posn-col-row): Evaluate header-line-format in the
3019 context of the POSITION window's buffer.
3021 2010-12-13 Glenn Morris <rgm@gnu.org>
3023 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3024 (with-silent-modifications): Doc fixes.
3026 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3028 * net/tramp.el (tramp-action-password, tramp-process-actions):
3029 Revert previous from. Use `save-restriction'.
3031 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3033 * calendar/diary-lib.el (diary-list-sexp-entries):
3034 Handle case of no newline at end of file. (Bug#7536)
3036 2010-12-13 Glenn Morris <rgm@gnu.org>
3038 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3040 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3042 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3043 (tramp-process-actions): Do not widen.
3045 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3046 Protect buffer-modified value. (Bug#7557)
3048 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3050 * log-edit.el (log-edit-changelog-entries):
3051 Regexp quote filename. (Bug#7505)
3053 2010-12-13 Tom Breton <tehom@panix.com>
3055 * cus-edit.el (custom-save-all):
3056 Bind print-length and print-level to nil. (Bug#7581)
3058 2010-12-13 Glenn Morris <rgm@gnu.org>
3060 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3061 Run hooks to update menu contents. (Bug#7586)
3063 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3064 file names, for the sake of MS Windows. (Bug#7588)
3066 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3069 empty lines without a leading space.
3071 2010-12-13 Leo <sdl.web@gmail.com>
3073 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3074 while mapping over marks (Bug#6810).
3076 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3078 * image-dired.el (image-dired-db-file)
3079 (image-dired-temp-image-file, image-dired-gallery-dir)
3080 (image-dired-temp-rotate-image-file): Set default values relative
3081 to image-dired-dir (Bug#7518).
3083 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3085 * format.el (format-decode-run-method): Pass args FROM and TO, not
3086 point-min and point-max, to shell-command-on-region (Bug#7488).
3088 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3090 * frame.el (blink-cursor-mode): Make default t for ns.
3092 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3094 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3096 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3098 * comint.el (comint-dynamic-list-input-ring)
3099 (comint-dynamic-complete-filename)
3100 (comint-replace-by-expanded-filename)
3101 (comint-dynamic-simple-complete)
3102 (comint-dynamic-list-filename-completions)
3103 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3105 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3108 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3110 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3113 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3115 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3118 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3120 * files.el (file-relative-name): Handle UNC file names on
3121 DOS/Windows. (Bug#4674)
3123 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3125 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3126 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3127 (epg-context-set-passphrase-callback): Mention that the callback
3128 is not called when used with GnuPG 2.x.
3130 2010-12-13 Glenn Morris <rgm@gnu.org>
3132 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3133 Ensure ps-footer-font-size-internal is initialized.
3134 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3136 2010-12-13 Kenichi Handa <handa@m17n.org>
3138 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3139 within condition-case.
3140 (rmail-show-mime): Don't use condition-case.
3141 (rmail-search-mime-message): New function.
3142 (rmail-search-mime-message-function): Set to
3143 rmail-search-mime-message.
3145 2010-12-13 Leo <sdl.web@gmail.com>
3147 * ido.el (ido-common-initialization): New function. (bug#3274)
3149 (ido-completing-read): Call it.
3151 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3153 * bookmark.el (bookmark-name-from-full-record): Rename back to
3154 this original name from `bookmark-name-from-record' reverting part
3155 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3156 As Drew Adams pointed out, there was no reason to cause churn for
3157 third-party callers. (Bug#7609)
3159 2010-12-12 Alan Mackenzie <acm@muc.de>
3161 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3162 template arglist, check that the current language supports this.
3164 2010-12-11 Glenn Morris <rgm@gnu.org>
3166 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3167 state of the file matches. (Bug#7544)
3168 (vc-bzr-register, vc-bzr-checkin)
3169 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3170 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3172 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3174 2010-12-11 Karel Klíč <kklic@redhat.com>
3176 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3178 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3180 Derive from prog-mode, use derived-mode-p, and fix up various
3181 minor style issues in lisp/progmodes.
3183 * progmodes/vhdl-mode.el (vhdl-mode):
3184 * progmodes/verilog-mode.el (verilog-mode):
3185 * progmodes/vera-mode.el (vera-mode):
3186 * progmodes/sql.el (sql-mode):
3187 * progmodes/scheme.el (scheme-mode):
3188 * progmodes/perl-mode.el (perl-mode):
3189 * progmodes/octave-inf.el (inferior-octave-mode):
3190 * progmodes/autoconf.el (autoconf-mode):
3191 * progmodes/m4-mode.el (m4-mode):
3192 * progmodes/inf-lisp.el (inferior-lisp-mode):
3193 * progmodes/idlwave.el (idlwave-mode):
3194 * progmodes/icon.el (icon-mode):
3195 * progmodes/idlw-help.el (idlwave-help-mode):
3196 * progmodes/dcl-mode.el (dcl-mode):
3197 * progmodes/idlw-shell.el (idlwave-shell-mode):
3198 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3199 (ebrowse-member-mode, ebrowse-electric-position-mode):
3200 Use define-derived-mode.
3202 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3203 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3204 (xscheme-debugger-mode-p, xscheme-send-string-1):
3205 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3206 (tcl-load-file, tcl-restart-with-file):
3207 * progmodes/ps-mode.el (ps-run-running):
3208 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3209 * progmodes/js.el (js--get-all-known-symbols):
3210 * progmodes/inf-lisp.el (inferior-lisp-proc):
3211 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3212 (idlwave-template, idlwave-update-buffer-routine-info)
3213 (idlwave-update-current-buffer-info)
3214 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3215 (idlwave-scan-class-info, idlwave-fix-keywords)
3216 (idlwave-list-buffer-load-path-shadows):
3217 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3218 (idlwave-toolbar-remove):
3219 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3220 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3221 (idlwave-shell-menu-def):
3222 * progmodes/idlw-complete-structtag.el
3223 (idlwave-prepare-structure-tag-completion):
3224 * progmodes/gud.el (gud-set-buffer):
3225 * progmodes/f90.el (f90-backslash-not-special):
3226 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3228 * progmodes/xscheme.el (xscheme-start)
3229 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3230 * progmodes/which-func.el (which-function):
3231 * progmodes/vhdl-mode.el (vhdl-set-style):
3232 * progmodes/verilog-mode.el (verilog-set-compile-command)
3233 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3234 (verilog-set-define, verilog-auto-reeval-locals):
3235 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3236 * progmodes/simula.el (simula-mode):
3237 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3238 * progmodes/python.el (python-check, python-mode):
3239 * progmodes/prolog.el (prolog-mode-variables):
3240 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3241 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3242 * progmodes/delphi.el (delphi-mode):
3243 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3244 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3245 (c-font-lock-init): Move make-local-variable to their setq.
3247 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3248 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3250 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3251 (sh-set-shell): Don't set require-final-newline since it's already done
3253 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3254 since we never set it.
3255 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3256 Use read-string and standard prompt.
3257 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3258 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3259 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3260 (meta-common-mode-map): Rename from meta-mode-map.
3261 Remove C-m binding, which is a user preference, not mode specific.
3262 (meta-common-mode): New major mode; replace meta-common-initialization.
3263 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3264 around with font-lock.
3265 * progmodes/etags.el (select-tags-table-mode):
3266 Derive from special-mode.
3267 * progmodes/octave-mod.el (octave-mode):
3268 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3269 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3270 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3271 Let define-derived-mode do its job.
3272 * progmodes/cpp.el (cpp-edit-mode-map):
3273 Move initialization into declaration.
3274 (cpp-edit-mode): Use define-derived-mode.
3275 (cpp-edit-load): Use derived-mode-p.
3276 * progmodes/mixal-mode.el (mixal-mode):
3277 * progmodes/f90.el (f90-mode):
3278 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3279 require-final-newline since prog-mode does it already.
3280 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3281 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3282 * progmodes/antlr-mode.el: Require cc-mode upfront.
3283 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3285 (antlr-directory-dependencies, antlr-show-makefile-rules):
3287 (antlr-language-option): Don't assume point-min==1.
3288 (antlr-mode): Use define-derived-mode.
3289 * progmodes/ada-mode.el: Use derived-mode-p.
3290 (ada-mode): Use define-derived-mode.
3291 Use hack-local-variables-hook.
3293 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3295 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3296 (texinfo-mode): Don't disable adaptive-fill-mode.
3297 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3298 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3299 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3300 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3301 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3302 (texinfo-insert-@quotation, texinfo-insert-@samp)
3303 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3304 (texinfo-insert-@uref): Use define-skeleton.
3305 (texinfo-insert-@-with-arg): Delete.
3307 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3309 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3310 nil, do quote archive member names. (Bug#6144)
3312 2010-12-10 Glenn Morris <rgm@gnu.org>
3314 * files.el (diff-no-select): Declare.
3316 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3317 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3319 * comint.el (comint-input-ring-file-name): Doc fix.
3321 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3323 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3325 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3326 Use them instead of `nil' and `>', respectively.
3327 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3329 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3330 and menu-bar-positive-p instead of `nil' and `>', respectively.
3333 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3335 * whitespace.el (whitespace-newline-mode): Code fix.
3337 2010-12-09 Glenn Morris <rgm@gnu.org>
3339 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3340 Rename functions without commas, update callers.
3342 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3344 * whitespace.el (whitespace-cleanup-region):
3345 Clean up spaces before tabs. (Bug#7582)
3347 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3349 * bookmark.el: Adjust parameter names and doc strings to resolve
3350 confusion over whether "bookmark" meant a bookmark name or a
3351 bookmark record. Along the way, shorten one function's name for
3352 similar reasons. (Issue #7548)
3353 (bookmark-name-from-record): New name for
3354 `bookmark-name-from-full-record'. All callers changed.
3355 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3356 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3357 (bookmark-get-annotation, bookmark-set-annotation)
3358 (bookmark-get-filename, bookmark-set-filename)
3359 (bookmark-get-position, bookmark-set-position)
3360 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3361 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3362 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3363 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3364 Rename `bookmark' parameter to `bookmark-name-or-record', to
3365 clearly show its role, and shorten or adjust doc strings accordingly.
3366 (bookmark-set-name): Same, and pass the parameter directly to
3367 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3368 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3369 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3370 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3371 and in some cases shorten doc string accordingly.
3372 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3373 and `new-name', and adjust an internal variable to avoid confusion.
3374 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3375 parameter in doc string.
3377 2010-12-08 Glenn Morris <rgm@gnu.org>
3379 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3380 from gdb's history file. (Bug#7575)
3382 * mail/emacsbug.el (report-emacs-bug):
3383 Try to handle some other mail clients.
3385 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3388 Use string-prefix-p.
3389 (file-name-version-regexp): New var.
3390 (file-name-sans-versions):
3391 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3392 (jka-compr-get-compression-info): Use dolist.
3393 (jka-compr-compression-info-list): Don't bother specifying
3394 version/backup regexps.
3396 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3398 * simple.el (just-one-space): Make argument n default to 1 if
3401 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * electric.el (electric-indent-post-self-insert-function):
3404 Delete trailing newlines even if we don't reindent.
3406 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * minibuffer.el (completion-at-point): Remove the `arg'.
3409 * bindings.el (complete-symbol): Move back from minibuffer.el.
3411 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3413 * simple.el (just-one-space): Delete newlines for negative arg.
3415 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3417 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3418 (ansi-color-filter-apply): Simplify.
3419 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3421 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3423 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3425 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3427 * dired.el (dired-use-ls-dired): Set default to a special
3428 "unspecified" value.
3429 (dired-insert-directory): When called the first time, check
3430 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3432 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3434 * replace.el: Add "collect" feature to occur.
3435 (occur-collect-regexp-history): New var.
3436 (occur-read-primary-args): Return a replace string for nlines,
3438 (occur): Extend the meaning of nlines.
3440 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3442 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3443 (which-func-update-1): Distinguish symbols from strings.
3444 (which-function): Stay within 80 columns.
3446 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3448 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3450 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3452 (comment-style): Use comment-styles's docs to describe values.
3454 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3456 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3457 and ns-show-prefs (Bug#7535).
3459 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3460 bindings (Bug#7535).
3462 2010-12-03 Glenn Morris <rgm@gnu.org>
3464 * nxml/nxml-mode.el: Require rng-nxml.
3465 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3466 Remove declarations.
3468 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3469 * nxml/rng-nxml.el, nxml/rng-valid.el:
3470 Remove leading `*' from defcustom docs.
3472 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3473 (normal-top-level-add-to-load-path, tty-handle-args):
3474 Convert comments to basic doc-strings.
3476 * net/browse-url.el (browse-url-url-at-point)
3477 (browse-url-default-browser): Remove autoload cookies.
3479 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3480 Remove more undefined cl functions.
3482 * vc/diff.el (diff-sentinel): Make new arguments optional.
3483 * ibuf-ext.el (diff-sentinel): Update declaration.
3485 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3487 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3488 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3489 (epg-context-set-passphrase-callback): Mention that the callback
3490 is not called when used with GnuPG 2.x.
3492 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3494 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3495 (tramp-file-name-port): Check also for `tramp-default-port'.
3496 (tramp-get-connection-name): New defun.
3497 (tramp-get-connection-process): Use it.
3498 (tramp-debug-message): Extend function exclude list.
3499 (tramp-drop-volume-letter): Fix doc string.
3501 * net/tramp-cmds.el: Remove solved todo item.
3504 * net/tramp-gvfs.el:
3506 * net/tramp-imap.el:
3507 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3508 and `tramp-default-user-alist', respectively.
3510 * net/tramp-gw.el (tramp-gw-open-connection):
3511 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3513 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3514 `tramp-file-name-port'.
3516 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3517 and "psftp". Exchange "%k" marker with options.
3518 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3519 Compute size of link target.
3520 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3521 `tramp-current-*' up due to gateway methods. Optimize computing of
3522 copy arguments. Use `tramp-get-connection-name' and
3523 `tramp-get-connection-buffer'. Improve debug messages.
3524 (tramp-compute-multi-hops): Remove port determination.
3525 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3527 * net/trampver.el: Update release number.
3529 2010-12-02 Glenn Morris <rgm@gnu.org>
3531 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3532 Avoid infinite loop over windows. (Bug#7492)
3534 * progmodes/flymake.el (flymake-check-file-limit):
3535 Allow nil to mean "no limit".
3536 (flymake-check-patch-master-file-buffer): Update for above change.
3537 Allow a .tex file-name extension to be optional.
3538 (flymake-master-tex-init): Also match \include statements.
3540 2010-11-30 Sam Steingold <sds@gnu.org>
3542 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3543 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3544 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3545 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3546 define-derived-mode').
3547 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3548 users who want to call `nxml-parent-document-set'.
3550 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3552 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3553 stand-alone lines, since that is handled by log-edit-match-to-eoh
3556 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3558 * dired.el (dired-get-filename): Replace backslashes with slashes
3559 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3560 * locate.el (locate-default-make-command-line): Don't consider
3561 drive letter and root directory part of
3562 `directory-listing-before-filename-regexp'. (Bug#7308)
3563 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3565 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3568 of :smie-open/close-alist.
3569 (smie-next-sexp): Make it accept a "start token" as argument.
3570 (smie-indent-keyword): Be careful not to misidentify tokens that span
3571 more than one line, as empty lines. Add argument `token'.
3573 2010-11-27 Kenichi Handa <handa@m17n.org>
3575 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3576 multipart subtypes, insert all as usual.
3578 * mail/rmail.el: Require rfc2047.
3580 2010-11-27 Kenichi Handa <handa@m17n.org>
3582 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3583 (rmail-mime-entity-disposition)
3584 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3585 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3586 (rmail-mime-save): Handle the case that the button's `data' is a
3588 (rmail-mime-insert-text): New function.
3589 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3590 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3591 (rmail-mime-insert-bulk): New function mostly copied from the old
3592 rmail-mime-bulk-handler.
3593 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3594 (rmail-mime-process-multipart): New function mostly copied from
3595 the old rmail-mime-multipart-handler.
3596 (rmail-mime-show): Just call rmail-mime-process.
3597 (rmail-mime-process): New function mostly copied from the old
3599 (rmail-mime-insert-multipart, rmail-mime-parse)
3600 (rmail-mime-insert, rmail-show-mime)
3601 (rmail-insert-mime-forwarded-message)
3602 (rmail-insert-mime-resent-message): New functions.
3603 (rmail-insert-mime-forwarded-message-function): Set to
3604 rmail-insert-mime-forwarded-message.
3605 (rmail-insert-mime-resent-message-function): Set to
3606 rmail-insert-mime-resent-message.
3608 * mail/rmailsum.el: Require rfc2047.
3609 (rmail-header-summary): Handle multiline Subject: field.
3610 (rmail-summary-line-decoder): Change the default to
3611 rfc2047-decode-string.
3613 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3614 (rmail-mime-feature): Change the default to `rmailmm'.
3615 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3616 (rmail-display-labels): Likewise.
3617 (rmail-show-message-1): Check rmail-enable-mime, and use
3618 rmail-show-mime-function for a MIME message. Decode the headers
3619 according to RFC2047.
3621 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * progmodes/which-func.el (which-func-imenu-joiner-function):
3624 Return a string, as expected.
3625 (which-function-mode): Make sure we stop any previous timer before
3628 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3630 * net/tramp.el (tramp-default-method-alist)
3631 (tramp-default-user-alist, tramp-default-proxies-alist):
3632 Adapt custom options type. (Bug#7445)
3634 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3636 * progmodes/python.el: Add Ipython support (Bug#5390).
3637 (python-shell-prompt-alist)
3638 (python-shell-continuation-prompt-alist): New options.
3639 (python--set-prompt-regexp): New function.
3640 (inferior-python-mode, run-python, python-shell):
3641 Require ansi-color. Use python--set-prompt-regexp to set the comint
3642 prompt based on the Python interpreter.
3643 (python--prompt-regexp): New var.
3644 (python-check-comint-prompt)
3645 (python-comint-output-filter-function): Use it.
3646 (run-python): Use a pipe (Bug#5694).
3648 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3650 * progmodes/python.el (run-python): Doc fix.
3651 (python-keep-current-directory-in-path): New var (Bug#7454).
3653 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3655 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3656 Prompt user before actually printing.
3658 2010-11-27 Glenn Morris <rgm@gnu.org>
3660 * startup.el (package-enable-at-startup, package-initialize):
3661 Remove unnecessary declarations.
3663 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3665 * international/characters.el (glyphless-char-display-control):
3666 Exclude newline and TAB from the c0-control group.
3668 2010-11-27 Glenn Morris <rgm@gnu.org>
3670 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3671 (expand-mail-aliases): Remove unnecessary autoload.
3673 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3675 * shell.el (shell-dir-cookie-re): Move definition before use.
3677 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3678 Replace undefined CL functions.
3680 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3682 * simple.el (prog-mode): Set bidi-paragraph-direction to
3685 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3687 2010-11-26 Glenn Morris <rgm@gnu.org>
3689 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3690 diary-outlook-formats can be sensitive to calendar-date-style.
3691 (diary-outlook-formats): Simplify the default setting.
3692 (diary-from-outlook-internal): Pass subject and body as arguments.
3693 Use dolist rather than dotimes. Don't save the diary buffer.
3694 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3695 Pass subject and body as explicit arguments to the -internal function.
3697 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3699 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3700 parsing them. This makes mailto:...?subject=foo\nbar work.
3702 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * vc/diff.el (diff): Fix last change.
3706 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3709 (pcase--dontcare-upats): New var.
3710 (pcase-let, pcase-let*): Generate better code.
3711 Accept the same bodies as `let'.
3712 (pcase-dolist): New macro.
3713 (pcase--trivial-upat-p): New helper function.
3714 (pcase--expand): Strip leading "(let nil" if any.
3716 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3718 * mail/mailclient.el (browse-url): Require.
3719 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3720 use the external browser function to send the mail (bug#7469).
3722 * net/browse-url.el (browse-url-browser-function): Revert the
3723 default back to the previous value, since the new value broke
3725 (browse-url-mailto-function): New variable for mailto: URLs.
3726 (browse-url): Use the new variable for mailto: URLs.
3728 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3730 * eshell/esh-cmd.el (eshell-parse-command):
3731 * eshell/esh-arg.el (eshell-parse-arguments):
3732 * eshell/em-script.el (eshell-source-file):
3733 Use with-silent-modifications.
3735 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3737 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3738 for a merge location.
3740 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3741 (vc-bzr-merge-branch): Always prompt.
3742 (vc-bzr-async-command): Use the full branch filename.
3744 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * shell.el (shell): Use current-buffer by default if it's already
3747 a shell mode buffer and its process is dead.
3748 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3750 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3752 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3753 Mention that the keywords should be comma separated.
3755 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3757 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3758 Accept optional prefix arg meaning to prompt for a command.
3759 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3760 prefix arg meaning to prompt for a command.
3761 (vc-pull): Alias for vc-update.
3763 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3764 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3765 (vc-bzr-merge-branch): New functions, implementing merge-branch
3766 and pull operations.
3768 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3770 * Makefile.in: Fix up last merge.
3772 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3773 (diff-sentinel): Get them as arguments instead.
3774 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3775 (diff-file-local-copy, diff-better-file-name): New funs.
3776 (diff-no-select): Rename from diff-into-buffer.
3777 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3778 Prefer closures to buffer-local variables.
3779 (diff): Adjust accordingly.
3780 (diff-buffer-with-file): Move from files.el.
3781 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3782 (diff-buffer-internal): Remove.
3783 (diff-buffer-buffer): Remove.
3784 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3785 the buffer name used, and so as not to mess up windows and frames.
3787 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3789 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3790 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3791 (diff-buffer-with-file): Use it.
3792 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3795 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3797 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3798 \ref's or \pageref's value as default instead of initial input.
3800 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3802 * files.el (backup-by-copying-when-mismatch): The default value is
3805 * startup.el (normal-top-level):
3806 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3807 `backup-by-copying-when-mismatch'.
3809 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3811 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3813 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3815 * progmodes/python.el (python-font-lock-keywords):
3816 Highlight top-level augmented assignments (Bug#6445).
3818 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3820 * term/ns-win.el (ns-right-control-modifier)
3821 (ns-right-command-modifier): Defvar them.
3823 * cus-start.el (all): Add ns-right-control-modifier and
3824 ns-right-command-modifier (Bug#7458).
3826 2010-11-20 Glenn Morris <rgm@gnu.org>
3828 * emacs-lisp/authors.el (authors-ignored-files)
3829 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3831 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3833 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3834 (report-emacs-bug-parse-query-results)
3835 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3836 keywords used for querying the bug database to show them in the
3837 existing bugs buffer.
3839 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3841 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3843 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3845 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3847 * international/characters.el (glyphless-char-display-control):
3848 Make it a defcustom, with update-glyphless-char-display as its
3850 (top level): Don't call update-glyphless-char-display.
3852 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3854 Sync with Tramp 2.2.0.
3856 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3857 `file-remote-p' (due to compatibility).
3859 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3860 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3862 * net/trampver.el: Update release number.
3864 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3866 * faces.el (glyphless-char): Define value for `pc'.
3868 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3870 Implemented a bug querying mechanism.
3871 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3872 (report-emacs-bug-create-existing-bugs-buffer)
3873 (report-emacs-bug-parse-query-results)
3874 (report-emacs-bug-query-existing-bugs): New functions.
3876 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3878 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3879 a \ref{} or \pageref{} macro, then use its value as initial input.
3881 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3883 * calc/calc-units.el (math-build-units-table-buffer):
3884 calc/README: Mention that the TeX specific units won't use the
3885 `tex' prefix in TeX mode.
3886 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3887 prefix for units in TeX mode.
3889 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * simple.el (kill-new, kill-append, kill-region):
3892 * comint.el (comint-kill-region): Make the yank-handler argument
3895 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3898 that are both openers (resp. closers) and something else.
3899 (smie-grammar): Loosen definition of valid values.
3900 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3901 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3902 (smie-indent-after-keyword): Adjust users.
3903 (smie-indent-keyword): Don't indent empty lines.
3905 * vc-hg.el (vc-hg-program): New var.
3906 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3907 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3909 2010-11-18 Glenn Morris <rgm@gnu.org>
3911 * emacs-lisp/autoload.el (autoload-find-destination): The function
3912 coding-system-eol-type may return non-numeric values. (Bug#7414)
3914 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
3916 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3918 2010-11-18 Eli Zaretskii <eliz@gnu.org>
3920 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
3922 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
3924 * textmodes/picture.el (picture-mouse-set-point): Don't use
3925 posn-col-row; explicitly compute the motion based on the posn at
3926 the window-start (Bug#7390).
3928 2010-11-18 Glenn Morris <rgm@gnu.org>
3930 * novice.el (disabled-command-function):
3931 Fix 2009-11-15 change. (Bug#7384)
3933 2010-11-18 Glenn Morris <rgm@gnu.org>
3935 * calendar/calendar.el (diary-iso-date-forms): Make elements
3936 mutually exclusive. (Bug#7377)
3938 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3940 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3941 when filling the remaining "unconstrained" values.
3943 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3945 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3948 * files.el (safe-local-variable-p): Gracefully handle errors.
3950 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3951 Use smie-indent-virtual when indenting relative to an opener.
3952 (smie-rule-separator): Use smie-rule-parent.
3953 (smie-indent-keyword): Consult rules, even for openers at bol.
3954 (smie-indent-comment-close): Try to align closer's content.
3956 2010-11-18 Glenn Morris <rgm@gnu.org>
3958 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3960 2010-11-18 Glenn Morris <rgm@gnu.org>
3962 * printing.el (pr-menu-bind): Doc fix.
3964 * speedbar.el (speedbar-toggle-images): Doc fix.
3966 * progmodes/python.el (python-shell): Doc fix.
3968 * wid-edit.el (widget-field-use-before-change)
3969 (widget-use-overlay-change): Doc fixes.
3971 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3973 Minor cleanup to improve style.
3974 * textmodes/rst.el (rst-update-section): Use point-marker.
3975 (rst-get-decoration): Eliminate unneeded assignment.
3976 (rst-promote-region, rst-straighten-decorations)
3977 (rst-section-tree, rst-adjust): Use point-marker.
3978 (rst-toc-mode-mouse-goto): Avoid setq.
3979 (rst-shift-region-guts, rst-shift-region-left)
3980 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3981 (rst-convert-bullets-to-enumeration): Use copy-marker.
3983 * minibuffer.el (completion-fail-discreetly): New var.
3984 (completion--do-completion): Use it.
3986 * electric.el (electric-pair-pairs): New var.
3987 (electric-pair-post-self-insert-function): Use it.
3988 (electric-layout-post-self-insert-function): Don't insert a before
3989 newline unless it's actually needed.
3991 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3993 * progmodes/python.el (run-python): Explain why we remove the current
3994 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
3996 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3998 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4000 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4001 (octave-mode-map): Don't bind ;, SPC, and LF.
4002 (octave-auto-indent, octave-auto-newline): Remove.
4003 (electric-layout-rules): Declare.
4004 (octave-mode): Set electric-layout-rules.
4005 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4006 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4007 (octave-electric-space): Remove.
4009 * electric.el (electric-layout-mode): New minor mode.
4010 (electric--after-char-pos): New function.
4011 (electric-indent-post-self-insert-function): Use it.
4012 (electric-layout-rules): New var.
4013 (electric-layout-post-self-insert-function): New function.
4014 (electric-indent-mode): Make them interact better.
4016 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4018 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4019 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4020 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4022 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4024 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4025 Make sure to check inside the word (Bug#6761).
4027 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4029 * startup.el (command-line): If the cursorColor resource is set,
4030 change the cursor face-spec (Bug#7392).
4032 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4034 The main features of the following allout.el changes are:
4035 - implement user customization for the allout key bindings
4036 - add a customization control by which the user can inhibit use of
4037 a trailing Ctrl-H, so by default it's reserved for use with
4038 describe-prefix-bindings
4039 - adapt to new version of called-interactively-p, while
4040 maintaining backwards compatibility with old version
4041 - fix hotspot navigation so i works properly with meta-modified keys.
4043 * allout.el (allout-keybindings, allout-bind-keys)
4044 (allout-keybindings-binding, allout-prefixed-keybindings)
4045 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4046 (allout-keybindings-list, allout-mode-map-adjustments)
4047 (allout-setup-mode-map): Establish allout-mode keymaps as user
4048 customizable settings, and also establish a customizable setting which
4049 regulates whether or not a trailing control-h is reserved for use with
4050 describe-prefix-bindings - and inhibit it by default, so that control-h
4051 *is* reserved for describe-prefix-bindings unless the user changes it.
4053 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4054 and accurately between modified and unmodified events, and handle
4055 modified events more comprehensively.
4057 * allout.el (allout-substring-no-properties):
4058 Alias to use or provide version of `substring-no-properties'.
4059 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4061 * allout.el (allout-next-single-char-property-change):
4062 Alias to use or provide version of `next-single-char-property-change'.
4063 (allout-annotate-hidden, allout-hide-by-annotation):
4064 Use `allout-next-single-char-property-change'.
4066 * allout.el (allout-select-safe-coding-system):
4067 Alias to use or provide version of `select-safe-coding-system'.
4068 (allout-toggle-subtree-encryption):
4069 Use `allout-select-safe-coding-system'.
4071 * allout.el (allout-set-buffer-multibyte):
4072 Alias to use or provide version of `set-buffer-multibyte'.
4073 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4075 * allout.el (allout-called-interactively-p): Macro for using the
4076 different versions of called-interactively-p identically, depending on
4077 the subroutine's argument signature.
4078 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4079 Use `(interactive "p")' instead of `(called-interactively-p)'.
4081 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4082 (allout-previous-visible-heading, allout-forward-current-level)
4083 (allout-backward-current-level, allout-show-children):
4084 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4086 * allout.el (allout-before-change-handler):
4087 Exempt edits to the (overlaid) character after the allout outline
4088 bullet from edit confirmation prompt.
4090 * allout.el (allout-add-resumptions):
4091 Ensure that it respects correct buffer for keybindings.
4093 * allout.el (allout-beginning-of-line):
4094 Use `allout-previous-single-char-property-change' alias for the sake of
4095 diverse compatibility.
4097 * allout.el (allout-end-of-line):
4098 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4100 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4102 * frame.el (frame-notice-user-settings): Don't clobber other
4103 user-set parameters when calling face-set-after-frame-default in
4104 response to background-color parameter (Bug#7373).
4106 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4108 * international/characters.el (glyphless-char-display-control):
4109 Rename from glyphless-char-control; all users changed. Doc fix.
4110 Signal an error if display method is not one of the recognized
4113 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4115 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4116 (tramp-compat-line-end-position): Remove them.
4118 * net/tramp.el (tramp-parse-rhosts-group)
4119 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4120 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4121 (tramp-parse-netrc-group, tramp-parse-putty-group)
4122 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4123 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4124 (tramp-sh-handle-file-selinux-context)
4125 (tramp-sh-handle-file-name-all-completions)
4126 (tramp-sh-handle-insert-directory)
4127 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4128 (tramp-wait-for-output, tramp-send-command-and-read)
4129 * net/tramp-smb.el (tramp-smb-read-file-entry)
4130 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4132 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4134 (tramp-remote-coding-commands): Add an alternative using "base64
4135 -d -i". This is needed for older base64 versions from GNU
4136 coreutils. Reported by Klaus Reichl
4137 <Klaus.Reichl@thalesgroup.com>.
4139 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4141 * simple.el (count-words-region): New function.
4143 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * shell.el (shell-dir-cookie-re): New custom variable.
4146 (shell-dir-cookie-watcher): New function.
4148 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4149 and compilation-mode (bug#7350).
4151 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4152 highlight when one of them is empty.
4154 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4156 (skeleton-newline): New function.
4157 (skeleton-internal-1): Use it.
4159 * simple.el (open-line): `newline' may strip trailing space.
4161 2010-11-12 Kevin Ryde <user42@zip.com.au>
4163 * international/mule-cmds.el (princ-list): Use mapc.
4165 2010-11-12 Glenn Morris <rgm@gnu.org>
4167 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4168 Use it to replace all instances of "*Compile-Log*".
4170 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4175 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * progmodes/modula2.el: Use SMIE and skeleton.
4178 (m2-mode-syntax-table): (*..*) can be nested.
4179 Add //...\n. Fix paren syntax.
4180 (m2-mode-map): Remove LF and TAB bindings.
4181 (m2-indent): Add safety property.
4182 (m2-smie-grammar): New var.
4183 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4184 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4185 (m2-mode): Use define-derived-mode.
4186 (m2-newline, m2-tab): Remove.
4187 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4188 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4189 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4190 (m2-import): Use define-skeleton.
4192 2010-11-11 Glenn Morris <rgm@gnu.org>
4194 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4196 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4197 (ls-lisp-verbosity): Add custom :set-after property.
4198 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4199 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4200 (ls-lisp-insert-directory): Update caller.
4201 (ls-lisp-set-options): New function.
4202 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4205 * play/landmark.el (lm-prompt-for-move):
4206 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4208 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4210 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4211 (idlwave-study-twins): Prefix dynamic local variable `name'.
4212 (idlwave-routine-twin-compare): Update for above change.
4214 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4215 Prefix dynamic local variables `name', `kwd', and `link'.
4216 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4217 * progmodes/idlw-complete-structtag.el
4218 (idlwave-complete-structure-tag-help):
4219 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4220 (idlwave-complete-sysvar-tag-help)
4221 (idlwave-complete-class-structure-tag-help):
4222 Update for above name changes.
4224 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4226 * net/browse-url.el (browse-url-browser-function): Change the
4227 default to use `browse-url-mail' on mailto: URLs.
4229 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4231 * emacs-lisp/package.el (package-read-all-archive-contents):
4232 Reset package-archive-contents to nil before re-reading.
4234 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4236 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4237 already found as misspellings by (flyspell-large-region), just
4238 do highlighting (bug#7322).
4240 2010-11-10 Glenn Morris <rgm@gnu.org>
4242 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4244 * emulation/edt.el (edt-with-position): New macro.
4245 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4246 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4247 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4249 * emulation/tpu-extras.el (tpu-with-position): New macro.
4250 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4252 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4254 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4255 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4256 (texinfo-master-menu, texinfo-insert-node-lines)
4257 (texinfo-multiple-files-update):
4258 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4259 Use line-beginning-position.
4261 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4262 No recent Emacs supports system-type `emx'.
4264 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4265 (ada-command-separator, ada-default-prj-properties)
4266 (ada-find-any-references): Update for above name change.
4268 * dirtrack.el (dirtrack-directory-function)
4269 (dirtrack-canonicalize-function):
4270 * filecache.el (file-cache-completion-ignore-case)
4271 (file-cache-case-fold-search, file-cache-ignore-case):
4272 * term.el (serial-port-is-file-p): Cosmetic change.
4274 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4275 Remove non-existent `windows-95' system-type.
4276 * dired.el (dired-chown-program): Remove non-existent `linux'
4279 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4280 (ping-program-options): Remove non-existent `linux' system-type.
4282 * startup.el (package-initialize): Update declaration.
4284 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4285 (ls-lisp-handle-switches): Use time-less-p.
4286 (ls-lisp-format-time): Use float-time.
4288 * textmodes/remember.el (remember-time-to-seconds): Remove.
4289 (remember-store-in-mailbox): Use float-time.
4291 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4293 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4294 never a real function.
4295 (with-no-warnings): Remove compat stub, now unused.
4296 (time-less-p): Doc fix.
4297 (time-to-number-of-days): Simplify.
4299 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4301 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4302 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4303 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4304 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4305 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4307 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4308 (eshell-shuffle-files, eshell-shorthand-tar-command)
4309 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4310 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4311 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4312 Prefix dynamic local variable `matches'.
4314 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4315 Prefix dynamic local variable `skeleton'.
4317 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4319 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4320 in mail buffer; make yank-action always a command that yanks original
4323 2010-11-09 Glenn Morris <rgm@gnu.org>
4325 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4327 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4329 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4330 completion field (bug#7211).
4332 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4333 Fix handling of backslash escapes.
4334 (python-quote-syntax): Adjust accordingly.
4336 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4338 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4339 (vc-mtn-workfile-branch): Adjust to new output format.
4341 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * international/mule-cmds.el (princ-list): Mark as obsolete.
4345 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4347 * emacs-lisp/smie.el: New package.
4349 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4351 * files.el (backup-by-copying-when-mismatch):
4352 Set `permanent-local' property.
4354 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4355 `permanent-local' property for `backup-by-copying-when-mismatch'.
4357 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4359 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4361 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4363 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4364 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4365 AUTOINOUT for SV style multidimensional arrays, bug294.
4366 Reported by Eric Mastromarchi.
4367 (verilog-preprocess): Use with-current-buffer and
4368 font-lock-fontify-buffer to cleanup style issues.
4370 2010-11-09 Glenn Morris <rgm@gnu.org>
4372 * locate.el (locate, locate-mode): Doc fixes.
4374 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4376 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4377 user for confirmation.
4378 (server-force-stop): Use it.
4379 (server-start): Use server-force-stop for kill-emacs-hook, to
4380 avoid user interaction while killing Emacs.
4382 2010-11-09 Glenn Morris <rgm@gnu.org>
4384 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4385 (meta-indent-line): Simplify.
4387 * vc/emerge.el (emerge-line-number-in-buf):
4388 * textmodes/ispell.el (ispell-region):
4389 * textmodes/fill.el (current-fill-column):
4390 * progmodes/xscheme.el (xscheme-send-current-line):
4391 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4392 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4393 * progmodes/sh-script.el (sh-handle-prev-do):
4394 * progmodes/meta-mode.el (meta-indent-line):
4395 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4397 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4398 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4399 * progmodes/fortran.el (fortran-looking-at-if-then):
4400 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4401 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4402 (cperl-find-pods-heres):
4403 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4404 * net/quickurl.el (quickurl-list-insert):
4405 * net/ldap.el (ldap-search-internal):
4406 * net/eudc.el (eudc-expand-inline):
4407 * mail/sendmail.el (sendmail-send-it):
4408 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4409 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4410 (viper-brac-function):
4411 * calc/calc-yank.el (calc-do-grab-region):
4412 * calc/calc-keypd.el (calc-keypad-press):
4413 * term.el (term-move-columns, term-insert-spaces):
4414 * speedbar.el (speedbar-highlight-one-tag-line):
4415 * simple.el (current-word):
4416 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4417 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4419 * hippie-exp.el (he-line-beg):
4420 * epa.el (epa--marked-keys):
4421 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4422 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4423 (dired-relist-entry):
4424 * buff-menu.el (Buffer-menu-buffer):
4425 * array.el (current-line):
4426 * allout.el (allout-resolve-xref)
4427 (allout-latex-verbatim-quote-curr-line):
4428 Replace yet more uses of end-of-line etc with line-end-position, etc.
4430 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4433 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4434 (checkdoc-syntax-table): Initialize in the declaration.
4435 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4436 the mode on unconditionally.
4438 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4439 (extent-end-position, extent-start-position): Remove setf method for
4440 non-existing functions (bug#7319).
4442 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4445 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4446 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4447 (smie-prec2->grammar): Rename from smie-prec2-levels.
4448 (smie-grammar): Rename from smie-op-levels.
4449 (smie-indent--hanging-p): Rename from smie-hanging-p.
4450 (smie-rule-hanging-p): New alias.
4451 (smie-indent--bolp): Rename from smie-bolp.
4452 (smie-indent--hanging-p): New alias.
4453 (smie--token): New dynamically bound variable.
4454 (smie-indent--parent): New function.
4455 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4456 (smie-rule-next-p): Rename from smie-next-p.
4457 (smie-rule-prev-p): Rename from smie-prev-p.
4458 (smie-rule-sibling-p, smie-rule-parent)
4459 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4460 (smie-rule-separator-outdent): New var.
4461 (smie-indent--rule): Merge with smie-indent--column.
4462 (smie-indent-forward-token, smie-indent-backward-token):
4463 Also recognize close parens.
4464 (smie-indent-keyword): Don't use smie-indent--column any more.
4465 (smie-indent-after-keyword): Ignore closers by default.
4466 (smie-indent-line): Use with-demoted-errors.
4467 * progmodes/octave-mod.el (octave-smie-grammar):
4468 Rename from octave-smie-op-levels.
4469 (octave-smie-rules): Adjust to new behavior.
4470 * progmodes/prolog.el (prolog-smie-grammar):
4471 Rename from prolog-smie-op-levels.
4473 2010-11-07 Glenn Morris <rgm@gnu.org>
4475 * eshell/esh-util.el (subst-char-in-string)
4476 (directory-files-and-attributes): These compatibility definitions are
4477 not needed on any version of Emacs since at least 21.4.
4479 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4480 (verilog-get-end-of-line): Remove.
4481 (verilog-within-string, verilog-re-search-forward-substr)
4482 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4483 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4484 Use point-at-bol, point-at-eol.
4485 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4487 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4488 (electric-pascal-terminate-line, pascal-set-auto-comments)
4489 (pascal-indent-paramlist, pascal-indent-declaration)
4490 (pascal-get-lineup-indent, pascal-func-completion)
4491 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4492 Use point-at-bol, point-at-eol.
4493 * progmodes/flymake.el (flymake-line-beginning-position)
4494 (flymake-line-end-position): Remove.
4495 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4496 * eshell/esh-util.el (line-end-position, line-beginning-position):
4497 Remove compat definitions.
4499 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4501 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4502 Use line-end-position.
4504 * emacs-lisp/chart.el (chart-zap-chars):
4505 * play/decipher.el (decipher-set-map):
4506 * progmodes/ada-mode.el (ada-get-current-indent)
4507 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4508 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4509 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4510 (ada-get-all-references):
4511 * progmodes/cperl-mode.el (cperl-electric-paren)
4512 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4513 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4514 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4515 (cperl-word-at-point-hard):
4516 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4517 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4518 (idlwave-shell-display-line):
4519 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4520 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4521 * progmodes/js.el (js--re-search-forward-inner)
4522 (js--re-search-backward-inner):
4523 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4524 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4525 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4526 * textmodes/flyspell.el (flyspell-process-localwords):
4527 * textmodes/ispell.el (ispell-buffer-local-parsing)
4528 (ispell-buffer-local-dict, ispell-buffer-local-words):
4529 Use point-at-bol and point-at-eol.
4531 * speedbar.el (speedbar-generic-item-info)
4532 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4533 (speedbar-add-indicator, speedbar-check-vc-this-line)
4534 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4535 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4536 Replace more uses of end-of-line etc with line-end-position.
4538 2010-11-06 Glenn Morris <rgm@gnu.org>
4540 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4541 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4542 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4543 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4544 (texinfo-multiple-files-update):
4545 * textmodes/table.el (table--probe-cell-left-up)
4546 (table--probe-cell-right-bottom):
4547 * textmodes/picture.el (picture-tab-search):
4548 * textmodes/page-ext.el (pages-copy-header-and-position)
4549 (pages-directory-for-addresses):
4550 * progmodes/vera-mode.el (vera-get-offset):
4551 * progmodes/simula.el (simula-calculate-indent):
4552 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4553 * progmodes/prolog.el (end-of-prolog-clause):
4554 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4555 * progmodes/icon.el (indent-icon-exp):
4556 * progmodes/etags.el (tag-re-match-p):
4557 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4558 * progmodes/ebnf2ps.el (ebnf-begin-file):
4559 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4560 (dcl-save-local-variable):
4561 * play/life.el (life-setup):
4562 * play/gametree.el (gametree-looking-at-ply):
4563 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4564 * mail/sendmail.el (mail-mode-auto-fill):
4565 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4566 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4567 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4568 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4569 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4570 * type-break.el (type-break-file-keystroke-count):
4571 * term.el (term-replace-by-expanded-history-before-point)
4572 (term-skip-prompt, term-extract-string):
4573 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4574 (speedbar-contract-line, speedbar-toggle-line-expansion)
4575 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4576 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4577 * sort.el (sort-skip-fields):
4578 * skeleton.el (skeleton-internal-list):
4579 * simple.el (line-move-finish, line-move-to-column):
4580 * shell.el (shell-forward-command):
4581 * misc.el (copy-from-above-command):
4582 * makesum.el (double-column):
4583 * ebuff-menu.el (electric-buffer-update-highlight):
4584 * dired.el (dired-move-to-end-of-filename):
4585 * dframe.el (dframe-popup-kludge):
4586 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4587 * arc-mode.el (archive-get-lineno):
4588 Use line-end-position and line-beginning-position.
4590 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4591 (idlwave-study-twins): Prefix dynamic local `class'.
4592 (idlwave-routine-twin-compare): Update for above name change.
4594 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4595 Use boundp tests to silence compiler. Update for changed name of
4596 bytecomp-filename variable.
4598 * emulation/viper-cmd.el (viper-read-string-with-history):
4599 Prefix dynamic local `initial'.
4600 (viper-minibuffer-standard-hook): Update for above name change.
4602 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4603 (elint-init-form): Update for above name change.
4605 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4606 local variables `cbeg' and `cend' a prefix.
4607 (mail-extr-voodoo): Update for above name change.
4609 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4610 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4611 (reftex-toc-promote-action): Doc fix.
4613 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4614 `prompt', `data' a prefix.
4615 (reftex-select-post-command-hook, reftex-select-callback)
4616 (reftex-select-mouse-accept, reftex-select-read-cite):
4617 Update for above name changes.
4619 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4620 `refstyle' to reftex-refstyle.
4621 (reftex-offer-label-menu): Update for above name change.
4622 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4623 `refstyle' name change.
4625 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4626 with with-current-buffer.
4627 (diff, template): Give dynamic local variables a prefix.
4628 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4629 (emerge-line-number-in-buf): Update for above name change.
4630 (emerge-combine-versions-internal): Rename local `template' to
4631 emerge-combine-template.
4632 (emerge-combine-versions-edit): Update for above name change.
4634 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4636 * textmodes/reftex-cite.el
4637 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4638 entries with whitespace after \bibitem.
4639 (reftex-create-bibtex-file): Match entries containing numbers and
4640 symbol constituents. Make sure that entries with whitespace at
4641 various places are found.
4643 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4645 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4647 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4649 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4651 2010-11-05 Glenn Morris <rgm@gnu.org>
4653 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4654 (woman2-roff-buffer): Give local variable `request' a prefix.
4655 (woman0-macro): Rename argument `request' in the same way.
4656 (woman-request): New name for `request' dynamic variable.
4657 (woman-unquote, woman-forward-arg): Update for above name change.
4658 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4659 (woman1-unquote): New name for `unquote' dynamic variable.
4660 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4661 (woman-translations): Rename from `translations'. No longer global.
4662 (woman2-tr, woman-translate): Update for above name change.
4663 (woman-translate): Check for bound variable.
4664 (woman2-roff-buffer): Give local variable `translations' a prefix.
4666 * play/doctor.el: Give all local variables a prefix. Update callers.
4667 (doc$, doctor-put-meaning): Use backquote.
4669 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4670 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4672 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4673 variables bytes, ptr, op a prefix.
4674 (disassemble-offset): Update for above change.
4676 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4678 * emacs-lisp/package.el (package-unpack): Remove no-op.
4679 (package--builtins, package--dir): Doc fix.
4680 (package-activate-1, package-activate, package-install)
4681 (package-compute-transaction): Fix error message.
4682 (package-delete): Use delete-directory. Omit system packages.
4683 (package-initialize): Set package-alist to nil first.
4684 (package-menu-mark-delete, package-menu-mark-install): Don't add
4685 symbols that are inconsistent with the package state.
4686 (package-menu-execute): Perform deletions and installations as
4687 single batch operations.
4689 2010-11-03 Glenn Morris <rgm@gnu.org>
4691 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4692 (props): Remove unnecessary declaration.
4694 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4695 set-process-query-on-exit-flag.
4697 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4698 (reftex-toc-do-promote): Remove unused local `mpos'.
4699 (reftex-toc-restore-region): Make `mpos' local to this function.
4701 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4703 * play/landmark.el (lm-losing-threshold): Correct spelling.
4704 (lm-human-plays): Use new name.
4706 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4707 (gomoku-human-plays): Use new name.
4709 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4710 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4711 (gomoku-score-trans-table, gomoku-winning-threshold)
4712 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4714 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4716 * emacs-lisp/package.el: Don't put built-in packages in
4717 package-alist, to avoid loading inefficiencies.
4718 (package-built-in-p): Make VERSION optional, and treat it as a
4719 minimum acceptable version.
4720 (package-activate): Search separately for built-in packages.
4721 Emit a warning if a dependency fails.
4722 (define-package): Handle most common case, where there is no
4723 obsolete package, first.
4724 (package-compute-transaction): Print required version in error.
4725 (package--initialized): New variable.
4726 (list-packages): Use it.
4727 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4728 built-in packages in packages-alist; keep it separate.
4729 Set package--initialized.
4730 (describe-package): Avoid activating packages as a side-effect.
4731 Search separately for built-in packages.
4732 (describe-package-1): Handle the case where an elpa package is
4733 simultaneously built-in and available/installed.
4734 (package-installed-p, package--generate-package-list):
4735 Search separately for built-in packages.
4736 (package-load-descriptor): Doc fix.
4738 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4741 Handle __DATA__ and __END__.
4743 2010-11-02 Noah Friedman <friedman@splode.com>
4745 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4746 nil, do not ask to recompile files that are not already compiled,
4747 and do not recompile them.
4749 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4751 * emacs-lisp/package.el (package-initialize): Ensure that
4752 obsoleted built-in packages are not in package-activated-list
4754 (describe-package-1): Make the "installed" status override
4757 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4759 * subr.el (version-separator, version-regexp-alist): Remove '*'
4761 (version-list-<=, version<=, version=): Doc fix.
4763 2010-11-01 Kenichi Handa <handa@m17n.org>
4765 * faces.el (glyphless-char): Inherit underline for tty.
4767 2010-11-01 Kenichi Handa <handa@m17n.org>
4769 Implement various display methods for glyphless characters.
4771 * international/characters.el (char-acronym-table): New variable.
4772 (glyphless-char-control): New variable.
4773 (update-glyphless-char-display): New function.
4775 * faces.el (glyphless-char): New face.
4777 2010-11-01 Glenn Morris <rgm@gnu.org>
4779 * calendar/holidays.el (general-holidays, oriental-holidays)
4780 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4781 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4782 the definitions of their targets.
4784 * emacs-lisp/smie.el (smie): New custom group.
4785 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4787 * faces.el (xw-defined-colors, x-setup-function-keys):
4788 * mouse-sel.el (x-select-text):
4789 * term/w32console.el (x-setup-function-keys): Update declarations.
4791 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4793 * textmodes/ispell.el (comment-add): Declare.
4795 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4798 * info.el (finder-keywords-hash, package-alist): Declare.
4800 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4802 * finder.el (finder-compile-keywords): Don't use intern-soft,
4803 since package names may not yet exist in the obarray.
4805 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4807 * vc/vc-arch.el (vc-arch-checkin):
4808 * vc/vc-cvs.el (vc-cvs-checkin):
4809 * vc/vc-mtn.el (vc-mtn-checkin):
4810 * vc/vc-rcs.el (vc-rcs-checkin):
4811 * vc/vc-sccs.el (vc-sccs-checkin):
4812 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4813 since 2010-04-21 commit by Stefan Monnier.
4815 2010-11-01 Glenn Morris <rgm@gnu.org>
4817 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4819 * startup.el (package-enable-at-startup, package-initialize):
4822 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4825 2010-10-31 Julien Danjou <julien@danjou.info>
4827 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4828 (byte-recompile-directory):
4829 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4830 Use `byte-recompile-file'.
4832 2010-10-31 Glenn Morris <rgm@gnu.org>
4834 * cus-start.el: Handle standard values via a keyword.
4835 Only set version property if specified.
4836 (cursor-in-non-selected-windows, menu-bar-mode)
4837 (tool-bar-mode, show-trailing-whitespace):
4838 Do not specify standard values.
4839 (transient-mark-mode, temporary-file-directory): Use :standard.
4841 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4843 * term/x-win.el (x-get-selection-value): New function that gets
4844 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4846 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4848 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4849 preserve owner and group when editing files. (Bug#7289)
4851 2010-10-31 Glenn Morris <rgm@gnu.org>
4853 * speedbar.el (speedbar-mode):
4854 * play/fortune.el (fortune-in-buffer, fortune):
4855 * play/gomoku.el (gomoku-mode):
4856 * play/landmark.el (lm-mode):
4857 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4858 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4860 * select.el (x-selection): Mark it as an obsolete alias.
4862 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4864 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4865 major-mode (bug#7284).
4867 2010-10-31 Glenn Morris <rgm@gnu.org>
4869 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4870 rather than just an unused variable that inherits from the real one.
4872 2010-10-31 Alan Mackenzie <acm@muc.de>
4874 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4875 This fixes bug #7185.
4877 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4879 * startup.el (command-line): Search for package directories, and
4880 don't load package.el if none are found.
4882 * emacs-lisp/package.el (describe-package, list-packages):
4883 Call package-initialize if it has not been called yet.
4885 2010-10-30 Alan Mackenzie <acm@muc.de>
4887 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4888 which fontifies the tail of an enum.
4889 (c-basic-matchers-after): Insert a call to the above new function.
4890 This fixes bug #7264.
4892 2010-10-30 Glenn Morris <rgm@gnu.org>
4894 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4895 tool-bar-mode, transient-mark-mode. (Bug#7306)
4896 Include the :set property in the dumped Emacs.
4898 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4900 SMIE: change indent rules format, improve smie-setup.
4901 * emacs-lisp/smie.el (smie-precs-precedence-table)
4902 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4903 Mark them pure so the tables gets built at compile time.
4904 (smie-bnf-precedence-table): Store the closer-alist in the table.
4905 (smie-prec2-levels): Preserve the closer-alist.
4906 (smie-blink-matching-open): Be more forgiving in case of indentation.
4907 (smie-hanging-p): Rename from smie-indent--hanging-p.
4908 (smie-bolp): Rename from smie-indent--bolp.
4909 (smie--parent, smie--after): New dynamic vars.
4910 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4911 (smie-indent-rules): Remove.
4912 (smie-indent--offset-rule): Remove fun.
4913 (smie-rules-function): New var.
4914 (smie-indent--rule): New fun.
4915 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4916 (smie-indent-exps): Use it.
4917 (smie-setup): Setup paren blinking; add keyword args for token
4918 functions; extract closer-alist from op-levels.
4919 (smie-indent-debug-log): Remove var.
4920 (smie-indent-debug): Remove fun.
4921 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4922 (prolog-smie-rules): New fun to replace it.
4923 (prolog-mode-variables): Simplify.
4924 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4925 it's setup automatically.
4926 (octave-smie-indent-rules): Remove.
4927 (octave-smie-rules): New fun to replace it.
4928 (octave-mode): Simplify.
4930 2010-10-29 Glenn Morris <rgm@gnu.org>
4932 * files.el (temporary-file-directory): Remove (already defined in C).
4933 * cus-start.el: Add temporary-file-directory.
4935 * abbrev.el (abbrev-mode):
4936 * composite.el (auto-composition-mode):
4937 * menu-bar.el (menu-bar-mode):
4938 * simple.el (transient-mark-mode):
4939 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4940 that they do not define the associated variables twice.
4941 * simple.el (transient-mark-mode): Remove defvar.
4942 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4943 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4944 Handle multiple groups, and also custom-delayed-init-variables.
4945 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4947 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4949 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4950 (pcase-if): Add one minor optimization.
4951 (pcase-split-equal): Rename from pcase-split-eq.
4952 (pcase-split-member): Rename from pcase-split-memq.
4953 (pcase-u1): Add strings to the member optimization.
4954 Add `guard' variant of predicates.
4955 (pcase-q1): Add string patterns.
4957 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4959 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4961 2010-10-28 Glenn Morris <rgm@gnu.org>
4963 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4964 Move menu-bar related settings to ../menu-bar.el.
4965 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4966 Move ns-specific settings here from term/ns-win.el.
4968 * simple.el (x-selection-owner-p): Remove unused declaration.
4970 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * minibuffer.el (completion-cycling): New var (bug#7266).
4973 (minibuffer-complete, completion--do-completion):
4974 Use completion--flush-all-sorted-completions.
4975 (minibuffer-complete): Only cycle if completion-cycling is set.
4976 (completion--flush-all-sorted-completions): Unset completion-cycling.
4977 (minibuffer-force-complete): Set completion-cycling.
4978 (completion-all-sorted-completions): Move declaration before first use.
4980 2010-10-28 Leo <sdl.web@gmail.com>
4982 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4983 which changes the order of matches seen by users (bug#7231).
4985 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
4987 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4988 Don't confuse -omega as "-o mega".
4990 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4993 (log-edit-author): New dynamic var.
4994 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4995 to return the author if different from committer.
4996 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4998 * play/landmark.el: Adjust commenting convention.
4999 (lm-nil-score): Rename from nil-score.
5000 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5001 (OOOOscore): Move into a let in lm-score-trans-table.
5002 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5004 * electric.el (electric-indent-chars): Autoload.
5005 * progmodes/octave-mod.el (octave-mode):
5006 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5007 (ruby-mode-abbrev-table): Merge initialization and declaration.
5009 2010-10-27 Glenn Morris <rgm@gnu.org>
5011 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5014 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5016 * term/ns-win.el: Restore require of cl when compiling.
5017 (menu-bar-final-items): Remove non-existent `windows' menu.
5018 (ns-handle-nxopen): Optionally handle the temp-case.
5019 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5020 (ns-insert-file, ns-find-file): Use `pop'.
5022 2010-10-26 Glenn Morris <rgm@gnu.org>
5024 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5026 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5028 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5030 * term/common-win.el (x-setup-function-keys): Remove most of the
5031 keymappings. Comment on the remaining ones.
5033 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5035 * server.el (server-port): New option. (Bug#854)
5036 (server-start): Use server-port.
5038 2010-10-26 Glenn Morris <rgm@gnu.org>
5040 * term/ns-win.el (ns-version-string): Remove unused declaration.
5041 (ns-invocation-args): Change to x-invocation-args.
5042 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5043 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5044 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5045 Use x-invocation-args instead of ns-invocation-args.
5046 (ns-initialize-window-system, handle-args-function-alist):
5047 Use x-handle-args instead of ns-handle-args.
5048 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5049 * startup.el (command-line-ns-option-alist): Replace
5050 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5051 ns-handle-iconic with the x- equivalents.
5053 * term/common-win.el (x-select-enable-clipboard):
5054 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5056 * term/ns-win.el: No need to require cl when compiling.
5057 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5058 (xw-defined-colors): Use the common-win definitions.
5059 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5060 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5061 * term/common-win.el (x-select-text, x-alternatives-map)
5062 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5063 * loadup.el [ns]: Load common-win.
5065 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5067 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5068 recipients; expand mail aliases (Bug#7280).
5070 2010-10-25 Glenn Morris <rgm@gnu.org>
5072 * term/common-win.el (x-handle-switch): Simplify with pop.
5073 Optionally handle numeric switches.
5074 (x-handle-numeric-switch): Just call x-handle-switch.
5075 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5076 (x-handle-name-switch, x-handle-display, x-handle-args):
5079 * term/ns-win.el: Do not require easymenu.
5080 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5081 <spell>: Move adjustments to menu-bar.el.
5082 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5083 <separator-undo, spell>: Move ns-win's adjustments here.
5084 * loadup.el [ns]: Do not load easymenu.
5086 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5088 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5091 * startup.el (fancy-startup-tail): Instead of using inline images,
5092 refer to image files from etc/.
5094 * wid-edit.el (checkbox): Likewise.
5095 (widget-image-find): Center image specs.
5097 2010-10-24 Glenn Morris <rgm@gnu.org>
5099 * term/ns-win.el (x-select-text): Doc fix.
5100 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5101 (x-select-text): Move to term/common-win.
5102 * term/w32-win.el (xw-defined-colors): Move to common-win.
5103 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5104 (x-setup-function-keys, x-select-text): Move to common-win.
5105 * term/common-win.el (x-select-text, x-alternatives-map)
5106 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5109 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5111 * net/mairix.el (mairix-searches-mode-map):
5112 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5114 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5116 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5117 auto-built for efficiency of execution and updating.
5118 (verilog-extended-complete-re): Support 'pure' fucntion & task
5119 declarations (these have no bodies).
5120 (verilog-beg-of-statement): General cleanup to enable support of
5121 'pure' fucntion & task declarations (these have no bodies).
5122 These efforts together fix Verilog bug210 from veripool; which was also
5123 noticed by Steve Pearlmutter.
5124 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5125 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5126 Support `elsif. Reported by Shankar Giri.
5127 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5128 attribute handling for lining up declarations and assignments.
5129 (verilog-beg-of-statement-1): Fix issue where continued declaration
5130 is indented differently if it is after a begin..end clock.
5131 (verilog-in-attribute-p, verilog-skip-backward-comments)
5132 (verilog-skip-forward-comment-p): Support proper treatment of
5133 attributes by indent code. Reported by Jeff Steele.
5134 (verilog-in-directive-p): Fix comment to correctly describe function.
5135 (verilog-backward-up-list, verilog-in-struct-region-p)
5136 (verilog-backward-token, verilog-in-struct-p)
5137 (verilog-in-coverage-p, verilog-do-indent)
5138 (verilog-pretty-declarations): Use verilog-backward-up-list as
5139 wrapper around backward-up-list inorder to properly skip comments.
5140 Reported by David Rogoff.
5141 (verilog-property-re, verilog-endcomment-reason-re)
5142 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5143 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5144 of if). Reported by Max Bjurling and
5145 (verilog-calc-1): Fix for clocking block in modport
5146 declaration. Reported by Brian Hunter.
5148 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5150 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5151 (verilog-gate-keywords, verilog-read-sub-decls)
5152 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5153 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5154 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5155 (verilog-read-decls): Fix spaces in V2K module parameters causing
5156 mis-identification as interfaces, bug287.
5157 (verilog-read-decls): Fix not treating "parameter string" as a
5158 parameter in AUTOINSTPARAM.
5159 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5160 treating `elsif similar to `endif inside AUTOSENSE.
5161 (verilog-do-indent): Implement correct automatic or static task or
5162 function end comment highlight. Reported by Steve Pearlmutter.
5163 (verilog-font-lock-keywords-2): Fix highlighting of single
5164 character pins, bug264. Reported by Michael Laajanen.
5165 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5166 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5167 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5168 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5169 (verilog-pretty-expr): Fix interactive arguments, bug272.
5170 Reported by Mark Johnson.
5171 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5172 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5173 bug269. Suggested by Gary Delp.
5174 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5175 (verilog-preprocessor, verilog-set-compile-command):
5176 Create verilog-preprocess and verilog-preprocessor to show
5177 preprocessed output.
5178 (verilog-get-beg-of-line, verilog-get-end-of-line)
5179 (verilog-modi-file-or-buffer, verilog-modi-name)
5180 (verilog-modi-point, verilog-within-string): Move defmacro's
5181 before first use to avoid warning. Reported by Steve Pearlmutter.
5182 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5183 (verilog-colorize-region, verilog-highlight-buffer)
5184 (verilog-highlight-includes, verilog-highlight-modules)
5185 (verilog-highlight-region, verilog-mode): Rename colorize to
5186 highlight to match other packages. Disable module highlighting,
5187 as received speed complaints, reenable for experimentation only
5188 using new verilog-highlight-modules.
5189 (verilog-read-decls): Fix regexp stack overflow in very large
5190 AUTO_TEMPLATEs, bug250.
5191 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5192 (verilog-scan): Create verilog-save-buffer-state to standardize
5193 making insignificant changes that shouldn't call hooks.
5194 (verilog-save-no-change-functions, verilog-save-scan-cache)
5195 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5196 Create verilog-save-no-change-functions to wrap verilog-scan
5197 preservation, and fix to work with nested preserved calls.
5198 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5199 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5200 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5201 (verilog-submit-bug-report): Update variable list to be complete.
5202 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5203 breaking on-the-fly font-locking.
5204 (verilog-colorize-buffer, verilog-colorize-include-files)
5205 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5206 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5207 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5208 AUTOINST cell instance name, middle mouse button now finds-file on
5209 it. Suggested by Brad Dobbie.
5210 (verilog-alw-get-temps, verilog-auto-reset)
5211 (verilog-auto-sense-sigs, verilog-read-always-signals)
5212 (verilog-read-always-signals-recurse): Fix loop indexes being
5213 AUTORESET. AUTORESET now assumes any variables in the
5214 initialization section of a for() should be ignored.
5215 Reported by Dan Dever.
5216 (verilog-error-font-lock-keywords)
5217 (verilog-error-regexp-emacs-alist)
5218 (verilog-error-regexp-xemacs-alist): Fix error detection of
5219 Cadence HAL, reported by David Asher. Repair drift between the
5220 three similar error variables.
5221 (verilog-modi-lookup, verilog-modi-lookup-cache)
5222 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5223 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5224 Fix slow verilog-auto expansion on very large files.
5225 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5226 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5227 "{1*2{...". Broke in last revision.
5228 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5229 submodule connections with replications "{#{a},#{b}}".
5231 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5233 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5234 Fix typo in docstring.
5236 2010-10-24 Kenichi Handa <handa@m17n.org>
5238 * face-remap.el (text-scale-adjust): Call read-event with a proper
5241 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5243 * emacs-lisp/unsafep.el: Don't mark functions that display
5244 messages as safe. Suggested by Johan Bockgård.
5246 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5248 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5249 Turn comments into docstrings.
5251 * minibuffer.el (completion--replace): Move point where it belongs
5252 when there's a common suffix (bug#7215).
5254 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5256 Merge read-color and facemenu-read-color (Bug#7242).
5258 * faces.el (read-color): Use the completion code from
5259 facemenu-read-color. Require match in completion. Doc fix.
5261 * facemenu.el (facemenu-read-color): Alias for read-color.
5262 (facemenu-set-foreground, facemenu-set-background):
5265 * frame.el (set-background-color, set-foreground-color)
5266 (set-cursor-color, set-mouse-color, set-border-color):
5269 2010-10-24 Leo <sdl.web@gmail.com>
5271 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5272 argument of delete-file and delete-directory (Bug#7011).
5274 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5276 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5279 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5281 * emacs-lisp/package.el (package--generate-package-list): Make the
5282 *Packages* buffer read-only.
5284 2010-10-24 Alan Mackenzie <acm@muc.de>
5286 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5287 result of `c-beginning-of-decl-1' between invocations of a lambda
5288 function (Bug #7265).
5290 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5292 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5293 executable is not available on the system (Bug#7268).
5295 2010-10-24 Glenn Morris <rgm@gnu.org>
5297 * select.el (selection-coding-system, next-selection-coding-system):
5298 Sync doc with C versions.
5300 * w32-vars.el (x-select-enable-clipboard):
5301 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5302 * term/common-win.el (x-select-enable-clipboard): Move here.
5304 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5305 definition of C variable.
5307 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5308 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5309 Don't redefine things that are defined in C.
5310 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5311 (show-trailing-whitespace, auto-hscroll-mode)
5312 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5313 Set up the appropriate custom properties.
5315 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5318 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5319 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5320 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5321 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5323 2010-10-23 Glenn Morris <rgm@gnu.org>
5325 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5328 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5329 Sync docs with C version.
5331 * term/ns-win.el (xw-defined-colors):
5332 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5334 * term/pc-win.el (x-select-enable-clipboard):
5335 * term/x-win.el (x-select-enable-clipboard):
5336 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5338 * comint.el (comint-password-prompt-regexp): Make it less vague.
5341 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5343 * help.el (finder-by-keyword): Remove unnecessary autoload.
5345 2010-10-22 Glenn Morris <rgm@gnu.org>
5347 * loadup.el: Unconditionally load float-sup.
5348 * paren.el (show-paren-delay):
5349 * emacs-lisp/float-sup.el:
5350 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5351 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5352 (lazy-lock-stealth-verbose): Assume float support.
5353 * ps-print.el: Assume float support on Emacs.
5354 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5355 Remove non-float branch.
5357 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5358 src/Makefile no longer being pre-processed.
5360 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5362 * emacs-lisp/find-func.el (find-library): Use test-completion.
5364 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5366 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5368 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5370 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5371 space in stat format string.
5372 (tramp-send-command): Unset $PS1 when using here documents, in
5373 order not to get several prompts.
5374 (tramp-get-inline-coding): Return `nil' in case of errors.
5376 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5378 * hexl.el (hexl-mode, hexl-mode-exit):
5379 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5380 (hexl-revert-buffer-function): New function.
5381 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5383 2010-10-19 Alan Mackenzie <acm@muc.de>
5385 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5386 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5387 that these keywords aren't wrongly matched as identifiers.
5389 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5390 setting of c-new-BEG and c-new-END from c-before-change to
5391 c-after-change. (Bug#7181)
5393 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5395 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5398 * custom.el (custom-theme-set-variables): Likewise.
5399 (load-theme): Add custom-theme-set-faces and
5400 custom-theme-set-variables to safe-functions while loading.
5401 (custom-enabled-themes): Mark as risky.
5403 2010-10-18 Julien Danjou <julien@danjou.info>
5405 * bindings.el: Remove end dashes in default mode-line-format.
5407 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5409 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5410 to delete-forward-char.
5412 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5413 deletechar, and hence delete-forward-char.
5415 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5417 * repeat.el (repeat): Use read-key (bug#6256).
5419 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5421 * emacs-lisp/unsafep.el: Don't mark functions that display
5422 messages as safe. Suggested by Johan Bockgård.
5424 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * minibuffer.el (completion--replace): Move point where it belongs
5427 when there's a common suffix (bug#7215).
5429 2010-10-19 Kenichi Handa <handa@m17n.org>
5431 * international/characters.el: Add category '|' (word breakable)
5432 to fullwidth characters.
5434 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5436 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5437 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5438 order to make stat results a float. Patch by Andreas Schwab
5439 <schwab@linux-m68k.org>.
5441 2010-10-18 Julien Danjou <julien@danjou.info>
5443 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5444 hidden by `make-pointer-invisible'.
5446 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * files.el (locate-file-completion-table): Strip non-matching elements
5449 before checking length of list (bug#7238).
5451 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5453 * custom.el (custom-theme-set-variables): Mark as a safe function.
5454 (load-theme): Check forms using unsafep.
5456 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5458 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5460 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5461 Fix aspell data file searching (bug#7230).
5463 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5465 * cus-theme.el (custom-theme--migrate-settings): New var.
5466 (customize-create-theme): Allow editing the `user' theme.
5467 (custom-theme-add-variable, custom-theme-add-var-1)
5468 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5469 to the front of each variable or face widget.
5470 (custom-theme-write): Save theme settings in the correct order.
5471 Optionally, remove saved settings from user customizations.
5472 (custom-theme-write-variables, custom-theme-write-faces):
5473 Save only the checked widgets.
5474 (customize-themes): Add a link for migrating custom settings.
5476 * custom.el (custom-declare-theme, provide-theme):
5477 Use custom-theme-name-valid-p.
5478 (custom-theme-name-valid-p): Remove checks that are now
5479 unnecessary since themes no longer obey load-path.
5481 * cus-edit.el (custom-variable-value-create): For the simple
5482 style, hide documentation string when hidden.
5484 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5486 * cus-edit.el (custom-variable, custom-face): Combine the
5487 :inhibit-magic and :display-style properties into a single
5488 :custom-style property.
5489 (custom-toggle-hide-variable, custom-toggle-hide-face):
5490 New functions. If hiding an edited value, save it to :shown-value.
5491 (custom-variable-value-create, custom-face-value-create): Use them.
5492 (custom-magic-reset): Allow magic property to be unset.
5494 * custom.el: Custom themes no longer use load-path.
5495 (custom-theme-load-path): New option. Change built-in theme
5497 (custom-enabled-themes): Add custom-theme-load-path dependency.
5498 (custom-theme--load-path): New function.
5499 (load-theme, custom-available-themes): Use it.
5501 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5502 (customize-themes): Link to custom-theme-load-path variable.
5503 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5504 :custom-style property.
5506 * themes/*.el: Moved to etc/.
5508 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5510 * textmodes/reftex-cite.el
5511 (reftex-extract-bib-entries-from-thebibliography): Do not move
5512 point when searching for \bibitem entries. Match entries with
5513 spaces or tabs in front of arguments.
5515 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5517 * cus-theme.el (customize-create-theme): Delete overlays after
5518 erasing. If given a THEME arg, display only the faces of that arg
5519 instead of custom-theme--listed-faces.
5520 (custom-theme-variable-menu, custom-theme-variable-action)
5521 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5522 (custom-theme-add-variable, custom-theme-add-face): Apply value
5523 from the theme settings, instead of the current value.
5524 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5525 (custom-theme-visit-theme): Allow calling outside theme buffers.
5526 (custom-theme-merge-theme): Don't enable the theme when merging.
5527 (custom-theme-write-variables, custom-theme-write-faces): Use the
5528 :shown-value properties to save buffer values, not global ones.
5529 (customize-themes): Display a warning about user customizations.
5531 * cus-edit.el (custom-variable-value-create)
5532 (custom-face-value-create): Obey new special properties
5533 :shown-value and :inhibit-magic.
5535 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5537 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5538 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5541 2010-10-14 Kenichi Handa <handa@m17n.org>
5543 * mail/rmail.el (rmail-show-message-1): Catch an error of
5544 base64-decode-region and just show an error message (bug#7165).
5546 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5547 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5548 a font-spec (bug#7197).
5550 2010-10-14 Glenn Morris <rgm@gnu.org>
5552 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5554 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5556 * international/mule.el (define-coding-system):
5557 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5558 * composite.el (compose-region): Fix typo in docstring.
5560 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5562 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5563 only after checking the theme-face property.
5565 * faces.el (face-spec-reset-face): Reset all attributes in one
5566 single call to set-face-attribute.
5567 (face-spec-match-p): Make it a defsubst.
5568 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5569 (x-create-frame-with-faces, tty-create-frame-with-faces)
5570 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5571 frame-set-background-mode, since they are recomputed immediately
5572 afterwards in face-set-after-frame-default.
5573 (face-set-after-frame-default): Minor optimization.
5574 (cursor): Provide non-trivial defface spec.
5576 * custom.el (custom-theme-recalc-face): Simplify.
5578 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5580 * calc/calc-alg.el (math-var): Rename from `var'.
5581 (math-is-polynomial, math-is-poly-rec): Replace `var'
5584 * calc/calcalg2.el (math-var): Rename from `var'.
5585 (calcFunc-table, math-scan-for-limits): Replace `var'
5588 2010-10-13 Glenn Morris <rgm@gnu.org>
5590 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5592 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5594 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5596 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598 * net/tls.el (tls-program): Remove spurious %s from openssl.
5599 (tls-starttls-switches): Remove starttls hack.
5600 (open-tls-stream): Ditto.
5601 (tls-find-starttls-argument): Ditto.
5603 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5605 * image.el (image-library-alist): Declare as obsolete alias.
5606 (image-type-available-p): Use `dynamic-library-alist'.
5608 * term/w32-win.el (dynamic-library-alist):
5609 Use instead of `image-library-alist'.
5611 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5613 * subr.el (last): Make it faster. (Bug#7174)
5615 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5617 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5619 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5621 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5622 (describe-theme-1): Extract doc from unloaded themes.
5624 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5626 * themes/tango-theme.el:
5627 * themes/tango-dark-theme.el:
5628 * themes/wheatgrass-theme.el: New files.
5630 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5632 * cus-theme.el (describe-theme, customize-themes)
5633 (custom-theme-save): New commands.
5634 (custom-new-theme-mode-map): Bind C-x C-s.
5635 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5636 (customize-create-theme): New optional arg THEME.
5637 (custom-theme-revert): Use it.
5638 (custom-theme-visit-theme): Remove dead code.
5639 (custom-theme-merge-theme): Use custom-available-themes.
5640 (custom-theme-write): Make interactive.
5641 (custom-theme-write): Use custom-theme-name-valid-p.
5642 (describe-theme-1, custom-theme-choose-revert)
5643 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5645 (custom-theme-allow-multiple-selections): New option.
5646 (custom-theme-choose-mode): New major mode.
5648 * custom.el (custom-theme-set-variables): Remove dead code.
5649 Obey custom--inhibit-theme-enable.
5650 (custom--inhibit-theme-enable): New var.
5651 (provide-theme): Obey it.
5652 (load-theme): Replace load with manual read/eval, in order to
5653 check for correctness. Use custom-theme-name-valid-p.
5654 (custom-theme-name-valid-p): New function.
5655 (custom-available-themes): Use it.
5657 * cus-edit.el (custom--initialize-widget-variables): New function.
5658 (Custom-mode): Use it.
5660 * cus-face.el (custom-theme-set-faces): Remove dead code.
5661 Obey custom--inhibit-theme-enable.
5663 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5665 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5667 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5669 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5671 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5672 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5673 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5675 * cus-start.el (all): ns-right-alternate-modifier is new.
5677 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5679 * emacs-lisp/lisp.el (lisp-completion-at-point):
5680 Use emacs-lisp-mode-syntax-table for the whole function.
5682 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5684 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5685 instead of font-lock-mode before adding keywords.
5686 Remove hi-lock-mode off code. Remove inhibit hack.
5687 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5688 non-nil; removed hook inhibit hack.
5690 2010-10-12 Glenn Morris <rgm@gnu.org>
5692 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5693 (load-path-shadows-find): ... to this.
5694 (list-load-path-shadows): Update for above change.
5696 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5698 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5700 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5701 Fix comment for declare-function.
5703 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5705 * custom.el (custom-fix-face-spec): New function; code moved from
5706 custom-face-edit-fix-value.
5707 (custom-push-theme): Use it when checking if a face has been
5708 changed outside customize.
5709 (custom-available-themes): New function.
5710 (load-theme): Use it.
5712 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5714 * custom.el (custom-push-theme): Cleanup (use cond).
5715 (disable-theme): Recompute the saved-face property.
5716 (custom-theme-recalc-face): Follow face alias before setting prop.
5718 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5719 New variables, containing checkbox images.
5721 * startup.el (fancy-startup-tail):
5722 * wid-edit.el (checkbox): Use them.
5724 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5726 * shell.el (shell-mode-map):
5727 * progmodes/modula2.el (m2-mode-map):
5728 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5729 * play/mpuz.el (mpuz-mode-map):
5730 * play/landmark.el (lm-mode-map):
5731 * play/decipher.el (decipher-mode-map):
5732 * play/5x5.el (5x5-mode-map):
5733 * net/telnet.el (telnet-mode-map):
5734 * net/quickurl.el (quickurl-list-mode-map):
5735 * net/mairix.el (mairix-searches-mode-map):
5736 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5737 * net/dig.el (dig-mode-map):
5738 * mail/mspools.el (mspools-mode-map):
5739 * hexl.el (hexl-mode-map):
5740 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5741 (wordstar-C-o-map, wordstar-C-q-map):
5742 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5743 * emacs-lisp/chart.el (chart-map):
5744 * edmacro.el (edmacro-mode-map):
5745 * erc/erc-list.el (erc-list-menu-mode-map):
5746 * array.el (array-mode-map): Declare and define in one step.
5748 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5750 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5752 * epa.el (epa-passphrase-callback-function): Display filename
5753 passed as the 3rd arg.
5754 * epa-file.el (epa-file-passphrase-callback-function):
5755 Pass filename to epa-passphrase-callback-function.
5757 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5759 * cus-edit.el (custom-face-widget-to-spec)
5760 (custom-face-get-current-spec, custom-face-state): New functions.
5761 (custom-face-set, custom-face-mark-to-save)
5762 (custom-face-value-create, custom-face-state-set): Use them.
5764 * cus-theme.el (custom-theme--listed-faces): New var.
5765 (customize-create-theme): Use *Custom Theme* as the buffer name.
5766 Set revert-buffer-function. Optional arg BUFFER. Insert all
5767 faces listed in custom-theme--listed-faces.
5768 (custom-theme-revert): New function.
5769 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5771 (custom-theme-write): Prompt for theme name if empty.
5772 (custom-theme-write-variables): Use dolist.
5773 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5775 2010-10-09 Alan Mackenzie <acm@muc.de>
5777 Enhance fontification of declarators to take account of the
5778 presence/absence of "typedef".
5780 * cc-engine.el (c-forward-type): New &optional param
5782 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5783 presence of either or both of a "struct"-like keyword and "typedef".
5785 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5786 fontification of declarators which follow a "}".
5787 (c-font-lock-declarations): Fontify declarators according to the
5788 presence/absence of "typedef".
5790 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5792 (c-typedef-decl-key): New lang variable built from
5793 c-typedef-decl-kwds.
5795 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5797 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5798 since that's too annoying. Move the filter groups commands to
5801 * epa.el (epa-passphrase-callback-function): Say what we're
5802 querying the password for.
5804 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5805 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5807 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5809 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5810 (custom-magic-value-create): Pad button tags with spaces.
5811 (custom-face-edit): New variable.
5812 (custom-face-value-create): Determine whether to use the usual
5813 face editor here, instead of using custom-face-selected.
5814 Pass face defaults to custom-face-edit widget.
5815 (custom-face-selected, custom-display-unselected): Delete widgets.
5816 (custom-display-unselected-match): Function removed.
5817 (custom-face-set, custom-face-mark-to-save):
5818 Accept custom-face-edit widgets as the direct widget child.
5820 * wid-edit.el (widget--completing-widget): New var.
5821 (widget-default-complete): Bind it when doing completion.
5822 (widget-string-complete, widget-file-complete): Use it.
5824 2010-10-09 Glenn Morris <rgm@gnu.org>
5826 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5827 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5828 (holiday-hebrew-misc): Small simplifications.
5830 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5832 * net/browse-url.el: Don't require thingatpt, term, dired,
5833 executable, or w3-auto when compiling.
5834 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5836 (browse-url-text-emacs): Require term.
5838 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5840 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5842 2010-10-08 Glenn Morris <rgm@gnu.org>
5844 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5846 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5847 (shadows-compare-text-p): Make it an obsolete alias for...
5848 (load-path-shadows-compare-text): ... new name.
5849 (find-emacs-lisp-shadows): Update for above name change.
5850 (load-path-shadows-same-file-or-nonexistent): New name for the old
5851 shadow-same-file-or-nonexistent.
5853 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5855 * minibuffer.el (completion--some, completion--do-completion)
5856 (minibuffer-complete-and-exit, minibuffer-completion-help)
5857 (completion-basic-try-completion)
5858 (completion-basic-all-completions)
5859 (completion-pcm--find-all-completions): Use lexical-let to
5860 avoid some false matches in variable completion (Bug#7056)
5862 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5864 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5866 2010-10-08 Leo <sdl.web@gmail.com>
5868 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5869 return non-nil if the file exists (Bug#7090).
5871 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5873 * minibuffer.el (completion--replace):
5874 Better preserve markers (bug#7138).
5876 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5878 * server.el (server-process-filter): Doc fix.
5880 2010-10-08 Drew Adams <drew.adams@oracle.com>
5882 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5884 2010-10-08 Glenn Morris <rgm@gnu.org>
5886 * vc/ediff-wind.el (ediff-setup-control-frame):
5887 * vc/ediff-ptch.el (ediff-default-backup-extension):
5888 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5889 (ediff-exec-process): Remove system-types emx, windows-95.
5891 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
5893 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
5895 * cus-edit.el (custom-variable, custom-face): Doc fix.
5896 (custom-face-edit): Add value-create attribute.
5897 (custom-face-edit-value-create)
5898 (custom-face-edit-value-visibility-action): New functions.
5899 Hide unused face attributes by default, and add a visibility toggle.
5900 (custom-face-edit-deactivate): Show empty values with shadow face.
5901 (custom-face-selected): Only use this for face specs with default
5903 (custom-face-value-create): Cleanup.
5905 * wid-edit.el (widget-checklist-value-create): Use dolist.
5906 (widget-checklist-match-find): Make second arg optional.
5908 2010-10-07 Glenn Morris <rgm@gnu.org>
5910 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5913 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5914 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5915 load-path-shadows-mode, update references.
5916 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5917 Rename variable and button.
5918 (list-load-path-shadows): Update button caller.
5920 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * emacs-lisp/smie.el (smie-bnf-classify): New function.
5923 (smie-bnf-precedence-table): Use it to remember the closers/openers.
5924 (smie-merge-prec2s): Handle those new entries.
5925 (smie-prec2-levels): Only set precedence to nil for actual
5927 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5928 that is now unnecessary.
5930 2010-10-07 Miles Bader <miles@gnu.org>
5932 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5934 2010-10-07 Glenn Morris <rgm@gnu.org>
5936 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5937 (mail-position-on-field): Remove declarations.
5938 (mail-position-on-field): Autoload it.
5939 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5940 and mail-header-end. Don't require sendmail.
5942 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5943 (shadow-mode): New mode.
5944 (shadow-find-file): New button.
5945 (list-load-path-shadows): Use shadow-mode and buttons.
5947 * iimage.el (iimage-version): Remove.
5948 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5949 Turn into defcustoms.
5950 (iimage-mode-map): Give it a doc string.
5952 * calendar/appt.el (appt-activate): Give a warning rather than an error
5953 if there is no diary-file.
5955 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
5957 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5958 Use `tramp-handle-find-backup-file-name'.
5960 2010-10-06 Glenn Morris <rgm@gnu.org>
5962 * font-core.el (font-lock-defaults-alist): Remove variable.
5963 (font-lock-mode): Doc fix.
5964 (font-lock-default-function): Do not consult font-lock-defaults-alist.
5965 * font-lock.el (font-lock-refresh-defaults): Doc fix.
5966 (font-lock-set-defaults): Doc fix.
5967 Do not consult font-lock-defaults-alist.
5969 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5971 * emacs-lisp/cl.el: No longer provide cl-19.
5973 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
5975 * net/tramp.el (tramp-handle-directory-files-and-attributes)
5976 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5977 New defuns, taken from tramp-smb.el.
5978 (tramp-coding-system-change-eol-conversion)
5979 (tramp-set-process-query-on-exit-flag): Remove.
5981 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5982 (tramp-compat-coding-system-change-eol-conversion)
5983 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5986 * net/tramp-gvfs.el:
5987 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5988 by `tramp-compat-set-process-query-on-exit-flag'.
5990 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5991 Use `tramp-handle-directory-files-and-attributes',
5992 `tramp-handle-file-exists-p' and
5993 `tramp-handle-file-newer-than-file-p'.
5994 (tramp-imap-handle-file-exists-p)
5995 (tramp-imap-handle-file-executable-p)
5996 (tramp-imap-handle-file-readable-p)
5997 (tramp-imap-handle-directory-files-and-attributes)
5998 (tramp-imap-handle-file-newer-than-file-p): Remove.
6000 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6001 by `tramp-compat-set-process-query-on-exit-flag' and
6002 `tramp-coding-system-change-eol-conversion' by
6003 `tramp-compat-coding-system-change-eol-conversion'.
6005 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6006 Use `tramp-handle-directory-files-and-attributes',
6007 `tramp-handle-file-exists-p' and
6008 `tramp-handle-file-newer-than-file-p'.
6009 (tramp-smb-handle-directory-files-and-attributes)
6010 (tramp-smb-handle-file-exists-p)
6011 (tramp-smb-handle-file-newer-than-file-p): Remove.
6012 (tramp-smb-maybe-open-connection):
6013 Replace `tramp-set-process-query-on-exit-flag' by
6014 `tramp-compat-set-process-query-on-exit-flag'.
6016 2010-10-05 Glenn Morris <rgm@gnu.org>
6018 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6020 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6022 Continue reorganization of load dependencies. (Bug#7156)
6024 * net/tramp.el (tramp-handle-file-local-copy-hook)
6025 (tramp-delete-temp-file-function): Move down.
6026 (tramp-exists-file-name-handler): Move up.
6027 (tramp-register-file-name-handlers): Simplify autoload.
6028 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6029 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6030 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6031 (tramp-handle-file-name-completion)
6032 (tramp-handle-file-name-directory)
6033 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6034 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6035 (tramp-handle-find-backup-file-name)
6036 (tramp-handle-insert-file-contents, tramp-handle-load)
6037 (tramp-handle-substitute-in-file-name)
6038 (tramp-handle-unhandled-file-name-directory)
6039 (tramp-mode-string-to-int, tramp-local-host-p)
6040 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6042 * net/tramp-gvfs.el (top):
6043 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6045 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6046 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6048 2010-10-04 Glenn Morris <rgm@gnu.org>
6050 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6051 (appt-activate): Give status messages.
6053 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6055 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6056 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6057 `gnutls-negotiate' (formerly `starttls-negotiate').
6058 Remove trivial wrapper `starttls-open-stream'.
6060 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6062 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6063 log-outgoing commands.
6064 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6065 to create a buffer local revert-buffer-function variable.
6066 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6067 revert-buffer-function lambda.
6069 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6071 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6072 `gnutls-boot'. Make TYPE the only required parameter.
6073 Allow TRUSTFILES and KEYFILES to be lists.
6074 (open-ssl-stream): Use it.
6076 2010-10-03 Glenn Morris <rgm@gnu.org>
6078 * subr.el (directory-sep-char): Remove obsolete variable.
6079 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6082 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6083 * vc/vc.el (vc-static-header-alist): Doc fix.
6084 * vc/vc-cvs.el (vc-cvs-header):
6085 * vc/vc-rcs.el (vc-rcs-header):
6086 * vc/vc-sccs.el (vc-sccs-header):
6087 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6088 * obsolete/vc-mcvs.el (vc-mcvs-header):
6089 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6092 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6094 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6095 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6097 2010-10-03 Glenn Morris <rgm@gnu.org>
6099 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6101 * textmodes/rst.el (rst-font-lock-keywords-function):
6104 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6106 * printing.el: Drop Emacs 20 code.
6108 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6109 without having used appt.el already).
6111 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6112 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6113 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6115 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6116 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6118 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6119 (charset-width, find-charset-region, chars-in-region, forward-point)
6120 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6121 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6122 Remove compatibility cruft (none of these are used by ps*.el).
6124 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6126 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6128 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6130 * server.el (server-process-filter, server-return-error):
6131 Give emacsclient time to shut down after receiving an error string.
6133 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6135 * files.el (remote-file-name-inhibit-cache): New defcustom.
6137 * time.el (display-time-file-nonempty-p):
6138 Use `remote-file-name-inhibit-cache'.
6140 * net/tramp.el (tramp-completion-reread-directory-timeout):
6143 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6144 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6145 `remote-file-name-inhibit-cache'. Check also for an integer
6146 value. Add/increase counter when `tramp-verbose' >= 10.
6147 (tramp-set-file-property): Add/increase counter when
6148 `tramp-verbose' >= 10.
6150 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6151 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6152 (tramp-bug): Set tramp-autoload cookie. Report all interned
6153 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6154 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6155 characters only in strings.
6157 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6158 to backward compatibility.
6160 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6161 (tramp-handle-file-name-all-completions)
6162 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6163 (tramp-open-connection-setup-interactive-shell):
6164 Call `tramp-cleanup-connection' directly.
6166 2010-10-02 Glenn Morris <rgm@gnu.org>
6168 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6170 * subr.el (char-bytes): Remove obsolete function.
6172 * isearch.el (isearch-return-char): Remove obsolete function.
6174 * mouse.el: No longer provide mldrag.
6175 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6176 Remove obsolete aliases.
6178 * comint.el (comint-kill-output): Remove obsolete alias.
6180 * composite.el (decompose-composite-char): Remove obsolete function.
6181 * ps-def.el (decompose-composite-char): Remove unused function.
6183 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6185 * outline.el (outline-visible): Remove obsolete function.
6187 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6188 * faces.el (internal-find-face, internal-get-face)
6189 (frame-update-faces, frame-update-face-colors)
6190 (x-frob-font-weight, x-frob-font-slant)
6191 (internal-frob-font-weight, internal-frob-font-slant)
6192 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6193 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6194 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6196 * emulation/viper-util.el (viper-get-face):
6197 * obsolete/lucid.el (find-face, get-face): Use facep.
6198 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6199 Remove unused functions.
6200 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6202 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6203 delete tempfile if interrupted during compilation.
6205 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6207 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6209 (tls-program): Add --insecure to be consistent with the defaults from
6210 openssl s_client. Now all three commands are insecure.
6212 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6214 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6215 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6216 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6218 2010-10-01 Glenn Morris <rgm@gnu.org>
6220 * obsolete/sc.el: Remove file.
6222 * files.el (temporary-file-directory): On darwin, also try
6223 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6225 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6227 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6228 Let's not break compatibility gratuitously, shall we?
6230 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6232 * net/tls.el (tls-starttls-switches): New variable.
6233 (tls-find-starttls-argument): Use it.
6234 (open-tls-stream): Ditto.
6236 * net/netrc.el (netrc-credentials): Return the value of the "default"
6238 (netrc-machine): Ditto.
6240 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6242 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6244 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6246 * server.el (server-start): Don't write pid to the authentication file.
6247 (server-create-tty-frame): Don't send pid.
6248 (server-process-filter): Send pid at the start of every connection.
6250 2010-09-30 Glenn Morris <rgm@gnu.org>
6252 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6253 (show-all-diary-entries): Remove obsolete function aliases.
6255 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6256 Remove options, obsolete since 22.1.
6257 (appt-display-format, appt-display-message):
6258 Remove backwards-compatibility code.
6259 (appt-check): No longer check appt-issue-message.
6260 (appt-make-list): No longer autoload it. Doc fix. No longer
6261 activate the package.
6263 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6265 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6266 (starttls-negotiate): Just call boot, and let the handshake be
6267 triggered from the read loop.
6269 2010-09-29 Glenn Morris <rgm@gnu.org>
6271 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6272 not displaying the diary.
6273 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6274 * calendar/appt.el (appt-check): No longer need to kill diary.
6276 * calendar/diary-lib.el (diary-list-entries): Move the
6277 "Preparing..." message entirely here.
6278 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6279 messages to diary-list-entries.
6280 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6281 diary-display-function.
6283 * calendar/diary-lib.el (diary-include-other-diary-files):
6284 Trap some recursive includes.
6286 * calendar/appt.el (appt-activate): Check diary file.
6288 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6290 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6293 * calendar/time-date.el: No need to require cl for Emacs 21.
6295 2010-09-28 Glenn Morris <rgm@gnu.org>
6297 * calendar/appt.el (appt-check): Minor simplification.
6299 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6301 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6304 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6306 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6307 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6309 2010-09-27 Kenichi Handa <handa@m17n.org>
6311 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6314 2010-09-27 Kenichi Handa <handa@m17n.org>
6316 * international/mule.el (define-coding-system): Docstring fixed.
6318 * international/mule-diag.el (describe-character-set): Use princ
6319 with proper print-length and print-level instead of insert.
6321 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6323 * window.el (walk-windows): Doc fix (bug#7105).
6325 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * emacs-lisp/float-sup.el (e): Remove.
6329 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6331 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6333 (starttls-negotiate): Use it.
6335 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6337 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6340 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6342 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6344 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6348 * net/netrc.el (netrc-store-data): New function.
6350 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6352 * net/gnutls.el: GnuTLS glue code to set up a connection.
6354 2010-09-25 Julien Danjou <julien@danjou.info>
6356 * notifications.el: Call dbus-register-signal only if it is bound.
6358 2010-09-25 Glenn Morris <rgm@gnu.org>
6360 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6361 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6362 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6363 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6364 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6365 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6366 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6367 * eshell/esh-util.el, eshell/esh-var.el:
6368 Remove leading `*' from docs of faces and defcustoms.
6370 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6372 * eshell/em-ls.el (eshell-ls-archive-regexp):
6373 * eshell/esh-util.el (eshell-tar-regexp):
6374 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6375 * info.el (Info-suffix-list):
6376 * international/mule.el (auto-coding-alist):
6377 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6378 * progmodes/etags.el (tags-compression-info-list):
6379 Support xz compression.
6381 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6383 * files.el (get-free-disk-space): Don't assume the "df" output
6384 columns line up (Bug#6995).
6386 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6388 * finder.el (finder-unknown-keywords):
6389 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6390 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6392 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6394 * server.el (server-start): Revert part of 2010-08-08 change. Using
6395 address 127.0.0.1 for local host is now done in Fmake_network_process.
6397 2010-09-24 Glenn Morris <rgm@gnu.org>
6399 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6400 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6401 * textmodes/css-mode.el, textmodes/dns-mode.el:
6402 Move autoloaded auto-mode-alist entries to files.el.
6403 * files.el (auto-mode-alist): Move entries here.
6405 2010-09-23 Glenn Morris <rgm@gnu.org>
6407 * isearch.el (isearch-lazy-highlight-cleanup)
6408 (isearch-lazy-highlight-initial-delay)
6409 (isearch-lazy-highlight-interval)
6410 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6411 * net/net-utils.el (ipconfig-program-options):
6412 Move aliases to options before the associated definitions.
6414 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * newcomment.el (comment-normalize-vars): Better test validity of
6419 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6421 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6422 (float-e): New name for `e'.
6423 (degrees-to-radians, radians-to-degrees):
6424 * calendar/solar.el (solar-longitude):
6425 * calculator.el (calculator-registers, calculator-funcall):
6426 * textmodes/artist.el (artist-spray-random-points):
6427 * play/bubbles.el (bubbles--initialize-images): Use new names.
6429 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6431 Update to CEDET 1.0's version of EIEIO.
6433 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6435 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6436 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6437 (class-precedence-list): If class is nil, return nil.
6438 (eieio-generic-call): If class of first input arg is nil, don't
6439 look up static methods, and do check for primary methods.
6440 (initialize-instance): See if the default needs to be evaluated
6441 during the constructor.
6442 (eieio-perform-slot-validation-for-default): Don't do the check
6443 for values that will eventually be evaluated.
6444 (eieio-eval-default-p): New function.
6445 (eieio-default-eval-maybe): Use it.
6447 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6449 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6450 method-invocation-order.
6451 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6452 (eieio-class-precedence-dfs): Compute class precedence list using
6454 (eieio-class-precedence-bfs): Compute class precedence list using
6456 (eieio-class-precedence-c3): Compute class precedence list using
6458 (class-precedence-list): New function.
6459 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6460 (inconsistent-class-hierarchy): New error symbol.
6461 (call-next-method): Stow the replacement argument list for future
6462 call-next-method invocations.
6464 2010-09-23 Glenn Morris <rgm@gnu.org>
6466 * calendar/appt.el (appt-check): If not displaying the diary,
6467 use (diary 1) to only get the entries we need.
6468 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6469 that it is in day order. (Bug#7019)
6471 * calendar/appt.el (appt-check): Rather than showing the diary,
6472 just turn off invisible display, and only if needed.
6474 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6476 2010-09-23 Glenn Morris <rgm@gnu.org>
6478 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6479 (byte-compile-defvar, byte-compile-cl-warn):
6480 Start warnings with lower-case, like the majority.
6482 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6484 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6486 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6487 * files.el (auto-mode-alist): Move ld-script entries here, further down
6490 * vc/add-log.el: Don't require timezone when compiling.
6491 (timezone-make-date-sortable): Autoload it.
6492 (change-log-sortable-date-at): Don't require timezone.
6493 Use `ignore-errors'.
6495 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6496 Move alias before definition, so it does not need autoloading.
6498 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6499 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6500 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6501 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6502 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6503 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6504 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6505 * textmodes/tex-mode.el, textmodes/two-column.el:
6506 Remove leading `*' from docs of defcustoms etc.
6508 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6510 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6512 2010-09-22 Dan Christensen <jdc@uwo.ca>
6514 * calendar/time-date.el (date-to-time): Try using parse-time-string
6515 first before using the slower timezone-make-date-arpa-standard.
6517 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6519 * calendar/time-date.el (format-seconds): Comment fix.
6521 2010-09-22 Glenn Morris <rgm@gnu.org>
6523 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6524 is not automatically buffer-local.
6526 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6529 (smie-indent-comment): Be more careful with comment-start-skip.
6530 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6531 (smie-indent-functions): Use them.
6533 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6535 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6537 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6539 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6540 tool-bar-position. Don't modify frame parameters here.
6541 (menu-bar-options-save): Add tool-bar-position.
6543 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6545 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6547 * textmodes/reftex-parse.el (reftex-what-macro)
6548 (reftex-context-substring): Let-bind forward-sexp-function to nil
6549 since we don't need/want to treat \begin...\end as a block (bug#7053).
6551 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6553 * simple.el (blink-matching-open): Use syntax-class.
6555 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6556 Set invisibility spec for pascal's outline mode.
6557 (pascal-outline-change): Clean up calling convention.
6558 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6560 * progmodes/prolog.el (prolog-smie-forward-token)
6561 (prolog-smie-backward-token): New functions.
6562 (prolog-mode-variables): Use them to parse "!," correctly.
6563 Set up smie-blink-matching for ".".
6565 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6567 (ispell-region, ispell-process-line): Update users.
6569 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6572 * textmodes/ispell.el: Fix commenting convention.
6573 (ispell-parse-output): Simplify, use push.
6574 (ispell-region): Use match-string-no-properties.
6575 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6576 (ispell-minor-mode): Use define-minor-mode.
6577 (ispell-message): Remove unused var `skip-regexp'.
6578 (ispell-add-per-file-word-list): Use dynamic let-binding.
6579 Try and use the proper comment marker.
6581 * mail/sendmail.el: Fix commenting convention.
6582 (sendmail-send-it): Use line-beginning-position.
6584 * help-fns.el (describe-variable): Add original value, if applicable.
6586 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6588 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6590 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6592 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6594 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6595 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6596 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6597 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6598 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6599 something like "." can also be a closer.
6600 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6601 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6602 Rename internal functions to use "--". Update callers.
6604 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6606 * fringe.el (fringe-styles): New var.
6607 (fringe-mode, fringe-query-style): Use it.
6609 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6611 * progmodes/sql.el: Version 2.8
6612 (sql-login-params): Update widget structure; changes still needed.
6613 (sql-product-alist): Add :list-all and :list-table features for
6614 SQLite, Postgres and MySQL products.
6615 (sql-redirect): Handle default value.
6616 (sql-execute, sql-execute-feature): New functions.
6617 (sql-read-table-name): New function.
6618 (sql-list-all, sql-list-table): New functions. User API.
6619 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6620 for above functions.
6621 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6622 for above functions.
6623 (sql-postgres-login-params): Add user and database defaults.
6624 (sql-buffer-live-p): Bug fix.
6625 (sql-product-history): New variable.
6626 (sql-read-product): New function. Use it.
6627 (sql-set-product, sql-product-interactive): Use it.
6628 (sql-connection-history): New variable.
6629 (sql-read-connection): New function. Use it.
6630 (sql-connect): New function.
6631 (sql-for-each-login): Redesign function interface.
6632 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6633 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6634 (sql-comint): Check for program. Existing live buffer.
6635 (sql-comint-postgres): Add port parameter.
6637 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * emacs-lisp/warnings.el: Fix commenting convention.
6640 (display-warning): Use special mode and make the buffer read-only.
6642 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6644 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6645 empty string when it follows a repeated or optional pattern.
6647 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6649 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6650 (indent-region): Use indent-according-to-mode.
6652 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6654 * fringe.el (fringe-mode): Doc fix.
6656 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6658 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6659 refreshing the preview buffer.
6661 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6663 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6664 (latex-syntax-propertize-rules): New consts; replace
6665 tex-font-lock-syntactic-keywords.
6666 (tex-env-mark, latex-env-before-change): New functions.
6667 (latex-electric-env-pair-mode): New minor mode.
6668 (tex-font-lock-verb): Change arguments; do move point.
6669 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6670 representation as a form of comment.
6671 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6672 (doctex-syntax-propertize-rules): New const; replaces
6673 doctex-font-lock-syntactic-keywords.
6674 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6676 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6677 (fortran-make-syntax-propertize-function): New function; replaces
6678 fortran-font-lock-syntactic-keywords.
6679 (fortran-mode): Use it.
6680 (fortran-line-length): Use it. Improve interactive spec.
6682 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6683 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6684 when adding surrounding \(..\).
6686 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6688 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6690 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6691 Use with-current-buffer.
6693 * isearch.el (isearch-face): Rename from `isearch'.
6694 (isearch-highlight): Use new name.
6696 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6698 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6699 5, for `half' width fringes. (Bug#6933)
6701 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6704 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6706 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6708 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6710 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6711 in calculating new frame position. Add more space between new and
6712 parent on the left (Bug#7048).
6714 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6716 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6719 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6721 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6723 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6724 obsolete alias for x-selection-value.
6726 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6728 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6730 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6733 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6735 * net/tramp-compat.el (tramp-compat-with-temp-message)
6736 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6737 (tramp-compat-process-put): New defuns.
6739 * net/tramp.el (top):
6740 * net/tramp-gvfs.el (top):
6741 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6743 * net/tramp.el (tramp-progress-reporter-update):
6744 Use `tramp-compat-funcall'.
6746 * net/tramp.el (tramp-process-actions):
6747 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6748 * net/tramp-sh.el (tramp-handle-vc-registered)
6749 (tramp-get-remote-stat, tramp-get-remote-readlink):
6750 Use `tramp-compat-with-temp-message'.
6752 * net/tramp-sh.el (top): Require 'cl.
6753 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6754 (tramp-open-connection-setup-interactive-shell):
6755 Use `tramp-compat-process-put'.
6757 2010-09-15 Alan Mackenzie <acm@muc.de>
6759 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6761 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6763 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6765 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6766 `lexical' for warnings related to lexical scoping.
6767 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6768 global vars which don't have a prefix and could hence affect lexical
6769 scoping in unrelated files.
6771 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6773 * net/imap.el: Revert back to version
6774 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6777 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6779 * obsolete/old-whitespace.el (whitespace-unload-function):
6780 Explicitly pass `obarray' to `unintern' to avoid a warning.
6782 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6785 Add `when' argument. Update callers.
6787 * subr.el (unintern): Declare the obarray arg mandatory.
6789 2010-09-14 Glenn Morris <rgm@gnu.org>
6791 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6794 * calendar/diary-lib.el (diary-included-files): New variable.
6795 (diary-list-entries): Maybe initialize diary-included-files.
6796 (diary-include-other-diary-files): Append to diary-included-files.
6797 * calendar/appt.el (appt-update-list): Also check the members of
6798 diary-included-files. (Bug#6999)
6799 (appt-check): Doc fix.
6801 2010-09-14 David Reitter <david.reitter@gmail.com>
6803 * simple.el (line-move-visual): Do not truncate goal column to
6804 integer size. (Bug#7020)
6806 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6808 * repeat.el (repeat): Allow repeating when the last event is a click.
6809 Suggested by Drew Adams (bug#6256).
6811 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6813 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6814 Replace setting HGRCPATH to "" by some less invasive --config options.
6816 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * font-lock.el (font-lock-beginning-of-syntax-function):
6821 2010-09-14 Glenn Morris <rgm@gnu.org>
6823 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6824 and tool-bar modes. (Bug#6211)
6825 (menu-bar-mode): Move setting of standard-value after the
6826 minor-mode definition, otherwise it seems to have no effect.
6828 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6830 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6831 Fix typo. (Bug#6976)
6833 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6835 * whitespace.el: Allow cleaning up blanks without blank
6836 visualization (Bug#6651). Adjust help window for
6837 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6838 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6839 (whitespace-style): Add new value 'face. Adjust docstring.
6840 (whitespace-space, whitespace-hspace, whitespace-tab):
6841 Adjust foreground property face.
6842 (whitespace-line-column): Adjust docstring and type declaration.
6843 (whitespace-style-value-list, whitespace-toggle-option-alist)
6844 (whitespace-help-text): Adjust const initialization.
6845 (whitespace-toggle-options, global-whitespace-toggle-options):
6847 (whitespace-display-window, whitespace-interactive-char)
6848 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6849 (whitespace-help-scroll): New fun.
6851 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6853 * calendar/time-date.el (format-seconds): Comment fix.
6855 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6857 * progmodes/sql.el: Version 2.7.
6858 (sql-buffer-live-p): Improve detection.
6859 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6860 (sql-set-sqli-buffer): Use it.
6861 (sql-product-interactive): Run `sql-set-sqli-hook'.
6862 (sql-rename-buffer): Code cleanup.
6863 (sql-redirect, sql-redirect-value): New functions. More to come.
6865 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6867 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.
6868 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6869 (TRAMP_SRC): New macro.
6870 ($(lisp)/net/tramp-loaddefs.el): New target.
6872 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6874 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6876 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6878 * net/tramp.el (top): Don't show loading message. Require just
6879 'tramp-compat, everything else is required there.
6880 Use `ignore-errors' where appropriate.
6881 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6882 (tramp-terminal-type, tramp-end-of-output)
6883 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6884 (tramp-completion-function-alist-ssh)
6885 (tramp-completion-function-alist-telnet)
6886 (tramp-completion-function-alist-su)
6887 (tramp-completion-function-alist-putty, tramp-remote-path)
6888 (tramp-remote-process-environment, tramp-sh-extra-args)
6889 (tramp-actions-before-shell, tramp-uudecode)
6890 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6891 (tramp-perl-file-attributes)
6892 (tramp-perl-directory-files-and-attributes)
6893 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6894 (tramp-perl-encode, tramp-perl-decode)
6895 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6896 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6897 (tramp-handle-make-symbolic-link, tramp-handle-load)
6898 (tramp-handle-file-name-as-directory)
6899 (tramp-handle-file-name-directory)
6900 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6901 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6902 (tramp-do-file-attributes-with-ls)
6903 (tramp-do-file-attributes-with-perl)
6904 (tramp-do-file-attributes-with-stat)
6905 (tramp-handle-set-visited-file-modtime)
6906 (tramp-handle-verify-visited-file-modtime)
6907 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6908 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6909 (tramp-handle-file-selinux-context)
6910 (tramp-handle-set-file-selinux-context)
6911 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6912 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6913 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6914 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6915 (tramp-handle-file-ownership-preserved-p)
6916 (tramp-handle-directory-file-name, tramp-handle-directory-files)
6917 (tramp-handle-directory-files-and-attributes)
6918 (tramp-do-directory-files-and-attributes-with-perl)
6919 (tramp-do-directory-files-and-attributes-with-stat)
6920 (tramp-handle-file-name-all-completions)
6921 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6922 (tramp-handle-copy-file, tramp-handle-copy-directory)
6923 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6924 (tramp-do-copy-or-rename-file-via-buffer)
6925 (tramp-do-copy-or-rename-file-directly)
6926 (tramp-do-copy-or-rename-file-out-of-band)
6927 (tramp-handle-make-directory, tramp-handle-delete-directory)
6928 (tramp-handle-delete-file)
6929 (tramp-handle-dired-recursive-delete-directory)
6930 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6931 (tramp-handle-insert-directory)
6932 (tramp-handle-unhandled-file-name-directory)
6933 (tramp-handle-expand-file-name)
6934 (tramp-handle-substitute-in-file-name)
6935 (tramp-handle-executable-find, tramp-process-sentinel)
6936 (tramp-handle-start-file-process, tramp-handle-process-file)
6937 (tramp-handle-call-process-region, tramp-handle-shell-command)
6938 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6939 (tramp-handle-insert-file-contents)
6940 (tramp-handle-insert-file-contents-literally)
6941 (tramp-handle-find-backup-file-name)
6942 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6943 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6944 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6945 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6946 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6947 (tramp-find-file-exists-command, tramp-open-shell)
6948 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6949 (tramp-open-connection-setup-interactive-shell)
6950 (tramp-local-coding-commands, tramp-remote-coding-commands)
6951 (tramp-find-inline-encoding, tramp-call-local-coding-command)
6952 (tramp-inline-compress-commands, tramp-find-inline-compress)
6953 (tramp-compute-multi-hops, tramp-maybe-open-connection)
6954 (tramp-send-command, tramp-wait-for-output)
6955 (tramp-send-command-and-check, tramp-barf-unless-okay)
6956 (tramp-send-command-and-read, tramp-mode-string-to-int)
6957 (tramp-convert-file-attributes, tramp-check-cached-permissions)
6958 (tramp-file-mode-from-int, tramp-file-mode-permissions)
6959 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6960 (tramp-method-out-of-band-p, tramp-local-host-p)
6961 (tramp-get-remote-path, tramp-get-remote-tmpdir)
6962 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6963 (tramp-get-test-command, tramp-get-test-nt-command)
6964 (tramp-get-file-exists-command, tramp-get-remote-ln)
6965 (tramp-get-remote-perl, tramp-get-remote-stat)
6966 (tramp-get-remote-readlink, tramp-get-remote-trash)
6967 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6968 (tramp-get-local-uid, tramp-get-local-gid)
6969 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6971 (tramp-methods, tramp-default-method-alist)
6972 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6973 Move initialization to tramp-sh.el.
6974 (tramp-temp-name-prefix): Make it a defconst.
6975 (tramp-dissect-file-name): Don't check anymore for multi-hop
6977 (tramp-debug-outline-regexp): Add a docstring.
6978 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6979 (tramp-get-debug-buffer): Use it.
6981 * net/tramp-cache.el (top): Set tramp-autoload cookie for
6982 initialization forms.
6983 (tramp-set-connection-property): Don't protect `tramp-message'
6984 call, it isn't necessary any longer.
6985 (tramp-dump-connection-properties): Use `ignore-errors'.
6987 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6988 'password-cache and 'auth-source.
6990 * net/tramp-gvfs.el (top):
6991 * net/tramp-smb.el (top): Require 'tramp-sh.
6993 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6995 * net/tramp-sh.el: New file, derived from tramp.el.
6996 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6997 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6998 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6999 Use `ignore-errors' where appropriate.
7000 (tramp-sh-file-name-handler-alist): Rename from
7001 `tramp-file-name-handler-alist'.
7002 (tramp-send-command-and-check): Return t or nil. Remove all
7003 `zerop' checks, where called.
7004 (tramp-handle-set-file-modes)
7005 (tramp-do-copy-or-rename-file-directly)
7006 (tramp-handle-delete-directory, tramp-handle-delete-file)
7007 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7008 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7009 (tramp-get-remote-ln): Set tramp-autoload cookie.
7011 * net/tramp-fish.el: Remove file.
7013 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7015 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7016 buffer-file-name to avoid file-locking. (Bug#7026)
7018 2010-09-13 Julien Danjou <julien@danjou.info>
7020 * notifications.el (notifications-notify): Add support for
7021 image-path and sound-name.
7022 (notifications-specification-version): Add this variable.
7024 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7026 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7028 2010-09-12 Leo <sdl.web@gmail.com>
7030 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7031 (rcirc-completion-start): New variables.
7032 (rcirc-nick-completions): Rename to rcirc-completions.
7033 (rcirc-nick-completion-start-offset): Delete.
7034 (rcirc-completion-at-point): New function for constructing
7035 completion data for both nicks and irc commands. Add to
7036 completion-at-point-functions in rcirc mode.
7037 (rcirc-complete): Rename from rcirc-nick-complete; use
7038 rcirc-completion-at-point.
7039 (defun-rcirc-command): Update rcirc-client-commands.
7041 2010-09-11 Glenn Morris <rgm@gnu.org>
7043 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7044 atomically, to avoid parallel build errors. (Bug#4196)
7046 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7048 * progmodes/sql.el: Version 2.6
7049 (sql-dialect): Synonym for "sql-product".
7050 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7051 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7052 Set "sql-buffer" to buffer name not buffer object so multiple sql
7053 interactive buffers work properly. Reverts misguided changes in
7055 (sql-comint): Make sure different buffer name is used if "*SQL*"
7056 buffer is for a different product.
7057 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7059 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7060 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7061 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7062 Accept new buffer name or prompt for one.
7063 (sql-port): Default to zero.
7064 (sql-comint-mysql): Handle "sql-port" as a numeric.
7065 (sql-port-history): Delete unused variable.
7066 (sql-get-login): Default "sql-port" to a number.
7067 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7068 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7069 "sqlite3" executables.
7070 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7071 (sql-buffer-live-p): New function.
7072 (sql-mode-menu, sql-send-string): Use it.
7073 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7075 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7076 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7078 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080 * net/netrc.el (netrc-credentials): New convenience function.
7082 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7085 to replace texinfo-font-lock-syntactic-keywords.
7086 (texinfo-mode): Use it.
7088 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7089 Use syntax-propertize-function.
7091 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7092 replace sgml-font-lock-syntactic-keywords.
7093 (sgml-mode): Use it.
7095 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7096 since we don't use it.
7098 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7100 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7102 (vhdl-fontify-buffer): Adjust.
7104 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7105 replace tcl-font-lock-syntactic-keywords.
7108 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7109 replace simula-font-lock-syntactic-keywords.
7110 (simula-mode): Use it.
7112 * progmodes/sh-script.el (sh-st-symbol): Remove.
7113 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7114 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7115 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7116 (sh-font-lock-paren): Set syntax-multiline.
7117 (sh-font-lock-syntactic-keywords): Remove.
7118 (sh-syntax-propertize-function): New function to replace it.
7121 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7122 Define while compiling.
7123 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7124 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7125 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7126 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7127 (ruby-here-doc-end-syntax): Only define when
7128 syntax-propertize is not available.
7129 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7131 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7132 (electric-indent-chars): Silence bytecompiler.
7133 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7134 electric-indent-chars.
7136 * progmodes/python.el (python-syntax-propertize-function): New var to
7137 replace python-font-lock-syntactic-keywords.
7138 (python-mode): Use it.
7139 (python-quote-syntax): Simplify and adjust to new use.
7141 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7142 replace perl-font-lock-syntactic-keywords.
7143 (perl-syntax-propertize-special-constructs): New fun to replace
7144 perl-font-lock-special-syntactic-constructs.
7145 (perl-font-lock-syntactic-face-function): New fun.
7146 (perl-mode): Use it.
7148 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7149 to replace octave-font-lock-close-quotes.
7150 (octave-syntax-propertize-function): New function to replace
7151 octave-font-lock-syntactic-keywords.
7152 (octave-mode): Use it.
7154 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7155 replaces mixal-font-lock-syntactic-keywords.
7156 (mixal-mode): Use it.
7158 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7159 New var; replaces makefile-font-lock-syntactic-keywords.
7160 (makefile-mode): Use it.
7161 (makefile-imake-mode): Adjust.
7163 * progmodes/js.el (js--regexp-literal): Define while compiling.
7164 (js-syntax-propertize-function): New var; replaces
7165 js-font-lock-syntactic-keywords.
7168 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7169 replaces gdb-script-font-lock-syntactic-keywords.
7170 (gdb-script-mode): Use it.
7172 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7173 (fortran--font-lock-syntactic-keywords): New var.
7174 (fortran-line-length): Update syntax-propertize-function and
7175 fortran--font-lock-syntactic-keywords.
7177 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7179 * progmodes/cfengine.el (cfengine-mode):
7180 Use syntax-propertize-function.
7181 (cfengine-font-lock-syntactic-keywords): Remove.
7183 * progmodes/autoconf.el (autoconf-mode):
7184 Use syntax-propertize-function.
7185 (autoconf-font-lock-syntactic-keywords): Remove.
7187 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7188 (ada-after-change-function, ada-initialize-syntax-table-properties)
7189 (ada-handle-syntax-table-properties): Only define when
7190 syntax-propertize is not available.
7191 (ada-mode): Use syntax-propertize-function.
7193 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7194 (font-lock-fontify-syntactic-keywords-region): Move handling of
7195 font-lock-syntactically-fontified to...
7196 (font-lock-default-fontify-region): ...here.
7197 Let syntax-propertize-function take precedence.
7198 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7200 * emacs-lisp/syntax.el (syntax-propertize-function)
7201 (syntax-propertize-chunk-size, syntax-propertize--done)
7202 (syntax-propertize-extend-region-functions): New vars.
7203 (syntax-propertize-wholelines, syntax-propertize-multiline)
7204 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7205 (syntax-propertize): New functions.
7206 (syntax-propertize-rules): New macro.
7207 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7208 (syntax-ppss): Call syntax-propertize.
7210 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7212 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7214 * textmodes/ispell.el (ispell-init-process): Improve comments.
7215 XEmacs compatibility changes regarding (add-hook) 'local option
7216 and (set-process-query-on-exit-flag).
7218 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7220 * net/tramp-cache.el (tramp-parse-connection-properties):
7221 Set tramp-autoload cookie.
7223 2010-09-09 Glenn Morris <rgm@gnu.org>
7225 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7226 (imagemagick-register-types): Doc fix.
7228 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7232 * progmodes/js.el (require): Require is already "eval-and-compile".
7233 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7234 (js--re-search-backward): Use js--re-search-forward.
7236 * progmodes/fortran.el (fortran-line-length): Don't recompute
7237 syntactic keywords redundantly a second time.
7239 * progmodes/ada-mode.el: Replace "(set '" with setq.
7240 (ada-mode): Simplify.
7241 (ada-create-case-exception, ada-adjust-case-interactive)
7242 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7243 (ada-search-ignore-string-comment, ada-move-to-start)
7244 (ada-move-to-end): Use with-syntax-table.
7246 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7247 (font-lock-unfontify-region, font-lock-default-fontify-region):
7248 Update usage correspondingly.
7249 (font-lock-fontify-syntactic-keywords-region):
7250 Set parse-sexp-lookup-properties buffer-locally here.
7251 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7253 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7255 2010-09-08 Glenn Morris <rgm@gnu.org>
7257 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7258 Error if not compiled with -DBYTE_CODE_METER.
7260 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7261 Ignore dir-locals-file.
7263 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7267 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7268 for the `gnu' messages.
7269 (compilation-set-skip-threshold): New command.
7270 (compilation-start): Use \' rather than $.
7271 (compilation-forget-errors): Use clrhash.
7273 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7275 * textmodes/ispell.el (ispell-valid-dictionary-list):
7278 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7280 Migrate to Tramp 2.2. Rearrange load dependencies.
7281 (Bug#1529, Bug#5448, Bug#5705)
7283 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7284 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7285 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7287 * net/tramp.el (top): Remove all other tramp-* loads except
7288 tramp-compat.el. Remove all changes to tramp-unload-hook for
7289 other tramp-* packages. Rearrange defun order. Change calls of
7290 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7291 `tramp-compat-octal-to-decimal' to new function names.
7292 (tramp-terminal-type, tramp-initial-end-of-output)
7293 (tramp-methods, tramp-foreign-file-name-handler-alist)
7294 (tramp-tramp-file-p, tramp-completion-mode-p)
7295 (tramp-send-command-and-check, tramp-get-remote-path)
7296 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7297 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7298 (with-file-property, with-connection-property): Move to
7300 (tramp-local-call-process, tramp-decimal-to-octal)
7301 (tramp-octal-to-decimal): Move to tramp-compat.el.
7302 (tramp-handle-shell-command): Do not require 'shell.
7303 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7305 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7307 * net/tramp-cache.el (top): Require 'tramp. Add to
7308 `tramp-unload-hook'.
7309 (tramp-cache-data, tramp-get-file-property)
7310 (tramp-set-file-property, tramp-flush-file-property)
7311 (tramp-flush-directory-property, tramp-get-connection-property)
7312 (tramp-set-connection-property, tramp-flush-connection-property)
7313 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7315 (with-file-property, with-connection-property): New defuns, moved
7317 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7320 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7321 (tramp-version): Set tramp-autoload cookie.
7323 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7324 changes to tramp-unload-hook for other tramp-* packages. Add to
7325 `tramp-unload-hook'.
7326 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7327 (tramp-compat-call-process): New defuns, moved from tramp.el.
7329 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7330 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7331 Add to `tramp-unload-hook'. Change call of
7332 `tramp-compat-decimal-to-octal' to new function name.
7333 (tramp-fish-method): Make it a defconst.
7334 (tramp-fish-file-name-p): Make it a defsubst.
7335 (tramp-fish-method, tramp-fish-file-name-handler)
7336 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7338 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7339 `tramp-foreign-file-name-handler-alist'. Add to
7340 `tramp-unload-hook'.
7341 (tramp-ftp-method): Make it a defconst.
7342 (tramp-ftp-file-name-p): Make it a defsubst.
7343 (tramp-ftp-method, tramp-ftp-file-name-handler)
7344 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7346 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7347 `tramp-foreign-file-name-handler-alist'. Add to
7348 `tramp-unload-hook'. Change checks, whether package can be
7350 (tramp-gvfs-file-name-p): Make it a defsubst.
7351 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7352 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7353 (tramp-gvfs-handle-file-directory-p): New defun.
7354 (tramp-gvfs-file-name-handler-alist): Use it.
7356 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7357 `tramp-foreign-file-name-handler-alist'. Add to
7358 `tramp-unload-hook'.
7359 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7360 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7362 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7363 (tramp-gw-open-connection): Set tramp-autoload cookie.
7365 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7366 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7367 Add to `tramp-unload-hook'. Change checks, whether package can be
7369 (tramp-imap-file-name-p): Make it a defsubst.
7370 (tramp-imap-method, tramp-imaps-method)
7371 (tramp-imap-file-name-handler)
7372 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7374 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7375 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7376 Add to `tramp-unload-hook'. Change checks, whether package can be
7377 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7379 (tramp-smb-tunnel-method): Make it a defconst.
7380 (tramp-smb-file-name-p): Make it a defsubst.
7381 (tramp-smb-method, tramp-smb-file-name-handler)
7382 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7384 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7385 (tramp-uuencode-region): Set tramp-autoload cookie.
7387 * net/trampver.el (top) Add to `tramp-unload-hook'.
7388 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7389 cookie. Update release number.
7391 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7393 * textmodes/ispell.el (ispell-start-process): Make sure original
7394 arg list is properly initialized (Bug#6993, Bug#6994).
7396 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7398 * files.el (directory-abbrev-alist): Use \` as default regexp.
7400 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7401 chars like - or ] (bug#6984).
7402 (rx-any-condense-range): Explode 2-char ranges.
7404 2010-09-06 Glenn Morris <rgm@gnu.org>
7406 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7408 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * textmodes/bibtex.el:
7411 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7413 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7415 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7416 since no callers use it.
7417 (imap-message-get): Ditto.
7418 (imap-message-put): Ditto.
7419 (imap-mailbox-map): Ditto.
7420 (imap-mailbox-put): Ditto.
7421 (imap-mailbox-get): Ditto.
7422 (imap-mailbox-get): Revert last change for this function.
7424 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7426 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7427 callers to use `imap-fetch' instead. According to the comments, this
7428 should be safe, since all other IMAP clients use the 1:* syntax.
7429 (imap-enable-exchange-bug-workaround): Remove.
7430 (imap-debug): Remove -- doesn't seem very useful.
7432 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7434 * net/imap.el (imap-log): New convenience function used throughout
7435 instead of repeating the same code all over the place.
7437 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7439 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7440 when mouse-drag-copy-region is non-nil (Bug#6956).
7442 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7444 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7445 Improve regexps (Bug#6987).
7446 (dired-sort-toggle): Search more robustly for -t flag.
7448 * files.el (get-free-disk-space): Search more robustly for
7449 "available" column. Suggested by Ehud Karni
7450 <ehud@unix.mvs.co.il>.
7452 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7454 * international/uni-bidi.el:
7455 * international/uni-category.el:
7456 * international/uni-combining.el:
7457 * international/uni-decimal.el:
7458 * international/uni-mirrored.el:
7459 * international/uni-name.el: Regenerate.
7461 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * electric.el (electric-indent-post-self-insert-function):
7464 Don't reindent with a sloppy indentation function.
7466 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7467 border case in change-log-mode.
7469 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7472 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7473 Recognize leading tab in gcc-include regexp. Ignore names with
7474 leading "from" or "in" in gnu regexp (Bug#6937).
7476 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7478 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7479 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7480 (ispell-start-process): Avoid setq and simplify logic.
7481 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7482 (kill-buffer-hook): Don't use it globally with code that uses
7483 expand-file-name since that may call kill-buffer via
7484 code_conversion_restore.
7486 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7488 * emacs-lisp/package.el (package-directory-list): Only call
7489 file-name-nondirectory on a string.
7491 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7493 * emacs-lisp/package.el (package--download-one-archive):
7494 Ensure that archive-contents is valid before saving it.
7495 (package-activate-1, package-mark-obsolete, define-package)
7496 (package-compute-transaction, package-list-maybe-add): Use push.
7498 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7500 Use SMIE's blink-paren for octave-mode.
7501 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7502 Backslashes do not escape single-quotes, single-quotes do.
7503 (octave-block-else-regexp, octave-block-end-regexp)
7504 (octave-block-match-alist): Remove.
7505 (octave-smie-bnf-table): New var, with old content.
7506 (octave-smie-op-levels): Use it.
7507 (octave-smie-closer-alist): New var.
7508 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7509 (octave-blink-matching-block-open): Remove.
7510 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7511 (octave-electric-space): Let self-insert-command run expand-abbrev and
7514 * electric.el (electricity): New group.
7515 (electric-indent-chars): New var.
7516 (electric-indent-post-self-insert-function): New fun.
7517 (electric-indent-mode): New minor mode.
7518 (electric-pair-skip-self): New custom.
7519 (electric-pair-post-self-insert-function): New function.
7520 (electric-pair-mode): New minor mode.
7522 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7523 calcAlg-blink-matching-open.
7524 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7525 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7526 Use the new blink-matching-check-function.
7528 Provide blink-matching support to SMIE.
7529 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7530 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7531 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7533 * simple.el (newline): Fix last change to properly remove itself from
7536 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * simple.el (newline): Eliminate optimization.
7539 Use post-self-insert-hook to set hard-newline and things before
7540 running post-self-insert-hook.
7541 (blink-matching-check-mismatch): New function.
7542 (blink-matching-check-function): New variable.
7543 (blink-matching-open): Use them.
7544 Skip back forward over prefix chars skipped by forward-sexp.
7545 Don't check if the parens are backslash escaped.
7546 (blink-paren-post-self-insert-function): Check backslash escaping here.
7548 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7550 * emacs-lisp/package.el (package-menu-mode-map):
7551 Change package-menu-revert bindings to revert-buffer.
7552 (package-menu-mode): Set revert-buffer-function.
7553 (package-menu-revert): Doc fix.
7555 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7557 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7558 `default-directory' unless using Ispell per-directory personal
7559 dictionaries and not in a mini-buffer under XEmacs.
7560 (kill-buffer-hook): Do not kill ispell process on exit when
7561 `ispell-process-directory' is "~/". (Bug#6143)
7563 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7565 * simple.el (kill-new): Call interprogram-cut-function with only
7568 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7569 Remove cut buffer from error message.
7571 * term/x-win.el (x-select-text):
7572 * term/pc-win.el (x-selection-value):
7573 * term/ns-win.el (x-selection-value):
7574 * eshell/em-term.el:
7575 * w32-fns.el (x-get-selection-value):
7576 * mouse-sel.el (mouse-sel-set-selection-function):
7577 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7579 * term/x-win.el: Update documentation for x-last-selected-text-*.
7580 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7581 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7582 (x-select-text): Remove argument PUSH, update documentation.
7583 Remove cut-buffer code.
7584 (x-selection-value-internal): Was previously x-selection-value.
7585 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7586 Update documentation, remove cut-buffer code.
7587 Call x-selection-value-internal.
7588 (x-clipboard-yank): Call x-selection-value-internal.
7589 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7591 * term/pc-win.el (x-last-selected-text):
7592 x-cut-buffer-or-selection-value renamed to x-selection-value
7593 (x-select-text): Remove argument PUSH, update documentation.
7595 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7596 x-cut-buffer-or-selection-value renamed to x-selection-value
7597 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7598 (x-select-text): Remove argument PUSH, update documentation.
7600 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7602 * w32-fns.el (x-last-selected-text):
7603 x-cut-buffer-or-selection-value renamed to x-selection-value.
7604 (x-cut-buffer-max): Remove.
7605 (x-select-text): Remove argument PUSH, update documentation.
7607 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7609 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7611 * mouse-sel.el (mouse-sel-get-selection-function):
7612 x-cut-buffer-or-selection-value renamed to x-selection-value.
7613 (x-select-text): Remove optional push.
7615 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7617 * simple.el (blink-paren-function): Move from C to here.
7618 (blink-paren-post-self-insert-function): New function.
7619 (post-self-insert-hook): Use it.
7621 * emacs-lisp/pcase.el (pcase-split-memq):
7622 Fix overenthusiastic optimisation.
7623 (pcase-u1): Handle the case of a lambda pred.
7625 2010-08-31 Kenichi Handa <handa@m17n.org>
7627 * international/mule-cmds.el (standard-display-european-internal):
7628 Setup standard-display-table for 8-bit characters by storing 8-bit
7629 characters in the element vector.
7631 * disp-table.el (standard-display-8bit):
7632 Setup standard-display-table for 8-bit characters by storing 8-bit
7633 characters in the element vector.
7634 (standard-display-european): Likewise.
7636 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7638 * textmodes/nroff-mode.el (nroff-view): New command.
7639 (nroff-mode-map): Bind it to C-c C-c.
7641 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * emacs-lisp/smie.el (smie-down-list): New command.
7645 Remove old indentation and navigation code on octave-mode.
7646 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7647 smie-down-list rather than add a binding for octave-down-block.
7648 (octave-mark-block, octave-blink-matching-block-open):
7649 Rely on forward-sexp-function.
7650 (octave-fill-paragraph): Don't narrow, so you can use
7651 indent-according-to-mode.
7652 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7653 (octave-in-block-p, octave-re-search-forward-kw)
7654 (octave-re-search-backward-kw, octave-indent-calculate)
7655 (octave-end-as-array-index-p, octave-block-end-offset)
7656 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7657 (octave-down-block, octave-backward-up-block, octave-up-block)
7658 (octave-before-magic-comment-p, octave-indent-line): Remove.
7660 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7662 * emacs-lisp/package.el (package--read-archive-file): Just use
7663 `read', to avoid copying an additional string.
7664 (package-menu-mode): Set header-line-format here.
7665 (package-menu-refresh, package-menu-revert): Signal an error if
7666 not in the Package Menu.
7667 (package-menu-package-list): New var.
7668 (package--generate-package-list): Operate on the current buffer;
7669 don't assume that it is *Packages*, since the user may rename it.
7670 Allow persistent package listings and sort keys using
7671 package-menu-package-list and package-menu-package-sort-key.
7672 (package-menu--version-predicate): Fix version calculation.
7673 (package-menu-sort-by-column): Don't select the window.
7674 (package--list-packages): Create the *Packages* buffer.
7675 Set package-menu-package-list-key.
7676 (list-packages): Sorting by status is now the default.
7677 (package-buffer-info): Use match-string-no-properties.
7678 (define-package): Add a &rest argument for future proofing, but
7680 (package-install-from-buffer, package-install-buffer-internal):
7681 Merge into a single function, package-install-from-buffer.
7682 (package-install-file): Change caller.
7684 * finder.el: Load finder-inf using `require'.
7685 (finder-list-matches): Sorting by status is now the default.
7686 (finder-compile-keywords): Simpify printing.
7688 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7691 (octave-mode-map): Remove special bindings for forward/backward-block
7692 and octave-backward-up-block. Use smie-close-block.
7693 (octave-continuation-marker-regexp): New var.
7694 (octave-continuation-regexp): Use it.
7695 (octave-operator-table, octave-smie-op-levels)
7696 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7697 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7698 (octave-mode): Use SMIE.
7699 (octave-close-block): Delete.
7701 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7703 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7704 CLIPBOARD, not in PRIMARY. (Bug#6944)
7706 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7708 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7710 (smie-indent-column): Allow indirection through variables.
7712 * composite.el (save-buffer-state): Delete, unused.
7713 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7714 (font-lock-default-fontify-region): Use with-syntax-table.
7715 * jit-lock.el (with-buffer-unmodified): Remove.
7716 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7718 Use `declare' in defmacros.
7719 * window.el (save-selected-window):
7720 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7721 * progmodes/python.el (def-python-skeleton):
7722 * net/dbus.el (dbus-ignore-errors):
7723 * jka-cmpr-hook.el (with-auto-compression-mode):
7724 * international/mule.el (with-category-table):
7725 * emacs-lisp/timer.el (with-timeout):
7726 * emacs-lisp/lisp-mnt.el (lm-with-file):
7727 * emacs-lisp/eieio.el (with-slots):
7728 * emacs-lisp/easymenu.el (easy-menu-define):
7729 * emacs-lisp/debug.el (debugger-env-macro):
7730 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7731 (Multiple-value-call, Multiple-value-prog1):
7732 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7733 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7734 edebug rule to definition.
7735 * emacs-lisp/lisp-mode.el (save-selected-window)
7736 (with-current-buffer, combine-after-change-calls)
7737 (with-output-to-string, with-temp-file, with-temp-buffer)
7738 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7739 (dolist, dotimes, when, unless):
7740 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7742 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7744 * finder.el: Require `package'.
7745 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7746 (finder-package-info): Var deleted.
7747 (finder-keywords-hash, finder--builtins-alist): New vars.
7748 (finder-compile-keywords): Compute package--builtins and
7749 finder-keywords-hash instead of finder-keywords-hash, respecting
7750 the "Package" header.
7751 (finder-unknown-keywords, finder-list-matches):
7752 Use finder-keywords-hash and package--list-packages.
7753 (finder-mode): Don't set font-lock-defaults.
7754 (finder-exit): We don't use "*Finder-package*" and "*Finder
7755 Category*" buffers anymore.
7757 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7758 (package--builtins): Set default value to nil.
7759 (package-initialize): Load precomputed value of package--builtins
7761 (package-alist, package-compute-transaction)
7762 (package-download-transaction): Improve docstring.
7763 (package-read-all-archive-contents): Do not change
7764 package--builtins here.
7765 (list-packages): Make package-list-packages an alias for this.
7766 Sort by status by default.
7767 (package--list-packages): Add optional PACKAGES arg.
7768 (describe-package-1): Use font-lock-face property. For built-in
7769 packages, insert file commentary.
7770 (package--generate-package-list): Rename from
7771 package-list-packages-internal; all callers changed. Add optional
7772 PACKAGES arg. Add alphabetical sort fallbacks.
7773 (package-menu--version-predicate, package-menu--status-predicate)
7774 (package-menu--description-predicate)
7775 (package-menu--name-predicate): New functions.
7777 * info.el (Info-finder-find-node): Search package-alist instead of
7778 finder-package-info.
7780 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7782 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7784 (version-to-list): Handle versions like "10.3d".
7786 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7788 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7789 (macroexp-accumulate): Use `declare'.
7791 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7793 * whitespace.el (whitespace-style): Adjust type declaration.
7795 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7797 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7799 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7801 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7804 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7806 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7807 (js-paren-indent-offset, js-square-indent-offset)
7808 (js-curly-indent-offset): New options.
7809 (js--proper-indentation): Use them.
7811 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7813 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7814 instead of inspecting font-lock properties (Bug#6916).
7816 2010-08-26 David Reitter <david.reitter@gmail.com>
7818 * server.el (server-visit-files): Run pre-command-hook and
7819 post-command-hook for each buffer while it is current (Bug#6910).
7820 (server-execute): Do not run hooks here.
7822 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7824 Sync with Tramp 2.1.19.
7826 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7828 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7830 * net/tramp.el (tramp-handle-expand-file-name)
7831 (tramp-completion-handle-file-name-all-completions)
7832 (tramp-completion-handle-file-name-completion):
7833 Use `tramp-connectable-p'.
7835 * net/trampver.el: Update release number.
7837 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7839 * help.el (help-map): Bind `C-h P' to describe-package.
7841 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7843 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7844 when downloading archives.
7845 (describe-package-1): Add package commentary.
7846 (package-install-button-action): New function.
7847 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7848 (package-menu-view-commentary): Function removed.
7849 (package-list-packages-internal): Hide the `package' package too.
7851 2010-08-25 Kenichi Handa <handa@m17n.org>
7853 * language/misc-lang.el ("Arabic"): New language environment.
7854 Setup composition-function-table for Arabic characters.
7856 * international/fontset.el (setup-default-fontset): Fix typo for
7857 arabic OTF spec (fini->fina).
7859 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7861 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7864 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7866 * whitespace.el: Allow cleaning up blanks without blank
7867 visualization (Bug#6651). Adjust help window for
7868 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7869 instead of whitespace-line-column (from EmacsWiki). New version
7871 (whitespace-style): Add new value 'face. Adjust docstring.
7872 (whitespace-space, whitespace-hspace, whitespace-tab):
7873 Adjust foreground property face.
7874 (whitespace-line-column): Adjust docstring and type declaration.
7875 (whitespace-style-value-list, whitespace-toggle-option-alist)
7876 (whitespace-help-text): Adjust const initialization.
7877 (whitespace-toggle-options, global-whitespace-toggle-options):
7879 (whitespace-display-window, whitespace-interactive-char)
7880 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7881 (whitespace-help-scroll): New fun.
7883 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7885 * emacs-lisp/package.el (list-packages): Alias for
7886 package-list-packages.
7888 2010-08-24 Kevin Ryde <user42@zip.com.au>
7890 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7893 * progmodes/ruby-mode.el (ruby): Add defgroup.
7895 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7897 * progmodes/python.el: Add Ipython support (Bug#5390).
7898 (python-shell-prompt-alist)
7899 (python-shell-continuation-prompt-alist): New options.
7900 (python--set-prompt-regexp): New function.
7901 (inferior-python-mode, run-python, python-shell):
7902 Require ansi-color. Use python--set-prompt-regexp to set the comint
7903 prompt based on the Python interpreter.
7904 (python--prompt-regexp): New var.
7905 (python-check-comint-prompt)
7906 (python-comint-output-filter-function): Use it.
7907 (run-python): Use a pipe (Bug#5694).
7909 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7911 * progmodes/python.el (python-send-region): Send a different
7912 Python command if Ipython is in use.
7913 (python-check-version): Use a Python command to find the version.
7915 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7917 * mouse.el (mouse-yank-primary): Avoid setting primary when
7918 deactivating the mark (Bug#6872).
7920 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7922 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7923 with "else" (Bug#3991).
7925 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7927 * net/dbus.el: Accept UNIX domain sockets as bus address.
7928 (top): Don't initialize `dbus-registered-objects-table' anymore,
7929 this is done in dbusbind.c.
7930 (dbus-check-event): Adapt test for bus.
7931 (dbus-return-values-table, dbus-unregister-service)
7932 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7935 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7937 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7939 2010-08-22 Juri Linkov <juri@jurta.org>
7941 * simple.el (read-extended-command): New function with the logic
7942 for `completing-read' moved to Elisp from `execute-extended-command'.
7943 Use `function-called-at-point' in `minibuffer-default-add-function'
7944 to get a command name for M-n (bug#5364, bug#5214).
7946 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7948 * startup.el (command-line-1): Issue warning for ignored arguments
7949 --unibyte, etc (Bug#6886).
7951 2010-08-22 Leo <sdl.web@gmail.com>
7953 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7954 (ignore, bright, dim, keyword): Split list of nicknames before
7955 passing to rcirc-add-or-remove (Bug#6894).
7957 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7959 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7961 2010-08-22 Leo <sdl.web@gmail.com>
7963 Fix buffer-list rename&refresh after killing a buffer in ido.
7964 * ido.el: Revert Óscar's.
7965 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7966 Remember the buffers at head, rather than their name.
7967 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7969 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7970 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7973 extra backslash added to each line (bug#6890).
7975 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7977 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7979 2010-08-22 Glenn Morris <rgm@gnu.org>
7981 * menu-bar.el (menu-bar-games-menu): Add landmark.
7983 2010-08-22 Glenn Morris <rgm@gnu.org>
7985 * align.el (align-regexp): Make group and spacing arguments
7986 use the interactive defaults when non-interactive. (Bug#6698)
7988 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7989 expansion, so as not to need sendmail.
7990 (mail-text-start): Remove declaration.
7991 (rmail-retry-failure): Require sendmail.
7993 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7995 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7997 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7999 * progmodes/flymake.el (flymake-start-syntax-check-process):
8000 Use `start-file-process' in order to let it run also on remote hosts.
8002 2010-08-22 Kenichi Handa <handa@m17n.org>
8004 * files.el: Add `word-wrap' as safe local variable.
8006 2010-08-22 Glenn Morris <rgm@gnu.org>
8008 * woman.el (woman-translate): Case matters. (Bug#6849)
8010 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8012 * simple.el (kill-region): Doc fix (Bug#6787).
8014 2010-08-22 Glenn Morris <rgm@gnu.org>
8016 * calendar/diary-lib.el (diary-header-line-format):
8017 Fit it to the window, not the frame.
8019 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8021 * subr.el (ignore-errors): Add debug declaration.
8023 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8025 * whitespace.el (whitespace-color-off): Remove post-command-hook
8028 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8030 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8032 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8034 * cus-edit.el (custom-group-value-create): Add extra newline
8035 before end line (Bug#6876).
8037 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8039 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8040 when extending it. Before killing on the second click, check if
8041 the buffer is the correct one. Doc fix.
8042 (mouse-secondary-save-then-kill): Allow usage without first
8043 calling mouse-start-secondary, by defaulting to point. Don't save
8044 an empty secondary selection. Doc fix.
8046 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8048 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8049 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8051 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8052 Adjust initialization.
8053 (whitespace-bob-marker, whitespace-eob-marker)
8054 (whitespace-buffer-changed): New vars.
8055 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8056 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8057 (whitespace-post-command-hook, whitespace-display-char-on):
8059 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8060 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8062 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8064 * files.el (locate-file-completion-table): Only list the .el and .elc
8065 extensions if there's no other choice (bug#5955).
8067 * facemenu.el (facemenu-self-insert-data): New var.
8068 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8070 (facemenu-add-face): Use them.
8072 * simple.el (blink-matching-open): Obey forward-sexp-function.
8074 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8076 * simple.el (prog-mode-map): New var.
8077 (prog-indent-sexp): New command.
8079 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8081 * progmodes/prolog.el (smie): Require.
8083 * emacs-lisp/smie.el (smie-default-backward-token)
8084 (smie-default-forward-token): Strip properties.
8085 (smie-next-sexp): Be more careful with associative operators.
8086 (smie-forward-sexp-command): Generalize.
8087 (smie-backward-sexp-command): Simplify.
8088 (smie-closer-alist): New var.
8089 (smie-close-block): New command.
8090 (smie-indent-debug-log): New var.
8091 (smie-indent-offset-rule): Add a few more cases.
8092 (smie-indent-column): New function.
8093 (smie-indent-after-keyword): Use it.
8094 (smie-indent-keyword): Use it.
8095 Fix up the opener code's point position.
8096 (smie-indent-comment): Only applies at BOL.
8097 (smie-indent-debug): New command.
8099 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8100 declarations that are useful before running the macro.
8102 2010-08-18 Joakim Verona <joakim@verona.se>
8104 * image.el (imagemagick-types-inhibit): New variable.
8105 (imagemagick-register-types): New function.
8106 * image-mode.el (image-transform-properties): New function.
8107 (image-transform-set-scale, image-transform-fit-to-height)
8108 (image-transform-set-rotation, image-transform-set-resize)
8109 (image-transform-fit-to-width, image-transform-fit-to-height):
8111 (image-toggle-display-image): Support image transforms.
8113 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8115 * image.el (create-animated-image): Don't add heuristic mask to image
8118 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8120 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8121 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8123 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8125 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8127 Font-lock '...' strings, plus various simplifications and fixes.
8128 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8129 (octave-font-lock-close-quotes): New function.
8130 (octave-font-lock-syntactic-keywords): New var.
8131 (octave-mode): Use it. Set beginning-of-defun-function.
8132 (octave-mode-map): Don't override the <foo>-defun commands.
8133 (octave-mode-menu): Pass it directly to easy-menu-define;
8134 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8135 (octave-block-match-alist): Fix up last change so that
8136 octave-close-block uses the more specific keyword.
8137 (info-lookup-mode): Silence byte-compiler.
8138 (octave-beginning-of-defun): Not interactive any more.
8140 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8141 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8142 (octave-completion-at-point-function): Make sure point is within
8144 (octave-reindent-then-newline-and-indent):
8145 Use reindent-then-newline-and-indent.
8146 (octave-add-octave-menu): Remove.
8148 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8150 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8151 (report-emacs-bug-can-use-xdg-email): New functions.
8152 (report-emacs-bug): Set can-xdg-email to result of
8153 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8154 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8157 * net/browse-url.el (browse-url-default-browser): Add cond
8158 for browse-url-xdg-open.
8159 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8161 2010-08-17 Glenn Morris <rgm@gnu.org>
8163 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8164 (c-fontify-recorded-types-and-refs): Define for compiler.
8165 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8168 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8171 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8173 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8175 (tramp-handle-process-file): Call the program in a subshell, in
8176 order to preserve working directory.
8177 (tramp-action-password): Hide password prompt before next run.
8178 (tramp-process-actions): Widen connection buffer for the trace.
8180 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8182 * net/rcirc.el (rcirc-log-process-buffers): New option.
8183 (rcirc-print): Use it.
8184 (rcirc-generate-log-filename): New function.
8185 (rcirc-log-filename-function): Change default to
8186 rcirc-generate-log-filename (Bug#6828).
8188 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8190 * simple.el (deactivate-mark): If select-active-regions is `only',
8191 only set selection for temporarily active regions.
8193 * cus-start.el: Change defcustom for select-active-regions.
8195 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8197 * mouse.el (mouse--drag-set-mark-and-point): New function.
8198 (mouse-drag-track): Use LOCATION arg to push-mark.
8199 Use mouse--drag-set-mark-and-point to take click-count into
8200 consideration when updating point and mark (Bug#6840).
8202 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8204 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8205 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8207 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8209 * font-lock.el (lisp-font-lock-keywords-2):
8210 Add combine-after-change-calls, condition-case-no-debug,
8211 with-demoted-errors, and with-silent-modifications (Bug#6025).
8213 2010-08-14 Kevin Ryde <user42@zip.com.au>
8215 * emacs-lisp/copyright.el (copyright-update-year)
8216 (copyright-update): Temporary switch-to-buffer to ensure the
8217 buffer change being queried is visible (Bug#5394).
8219 2010-08-14 Tom Tromey <tromey@redhat.com>
8221 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8224 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8226 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8229 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8231 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8232 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8233 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8234 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8235 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8236 Call menu-bar-set-tool-bar-position.
8238 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8240 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8241 comment style (bug#6834).
8242 * progmodes/scheme.el (scheme-mode-syntax-table):
8243 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8244 "b" flag in "' 14b" syntax.
8246 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8247 for (un)commenting the region and performing completion.
8248 (octave-mode-menu): Use standard commands for help and completion.
8249 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8250 (octave-mode): Use define-derived-mode.
8251 Set completion-at-point-functions and don't set columns.
8252 Don't disable adaptive-fill-regexp.
8253 (octave-describe-major-mode, octave-comment-region)
8254 (octave-uncomment-region, octave-comment-indent)
8255 (octave-indent-for-comment): Remove.
8256 (octave-indent-calculate): Rename from calculate-octave-indent.
8257 (octave-indent-line, octave-fill-paragraph): Update caller.
8258 (octave-initialize-completions): No need to make an alist.
8259 (octave-completion-at-point-function): New function.
8260 (octave-complete-symbol): Use it.
8261 (octave-insert-defun): Use define-skeleton.
8263 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8264 (octave-mode-map): Use comment-dwim (bug#6829).
8266 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8268 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8269 indentation of inserted comment.
8271 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8273 * faces.el (region): Add type gtk that uses gtk colors.
8275 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8276 Handle theme-name change.
8278 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8280 * progmodes/sql.el: Version 2.5
8281 (sql-product-alist): Add :prompt-cont-regexp property for several
8283 (sql-prompt-cont-regexp): New variable.
8284 (sql-output-newline-count, sql-output-by-send):
8285 New variables. Record number of newlines in input text.
8286 (sql-send-string): Handle multiple filters and count newlines.
8287 (sql-send-magic-terminator): Count terminator newline.
8288 (sql-interactive-remove-continuation-prompt): Filters output to
8289 remove continuation prompts; one for each newline.
8290 (sql-interactive-mode): Set up new variables, prompt regexp and
8292 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8293 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8295 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8297 * emacs-lisp/pcase.el: New file.
8299 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8301 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8302 as here-document, otherwise the command could exceed maximum
8303 length of command line.
8304 (tramp-handle-vc-registered): Call script accordingly.
8305 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8307 2010-08-10 Kenichi Handa <handa@m17n.org>
8309 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8312 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8314 * emacs-lisp/package.el (package-version-split)
8315 (package--version-first-nonzero, package-version-compare):
8317 (package-directory-list, package-load-all-descriptors)
8318 (package--built-in, package-activate, define-package)
8319 (package-installed-p, package-compute-transaction)
8320 (package-read-all-archive-contents)
8321 (package--add-to-archive-contents, package-buffer-info)
8322 (package-tar-file-info, package-list-packages-internal):
8323 Use version-to-list and version-list-*.
8325 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8326 Use version-to-list.
8327 (package-upload-buffer-internal): Use version-list-<=.
8329 2010-08-09 Kenichi Handa <handa@m17n.org>
8331 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8334 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8336 * tutorial.el (tutorial--default-keys): C-d is now bound to
8337 delete-forward-char (Bug#6826).
8339 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8340 for `double' value of mouse-1-click-follows-link (Bug#6807).
8342 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8344 * replace.el (replace-highlight): Bind isearch-forward and
8345 isearch-error, ensuring that highlighting is updated if the user
8346 switches the search direction (Bug#6808).
8348 * isearch.el (isearch-lazy-highlight-forward): New var.
8349 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8350 (isearch-lazy-highlight-update): Use it.
8352 2010-08-08 Kenichi Handa <handa@m17n.org>
8354 * international/mule.el (define-charset): Store NAME as :base property.
8355 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8356 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8357 current priority. Force using the designation of the specific
8358 charset by adding `charset' text property. Improve the whole algorithm.
8360 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8362 * emulation/pc-select.el (pc-selection-mode-hook)
8363 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8364 (pc-selection-mode): Fix typos in docstrings.
8366 2010-08-08 Kenichi Handa <handa@m17n.org>
8368 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8369 ctext-non-standard-encodings-alist here.
8371 * international/mule.el (ctext-non-standard-encodings-alist):
8372 Add "koi8-r" and "microsoft-cp1251".
8373 (ctext-standard-encodings): New variable.
8374 (ctext-non-standard-encodings-table): List only elements for
8375 non-standard encodings.
8376 (ctext-pre-write-conversion): Adjust for the above change.
8377 Check ctext-standard-encodings.
8379 * international/mule-conf.el (compound-text): Doc fix.
8380 (ctext-no-compositions): Doc fix.
8381 (compound-text-with-extensions): Doc fix.
8383 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8385 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8387 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8389 * progmodes/which-func.el (which-func-format): Split help-echo text
8390 into lines, like other mode-line tooltips.
8392 * server.el (server-start): When using TCP sockets, force IPv4
8393 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8395 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8397 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8399 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8401 * term.el (term-delimiter-argument-list): Reflow docstring.
8402 (term-read-input-ring, term-write-input-ring, term-send-input)
8403 (term-bol, term-erase-in-display, serial-supported-or-barf):
8404 Fix typos in docstrings.
8406 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8408 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8410 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8412 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8414 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8416 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8417 Fix typo in docstring (bug#6747).
8419 2010-08-08 Leo <sdl.web@gmail.com>
8421 * eshell/esh-io.el (eshell-get-target): Better detection of
8422 read-only file (Bug#6762).
8424 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8426 * align.el (align-default-spacing): Doc fix.
8427 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8429 2010-08-08 Stephen Peters <speters@itasoftware.com>
8431 * calendar/icalendar.el
8432 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8433 (icalendar--get-weekday-numbers): New.
8434 (icalendar--convert-recurring-to-diary): Handle multiple byday
8435 values in weekly rules. (Bug#6766)
8437 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8439 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8440 (icalendar--create-uid, icalendar-export-region)
8441 (icalendar--parse-summary-and-rest): Code formatting.
8443 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8445 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8446 to italicize headers.
8447 (calc-highlight-selections-with-faces): New variable.
8448 (calc-selected-face, calc-nonselected-face): New faces.
8450 * calc/calccomp.el (math-comp-highlight-string): Use
8451 `calc-highlight-selections-with-faces' to determine how to highlight
8454 * calc/calc-sel.el (calc-show-selections): Change message to when
8455 using faces to highlight selections.
8457 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8459 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8460 Add SQLite 3 keywords, functions and datatypes.
8461 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8464 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8466 * simple.el (select-active-regions): Move to keyboard.c.
8467 (deactivate-mark): Used saved-region-selection.
8468 (select-active-region): Function removed.
8469 (activate-mark, set-mark, push-mark-command)
8470 (handle-shift-selection): Don't call it.
8471 (keyboard-quit): Avoid adding the region to the window selection.
8473 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8474 select-active-regions implementation.
8475 (mouse-yank-at-click): Doc fix.
8477 * cus-start.el: Add custom declaration for select-active-regions.
8479 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8481 * simple.el (delete-forward-char): Doc fix.
8483 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8484 after reading the tutorial.
8486 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8488 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8489 Fix for the case that a C style comment has its delimiters alone on
8490 their respective lines. (Bug#193)
8492 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8494 * net/tramp.el (tramp-handle-start-file-process): Set connection
8496 (tramp-process-sentinel): Use it for flushing the cache.
8497 We cannot do it via the process buffer, the buffer could be deleted
8498 already when running the sentinel.
8500 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8502 * comint.el (comint-mode): Make directory tracking functions
8503 functional on remote files. (Bug#6764)
8505 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8507 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8509 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8511 * emacs-lisp/find-gc.el (find-gc-source-files):
8512 Rename unexec.c => unexcoff.c.
8514 * emacs-lisp/authors.el (authors-fixed-entries):
8515 Rename unexec.c => unexcoff.c.
8517 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8519 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8520 cache, not only file cache.
8521 (tramp-process-sentinel): New defun.
8522 (tramp-handle-start-file-process): Use it, in order to invalidate
8525 2010-08-03 Leo <sdl.web@gmail.com>
8527 * server.el (server-start): Simplify loop.
8529 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8531 * frame.el (screen-height, screen-width, set-screen-width)
8532 (set-screen-height): Remove ancient compatibility aliases.
8534 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8535 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8537 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8538 that change current buffer.
8540 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8542 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8543 beginning of the string. Use `string-match-p'. (Bug#6765)
8545 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8547 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8549 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8551 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8552 (package--builtins): Tweak descriptions.
8553 (package-print-package): Upcase descriptions if necessary.
8554 Show all built-in packages in font-lock-builtin-face.
8555 (package-list-packages-internal): Omit "emacs" package.
8556 Show status of built-in packages as "built-in".
8558 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8560 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8561 before killing to preserve the primary selection (Bug#6701).
8563 * term/x-win.el (x-select-text): Doc fix.
8565 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8567 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8568 (objc-font-lock-extra-types):
8569 * progmodes/cc-mode.el (c-basic-common-init):
8570 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8571 (c++-make-template-syntax-table)
8572 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8573 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8574 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8575 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8576 * progmodes/cc-fonts.el (c-make-inverse-face)
8577 (c-basic-matchers-after):
8578 * progmodes/cc-engine.el (c-forward-keyword-clause)
8579 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8580 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8581 (c-guess-continued-construct, c-guess-basic-syntax):
8582 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8583 The above functions were modified or created.
8585 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8587 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8589 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8591 * files.el (bidi-paragraph-direction): Define safe local values.
8593 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8594 language-info-alist. Remove outdated FIXME in a comment.
8596 2010-07-31 Alan Mackenzie <acm@muc.de>
8598 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8599 Auto-fill broken in C/C++ modes.
8601 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8603 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8604 (menu-bar-showhide-tool-bar-menu-customize-disable)
8605 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8606 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8607 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8608 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8609 make a menu for Options => toolbar that can move it.
8611 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8613 * emacs-lisp/package-x.el (package--make-rss-entry):
8614 (package-maint-add-news-item, package--update-news)
8615 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8617 * emacs-lisp/package.el (package-archive-url): Rename from
8619 (package-install): Doc fix.
8620 (package-download-single, package-download-tar, package-install)
8621 (package-menu-view-commentary): Callers changed.
8623 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8625 * net/tramp.el (tramp-handle-start-file-process): Check only for
8626 `remote-tty' process property.
8627 (tramp-open-shell): Don't check for tty.
8628 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8631 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8634 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8636 * emacs-lisp/package.el (package-load-list, package-archives)
8637 (package-archive-contents, package-user-dir)
8638 (package-directory-list, package--builtins, package-alist)
8639 (package-activated-list, package-obsolete-alist): Mark as risky.
8641 2010-07-28 Phil Hagelberg <phil@evri.com>
8643 Add support for non-default package repositories.
8644 * emacs-lisp/package.el (package-archive-base): Var deleted.
8645 (package-archives): New variable.
8646 (package-archive-contents): Doc fix.
8647 (package-load-descriptor): Do nothing if descriptor file is missing.
8648 (package--write-file-no-coding): New function.
8649 (package-unpack-single): Use it.
8650 (package-archive-id): New function.
8651 (package-download-single, package-download-tar)
8652 (package-menu-view-commentary): Use it.
8653 (package-installed-p): Make second argument optional.
8654 (package-read-all-archive-contents): New function.
8655 (package-initialize): Use it.
8656 (package-read-archive-contents): Add ARCHIVE argument.
8657 (package--add-to-archive-contents): New function.
8658 (package-install): Don't call package-read-archive-contents.
8659 (package--download-one-archive): Store archive file in a
8660 subdirectory of package-user-dir.
8661 (package-menu-execute): Remove spurious line movement.
8663 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8665 * cus-start.el (tool-bar-style): Add text-image-horiz.
8667 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8669 * progmodes/gud.el (gud-common-init): Check for remoteness of
8670 `file', and not of `default-directory'.
8672 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8674 * net/tramp.el (tramp-methods): Move hostname to the end in all
8675 ssh `tramp-login-args'.
8676 (tramp-verbose): Describe verbose level 9.
8677 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8678 (tramp-open-connection-setup-interactive-shell): Trace stty
8679 settings if `tramp-verbose' >= 9.
8680 (tramp-handle-start-file-process): Implement tty setting.
8681 (Bug#4604, Bug#6360)
8683 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8684 `tramp-verbose' to 9.
8686 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8688 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8689 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8690 Remove references to package `lisp-re' (bug#4369).
8692 2010-07-27 Tom Tromey <tromey@redhat.com>
8694 * progmodes/js.el (js-mode):
8695 * progmodes/make-mode.el (makefile-mode):
8696 * progmodes/simula.el (simula-mode):
8697 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8699 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8701 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8703 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8704 (display-time-world-buffer-name, display-time-world-mode-map):
8705 Fix typos in docstrings.
8707 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8709 * image-mode.el (image-display-size): New function.
8710 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8711 (image-mode-fit-frame): Use it (Bug#6639).
8713 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8715 * dired.el (dired-buffers-for-dir): Handle list values of
8716 dired-directory (Bug#6636).
8718 2010-07-26 Sam Steingold <sds@gnu.org>
8720 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8721 Do not call `x-get-selection' the second time, reuse the value.
8723 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8725 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8726 which consist of control chars only. Suggested by Richard Stallman.
8728 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8730 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8731 exists before passing an error to find-file-not-found-functions
8734 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8736 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8737 Remove leading nil element, adjust values.
8738 (tetris-shapes, tetris-shape-scores):
8739 Change representation of shapes and remove some redundancy.
8740 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8741 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8742 Adjust for working with new representation of shapes.
8743 (tetris-shape-rotations): New function.
8744 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8745 (tetris-rotate-prev, tetris-rotate-next):
8746 Adjust for working with the new version of tetris-test-shape.
8748 2010-07-23 Markus Triska <markus.triska@gmx.at>
8750 * progmodes/ps-mode.el: Use comint (bug#5954).
8751 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8752 (ps-mode-other-newline): Simplify.
8753 (ps-run-mode): Derive from comint-mode instead of
8754 fundamental-mode, yielding input history etc.
8755 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8756 (ps-run-send-string): Adapt for comint-mode.
8757 (ps-run-newline): Remove now unneeded function.
8759 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8761 * net/tramp.el (tramp-methods): Move hostname to the end in all
8762 plink `tramp-login-args'.
8764 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8766 * net/tramp.el (tramp-open-shell): New defun.
8767 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8770 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8772 * net/tramp.el (tramp-file-name-regexp-unified)
8773 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8774 not regard the volume letter as remote filename. (Bug#5447)
8776 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8778 * custom.el (custom-declare-variable): Give a clearer error message
8779 when the docstring is missing (bug#6476).
8781 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8783 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8784 (sql-login-params): New widget definition.
8785 (sql-oracle-login-params, sql-mysql-login-params)
8786 (sql-solid-login-params, sql-sybase-login-params)
8787 (sql-informix-login-params, sql-ingres-login-params)
8788 (sql-ms-login-params, sql-postgres-login-params)
8789 (sql-interbase-login-params, sql-db2-login-params)
8790 (sql-linter-login-params): Use it.
8791 (sql-sqlite-login-params): Use it; Define "database" parameter as
8793 (sql-sqlite-program): Change to "sqlite3".
8794 (sql-comint-sqlite): Make sure database name is complete.
8795 (sql-for-each-login): New function.
8796 (sql-connect, sql-save-connection): Use it.
8797 (sql-get-login-ext): New function.
8798 (sql-get-login): Use it.
8799 (sql-make-alternate-buffer-name): Handle :file parameters.
8801 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8803 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8804 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8806 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8808 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8810 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8812 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8814 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8816 * net/tramp.el (tramp-get-ls-command)
8817 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8820 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8822 * progmodes/sql.el: Version 2.3.
8823 (sql-connection-alist): Change keys from symbols to strings;
8824 enhanced the widget definition.
8825 (sql-mode-menu): Add submenu to select connections.
8826 (sql-interactive-mode-menu): Add "Save Connection" item.
8827 (sql-add-product): Fix menu item.
8828 (sql-get-product-feature): Improved error handling.
8829 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8830 (sql-make-alternate-buffer-name): Simplified.
8831 (sql-product-interactive): Handle missing product.
8832 (sql-connect): Support string keys, minor improvements.
8833 (sql-save-connection): New function.
8834 (sql-connection-menu-filter): New function.
8836 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8838 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8839 (tramp-open-connection-setup-interactive-shell):
8840 Apply workaround for IRIX64 bug. Move argument of last
8841 `tramp-send-command' where it belongs to.
8843 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8845 * net/tramp.el (tramp-perl-file-attributes)
8846 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8847 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8848 front of `login-args'.
8850 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8852 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8853 Set `show-trailing-whitespace' to nil.
8854 (display-time-world-display): Simplify.
8856 2010-07-18 Alan Mackenzie <acm@muc.de>
8858 Enhance `c-file-style' in file/directory local variables.
8859 * progmodes/cc-mode.el (c-count-cfss): New function.
8860 (c-before-hack-hook): Call `c-set-style' differently according to
8861 whether c-file-style was set in file or directory local
8864 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8866 * progmodes/sql.el: Version 2.2.
8867 (sql-product, sql-user, sql-database, sql-server, sql-port):
8868 Use defcustom :safe keyword rather than putting safe-local-variable
8870 (sql-password): Use defcustom :risky keyword rather than putting
8871 risky-local-variable property.
8872 (sql-oracle-login-params, sql-sqlite-login-params)
8873 (sql-solid-login-params, sql-sybase-login-params)
8874 (sql-informix-login-params, sql-ingres-login-params)
8875 (sql-ms-login-params, sql-postgres-login-params)
8876 (sql-interbase-login-params, sql-db2-login-params)
8877 (sql-linter-login-params): Add `port' option.
8878 (sql-get-product-feature): Add NO-INDIRECT parameter.
8879 (sql-comint-oracle, sql-comint-sybase)
8880 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8881 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8882 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8883 (sql-comint-linter): Rename sql-connect-* functions to
8885 (sql-product-alist, sql-mode-menu): Rename as above and
8886 :sqli-connect-func to :sqli-comint-func.
8887 (sql-connection): New variable.
8888 (sql-interactive-mode): Set it.
8889 (sql-connection-alist): New variable.
8890 (sql-connect): New function.
8891 (sql--alt-buffer-part, sql--alt-if-not-empty)
8892 (sql-make-alternate-buffer-name): Improved alternative buffer name.
8894 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8896 * image-mode.el (image-bookmark-make-record): Do not set context
8897 in an image (Bug#6650).
8899 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8901 * simple.el (select-active-region): New function.
8902 (push-mark-command, set-mark, activate-mark)
8903 (handle-shift-selection): Use it.
8904 (deactivate-mark): Don't check for size of region.
8906 * mouse.el (mouse-drag-track): Use select-active-region.
8908 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8910 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8913 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8915 * term/x-win.el (x-select-enable-primary): Change default to nil.
8916 (x-select-enable-clipboard): Add :version keyword.
8918 * mouse.el (mouse-drag-copy-region):
8919 * simple.el (select-active-regions): Likewise.
8921 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8923 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8924 (vc-coding-system-for-diff): Use it to decide whether to inherit
8925 from the file the EOL format for reading the diffs of that file.
8928 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8930 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8931 unibyte, so compressed attachments are not compressed again.
8933 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8935 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8936 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8937 (tramp-find-shell): Simplify setting connection property.
8938 (tramp-get-ls-command): Make test for "--color=never" stronger.
8940 2010-07-15 Simon South <ssouth@member.fsf.org>
8942 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8943 blocks within record declarations (i.e. variant parts) correctly.
8945 2010-07-15 Simon South <ssouth@member.fsf.org>
8947 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8948 over literal tokens when parsing so newlines aren't "absorbed" by
8949 single-line comments. Corrects the indentation of case blocks
8950 that have a comment on the first line.
8952 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8954 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8955 by Drew Adams (Bug#5504).
8957 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8959 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8960 now that Unicode is used (Bug#6594).
8962 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8964 * term/x-win.el (x-select-enable-clipboard): Default to t.
8965 (x-initialize-window-system): Don't overwrite Paste menu item.
8967 * simple.el (select-active-regions): Default to t.
8968 (push-mark-command): Don't overwrite primary with empty string.
8970 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8971 (mouse-drag-copy-region): Default to nil.
8973 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8974 Cut/Copy/Paste menu bar items.
8976 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8978 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8979 Patch applied by Karl Fogel.
8981 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8982 and `bookmark-current-buffer' if they have been already set in
8983 another buffer (e.g gnus-art).
8985 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8986 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8988 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8990 * bookmark.el (bookmark-make-record-default): Allow unneeded
8991 information to be omitted from the record.
8993 Adjust declarations and calls:
8995 * info.el (bookmark-make-record-default): Adjust declaration.
8996 (Info-bookmark-make-record): Adjust call.
8998 * woman.el (bookmark-make-record-default): Adjust declaration.
8999 (woman-bookmark-make-record): Adjust call.
9001 * man.el (bookmark-make-record-default): Adjust declaration.
9002 (Man-bookmark-make-record): Adjust call.
9004 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9006 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9008 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9010 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9011 This is also from Thierry Volpiatto's patch in bug #6444. However,
9012 because it was extraneous to the functional change in that patch,
9013 and causes a re-indendation, I am committing it separately.
9015 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9017 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9018 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9019 Patch applied by Karl Fogel (Bug#6444).
9021 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9023 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9025 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9027 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9028 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9029 (ns-alternatives-map): Change S-tab binding to backtab
9032 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9035 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9037 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9040 * language/tv-util.el (tai-viet-re): Remove format.
9042 2010-07-12 Kenichi Handa <handa@m17n.org>
9044 * language/hebrew.el: Remove no-byte-compile declaration.
9045 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9046 composition-function-table for 3-character looking back.
9047 (hebrew-font-get-precomposed): New function.
9048 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9050 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9052 * mouse.el (mouse-drag-track): Handle select-active-regions
9055 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9057 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9058 empty argument to gvfs-copy.
9060 2010-07-10 Glenn Morris <rgm@gnu.org>
9062 * calendar/calendar.el (calendar-week-end-day): New function.
9063 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9064 Respect calendar-week-start-day. (Bug#6606)
9065 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9066 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9067 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9068 respect calendar-week-start-day.
9070 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9072 * simple.el (use-region-p): Doc fix (Bug#6607).
9074 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9076 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9077 Add regexps for cucumber and ruby.
9079 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9081 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9082 (epa-file-insert-file-contents): Hack to prevent
9083 find-file from opening empty buffer when decryption failed
9086 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9088 * textmodes/ispell.el (ispell-alternate-dictionary):
9089 Use file-readable-p.
9090 Return nil if no word-list is found at default locations.
9091 (ispell-complete-word-dict): Default to nil.
9092 (ispell-command-loop): Use 'word-list' when using lookup-words.
9093 (lookup-words): Use ispell-complete-word-dict or
9094 ispell-alternate-dictionary. Check for word-list availability
9095 and handle errors if needed with better messages (Bug#6539).
9096 (ispell-complete-word): Use ispell-complete-word-dict or
9097 ispell-alternate-dictionary.
9099 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9101 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9102 builtins (BufferError, BytesWarning, WindowsError; callables
9103 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9105 2010-07-07 Glenn Morris <rgm@gnu.org>
9107 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9108 (zone-shift-left): Ignore intangibility, and any errors from
9110 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9111 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9112 deleting, and copying text properties.
9113 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9114 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9115 to point-max is hard.
9116 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9117 (zone-fill-out-screen): Ignore intangibility.
9119 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9121 * menu-bar.el (menu-bar-mode):
9122 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9125 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9126 word/line selection (Bug#6565).
9128 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9130 * net/dbus.el (dbus-send-signal): Declare function.
9132 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9134 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9135 (dbus-register-property): New optional argument EMITS-SIGNAL.
9136 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9138 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9140 * mouse.el (mouse-drag-overlay): Variable deleted.
9141 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9142 (mouse--remap-link-click-p): New function.
9143 (mouse-drag-track): Handle dragging by using temporary Transient
9144 Mark mode, instead of a special overlay.
9145 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9148 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9151 2010-07-02 Juri Linkov <juri@jurta.org>
9153 * autoinsert.el (auto-insert-alist): Fix readability
9154 by using dotted pair notation for lambda.
9156 2010-07-02 Juri Linkov <juri@jurta.org>
9158 * faces.el (read-face-name): Rename arg `string-describing-default'
9159 to `default'. Doc fix. Display the default value in quotes
9160 in the prompt. With empty input, return the `default' arg,
9161 unless the default value is a string (in which case return nil).
9162 (describe-face): Replace the string `default' arg of `read-face-name'
9163 with the symbol `default'.
9165 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9167 * emulation/viper-cmd.el (viper-delete-backward-char)
9168 (viper-del-backward-char-in-insert)
9169 (viper-del-backward-char-in-replace, viper-change)
9170 (viper-backward-indent): Replace delete-backward-char with
9171 delete-char (Bug#6552).
9173 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9175 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9177 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9179 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9180 argument passed to frame-creation-function (Bug#5378).
9182 * faces.el (x-handle-named-frame-geometry)
9183 (x-handle-reverse-video, x-create-frame-with-faces)
9184 (face-set-after-frame-default, tty-create-frame-with-faces):
9185 Don't separately consult default-frame-alist. It is now passed as the
9188 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9190 * startup.el (command-line): Don't call tool-bar-setup in a
9193 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9195 * ruler-mode.el (ruler--save-header-line-format): New fun.
9196 (ruler-mode): Use it as a setter function, so as not to overwrite
9197 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9199 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9201 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9202 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9203 (vc-log-outgoing): Use it.
9204 (vc-diff-internal): Set diff-vc-backend.
9206 * vc/diff-mode.el (diff-vc-backend): New var.
9208 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9210 * dynamic-setting.el (font-setting-change-default-font):
9211 Remove call to message.
9213 2010-06-28 Kenichi Handa <handa@m17n.org>
9215 * international/quail.el (quail-insert-kbd-layout): Fix the
9216 showing of untranslated characters.
9218 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9220 * simple.el (delete-active-region): New option.
9221 (delete-backward-char): Implement in Lisp.
9222 (delete-forward-char): New command.
9224 * mouse.el (mouse-region-delete-keys): Delete.
9225 (mouse-show-mark): Simplify.
9227 * bindings.el (global-map): Bind delete and DEL, the former to
9228 delete-forward-char.
9230 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9232 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9233 (ruby-mode): Bind indent-line-function (Bug#5119).
9235 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9237 * startup.el (command-line): Recognize "0" X resource value.
9239 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9241 * startup.el (command-line): Use X resources to set the value of
9242 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9244 * menu-bar.el (menu-bar-mode):
9245 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9246 Set init-value to t.
9248 * frame.el (frame-notice-user-settings): Don't change
9249 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9250 vice versa (Bug#2249).
9252 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9254 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9256 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9258 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9259 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9261 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9262 default directories are expanded (Bug#6143).
9264 2010-06-24 Juri Linkov <juri@jurta.org>
9266 * minibuffer.el (completions-format): Change default from nil to
9267 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9269 2010-06-24 Juri Linkov <juri@jurta.org>
9271 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9272 buffer-locally to lambda that re-runs the vc diff command.
9275 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9277 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9278 echo area is in use (Bug#3412).
9280 2010-06-22 Glenn Morris <rgm@gnu.org>
9282 * textmodes/texinfmt.el (texinfo-format-region)
9283 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9284 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9285 (texinfo-format-option, texinfo-noindent):
9286 Use line-beginning-position and line-end-position.
9288 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9289 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9290 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9293 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9295 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9296 forward-line fallout.
9298 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9300 * mouse.el (mouse-appearance-menu): Add docstring.
9302 * help.el (describe-key): Print up-event using key-description.
9304 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9306 * net/zeroconf.el (zeroconf-resolve-service)
9307 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9308 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9310 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9312 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9314 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9316 Avoid displaying files with a nil state in vc-dir.
9317 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9318 cases that cause insertion.
9319 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9322 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9324 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9326 2010-06-29 Leo <sdl.web@gmail.com>
9328 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9330 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9332 * generic-x.el (bat-generic-mode): Fix regexp for command line
9333 switches (Bug#5719).
9335 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9337 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9338 of nconc to avoid pure storage error (Bug#6239).
9340 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9342 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9343 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9344 bindings of bookmark-automatically-show-annotations (Bug#6515).
9346 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9348 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9349 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9351 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9353 * comint.el (make-comint, make-comint-in-buffer): Mention return
9354 value in the docstrings. (Bug#6498)
9356 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9358 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9359 since it is not present when using some non-default switches.
9361 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9363 * simple.el (compose-mail): Fix doc string to refer to
9364 `compose-mail-user-agent-warnings', instead of to the
9365 nonexistent `compose-mail-check-user-agent'.
9367 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9369 Fix an indentation bug:
9371 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9372 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9375 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9376 (c-clear->-pair-props-if-match-before): now return t when they've
9377 cleared properties, nil otherwise.
9378 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9379 by taking account of the existing value.
9381 * progmodes/cc-defs.el
9382 (c-clear-char-property-with-value-function): Fix this to clear the
9383 property rather than overwriting it with nil.
9385 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9387 * emacs-lisp/package.el (package-print-package): Add link to
9388 package description via describe-package.
9389 (describe-package-1): List package requirements. Add button to
9390 perform installation.
9391 (package-menu-describe-package): New command.
9393 * help-mode.el (help-package): New button type.
9395 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9397 * emacs-lisp/package.el: Move package-list-packages binding to
9399 (describe-package, describe-package-1, package--dir): New funs.
9400 (package-activate-1): Use package--dir.
9402 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9404 * help-mode.el (help-package-def): New button type.
9406 * menu-bar.el: Move package-list-packages binding here from
9409 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9411 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9413 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9415 * emacs-lisp/edebug.el (edebug-read-list):
9416 Phase out old-style backquotes.
9418 2010-06-17 Juri Linkov <juri@jurta.org>
9420 * help-mode.el (help-mode): Set buffer-local variable
9421 revert-buffer-function to help-mode-revert-buffer.
9422 (help-mode-revert-buffer): New function.
9424 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9425 before popping to "*info*" (like in other Info functions).
9426 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9427 old-history-forward. Pop to old-buffer-name or "*info*" to
9428 recreate the killed buffer. Set Info-history-forward from
9429 old-history-forward.
9430 (Info-breadcrumbs-depth): Add :group and :version.
9432 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9434 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9436 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9438 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9439 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9441 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9443 * emacs-lisp/package.el (package-menu-mode-map):
9444 Move initialization into declaration.
9446 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9448 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9450 * emacs-lisp/package.el (package-archive-base): Point to
9452 (package-enable, package-load-list): New defcustoms.
9453 (package-user-dir, package-directory-list): Turn into defcustoms.
9454 Don't include package-user-dir in package-directory-list.
9455 (package--builtins-base): Don't include Emacs as a "package".
9456 (package-subdirectory-regexp): New var.
9457 (package-load-all-descriptors, package-compute-transaction)
9458 (package-download-transaction): Obey package-load-list.
9459 (package-activate-1): Rename from package-do-activate.
9460 (package-list-packages-internal): Check package-load-list.
9461 (package-load-descriptor, package-generate-autoloads)
9462 (package-unpack, package-unpack-single)
9463 (package--read-archive-file, package-delete):
9464 Use expand-file-name.
9466 * emacs-lisp/package-x.el: New file. Package uploading
9467 functionality split out from package.el.
9469 * startup.el (command-line): Load packages after reading init file.
9471 2010-06-17 Tom Tromey <tromey@redhat.com>
9473 * emacs-lisp/package.el: New file.
9475 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9477 Fix vc-annotate for renamed files when using Git.
9478 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9479 ls-files. Doe not pass the object as a file name to cat-file, it
9481 (vc-git-annotate-command): Pass the file name using -- to avoid
9482 ambiguity with the revision.
9483 (vc-git-previous-revision): Pass a relative file name.
9485 2010-06-22 Glenn Morris <rgm@gnu.org>
9487 * progmodes/js.el (js-mode-map): Use standard capitalization and
9488 ellipses for menu entries.
9490 * wid-edit.el (widget-complete): Doc fix.
9492 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9494 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9496 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9498 Fix annotating other revisions for renamed files in vc-annotate.
9499 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9500 VC backend. Use it when non-nil.
9501 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9504 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9505 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9506 Do not pass the file name to the 'previous-revision call when we
9507 don't want a file diff. (Bug#6489)
9509 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9511 Fix finding revisions for renamed files in vc-annotate.
9512 * vc/vc.el (vc-find-revision): Add an optional argument for
9513 the VC backend. Use it when non-nil.
9514 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9515 backend to vc-find-revision. (Bug#6487)
9517 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9519 Fix reading file names in Git annotate buffers.
9520 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9521 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9523 2010-06-20 Alan Mackenzie <acm@muc.de>
9525 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9526 in file local variables, set it first.
9528 2010-06-19 Glenn Morris <rgm@gnu.org>
9530 * descr-text.el (describe-char-unicode-data): Insert separating
9531 space when needed. (Bug#6422)
9533 * progmodes/idlwave.el (idlwave-action-and-binding):
9534 Fix typo in 2009-12-03 change. (Bug#6450)
9536 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9539 handling for `lambda' (misunderstanding).
9541 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9543 * calc/calc-poly.el (math-accum-factors): Make sure that
9544 constants aren't distributed after they are factored out.
9546 2010-06-16 Juri Linkov <juri@jurta.org>
9548 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9549 `list-colors-print'. (Bug#6332)
9551 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9553 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9555 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9556 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9558 * font-lock.el (font-lock-major-mode): Rename from
9559 font-lock-mode-major-mode to distinguish it from
9560 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9561 (font-lock-set-defaults):
9562 * font-core.el (font-lock-default-function): Adjust users.
9563 (font-lock-mode): Don't set it at all.
9565 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9567 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9569 2010-06-16 Glenn Morris <rgm@gnu.org>
9571 * calendar/appt.el (appt-time-msg-list): Doc fix.
9572 (appt-check): Let-bind appt-warn-time.
9573 (appt-add): Make the 3rd argument optional.
9574 Simplify argument names. Doc fix. Check for integer WARNTIME.
9575 Only add WARNTIME to the output list if non-nil.
9577 2010-06-16 Ivan Kanis <apple@kanis.eu>
9579 * calendar/appt.el (appt-check): Let the 3rd element of
9580 appt-time-msg-list specify the warning time.
9581 (appt-add): Add new argument with the warning time. (Bug#5176)
9583 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9585 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9586 older than version 1.6. (Bug#6361)
9588 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9590 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9591 used by cl-do-arglist. (Bug#6408)
9593 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9595 * textmodes/ispell.el (ispell-dictionary-base-alist):
9596 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9597 Suggested by Rolando Pereira (bug#6434).
9599 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9601 * facemenu.el (list-colors-sort): Doc fix.
9603 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9605 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9607 2010-06-14 Juri Linkov <juri@jurta.org>
9609 Add sort option `list-colors-sort'. (Bug#6332)
9610 * facemenu.el (color-rgb-to-hsv): New function.
9611 (list-colors-sort): New defcustom.
9612 (list-colors-sort-key): New function.
9613 (list-colors-display): Doc fix. Sort list according to the option
9615 (list-colors-print): Add HSV values to `help-echo' property of
9618 2010-06-14 Juri Linkov <juri@jurta.org>
9620 * compare-w.el: Move to the "vc" subdirectory.
9622 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9624 * image-mode.el (image-mode-map): Remap left-char and right-char.
9626 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9628 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9630 * term/common-win.el (x-colors): Add all the color names defined
9631 in rgb.txt (Bug#6332).
9633 * facemenu.el (list-colors-print): Don't print extra names if it
9634 will overflow the window width.
9636 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9639 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9641 * files.el (make-directory): Doc fix (bug#6396).
9643 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9645 * net/tramp.el (tramp-remote-process-environment): Protect version
9646 string by apostroph.
9647 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9649 (tramp-file-name-for-operation): Add `call-process-region'.
9650 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9652 * net/tramp-compat.el (top): Do not autoload
9653 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9654 only when `start-file-process' is not bound.
9655 (tramp-advice-file-expand-wildcards): Do not use
9656 `tramp-handle-file-remote-p'.
9657 (tramp-compat-make-temp-file): Handle the case, that
9658 `make-temp-file' has no third argument EXTENSION.
9660 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9662 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9664 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9666 2010-06-11 Juri Linkov <juri@jurta.org>
9668 * finder.el (finder-known-keywords): Add keyword "vc"
9669 for version control.
9671 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9672 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9673 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9674 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9676 2010-06-11 Juri Linkov <juri@jurta.org>
9678 Move version control related files to the "vc" subdirectory.
9679 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9680 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9681 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9682 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9683 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9684 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9685 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9686 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9687 Move files to the "vc" subdirectory.
9689 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9691 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9694 2010-06-11 Stephen Eglen <stephen@gnu.org>
9696 * shell.el: Bind `shell-resync-dirs' to M-RET.
9698 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9700 * notifications.el: Move file from lisp/net, because it is
9701 supposed to talk locally to the user.
9703 2010-06-10 Julien Danjou <julien@danjou.info>
9705 * net/notifications.el (notifications-on-action-signal)
9706 (notifications-on-closed-signal): Pass notification id as first
9707 argument to the callback functions. Add docstrings.
9708 (notifications-notify): Fix docstring.
9710 2010-06-10 Glenn Morris <rgm@gnu.org>
9712 * emacs-lisp/authors.el (authors-ignored-files)
9713 (authors-valid-file-names): Add some files.
9715 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9717 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9718 merge conflict, giving preference to the emacs-23 version of the code.
9720 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * emacs-lisp/advice.el (ad-compile-function):
9723 Define warning-suppress-types before we let-bind it (bug#6275).
9725 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9726 declare it, make it buffer-local and permanent-local (bug#6324).
9727 (vc-resynch-window): Adjust name.
9728 * vc-hooks.el (vc-find-file-hook): Adjust name.
9730 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9732 * net/notifications.el (notifications-notify): Fix docstring.
9734 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9736 Update to Unicode 6.0.0 beta.
9737 * international/charprop.el: Update copyright.
9738 * international/mule-cmds.el (ucs-names): Update character ranges.
9739 * international/uni-bidi.el:
9740 * international/uni-category.el:
9741 * international/uni-combining.el:
9742 * international/uni-comment.el:
9743 * international/uni-decimal.el:
9744 * international/uni-decomposition.el:
9745 * international/uni-digit.el:
9746 * international/uni-lowercase.el:
9747 * international/uni-mirrored.el:
9748 * international/uni-name.el:
9749 * international/uni-numeric.el:
9750 * international/uni-old-name.el:
9751 * international/uni-titlecase.el:
9752 * international/uni-uppercase.el: Regenerate.
9754 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9756 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9757 (smie-precs-precedence-table): Fix typo in docstring.
9759 * vc-mtn.el (log-edit-extract-headers): Declare function.
9761 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9763 * net/notifications.el (dbus-register-signal): Declare function.
9764 (notifications-notify): Fix typos and reflow docstring.
9766 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9768 Improve VC create/retrieve tag/branch.
9769 * vc.el (vc-create-tag): Do not read the directory name for VCs
9770 with repository revision granularity. Adjust the tag/branch
9771 prompt. Reset VC properties.
9772 (vc-retrieve-tag): Do not read the directory name for VCs
9773 with repository revision granularity. Reset VC properties.
9775 2010-06-09 Julien Danjou <julien@danjou.info>
9777 * net/notifications.el: New file.
9779 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9781 Add optional support for resetting VC properties.
9782 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9783 call vc-file-clearprops when true.
9784 (vc-resynch-buffer): Add new optional argument, pass it down.
9785 (vc-resynch-buffers-in-directory): Likewise.
9787 Improve support for special markup in the VC commit message.
9788 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9789 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9790 * vc-git.el (vc-git-checkin):
9791 * vc-bzr.el (vc-bzr-checkin): Likewise.
9793 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9795 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9796 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9798 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9800 * iimage.el: Remove images as soon as the underlying text is modified.
9801 (iimage-modification-hook): New function.
9802 (iimage-mode-buffer): Use it.
9804 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9807 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9808 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9809 (smie-indent-keyword): Add handling of open-paren keywords.
9810 (smie-indent-comment-continue): Don't assume comment-continue.
9812 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9814 * window.el (pop-to-buffer): Remove the conditional that
9815 compares new-window and old-window, so it will reselect
9816 the selected window unconditionally.
9817 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9819 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * emacs-lisp/smie.el (smie-indent-offset-after)
9822 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9823 (smie-indent-after-keyword): Use them.
9824 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9825 (smie-indent-keyword): Tweak the black magic.
9826 (smie-indent-comment-continue): Strip comment-continue before use.
9827 (smie-indent-functions): Indent comments before keywords.
9829 2010-06-06 Juri Linkov <juri@jurta.org>
9831 * isearch.el (isearch-lazy-highlight-search): Fix looping
9832 by checking for empty match. This syncs this loop with the
9833 similar loop in `isearch-search'. (Bug#6362)
9835 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9837 * net/dbus.el (dbus-register-method): Declare function.
9838 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9839 (dbus-introspect): Doc fix.
9840 (dbus-event-bus-name, dbus-introspect-get-interface)
9841 (dbus-introspect-get-argument): Reflow docstrings.
9843 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9845 vc-log-incoming/vc-log-outgoing fixes for Git.
9846 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9847 incoming/outgoing logs.
9848 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9849 instead of vc-git-compute-remote.
9850 (vc-git-compute-remote): Remove.
9852 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9854 * term/common-win.el (x-colors): Add "dark green" and "dark
9855 turquoise" (Bug#6332).
9857 2010-06-04 Juri Linkov <juri@jurta.org>
9859 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9860 Instead of setting `replace' to t and replacing the same string
9861 with itself, don't do certain actions when
9862 kill-do-not-save-duplicates is non-nil and string is equal to car
9863 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9864 interprogram-paste strings to kill-ring, and don't push the input
9865 argument `string' to kill-ring.
9866 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9868 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9870 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9872 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9874 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9875 (tramp-gvfs-handler-mounted-unmounted)
9876 (tramp-gvfs-connection-mounted-p): Handle default-location.
9878 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9879 move files to trash.
9881 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9883 * international/mule-cmds.el (nonascii-insert-offset)
9884 (nonascii-translation-table): Add obsolescence information.
9886 * international/mule.el (make-translation-table-from-vector): Doc fix.
9888 2010-06-03 Glenn Morris <rgm@gnu.org>
9890 * desktop.el (desktop-clear-preserve-buffers):
9891 Add "*Warnings*" buffer. (Bug#6336)
9893 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
9895 vc-log-incoming/vc-log-outgoing improvements for Git.
9896 * vc-git.el (vc-git-log-outgoing): Use the same format as the
9898 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9900 Add bindings for vc-log-incoming and vc-log-outgoing.
9901 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9902 and vc-log-outgoing.
9903 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9904 and vc-log-outgoing.
9906 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9908 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9909 (rcirc-handler-366): Always sort nicknames.
9911 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9913 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9915 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9917 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9919 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9921 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9922 (rcirc-sort-nicknames-join): Avoid setq.
9924 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9926 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9927 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9928 (rcirc-handler-366): Use them.
9930 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9932 Split smie-indent-calculate into more manageable chunks.
9933 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9934 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9935 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9936 (smie-indent-exps): Extract from smie-indent-calculate.
9937 (smie-indent-functions): New var.
9938 (smie-indent-functions): Use them.
9940 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9943 (smie-indent-calculate): Simplify and cleanup.
9945 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9947 * net/tramp-gvfs.el (top): Require url-util.
9948 (tramp-gvfs-mount-point): Remove.
9949 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9951 (with-tramp-dbus-call-method): Format trace message.
9952 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9953 Implement backup call, when operation on local files fails.
9954 Use progress reporter. Flush properties of changed files.
9955 (tramp-gvfs-handle-make-directory): Make more traces.
9956 (tramp-gvfs-url-file-name): Hexify file name in url.
9957 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9958 into account for the resulting file name.
9959 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9960 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9961 (tramp-gvfs-handler-mounted-unmounted)
9962 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9963 attribute "default_location". Set "prefix" property.
9964 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9965 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9966 exists. Raise an error, if not (due to a corresponding answer
9967 "no" in interactive questions, for example).
9969 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9971 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9973 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9975 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9978 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9980 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9981 * vc-git.el (vc-git-compute-remote): New function.
9982 (vc-git-log-outgoing): Use it instead of hard coding a value.
9983 (vc-git-log-incoming): New function.
9985 Improve state updating for VC tag commands.
9986 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9987 to update the state of all buffers in the directory.
9989 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9991 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9993 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9994 `file-directory-p' to the filename part rather than to the whole text.
9996 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9998 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10000 2010-05-31 Drew Adams <drew.adams@oracle.com>
10002 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10004 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10006 * subr.el (momentary-string-display): Just use read-event to read
10007 the exit event (Bug#6238).
10009 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10011 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10013 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10015 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10016 Suggested by Eli Zaretskii <eliz@gnu.org>.
10018 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * minibuffer.el (completion-file-name-table): Don't return a boundary
10021 past the end of `string' (bug#6299).
10022 (completion--file-name-table): Delegate to completion-file-name-table
10023 for the `boundaries' case.
10025 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10027 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10030 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10031 `path-separator', but maintain compatibility with Emacs 20.2.
10033 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10035 * server.el (server-process-filter): Receive parent-id argument
10037 (server-create-window-system-frame): New arg. Pass parent-id as
10040 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10042 Bidi-sensitive word movement with arrow keys.
10043 * subr.el (right-arrow-command, left-arrow-command): Move to
10046 * bindings.el (right-char, left-char): Move from subr.el and
10047 rename from right-arrow-command and left-arrow-command.
10048 (right-word, left-word): New functions.
10049 (global-map) <right>: Bind to right-char.
10050 (global-map) <left>: Bind to left-char.
10051 (global-map) <C-right>: Bind to right-word.
10052 (global-map) <C-left>: Bind to left-word.
10054 * ls-lisp.el (ls-lisp-classify-file): New function.
10055 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10056 (ls-lisp-classify): Call ls-lisp-classify-file.
10057 (insert-directory): Remove blanks from switches.
10059 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10061 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10062 (ansi-color-drop-regexp): New constant.
10063 (ansi-color-apply, ansi-color-filter-region)
10064 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10065 (ansi-color-apply): Build string list before calling concat.
10067 2010-05-28 Juri Linkov <juri@jurta.org>
10069 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10070 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10073 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10075 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10076 to ignored backtrace functions.
10077 (with-progress-reporter): Expand docstring.
10078 (tramp-handle-delete-file): Implement TRASH argument.
10079 (tramp-get-remote-trash): New defun.
10081 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10083 * net/tramp-compat.el (tramp-compat-delete-file):
10084 Use `symbol-value' for backward compatibility.
10086 * net/tramp.el (tramp-handle-make-symbolic-link)
10087 (tramp-handle-load)
10088 (tramp-do-copy-or-rename-file-via-buffer)
10089 (tramp-do-copy-or-rename-file-directly)
10090 (tramp-do-copy-or-rename-file-out-of-band)
10091 (tramp-handle-process-file, tramp-handle-call-process-region)
10092 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10093 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10094 (tramp-delete-temp-file-function): Use `delete-file' instead
10095 of `tramp-compat-delete-file'.
10097 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10098 (tramp-fish-handle-make-symbolic-link)
10099 (tramp-fish-handle-process-file): Use `delete-file' instead
10100 of `tramp-compat-delete-file'.
10102 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10103 Use `delete-file' instead of `tramp-compat-delete-file'.
10105 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10106 `delete-file' instead of `tramp-compat-delete-file'.
10108 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10109 Use `delete-file' instead of `tramp-compat-delete-file'.
10111 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10112 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10113 (tramp-smb-handle-write-region): Use `delete-file' instead of
10114 `tramp-compat-delete-file'.
10115 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10117 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10119 * dired.el (dired-delete-file): New arg TRASH.
10120 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10121 (dired-do-flagged-delete, dired-do-delete): Use trash.
10123 * speedbar.el (speedbar-item-delete): Allow trashing.
10125 * files.el (delete-directory): New arg TRASH.
10127 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10128 (ange-ftp-rename-remote-to-remote)
10129 (ange-ftp-rename-local-to-remote)
10130 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10131 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10133 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10136 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10137 handle new TRASH arg of `delete-file'.
10139 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10140 (tramp-handle-make-symbolic-link, tramp-handle-load)
10141 (tramp-do-copy-or-rename-file-via-buffer)
10142 (tramp-do-copy-or-rename-file-directly)
10143 (tramp-do-copy-or-rename-file-out-of-band)
10144 (tramp-handle-process-file, tramp-handle-call-process-region)
10145 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10146 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10147 (tramp-delete-temp-file-function): Use null TRASH arg in
10148 tramp-compat-delete-file call.
10150 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10151 (tramp-fish-handle-delete-file)
10152 (tramp-fish-handle-make-symbolic-link)
10153 (tramp-fish-handle-process-file): Use null TRASH arg in
10154 `tramp-compat-delete-file' call.
10156 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10157 arg in `tramp-compat-delete-file' call.
10159 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10160 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10161 `tramp-compat-delete-file' call.
10163 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10164 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10165 `tramp-compat-delete-file' call.
10167 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10168 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10169 (tramp-smb-handle-write-region): Use null TRASH arg in
10170 tramp-compat-delete-file call.
10171 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10172 (tramp-smb-handle-delete-file): Rename arg.
10174 * diff.el (diff-sentinel):
10175 * epg.el (epg--make-temp-file, epg-decrypt-string)
10176 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10177 * jka-compr.el (jka-compr-partial-uncompress)
10178 (jka-compr-call-process, jka-compr-write-region):
10179 * server.el (server-sentinel): Remove optional arg from
10180 delete-file, reverting 2010-05-03 change.
10182 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10184 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10185 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10187 2010-05-27 Kenichi Handa <handa@m17n.org>
10189 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10190 element of GSTRING is nil.
10192 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * emacs-lisp/smie.el (smie-forward-token-function)
10195 (smie-backward-token-function): New vars.
10196 (smie-backward-sexp, smie-forward-sexp)
10197 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10198 (smie-default-backward-token): Rename from smie-backward-token and
10200 (smie-default-forward-token): Rename from smie-forward-token and
10202 (smie-next-sexp): Handle nil results from next-token.
10203 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10205 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10207 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10208 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10210 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10212 * htmlfontify.el (hfy-face-resolve-face): New function.
10213 (hfy-face-to-style): Use it (Bug#6279).
10215 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10217 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10218 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10220 2010-05-26 Glenn Morris <rgm@gnu.org>
10222 * emulation/edt.el (edt-load-keys): Use locate-library.
10224 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10226 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10227 (log-edit-changelog-entries): Doc fix.
10228 (log-edit-changelog-insert-entries): Args changed.
10229 Rename relative filenames in ChangeLog entries. Delete tabs.
10230 (log-edit-insert-changelog-entries): Reorganize return value of
10231 `log-edit-changelog-entries' to pass filenames to
10232 log-edit-changelog-insert-entries.
10234 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10236 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10237 `image-dired-dired-insert-marked-thumbs' to
10238 `image-dired-dired-toggle-marked-thumbs'.
10240 * image-dired.el: Require cl when compiling.
10241 (image-dired-dired-toggle-marked-thumbs): Rename from
10242 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10243 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10244 to 'no-dir. Skip files whose names don't match
10245 `image-file-name-regexp'. When file has a thumbnail overlay,
10246 delete it. (Bug#5270)
10248 2010-05-25 Juri Linkov <juri@jurta.org>
10250 * image-mode.el (image-mode): Add image-after-revert-hook to
10252 (image-after-revert-hook): New function. (Bug#5669)
10254 2010-05-25 Juri Linkov <juri@jurta.org>
10256 * image.el (image-animated-p): When delay between animated images
10257 is 0, set it to 10 (0.1 sec). (Bug#6258)
10259 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10261 * net/tramp.el (tramp-handle-insert-directory): Don't use
10262 `forward-word', its default syntax could be changed.
10264 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10266 * net/tramp.el (tramp-progress-reporter-update): New defun.
10267 (with-progress-reporter): Use it.
10268 (tramp-process-actions):
10269 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10270 Preserve current message, in order to let progress reporter continue
10271 afterwards. (Bug#6257)
10273 2010-05-25 Glenn Morris <rgm@gnu.org>
10275 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10278 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10280 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10281 (rcirc-default-full-name): Change to "unknown".
10282 (rcirc-user-name-history): Add variable.
10284 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10285 Jonathan Rockway <jon@jrock.us>
10287 * net/rcirc.el (rcirc-server-alist): Add :pass.
10288 (rcirc): When prompting for connection parameters, also prompt for
10289 username and password.
10290 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10291 value to server when connecting.
10293 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10296 (smie-merge-prec2s): Pass the tables as separate args.
10297 (smie-bnf-precedence-table): Adjust call accordingly.
10298 (smie-prec2-levels): Set levels at the end.
10300 Replace Lisp calls to delete-backward-char by delete-char.
10301 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10302 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10303 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10304 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10305 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10306 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10307 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10308 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10309 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10310 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10311 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10312 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10313 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10314 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10315 delete-backward-char by calls to delete-char.
10317 2010-05-25 Kenichi Handa <handa@m17n.org>
10319 * language/hebrew.el (hebrew-shape-gstring): New function.
10320 Register it in composition-function-table for all Hebrew combining
10323 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10325 * epa.el (epa--select-keys): Don't explicitly delete the window since
10326 that can fail (e.g. sole window in frame). Use dedication instead.
10328 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10330 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10332 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10334 * image.el (image-refresh): Define as an alias for image-flush.
10336 * image-mode.el (image-toggle-display-image): Caller changed.
10338 2010-05-21 Juri Linkov <juri@jurta.org>
10340 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10341 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10342 whitespace, call wildcard-to-regexp on substrings and concat them
10343 with "\\|". (Bug#6114)
10345 2010-05-21 Alan Mackenzie <acm@muc.de>
10347 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10348 Replace parameter `here' with `here-' and `here-plus', which sandwich
10349 any pertinent CPP construct.
10350 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10351 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10352 CPP construct from taking part in the scanning.
10354 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10356 * net/tramp.el (tramp-do-copy-or-rename-file)
10357 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10358 Tune `with-progress-reporter' messages.
10359 (tramp-handle-vc-registered):
10360 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10361 (tramp-fish-handle-insert-file-contents)
10362 (tramp-fish-maybe-open-connection):
10363 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10364 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10365 (tramp-imap-handle-insert-file-contents)
10366 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10368 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10370 * add-log.el (change-log-font-lock-keywords):
10371 Highlight all authors in multi-author entries.
10373 * smerge-mode.el (smerge-refine-ignore-whitespace)
10374 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10375 Fix typos in docstrings.
10376 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10378 2010-05-21 Glenn Morris <rgm@gnu.org>
10380 * progmodes/fortran.el (fortran-mode):
10381 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10383 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10384 having a relative path in src/Makefile.in.
10386 2010-05-20 Kevin Ryde <user42@zip.com.au>
10388 * help-mode.el (help-make-xrefs): For Info node links turn
10389 newlines into spaces. Link node names with newlines are matched
10390 by help-xref-info-regexp and buttonized, this change ensures they
10391 can be followed successfully with RET. (Bug#6206)
10393 2010-05-20 Juri Linkov <juri@jurta.org>
10395 * locate.el (locate): Use pop-to-buffer instead of
10396 switch-to-buffer-other-window. (Bug#6204)
10398 2010-05-20 Juri Linkov <juri@jurta.org>
10400 * replace.el (replace-highlight): Fix lazy-highlighting
10401 for `M-s w str M-% str RET'.
10403 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10405 * isearch.el (isearch-yank-word-or-char): Pull next subword
10406 when `subword-mode' is activated. (Bug#6220)
10408 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10410 * isearch.el (isearch-update-post-hook): New hook.
10411 (isearch-update): Use the new hook. (Bug#6225)
10413 2010-05-20 Juri Linkov <juri@jurta.org>
10415 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10416 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10419 2010-05-20 Juri Linkov <juri@jurta.org>
10421 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10424 2010-05-20 Juri Linkov <juri@jurta.org>
10426 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10427 FILE-NAME to read from the minibuffer when called interactively
10428 with prefix argument instead of using buffer-file-name.
10429 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10431 * dired.el: Update autoloads.
10433 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10435 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10436 nxml-finish-element, for consistency with SGML mode.
10438 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10439 octave-close-block.
10441 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10443 * composite.el: Require cl when compiling.
10444 (reference-point-alist, compose-gstring-for-graphic)
10445 (compose-gstring-for-terminal): Fix typos in docstrings.
10447 2010-05-19 Juri Linkov <juri@jurta.org>
10449 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10450 set-window-parameter.
10452 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10454 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10456 (tramp-maybe-open-connection): Use it.
10458 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10460 * simple.el (move-end-of-line): Make sure we are at line beginning
10461 before backing up to end of previous line.
10463 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10465 * password-cache.el (password-cache-remove): Fix docstring.
10467 * net/secrets.el: Autoload the widget functions.
10468 (secrets-search-items, secrets-create-item)
10469 (secrets-get-attributes, secrets-expand-item): Attributes will be
10470 stored on the password database without leading ":", as all other
10471 clients do as well.
10472 (secrets-mode): Fix docstring.
10473 (secrets-show-secrets): Provide it as autoloaded command only when
10474 D-Bus support is available. Check existence of Secret Service API.
10476 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * indent.el (indent-region): Deactivate region (bug#6200).
10480 2010-05-19 Glenn Morris <rgm@gnu.org>
10482 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10484 2010-05-19 Kenichi Handa <handa@m17n.org>
10486 * composite.el: Register compose-gstring-for-graphic in
10487 composition-function-table only for combining characters (Mn, Mc, Me).
10489 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10491 * calc/calc-trail.el (calc-trail-isearch-forward)
10492 (calc-trail-isearch-backward): Ensure that the new window
10493 point is set correctly.
10495 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10497 * subr.el (read-quoted-char): Resolve modifiers after key
10498 remapping (bug#6212).
10500 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10502 Add visualization code for secrets.
10503 * net/secrets.el (secrets-mode): New major mode.
10504 (secrets-show-secrets, secrets-show-collections)
10505 (secrets-expand-collection, secrets-expand-item)
10506 (secrets-tree-widget-after-toggle-function)
10507 (secrets-tree-widget-show-password): New defuns.
10509 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10511 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10512 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10513 handled in smie-next-sexp.
10514 (smie-indent-calculate): Provide a starting indentation (so the
10515 recursion is well-founded ;-).
10517 Fix handling of non-associative equal levels.
10518 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10519 when it's not needed.
10520 (smie-op-left, smie-op-right): New functions.
10521 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10522 Better handle equal levels to distinguish the associative case from
10523 the "multi-keyword construct" case.
10524 (smie-backward-sexp, smie-forward-sexp): Use it.
10526 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10528 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10530 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10531 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10533 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10535 Provide a simple generic indentation engine and use it for Prolog.
10536 * emacs-lisp/smie.el: New file.
10537 * progmodes/prolog.el (prolog-smie-op-levels)
10538 (prolog-smie-indent-rules): New var.
10539 (prolog-mode-variables): Use them to configure SMIE.
10540 (prolog-indent-line, prolog-indent-level): Remove.
10542 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10544 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10545 order before computing the averages.
10547 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10549 * calc/calc-vec.el (calc-histogram):
10550 (calcFunc-histogram): Allow vectors as inputs.
10551 (math-vector-avg): New function.
10553 * calc/calc-ext.el (math-group-float): Have the number of digits
10554 being grouped depend on the radix (Bug#6189).
10556 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10558 * version.el (emacs-copyright, emacs-version): Don't define here,
10559 now that emacs.c defines it.
10561 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10563 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10564 "Describe Language Environment" menu item.
10566 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10568 Bidi-sensitive movement with arrow keys.
10569 * subr.el (right-arrow-command, left-arrow-command): New functions.
10571 * bindings.el (global-map): Bind them to right and left arrow keys.
10573 Don't override standard definition of convert-standard-filename.
10574 * files.el (convert-standard-filename):
10575 Call w32-convert-standard-filename and dos-convert-standard-filename on
10576 the corresponding systems.
10578 * w32-fns.el (w32-convert-standard-filename): Rename from
10579 convert-standard-filename. Doc fix.
10581 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10582 (convert-standard-filename): Don't defalias.
10583 (register-name-alist, make-register, register-value)
10584 (set-register-value, intdos): Obsolete aliases for the
10585 corresponding dos-* functions and variables.
10586 (dos-intdos): Add a doc string.
10588 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10590 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10591 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10592 (math-compose-tex-func):
10593 * calc/calccomp.el (math-compose-expr):
10594 * calc/calc-ext.el (math-format-flat-expr-fancy):
10595 * calc/calc-store.el (calc-read-var-name):
10596 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10598 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10599 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10600 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10601 (math-standard-units): Add units.
10603 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10605 * progmodes/asm-mode.el (asm-mode):
10606 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10608 * pcomplete.el (pcomplete-completions-at-point): New function,
10609 extracted from pcomplete-std-complete.
10610 (pcomplete-std-complete): Use it.
10612 2010-05-15 Glenn Morris <rgm@gnu.org>
10614 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10615 Remove references to CVS, RCS and Old directories.
10617 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10619 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10622 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10624 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10625 (sh-mode-syntax-table): Give it a default value instead.
10626 (sh-header-marker): Make buffer-local.
10627 (sh-mode): Move make-local-variable to the corresponding setq.
10628 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10629 Use complete-with-action.
10631 * simple.el (prog-mode): New (abstract) major mode.
10632 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10633 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10635 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10637 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10638 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10639 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10640 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10641 (sql-escape-newlines-filter, sql-input-sender)
10642 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10644 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10646 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10648 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10649 latex-open-block and C-c / to latex-close-block.
10651 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10652 and C-c C-e to sgml-close-tag.
10654 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10656 * net/tramp.el (with-progress-reporter): Create reporter object
10657 only when the message would be displayed. Handle nested calls.
10658 (tramp-handle-load, tramp-handle-file-local-copy)
10659 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10660 (tramp-maybe-send-script, tramp-find-shell):
10661 Use `with-progress-reporter'.
10662 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10665 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10666 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10667 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10668 Use `with-progress-reporter'.
10670 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10672 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10673 process everytime when spellchecking from the minibuffer (bug#6143).
10675 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10677 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10679 * dos-fns.el: Add "dos-" prefix for namespace control.
10680 (convert-standard-filename): Define as alias for
10681 dos-convert-standard-filename but only if applicable.
10683 2010-05-12 Alan Mackenzie <acm@muc.de>
10685 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10686 Push the mark at the start of these functions when appropriate.
10688 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * minibuffer.el (completion-cycle-threshold): New custom var.
10691 (completion--do-completion): Use it.
10692 (minibuffer-complete): Use cycling if appropriate.
10694 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10696 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10697 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10699 2010-05-11 Juri Linkov <juri@jurta.org>
10701 * scroll-all.el (scroll-all-check-to-scroll):
10702 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10704 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10706 * iimage.el (iimage-mode-map): Move initialization into declaration.
10707 (iimage-mode-buffer): Use with-silent-modifications.
10708 Simplify calling convention. Adjust callers.
10709 (iimage-mode): Don't run hook redundantly.
10711 * minibuffer.el (completion-pcm--pattern->regex):
10712 Fix last change (bug#6160).
10714 2010-05-10 Juri Linkov <juri@jurta.org>
10716 Remove nodes visited during Isearch from the Info history.
10717 * info.el (Info-isearch-initial-history)
10718 (Info-isearch-initial-history-list): New variables.
10719 (Info-isearch-start): Record initial values of
10720 Info-isearch-initial-history and Info-isearch-initial-history-list.
10721 Add Info-isearch-end to isearch-mode-end-hook.
10722 (Info-isearch-end): New function.
10724 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10726 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10727 format string, in order to work around a bug in pdksh.
10728 Reported by Gilles Pion <gpion@lfdj.com>.
10729 (tramp-handle-verify-visited-file-modtime): Do not send a command
10730 when the connection is not established.
10731 (tramp-handle-set-file-times): Simplify the check for utc.
10733 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10735 Fix use of `filter-buffer-substring' (rework previous change).
10736 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10737 (cua-repeat-replace-region):
10738 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10739 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10740 (cua-cut-region-to-global-mark): Use it.
10742 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10744 * progmodes/sql.el: Version 2.1.
10745 (sql-product-alist): Redesign structure of product info.
10746 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10747 (sql-port, sql-port-history): New variables.
10748 (sql-interactive-product): New variable.
10749 (sql-send-terminator): New variable.
10750 (sql-imenu-generic-expression): Add "Types" imenu entry.
10751 (sql-oracle-login-params, sql-sqlite-login-params)
10752 (sql-mysql-login-params, sql-solid-login-params)
10753 (sql-sybase-login-params, sql-informix-login-params)
10754 (sql-ingres-login-params, sql-ms-login-params)
10755 (sql-postgres-login-params, sql-interbase-login-params)
10756 (sql-db2-login-params, sql-linter-login-params)
10757 (sql-oracle-scan-on): New variables.
10758 (sql-mode-map): Add C-c C-i to start interactive mode.
10759 (sql-mode-menu): Update existing menu entries.
10760 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10761 (sql-mode-oracle-font-lock-keywords)
10762 (sql-mode-postgres-font-lock-keywords)
10763 (sql-mode-ms-font-lock-keywords)
10764 (sql-mode-sybase-font-lock-keywords)
10765 (sql-mode-informix-font-lock-keywords)
10766 (sql-mode-interbase-font-lock-keywords)
10767 (sql-mode-ingres-font-lock-keywords)
10768 (sql-mode-solid-font-lock-keywords)
10769 (sql-mode-mysql-font-lock-keywords)
10770 (sql-mode-sqlite-font-lock-keywords)
10771 (sql-mode-db2-font-lock-keywords)
10772 (sql-mode-linter-font-lock-keywords): Update initialization to
10773 reduce run-time complexity.
10774 (sql-add-product, sql-del-product): New functions.
10775 (sql-set-product-feature, sql-get-product-feature): New functions.
10776 (sql-product-font-lock): Update product API.
10777 (sql-add-product-keywords): New function.
10778 (sql-highlight-product): Update product API.
10779 (sql-help-list-products): New function.
10780 (sql-help): Dynamically lists free and non-free products.
10781 (sql-get-login): Correct bug in handling history and added
10783 (sql-copy-column): Copy without properties.
10784 (sqli-input-sender): Apply filters to SQLi input.
10785 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10786 Implement as a filter.
10787 (sql-escape-newlines-filter): Implement as a filter.
10788 (sql-remove-tabs-filter): New function.
10789 (sql-send-magic-terminator): New function.
10790 (sql-send-string): Implement magic terminator.
10791 (sql-send-region): Use `sql-send-string'.
10792 (sql-interactive-mode): Use product API.
10793 (sql-product-interactive): Use product API.
10794 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10795 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10796 (sql-db2, sql-linter): Use `sql-product-interactive'.
10797 (sql-connect): New function.
10798 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10799 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10800 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10801 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10804 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10807 New custom variable.
10808 (completion-pcm--string->pattern): Use it.
10809 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10810 Make it handle any symbol as `any'.
10811 (completion-pcm--merge-completions): Extract common suffix for the new
10812 `prefix' symbol as well.
10813 (completion-substring--all-completions): Use the new `prefix' symbol.
10815 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10817 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10819 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10820 (tramp-compat-funcall): New defmacro.
10821 (tramp-compat-line-beginning-position)
10822 (tramp-compat-line-end-position)
10823 (tramp-compat-temporary-file-directory)
10824 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10825 (tramp-compat-copy-file, tramp-compat-copy-directory)
10826 (tramp-compat-delete-file, tramp-compat-delete-directory)
10827 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10828 * net/tramp.el (top, with-progress-reporter)
10829 (tramp-rfn-eshadow-setup-minibuffer)
10830 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10831 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10832 (tramp-completion-mode-p, tramp-check-for-regexp)
10833 (tramp-open-connection-setup-interactive-shell)
10834 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10835 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10836 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10837 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10838 (tramp-reporter-dump-variable, tramp-load-report-modules)
10839 (tramp-append-tramp-buffers)
10840 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10842 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10844 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10846 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10847 buffer-modtime. Adjust users.
10849 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10851 * international/mule.el (auto-coding-alist): Only purecopy
10852 car of each item, not the whole list (Bug#6083).
10854 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10856 * progmodes/js.el (js-mode): Make paragraph variables local before
10857 calling c-setup-paragraph-variables (Bug#6071).
10859 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10861 * composite.el (compose-region, reference-point-alist): Fix typos
10862 in the doc strings.
10864 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10866 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10867 gnuplot's "set" command.
10869 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10871 * abbrev.el (last-abbrev-text): Doc fix.
10872 (abbrev-prefix-mark): Don't escape parenthesis.
10874 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10876 * composite.el (find-composition): Doc fix.
10878 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10880 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10881 (sql-oracle-program, sql-sqlite-options)
10882 (sql-query-placeholders-and-send): Doc fixes.
10883 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10884 (sql-imenu-generic-expression, sql-buffer)
10885 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10886 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10887 (sql-mode-sybase-font-lock-keywords)
10888 (sql-mode-informix-font-lock-keywords)
10889 (sql-mode-interbase-font-lock-keywords)
10890 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10891 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10892 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10893 (sql-product-feature, sql-highlight-product)
10894 (comint-line-beginning-position, sql-rename-buffer)
10895 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10896 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10897 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10898 Fix typos in docstrings.
10900 2010-05-08 Juri Linkov <juri@jurta.org>
10902 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10903 property instead of `invisible' and `after-string' (bug#5998).
10905 2010-05-08 Juri Linkov <juri@jurta.org>
10907 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10909 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10911 * filecache.el (file-cache-add-directory-list)
10912 (file-cache-add-directory-recursively): Fix typos in docstrings.
10914 2010-05-08 Kenichi Handa <handa@m17n.org>
10916 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10917 (gujarati-composable-pattern): Fix typo.
10919 2010-05-08 Kenichi Handa <handa@m17n.org>
10921 * language/indian.el (oriya-composable-pattern)
10922 (tamil-composable-pattern, malayalam-composable-pattern):
10923 Add two-part vowels to "v" (vowel sign).
10925 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10927 * files.el (copy-directory): Handle symlinks (Bug#5982).
10929 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10931 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10932 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10935 2010-05-08 Glenn Morris <rgm@gnu.org>
10937 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10939 * minibuffer.el (completion-at-point): Doc fix.
10941 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10943 * electric.el (Electric-command-loop): Minor tweak.
10945 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10946 better with dedicated windows.
10948 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10950 * Version 23.2 released.
10952 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10953 Stefan Monnier <monnier@iro.umontreal.ca>
10955 Highlight vendor specific properties.
10956 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10957 (css-proprietary-property): New face.
10958 (css-font-lock-keywords): Use them.
10960 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10962 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10964 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10966 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10967 * files.el (auto-mode-alist): Remove redundant entries.
10969 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10970 * simple.el (auto-save-mode): Move from files.el.
10971 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10973 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10975 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10977 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10979 * mail/binhex.el (binhex-decode-region-internal)
10980 * mail/uudecode.el (uudecode-decode-region-internal)
10981 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10982 (dns-read-type, dns-query)
10983 * pgg-parse.el (pgg-parse-armor)
10984 * pgg.el (pgg-verify-region)
10985 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10988 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10990 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10992 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10994 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10995 * emulation/cua-base.el (cua-repeat-replace-region):
10996 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10997 (cua-cut-region-to-global-mark):
10998 Remove text properties with `set-text-properties'.
11000 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11002 * net/tramp.el (top, with-progress-reporter):
11003 Use `symbol-function' inside `funcall'.
11005 * net/tramp-compat.el (tramp-compat-file-attributes)
11006 (tramp-compat-delete-file, tramp-compat-delete-directory):
11007 Handle only `wrong-number-of-arguments' error.
11009 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11010 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11013 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * minibuffer.el (completion--sreverse, completion--common-suffix):
11017 (completion-pcm--merge-completions): Extract common suffix when safe.
11019 * emacs-lisp/easy-mmode.el (define-minor-mode):
11020 Make :variable more flexible.
11021 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11023 2010-05-05 Juri Linkov <juri@jurta.org>
11025 Add `slow' and `history' tags to the desktop data.
11027 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11028 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11029 (Info-finder-find-node): Require `finder.el' to be able
11030 to restore node from the desktop.
11031 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11032 data `Info-history' and `slow' tag in the assoc list.
11033 (Info-restore-desktop-buffer): Don't restore nodes with the
11034 `slow' tag. Restore `Info-history'.
11036 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11038 Add FORCE argument to `delete-file'.
11040 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11041 forcing to delete the temporary file.
11042 (ange-ftp-delete-file): Add FORCE arg.
11043 (ange-ftp-rename-remote-to-remote)
11044 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11045 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11046 Force file deletion.
11048 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11050 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11051 (tramp-handle-make-symbolic-link, tramp-handle-load)
11052 (tramp-do-copy-or-rename-file-via-buffer)
11053 (tramp-do-copy-or-rename-file-directly)
11054 (tramp-do-copy-or-rename-file-out-of-band)
11055 (tramp-handle-process-file, tramp-handle-call-process-region)
11056 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11057 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11058 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11060 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11061 (tramp-fish-handle-make-symbolic-link)
11062 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11064 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11065 Use `tramp-compat-delete-file'.
11067 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11068 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11070 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11071 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11073 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11074 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11075 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11076 Use `tramp-compat-delete-file'.
11078 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11081 * subr.el (add-minor-mode): Use push.
11082 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11083 * emulation/edt.el (edt-select-mode): Simplify.
11085 Use define-minor-mode in more cases.
11086 * term/tvi970.el (tvi970-set-keypad-mode):
11087 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11088 (normal-erase-is-backspace-mode):
11089 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11090 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11091 (get-scroll-bar-mode): New function.
11092 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11094 Use define-minor-mode for less obvious cases.
11095 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11096 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11097 * international/iso-ascii.el (iso-ascii-mode):
11098 * frame.el (auto-raise-mode, auto-lower-mode):
11099 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11101 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11103 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11104 in order to see error messages for failed logins.
11106 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11108 * diff.el (diff-sentinel):
11110 * epg.el (epg--make-temp-file, epg-decrypt-string)
11111 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11113 * jka-compr.el (jka-compr-partial-uncompress)
11114 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11116 * server.el (server-sentinel): Use delete-file's new FORCE arg
11119 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11121 Use define-minor-mode where applicable.
11122 * view.el (view-mode):
11123 * type-break.el (type-break-query-mode)
11124 (type-break-mode-line-message-mode):
11125 * textmodes/reftex.el (reftex-mode):
11126 * term/vt100.el (vt100-wide-mode):
11127 * tar-mode.el (tar-subfile-mode):
11128 * savehist.el (savehist-mode):
11129 * ibuf-ext.el (ibuffer-auto-mode):
11130 * composite.el (auto-composition-mode):
11131 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11132 Use define-minor-mode.
11133 (vhdl-mode): Use static mode-line format.
11134 (vhdl-mode-line-update): Delete.
11135 (vhdl-create-mode-menu, vhdl-activate-customizations)
11136 (vhdl-hs-minor-mode): Don't bother calling it.
11138 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * simple.el (with-wrapper-hook): Move.
11141 (buffer-substring-filters): Mark obsolete.
11142 (filter-buffer-substring-functions): New variable.
11143 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11145 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11146 Michael Albinus <michael.albinus@gmx.de>
11148 Implement compression for inline methods.
11150 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11151 (tramp-copy-size-limit): Allow also nil.
11152 (tramp-inline-compress-commands): New defconst.
11153 (tramp-find-inline-compress, tramp-get-inline-compress)
11154 (tramp-get-inline-coding): New defuns.
11155 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11156 replaced by `tramp-get-inline-coding'.
11157 (tramp-handle-file-local-copy, tramp-handle-write-region)
11158 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11160 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11162 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11163 Remove unused functions.
11165 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11166 Set find-tag-default-function as a variable rather than a property.
11168 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11169 * progmodes/etags.el (tags-completion-at-point-function):
11170 Remove left over interactive spec. Add autoloading stub.
11171 (complete-tag): Use tags-completion-at-point-function.
11173 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11175 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11177 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11179 * ido.el (ido-init-completion-maps): Remove C-v binding.
11180 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11182 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11184 * minibuffer.el (tags-completion-at-point-function): New function.
11185 (completion-at-point-functions): Use it.
11187 * progmodes/etags.el (complete-tag): Revert last change.
11189 2010-04-29 Alan Mackenzie <acm@muc.de>
11191 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11192 off-by-one error (in end of macro position).
11194 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11197 firefox is absent. Don't autoload.
11198 (browse-url-galeon-program): Don't autoload.
11200 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11202 * bindings.el (complete-symbol): Move into minibuffer.el.
11204 * minibuffer.el (complete-tag): Move from etags.el. If tags
11205 completion cannot be performed, return nil instead of signalling
11207 (completion-at-point): Make it an alias for complete-symbol.
11208 (complete-symbol): Move from bindings.el, and replace with the
11209 body of completion-at-point.
11211 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11213 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11215 * net/tramp.el (tramp-remote-selinux-p): New defun.
11216 (tramp-handle-file-selinux-context)
11217 (tramp-handle-set-file-selinux-context): Use it.
11219 2010-04-28 Sam Steingold <sds@gnu.org>
11221 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11222 `safe-local-variable' if the value is a string or a symbol with
11223 the property `bug-reference-url-format'.
11225 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11227 * progmodes/bug-reference.el (bug-reference-url-format):
11228 Revert 2010-04-27 change due to security risk.
11230 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11232 Make it possible to locally disable a globally enabled mode.
11233 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11234 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11235 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11236 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11237 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11238 that subsequent hooks get a chance to disable it.
11240 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11242 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11243 Avoid re-enabling a minor mode after the user turned the minor mode
11244 off if MODE-enable-in-buffers is run twice (typically once from
11245 fundamental-mode's after-change-major-mode-hook and a second time from
11246 run-mode-hook's own after-change-major-mode-hook).
11248 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11250 2010-04-27 Sam Steingold <sds@gnu.org>
11252 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11253 `safe-local-variable' if the value is a string or a function, as
11254 documented and implemented on 2010-04-02.
11256 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11258 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11259 when method is 'kill.
11261 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11263 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11264 condition in default directory check.
11265 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11266 Kill ispell process when killing its associated buffer.
11268 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11270 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11271 but we aren't using it.
11273 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11275 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11276 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11278 2010-04-24 Glenn Morris <rgm@gnu.org>
11280 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11281 Ignore VCS-ignore files, and deleted nextstep preferences files.
11282 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11283 (authors-ambiguous-files): New list.
11284 (authors-valid-file-names): Add some deleted files.
11285 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11286 (authors-disambiguate-file-name): New function. (Bug#5501)
11287 (authors-canonical-file-name): Doc fix.
11288 Don't warn about obsolete files.
11289 (authors-canonical-file-name, authors-scan-el):
11290 Use authors-disambiguate-file-name.
11292 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11293 Add autoload cookies.
11294 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11295 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11296 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11297 They have definitions / compiler macros in cl.el.
11298 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11299 Replace manual autoloads with generated ones.
11300 (htmlfontify-unload-rgb-file): Remove autoload.
11301 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11303 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11305 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11306 (byte-compile-setq-default): Optimize for the
11307 single-var case and don't call byte-compile-form in this case to avoid
11308 inf-loop with byte-compile-set-default.
11310 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11312 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11314 Implement SELINUX backends.
11316 * net/tramp.el (tramp-file-name-handler-alist):
11317 Add `file-selinux-context' and `set-file-selinux-context'.
11318 (tramp-handle-file-selinux-context)
11319 (tramp-handle-set-file-selinux-context): New defuns.
11320 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11321 Handle PRESERVE-SELINUX-CONTEXT.
11323 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11324 Add `file-selinux-context' and `set-file-selinux-context'.
11325 (tramp-gvfs-handle-file-selinux-context)
11326 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11327 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11329 * net/ange-ftp.el (ange-ftp-copy-file):
11330 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11331 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11332 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11333 Add PRESERVE-SELINUX-CONTEXT.
11335 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11337 Synchronize with Tramp repository.
11339 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11340 (tramp-action-process-alive, tramp-action-out-of-band)
11341 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11342 (tramp-exists-file-name-handler): Fix docstring.
11343 (with-progress-reporter): New defmacro.
11344 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11345 (tramp-maybe-open-connection): Use it.
11347 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11349 Detect ssh 'ControlMaster' argument automatically in some cases.
11351 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11352 (tramp-default-method): Use it.
11354 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11356 * net/tramp.el (tramp-handle-copy-file): Add new optional
11357 parameter `preserve-selinux-context'.
11358 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11360 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11362 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11363 Ensure, that non remote files are still checked. Oops.
11365 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11369 * icomplete.el (icomplete-completions): Use `non-essential'.
11371 * net/tramp.el (tramp-connectable-p): New defun.
11372 (tramp-handle-expand-file-name)
11373 (tramp-completion-handle-file-name-all-completions)
11374 (tramp-completion-handle-file-name-completion): Use it.
11376 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11378 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11380 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11382 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11384 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11386 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11389 * info.el (info-tool-bar-map): Add labels.
11391 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11393 * cus-edit.el (custom-commands): Add labels for tool bar.
11394 (custom-buffer-create-internal, Custom-mode): Adjust for
11395 labels in custom-commands.
11397 * dynamic-setting.el: Renamed from font-setting.el.
11399 2010-04-21 John Wiegley <jwiegley@gmail.com>
11401 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11402 toggles the use of virtual buffers.
11403 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11404 (ido-toggle-virtual-buffers): New function.
11406 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11408 Use `define-derived-mode'; fix window selection; doc fixes.
11409 * play/tetris.el (tetris, tetris-update-speed-function)
11410 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11411 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11412 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11413 (tetris-pause-game): Fix typos in docstrings.
11414 (tetris-mode-map, tetris-null-map):
11415 Move initialization into declaration.
11416 (tetris-mode): Define with `define-derived-mode';
11417 set show-trailing-whitespace to nil.
11418 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11420 2010-04-21 Karel Klíč <kklic@redhat.com>
11422 * files.el (backup-buffer): Handle SELinux context, and return it
11423 if a backup was made by renaming.
11424 (backup-buffer-copy): Set SELinux context to the target file.
11425 (basic-save-buffer): Set SELinux context of the newly written file.
11426 (basic-save-buffer-1): Now it also returns any SELinux context.
11427 (basic-save-buffer-2): Set SELinux context of the newly created file,
11429 * net/tramp.el (tramp-file-name-for-operation):
11430 Add file-selinux-context.
11432 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11434 Make the log-edit comments use RFC822 format throughout.
11436 * vc.el (vc-checkin, vc-modify-change-comment):
11437 Adjust to new vc-start/finish-logentry.
11438 (vc-find-conflicted-file): New command.
11439 (vc-transfer-file): Adjust to new vc-checkin.
11440 (vc-next-action): Improve scoping.
11442 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11443 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11445 * vc-git.el (vc-git-log-edit-mode): Remove.
11446 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11447 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11449 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11450 (vc-start-logentry): Remove argument `extra'.
11451 (vc-finish-logentry): Remove extra args.
11453 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11454 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11455 (vc-bzr-conflicted-files): New function.
11457 * log-edit.el (log-edit-extra-flags)
11458 (log-edit-before-checkin-process): Remove.
11459 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11460 (log-edit-headers-alist): New var.
11461 (log-edit-header-contents-regexp): New const.
11462 (log-edit-match-to-eoh): New function.
11463 (log-edit-font-lock-keywords): Use them.
11464 (log-edit): Insert a "Summary:" header as default.
11465 (log-edit-mode): Mark font-lock rules as case-insensitive.
11466 (log-edit-done): Cleanup headers.
11467 (log-view-process-buffer): Remove.
11468 (log-edit-extract-headers): New function to replace it.
11470 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11472 * subr.el (default-direction-reversed): Remove obsolescence info.
11474 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11479 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11480 I.e. include text after point in the completion region.
11481 Also, return nil when we're not after/in a symbol.
11483 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11484 default enable-multibyte-characters.
11486 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11488 * international/mule.el: Help the user choose a valid coding-system.
11489 (read-buffer-file-coding-system): New function.
11490 (set-buffer-file-coding-system): Use it. Prompt the user if the
11491 coding-system cannot encode all the chars.
11493 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11494 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11495 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11496 Don't use *vc-bzr-shelve*.
11498 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11500 Fix the version number for added files.
11501 * vc-hg.el (vc-hg-working-revision): Check if the file is
11502 registered after hg parent fails (Bug#5961).
11504 2010-04-19 Glenn Morris <rgm@gnu.org>
11506 * htmlfontify.el (htmlfontify-buffer)
11507 (htmlfontify-copy-and-link-dir): Autoload entry points.
11509 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11511 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11512 name relative to the project root (Bug#5960).
11514 2010-04-19 Glenn Morris <rgm@gnu.org>
11516 * vc-git.el (vc-git-print-log): Doc fix.
11518 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11520 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11522 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11524 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11525 default settings (Bug#5928).
11527 2010-04-19 Glenn Morris <rgm@gnu.org>
11529 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11531 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11533 2010-04-19 Kenichi Handa <handa@m17n.org>
11535 * language/indian.el (malayalam-composable-pattern): Fix previous
11536 change (add U+0D4D "SIGN VIRAMA").
11537 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11538 (tamil-composable-pattern): Fix typo in the regexp.
11539 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11540 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11541 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11543 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11545 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11546 paragraph-separate (Bug#5821).
11548 2010-04-19 Juri Linkov <juri@jurta.org>
11550 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11552 * info.el (Info-find-node-2): Comment out code that skips
11554 (Info-mouse-follow-link): New command.
11555 (Info-link-keymap): New keymap.
11556 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11557 Return a string with links instead of inserting breadcrumbs
11558 to the Info buffer.
11559 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11560 Instead of putting the `invisible' text property over the Info
11561 header, make an overlay over the Info header with the `invisible'
11562 property and `after-string' set to the string returned by
11563 `Info-breadcrumbs'.
11565 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11567 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11568 Reported by monkey@sandpframing.com.
11570 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11573 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11574 available in the "keyseq cache" any more.
11576 * custom.el (defcustom): Add edebug spec.
11578 2010-04-18 Juri Linkov <juri@jurta.org>
11580 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11582 * view.el (view-file, view-buffer): Move test for special mode-class
11583 from view-file to view-buffer.
11585 * tar-mode.el (tar-extract): Turn if's into one cond
11586 like in arc-mode.el.
11588 2010-04-18 Juri Linkov <juri@jurta.org>
11590 Add 7z archive format support (bug#5475).
11592 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11593 (archive-7z-extract): New defcustom.
11594 (archive-find-type): Add magic string for 7z.
11595 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11596 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11597 `buffer' arg of `call-process'.
11598 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11599 call the function `archive-7z-extract' with the variable
11600 `archive-7z-extract' let-bound to `archive-zip-extract'.
11601 (archive-7z-summarize, archive-7z-extract): New functions.
11603 * international/mule.el (auto-coding-alist):
11604 * files.el (auto-mode-alist): Add 7z file extension.
11606 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11608 * loadup.el: Setup hash-cons for pure data.
11610 Fix duplicate entries in cedet's loaddefs.el files.
11611 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11612 Should make most file-local generated-autoload-file unnecessary.
11613 (print-readably): Silence warnings.
11614 (autoload-find-destination): Take load-name as an arg to make sure
11615 it's the same as the one that will be in the file.
11616 (autoload-generate-file-autoloads): Adjust to above changes.
11617 Try to make the dataflow a bit simpler.
11619 * cvs-status.el (cvs-refontify): Remove unused.
11621 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11623 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11625 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11626 twos-complement mode.
11628 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11630 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11631 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11632 (calc-inverse): Add "Option" to message, as appropriate.
11633 (calc-hyperbolic): Add "Option" to message, as appropriate.
11634 (calc-option, calc-is-option): New functions.
11636 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11637 (calc-option-prefix-help): New function.
11639 * calc/calc-misc.el (calc-help): Add "Option" entry.
11641 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11642 (calc-option-flag): New variable.
11643 (calc-do): Set `calc-option-flag to nil.
11644 (calc-set-mode-line): Add "Opt " as appropriate.
11646 2010-04-16 Juri Linkov <juri@jurta.org>
11648 Move scrolling commands from simple.el to window.el
11649 because their primitives are implemented in window.c.
11651 * simple.el (scroll-error-top-bottom)
11652 (scroll-up-command, scroll-down-command, scroll-up-line)
11653 (scroll-down-line, scroll-other-window-down)
11654 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11655 * window.el (scroll-error-top-bottom)
11656 (scroll-up-command, scroll-down-command, scroll-up-line)
11657 (scroll-down-line, scroll-other-window-down)
11658 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11659 Move from simple.el to window.el because their primitives are
11660 implemented in window.c.
11662 2010-04-16 Juri Linkov <juri@jurta.org>
11664 * isearch.el (isearch-lookup-scroll-key): Check both
11665 `isearch-scroll' and `scroll-command' properties.
11666 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11668 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11670 * simple.el (scroll-up-command, scroll-down-command)
11671 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11673 2010-04-15 Juri Linkov <juri@jurta.org>
11675 * simple.el (scroll-up-command, scroll-down-command)
11676 (scroll-up-line, scroll-down-line): Put `scroll-command'
11677 property on the these symbols. Remove them from
11678 `scroll-preserve-screen-position-commands'.
11680 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11681 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11682 Remove it from `scroll-preserve-screen-position-commands'.
11684 * isearch.el (isearch-allow-scroll): Doc fix.
11686 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11688 * net/tramp.el (tramp-error-with-buffer): Don't show the
11689 connection buffer when we are in completion mode.
11690 (tramp-file-name-handler): Catch the error for some operations
11691 when we are in completion mode. This gives the user the chance to
11692 correct the file name in the minibuffer.
11694 2010-04-15 Glenn Morris <rgm@gnu.org>
11696 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11698 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11700 Simplify by using `define-derived-mode'.
11701 * info.el (Info-mode):
11702 * calendar/todo-mode.el (todo-mode):
11703 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11704 (gomoku-mode-map): Move initialization into declaration.
11706 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11709 * ido.el (ido-file-name-all-completions-1):
11710 * minibuffer.el (minibuffer-completion-help):
11711 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11713 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11715 * simple.el (non-essential): New var.
11717 Add a new field `location' to bookmarks for non-file bookmarks.
11718 * bookmark.el (bookmark-location): Use the new field, if present.
11719 (bookmark-insert-location): Undo last change, not needed any more.
11720 * man.el (Man-bookmark-make-record):
11721 * woman.el (woman-bookmark-make-record): Add `location' field.
11723 2010-04-14 Juri Linkov <juri@jurta.org>
11725 * simple.el (scroll-error-top-bottom): New defcustom.
11726 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11728 * emulation/pc-select.el (pc-select-override-scroll-error):
11729 Obsolete in favor of `scroll-error-top-bottom'.
11731 2010-04-14 Juri Linkov <juri@jurta.org>
11733 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11734 `scroll-up-command' and `M-v' to `scroll-down-command'.
11736 * emulation/cua-rect.el (cua--init-rectangles):
11737 * forms.el (forms--change-commands):
11738 * image-mode.el (image-mode-map):
11739 Remap scroll-down-command and scroll-up-command
11740 in addition to scroll-down and scroll-up.
11742 2010-04-14 Juri Linkov <juri@jurta.org>
11744 * mwheel.el (scroll-preserve-screen-position-commands):
11745 Add mwheel-scroll to this list of commands.
11747 * simple.el (scroll-preserve-screen-position-commands):
11748 Add scroll-up-command, scroll-down-command, scroll-up-line,
11749 scroll-down-line to this list of commands.
11751 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * obsolete/complete.el: Move from lisp/complete.el.
11755 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11757 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11758 to the minor mode function now turns the mode ON unconditionally.
11760 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * vc-dir.el (vc-dir-kill-line): New command.
11763 (vc-dir-mode-map): Bind it to C-k.
11765 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11767 * woman.el: Add bookmark declarations to silence the compiler.
11768 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11769 step to compatibility between man and woman bookmarks.
11770 Adjust for Man-default-bookmark-title renaming.
11771 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11773 * man.el: Add bookmark declarations to silence the compiler.
11774 (Man-name-local-regexp): Make it match NAME as well.
11775 (Man-getpage-in-background): Return the buffer.
11776 (Man-notify-when-ready): Use `case'.
11777 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11778 Don't hardcode "NAME". Simplify.
11779 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11780 Rename from Man-bookmark-make-record.
11781 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11782 we have the actual man-args. Use Man-getpage-in-background rather
11783 than `man' since the arg is already processed. Let bookmark.el do the
11784 window handling. Only wait for the relevant process.
11785 Don't forget to autoload.
11787 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11789 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11791 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11793 (woman-mode): Setup bookmark support.
11795 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11796 (man-bookmark-jump): New functions.
11797 (Man-mode): Setup bookmark support.
11799 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11801 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11802 recognize ssh-keygen prompt (Bug#2817).
11804 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11806 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11808 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11810 Synchronize with Tramp repository.
11812 * net/tramp.el (tramp-completion-function-alist)
11813 (tramp-file-name-regexp, tramp-chunksize)
11814 (tramp-local-coding-commands, tramp-remote-coding-commands):
11816 (tramp-remote-process-environment): Use `format' instead of `concat'.
11817 (tramp-handle-directory-files-and-attributes)
11818 (tramp-get-remote-path): Use `copy-tree'.
11819 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11820 compatibility: Use `completion-ignore-case' if
11821 `read-file-name-completion-ignore-case' does not exist.
11822 (tramp-do-copy-or-rename-file-directly): Do not use
11823 `tramp-handle-file-remote-p'.
11824 (tramp-do-copy-or-rename-file-out-of-band):
11825 Use `tramp-compat-delete-directory'.
11826 (tramp-do-copy-or-rename-file-out-of-band)
11827 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11828 Use `format-spec-make'.
11829 (tramp-find-foreign-file-name-handler)
11830 (tramp-advice-make-auto-save-file-name)
11831 (tramp-set-auto-save-file-modes): Remove superfluous check for
11832 `stringp'. This is done inside `tramp-tramp-file-p'.
11833 (tramp-debug-outline-regexp): New defconst.
11834 (tramp-get-debug-buffer): Use it.
11835 (tramp-check-for-regexp): Use (forward-line 1).
11836 (tramp-set-auto-save-file-modes): Adapt version check.
11838 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11839 Wrap call of `featurep' for 2nd argument.
11840 (tramp-compat-make-temp-file): Simplify fallback implementation.
11841 (tramp-compat-copy-tree): Remove function.
11842 (tramp-compat-delete-directory): Provide implementation for older
11845 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11846 Do not use `tramp-fish-handle-file-attributes.
11848 * net/trampver.el: Update release number.
11850 2010-04-10 Glenn Morris <rgm@gnu.org>
11852 * progmodes/compile.el (compilation-save-buffers-predicate):
11853 Add missing :version tag.
11855 2010-04-09 Sam Steingold <sds@gnu.org>
11857 * progmodes/compile.el (compilation-save-buffers-predicate):
11858 Remove the "autoload" cookie.
11860 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11861 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11862 and `bug-reference-prog-mode' can be used in hooks directly.
11864 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11866 Add --author support to git commit.
11867 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11868 (vc-git-log-edit-mode): New minor mode.
11869 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11872 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11874 * vc-hooks.el, vc-git.el: Improve documentation comments.
11876 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11878 Fix some of the problems in defsubst* (bug#5728).
11879 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11880 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11882 2010-04-07 Sam Steingold <sds@gnu.org>
11884 * progmodes/compile.el (compilation-save-buffers-predicate):
11885 New custom variable.
11886 (compile, recompile): Pass it to `save-some-buffers'.
11888 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
11890 * wid-edit.el (widget-choose): Move cursor to the second line of
11891 the buffer (Bug#5695).
11893 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11895 Add new VC methods: vc-log-incoming and vc-log-outgoing.
11896 * vc.el (vc-print-log-setup-buttons): New function split out from
11897 vc-print-log-internal.
11898 (vc-log-internal-common): New function, a parametrized version of
11899 vc-print-log-internal.
11900 (vc-print-log-internal): Just call vc-log-internal-common with the
11902 (vc-incoming-outgoing-internal):
11903 (vc-log-incoming, vc-log-outgoing): New functions.
11904 (vc-log-view-type): New permanent local variable.
11906 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11908 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11909 of the dynamic bound vc-short-log.
11910 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11912 * vc-git.el (vc-git-log-outgoing): New function.
11913 (vc-git-log-view-mode): Use vc-log-view-type instead
11914 of the dynamic bound vc-short-log.
11916 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11917 of the dynamic bound vc-short-log. Highlight the tag.
11918 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11919 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11920 (vc-hg-incoming-mode): Remove.
11921 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11923 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11925 Fix default-directory for vc-root-diff.
11926 * vc.el (vc-root-diff): Bind default-directory to the root
11927 directory for the diff command.
11929 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11931 * progmodes/verilog-mode.el (verilog-forward-sexp):
11932 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11933 word keywords, suggested by Steve Pearlmutter.
11934 (verilog-pretty-declarations): Support lineup of declarations in
11936 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11937 fix bug for /* / comments.
11938 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11939 Speed up and simplfy as this is never called with a bound.
11940 (verilog-pretty-declarations): Enhance to line up declarations
11941 inside a parameter list, suggested by Alan Morgan.
11942 (verilog-pretty-expr): Tune assignment regular expression match
11943 string for corner cases; also use markers instead of character
11944 number as indent changes the later.
11946 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11948 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11949 as missing keyword.
11950 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11951 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11952 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11953 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11955 (verilog-keywords):
11956 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11957 1800-2009 keywords, including "global.".
11959 2010-04-06 John Wiegley <jwiegley@gmail.com>
11961 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11962 appearing in buffer list (if a live buffer name matched a recentf
11963 file basename). Should use uniquify to offer a real solution.
11965 2010-04-06 John Wiegley <jwiegley@gmail.com>
11967 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11968 comment to code, and add a :version tag.
11969 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11971 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11973 Enable recentf-mode if using virtual buffers.
11974 * ido.el (recentf-list): Declare for byte-compiler.
11975 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11976 (ido-make-buffer-list): Simplify.
11977 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11979 2010-04-05 Juri Linkov <juri@jurta.org>
11981 Scrolling commands which scroll a line instead of full screen.
11982 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11984 * simple.el (scroll-up-line, scroll-down-line): New commands.
11985 Put property isearch-scroll=t on them.
11987 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11990 2010-04-05 Juri Linkov <juri@jurta.org>
11992 Scrolling commands which do not signal errors at top/bottom.
11993 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11995 * simple.el (scroll-up-command, scroll-down-command): New commands.
11996 Put property isearch-scroll=t on them.
11998 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11999 `scroll-down-command' and [next] from `scroll-up' to
12000 `scroll-up-command'.
12002 * emulation/cua-base.el: Put property CUA=move on
12003 `scroll-up-command' and `scroll-down-command'.
12004 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12005 and `scroll-down-command' to `cua-scroll-down'.
12007 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12009 * help.el (describe-mode): Return nil.
12011 2010-04-04 John Wiegley <jwiegley@gmail.com>
12013 * ido.el (ido-use-virtual-buffers): New variable to indicate
12014 whether "virtual buffer" support is enabled for IDO.
12015 (ido-virtual): Face used to indicate virtual buffers in the list.
12016 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12017 exists, but a virtual buffer of that name does (which would be why
12018 it was in the list), recreate the buffer by reopening the file.
12019 (ido-make-buffer-list): If virtual buffers are being used, call
12020 `ido-add-virtual-buffers-to-list' before the make list hook.
12021 (ido-virtual-buffers): New variable which contains a copy of the
12022 current contents of the `recentf-list', albeit pared down for the
12023 sake of speed, and with proper faces applied.
12024 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12025 create a list of "virtual buffers" to present to the user in
12026 addition to the currently open set. Note that this logic could
12027 get rather slow if that list is too large. With the default
12028 `recentf-max-saved-items' of 200, there is little speed penalty.
12030 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12032 * font-lock.el: Require CL when compiling.
12033 (font-lock-turn-on-thing-lock): Use `case'.
12035 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12037 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12040 2010-04-02 Juri Linkov <juri@jurta.org>
12042 * ehelp.el (electric-help-orig-major-mode):
12043 New buffer-local variable.
12044 (electric-help-mode): Set it to original major-mode. Doc fix.
12045 (with-electric-help): Use `electric-help-orig-major-mode' instead
12046 of (default-value 'major-mode). Doc fix.
12047 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12049 2010-04-02 Sam Steingold <sds@gnu.org>
12051 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12052 `vc-hg-command' with a list of flags.
12054 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12055 Also accept "patch" and "RFE".
12056 (bug-reference-fontify): `bug-reference-url-format' can also be a
12057 function to be able to handle the bug kind.
12058 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12060 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12062 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12063 value to fboundp, it may not be a symbol.
12065 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12067 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12069 2010-03-31 Juri Linkov <juri@jurta.org>
12071 * simple.el (next-line, previous-line): Re-throw a signal
12072 with `signal' instead of using `ding'.
12073 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12075 2010-03-31 Juri Linkov <juri@jurta.org>
12077 * simple.el (keyboard-escape-quit): Raise deselecting the active
12078 region higher than exiting the minibuffer.
12079 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12081 2010-03-31 Juri Linkov <juri@jurta.org>
12083 * image.el (image-animated-p): Use `image-metadata' instead of
12084 `image-extension-data'. Get GIF extenstion data from metadata
12085 property `extension-data'.
12087 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * simple.el (append-to-buffer): Simplify.
12091 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12093 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12094 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12096 2010-03-31 Kenichi Handa <handa@m17n.org>
12098 * language/sinhala.el (composition-function-table): Fix regexp for
12099 the new Unicode specification.
12101 * language/indian.el (devanagari-composable-pattern)
12102 (tamil-composable-pattern, kannada-composable-pattern)
12103 (malayalam-composable-pattern): Adjust for the new Unicode
12105 (bengali-composable-pattern, gurmukhi-composable-pattern)
12106 (gujarati-composable-pattern, oriya-composable-pattern)
12107 (telugu-composable-pattern): New variables to cope with the new
12108 Unicode specification. Use them in composition-function-table.
12110 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12112 Make tmm-menubar work for the Buffers menu again (bug#5726).
12113 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12114 vectors rather than cons cells, as used in menu-bar-update-buffers.
12116 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12118 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12119 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12120 electric punctuation for "{}();,:" (Bug#5586).
12122 * mail/sendmail.el (mail-default-directory): Doc fix.
12124 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12126 * mail/sendmail.el (mail-default-directory): Doc fix.
12128 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12130 * subr.el (version-regexp-alist, version-to-list)
12131 (version-list-<, version-list-=, version-list-<=)
12132 (version-list-not-zero, version<, version<=, version=): Doc fix.
12135 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12137 * vc.el (vc-root-diff): Doc fix.
12139 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12141 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12143 * simple.el (append-to-buffer): Fix last change.
12145 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12147 * simple.el (append-to-buffer): Ensure that point is preserved if
12148 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12151 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * files.el (auto-mode-case-fold): Change default to t.
12155 2010-03-30 Juri Linkov <juri@jurta.org>
12157 * dired-x.el (dired-omit-mode): Doc fix.
12159 2010-03-30 Juri Linkov <juri@jurta.org>
12161 * replace.el (occur-accumulate-lines): Move occur-engine related
12162 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12163 to be located after `occur-engine'.
12165 2010-03-30 Juri Linkov <juri@jurta.org>
12167 Make occur handle multi-line matches cleanly with context.
12168 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12170 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12171 (occur-engine): Add local variables `ret', `prev-after-lines',
12172 `prev-lines'. Use more arguments for `occur-context-lines'.
12173 Set first elem of its returned list to `data', and the second elem
12174 to `prev-after-lines'. Don't print the separator line.
12175 In the end, print remaining context after-lines.
12176 (occur-context-lines): Add new arguments `begpt', `endpt',
12177 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12178 after-lines of the previous match with before-lines of the
12179 current match and not overlap them. Return a list with two
12180 values: the output line and the list of context after-lines.
12182 2010-03-30 Juri Linkov <juri@jurta.org>
12184 * replace.el (occur-accumulate-lines): Fix a bug where the first
12185 context line at the beginning of the buffer was missing.
12187 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12189 * files.el: Make bidi-display-reordering safe variable for boolean
12192 2010-03-29 Phil Hagelberg <phil@evri.com>
12193 Chong Yidong <cyd@stupidchicken.com>
12195 * subr.el: Extend progress reporters to perform "spinning".
12196 (progress-reporter-update, progress-reporter-do-update):
12197 Handle non-numeric value arguments.
12198 (progress-reporter--pulse-characters): New var.
12200 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12202 * progmodes/compile.el (compilation-start): Fix regexp detection
12203 of initial cd command (Bug#5771).
12205 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12207 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12209 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12211 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12212 * progmodes/gdb-mi.el: Restore.
12213 * progmodes/gdb-ui.el: Remove.
12214 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12216 2010-03-25 Glenn Morris <rgm@gnu.org>
12218 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12219 all dired buffers, even tramp ones. (Bug#5755)
12221 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12223 Add "union tags" in mpc.el.
12224 * mpc.el: Remove backward compatibility code.
12225 (mpc-browser-tags): Change default.
12226 (mpc--find-memoize-union-tags): New var.
12227 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12228 (mpc-cmd-find): Handle the case where the playlist does not exist.
12230 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12231 (mpc-cmd-add): Use mpc-cmd-flush.
12232 (mpc-tagbrowser-tag-name): New fun.
12233 (mpc-tagbrowser-buf): Use it.
12234 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12236 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12239 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12240 Use replace-regexp-in-string.
12241 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12242 (makefile-imake-mode-syntax-table): Move init into defvar.
12243 (makefile-mode): Use define-derived-mode.
12245 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12246 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12247 not be present any more.
12249 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12251 * faces.el (set-face-attribute): Fix typo in docstring.
12252 (face-valid-attribute-values): Reflow docstring.
12254 2010-03-24 Glenn Morris <rgm@gnu.org>
12256 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12258 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12260 * indent.el (indent-for-tab-command): Doc fix.
12262 2010-03-24 Alan Mackenzie <acm@muc.de>
12264 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12265 Fix off-by-one error. Fixes bug #5747.
12267 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12269 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12270 (image-dired-read-comment): Doc fix.
12272 * json.el (json-object-type, json-array-type, json-key-type)
12273 (json-false, json-null, json-read-number):
12274 * minibuffer.el (completion-in-region-functions):
12275 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12276 (cal-tex-cursor-week):
12277 * emacs-lisp/trace.el (trace-function):
12278 * eshell/em-basic.el (eshell/printnl):
12279 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12280 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12281 * obsolete/levents.el (allocate-event, event-key, event-object)
12282 (event-point, event-process, event-timestamp, event-to-character)
12283 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12284 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12285 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12286 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12287 (reftex-highlight-selection): Fix typos in docstrings.
12289 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12291 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12293 2010-03-24 Glenn Morris <rgm@gnu.org>
12295 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12296 2008-02-13 without comment; mark it obsolete.
12297 (rmail-highlight-headers): Use rmail-highlight-face once more.
12299 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12301 * woman.el (woman2-process-escapes): Only consume the newline if
12302 the filler character is on a line by itself (Bug#5729).
12304 2010-03-24 Kenichi Handa <handa@m17n.org>
12306 * language/indian.el (devanagari-composable-pattern): Add more
12309 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12311 * net/trampver.el: Update release number.
12313 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12315 * net/tramp.el (tramp-find-executable):
12316 Use `tramp-get-connection-buffer'. Make the regexp for checking
12317 output of "wc -l" more robust.
12318 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12319 (tramp-open-connection-setup-interactive-shell): Remove workaround
12320 for OpenSolaris bug, it is not needed anymore.
12322 2010-03-24 Glenn Morris <rgm@gnu.org>
12324 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12326 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12328 * files.el (auto-mode-alist): Accept more verilog file patterns.
12330 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12332 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12334 2010-03-24 Glenn Morris <rgm@gnu.org>
12336 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12337 log-edit-before-checkin-process.
12339 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12341 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12343 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12344 (log-view-process-buffer, log-edit-extra-flags): Declare.
12346 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12348 2010-03-23 Sam Steingold <sds@gnu.org>
12350 Fix bug#5620: recalculate all markers on compilation buffer
12351 modifications, not on file modifications.
12352 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12353 variable: the buffer modification time, for buffers not associated with
12355 (compilation-mode): Create it.
12356 (compilation-filter): Update it.
12357 (compilation-next-error-function): Use it instead of
12358 `visited-file-modtime' for timestamp.
12360 2010-03-23 Juri Linkov <juri@jurta.org>
12362 Implement Occur multi-line matches.
12363 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12365 * replace.el (occur): Doc fix.
12366 (occur-engine): Set `begpt' to the beginning of the first line.
12367 Set `endpt' to the end of the last match line. At first, count
12368 line numbers between `origpt' and `begpt'. Split out code from
12369 `out-line' variable to new let-bindings `match-prefix' and
12370 `match-str'. In `out-line' add non-numeric prefix to all
12371 non-first lines of multi-line matches. Finally, count lines
12372 between `begpt' and `endpt' and add to `lines'.
12374 2010-03-23 Juri Linkov <juri@jurta.org>
12376 * replace.el (occur-accumulate-lines, occur-engine):
12377 Use `occur-engine-line' instead of duplicate code.
12378 (occur-engine-line): New function created from duplicate code
12379 in `occur-accumulate-lines' and `occur-engine'.
12381 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12382 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12384 2010-03-23 Juri Linkov <juri@jurta.org>
12386 * finder.el: Remove TODO tasks.
12388 * info.el (Info-finder-find-node): Add node "all"
12389 with all package info. Handle a list of multiple keywords
12390 separated by comma.
12391 (info-finder): In interactive use with a prefix argument,
12392 use `completing-read-multiple' to read a list of keywords
12393 separated by comma.
12395 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12397 Add a new completion style `substring'.
12398 * minibuffer.el (completion-basic--pattern): New function.
12399 (completion-basic-try-completion, completion-basic-all-completions):
12401 (completion-substring--all-completions)
12402 (completion-substring-try-completion)
12403 (completion-substring-all-completions): New functions.
12404 (completion-styles-alist): New style `substring'.
12406 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12408 Get rid of .elc files after removal of the corresponding .el.
12409 * Makefile.in (compile-clean): New target.
12410 (compile-main): Use it.
12412 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12414 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12415 don't do make there. When compiling with separate object dir, there
12416 is no Makefile there.
12418 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12420 Get rid of the ELCFILES abomination, again.
12421 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12422 (all, compile): Don't call compile-last.
12423 (compile-main): Build the "elcfiles" list dynamically.
12424 (compile-targets): New (internal) target.
12426 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12428 * Makefile.in (top_srcdir): Define.
12429 (abs_top_builddir): Define.
12430 (srcdir): Don't append `/..'.
12431 (EMACS): Use ${abs_top_builddir}.
12432 (all, compile, compile-always, compile-last): Don't set emacswd.
12433 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12435 (lisp): Use $(srcdir) instead of @srcdir@.
12437 2010-03-21 Juri Linkov <juri@jurta.org>
12439 Fix message of multi-line occur regexps and multi-buffer header lines.
12440 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12442 * replace.el (occur-1): Don't display regexp if it is longer
12443 than window-width. Use `query-replace-descr' to display regexp.
12444 (occur-engine): Don't display regexp in the buffer header for
12445 multi-buffer occur. Display a separate header line with total
12446 match count and regexp for multi-buffer occur.
12447 Use `query-replace-descr' to display regexp.
12449 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12451 * net/secrets.el: Fix parenthesis.
12452 (secrets-enabled): Fix parenthesis.
12454 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12456 Use more relative file and directory names.
12457 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12458 (setwins, setwins_almost, setwins_for_subdirs):
12459 Don't `cd'; output relative names.
12460 (all, compile, compile-always, compile-last): Set emacswd.
12461 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12462 Just cd to the lisp source dir so we can use relative file names.
12464 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12466 2010-03-20 Glenn Morris <rgm@gnu.org>
12468 * textmodes/rst.el: Use faces for font-lock customization, and make the
12469 old -face variables obsolete.
12470 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12471 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12472 (rst-block-face, rst-external-face, rst-definition-face)
12473 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12474 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12476 (rst-font-lock-keywords-function): Update for above changes.
12478 2010-03-20 Juri Linkov <juri@jurta.org>
12481 * obsolete/s-region.el: Move to obsolete.
12483 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12485 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12487 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12489 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12491 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12493 Add special markup processing for commit logs.
12494 * log-edit.el (log-edit-extra-flags): New variable.
12495 (log-edit): Add new argument MODE. Use that mode when non-nil
12496 instead of the log-view-mode.
12497 (log-view-process-buffer): New function.
12499 * vc.el: Document that the checkin method takes optional
12500 arguments. Document new backend specific method: log-view-mode.
12501 (vc-default-log-edit-mode): New function.
12502 (vc-checkin): Use a backend specific log-view-mode.
12503 Pass extra arguments to the checkin method.
12504 (vc-modify-change-comment): Pass a dummy extra argument.
12506 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12508 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12509 (vc-finish-logentry): Process the log buffer before passing it
12510 down. Pass log-edit-extra-flags.
12512 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12514 (log-edit-extra-flags, log-edit-before-checkin-process):
12517 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12519 (log-edit-extra-flags, log-edit-before-checkin-process):
12521 (vc-hg-log-edit-mode): New derived mode.
12523 * vc-arch.el (vc-arch-checkin):
12524 * vc-cvs.el (vc-cvs-checkin):
12525 * vc-git.el (vc-git-checkin):
12526 * vc-mtn.el (vc-mtn-checkin):
12527 * vc-rcs.el (vc-rcs-checkin):
12528 * vc-sccs.el (vc-sccs-checkin):
12529 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12531 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12533 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12536 2010-03-19 Glenn Morris <rgm@gnu.org>
12538 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12540 2010-03-18 Glenn Morris <rgm@gnu.org>
12542 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12544 * replace.el (query-replace-history): Give it a doc string.
12545 (map-query-replace-regexp): Use query-replace-from-history-variable
12546 and query-replace-to-history-variable.
12548 * mail/hashcash.el (declare-function): Remove duplicate definition.
12550 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12551 Make it an obsolete alias for report-emacs-bug-address.
12552 (message-strip-special-text-properties): Declare.
12553 (report-emacs-bug): Remove test for a pretest bug address.
12554 Combine message-mode-specific code.
12556 * mail/supercite.el: Don't require sendmail.
12557 (mh-in-header-p): Declare rather than using with-no-warnings.
12558 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12559 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12561 * calendar/cal-french.el: Convert to utf-8.
12563 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12566 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12568 * net/secrets.el (secrets-enabled): New variable. Use it instead
12571 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12573 * net/secrets.el (top): Register the D-Bus signals only when the
12574 service "org.freedesktop.secrets" can be pinged.
12575 Provide subfeature `enabled'.
12577 2010-03-14 Juri Linkov <juri@jurta.org>
12579 Add finder unknown keywords.
12581 * finder.el (finder-unknown-keywords): New function.
12583 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12584 to create a Finder node with unknown keywords.
12586 2010-03-14 Juri Linkov <juri@jurta.org>
12588 * finder.el (finder-compile-keywords): Replace `princ' with
12589 `prin1' on a list of symbols interned from keyword strings.
12591 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12592 a comma, then split keywords using a comma and optional whitespace.
12593 Otherwise, split by whitespace.
12601 * progmodes/mixal-mode.el: Fix keywords.
12603 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12605 * Makefile.in (ELCFILES): Add net/secrets.elc.
12607 * net/secrets.el: New file.
12609 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12611 * facemenu.el (list-colors-display, list-colors-print): New arg
12612 callback. Use it to allow selecting colors.
12614 * wid-edit.el (widget-image-insert): Insert image prop even if the
12615 current display is non-graphic.
12616 (widget-field-value-set): New fun.
12617 (editable-field): Use it.
12618 (widget-field-value-get): Clean up unused var.
12619 (widget-color-value-create, widget-color--choose-action):
12620 New funs. Allow using list-colors-display to choose color.
12622 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12624 * cus-edit.el: Resort topmost custom groups.
12625 (custom-buffer-sort-alphabetically): Default to t.
12626 (customize-apropos): Use apropos-parse-pattern.
12627 (custom-search-field): New var.
12628 (custom-buffer-create-internal): Add custom-apropos search field.
12629 (custom-add-parent-links): Don't display parent doc.
12630 (custom-group-value-create): Don't sort top-level custom group.
12631 (custom-magic-value-create): Show visibility button before option name.
12633 (custom-variable-state): New fun, from custom-variable-state-set.
12634 (custom-variable-state-set): Use it.
12635 (custom-group-value-create): Hide options with standard values
12636 using the :hidden-states property. Use progress reporter.
12638 (custom-show): Simplify.
12639 (custom-visibility): Disable images by default.
12640 (custom-variable): New property :hidden-states.
12641 (custom-variable-value-create): Enable images for
12642 custom-visibility widgets. Use :hidden-states property to
12643 determine initial visibility.
12645 * wid-edit.el (widget-image-find): Give images center ascent.
12646 (visibility): Add :on-image and :off-image properties.
12647 (widget-visibility-value-create): Use them.
12649 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12651 * cus-edit.el (processes): Remove from development group.
12652 (oop, hypermedia): Delete group.
12653 (comm): Promote to top-level group.
12655 * net/browse-url.el (browse-url):
12656 * net/xesam.el (xesam):
12657 * net/tramp.el (tramp):
12658 * net/goto-addr.el (goto-address):
12659 * net/ange-ftp.el (ange-ftp): Put in comm group.
12661 * view.el (view): Remove from editing group.
12663 * uniquify.el (uniquify): Put in files group.
12665 * net/browse-url.el (browse-url):
12666 * ps-print.el (postscript): Put in external group.
12668 * cus-edit.el (outlines):
12669 * textmodes/text-mode.el (text-mode-hook):
12670 * textmodes/table.el (table):
12671 * textmodes/picture.el (picture):
12672 * outline.el (outlines): Put in wp group.
12674 * nxml/nxml-mode.el (nxml): Remove from wp group.
12676 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12678 * mail/metamail.el (metamail): Remove from hypermedia group.
12680 * cus-edit.el (abbrev):
12681 * whitespace.el (whitespace):
12682 * vcursor.el (vcursor):
12683 * reveal.el (reveal):
12684 * hl-line.el (hl-line): Put in convenience group.
12686 * epg-config.el (epg): Put in data group.
12688 * emulation/pc-select.el (pc-select): Put in emulations group.
12690 * calculator.el (calculator): Put in applications group.
12692 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12694 Add .dir-locals.el support for file-less buffers.
12695 * files.el (hack-local-variables): Split out code to apply local
12696 variable settings ...
12697 (hack-local-variables-apply): ... here. New function.
12698 (hack-dir-local-variables): Use the default directory for when the
12699 buffer does not have an associated file.
12700 (hack-dir-local-variables-non-file-buffer): New function.
12701 * diff-mode.el (diff-mode):
12702 * vc-annotate.el (vc-annotate-mode):
12703 * vc-dir.el (vc-dir-mode):
12704 * log-edit.el (log-edit-mode):
12705 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12707 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12709 Add support for shelving snapshots and for showing shelves.
12710 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12711 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12713 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12714 (vc-bzr-extra-menu-map): Map them.
12716 2010-03-11 Glenn Morris <rgm@gnu.org>
12718 * cus-edit.el (customize-changed-options-previous-release):
12721 * image.el (image-animate-max-time): Fix :version tag.
12723 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12727 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12729 * vc-git.el (vc-git-revision-table): Include remote branches.
12731 2010-03-10 Kim F. Storm <storm@cua.dk>
12733 Animated image API.
12734 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12736 * image.el (image-animate-max-time): New defcustom.
12737 (image-animated-types): New defconst.
12738 (create-animated-image, image-animate-timer)
12739 (image-animate-start, image-animate-stop, image-animate-timeout)
12740 (image-animated-p): New functions.
12742 * image-mode.el (image-toggle-display-image):
12743 Replace `create-image' with `create-animated-image'.
12745 2010-03-09 Miles Bader <miles@gnu.org>
12747 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12748 instead of "format:"; this ensures that the output is
12749 newline-terminated.
12751 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12753 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12754 that all errors are caught, and that the return value is always a
12757 2010-03-08 Kenichi Handa <handa@m17n.org>
12759 * language/misc-lang.el (windows-1256): New coding system.
12760 (cp1256): New alias of windows-1256 (bug#5690).
12762 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12764 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12765 call to rfc822-bad-address. (Bug#5692)
12767 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12769 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12770 Use vc-git-root as default directory for revision path (Bug#5657).
12772 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12774 * calculator.el (calculator): Don't bind split-window-keep-point
12777 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12779 * vc-git.el: Re-flow to fit into 80 columns.
12780 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12781 Remove spurious `quote' element in each case alternative.
12782 (vc-git-show-log-entry): Use prog1.
12783 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12785 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12787 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12789 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12791 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12792 definition, not the name (Bug#5481).
12794 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12796 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12797 argument with a local variable. (Bug#5670)
12799 2010-03-02 Juri Linkov <juri@jurta.org>
12801 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12803 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12805 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12806 error when FILENAME and NEWNAME are existing remote directories.
12808 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12809 parameter DIR-FLAG.
12811 2010-03-02 Glenn Morris <rgm@gnu.org>
12813 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12814 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12816 2010-03-01 Kenichi Handa <handa@m17n.org>
12818 * language/burmese.el (burmese-composable-pattern): Rename from
12819 myanmar-composable-pattern.
12821 * international/characters.el (script-list):
12822 * international/fontset.el (script-representative-chars):
12823 Change myanmar to burmese.
12824 (otf-script-alist): Likewise.
12825 (setup-default-fontset): Likewise. Re-fix :otf spec.
12827 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12829 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12831 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12833 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12835 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12837 * net/tramp.el (tramp-handle-write-region): START can be a string.
12838 Take care in the checks. Reported by Dan Davison
12839 <davison@stats.ox.ac.uk>.
12841 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12843 * net/dbus.el (dbus-introspect, dbus-get-property)
12844 (dbus-set-property, dbus-get-all-properties):
12845 Use `dbus-call-method' when noninteractive. (Bug#5645)
12847 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12849 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12850 * emacs-lisp/elint.el (elint-add-required-env):
12851 * calendar/icalendar.el (icalendar--add-diary-entry):
12852 * calc/calcalg2.el (math-tracing-integral):
12853 * files.el (recover-session-finish): Use with-current-buffer
12854 instead of save-excursion.
12856 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12858 Fix in-buffer completion when after-change-functions modify the buffer.
12859 * minibuffer.el (completion--replace): New function.
12860 (completion--do-completion): Use it and use relative movement.
12862 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12864 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12866 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12868 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12869 Allow the characters _<> in the stack entry (Bug#5653).
12871 2010-02-26 Kenichi Handa <handa@m17n.org>
12873 * language/burmese.el: Fix entries in composition-function-table.
12874 (myanmar-composable-pattern): New variable.
12876 * international/fontset.el (setup-default-fontset): Add an entry
12879 * international/characters.el (script-list): Add Myanmar
12882 2010-02-26 Glenn Morris <rgm@gnu.org>
12884 * custom.el (custom-initialize-delay): Doc fix.
12886 * mail/sendmail.el (send-mail-function): Autoload the call
12887 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12889 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
12891 * files.el (hack-local-variables-filter): For eval forms, also
12892 check safe-local-variable-p (Bug#5636).
12894 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
12896 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12897 setting the modes by `ignore-errors'. It might fail, for example
12898 if the file is not owned by the user but the group.
12899 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12901 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12903 * files.el (directory-listing-before-filename-regexp):
12904 Use stricter matching for iso-style dates, to avoid false matches with
12905 date-like filenames (Bug#5597).
12907 * htmlfontify.el (htmlfontify): Doc fix.
12909 * eshell/eshell.el (eshell): Doc fix.
12911 * startup.el (fancy-about-screen): In mode-line, apply
12912 mode-line-buffer-id face only to the buffer name (Bug#5613).
12914 2010-02-20 Kevin Ryde <user42@zip.com.au>
12916 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12917 In `watcom' anchor regexp to start of line, to avoid slowness
12920 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12922 * subr.el (remove-yank-excluded-properties): Explain in a comment
12923 why `category' property is removed.
12925 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12927 * isearch.el (isearch-update-post-hook, isearch-update):
12928 Revert 2010-02-17 change.
12930 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12932 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12933 (icalendar--convert-weekly-to-ical)
12934 (icalendar--convert-yearly-to-ical)
12935 (icalendar--convert-block-to-ical)
12936 (icalendar--convert-cyclic-to-ical)
12937 (icalendar--convert-anniversary-to-ical): Take care of time
12938 specifications where hour has 1-digit only (Bug#5549).
12940 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12942 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12943 of disassemble output in GDB 7.1.
12945 2010-02-19 Glenn Morris <rgm@gnu.org>
12947 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12948 property. (Bug#5593)
12950 2010-02-18 Sam Steingold <sds@gnu.org>
12952 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12954 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12956 Use abbreviated file names in bookmarks (bug#5591).
12957 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12958 calls to expand-file-name.
12959 (bookmark-relocate): Use abbreviated file names in bookmarks.
12960 (bookmark-load): Use abbreviated file names in messages.
12962 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12964 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12965 expand "." and "..". Reported by Thierry Volpiatto
12966 <thierry.volpiatto@gmail.com>.
12968 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12970 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12971 permissions of the temporary file to "0600". In case the remote
12972 file has no read permissions for the owner, there might be
12973 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12975 22010-02-18 Glenn Morris <rgm@gnu.org>
12977 * emacs-lisp/authors.el (authors-renamed-files-alist):
12978 Add entries for INSTALL.CVS.
12980 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12982 * vc-bzr.el: Fix typo in Known Bugs section.
12984 * isearch.el (isearch-update-post-hook): New hook.
12985 (isearch-update): Use the new hook.
12987 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12989 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12990 Fix errors in copying directories.
12991 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12992 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12993 (tramp-handle-delete-file)
12994 (tramp-handle-dired-recursive-delete-directory)
12995 (tramp-handle-write-region): Flush also the cache for the upper
12998 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13000 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13002 * cus-edit.el (hardware): Doc fix.
13004 * man.el (man): Add to external custom group.
13006 * delim-col.el (columns): Move to wp custom group.
13008 * doc-view.el (doc-view): Add to data custom group.
13010 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13012 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13013 by ispell-parse-output (Bug#5575).
13015 2010-02-16 Kenichi Handa <handa@m17n.org>
13017 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13018 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13019 (skkdic-convert): Use `euc-japan' coding system for writing.
13021 2010-02-16 Glenn Morris <rgm@gnu.org>
13023 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13024 tex-main-file before using it. (Bug#5562)
13026 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13028 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13029 warnings, since it is annoying for the user to see them each time he
13032 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13034 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13035 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13036 instead of PROC for caching "first-password-request". Otherwise,
13037 new processes would not profit from passwords already entered.
13039 * net/tramp-cache.el (tramp-dump-connection-properties):
13040 Don't save "first-password-request" property.
13042 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13044 * outline.el (outline-head-from-level):
13045 * simple.el (with-wrapper-hook):
13046 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13047 (elint-defun, elint-buffer-env, elint-top-form-logged)
13048 (elint-unbound-variable):
13049 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13050 Fix typos in docstrings.
13052 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13054 * files.el (insert-directory): When WILDCARD-REGEXP and
13055 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13056 whole directory. (Bug#5551)
13058 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13059 dired's alignment sanity. (Bug#5516)
13061 2010-02-14 Juri Linkov <juri@jurta.org>
13063 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13064 Remove remaining ^H with their preceding chars. (Bug#5566)
13066 2010-02-13 Glenn Morris <rgm@gnu.org>
13068 * simple.el (transpose-subr): Give it a doc-string.
13070 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13073 2010-02-12 Juri Linkov <juri@jurta.org>
13075 * arc-mode.el (archive-unique-fname): Make directories for nested
13076 archives. (Bug#5540)
13078 2010-02-12 Juri Linkov <juri@jurta.org>
13080 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13082 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * subr.el (copy-overlay): Handle deleted overlays.
13086 * man.el (Man-completion-table): Don't signal an error if we can't run
13087 manual-program (bug#4056).
13089 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13091 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13093 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13095 * info.el (Info-bookmark-jump): Simplify.
13097 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13098 (bookmark-default-handler): Accept new bookmark field `buffer'.
13100 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13102 * iswitchb.el (iswitchb-completions): Revert last change.
13104 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13106 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13107 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13108 This prevents file names like "~/" being listed literally.
13110 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13112 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13113 Remove dead code. (Bug#5546)
13115 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13117 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13118 correctly (Bug#5548).
13120 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13122 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13123 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13125 2010-02-08 Kenichi Handa <handa@m17n.org>
13127 * international/mule-util.el (with-coding-priority): Add autoload
13128 cookie for putting `lisp-indent-function'.
13130 2010-02-07 Glenn Morris <rgm@gnu.org>
13132 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13133 Move F2003 named interfaces from keywords-2 to keywords-1, and
13134 use function-name-face rather than constant-face.
13135 Simplify "abstract interface" regexp.
13137 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13139 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13140 ID-FORMAT. Pass it to `file-attributes'.
13142 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13144 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13146 * faces.el (set-face-attribute): Allow calling
13147 internal-set-lisp-face-attribute with 'unspecified family and
13148 foundry argument (Bug#5536).
13150 2010-02-07 Glenn Morris <rgm@gnu.org>
13152 * progmodes/f90.el (f90-font-lock-keywords-2)
13153 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13154 Handle F2003 named interfaces.
13156 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13158 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13159 beg and end before calling c-get-state-before-change-functions.
13161 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13163 * vc-bzr.el (vc-bzr-dir-extra-headers):
13164 Disable the pending merges header.
13166 2010-02-05 Juri Linkov <juri@jurta.org>
13168 * doc-view.el (doc-view-mode):
13169 * image-mode.el (image-mode): Put property mode-class=special.
13172 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13174 * vc-svn.el (vc-svn-revision-table): New function.
13176 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13178 * net/ange-ftp.el (ange-ftp-insert-directory):
13179 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13180 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13181 Handle also directories. (Bug#5478)
13183 2010-02-05 Glenn Morris <rgm@gnu.org>
13185 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13187 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13189 * startup.el (command-line-1): Convert options beginning with a
13190 single dash as well (Bug#5519).
13192 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13194 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13195 * minibuffer.el (completion-initials-expand): Only check the presence
13196 of delims *within* the boundaries, since otherwise the / delim is
13197 always found for files.
13199 Fix up various corner case problems.
13200 * doc-view.el (doc-view-last-page-number): New function.
13201 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13202 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13203 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13204 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13205 (doc-view-convert-current-doc): Don't create the resolution.el file
13207 (doc-view-pdf/ps->png): Do it here instead.
13208 (doc-view-already-converted-p): Check that resolution.el is present.
13209 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13210 windows that are not yet showing images.
13212 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13214 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13215 `dired-uncache' for every elemnt which is an absolute file name.
13217 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13218 directory, handle its directory component.
13219 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13220 function is called permanently and creates noise, otherwise.
13222 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13223 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13224 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13226 2010-02-04 David Burger <dburger@google.com> (tiny change)
13228 * macros.el (apply-macro-to-region-lines):
13229 Minor simplification. (Bug#5485)
13231 2010-02-04 Glenn Morris <rgm@gnu.org>
13233 * mail/rmail.el (rmail-show-message-1): Handle malformed
13234 quoted-printable text. (Bug#5441)
13236 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13238 * simple.el (visual-line-mode): Capitalize lighter.
13240 2010-02-03 John Wiegley <jwiegley@gmail.com>
13242 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13243 list of files considered for "virtual buffer" completions.
13245 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13247 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13248 also in case of (and (not full) (not wildcard)). This is needed
13249 when dired is called with a list of files, which are not in
13250 `default-directory'. (Bug#5478)
13252 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13254 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13256 2010-02-02 Juri Linkov <juri@jurta.org>
13258 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13259 from unidiff to allow function-line after @@.
13261 2010-02-02 Juri Linkov <juri@jurta.org>
13263 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13264 '(RCS SCCS) with inverted condition.
13266 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13268 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13271 2010-02-01 Juri Linkov <juri@jurta.org>
13273 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13274 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13275 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13276 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13278 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13280 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13281 (doc-view-revert-buffer): New command.
13282 (doc-view-mode-map): Use it.
13284 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13286 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13287 pending merge is detected.
13289 2010-01-31 Juri Linkov <juri@jurta.org>
13291 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13292 beginning of interactive spec like all other grep commands do.
13293 Put "all" in front of "gz". (Bug#5260)
13295 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13297 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13299 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13301 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13302 regexp is incorrect (Bug#5476).
13304 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13306 * net/tramp.el (tramp-handle-insert-directory): Handle also
13307 symlinks, when FILENAME is not in `default-directory'.
13309 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13311 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13312 FILE is not in `default-directory'. (Bug#5478)
13314 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13315 of SWITCHES. Handle the case, FILENAME is not in
13316 `default-directory'. (Bug#5478)
13317 (tramp-register-file-name-handlers): Add safe-magic property.
13319 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13321 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13324 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13326 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13327 (flymake-master-make-header-init): Add other C++ filename masks.
13328 (flymake-find-possible-master-files)
13329 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13331 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13333 Fix some busybox annoyances.
13335 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13336 not responding." string.
13337 (tramp-open-connection-setup-interactive-shell): Dump stty
13338 settings. Enable "neveropen" arg for all `tramp-send-command'
13339 calls. Handle "=" in variable values properly.
13340 (tramp-find-inline-encoding): Raise an error, when no encoding is
13342 (tramp-wait-for-output): Check, whether PROC buffer is available.
13343 Remove spurious " ^H" sequences, sent by busybox.
13344 (tramp-get-ls-command): Suppress coloring, if possible.
13346 2010-01-28 Glenn Morris <rgm@gnu.org>
13348 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13350 * log-edit.el (log-edit-strip-single-file-name): Add missing
13351 :safe, :group, and :version tags.
13353 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13355 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13356 buffers. (Bug#5477)
13358 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13360 * files.el (delete-directory): Handle moving to trash without
13361 first doing recursion (Bug#5436).
13363 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13365 * vc-hooks.el (vc-path): Mark as obsolete.
13367 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13369 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13372 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13374 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13376 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13378 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13380 * vc-bzr.el (vc-bzr-revision-table): New function.
13382 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13384 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13385 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13387 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13389 Remove support for adding --signoff on commit.
13390 Future support will use an incompatible generic mechanism.
13391 * vc-git.el (vc-git-add-signoff): Remove variable.
13392 (vc-git-toggle-signoff): Remove function.
13393 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13395 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13396 Rename from xterm-set-background-mode. Return t if the background mode
13398 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13399 earlier, call it again in case the background mode has changed.
13401 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13403 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13406 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13408 * emacs-lisp/assoc.el (aelement): Doc fix.
13409 (aput, adelete, amake): Use lexical-let (Bug#5450).
13411 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13413 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13414 is the same as subprogram call, not declaration. (Bug#5435).
13416 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13418 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13419 (tramp-smb-maybe-open-connection): Use it.
13421 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13423 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13425 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13428 just because we see "encoding: 8bit".
13429 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13431 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13433 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13435 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13437 * jka-compr.el (jka-compr-load): If load-file is not in
13438 load-history, try its file-truename version. (bug#5447)
13440 2010-01-21 Alan Mackenzie <acm@muc.de>
13442 Fix a situation where deletion of a cpp construct throws an error.
13443 * progmodes/cc-engine.el (c-invalidate-state-cache):
13444 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13445 special cpp construct is still in the buffer.
13446 (c-parse-state): Record the special cpp with markers, not numbers.
13448 2010-01-21 Kenichi Handa <handa@m17n.org>
13450 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13451 process last-command-event, as it is now decoded first (Bug#5380).
13453 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13455 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13457 2010-01-20 Glenn Morris <rgm@gnu.org>
13459 * indent.el (tab-always-indent): Fix custom-type.
13461 2010-01-19 Alan Mackenzie <acm@muc.de>
13463 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13464 buffer throws "args out of range".
13465 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13466 playing the role of delimiter.
13468 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13470 * progmodes/ada-mode.el: Fix bug#5400.
13471 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13472 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13473 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13474 Improve comments in "is" portion. Handle null procedure declaration.
13475 (ada-move-to-end): Improve doc string.
13477 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13479 * ido.el (ido-cur-list): Initialize to nil.
13480 Remove obsolete information from commentary.
13481 (ido-choice-list): Initialize to nil.
13482 (ido-get-bufname): Reject minibuffers.
13483 (ido-make-buffer-list): If "default" is a nonexistent
13484 buffer, ignore it, as per the function's comment.
13485 (ido-kill-buffer-internal): New function.
13486 (ido-kill-buffer-at-head): Use it.
13487 (ido-visit-buffer): Likewise.
13489 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13491 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13493 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13495 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13496 Fix typos in chart titles.
13498 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13499 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13500 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13501 (describe-class, eieio-describe-generic, describe-generic):
13502 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13503 (eieio-speedbar-expand):
13504 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13505 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13506 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13507 (viper-del-backward-char-in-replace, viper-backward-indent)
13508 (viper-brac-function, viper-register-to-point, viper-submit-report):
13509 * net/tramp.el (tramp-remote-coding-commands):
13510 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13511 Fix typos in docstrings.
13513 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13515 * mail/sendmail.el (mail-yank-original): Set the mark if the
13516 specified function for yanking does not do it.
13518 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13520 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13522 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13523 resyncing a directory.
13525 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13527 * progmodes/ada-mode.el: Fix bug#1920.
13528 (ada-ident-re): Delete ., allow multibyte characters.
13529 (ada-goto-label-re): New; matches goto labels.
13530 (ada-block-label-re): New; matches block labels.
13531 (ada-label-re): New; matches both.
13532 (ada-named-block-re): Delete; callers changed to use
13533 `ada-block-label-re' instead.
13534 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13535 Use `ada-block-label-re'.
13536 (ada-indent-on-previous-lines): Improve handling of goto labels.
13537 (ada-get-indent-block-start): Special-case block label.
13538 (ada-get-indent-label): Split into `ada-indent-block-label' and
13539 `ada-indent-goto-label'.
13540 (ada-goto-stmt-start, ada-goto-next-non-ws):
13541 Optionally ignore goto labels.
13542 (ada-goto-next-word): Simplify.
13543 (ada-indent-newline-indent-conditional): Insert newline before
13544 trying to fix indentation; doc fix.
13546 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13548 * calc/calc.el (calc-command-flags): Give it an initial value.
13550 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13552 * files.el (minibuffer-with-setup-hook):
13553 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13554 (artist-key-draw-continously, artist-key-do-continously-continously)
13555 (artist-key-set-point-continously, artist-mouse-draw-continously):
13556 Fix typos in docstrings.
13558 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13560 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13561 Never return t (Bug#3898).
13563 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13565 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13566 can parse the output of the external commands (Bug#5279).
13568 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13570 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13572 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13574 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13576 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13578 * startup.el (command-line): Remove unused --icon-type arg.
13579 Handle --display arg, passing it to command-line-1 (Bug#5392).
13581 2010-01-16 Mario Lang <mlang@delysid.org>
13583 * emacs-lisp/chart.el (chart-translate-namezone):
13584 * textmodes/artist.el (artist-compute-popup-menu-table):
13585 Remove duplicated words in doc-strings.
13587 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13589 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13590 to mairix-search to suppress threading (Bug#5342).
13592 2010-01-15 Kenichi Handa <handa@m17n.org>
13594 * international/mule-cmds.el (canonicalize-coding-system-name):
13595 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13597 2010-01-15 Glenn Morris <rgm@gnu.org>
13599 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13601 * wid-edit.el (widget-keymap): Doc fix.
13603 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13604 former seems to be more widely accepted by various svn versions.
13606 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13608 * find-cmd.el (find-constituents):
13609 * vc-arch.el (vc-arch-root):
13610 * window.el (window-body-height, pop-up-frames):
13611 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13612 * progmodes/ada-stmt.el (ada-if):
13613 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13614 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13615 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13616 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13618 * progmodes/flymake.el (flymake-post-syntax-check):
13619 Fix typo in error message.
13621 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13623 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13624 which is always a string. (Bug#5313)
13626 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13628 * progmodes/ada-xref.el (ada-default-prj-properties):
13629 Simplify previous change.
13631 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13633 * progmodes/ada-xref.el (ada-default-prj-properties):
13634 Default ada_project_path to $ADA_PROJECT_PATH.
13636 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13638 * progmodes/ada-mode.el (ada-create-keymap):
13639 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13641 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13643 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13644 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13645 (ada-get-current-indent, ada-imenu-generic-expression)
13646 (ada-which-function): Check for it.
13648 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13650 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13651 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13653 2010-01-14 Glenn Morris <rgm@gnu.org>
13655 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13657 2010-01-14 Kenichi Handa <handa@m17n.org>
13659 * composite.el (auto-composition-mode): Make it a buffer local
13660 variable (permanent-local).
13661 (auto-composition-function): Set the default value to
13662 auto-compose-chars.
13663 (auto-composition-mode): Make it a simple function, not a minor mode.
13664 (global-auto-composition-mode): Likewise.
13665 (turn-on-auto-composition-if-enabled): Delete it.
13667 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13669 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13671 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13673 * files.el (copy-directory): Compute target for recursive
13674 directories with identical names. (Bug#5343)
13676 2010-01-12 Glenn Morris <rgm@gnu.org>
13678 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13679 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13681 2010-01-11 Sam Steingold <sds@gnu.org>
13683 * imenu.el (imenu-default-create-index-function): Detect infinite
13684 loops caused by imenu-prev-index-position-function.
13686 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13688 * htmlfontify.el (htmlfontify-load-rgb-file)
13689 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13690 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13691 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13692 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13693 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13694 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13695 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13696 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13697 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13698 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13699 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13700 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13701 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13702 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13703 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13704 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13705 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13706 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13707 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13708 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13709 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13710 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13711 backslash-quoting from parentheses, etc.
13713 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13715 * progmodes/js.el: Autoload javascript-mode alias.
13717 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13719 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13720 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13721 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13722 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13723 Fix typos in docstrings.
13724 (ffap-url-regexp): Doc fix.
13725 (ffap-at-mouse): Fix typo in message.
13727 2010-01-11 Glenn Morris <rgm@gnu.org>
13729 * version.el (emacs-copyright): Set copyright year to 2010.
13731 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13733 * format.el (format-annotate-function): Only set
13734 write-region-post-annotation-function after running to-fn so as not to
13735 affect nested write-region calls (bug#5273).
13737 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13739 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13742 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13744 * man.el (Man-goto-section): Signal error if the section is not
13747 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13749 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13750 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13752 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13754 * progmodes/compile.el: Don't treat compile-command as safe if
13755 compilation-read-command might be nil (Bug#4218).
13757 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13759 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13762 2010-01-08 Kenichi Handa <handa@m17n.org>
13764 * international/fontset.el (build-default-fontset-data):
13765 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13767 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13769 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13770 to `create-file-buffer' as it expects, not just a buffer name.
13771 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13772 to help uniquify. (Bug#3224)
13774 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13776 * font-setting.el (font-setting-change-default-font): Use user-spec
13779 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13781 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13783 2010-01-05 Tom Tromey <tromey@redhat.com>
13785 * progmodes/python.el (python-font-lock-keywords):
13786 Handle qualified decorators (Bug#881).
13788 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13790 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13791 in a lightweight checkout.
13793 2010-01-05 Kenichi Handa <handa@m17n.org>
13795 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13797 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13799 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13801 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13803 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13804 checkouts. (Bug#618)
13805 (vc-bzr-log-view-mode): Also highlight the author.
13806 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13807 (vc-bzr-shelve-menu-map):
13808 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13809 (vc-bzr-shelve-apply): Make prompt more explicit.
13811 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13813 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13814 They are valid characters in URL paths (rfc3986), and at least
13815 Firefox does not understand the encoded version (Bug#3166).
13817 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13819 * progmodes/octave-mod.el (octave-end-keywords)
13820 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13821 Add "end" keyword (Bug#3061).
13822 (octave-end-as-array-index-p): New function.
13823 (calculate-octave-indent): Use it.
13825 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13827 * bookmark.el: Consistently put the text property on the bookmark name.
13828 (bookmark-bmenu-marks-width): Bump back to 2, to include
13830 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13831 property on the bookmark name, instead of not putting it at all.
13832 (bookmark-bmenu-list): Fix where we put the text property.
13834 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13836 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13837 for showing buffer modified state (as added in the previous change).
13839 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13841 * bookmark.el: Show modified state of bookmark buffer more accurately.
13842 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13843 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13844 (with-buffer-modified-unmodified): New macro.
13845 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13846 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13847 Use new macro to preserve the buffer modified state.
13849 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13851 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13852 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13853 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13854 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13855 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13856 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13857 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13859 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13861 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13862 Make the lines in the generated doc string shorter. (Bug#4668)
13864 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13866 * net/rcirc.el: Add follow-link binding (Bug#4738).
13868 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13870 * Makefile.in (bzr-update): Rename from cvs-update.
13871 (cvs-update): New target for backward compatibility.
13873 * makefile.w32-in (bzr-update): Rename from cvs-update.
13874 (cvs-update): New target for backward compatibility.
13876 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13878 * bookmark.el: Remove gratuitous gratitude.
13880 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13882 * bookmark.el (bookmark-bmenu-any-marks): New function.
13883 (bookmark-bmenu-save): Clear buffer modification if no marks.
13885 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13887 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13888 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13889 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13890 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13892 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13893 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13894 To: emacs-devel {_AT_} gnu.org
13895 Subject: bookmark.el bug report
13896 Date: Mon, 28 Dec 2009 14:19:16 +0800
13897 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13899 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13901 * bookmark.el: Improvements suggested by Drew Adams:
13902 (bookmark-bmenu-ensure-position): New name for
13903 `bookmark-bmenu-check-position'. Just ensure the position,
13904 don't return any meaningful value.
13905 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13908 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13910 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13911 (bookmark-yank-point, bookmark-bmenu-check-position):
13912 Fix typos in docstrings.
13913 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13914 (bookmark-name-from-full-record, bookmark-get-position)
13915 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13916 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13917 Remove useless quoting of parenthesis, etc. in docstrings.
13919 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13920 (ediff-append-custom-diff): Fix typo in error message.
13921 (ediff-meta-mark-equal-files): Fix typos in messages.
13923 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13925 * net/imap-hash.el (imap-hash-make): Doc fix.
13926 (imap-hash-test): Fix typo in error message; reflow docstring.
13927 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13928 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13929 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13930 Fix typos in docstrings.
13931 (imap-hash-open-connection): Fix typo in error message.
13933 * play/gomoku.el (gomoku): Fix typos in docstring.
13935 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13936 (gdb-jsonify-buffer): Fix typos in docstring.
13937 (gdb-goto-breakpoint): Fix typo in error message.
13938 ("Display Other Windows"): Fix typo in help message.
13939 (gdb-speedbar-expand-node): Fix typo in question.
13941 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13942 (idlwave-html-system-help-location, idlwave-html-help-location)
13943 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13944 (idlwave-help-browser-generic-args, idlwave-help-directory)
13945 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13946 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13947 (idlwave-online-help, idlwave-help-html-link)
13948 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13949 Fix typos in docstrings.
13950 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13952 (idlwave-help-assistant-start): Fix typo in error message.
13954 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13955 (octave-electric-space): Fix typos in docstrings.
13957 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13959 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13961 2010-01-01 Juri Linkov <juri@jurta.org>
13963 * comint.el (comint-input-ring-size): Make it a defcustom and
13964 increase the default to 500 (Bug#5148).
13966 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13968 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13969 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13970 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13972 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13974 Show working revision correctly for mercurial.
13975 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13976 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13978 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13980 Declare some functions for the byte-compiler.
13981 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13982 (speedbar-timer-fn, speedbar-change-expand-button-char)
13983 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13985 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13987 This changeset reverts GDB Graphical Interface to use annotations.
13988 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13990 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13992 Make vc-dir work on subdirectories of the bzr root.
13993 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13994 Return file names relative to it.
13995 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13996 relative directory to vc-bzr-after-dir-status.
13998 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14000 * font-lock.el (font-lock-refresh-defaults): New function, which
14001 can be used to let font-lock react to external changes in
14002 variables like font-lock-defaults and keywords.
14003 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14005 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14007 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14009 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14011 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14013 Supersede color.diff settings in git log (bug#5211).
14015 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14016 escape chars in its output when the user has color.diff set to `always'.
14017 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14019 2009-12-26 Kevin Ryde <user42@zip.com.au>
14021 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14022 node. Keep previous "Index" name to work with past coreutils too.
14024 * man.el (man): Revise docstring a bit to show -a and -l as
14025 examples. Add -k description since support for it has otherwise
14026 been a secret. (Further to bug#3717.)
14027 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14028 "no matches" rather than "Can't find manpage", as the latter reads
14029 like -k was interpreted as a page name, which is not so. (Bug#5431)
14031 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14033 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14034 switches. Check also for //SUBDIRED// line.
14036 2009-12-25 Kenichi Handa <handa@m17n.org>
14038 * language/indian.el (devanagari-composable-pattern): Fix to
14039 handle ZWNJ and ZWJ. Use it in composition-function-table for
14041 (malayalam-composable-pattern): Fix previous change.
14043 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14045 * ps-print.el (ps-face-attributes): It was not returning the
14046 attribute face for faces specified as string. Reported by harven
14047 <harven@free.fr>. (Bug#5254)
14048 (ps-print-version): New version 7.3.5.
14050 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14052 * calendar/icalendar.el (icalendar--convert-tz-offset):
14053 Fix timezone names.
14054 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14055 (icalendar--add-diary-entry): Remove the trailing blank that
14056 diary-make-entry inserts.
14058 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14060 Make `file-expand-wildcards' work for remote files.
14062 * files.el (file-expand-wildcards): In case of remote files, check
14063 only local file name part for wildcards. Provide feature 'files
14064 and subfeature 'remote-wildcards. (Bug#5198)
14066 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14067 if there is already an established connection.
14068 (tramp-advice-file-expand-wildcards): Remove it.
14070 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14071 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14072 Activate advice for older GNU Emacs versions. (Bug#5237)
14074 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14076 Some doc fixes (more needed).
14078 * find-cmd.el (find-constituents): Reflow docstring.
14079 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14080 (find-generic): Doc fix.
14082 2009-12-17 Juri Linkov <juri@jurta.org>
14084 Fix regression from 23.1 to allow multiple modes in Local Variables.
14086 * files.el (hack-local-variables-filter): While ignoring duplicates,
14087 don't take `mode' into account.
14088 (hack-local-variables-filter, hack-dir-local-variables):
14089 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14091 2009-12-17 Juri Linkov <juri@jurta.org>
14093 Make `dired-diff' safer. (Bug#5225)
14095 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14096 `current' or when `file' is a directory of the `current' file.
14098 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14100 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14101 unconditionally preloaded files.
14103 2009-12-16 Juri Linkov <juri@jurta.org>
14105 Revert to old 23.1 logic of using the file at the mark as default.
14106 * dired-aux.el (dired-diff): Use the file at the mark as default
14107 if it's not the same as the current file, and the target dir is
14108 the current dir or the mark is active. Add the current file
14109 as the arg of `dired-dwim-target-defaults'. Use the default file
14110 in the prompt. (Bug#5225)
14112 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14114 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14115 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14116 (tramp-check-for-regexp): Check also, when an echoing shell stops
14117 to echo sent commands.
14119 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14121 * Makefile.in: Revert last change (Bug#5191).
14123 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14125 * vc-hg.el (vc-hg-print-log): Fix argument order.
14126 (vc-hg-working-revision): Make sure the command is executed in a
14127 known environment so that we can parse the output. (Bug#4417)
14129 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14131 * progmodes/python.el (python-symbol-completions): Remove text
14132 properties from symbol string before calling python-send-receive.
14134 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14136 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14137 when there are values for both file and line. (Bug#5060)
14139 2009-12-14 Juri Linkov <juri@jurta.org>
14141 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14142 whitespace after the file name of the first line of unified format,
14143 because git-diff doesn't output whitespace and file modification time
14144 after the file name.
14146 2009-12-14 David Kastrup <dak@gnu.org>
14148 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14149 check if it already has the `display' property added by
14150 `Info-display-images-node', and not put the `invisible' property
14153 2009-12-13 Glenn Morris <rgm@gnu.org>
14155 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14156 (report-emacs-bug): In message-mode, sort manually before storing
14157 original report text. (Bug#5178)
14158 Remove superfluous save-excursion.
14160 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14162 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14163 when responding to "GetAll" properties.
14165 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14167 * simple.el (compose-mail): Remove mail-setup-with-from from
14168 customization checks.
14170 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14172 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14173 RAR archives created on Unix systems.
14175 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14177 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14178 the varalias that was accidentally removed by the 2009-11-19 change
14181 2009-12-12 Kenichi Handa <handa@m17n.org>
14183 * language/indian.el (indian-compose-regexp): New function.
14184 (malayalam-composable-pattern): Fix the pattern.
14185 (composition-function-table): Set malayalam-composable-pattern for
14186 Malayalam characters.
14188 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14190 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14191 rather than down-mouse-1, based on follow-link conventions.
14193 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14196 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14198 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14199 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14200 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14201 (verilog-leap-to-head, verilog-backward-token):
14202 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14204 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14206 * progmodes/verilog-mode.el (verilog-auto-lineup)
14207 (verilog-nameable-item-re): Cleanup user-visible spelling and
14208 documentation errors. One reported by Gary Delp.
14209 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14210 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14211 package, bug195. Reported by Pierre-David Pfister.
14213 2009-12-11 Glenn Morris <rgm@gnu.org>
14215 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14217 * mail/emacsbug.el: No longer require sendmail.
14218 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14219 (report-emacs-bug-orig-text): Doc fix.
14220 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14221 New local variables, to adapt to different mail-user-agents.
14222 (report-emacs-bug): Fix test for a gnu.org address.
14223 Use overlays for emphasis, since font-lock defeats 'face property.
14224 Pretest bugs also end up at the newsgroup these days.
14225 Stop message-mode stripping text properties.
14226 Set and use the new buffer-local variables.
14227 (report-emacs-bug-hook): Add doc-string.
14228 Remove some unnecessary save-excursions and simplify.
14229 Use the appropriate hook and send-command.
14231 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14232 capitalization of some menu entries.
14234 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14236 * whitespace.el (whitespace-display-char-on):
14237 Ensure `buffer-display-table' is unique when two or more windows are
14238 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14241 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14243 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14244 characters in the Attribute field.
14246 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14248 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14250 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14252 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14253 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14254 Disregard autoload-excludes.
14255 (update-directory-autoloads): Obey autoload-excludes here instead.
14256 But don't store its contents in no-autoloads and remove entries that
14257 refer to excludes files.
14259 2009-12-10 Glenn Morris <rgm@gnu.org>
14261 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14262 (expand-mail-aliases): Define for compiler.
14264 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14265 Define for compiler.
14267 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14268 appropriate for the mail-user-agent in use.
14270 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14272 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14274 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14276 Fix short log parsing and fontification.
14277 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14278 Fix fontification for the [merge] label.
14280 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14282 Drop some properties to avoid surprises (bug#5002).
14283 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14284 (hfy-fontify-buffer): Use it.
14286 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14289 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14290 Adjust all callers.
14291 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14292 args compulsory. Adjust callers.
14293 (ffap-gopher-at-point): Remove unused var `name'.
14295 Get rid of the ELCFILES abomination.
14296 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14297 (compile-elcfiles): New phony target.
14298 (compile-main): Compute ELCFILES dynamically.
14299 (compile-clean): New target to remove left-over elc files.
14300 (compile, all): Use it.
14302 2009-12-09 Kenichi Handa <handa@etlken>
14304 * international/mule-diag.el: Require help-mode instead of help-fns.
14306 2009-12-09 Kenichi Handa <handa@m17n.org>
14308 * international/mule-cmds.el (ucs-names): Supply sufficiently
14309 fine ranges instead of pre-calculating accurate ranges.
14310 Iterate with bigger gc-cons-threshold.
14312 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14314 Add support for stashing a snapshot of the current tree.
14315 * vc-git.el (vc-git-stash-snapshot): New function.
14316 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14318 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14320 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14321 instead of `(beginning|end)-of-line'.
14323 2009-12-08 Glenn Morris <rgm@gnu.org>
14325 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14327 * Makefile.in (ELCFILES): Regenerate.
14329 2009-12-07 Juri Linkov <juri@jurta.org>
14331 Don't lazy-highlight the comint output in history Isearch mode.
14333 * comint.el (comint-history-isearch-search): Instead of
14334 `comint-line-beginning-position', use `comint-after-pmark-p'
14335 to check if point if before the process mark, and go to
14336 `process-mark' in this case.
14338 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14340 * textmodes/tex-mode.el (latex-complete)
14341 (latex-indent-or-complete): Remove.
14342 (latex-mode): Set completion-at-point-functions instead.
14344 Provide a standard completion command and hook it into TAB.
14345 * minibuffer.el (completion-at-point-functions): New var.
14346 (completion-at-point): New command.
14347 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14348 * progmodes/python.el (python-mode-map): Use completion-at-point.
14349 (python-completion-at-point): Rename from python-partial-symbol and
14350 adjust for use in completion-at-point-functions.
14351 (python-mode): Setup completion-at-point for Python completion.
14352 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14353 extracted from lisp-complete-symbol.
14354 (lisp-complete-symbol): Use it.
14355 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14356 setup completion-at-point for Elisp completion.
14357 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14358 Use completion-at-point.
14359 * ielm.el (ielm-map): Use completion-at-point.
14360 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14361 * progmodes/sym-comp.el: Move to...
14362 * obsolete/sym-comp.el: Move from progmodes.
14364 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14366 Prevent save-buffer in Rmail buffers from using the coding-system
14367 of the current message, and from clobbering the encoding mnemonics
14368 in the mode line (Bug#4623).
14370 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14372 (rmail-message-encoding): New variable.
14373 (rmail-write-region-annotate): Record the encoding of the current
14374 message in rmail-message-encoding.
14375 (rmail-after-save-hook): New function, restores the encoding of
14376 the current message after the message collection is saved.
14378 2009-12-07 Juri Linkov <juri@jurta.org>
14380 * progmodes/grep.el (grep-read-files): Use `completing-read'
14381 instead of `read-string'. Set its `collection' arg to
14382 `read-file-name-internal'. (Bug#4301)
14384 2009-12-07 Juri Linkov <juri@jurta.org>
14386 Correctly restore original Isearch point. (Bug#4994)
14388 * isearch.el (isearch-mode): Move `isearch-push-state' after
14389 `(run-hooks 'isearch-mode-hook)'.
14390 (isearch-cancel): When `isearch-push-state-function' is defined,
14391 let-bind `isearch-cmds' to the first state (the last element of
14392 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14393 function and restores the original point). Otherwise, move point
14394 to `isearch-opoint'.
14396 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14398 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14399 chars that don't have names, so the table can be built much faster at
14402 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14404 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14405 change. Suggested by David Kastrup.
14407 * simple.el (compose-mail): Check for incompatibilities and warn.
14408 (compose-mail-user-agent-warnings): New option.
14410 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14412 Support showing a single log entry from vc-annotate.
14413 * vc.el (print-log): Add a new argument: START-REVISION.
14414 (vc-print-log-internal): Add a new optional argument and
14415 pass it to the backend.
14416 (vc-print-log, vc-print-root-log): Adjust callers.
14417 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14418 buffer already displays the requested log entry, use it.
14419 Otherwise display only the log entry in question.
14420 * vc-svn.el (vc-svn-print-log):
14421 * vc-mtn.el (vc-mtn-print-log):
14422 * vc-hg.el (vc-hg-state):
14423 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14424 (vc-git-show-log-entry): Return t on success.
14425 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14426 (vc-bzr-show-log-entry): Return t on success.
14427 * vc-rcs.el (vc-rcs-print-log):
14428 * vc-sccs.el (vc-sccs-print-log):
14429 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14431 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14433 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14434 Add menus to the meta mode. (Bug#5043)
14436 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14438 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14441 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14443 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14445 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14446 Berbain <raphael.berbain@gmail.com>.
14448 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14450 (tramp-initial-end-of-output): New defconst.
14451 (tramp-methods, tramp-find-shell)
14452 (tramp-open-connection-setup-interactive-shell)
14453 (tramp-maybe-open-connection): Use it.
14454 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14455 Handle existence of `#' and `$'.
14457 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14458 Use `tramp-initial-end-of-output'.
14460 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14462 Get the background mode from the terminal for xterm, and set
14464 * term/xterm.el (xterm-set-background-mode): New function.
14465 (terminal-init-xterm): Use it in case xterm supports background
14466 color queries. Recompute faces after getting the background
14469 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14471 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14472 number comment back on its own line, for easier parsing.
14474 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14476 Make it work for non-file buffers (bug#5102).
14477 * doc-view.el (doc-view-current-cache-dir):
14478 Use doc-view-buffer-file-name rather than buffer-file-name.
14479 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14481 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14483 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14484 author field is too short.
14486 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14488 * vc-git.el (vc-git-print-log): Handle a limit argument.
14489 Display the short log in graph form and with labels.
14490 (vc-git-log-view-mode): Handle labels.
14492 Make vc-revert change VC state from 'added to 'unregistered.
14493 * vc-git.el (vc-git-revert): Call git reset first.
14495 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14497 * net/newst-backend.el, net/newst-plainview.el:
14498 * net/newst-reader.el, net/newst-ticker.el:
14499 * net/newst-treeview.el, net/newsticker.el:
14500 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14502 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14504 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14506 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14507 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14508 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14509 Update annotation regexp.
14511 * simple.el (beginning-of-visual-line): Constrain to field
14512 boundaries (Bug#5106).
14514 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14516 * xml.el (xml-substitute-numeric-entities):
14517 Move newsticker--decode-numeric-entities in newst-backend.el to
14518 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14519 * net/newst-backend.el (newsticker--parse-generic-feed)
14520 (newsticker--parse-generic-items)
14521 (newsticker--decode-numeric-entities):
14522 Move newsticker--decode-numeric-entities in newst-backend.el to
14523 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14525 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14527 * progmodes/js.el (js--js-not): Add null to the list of values.
14529 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14531 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14533 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14535 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14536 delimiter if it is at the end of the current line.
14537 (bibtex-generate-url-list): Fix docstring.
14539 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14541 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14542 minibuffer's content with itself.
14543 Fold the confirm-after-completion case into the `confirm' case.
14544 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14546 2009-12-06 Kevin Ryde <user42@zip.com.au>
14548 * ffap.el (ffap-rfc-path): Make this a defcustom since
14549 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14551 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14552 manuals, similar to existing setup for help-mode. (Bug#3913.)
14554 2009-12-05 Juri Linkov <juri@jurta.org>
14556 Save and restore dired buffer's point positions too. (Bug#4880)
14558 * dired.el (dired-save-positions): Return in the first element
14559 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14561 (dired-restore-positions): First restore buffer's position.
14562 While restoring window's positions, check if window still displays
14563 the original buffer.
14565 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14567 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14570 * shell.el (shell): Require ansi-color (Bug#5113).
14572 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14574 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14576 2009-12-05 Alan Mackenzie <acm@muc.de>
14578 * progmodes/cc-mode.el (c-before-hack-hook)
14579 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14580 `c-file-style' to work again. This reversion restores the current
14581 software to its state in Emacs 23.1. (Bug#4146)
14583 2009-12-05 Kevin Ryde <user42@zip.com.au>
14585 * textmodes/sgml-mode.el (sgml-lexical-context):
14586 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14588 2009-12-05 Juri Linkov <juri@jurta.org>
14590 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14591 for virtual nodes. (Bug#4147)
14592 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14593 when moving from a virtual node.
14594 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14595 (Info-mode): Add `Info-virtual-index' to the docstring.
14597 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14599 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14600 track of the buffer position of the end of a BibTeX entry as this
14601 position may change during reformatting.
14602 (bibtex-format-entry): Remove whitespace before processing
14603 numerical fields so that we recognize the latter properly.
14604 (bibtex-reformat): Do not use push which changes the global value
14605 of bibtex-entry-format.
14606 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14607 (bibtex-field-re-init): Replace only space characters by regexp
14609 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14610 (bibtex-initialize): Also update bibtex-strings.
14611 (bibtex-kill-field): Preserve white space at end of entry.
14612 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14613 Update bibtex-reference-keys.
14615 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14617 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14618 point after a star, if that's the only place where modifications can
14621 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14623 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14626 2009-12-04 Juri Linkov <juri@jurta.org>
14628 * proced.el (proced): Call `(proced-update t)' to update process
14629 information instead of only running proced-post-display-hook.
14630 (proced-send-signal): Add a leading space to the buffer name
14631 " *Marked Processes*" to make this buffer ephemeral.
14633 2009-12-04 Juri Linkov <juri@jurta.org>
14635 * dired.el (dired-auto-revert-buffer): New defcustom.
14636 (dired-internal-noselect): Use it.
14638 2009-12-04 Juri Linkov <juri@jurta.org>
14640 Change roles of modes and functions in image-mode.el (Bug#5062).
14642 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14643 in `auto-mode-alist'.
14644 (image-mode-previous-major-mode): New variable.
14645 (image-minor-mode-map): Rename from `image-mode-text-map'.
14646 (image-mode): Move graceful error-handling code from
14647 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14648 (image-minor-mode): Remove all image-handling code.
14649 Replace `image-mode-text-map' with `image-minor-mode-map'.
14650 Check for `image-type' in mode-line format string.
14651 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14652 (image-mode-as-text): New function with most code from
14653 `image-mode-maybe'.
14654 (image-toggle-display-text): Move code that removes image
14655 properties from `image-toggle-display' to here.
14656 (image-toggle-display-image): New function with code that adds
14657 image properties copied from `image-toggle-display'.
14658 (image-toggle-display): Remove most code with leaving only code
14659 that toggles between `image-mode-as-text' and `image-mode'.
14661 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14663 * net/newst-treeview.el
14664 (newsticker--treeview-list-highlight-start): Restored call to
14665 save-excursion: Selected item was stuck.
14666 (newsticker--treeview-list-select): New.
14667 (newsticker--treeview-item-show-text)
14668 (newsticker--treeview-item-show)
14669 (newsticker--treeview-item-update): Use new
14670 newsticker-treeview-item-mode.
14671 (newsticker-treeview-update): Keep current item.
14672 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14673 (newsticker--treeview-first-feed): Doc change.
14674 (newsticker-treeview-list-menu)
14675 (newsticker-treeview-item-menu): Add menu entries.
14676 (newsticker-treeview-item-mode): New.
14678 * net/newst-backend.el (newsticker-customize): Delete other
14681 2009-12-04 Sam Steingold <sds@gnu.org>
14683 * log-view.el (log-view-mode-map): "q" calls quit-window,
14684 like in all the other non-self-insert buffers.
14686 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14689 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14690 key decoding rather than do it manually via last-input-event +
14692 (term-exec): Use delete-and-extract-region.
14693 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14694 (term-process-pager): Remove unused var `i'.
14695 (term-dynamic-simple-complete): Make obsolete.
14696 (serial-update-config-menu): Remove unused vars `y' and `str'.
14697 (term-update-mode-line): Remove unused var `temp'.
14699 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14701 Limit the number of log entries displayed by default.
14702 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14703 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14704 using a prefix argument.
14706 2009-12-03 Glenn Morris <rgm@gnu.org>
14708 * progmodes/idlwave.el (class): Restore still useful declaration.
14710 2009-12-03 Alan Mackenzie <acm@muc.de>
14712 Enhance `c-parse-state' to run efficiently in "brace deserts".
14714 * progmodes/cc-mode.el (c-basic-common-init):
14715 Call c-state-cache-init.
14716 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14717 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14718 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14720 * progmodes/cc-langs.el (c-before-font-lock-function):
14721 c-extend-and-neutralize-syntax-in-CPP has been renamed
14722 c-neutralize-syntax-in-and-mark-CPP.
14724 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14725 with `category' properties now, not `syntax-table' ones.
14727 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14728 enhanced (but slower) version of c-end-of-macro that won't land
14729 inside a literal or on another awkward character.
14730 (c-state-cache-too-far, c-state-cache-start)
14731 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14732 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14733 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14734 (c-state-min-scan-pos, c-state-brace-pair-desert)
14735 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14736 buffer local variables.
14737 (c-state-literal-at, c-state-lit-beg)
14738 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14739 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14740 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14741 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14742 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14743 (c-renarrow-state-cache)
14744 (c-append-lower-brace-pair-to-state-cache)
14745 (c-state-push-any-brace-pair, c-append-to-state-cache)
14746 (c-remove-stale-state-cache)
14747 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14748 (c-invalidate-state-cache-1, c-parse-state-1)
14749 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14750 (c-parse-state): Enhance and refactor.
14751 (c-debug-parse-state): Amend to deal with all the new variables.
14753 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14754 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14755 modify to use category text properties rather than syntax-table ones.
14756 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14757 to switch off/on the syntactic paren property of C++ template
14758 delimiters using the category property.
14759 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14760 template delims suppressed.
14761 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14762 New constant/macros which apply category properties to the start
14763 and end of preprocessor constructs.
14764 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14765 "comment out" the syntactic value of characters in preprocessor
14767 (c-with-cpps-commented-out)
14768 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14769 with characters in all or all but one preprocessor constructs
14772 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14774 * proced.el (proced-filter-alist): Use regexp-quote.
14776 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14779 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14780 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14781 arguments. Expand `default-directory'.
14783 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14784 the benefit of returning an expanded localname.
14785 (tramp-tramp-file-p): Handle the case NAME is not a string.
14787 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14789 Add support for bzr shelve/unshelve.
14790 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14791 (vc-bzr-extra-menu-map): New variables.
14792 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14793 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14794 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14795 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14796 (vc-bzr-dir-extra-headers): Display shelves.
14798 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14800 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14802 * textmodes/bibtex.el (bibtex-complete-internal):
14803 Use completion-in-region.
14804 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14806 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14808 Support applying stashes. Improve UI.
14809 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14810 (vc-git-stash-apply, vc-git-stash-pop)
14811 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14812 (vc-git-stash-menu): New functions.
14813 (vc-git-stash-menu-map): New variable.
14814 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14816 2009-12-03 Glenn Morris <rgm@gnu.org>
14818 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14819 (vc-print-log-internal): Fix previous change.
14820 (vc-revert): Correct pluralization.
14822 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14824 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14825 it to be an alist any more.
14826 (makefile-complete): Use completion-in-region.
14828 * progmodes/octave-mod.el (octave-complete-symbol):
14829 Use completion-in-region.
14832 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14833 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14834 (idlwave-complete-class): Don't quote lambda.
14835 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14836 (idlwave-mode-map): Move initialization into declaration.
14837 (idlwave-action-and-binding): Use backquotes.
14838 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14840 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14841 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14842 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14843 `parts', and `all-parts'.
14844 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14845 (idlwave-convert-xml-system-routine-info): Remove unused string
14847 (idlwave-display-user-catalog-widget): Use dolist.
14848 (idlwave-scanning-lib): Declare dynamically-scoped var.
14849 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14850 (completion-highlight-first-word-only): Declare to silence bytecomp.
14851 (idlwave-popup-select): Tighten scope of `resp'.
14852 (idlwave-find-struct-tag): Remove unused var `beg'.
14853 (idlwave-after-load-rinfo-hook): Declare.
14854 (idlwave-sintern-class-info): Remove unused var `taglist'.
14855 (idlwave-find-class-definition): Remove unused var `list'.
14856 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14857 (idlwave-what-module-find-class): Remove unused var `classes'.
14859 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14861 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14863 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14865 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14866 buffers visited. Remove redundant current-buffer-saving.
14868 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14870 Use completion-in-buffer and remove uses of dynamic scoping.
14871 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14872 (pascal-buffer-to-use, pascal-flag): Don't declare.
14873 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14874 (pascal-get-completion-decl, pascal-keyword-completion):
14875 Add `pascal-str' argument, save-excursion,
14876 return the found completions, and don't filter with pascal-pred.
14877 (pascal-completion-cache): New var.
14878 (pascal-completion): Don't switch buffer any more (it was never
14879 necessary). Don't save-excursion any more (it's done by the called
14880 subroutines). Use a cache to avoid redundant computations.
14881 Use complete-with-action rather than pascal-completion-response and
14882 let it apply the predicate as well.
14883 (pascal-complete-word): Use completion-in-buffer when
14884 pascal-toggle-completions is nil.
14885 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14887 (pascal-comp-defun): Don't change buffer any more.
14888 Use complete-with-action rather than pascal-completion-response and
14889 let it apply the predicate as well.
14890 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14893 2009-12-02 Kenichi Handa <handa@m17n.org>
14895 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14896 shape for all Indic scripts.
14898 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14900 Use completion-in-buffer.
14901 * wid-edit.el (widget-field-text-end): New function.
14902 (widget-field-value-get): Use it.
14903 (widget-string-complete, widget-file-complete)
14904 (widget-color-complete): Use it and completion-in-region.
14905 (widget-complete): Don't narrow the buffer.
14907 2009-12-02 Glenn Morris <rgm@gnu.org>
14909 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14910 (rmail-select-summary): Use rmail-pop-to-buffer.
14911 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14912 rmail-pop-to-buffer, to prevent horizontal splits.
14914 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14915 save-excursion with save-current-buffer.
14916 Widen before searching. (Bug#5093)
14917 (diary-list-sexp-entries): Remove superfluous save-excursion.
14919 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14921 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14924 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14926 * ido.el (ido-file-internal): Handle filenames at point that do
14927 not have a directory part. (Bug#5049)
14929 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14931 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14932 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14934 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14936 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14937 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14940 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14942 * comint.el (comint-insert-input): Ignore clicks to the right of
14943 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14945 * vc.el (vc-print-log-internal): Don't wait for the process to
14946 terminate before setting up the major mode.
14948 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14951 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14954 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14956 2009-12-01 Glenn Morris <rgm@gnu.org>
14958 * window.el (window--display-buffer-2): Fix previous changes.
14960 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14962 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14964 2009-12-01 Glenn Morris <rgm@gnu.org>
14966 * Makefile.in (ELCFILES): Add mpc.elc.
14968 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14970 * mpc.el: New file.
14972 2009-12-01 Glenn Morris <rgm@gnu.org>
14974 * window.el (window-to-use): Define for compiler.
14976 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14977 consistent with others (no final period).
14979 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14980 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14982 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14984 Make vc-print-log buttons work.
14985 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14987 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14989 * savehist.el (savehist-autosave-interval): Allow setting to nil
14990 through customize. (Bug#5056)
14992 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14994 Fix references to jit-lock properties.
14995 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14996 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14997 (perl-font-lock-special-syntactic-constructs):
14998 Quote jit-lock-defer-multiline property.
15000 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15002 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15004 2009-11-30 Juri Linkov <juri@jurta.org>
15006 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15007 value `buffer' of `multi-isearch-next-buffer-current-function'.
15008 Use `(current-buffer)' when `buffer' is nil.
15009 (multi-isearch-next-buffer-from-list): Don't fallback to
15010 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15012 2009-11-30 Juri Linkov <juri@jurta.org>
15014 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15015 of buffers with `get-buffer' to `multi-isearch-buffers'.
15016 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15017 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15018 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15019 FILES with `expand-file-name' converting relative file names
15020 to absolute. Doc fix. (Bug#4727)
15022 2009-11-30 Juri Linkov <juri@jurta.org>
15024 * misearch.el (multi-isearch-read-buffers)
15025 (multi-isearch-read-matching-buffers): New functions.
15026 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15027 Use them in the `interactive' spec. Doc fix.
15028 (multi-isearch-read-files, multi-isearch-read-matching-files):
15030 (multi-isearch-files, multi-isearch-files-regexp):
15031 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15033 2009-11-30 Juri Linkov <juri@jurta.org>
15035 * doc-view.el (doc-view-continuous):
15036 Rename from `doc-view-continuous-mode'.
15037 (doc-view-menu): Move "Toggle display" to the top.
15038 Add submenu "Continuous" with radio buttons "Off"/"On"
15039 and "Save as Default".
15040 (doc-view-scroll-up-or-next-page)
15041 (doc-view-scroll-down-or-previous-page)
15042 (doc-view-next-line-or-next-page)
15043 (doc-view-previous-line-or-previous-page):
15044 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15046 2009-11-30 Juri Linkov <juri@jurta.org>
15048 * comint.el (comint-mode-map): Rebind `M-r' from
15049 `comint-previous-matching-input' to
15050 `comint-history-isearch-backward-regexp'.
15051 Unbind `M-s' to allow global key binding `M-s'.
15052 Add menu items for `comint-history-isearch-backward' and
15053 `comint-history-isearch-backward-regexp'. (Bug#3746)
15055 2009-11-30 Juri Linkov <juri@jurta.org>
15057 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15058 For def=recenter, replace `recenter' with `recenter-top-bottom'
15059 that is called with `this-command' and `last-command' let-bound
15060 to `recenter-top-bottom'. When the last `def' was not `recenter',
15061 set `recenter-last-op' to nil. (Bug#4981)
15063 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15065 Minor cleanup and simplification.
15066 * filecache.el (file-cache-add-directory)
15067 (file-cache-add-directory-recursively)
15068 (file-cache-add-from-file-cache-buffer)
15069 (file-cache-delete-file-regexp, file-cache-delete-directory)
15070 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15071 (file-cache-temp-minibuffer-message): Delete function.
15072 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15074 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15075 Don't signal an error when bumping into EOB in tr, s, or y.
15077 2009-11-29 Juri Linkov <juri@jurta.org>
15079 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15082 * descr-text.el (describe-char-unidata-list): Use lowercase name
15083 for "Unicode name" like in other tags.
15085 2009-11-29 Juri Linkov <juri@jurta.org>
15087 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15088 New compatibility macro.
15089 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15091 2009-11-29 Juri Linkov <juri@jurta.org>
15093 Add defcustom to define the cycling order of `recenter-top-bottom'.
15096 * window.el (recenter-last-op): Doc fix.
15097 (recenter-positions): New defcustom.
15098 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15099 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15101 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15103 Improve integration of Tramp and ange-ftp in eshell.
15105 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15106 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15107 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15109 * eshell/esh-util.el (top): Require also Tramp when compiling.
15110 (eshell-directory-files-and-attributes): Check for FTP remote
15112 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15113 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15114 (eshell-file-attributes): Handle ".". Return `entry'.
15116 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15117 (ange-ftp-directory-files-and-attributes)
15118 (ange-ftp-real-directory-files-and-attributes): New defuns.
15120 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15121 shell with "exec" when possible. This prevents trailing prompts
15122 in `start-file-process'.
15124 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15126 Try and remove assumptions about point-min==1.
15127 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15128 (rng-compute-mode-line-string): Show the validation percentage in
15129 terms of the narrowed text, not the widened text.
15130 (rng-do-some-validation): Don't catch internal errors when debugging.
15131 (rng-first-error): Simplify.
15132 (rng-after-change-function): Remove work around. AFAIK the bug has
15133 been fixed a while ago.
15135 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15136 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15138 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15140 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15141 `cd' doesn't always do it for us (bug#5067).
15143 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15144 on 2009-10-25 as part of some other change (bug#5067).
15146 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15148 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15150 (byte-compile-warnings): Use byte-compile-warning-types.
15151 (byte-compile-save-excursion): Warn about use of set-buffer right
15152 after save-excursion.
15154 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15155 the excursion as well.
15157 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15159 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15160 providing a Tramp related implementation of "su" and "sudo".
15161 (eshell-unix-initialize): Add "su" and "sudo".
15163 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15165 * net/socks.el (socks-send-command): Convert binary request to
15166 unibyte before sending. This fixes mishandling of some port
15167 numbers such as 129.
15169 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15171 * help.el (describe-bindings-internal): Remove `interactive'.
15173 * man.el (Man-completion-table): Trim a terminating "(".
15174 Remove the space between name page a section.
15175 Add the command's description on the `help-echo' property.
15176 Remove `process-connection-type' binding since it's unused by
15178 Provide completion for the "<section> <name>" format as well.
15179 (Man-default-man-entry): Remove spurious var shadowing the argument.
15181 2009-11-26 Kevin Ryde <user42@zip.com.au>
15183 * log-view.el: Add "Keywords: tools", since its other keywords
15184 aren't in finder-known-keywords, and following vc.el.
15186 * sha1.el (sha1-string-external): default-directory "/" in case
15187 otherwise non-existent. process-connection-type pipe for touch of
15188 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15190 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15192 Misc coding convention cleanups.
15193 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15194 hfy-init-kludge-hooks.
15195 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15196 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15197 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15199 (hfy-slant, hfy-weight): Use tables rather than code.
15200 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15201 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15202 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15203 (hfy-face-to-css): Remove `nconc' with single arg.
15204 (hfy-p-to-face-lennart): Use `or'.
15205 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15206 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15207 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15208 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15209 (hfy-force-fontification): Use run-hooks.
15211 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15213 Various minor fixes.
15214 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15215 Javascript belongs in the header, not the body.
15216 (hfy-javascript): Remove.
15217 (hfy-fontify-buffer): Don't insert it any more.
15218 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15219 Fix bug in invis handling when there were no invis props in a chunk.
15221 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15223 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15225 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15227 * finder.el (finder-mode-map): Add a menu.
15229 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15231 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15232 "unsigned" structs.
15234 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15235 fork" statement better.
15237 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15239 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15240 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15241 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15242 Reported by Clay Douglass.
15244 (verilog-auto-inst, verilog-auto-star-safe)
15245 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15246 Fix removing "// Interfaces" when saving .* expansions.
15247 Reported by Pierre-David Pfister.
15249 2009-11-26 Glenn Morris <rgm@gnu.org>
15251 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15254 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15256 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15257 Really use previous revision.
15259 2009-11-25 Kevin Ryde <user42@zip.com.au>
15261 * man.el (Man-completion-table): default-directory "/" in case
15262 doesn't otherwise exist. process-environment COLUMNS=999 so as
15263 not to truncate long names. process-connection-type pipe to avoid
15264 any chance of hitting the pseudo-tty TIOCGWINSZ.
15265 (man): completion-ignore-case t for friendliness and since man
15266 itself is case-insensitive on the command line.
15267 Further to Bug#3717.
15269 * arc-mode.el: Add "Keywords: files", so the details in its
15270 commentary can be reached from finder-by-keyword.
15271 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15272 editing mode, but it's comms related and sgml-mode.el has "comm"
15274 * textmodes/bibtex-style.el: Add "Keywords: tex".
15275 * international/isearch-x.el, international/ja-dic-cnv.el:
15276 * international/ja-dic-utl.el, international/kkc.el:
15277 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15279 2009-11-25 Juri Linkov <juri@jurta.org>
15281 * man.el (Man-completion-table): Modify regexp to include
15282 section names to completion strings. (Bug#3717)
15284 2009-11-25 Juri Linkov <juri@jurta.org>
15286 Search recursively in gzipped files. (Bug#4982)
15288 * progmodes/grep.el (grep-highlight-matches): Add new options
15289 `always' and `auto'. Doc fix.
15290 (grep-process-setup): Check `grep-highlight-matches' for
15291 `auto-detect' to determine the need to compute grep defaults.
15292 Move Windows/DOS specific --colors settings handling
15293 to `grep-compute-defaults'. Check `grep-highlight-matches'
15294 to get the value of "--color=".
15295 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15296 has the value `auto-detect'. Move Windows/DOS specific settings
15297 from `grep-process-setup'.
15298 (zrgrep): New command with alias `rzgrep'.
15300 2009-11-25 Juri Linkov <juri@jurta.org>
15302 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15303 to nil instead of switching off view-mode. (Bug#4896)
15305 2009-11-25 Juri Linkov <juri@jurta.org>
15307 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15309 * mwheel.el (mwheel-scroll-up-function)
15310 (mwheel-scroll-down-function): New defvars.
15311 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15312 `scroll-up', and `mwheel-scroll-down-function' instead of
15315 * doc-view.el (doc-view-scroll-up-or-next-page)
15316 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15317 Use this ARG in the call to image-scroll-up/image-scroll-down.
15318 Change `interactive' spec to "P". Goto next/previous page only
15319 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15320 SPC/DEL case). Doc fix.
15321 (doc-view-next-line-or-next-page)
15322 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15324 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15325 `doc-view-scroll-up-or-next-page', and buffer-local
15326 `mwheel-scroll-down-function' to
15327 `doc-view-scroll-down-or-previous-page'.
15329 2009-11-25 Juri Linkov <juri@jurta.org>
15331 Provide additional default values (directories at other Dired
15332 windows) via M-n in the minibuffer of some Dired commands.
15334 * dired-aux.el (dired-diff, dired-compare-directories)
15335 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15336 `minibuffer-default' in `minibuffer-with-setup-hook'.
15337 (dired-dwim-target-directory): Find a window that displays Dired
15338 buffer instead of failing when the next window is not Dired.
15339 Use `get-window-with-predicate' to find for the next Dired window.
15340 (dired-dwim-target-defaults): New function.
15342 * ediff-util.el (ediff-read-file-name):
15343 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15344 in `minibuffer-with-setup-hook'.
15346 2009-11-25 Juri Linkov <juri@jurta.org>
15348 Provide additional default values (file name at point or at the
15349 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15351 * minibuffer.el (read-file-name-defaults): New function.
15352 (read-file-name): Reset `minibuffer-default' to nil when
15353 it duplicates initial input `insdef'.
15354 Bind `minibuffer-default-add-function' to lambda that
15355 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15356 (minibuffer-insert-file-name-at-point): New command.
15358 * files.el (file-name-at-point-functions): New defcustom.
15359 (find-file-default): Remove defvar.
15360 (find-file-read-args): Don't use `find-file-default'.
15361 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15362 to `read-file-name'.
15363 (find-file-literally): Use `read-file-name' with
15364 `confirm-nonexistent-file-or-buffer'.
15366 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15368 * dired.el (dired-read-dir-and-switches):
15369 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15370 to `read-file-name'.
15371 (dired-file-name-at-point): New function.
15372 (dired-mode): Add hook `dired-file-name-at-point' to
15373 `file-name-at-point-functions'.
15375 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15377 Really make the *Completions* window soft-dedicated (bug#5030).
15378 * window.el (window--display-buffer-2): Add `dedicated' argument.
15379 (display-buffer): Pass it when needed so the dedicated flag is set
15380 after calling set-window-buffer, which would otherwise reset it.
15382 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15384 * progmodes/meta-mode.el (meta-complete-symbol):
15385 * progmodes/etags.el (complete-tag):
15386 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15387 Use completion-in-region.
15389 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15390 (dabbrev-completion): Use completion-in-region.
15391 (dabbrev--abbrev-at-point): Simplify regexp.
15393 * abbrev.el (abbrev--before-point): Use word-motion functions
15394 if :regexp is not specified (bug#5031).
15396 * subr.el (string-prefix-p): New function.
15398 * man.el (Man-completion-cache): New var.
15399 (Man-completion-table): Use it.
15401 * vc.el (vc-print-log-internal): Make `limit' optional for better
15402 compatibility (e.g. with vc-annotate.el).
15404 2009-11-24 Kevin Ryde <user42@zip.com.au>
15406 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15407 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15409 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15410 when .el source file not found or other error.
15412 2009-11-24 Markus Triska <markus.triska@gmx.at>
15414 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15416 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15418 Handle the [back] button properly (bug#4979).
15419 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15420 Use help-setup-xref, help-buffer, and with-help-window.
15421 (describe-char): Add `buffer' argument.
15422 Pass proper command to help-setup-xref. Don't meddle with
15423 help-xref-stack-item directly.
15424 (describe-text-category): Use with-help-window and help-buffer.
15426 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15427 for the displayed buffer (bug#4887).
15429 * man.el (Man-completion-table): New function.
15432 2009-11-24 David Reitter <david.reitter@gmail.com>
15434 * vc-git.el (vc-git-registered): Use checkout directory (where
15435 .git is) rather than the file's directory and a relative path spec
15436 to work around a bug in git.
15438 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15440 Improve handling of processes on remote hosts.
15442 * eshell/esh-util.el (eshell-path-env): New defvar.
15443 (eshell-parse-colon-path): New defun.
15444 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15446 * eshell/esh-ext.el (eshell-search-path):
15447 Use `eshell-parse-colon-path'.
15448 (eshell-remote-command): Remove argument HANDLER.
15449 (eshell-external-command): Check for FTP remote connection.
15451 * eshell/esh-proc.el (eshell-gather-process-output):
15452 Use `file-truename', in order to start also symlinked files.
15453 Apply `start-file-process' instead of `start-process'.
15454 Shorten `command' to the local file name part.
15456 * eshell/em-cmpl.el (eshell-complete-commands-list):
15457 Use `eshell-parse-colon-path'.
15459 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15461 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15462 to `eshell-directory-change-hook'.
15464 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15466 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15467 because it could be enabled automatically if view-read-only is non-nil.
15469 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15471 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15472 made on 2009-11-22.
15474 2009-11-24 Glenn Morris <rgm@gnu.org>
15476 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15477 deleted variable bookmark-bmenu-bookmark-column.
15479 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15481 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15483 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15485 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15486 two slashes to the "file:" prefix.
15487 (browse-url-file-url): De-munge Cygwin filenames before passing
15488 them to Windows browser.
15489 (browse-url-default-windows-browser): Use call-process.
15491 2009-11-23 Juri Linkov <juri@jurta.org>
15493 Implement DocView Continuous mode. (Bug#4896)
15494 * doc-view.el (doc-view-continuous-mode): New defcustom.
15495 (doc-view-mode-map): Bind C-n/<down> to
15496 `doc-view-next-line-or-next-page', C-p/<up> to
15497 `doc-view-previous-line-or-previous-page'.
15498 (doc-view-next-line-or-next-page)
15499 (doc-view-previous-line-or-previous-page): New commands.
15501 2009-11-23 Juri Linkov <juri@jurta.org>
15503 Implement Isearch in comint input history. (Bug#3746)
15504 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15505 `isearch-mode-hook'.
15506 (comint-history-isearch): New defcustom.
15507 (comint-history-isearch-backward)
15508 (comint-history-isearch-backward-regexp): New commands.
15509 (comint-history-isearch-message-overlay): New buffer-local variable.
15510 (comint-history-isearch-setup, comint-history-isearch-end)
15511 (comint-goto-input, comint-history-isearch-search)
15512 (comint-history-isearch-message, comint-history-isearch-wrap)
15513 (comint-history-isearch-push-state)
15514 (comint-history-isearch-pop-state): New functions.
15516 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15518 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15520 (tramp-handle-make-symbolic-link)
15521 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15523 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15524 (tramp-handle-process-file): Use it.
15526 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15528 * window.el (move-to-window-line-last-op): Remove.
15529 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15531 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15533 Make M-r mirror the new cycling behavior of C-l.
15534 * window.el (move-to-window-line-last-op): New var.
15535 (move-to-window-line-top-bottom): New command.
15536 (global-map): Bind M-r move-to-window-line-top-bottom.
15538 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15540 * dired-x.el (dired-guess-shell-alist-default):
15541 Support xz format. (Bug#4953)
15543 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15545 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15546 last-command-char/last-command-event.
15547 (viper-prefix-arg-value): Do correct conversion of event-char for
15550 * emulation/viper-util.el, emulation/viper.el:
15551 Use viper-last-command-char instead of
15552 last-command-char/last-command-event.
15554 * ediff-init.el, ediff-mult.el, ediff-util.el:
15555 Replace last-command-char and last-command-event
15556 with (ediff-last-command-char) everywhere.
15558 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15559 created in fundamental mode.
15561 * ediff.el (ediff-version): Revert the change of interactive-p to
15562 called-interactively-p.
15564 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15566 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15567 generation from word-movement command names.
15569 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15571 * cus-start.el (all): Add native condition for font-use-system-font.
15573 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15575 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15576 Correct the patch from 2009-11-18. (Bug#3910)
15578 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15580 * progmodes/subword.el: Rename from lisp/subword.el.
15582 * subword.el: Rename to progmodes/subword.el.
15584 * Makefile.in (ELCFILES): Adapt to subword.el move.
15586 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15587 Stefan Monnier <monnier@iro.umontreal.ca>
15589 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15590 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15591 (bookmark-bmenu-show-filenames): Use push.
15592 (bookmark-bmenu-hide-filenames): Use local var instead of
15593 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15594 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15595 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15596 filenames now that the bookmark names are always available.
15598 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15600 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15601 (bookmark-search-pattern): Move and leave unbound.
15602 (bookmark-bmenu-mode-map): Change binding.
15603 (bookmark-read-search-input): Simplify.
15604 Don't use text-char-description. Don't error on non-char events.
15605 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15606 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15607 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15608 Use a local var for the timer.
15609 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15610 (i.e. bookmark-bmenu-search).
15612 2009-11-21 Glenn Morris <rgm@gnu.org>
15614 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15616 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15618 * net/browse-url.el (browse-url-default-windows-browser):
15619 Use cygstart for cygwin.
15621 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15623 * bookmark.el: Formatting and doc fixes only:
15624 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15625 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15626 Minor grammar and punctuation fixes in doc string.
15627 (bookmark-read-search-input): Adjust to fit within 80 columns.
15629 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15631 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15632 (c-backward-into-nomenclature): Adapt to subword renaming.
15634 * subword.el (subword-forward, subword-backward, subword-mark)
15635 (subword-kill, subword-backward-kill, subword-transpose)
15636 (subword-downcase, subword-upcase, subword-capitalize)
15637 (subword-forward-internal, subword-backward-internal):
15638 Rename from forward-subword, backward-subword, mark-subword,
15639 kill-subword, backward-kill-subword, transpose-subwords,
15640 downcase-subword, upcase-subword, capitalize-subword,
15641 forward-subword-internal, backward-subword-internal.
15643 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15645 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15647 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15649 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15650 (bookmark-bmenu-filter-alist-by-regexp)
15651 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15652 (bookmark-bmenu-search): New command.
15653 (bookmark-bmenu-mode-map): Bind it.
15655 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15657 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15658 backward-subword to quit the byte-compiler.
15660 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15662 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15664 * progmodes/cc-cmds.el (c-update-modeline)
15665 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15666 Refer to subword.el functions instead of cc-subword.el.
15668 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15669 subword.el functions instead of cc-subword.el.
15671 * progmodes/cc-subword.el: Rename to subword.el.
15672 * subword.el: Rename from progmodes/cc-subword.el.
15673 (subword-mode-map): Rename from c-subword-mode-map.
15674 (subword-mode): Rename from c-subword-mode.
15675 (global-subword-mode): New global minor mode.
15676 (forward-subword): Rename from c-forward-subword.
15677 (backward-subword): Rename from c-backward-subword.
15678 (mark-subword): Rename from c-mark-subword.
15679 (kill-subword): Rename from c-kill-subword.
15680 (backward-kill-subword): Rename from c-backward-kill-subword.
15681 (transpose-subwords): Rename from c-tranpose-subword.
15682 (downcase-subword): Rename from c-downcase-subword.
15683 (capitalize-subword): Rename from c-capitalize-subword.
15684 (forward-subword-internal): Rename from c-forward-subword-internal.
15685 (backward-subword-internal): Rename from c-backward-subword-internal.
15687 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15689 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15690 from a dired buffer.
15691 (vc-dired-deduce-fileset): New function.
15692 (vc-root-diff, vc-print-root-log): Use it.
15694 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15695 nil LIMIT argument to vc-print-log-internal.
15697 2009-11-20 Glenn Morris <rgm@gnu.org>
15699 * Makefile.in (ELCFILES): Regenerate.
15701 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15703 * calc/calc.el (calc-set-mode-line):
15704 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15705 (math-format-number): Rename `math-format-complement-signed' to
15706 `math-format-twos-complement'.
15708 * calc/calc-bin.el (math-format-twos-complement): Rename from
15709 math-format-complement-signed.
15710 (calc-radix): Rename `calc-complement-signed-mode' to
15711 `calc-twos-complement-mode'.
15712 (calc-octal-radix, calc-hex-radix): Add an argument for
15715 * calc/calc-embed.el (calc-embedded-mode-vars):
15716 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15718 * calc/calc-ext.el (calc-init-extensions):
15719 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15720 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15722 * calc/calc-units.el (math-build-units-table-buffer):
15723 Let `calc-twos-complement-mode' be nil.
15725 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15728 * calc/calc-vec.el (calcFunc-vunpack):
15729 * calc/calc-aent.el (calc-do-calc-eval):
15730 * calc/calc-forms.el (math-format-date):
15731 * calc/calc-graph.el (calc-graph-plot):
15732 * calc/calc-math.el (math-use-emacs-fn):
15733 * calc/calccomp.el (math-compose-expr):
15734 Let `calc-twos-complement-mode' be nil.
15736 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15738 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15739 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15740 * minibuffer.el (completion-in-region-functions): New hook.
15741 (completion-in-region): New function.
15742 * emacs-lisp/lisp.el (lisp-complete-symbol):
15743 * pcomplete.el (pcomplete-std-complete): Use it.
15745 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15747 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15748 (latex-complete-alist): New vars.
15749 (latex-string-prefix-p, latex-complete-bibtex-keys)
15750 (latex-complete-envnames, latex-complete-refkeys)
15751 (latex-complete-data): New functions.
15752 (latex-complete, latex-indent-or-complete): New commands.
15754 * window.el (display-buffer-mark-dedicated): New var.
15755 (display-buffer): Obey it.
15756 * minibuffer.el (minibuffer-completion-help): Use it.
15758 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15760 * filecache.el (file-cache-add-file): Use push and cons.
15761 (file-cache-delete-file-regexp): Use push.
15762 (file-cache-complete): Use completion-in-region.
15764 * simple.el (with-wrapper-hook): Fix thinko.
15766 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15767 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15768 Use with-current-buffer and string-to-number.
15769 (hfy-fallback-colour-values): Use assoc-string.
15770 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15771 (hfy-face-at): Remove unused var `found-face'.
15772 (hfy-compile-stylesheet): Remove unused var `css'.
15773 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15775 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15776 Use with-current-buffer.
15777 (hfy-text-p): Use expand-file-name and fewer setq.
15779 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15781 * htmlfontify.el, hfy-cmap.el: New files.
15783 2009-11-19 Juri Linkov <juri@jurta.org>
15785 * minibuffer.el (completions-format): New defcustom.
15786 (completion--insert-strings): Implement vertical format.
15788 * simple.el (switch-to-completions): Move point to the first
15789 completion when point was at the beginning of the buffer.
15791 2009-11-19 Juri Linkov <juri@jurta.org>
15793 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15795 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15797 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15799 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15800 (mail-signature): Change default to t.
15801 (mail-from-style): Deprecate `system-default' value.
15802 (mail-insert-from-field): For default value of mail-from-style,
15803 default to `angles' unless `angles' needs quoting and `parens'
15805 (mail-citation-prefix-regexp): Use citation regexp from
15808 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15810 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15811 Set variables for computing the prompt for reading password.
15813 2009-11-19 Glenn Morris <rgm@gnu.org>
15815 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15817 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15819 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15820 (newsticker-treeview-listwindow-height): Fix custom type.
15822 2009-11-19 Kenichi Handa <handa@m17n.org>
15824 * descr-text.el (describe-char-padded-string): Compose with TAB
15825 only if there's a font for CH.
15826 (describe-char): Fix the condition for detecting a trivial composition.
15828 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15830 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15831 more accurate version of the regexp. (Bug#3910)
15833 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15835 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15837 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15839 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15840 (font-setting-change-default-font): Fix typo in docstring.
15842 2009-11-18 Alan Mackenzie <acm@muc.de>
15844 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15846 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15848 * font-setting.el (font-use-system-font): Move ...
15850 * cus-start.el (all): ... to here.
15852 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15854 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15855 Don't set `ad-return-value' if `ad-do-it' doesn't.
15857 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15860 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15862 * menu-bar.el: Put "Use system font" in Option-menu.
15863 (menu-bar-options-save): Add font-use-system-font.
15865 * loadup.el: If feature system-font-setting or font-render-setting is
15866 there, load font-setting.
15868 * Makefile.in (ELCFILES): Add font-settings.el.
15869 * font-setting.el: New file.
15871 2009-11-17 Glenn Morris <rgm@gnu.org>
15873 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15875 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15876 Preserve point in the list buffer. (Bug#4939)
15878 (newsticker--treeview-list-update-highlight)
15879 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15881 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15883 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15886 * calc/calc-ext.el (calc-init-extensions): Remove references to
15889 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15891 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15892 * calc/calc-help.el (calc-b-prefix-help): Remove references to
15895 2009-11-16 Kevin Ryde <user42@zip.com.au>
15897 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15898 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15900 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15901 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15902 Ignore trailing spaces by omit-nulls to split-string (fixing
15903 regression from Emacs 21 due to the incompatible split-string
15904 change). (Bug #4928.)
15906 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15908 * vc.el (vc-log-show-limit): Default to 2000.
15909 (vc-print-log-internal): Insert buttons to request more entries
15910 when limiting the output.
15912 * vc-sccs.el (vc-sccs-print-log):
15913 * vc-rcs.el (vc-rcs-print-log):
15914 * vc-cvs.el (vc-cvs-print-log):
15915 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15918 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15920 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15921 error when `tramp-gvfs-dbus-event-vector' is set.
15922 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15924 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15926 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15928 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15930 * net/dbus.el (dbus-unregister-service): New defun.
15931 (dbus-register-property): Register the handlers of
15932 "org.freedesktop.DBus.Properties" for SERVICE.
15933 (dbus-property-handler): Fix docstring.
15935 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15937 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15938 Quote doc string reference in defvaralias as it is not in special form.
15939 (byte-compile-output-docform): Doc fix.
15941 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15943 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15944 (calc-complement-signed-mode): New variables.
15945 (calc-set-mode-line): Add indicator for twos-complements.
15946 (math-format-number): Format twos-complement notation.
15948 * calc/calc-bin.el (calc-word-size): Reset the variables
15949 `math-2-word-size' and `math-half-2-word-size'.
15950 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15951 (calc-symclip): New functions.
15953 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15955 * calc/calc-embed.el (calc-embedded-mode-vars):
15956 Add `calc-complement-signed-mode' to the list of modes.
15958 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15959 (calc-b-oper-keys): Add `calc-symclip' to list.
15961 * calc/calc-ext.el (math-read-number-fancy): Read complement
15963 (calc-init-extensions): Add binding for `calc-symclip'.
15964 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15966 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15968 (calc-modes-menu): Add item for twos complement mode.
15970 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15972 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15974 * register.el (jump-to-register, insert-register): Handle Semantic
15975 tags. From commented-out advice in semantic/senator.el.
15977 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15979 * vc.el (vc-log-show-limit): New variable.
15980 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15981 when using a prefix argument.
15982 (vc-print-log-internal): Add new argument LIMIT.
15984 * vc-svn.el (vc-svn-print-log):
15985 * vc-mtn.el (vc-mtn-print-log):
15986 * vc-hg.el (vc-hg-print-log):
15987 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15988 pass it to the log command when set. Make the BUFFER argument
15991 * vc-sccs.el (vc-sccs-print-log):
15992 * vc-rcs.el (vc-rcs-print-log):
15993 * vc-git.el (vc-git-print-log):
15994 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15995 ignore it. Make the BUFFER argument non-optional.
15997 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15999 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16001 * dired.el (dired-mode-map): Move encryption items to "Operate"
16004 * strokes.el (strokes-update-window-configuration): Make strokes
16005 buffer current before erasing (Bug#4906).
16007 2009-11-15 Juri Linkov <juri@jurta.org>
16009 * simple.el (set-mark-default-inactive): Add :type, :group
16010 and :version. (Bug#4876)
16012 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16014 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16015 (archive-unique-fname): ... here. (Bug#4929)
16017 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16019 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16022 * novice.el (disabled-command-function): Add useful args.
16023 Setup the help buffer so that [back] works.
16024 Remove redundant call to help-mode.
16025 (disabled-command-function): Use `case'.
16026 (en/disable-command): New function extracted from enable-command.
16027 (enable-command, disable-command): Use it.
16029 2009-11-14 Glenn Morris <rgm@gnu.org>
16031 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16032 constants. (Bug#4913)
16034 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16036 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16038 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16039 defined in C that have no doc-strings. (Bug#1063)
16041 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16043 * cus-edit.el (data, files):
16044 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16046 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16048 * simple.el (shell-command): Doc fix (Bug#4891).
16050 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16052 2009-11-14 Glenn Morris <rgm@gnu.org>
16054 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16055 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16056 If they are already loaded, eval-after-load will do the right thing.
16058 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16061 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16063 * simple.el (x-selection-owner-p): Declare.
16064 (read-mail-command): Use custom radio type rather than choice.
16065 (completion-no-auto-exit): Doc fix.
16067 * custom.el (defgroup):
16068 * epg-config.el (epg): Doc fixes.
16070 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16072 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16073 * international/ccl.el (define-ccl-program): Do not purecopy the
16074 docstring, defconst does it anyway.
16076 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16081 * x-dnd.el (x-dnd-maybe-call-test-function):
16082 * window.el (split-window-vertically):
16083 * whitespace.el (whitespace-help-on):
16084 * vc-rcs.el (vc-rcs-consult-headers):
16085 * userlock.el (ask-user-about-lock-help)
16086 (ask-user-about-supersession-help):
16087 * type-break.el (type-break-force-mode-line-update):
16088 * time-stamp.el (time-stamp-conv-warn):
16089 * terminal.el (te-set-output-log, te-more-break, te-filter)
16090 (te-sentinel, terminal-emulator):
16091 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16092 (term-write-input-ring, term-check-source, term-start-output-log):
16093 (term-display-buffer-line, term-dynamic-list-completions):
16094 (term-ansi-make-term, serial-term):
16095 * subr.el (selective-display):
16096 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16097 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16098 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16099 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16100 (speedbar-remove-localized-speedbar-support)
16101 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16102 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16103 (speedbar-buffers-line-directory):
16104 * simple.el (shell-command-on-region, append-to-buffer)
16105 (prepend-to-buffer):
16106 * shadowfile.el (shadow-save-todo-file):
16107 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16108 (scroll-bar-maybe-set-window-start):
16109 * sb-image.el (speedbar-image-dump):
16110 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16111 (load-save-place-alist-from-file):
16112 * ps-samp.el (ps-print-message-from-summary):
16113 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16114 (ps-background-image, ps-begin-job, ps-do-despool):
16115 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16116 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16117 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16118 (pr-call-process, pr-file-list, pr-interface-save):
16119 * novice.el (disabled-command-function)
16120 (enable-command, disable-command):
16121 * mouse.el (mouse-buffer-menu-alist):
16122 * mouse-copy.el (mouse-kill-preserving-secondary):
16123 * macros.el (kbd-macro-query):
16124 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16125 * informat.el (batch-info-validate):
16126 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16127 * hippie-exp.el (try-expand-dabbrev-visible):
16128 * help-mode.el (help-make-xrefs):
16129 * help-fns.el (describe-variable):
16130 * generic-x.el (bat-generic-mode-run-as-comint):
16131 * finder.el (finder-mouse-select):
16132 * find-dired.el (find-dired-sentinel):
16133 * filesets.el (filesets-file-close):
16134 * files.el (list-directory):
16135 * faces.el (list-faces-display, describe-face):
16136 * facemenu.el (list-colors-display):
16137 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16138 * epg.el (epg--process-filter, epg-cancel):
16139 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16140 (epa--read-signature-type):
16141 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16142 (emerge-file-names):
16143 * ehelp.el (electric-helpify):
16144 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16145 * ediff-vers.el (rcs-ediff-view-revision):
16146 * ediff-util.el (ediff-setup):
16147 * ediff-mult.el (ediff-append-custom-diff):
16148 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16150 * echistory.el (Electric-command-history-redo-expression):
16151 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16152 * disp-table.el (describe-display-table):
16153 * dired.el (dired-find-buffer-nocreate):
16154 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16155 * dabbrev.el (dabbrev--same-major-mode-p):
16156 * chistory.el (list-command-history):
16157 * apropos.el (apropos-documentation):
16158 * allout.el (allout-obtain-passphrase):
16159 (allout-copy-exposed-to-buffer):
16160 (allout-verify-passphrase): Use with-current-buffer.
16162 2009-11-13 Glenn Morris <rgm@gnu.org>
16164 * Makefile.in (ELCFILES): Regenerate.
16166 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16168 * net/dbus.el (dbus-registered-objects-table): Rename from
16169 `dbus-registered-functions-table', because it contains also properties.
16170 (dbus-unregister-object): Unregister also properties.
16171 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16172 Use a timeout of 500 msec, in order to not block.
16173 (dbus-register-property, dbus-property-handler): New defuns.
16175 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16177 * simple.el (minibuffer-default-add-completions): Drop deprecated
16180 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16182 * textmodes/artist.el (artist-mouse-choose-operation):
16183 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16184 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16185 (artist-compute-up-event-key): New function.
16186 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16188 2009-11-13 Kenichi Handa <handa@m17n.org>
16190 * language/japan-util.el: Make sure that the value of jisx0208
16191 property is jisx0208 character.
16193 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16195 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16196 car or each item, not the whole list.
16198 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16200 * minibuffer.el (minibuffer-completion-help):
16201 Use minibuffer-hide-completions.
16203 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16205 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16206 (dired-revert): Use them (bug#4880).
16208 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16210 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16212 2009-11-12 Juri Linkov <juri@jurta.org>
16214 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16216 (find-file-literally-at-point): Alias of `ffap-literally'.
16218 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16220 * textmodes/ispell.el (ispell-skip-region-alist):
16221 * textmodes/css-mode.el (auto-mode-alist):
16222 * progmodes/compile.el (auto-mode-alist):
16223 * international/mule.el (ctext-non-standard-encodings-alist)
16224 (ctext-non-standard-encodings-regexp):
16225 * simple.el (shell-command-switch, text-read-only):
16226 * replace.el (occur-mode-map):
16227 * paths.el (rmail-file-name):
16228 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16229 * find-file.el (ff-special-constructs):
16230 * files.el (file-name-handler-alist):
16231 * composite.el: Purecopy strings.
16233 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16235 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16237 * widget.el (define-widget): Purecopy the docstring.
16238 * international/mule-cmds.el (charset): Do not purecopy the
16239 docstring here, define-widget does it.
16241 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16242 * textmodes/bibtex-style.el (auto-mode-alist):
16243 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16244 * progmodes/compile.el (compile-command):
16245 * language/korea-util.el (default-korean-keyboard):
16246 * international/mule-conf.el (file-coding-system-alist):
16247 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16248 * tooltip.el (tooltip-frame-parameters):
16249 * newcomment.el (comment-end, comment-padding):
16250 * dired.el (dired-trivial-filenames):
16251 * comint.el (comint-file-name-prefix): Purecopy initial values.
16253 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16255 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16256 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16258 (tramp-advice-make-auto-save-file-name)
16259 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16260 after removing the advice.
16262 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16264 * progmodes/grep.el (grep-regexp-alist):
16265 * international/mule-cmds.el (iso-2022-control-alist):
16266 * emacs-lisp/timer.el (timer-duration-words):
16267 * subr.el (version-separator, version-regexp-alist):
16268 * minibuffer.el (completion-styles-alist):
16269 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16270 Change defvars to defconsts.
16272 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16273 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16274 * international/mule-conf.el: Allow to be byte compiled.
16276 * international/mule.el (define-charset): Purecopy props.
16277 (load-with-code-conversion): Purecopy doc string and file name.
16278 (put-charset-property): Purecopy strings.
16279 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16281 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16282 (define-char-code-property): Correctly purecopy the table.
16284 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16286 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16288 * subr.el (add-hook): Purecopy strings.
16289 (eval-after-load): Purecopy load-history-regexp and the form.
16291 * custom.el (custom-declare-group): Purecopy load-file-name.
16293 * subr.el (menu-bar-separator): New defconst.
16294 * net/eudc.el (eudc-tools-menu):
16295 * international/mule-cmds.el (set-coding-system-map)
16296 (mule-menu-keymap):
16297 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16298 * vc-hooks.el (vc-menu-map):
16299 * replace.el (occur-mode-map):
16300 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16301 (menu-bar-edit-menu, menu-bar-goto-menu)
16302 (menu-bar-custom-menu, menu-bar-showhide-menu)
16303 (menu-bar-options-menu, menu-bar-tools-menu)
16304 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16305 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16306 (menu-bar-help-menu):
16307 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16308 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16310 * term/x-win.el (x-gtk-stock-map):
16311 * progmodes/vera-mode.el (auto-mode-alist):
16312 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16313 (inferior-lisp-program, inferior-lisp-load-command):
16314 * progmodes/hideshow.el (hs-special-modes-alist):
16315 * progmodes/gud.el (same-window-regexps):
16316 * progmodes/grep.el (grep-program, find-program, xargs-program):
16317 * net/telnet.el (same-window-regexps):
16318 * net/rlogin.el (same-window-regexps):
16319 * language/ethiopic.el (font-ccl-encoder-alist):
16320 * vc-sccs.el (vc-sccs-master-templates):
16321 * vc-rcs.el (vc-rcs-master-templates):
16322 * subr.el (cl-assertion-failed):
16323 * simple.el (next-error-overlay-arrow-position):
16324 * lpr.el (lpr-command):
16325 * locate.el (locate-ls-subdir-switches):
16326 * info.el (same-window-regexps, info)
16327 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16328 * image-mode.el (image-mode, auto-mode-alist):
16329 * hippie-exp.el (hippie-expand-ignore-buffers):
16330 * format.el (format-alist):
16331 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16333 * facemenu.el (facemenu-keybindings):
16334 * dired.el (dired-listing-switches, dired-chown-program):
16335 * diff.el (diff-switches, diff-command):
16336 * cus-edit.el (same-window-regexps):
16337 * bindings.el (mode-line-mule-info)
16338 (mode-line-buffer-identification): Purecopy strings.
16340 2009-11-11 Juri Linkov <juri@jurta.org>
16342 * simple.el (dired-get-filename) <declare-function>:
16343 Tell the byte-compiler about dired-get-filename.
16344 (shell-command): In Dired mode, get filename from the current line
16345 as the default value.
16347 2009-11-10 Glenn Morris <rgm@gnu.org>
16349 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16350 * calendar/holidays.el, progmodes/cperl-mode.el:
16351 Update x-popup-menu declarations.
16353 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16354 (list-load-path-shadows): Use dolist.
16355 (list-load-path-shadows): Use with-current-buffer.
16357 2009-11-10 Juri Linkov <juri@jurta.org>
16359 * minibuffer.el (read-file-name): Support a list of default values
16360 in `default-filename'. Use the first file name where only one
16361 element is required. Doc fix.
16363 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16365 * net/dbus.el (dbus-unregister-object): Release service, if no
16366 other method is registered for it.
16368 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16370 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16371 bookmark-sort-flag is non-nil (Bug#4653).
16373 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16375 * emulation/cua-base.el: Add CUA property to some CC mode commands
16378 2009-11-08 Kevin Ryde <user42@zip.com.au>
16380 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16381 at end of sentence (Bug#4818).
16383 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16385 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16386 Handle "see declaration of" MSFT statements (Bug#4100).
16388 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16390 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16391 (tramp-advice-file-expand-wildcards): Unload via
16392 `ad-remove-advice'.
16394 * net/trampver.el: Update release number.
16396 2009-11-08 Kevin Ryde <user42@zip.com.au>
16398 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16401 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16403 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16404 in order to keep context in SELinux.
16406 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16408 * dired-aux.el (dired-query): Place cursor in echo area and allow
16411 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16412 menu item if not on a directory (Bug#4701).
16414 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16416 Sync with Tramp 2.1.17.
16418 * net/tramp.el (tramp-handle-copy-directory): Don't use
16419 `file-remote-p' (due to compatibility).
16421 * net/tramp-compat.el (tramp-compat-copy-directory)
16422 (tramp-compat-delete-directory): New defuns.
16424 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16425 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16426 Use `tramp-compat-delete-directory'.
16428 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16429 (tramp-smb-handle-delete-directory):
16430 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16432 * net/trampver.el: Update release number.
16434 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16436 * tar-mode.el (tar-copy): Call write-region on the right buffer
16439 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16440 by hand, if necessary (Bug#4878).
16442 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16444 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16445 align size column (Bug#4839).
16447 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16450 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16452 * progmodes/ld-script.el (auto-mode-alist):
16453 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16455 * cus-face.el (custom-declare-face): Purecopy face spec.
16457 2009-11-06 Kenichi Handa <handa@m17n.org>
16459 * international/uni-bidi.el: Re-generated.
16460 * international/uni-category.el: Re-generated.
16461 * international/uni-combining.el: Re-generated.
16462 * international/uni-mirrored.el: Re-generated.
16464 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16466 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16467 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16468 (tex-start-options, slitex-run-command, latex-run-command)
16469 (tex-run-command, tex-directory):
16470 * textmodes/ispell.el (ispell-html-skip-alists)
16471 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16472 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16473 (adaptive-fill-regexp):
16474 * textmodes/dns-mode.el (auto-mode-alist):
16475 * progmodes/python.el (interpreter-mode-alist):
16476 * progmodes/etags.el (tags-compression-info-list):
16477 * progmodes/etags.el (tags-file-name):
16478 * net/browse-url.el (browse-url-galeon-program)
16479 (browse-url-firefox-program):
16480 * mail/sendmail.el (mail-signature-file)
16481 (mail-citation-prefix-regexp):
16482 * international/mule-conf.el (eight-bit):
16483 * international/latexenc.el (latex-inputenc-coding-alist):
16484 * international/fontset.el (x-pixel-size-width-font-regexp):
16485 * emacs-lisp/warnings.el (warning-type-format):
16486 * emacs-lisp/trace.el (trace-buffer):
16487 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16488 (emacs-lisp-mode-map):
16489 * calendar/holidays.el (holiday-solar-holidays)
16490 (holiday-bahai-holidays, holiday-islamic-holidays)
16491 (holiday-christian-holidays, holiday-hebrew-holidays)
16492 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16493 (hebrew-holidays-1, holiday-oriental-holidays)
16494 (holiday-general-holidays):
16495 * x-dnd.el (x-dnd-known-types):
16496 * tool-bar.el (tool-bar):
16497 * startup.el (site-run-file):
16498 * shell.el (shell-dumb-shell-regexp):
16499 * rfn-eshadow.el (file-name-shadow-tty-properties)
16500 (file-name-shadow-properties):
16501 * paths.el (remote-shell-program, news-directory):
16502 * mouse.el ([C-down-mouse-3]):
16503 * menu-bar.el (menu-bar-tools-menu):
16504 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16505 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16506 (jka-compr-compression-info-list):
16507 * isearch.el (search-whitespace-regexp):
16508 * image-file.el (image-file-name-extensions):
16509 * find-dired.el (find-ls-option):
16510 * files.el (directory-listing-before-filename-regexp)
16511 (directory-free-space-args, insert-directory-program)
16512 (list-directory-brief-switches, magic-fallback-mode-alist)
16513 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16514 (automount-dir-prefix):
16515 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16516 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16517 (face-font-registry-alternatives, face-font-registry-alternatives)
16518 (face-font-family-alternatives):
16519 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16520 (facemenu-foreground-menu, facemenu-face-menu):
16521 * epa-hook.el (epa-file-name-regexp):
16522 * dnd.el (dnd-protocol-alist):
16523 * textmodes/rst.el (auto-mode-alist):
16524 * button.el (default-button): Purecopy strings.
16526 2009-11-06 Glenn Morris <rgm@gnu.org>
16528 * Makefile.in (ELCFILES): Update.
16530 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16532 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16533 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16535 * nxml/xsd-regexp.el (xsdre-gen-categories):
16536 * nxml/xmltok.el (xmltok-parse-entity):
16537 * nxml/rng-parse.el (rng-parse-validate-file):
16538 * nxml/rng-maint.el (rng-format-manual)
16539 (rng-manual-output-force-new-line):
16540 * nxml/rng-loc.el (rng-save-schema-location-1):
16541 * nxml/rng-cmpct.el (rng-c-parse-file):
16542 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16543 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16545 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16547 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16548 Remove extra save-excursions and make-variable-buffer-local's.
16549 Suggested by Stefan Monnier.
16551 (verilog-getopt-file, verilog-module-inside-filename-p)
16552 (verilog-set-define): Merge GNU 1.35 and repair changes from
16553 switching to using with-current-buffer.
16555 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16556 being treated as a number and confusing AUTORESET.
16557 Reported by Dan Dever.
16559 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16560 Add verilog-auto-ignore-concat to fix backward compatibility with
16561 older verilog-modes. Reported by Dan Katz.
16563 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16564 containing closing anchors "...$".
16566 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16567 Reported by Wade Smith.
16569 (verilog-batch-execute-func): Comment on function usage.
16571 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16573 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16576 (verilog-label-re, verilog-calc-1): Support proper indent of named
16579 (verilog-backward-token, verilog-basic-complete-re)
16580 (verilog-beg-of-statement, verilog-indent-re): Support proper
16581 indent of the assert statement at the beginning of a block of text.
16583 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16584 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16587 2009-11-05 Glenn Morris <rgm@gnu.org>
16589 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16590 Emacs 19. (Bug#1531)
16591 (byte-compile-fix-header): Update for the above change.
16592 Drop test for epoch::version.
16594 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16595 * cus-dep.el (custom-make-dependencies):
16596 * finder.el (finder-compile-keywords):
16597 Use autoload-rubric's feature argument.
16599 * calendar/diary-lib.el (top-level): Make load behave more like require.
16601 * vc-git.el (vc-git-stash-map): Move definition before use.
16603 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16605 * custom.el (custom-declare-group): Purecopy standard-value.
16606 (custom-declare-group): Purecopy custom-prefix.
16608 * international/mule.el (load-with-code-conversion):
16609 Call do-after-load-evaluation unconditionally.
16611 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16613 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16615 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16617 2009-11-04 Glenn Morris <rgm@gnu.org>
16619 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16620 (byte-compile-compatibility): Remove option.
16621 (byte-compile-close-variables, byte-compile-fix-header)
16622 (byte-compile-insert-header, byte-compile-output-docform)
16623 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16624 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16625 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16626 (byte-compile-insert, byte-compile-defun):
16627 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16628 (byte-defop-compiler19): Remove.
16629 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16630 used by anything. Replace all calls with byte-defop-compiler.
16632 2009-11-04 Juri Linkov <juri@jurta.org>
16634 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16635 (menu-bar-options-menu): Don't quote the `prop' arg of
16636 `menu-bar-make-mm-toggle'.
16638 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16640 * calendar/calendar.el (cal-loaddefs):
16641 * calendar/diary-lib.el (diary-loaddefs):
16642 * calendar/holidays.el (hol-loaddefs):
16643 * eshell/esh-module.el (esh-groups): Load rather than require.
16645 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16647 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16649 (todo-top-priorities): Only display-buffer when called interactively.
16650 (todo-item-start): Don't save excursion point.
16651 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16652 (todo-insert-item-here, todo-file-item, todo-remove-item):
16653 Adjust uses of todo-item-start and todo-item-end.
16655 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16656 (autoload-rubric): Don't use any more.
16658 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16659 and only put a prop if it is non-nil.
16661 2009-11-03 Juri Linkov <juri@jurta.org>
16663 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16664 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16666 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16667 and "Menu" to make top-level menu item visually one unit (like
16668 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16669 multi-word menu items). Fix :help string for quit-window.
16671 2009-11-03 Glenn Morris <rgm@gnu.org>
16673 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16674 (byte-compile-file-form-define-abbrev-table)
16675 (byte-compile-file-form-custom-declare-variable)
16676 (byte-compile-variable-ref, byte-compile-defvar):
16677 Whether or not a warning is enabled should only affect whether we issue
16678 the warning, not whether or not we collect the relevant data.
16679 Eg warnings can be turned on and off throughout the course of a file.
16681 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16682 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16684 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16686 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16687 * play/mpuz.el (mpuz-create-buffer):
16688 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16689 (lm-print-y,s,noise, lm-print-w0, lm-init):
16690 * play/gomoku.el (gomoku-prompt-for-move):
16691 * play/fortune.el (fortune-in-buffer):
16692 * play/dissociate.el (dissociated-press):
16693 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16694 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16695 * mail/supercite.el (sc-eref-show):
16696 * mail/smtpmail.el (smtpmail-send-it):
16697 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16698 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16699 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16700 (rmail-summary-goto-msg, rmail-summary-expunge)
16701 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16702 (rmail-summary-add-label, rmail-summary-output-menu)
16703 (rmail-summary-output-body):
16704 * mail/rfc822.el (rfc822-addresses):
16705 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16706 * mail/mailpost.el (post-mail-send-it):
16707 * mail/hashcash.el (hashcash-generate-payment):
16708 * mail/feedmail.el (feedmail-run-the-queue)
16709 (feedmail-queue-send-edit-prompt-help-first)
16710 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16711 (feedmail-deduce-address-list):
16712 * eshell/esh-ext.el (eshell-remote-command):
16713 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16714 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16715 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16716 (viper-save-string-in-file, viper-valid-marker):
16717 * emulation/viper-keym.el (viper-toggle-key):
16718 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16719 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16720 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16721 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16722 (viper-exec-form-in-emacs, viper-brac-function):
16723 * emulation/viper.el (viper-delocalize-var):
16724 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16725 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16726 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16727 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16728 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16729 * emulation/edt.el (edt-electric-helpify):
16730 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16731 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16732 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16733 (cua-indent-to-global-mark-column):
16734 * calendar/diary-lib.el (calendar-mark-1):
16735 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16736 Use with-current-buffer.
16737 * emulation/viper.el (viper-delocalize-var): Use dolist.
16739 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16741 * comint.el (comint-replace-by-expanded-history-before-point):
16742 Replace !! with the previous input string literally (Bug#1795).
16744 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16746 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16747 to be made up of whitespace.
16749 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16751 * minibuffer.el (read-file-name): Don't use file dialogs for
16752 remote directories (Bug#99).
16754 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16756 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16758 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16760 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16761 instead of deleting the window or frame.
16763 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16765 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16766 Support face colors.
16768 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16769 New function. Support face colors (Bug#1168).
16770 (tex-common-initialization): Use it.
16772 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16773 mode allows it (Bug#1168).
16775 2009-10-31 Juri Linkov <juri@jurta.org>
16777 * facemenu.el (list-colors-display): Don't mark buffer as
16778 modified (Bug#3948).
16780 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16782 * international/mule-diag.el (list-character-sets-1):
16783 Minor message fix (Bug#3526).
16785 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16786 Fix face property (Bug#4834).
16787 (etags-list-tags, etags-tags-apropos-additional)
16788 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16791 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16794 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16796 * textmodes/two-column.el (2C-split):
16797 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16798 * textmodes/tex-mode.el (tex-set-buffer-directory):
16799 * textmodes/spell.el (spell-region, spell-string):
16800 * textmodes/reftex.el (reftex-erase-buffer):
16801 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16802 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16803 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16804 (reftex-select-item):
16805 * textmodes/reftex-ref.el (reftex-label-info-update)
16806 (reftex-offer-label-menu):
16807 * textmodes/reftex-index.el (reftex-index-change-entry)
16808 (reftex-index-phrases-info):
16809 * textmodes/reftex-global.el (reftex-create-tags-file)
16810 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16811 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16812 (reftex-view-crossref-from-bibtex):
16813 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16814 (reftex-extract-bib-entries-from-thebibliography)
16815 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16816 * textmodes/refbib.el (r2b-capitalize-title):
16817 (r2b-convert-buffer, r2b-help):
16818 * textmodes/page-ext.el (pages-directory)
16819 (pages-directory-goto-with-mouse):
16820 * textmodes/bibtex.el (bibtex-validate-globally):
16821 * textmodes/bib-mode.el (bib-capitalize-title):
16822 * textmodes/artist.el (artist-clear-buffer, artist-system):
16823 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16824 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16825 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16826 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16827 (xscheme-send-control-g-interrupt, xscheme-start-process)
16828 (xscheme-process-sentinel, xscheme-cd):
16829 * progmodes/verilog-mode.el (verilog-read-always-signals)
16830 (verilog-set-define, verilog-getopt-file)
16831 (verilog-module-inside-filename-p):
16832 * progmodes/sh-script.el:
16833 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16834 (python-pdbtrack-grub-for-buffer, python-execute-file):
16835 * progmodes/octave-inf.el (inferior-octave):
16836 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16837 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16838 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16839 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16840 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16841 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16842 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16843 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16844 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16845 (idlwave-shell-examine-display, idlwave-shell-run-region)
16846 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16847 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16848 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16849 (idlwave-help-get-help-buffer):
16850 * progmodes/gud.el (gud-basic-call, gud-find-class)
16851 (gud-tooltip-activate-mouse-motions-if-enabled):
16852 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16853 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16854 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16855 (ebrowse-tags-next-file):
16856 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16857 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16858 (ebnf-eps-finish-and-write):
16859 * progmodes/cpp.el (cpp-edit-save):
16860 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16861 * progmodes/cc-defs.el (c-emacs-features):
16862 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16863 (antlr-directory-dependencies):
16864 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16865 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16866 (ada-find-any-references, ada-make-filename-from-adaname)
16867 (ada-make-body-gnatstub):
16868 * obsolete/rnews.el (news-list-news-groups):
16869 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16870 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16871 * net/rcirc.el (rcirc-debug):
16872 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16873 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16874 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16875 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16876 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16877 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16878 (newsticker--treeview-list-clear-highlight)
16879 (newsticker--treeview-list-update-highlight)
16880 (newsticker--treeview-list-highlight-start)
16881 (newsticker--treeview-tree-update-highlight)
16882 (newsticker--treeview-get-selected-item)
16883 (newsticker-treeview-mark-list-items-old)
16884 (newsticker--treeview-set-current-node):
16885 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16886 * net/newst-backend.el (newsticker--get-news-by-funcall)
16887 (newsticker--get-news-by-wget, newsticker--image-get)
16888 (newsticker--image-sentinel):
16889 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16890 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16891 (eudc-ph-close-session):
16892 * net/eudc.el (eudc-save-options):
16893 * language/thai-word.el (thai-update-word-table):
16894 * language/japan-util.el (japanese-string-conversion):
16895 * international/titdic-cnv.el (tsang-quick-converter)
16896 (ziranma-converter, ctlau-converter):
16897 * international/mule-cmds.el (describe-language-environment):
16898 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16899 (skkdic-convert-postfix, skkdic-convert-prefix):
16900 (skkdic-convert-okuri-nasi, skkdic-convert):
16901 * emacs-lisp/re-builder.el (reb-update-overlays):
16902 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16903 * emacs-lisp/gulp.el (gulp-send-requests):
16904 * emacs-lisp/find-gc.el (trace-call-tree):
16905 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16906 (eieio-describe-generic):
16907 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16908 * emacs-lisp/edebug.el (edebug-outside-excursion):
16909 * emacs-lisp/debug.el (debugger-make-xrefs):
16910 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16911 * emacs-lisp/chart.el (chart-new-buffer):
16912 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16913 Use with-current-buffer.
16914 * textmodes/artist.el (artist-system): Don't call
16915 copy-sequence on a fresh string.
16916 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16918 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16920 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16921 is no item to edit. (Bug#4820)
16922 (todo-top-priorities): Restore point and restore narrowing in Todo
16925 2009-10-31 Glenn Morris <rgm@gnu.org>
16927 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16928 (comint-last-output-start, comint-last-input-start)
16929 (comint-last-input-end): Don't defvar when compiling.
16930 (ange-ftp-process-file): Use bound-and-true-p.
16932 * pcmpl-rpm.el (top-level): Move provide statement to end.
16933 (pcmpl-rpm): Remove unused custom group.
16935 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16937 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16939 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16940 (byte-compile-warnings): Add `constants' as an option.
16941 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16942 (display-call-tree): Update for byte-compile-fdefinition possibly
16943 returning `(macro lambda ...)'. (Bug#4778)
16944 (byte-compile-variable-ref, byte-compile-setq-default):
16945 Respect `constants' member of byte-compile-warnings.
16947 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16949 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16950 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16953 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16955 * textmodes/ispell.el (ispell-skip-region-alist):
16956 * international/mule-conf.el (eight-bit):
16957 * international/fontset.el (font-encoding-alist):
16958 * startup.el (pure-space-overflow-message):
16959 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16960 * paths.el (gnus-nntp-service, rmail-spool-directory)
16961 (term-file-prefix):
16962 * files.el (save-some-buffers-action-alist):
16963 * cmuscheme.el (same-window-buffer-names):
16964 * ielm.el (same-window-buffer-names):
16965 * shell.el (same-window-buffer-names):
16966 * mail/sendmail.el (same-window-buffer-names):
16967 * progmodes/inf-lisp.el (same-window-buffer-names):
16968 * bindings.el (mode-line-client)
16969 (mode-line-column-line-number-mode-map):
16970 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16971 (tibetan-precomposed-regexp): Purecopy string arguments.
16973 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16975 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16976 (calcDigit-nondigit):
16977 * calc/calc-yank.el (calc-copy-to-buffer):
16978 * calc/calc-units.el (calc-invalidate-units-table):
16979 * calc/calc-trail.el (calc-trail-yank):
16980 * calc/calc-store.el (calc-insert-variables):
16981 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16982 * calc/calc-prog.el (calc-read-parse-table):
16983 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16984 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16985 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16986 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16987 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16988 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16989 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16990 * calc/calc-ext.el (calc-realign):
16991 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16992 (calc-embedded-finish-edit, calc-embedded-make-info)
16993 (calc-embedded-finish-command, calc-embedded-stack-change):
16994 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16996 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16997 shell-dynamic-complete-filename in preference to
16998 comint-dynamic-complete-filename.
17000 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17001 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17002 Don't consider whether the display supports colors.
17003 (bookmark-import-new-list): Use dolist.
17004 (bookmark-bmenu-mode-map): Move initialization into declaration.
17005 (bookmark-bmenu-list): Use dolist, simplify.
17006 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17007 (menu-bar-final-items): Use push.
17009 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17011 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17012 it works on remote files.
17013 (vc-hg-diff): Don't pass any `--cwd' argument.
17015 2009-10-27 Kevin Ryde <user42@zip.com.au>
17017 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17018 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17019 (Further to Bug#3921).
17021 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17023 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17024 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17025 calling `tramp-imap-put-file'. Add file size to the call.
17026 (tramp-imap-get-file-entries): Compute also user name, file size,
17028 (tramp-imap-handle-insert-directory): Insert uid and gid.
17029 (tramp-imap-handle-file-attributes): Transform uid and gid
17030 according to `id-format'.
17031 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17032 size in header X-Size.
17034 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17036 * simple.el (transpose-subr): Give clearer error when the mark
17037 is not set. (Bug#4807)
17039 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17041 * net/tramp.el (tramp-perl-file-truename): New defconst.
17042 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17043 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17044 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17045 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17047 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17048 Ignore `dired-call-process'.
17049 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17051 2009-10-26 Julian Scheid <julians37@gmail.com>
17053 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17054 (tramp-get-remote-readlink): New defun.
17055 (tramp-handle-file-truename): Use it.
17056 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17057 file exists if cache value present.
17058 (tramp-check-cached-permissions): New defun.
17059 (tramp-handle-file-readable-p): Use it.
17060 (tramp-handle-file-writable-p): Likewise.
17061 (tramp-handle-file-executable-p): Likewise.
17062 (tramp-handle-file-name-all-completions): Try using Perl to get
17063 partial completions. When perl not available, combine `cd' and
17064 `ls' into single remote operation and use shell expansion to get
17065 partial remote directory contents. Set `file-exists-p' cache for
17066 directory and any files returned by ls. Change cache handling to
17067 support partial directory contents. Use error message emitted by
17068 remote `cd' or Perl code for local tramp-error.
17069 (tramp-do-copy-or-rename-file-directly): Avoid separate
17070 tramp-send-command-and-check call.
17071 (tramp-handle-process-file): Merge three remote ops into one.
17072 Do not flush all caches when `process-file-side-effects' is set.
17073 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17074 file-attributes shows uid/gid to be set already.
17076 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17078 * textmodes/tex-mode.el (tex-dvi-view-command)
17079 (tex-show-queue-command, tex-open-quote):
17080 * progmodes/ruby-mode.el (auto-mode-alist)
17081 (interpreter-mode-alist): Purecopy strings.
17083 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17085 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17086 string for the hook, keymap and abbrev table.
17088 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17090 * x-dnd.el (x-dnd-xdnd-to-action):
17091 * startup.el (fancy-startup-text, fancy-about-text): Change to
17092 defconst from defvar.
17094 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17096 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17097 Purecopy initialization strings.
17099 * mail/sendmail.el (mail-header-separator)
17100 (mail-personal-alias-file):
17101 * mail/rmail.el (rmail-default-dont-reply-to-names)
17102 (rmail-ignored-headers, rmail-retry-ignored-headers)
17103 (rmail-highlighted-headers, rmail-secondary-file-directory)
17104 (rmail-secondary-file-regexp):
17105 * files.el (null-device, file-name-invalid-regexp)
17106 (locate-dominating-stop-dir-regexp)
17107 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17108 (interpreter-mode-alist): Use mapcar instead of mapc.
17110 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17112 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17113 (completion-ignored-extensions):
17114 (debug-ignored-errors): Purecopy strings.
17116 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17118 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17119 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17120 (pcomplete--here): Use push.
17122 * subr.el (all-completions): Declare the 4th arg obsolete.
17124 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17126 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17127 (pcomplete-unquote-argument): New function.
17128 (pcomplete--common-suffix): Always pay attention to case.
17129 (pcomplete--table-subvert): Quote and unquote the text.
17130 (pcomplete--common-quoted-suffix): New function.
17131 (pcomplete-std-complete): Use it and pcomplete-begin.
17133 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17134 we're inside a dedicated or minibuffer window.
17136 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17138 * bookmark.el: Update documentation, especially documentation
17139 of `bookmark-alist' and of the bookmark file format.
17140 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17142 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17144 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17145 keybindings apply to the mail buffer (Bug#4003). Shrink help
17148 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17149 (global-whitespace-mode, global-whitespace-newline-mode)
17150 (whitespace-toggle-options, global-whitespace-toggle-options):
17151 Doc fix (Bug#3660).
17153 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17154 of xmltok-start before the end tag was inserted (Bug#2840).
17156 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17157 patterns that are preceded by an open-paren (Bug#1320).
17159 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17161 * files.el (delete-directory): Delete symlinks to directories with
17162 delete-file (Bug#4739).
17164 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17166 * vc.el (vc-backend-for-registration): Rename from
17167 vc-get-backend-for-registration. Update callers.
17169 * international/mule-cmds.el (set-language-info-alist):
17171 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17172 (charset): Purecopy the name.
17173 (define-char-code-property): Purecopy string arguments.
17175 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17176 Purecopy string arguments.
17178 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17179 * ediff-hook.el (menu-bar-ediff-menu):
17180 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17181 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17183 2009-10-24 Glenn Morris <rgm@gnu.org>
17185 * comint.el (comint-dynamic-list-completions):
17186 * term.el (term-dynamic-list-completions): Use choose-completion rather
17187 than obsolete alias mouse-choose-completion.
17189 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17190 file-cache-choose-completion.
17191 (file-cache-choose-completion): Handle an optional event argument.
17192 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17194 * progmodes/octave-mod.el (octave-complete-symbol):
17195 Use choose-completion if mouse-choose-completion is ever removed.
17197 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17200 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17203 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17205 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17207 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17208 Ignore `pred' now that we receive one.
17209 Handle test-completion specially.
17211 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17213 * vc.el (vc-responsible-backend): Throw an error if not backend is
17214 found. Remove the REGISTER argument. Move the code dealing with
17216 (vc-get-backend-for-registration): ... here. New function.
17217 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17218 of vc-responsible-backend, pass the file name instead of the
17221 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17223 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17225 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17226 (pcomplete-comint-setup): Don't modify a global var via
17227 accidental side-effects.
17228 (pcomplete-shell-setup): Adjust call accordingly.
17229 (pcomplete-parse-comint-arguments): Use push.
17231 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17233 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17234 Allow uncapitalized info node names (Bug#3921).
17236 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17237 to the DEBUG file (Bug#3781).
17239 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17241 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17242 dictionary entry (Bug#4579).
17244 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17246 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17247 from `rfn-eshadow-update-overlay-hook' when unloading.
17248 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17249 "rsyncc". Adjust doc string.
17250 (tramp-temp-buffer-file-name): New buffer-local defvar.
17251 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17252 Keep temporary file when indicated by method ("rsync" and
17254 (tramp-handle-write-region): Handle APPEND.
17255 (tramp-delete-temp-file-function): New defun. Added to
17256 `kill-buffer-hook'.
17258 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17260 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17262 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17264 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17265 (color-name-rgb-alist, tty-standard-colors)
17266 (tty-color-mode-alist): Change to defconst.
17268 * simple.el (mark-inactive): Purecopy message.
17270 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17271 (global-map, yank-menu):
17272 * textmodes/ispell.el (ispell-menu-map):
17273 * net/eudc.el (eudc-tools-menu):
17274 * international/mule-cmds.el (describe-language-environment-map)
17275 (setup-language-environment-map, set-coding-system-map)
17276 (mule-menu-keymap):
17277 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17278 * replace.el (occur-mode-map):
17279 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17281 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17283 * calc/calc.el (math-read-number, math-read-number-simple):
17284 Use `save-match-data'.
17286 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17288 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17289 rather than fiddling with global-map bindings, since it should only
17290 affect per-terminal settings.
17291 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17293 * minibuffer.el (completion-table-with-terminator): Allow to specify
17294 the terminator-regexp.
17296 * simple.el (switch-to-completions): Look for *Completions* in other
17299 * pcomplete.el: Allow the use of completion-tables.
17300 (pcomplete-std-complete): New command.
17301 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17302 (pcomplete--here): Use a function for `form' rather than an expression,
17303 so it can be byte-compiled.
17304 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17305 Add edebug declaration.
17306 (pcomplete-show-completions): Remove unused var `curbuf'.
17307 (pcomplete-do-complete, pcomplete-stub):
17308 Don't assume `completions' is a list of strings any more.
17310 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17312 * find-dired.el (find-name-arg): Fix typo in docstring.
17314 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17316 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17317 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17319 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17322 * comint.el (comint-read-input-ring, comint-write-input-ring)
17323 (comint-substitute-in-file-name)
17324 (comint-dynamic-complete-as-filename)
17325 (comint-dynamic-simple-complete)
17326 (comint-dynamic-list-filename-completions)
17327 (comint-dynamic-list-completions)
17328 (comint-redirect-results-list-from-process): Minor simplifications.
17330 2009-10-21 Kevin Ryde <user42@zip.com.au>
17332 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17333 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17334 the first form. And insert a blank line after ";;; Code" since
17335 that's usual style. (Bug#4612)
17337 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17339 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17341 * minibuffer.el (completion-table-with-terminator): Properly implement
17342 boundaries, in case `terminator' appears in the suffix.
17343 (completion--embedded-envvar-table): Don't return boundaries if
17344 there's no valid completion. Simplify.
17345 (completion-file-name-table): New completion table extracted from
17346 completion--file-name-table.
17347 (completion--file-name-table): Use it.
17348 (read-file-name-predicate): Declare obsolete.
17349 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17350 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17351 completion-file-name-table, and use the `pred' argument.
17352 * files.el (locate-file-completion-table): Use the `pred' arg rather
17353 than read-file-name-predicate.
17354 (abbreviate-file-name): Use \` rather than ^ for BOS.
17356 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17358 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17359 vc-responsible-backend to register, it causes problems.
17361 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17363 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17365 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17367 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17368 (tramp-smb-handle-file-attributes): Use it.
17369 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17370 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17371 `mapcar'. Use `tramp-smb-get-stat-capability'.
17372 Add `dired-filename' text properties.
17373 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17374 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17377 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17379 * subr.el (read-key-delay): Reduce to 0.01.
17380 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17383 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17385 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17387 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17388 (Info-menu): Remove unused vars `last' and `completions'.
17389 (Info-index-nodes): Remove unused var `node'.
17391 * info.el (Info-complete-menu-item): Use complete-with-action.
17393 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17395 Make vc-annotate work through copies and renames.
17396 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17397 Return the file name too.
17398 (vc-annotate-revision-at-line)
17399 (vc-annotate-find-revision-at-line)
17400 (vc-annotate-revision-previous-to-line)
17401 (vc-annotate-show-log-revision-at-line): Update to get the file
17402 name from vc-annotate-extract-revision-at-line.
17403 (vc-annotate-show-diff-revision-at-line-internal): Change the
17404 argument to mean whether to show a file diff or not. Get the file
17405 name from vc-annotate-extract-revision-at-line.
17406 (vc-annotate-show-diff-revision-at-line):
17407 Update vc-annotate-show-diff-revision-at-line call.
17408 (vc-annotate-warp-revision): Add an optional file argument.
17410 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17411 (vc-git-annotate-extract-revision-at-line): Also return the file
17414 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17415 command. Remove unused code.
17416 (vc-hg-annotate-re): Update to match --follow output.
17417 (vc-hg-annotate-extract-revision-at-line): Also return the file
17420 * vc.el: Update annotate-extract-revision-at-line documentation.
17422 2009-10-18 Kevin Ryde <user42@zip.com.au>
17424 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17425 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17427 * net/browse-url.el (browse-url): Identify alist with "consp and
17428 not functionp" and let all other things go down the `apply' leg,
17429 as suggested by Stefan. (Further to bug#4531.)
17431 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17433 * minibuffer.el (read-file-name): Check for repeat before putting
17434 a default argument in file-name-history (Bug#4657).
17436 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17437 read syntax (Bug#4737).
17439 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17441 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17443 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17444 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17445 entries and make note of obsolete tags.
17447 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17449 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17451 2009-10-18 Glenn Morris <rgm@gnu.org>
17453 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17454 grep, so that binary files (eg international/uni-bidi.el) can match.
17455 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17456 now, and in any case the file header format has changed.
17458 2009-10-17 Glenn Morris <rgm@gnu.org>
17460 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17461 (flyspell-get-word, flyspell-large-region)
17462 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17464 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17466 * Makefile.in (ELCFILES): Add ede/shell.
17468 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17470 * term/common-win.el (x-colors): Purecopy it.
17472 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17474 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17475 permissive for when the buffer is empty.
17476 (tar-header-block-tokenize): Decode the username and groupname.
17477 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17479 2009-10-17 Eric Ludlam <zappo@gnu.org>
17481 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17482 contains multibyte characters, choose first applicable coding
17483 system automatically.
17485 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17487 * international/mule-cmds.el (select-safe-coding-system): If the file
17488 has a coding cookie, use it regardless of any other setting (bug#4712).
17490 2009-10-17 Glenn Morris <rgm@gnu.org>
17492 * foldout.el (foldout-mouse-swallow-events):
17493 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17495 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17496 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17497 (dired-keep-marker-symlink, dired-dwim-target)
17498 (dired-copy-preserve-time): Do not autoload these defcustoms.
17500 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17501 messages from messing up the file coding. (Bug#4623)
17503 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17505 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17506 if no match is found for the current dictionary. (Bug#4578)
17508 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17509 optional, since that is how it is documented, and this is often called
17510 with a nil argument. (Bug#4577)
17511 (flyspell-external-point-words, flyspell-auto-correct-word)
17512 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17513 (flyspell-word-search-backward): Remove nil argument in calls to
17514 flyspell-get-word, since it is not needed now.
17516 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17518 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17520 2009-10-16 Glenn Morris <rgm@gnu.org>
17522 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17524 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17526 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17527 (ange-ftp-file-size): New function.
17528 (ange-ftp-file-attributes): Use it.
17530 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17532 * net/tramp-smb.el (tramp-smb-version): New defvar.
17533 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17536 2009-10-16 Glenn Morris <rgm@gnu.org>
17538 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17539 Maybe copy some custom properties from old to new name. (Bug#4706)
17541 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17543 * subr.el (error, sit-for, start-process-shell-command)
17544 (start-file-process-shell-command): Set the calling convention
17545 after the function definition.
17547 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17549 * subr.el (error, sit-for, start-process-shell-command)
17550 (start-file-process-shell-command): Use the new
17551 set-advertised-calling-convention feature.
17553 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17555 * international/ucs-normalize.el (ucs-normalize-version):
17557 (check-range): Adjust for Unicode 5.2.
17559 2009-10-15 Juri Linkov <juri@jurta.org>
17561 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17562 to the `menu-item' format.
17564 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17566 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17567 if the environment variable does not exist.
17569 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17570 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17572 (tramp-smb-handle-add-name-to-file)
17573 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17574 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17575 (tramp-smb-handle-file-attributes)
17576 (tramp-smb-do-file-attributes-with-stat)
17577 (tramp-smb-handle-file-local-copy)
17578 (tramp-smb-handle-insert-directory)
17579 (tramp-smb-handle-make-directory)
17580 (tramp-smb-handle-make-directory-internal)
17581 (tramp-smb-handle-make-symbolic-link)
17582 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17583 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17584 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17585 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17586 Handle long file names.
17587 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17588 process is running.
17589 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17590 Read share names with "-g" option.
17592 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17594 * net/rcirc.el (rcirc-view-log-file): New command.
17595 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17596 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17599 2009-10-15 Glenn Morris <rgm@gnu.org>
17601 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17602 from the second command-line argument.
17603 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17604 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17605 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17606 w32-batch-update-autoloads.
17607 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17608 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17610 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17611 the headers cannot be located. Simplify, subtracting superflous
17614 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17616 Replace completion-base-size by completion-base-position to fix bugs
17617 such as (bug#4699).
17618 * simple.el (completion-base-position): New var.
17619 (completion-base-size): Mark as obsolete.
17620 (choose-completion): Make it work for mouse events as well.
17621 Pass the new base-position to choose-completion-string.
17622 (choose-completion-guess-base-position): New function, extracted from
17623 choose-completion-delete-max-match.
17624 (choose-completion-delete-max-match): Use it. Make obsolete.
17625 (choose-completion-string): Use the new base-position info.
17626 (completion-root-regexp): Delete.
17627 (completion-setup-function): Preserve completion-base-position.
17628 Eliminate obsolete base-size manipulation.
17629 * minibuffer.el (display-completion-list): Don't mess with base-size.
17630 (minibuffer-completion-help): Set completion-base-position instead.
17631 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17633 * textmodes/bibtex.el (bibtex-complete):
17634 * emacs-lisp/crm.el (crm--choose-completion-string):
17635 Adjust to new calling convention.
17636 * complete.el (partial-completion-mode): Use minibufferp to avoid
17637 bumping into incompatible change to choose-completion-string-functions.
17638 * ido.el (ido-choose-completion-string): Make its calling convention
17640 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17641 base-size manipulation.
17642 (comint-dynamic-list-input-ring): Use dotimes and push.
17643 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17644 fundamental-mode. Use `or'.
17646 2009-10-14 Juri Linkov <juri@jurta.org>
17648 * misearch.el (multi-isearch-next-buffer-from-list)
17649 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17651 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17653 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17656 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17657 string we return is all made up of text from the completions rather
17658 than part from the completions and part from the input (bug#4219).
17660 * ido.el (ido-everywhere): Use define-minor-mode.
17662 * buff-menu.el (list-buffers, ctl-x-map):
17663 Mark the entry points with ;;;###autoload cookies.
17665 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17667 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17668 correctly in the detached head case.
17669 (vc-git-print-log): Remove unused binding.
17671 * vc.el (vc-responsible-backend): When a directory is passed for
17672 for registration create a VC repository if no backend is
17673 responsible for the directory argument.
17674 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17676 * vc.el: Move comments about RCS and SCCS ...
17678 * vc-sccs.el: ... here, respectively.
17680 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17682 * minibuffer.el (completion--file-name-table): Return nil if there's
17683 no file completion, even if substitute-in-file-name changed
17684 the string (bug#4708).
17686 2009-10-13 Juri Linkov <juri@jurta.org>
17688 * files-x.el (read-file-local-variable-value): Don't filter out
17689 minor modes from mode name completion (bug#4664).
17691 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17693 * international/mule-cmds.el (ucs-names): Remove exclusion of
17694 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17696 2009-10-13 Kenichi Handa <handa@m17n.org>
17698 * international/uni-name.el: Regenerated.
17700 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17702 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17703 should be automatically buffer-local, but isn't.)
17705 2009-10-12 Sam Steingold <sds@gnu.org>
17707 * progmodes/compile.el (compilation-next-error-function): Fix the
17708 timestamps if the buffer has been visited before.
17709 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17710 non-anchored patterns, like the perl one (bug#3928).
17712 2009-10-12 Glenn Morris <rgm@gnu.org>
17714 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17717 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17719 * proced.el (proced-unload-function): New function.
17721 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17722 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17725 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17727 2009-10-11 Juri Linkov <juri@jurta.org>
17729 * files-x.el (read-file-local-variable-value):
17730 Provide default value only for bound variables (bug#4664).
17732 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17734 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17735 connection methods like smb.
17737 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17740 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17741 (tramp-smb-file-name-handler-alist): Add handlers for
17742 `add-name-to-file', `make-symbolic-link'.
17743 (tramp-smb-handle-add-name-to-file)
17744 (tramp-smb-do-file-attributes-with-stat)
17745 (tramp-smb-handle-make-symbolic-link)
17746 (tramp-smb-get-cifs-capabilities): New defuns.
17747 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17748 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17749 (tramp-smb-handle-file-local-copy)
17750 (tramp-smb-handle-make-directory-internal)
17751 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17752 The file name syntax depends on cifs capabilities.
17753 (tramp-smb-handle-file-attributes):
17754 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17755 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17756 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17758 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17760 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17761 (eieio-defclass): Apply deftype handler and setf-method properties
17763 (eieio-add-new-slot): Avoid union function from cl library.
17764 (eieio--typep): New function.
17765 (eieio-perform-slot-validation): Use it.
17767 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17769 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17770 Update documentation to refer to the variables documented in r1.135.
17773 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17775 * bookmark.el (Info-suffix-list): Remove this unused variable.
17776 (bookmark-current-point): Remove this obsolete variable.
17777 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17778 Adjust for removal of bookmark-current-point.
17780 (bookmarks-already-loaded, bookmark-current-buffer)
17781 (bookmark-yank-point): Document. (Bug#4188)
17783 2009-10-10 Glenn Morris <rgm@gnu.org>
17785 * frame.el (frame-height): Doc fix.
17787 * calendar/calendar.el (calendar-split-width-threshold): New option.
17788 (calendar-basic-setup): Use calendar-split-width-threshold.
17790 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17792 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17793 Ideographic Supplement" range (U+1F200..U+1F2FF).
17795 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17797 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17798 since the list will have been rebuilt anyway. (Bug#4349)
17800 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17802 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17803 (bookmark-bmenu-execute-deletions): Don't save here, as
17804 bookmark-delete will now do so if necessary.
17805 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17808 2009-10-09 Glenn Morris <rgm@gnu.org>
17810 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17812 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17814 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17815 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17816 argument now, so the two function's behaviors will match. (Bug#3645)
17818 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17820 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17821 (tramp-file-name-real-host, tramp-file-name-port):
17822 Apply `save-match-data'.
17824 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17825 case both directories are remote.
17826 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17827 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17829 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17831 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17833 2009-10-07 Glenn Morris <rgm@gnu.org>
17835 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17838 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17840 * files-x.el (read-file-local-variable): Include some
17841 non-user-variables in the completion table (bug#4664).
17843 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17845 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17848 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17849 (tramp-smb-file-name-handler-alist): Add handler for
17850 `copy-directory', `expand-file-name', `set-file-modes'.
17851 (tramp-smb-handle-copy-directory)
17852 (tramp-smb-handle-expand-file-name)
17853 (tramp-smb-handle-set-file-modes): New defuns.
17854 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17855 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17857 (tramp-smb-handle-insert-directory): Don't flush the cache.
17858 (tramp-smb-maybe-open-connection): Check for samba client and
17861 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17863 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17864 to not error out of search for "^lisp=" fails.
17866 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17868 * makefile.w32-in (WINS_UPDATES): New macro.
17869 (custom-deps, finder-data, autoloads): Use it.
17871 2009-10-07 Glenn Morris <rgm@gnu.org>
17873 * Makefile.in (autoloads): Revert previous change.
17874 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17875 the list of preloaded files passed on the command-line, get
17876 it from src/Makefile.
17878 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17879 show the original buffer rather than a random one.
17881 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17883 * help.el (describe-no-warranty): Place point in a slightly better
17884 position in the GPLv3 text.
17886 2009-10-06 Sam Steingold <sds@gnu.org>
17888 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17889 the comm attribute is present before calling regexp-quote.
17891 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
17893 * play/animate.el (animate-string): For good effect, make sure
17894 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17896 * play/animate.el (animate-sequence, animate-birthday-present):
17897 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17899 2009-10-06 Glenn Morris <rgm@gnu.org>
17901 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17903 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17904 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17905 (batch-update-autoloads): Process a string value of autoload-excludes,
17906 set during the build process.
17907 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17909 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17910 inside with-parsed... macro so that `v' is defined.
17912 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17913 * progmodes/fortran.el (fortran-end-of-block)
17914 (fortran-beginning-of-block):
17915 Also push mark in the macro case.
17917 * emerge.el (emerge-show-file-name):
17918 * calc/calc.el (calc-quit):
17919 * calc/calc-misc.el (calc-big-or-small):
17920 * calc/calc-graph.el (calc-graph-view):
17921 * calc/calc-ext.el (calc-reset):
17922 * calendar/calendar.el (calendar-basic-setup):
17923 Use window-full-height-p.
17925 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17926 header we don't understand, don't insert another. (Bug#4624)
17927 If changing mime charset, insert the new one in the right place.
17929 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17931 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17932 (cal-tex-cursor-month): Correctly increment the end date for diary and
17933 holiday listing. (Bug#4626)
17935 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17937 * help-fns.el (describe-function-1): Don't burp if the function is not
17940 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17942 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17943 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17944 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17945 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17947 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17948 (eieio-default-superclass): Reflow docstrings.
17949 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17950 (eieio-unbind-method-implementations, defmethod)
17951 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17952 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17953 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17954 (eieio-slot-originating-class-p, eieio-slot-name-index)
17955 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17956 (constructor, initialize-instance, no-next-method, object-print)
17957 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17958 Fix typos in docstrings.
17959 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17960 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17961 (next-method-p): Doc fixes.
17962 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17963 Fix typos in error messages.
17964 (eieio-defmethod): Fix typo in description of generic method.
17966 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17967 (eieio-persistent-save-interactive, slot-missing):
17968 Fix typos in docstrings.
17969 (eieio-instance-inheritor-slot-boundp): Doc fix.
17971 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17972 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17974 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17975 (eieio-custom-object-apply-reset):
17976 Fix typos in docstrings and error messages.
17978 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17979 Fix typo in docstring.
17981 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17982 (eieio-browse-tree): Doc fix.
17983 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17984 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17985 Fix typos in docstrings.
17987 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17988 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17989 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17990 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17993 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17995 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17996 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17997 Set log-view-vc-backend so that diff can work.
17999 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18001 (vc-diff-internal): Autoload this instead of vc-version-diff.
18003 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18005 * simple.el (eval-expression): Doc fix.
18007 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18009 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18011 * files.el (directory-files-no-dot-files-regexp): New defconst.
18012 (delete-directory): Use it.
18013 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18015 * net/tramp.el (tramp-verbose): Fix docstring.
18016 (tramp-methods): Add recursive option to `tramp-copy-args'.
18017 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18018 "scp1_old", "scp2_old", "rsync", "rsyncc".
18019 (tramp-default-method): Check also for `auth-source-user-or-password'.
18020 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18021 Add handler for `copy-directory'.
18022 (tramp-handle-copy-directory): New defun.
18023 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18024 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18025 Optimize sent command.
18027 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18029 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18030 window if necessary.
18032 * calendar/calendar.el (calendar-basic-setup): Don't call
18033 switch-to-buffer in a dedicated window.
18035 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18037 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18038 don't do anything related to relocating, just return nil.
18039 (bookmark-error-no-filename): New error.
18040 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18041 bookmark has no file. Don't even attempt to handle things that
18042 are not files; the whole point of custom handlers is to keep that
18043 knowledge elsewhere anyway. Tighten some comments.
18044 (bookmark-file-or-variation-thereof): Remove now-unused function.
18045 (bookmark-location): Doc string fix.
18048 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18050 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18051 don't use a file dialog, because they usually don't know how to read
18052 a directory target from the user. (Bug#4230)
18053 Also, make sure the prompt can display directories as well as files.
18055 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18057 * bookmark.el (bookmark-set, bookmark-buffer-name):
18058 Improve doc strings. (Bug#1193)
18060 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18062 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18063 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18064 (bookmark-get-annotation, bookmark-set-annotation)
18065 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18066 (bookmark-set-position, bookmark-get-front-context-string)
18067 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18068 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18069 (bookmark-jump-other-window, bookmark-handle-bookmark)
18070 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18071 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18072 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18073 Improve doc strings to say whether bookmark can be a string or
18074 a record or both, and make other consistency and clarity fixes.
18075 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18076 (bookmark-default-annotation-text, bookmark-yank-word)
18077 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18078 (bookmark-import-new-list, bookmark-maybe-rename)
18079 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18080 (bookmark-bmenu-bookmark): Give these doc strings.
18081 (bookmark-bmenu-check-position): Give this a doc string, but also
18082 add a FIXME comment about how the function may be pointless.
18083 (bookmark-default-handler): Rework doc string and change a
18084 parameter name, to clarify that this takes a bookmark record
18085 not a bookmark name.
18086 (bookmark-set): Change a parameter name to indicate its meaning,
18087 and improve the doc string a bit.
18090 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18092 * bookmark.el (bookmark-alist): Document the new `handler' element
18093 in the param alist.
18094 (bookmark-make-record-function): Adjust documentation for above.
18097 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18099 * info.el (Info-bookmark-make-record): Document this function.
18100 (Info-bookmark-jump): Document with a doc string, not just a comment.
18103 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18105 * files.el (copy-directory): New defun.
18107 * dired-aux.el (dired-copy-file-recursive): Use it.
18109 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18111 * files-x.el (modify-dir-local-variable)
18112 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18115 * recentf.el (recentf-unload-function): New function.
18117 2009-10-04 Glenn Morris <rgm@gnu.org>
18119 * window.el (window-full-height-p): Add doc string.
18121 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18123 * window.el (window-full-height-p): New function. (Bug#4543)
18125 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18127 * vc.el: Remove commented out code.
18128 (vc-derived-from-dir-mode): Remove, unused.
18129 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18131 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18133 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18134 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18135 there could be recursive loading when `default-directory' is a
18136 remote file name. (Bug#4614)
18138 2009-10-03 Glenn Morris <rgm@gnu.org>
18140 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18142 (calendar-generate-window): Test for shrinkability rather than width.
18144 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18145 reusing existing buffers, in case we happen to visit two files with the
18146 same basename. (Bug#4593)
18148 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18150 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18151 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18152 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18153 subdirs of cedet as well.
18154 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18156 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18158 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18159 Obey advertised-signature-table.
18161 * help-fns.el (help-function-arglist): Don't check
18162 advertised-signature-table.
18163 (describe-function-1): Do it here instead so it also applies to subrs.
18165 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18167 * simple.el (start-file-process): Say in the doc-string, that file
18168 handlers might not support pty association, if PROGRAM is nil.
18170 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18171 HOST and USER are strings. They are nil, when there are
18172 incomplete entries in ~/.netrc, for example.
18173 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18174 root directory ("device busy" error otherwise).
18176 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18177 Flush file properties of created directory.
18179 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18181 * makefile.w32-in (WINS_BASIC): Remove cedet.
18182 (WINS_CEDET): Add cedet.
18183 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18185 2009-10-02 Kevin Ryde <user42@zip.com.au>
18187 * net/browse-url.el (browse-url): Pass any symbol in
18188 browse-url-browser-function to `apply', since if you've mistakenly put
18189 an unbound symbol then the error is clearer. (Bug#4531)
18191 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18193 * allout.el (allout-init, allout-back-to-current-heading)
18194 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18195 (allout-ascend, allout-up-current-level, allout-end-of-level)
18196 (allout-previous-visible-heading, allout-forward-current-level)
18197 (allout-backward-current-level, allout-show-children):
18198 * apropos.el (apropos-describe-plist):
18199 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18200 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18201 * completion.el (add-completion, add-permanent-completion):
18202 * descr-text.el (describe-text-category, describe-char):
18203 * desktop.el (desktop-lazy-abort):
18204 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18205 * dired.el (dired-build-subdir-alist):
18206 * ediff.el (ediff-version):
18207 * elide-head.el (elide-head, elide-head-show):
18208 * emerge.el (emerge-version):
18210 * face-remap.el (variable-pitch-mode):
18211 * faces.el (describe-face):
18212 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18214 * files.el (find-file-existing, auto-save-mode):
18215 * font-lock.el (font-lock-fontify-buffer):
18216 * help-fns.el (describe-function, describe-variable)
18217 (describe-syntax, describe-categories):
18218 * help.el (view-lossage, describe-bindings, describe-key)
18220 * hexl.el (hexl-current-address):
18221 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18222 * info.el (Info-goto-emacs-key-command-node):
18223 * log-edit.el (log-edit-insert-cvs-template)
18224 (log-edit-insert-cvs-rcstemplate):
18225 * menu-bar.el (menu-bar-mode):
18226 * mouse.el (mouse-appearance-menu):
18227 * newcomment.el (comment-indent-new-line):
18228 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18229 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18230 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18231 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18232 * recentf.el (recentf-mode):
18233 * savehist.el (savehist-mode, savehist-save):
18234 * shadowfile.el (shadow-copy-files):
18235 * simple.el (kill-ring-save, next-line, previous-line)
18236 (normal-erase-is-backspace-mode):
18237 * strokes.el (strokes-update-window-configuration)
18238 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18239 (strokes-xpm-for-stroke):
18240 * time.el (emacs-uptime, emacs-init-time):
18241 * tutorial.el (tutorial--describe-nonstandard-key)
18242 (tutorial--detailed-help):
18243 * type-break.el (type-break-mode)
18244 (type-break-mode-line-message-mode, type-break-query-mode)
18245 (type-break-guesstimate-keystroke-threshold):
18246 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18247 * version.el (emacs-version):
18248 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18249 * winner.el (winner-mode):
18250 * calendar/timeclock.el (timeclock-in, timeclock-out)
18251 (timeclock-status-string, timeclock-change)
18252 (timeclock-workday-remaining-string)
18253 (timeclock-workday-elapsed-string)
18254 (timeclock-when-to-leave-string):
18255 * calendar/todo-mode.el (todo-add-category):
18256 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18257 * emacs-lisp/autoload.el (update-file-autoloads):
18258 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18259 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18260 (checkdoc-message-text, checkdoc-defun):
18261 * emacs-lisp/debug.el (debugger-list-functions):
18262 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18263 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18264 (eieio-describe-generic):
18265 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18266 * emacs-lisp/shadow.el (list-load-path-shadows):
18267 * emulation/cua-base.el (cua-mode):
18268 * emulation/edt.el (edt-set-scroll-margins):
18269 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18270 (tpu-toggle-regexp, tpu-toggle-search-direction)
18271 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18272 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18273 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18274 (viper-set-parsing-style-toggling-macro)
18275 (viper-set-emacs-state-searchstyle-macros):
18276 * emulation/viper.el (viper-set-hooks):
18277 * eshell/esh-mode.el (eshell-truncate-buffer):
18278 * international/mule-cmds.el (prefer-coding-system)
18279 (describe-input-method, describe-language-environment):
18280 * international/mule-diag.el (list-character-sets)
18281 (describe-character-set, describe-coding-system)
18282 (describe-fontset, list-fontsets, list-input-methods):
18283 * mail/sendmail.el (mail-signature):
18284 * net/ange-ftp.el (ange-ftp-copy-file):
18285 * net/browse-url.el (browse-url):
18286 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18287 * net/quickurl.el (quickurl-add-url):
18288 * net/rcirc.el (names, topic):
18289 * net/xesam.el (xesam-mode):
18290 * play/5x5.el (5x5-new-game):
18291 * play/yow.el (apropos-zippy):
18292 * progmodes/ada-mode.el (ada-mode-version):
18293 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18295 (f90-beginning-of-block):
18296 * progmodes/fortran.el (fortran-end-of-block)
18297 (fortran-beginning-of-block):
18298 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18299 * progmodes/python.el (python-describe-symbol, python-shell):
18300 * term/ns-win.el (ns-print-buffer):
18301 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18302 * textmodes/flyspell.el (flyspell-mode-on):
18303 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18304 (pages-directory-for-addresses):
18305 * textmodes/table.el (table-recognize-cell)
18306 (table-query-dimension, table-generate-source)
18307 (table-insert-sequence, table--warn-incompatibility):
18308 * textmodes/tex-mode.el (tex-validate-buffer):
18309 * textmodes/texinfmt.el (texinfmt-version)
18310 (texinfo-format-buffer):
18311 Use `called-interactively-p' instead of `interactive-p'.
18313 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18315 * image-mode.el (image-toggle-display):
18316 * emacs-lisp/elp.el (elp-instrument-function):
18317 * emacs-lisp/advice.el (ad-make-advised-definition):
18318 * emacs-lisp/easy-mmode.el (define-minor-mode):
18319 * net/browse-url.el (browse-url-maybe-new-window):
18320 * progmodes/sh-script.el (sh-learn-buffer-indent):
18321 Pass new argument 'any to `called-interactively-p'.
18323 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18325 * international/uni-bidi.el:
18326 * international/uni-category.el:
18327 * international/uni-combining.el:
18328 * international/uni-comment.el:
18329 * international/uni-decimal.el:
18330 * international/uni-decomposition.el:
18331 * international/uni-digit.el:
18332 * international/uni-lowercase.el:
18333 * international/uni-mirrored.el:
18334 * international/uni-name.el:
18335 * international/uni-numeric.el:
18336 * international/uni-old-name.el:
18337 * international/uni-titlecase.el:
18338 * international/uni-uppercase.el:
18339 Regenerate from Unicode 5.2.0 data.
18341 2009-10-01 Glenn Morris <rgm@gnu.org>
18343 * Makefile.in (ELCFILES): Regenerate.
18345 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18347 * subr.el (interactive-p): Mark obsolete.
18348 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18349 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18350 advertised-signature-table for subroutines as well.
18352 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18353 (set-advertised-calling-convention): New function.
18354 (make-obsolete, define-obsolete-function-alias)
18355 (make-obsolete-variable, define-obsolete-variable-alias):
18356 Make the optional-ness of `when' obsolete.
18357 (define-obsolete-face-alias): Make `when' non-optional.
18358 * help-fns.el (help-function-arglist):
18359 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18360 Use advertised-signature-table.
18362 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18364 * files.el (delete-directory): New defun. The original function
18365 in fileio.c has been renamed to `delete-directory-internal'.
18367 * dired.el (dired-delete-file): Call `delete-directory' with
18368 RECURSIVE parameter.
18370 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18371 parameter RECURSIVE. Implementation is missing.
18373 * net/tramp.el (tramp-handle-make-directory): Flush upper
18374 directory's file properties.
18375 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18376 (tramp-handle-dired-recursive-delete-directory): Flush directory
18377 properties after the remove command only.
18379 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18380 Handle optional parameter RECURSIVE.
18382 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18383 Handle optional parameter RECURSIVE.
18385 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18386 connection timeout.
18387 (tramp-smb-handle-delete-directory): Handle optional parameter
18390 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18392 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18393 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18394 (byte-compile-defmacro): Use backquotes.
18396 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18398 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18399 has no associated file.
18400 (vc-resynch-buffer): Use vc-dir-buffers.
18402 2009-10-01 Glenn Morris <rgm@gnu.org>
18404 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18405 (chart-file-count):
18406 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18407 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18408 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18409 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18410 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18411 (eieio-copy-parents-into-subclass, make-instance, class-children)
18412 (eieio-generic-form):
18414 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18415 match-data. (Bug#4555).
18417 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18418 rather than parsing it as a regexp. This relaxes the layout
18419 requirements and makes errors easier to detect.
18420 (check-declare-verify): Check file is regular.
18421 (check-declare-directory): Doc fix.
18422 * subr.el (declare-function): Doc fix.
18424 * ibuffer.el (ibuffer-format-qualifier):
18425 * isearch.el (hi-lock-regexp-okay):
18426 * calc/calc.el (math-zerop):
18427 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18428 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18429 Remove unused declarations.
18431 2009-09-30 Eric Ludlam <zappo@gnu.org>
18433 * emacs-lisp/eieio.el (boolean-p): Delete.
18435 2009-09-30 Glenn Morris <rgm@gnu.org>
18437 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18439 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18440 filename is not a string.
18442 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18444 * files.el (safe-local-eval-forms): Fix typo.
18446 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18448 * vc-hooks.el (vc-dir-buffers): New var.
18449 (vc-state-refresh): New function.
18450 (vc-state): Use it.
18451 (vc-after-save): Always ask the backend to recompute the new state.
18452 Always call vc-dir if necessary, using vc-dir-buffers.
18453 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18454 Use vc-dir-buffers.
18455 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18456 (vc-dir-prepare-status-buffer, vc-dir-update)
18457 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18458 Don't call expand-file-name on default-directory.
18460 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18462 * speedbar.el (speedbar-item-delete):
18463 * calc/calc-prog.el (calc-kbd-if):
18464 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18466 * epa.el (epa-key-list-mode-map):
18467 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18469 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18470 (hs-show-hook): Fix typo in docstring.
18472 2009-09-29 Glenn Morris <rgm@gnu.org>
18474 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18475 file-name-nondirectory call preventing location of cedet files.
18476 (check-declare-verify): Use literal search rather than re-search.
18477 Add basic defmethod and defclass, and define-overloadable-function.
18479 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18480 Use tramp-compat-file-attributes rather than nonexistent
18481 tramp-compat-handle-file-attributes.
18483 * Makefile.in (lisptagsfiles4): New.
18484 (AUTOGENEL): Add cedet loaddefs files.
18485 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18486 (update-elclist, compile-always, backup-compiled-files)
18487 (bootstrap-clean): Add yet another directory level.
18488 (update-elclist): Use LC_COLLATE rather than COLLATE.
18489 (ELCFILES): Update, via `make update-elclist'.
18491 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18493 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18494 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18495 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18497 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18499 * Makefile.in (lisptagsfiles3): Define.
18500 (TAGS, TAGS-LISP): Use it.
18501 (update-elclist): Add third directory level to look for elc files.
18502 (compile-always): Likewise.
18503 (backup-compiled-files): Likewise.
18504 (bootstrap-clean): Likewise.
18505 (ELCFILES): Update.
18507 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18509 * Makefile.in (ELCFILES): Add CEDET files.
18511 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18513 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18515 * net/tramp.el (top): Require tramp-imap.
18517 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18518 Use `tramp-compat-handle-file-attributes'.
18520 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18522 * net/tramp-imap.el: New package.
18524 2009-09-28 Eric Ludlam <zappo@gnu.org>
18526 * emacs-lisp/chart.el:
18527 * emacs-lisp/eieio-base.el:
18528 * emacs-lisp/eieio-comp.el:
18529 * emacs-lisp/eieio-custom.el:
18530 * emacs-lisp/eieio-datadebug.el:
18531 * emacs-lisp/eieio-opt.el:
18532 * emacs-lisp/eieio-speedbar.el:
18533 * emacs-lisp/eieio.el: New files.
18535 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18537 * whitespace.el (whitespace-trailing-regexp)
18538 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18541 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18543 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18546 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18547 menu-bar-ediff-menu.
18549 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18550 define-overloadable-function.
18552 * progmodes/autoconf.el: Provide autoconf as well, so that this
18553 file can be `require'd.
18555 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18557 * emacs-lisp/autoload.el (generated-autoload-feature)
18558 (generated-autoload-load-name): New vars.
18559 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18560 (make-autoload): Recognize define-overloadable-function and
18561 defclass forms (for EIEIO).
18563 * Makefile.in (update-subdirs): Exclude cedet directory.
18565 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18567 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18569 * faces.el: Default light-background background for region face to
18570 ns_selection_color under NS.
18572 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18574 * net/imap-hash.el: New library, see NEWS.
18576 * Makefile.in (ELCFILES): Add imap-hash.el.
18578 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18580 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18581 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18582 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18583 definition where the docstring could be taken for the return value.
18585 2009-09-26 Glenn Morris <rgm@gnu.org>
18587 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18588 Add option to only show images below a certain size.
18589 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18590 save-excursion calls.
18592 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18594 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18595 subdirectories) and eieio.
18597 2009-09-26 Alan Mackenzie <acm@muc.de>
18599 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18600 Correct buggy bracketing. (Bug#4289)
18602 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18603 character constants (as case labels). (Bug#4289)
18605 2009-09-25 Juri Linkov <juri@jurta.org>
18607 * files.el (safe-local-eval-forms): Allow time-stamp in
18608 before-save-hook (Bug#4554).
18610 2009-09-25 Drew Adams <drew.adams@oracle.com>
18612 * menu-bar.el (list-buffers-directory): Doc fix.
18614 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18616 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18617 Try and avoid copying twice the same paragraph.
18618 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18619 Remove save-excursion.
18620 (log-edit-changelog-entry): Do it here instead.
18622 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18624 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18625 when available, instead of hardcoding mode names. Doc fix.
18627 * menu-bar.el (list-buffers-directory): Add docstring.
18628 Make automatically buffer-local.
18630 * dired.el (dired-mode):
18631 * files.el (cd-absolute):
18632 * pcvs.el (cvs-temp-buffer):
18633 * pcvs-util.el (cvs-get-buffer-create):
18634 * shell.el (shell-mode):
18635 * vc-dir.el (vc-dir-mode):
18636 Don't make `list-buffers-directory' buffer local.
18638 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18640 * comint.el (comint-exec, comint-run, make-comint):
18641 Doc fixes (Bug#4542).
18643 2009-09-25 Glenn Morris <rgm@gnu.org>
18645 * mail/rmailmm.el (rmail-mime): New custom group.
18646 Move all defcustoms in this file into this group.
18647 (rmail-mime-media-type-handlers-alist): Revert previous change.
18648 (rmail-mime-show-images): New option.
18649 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18650 references to it, since it wasn't actually used for anything.
18651 (rmail-mime-insert-image): New function.
18652 (rmail-mime-image): Use rmail-mime-insert-image.
18653 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18654 obey the value of `rmail-mime-show-images' option. Print the size of
18657 2009-09-25 David Engster <deng@randomsample.de>
18659 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18661 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18663 * whitespace.el: Does not highlight trailing spaces While point is
18664 at end of line. Does not highligt spaces at beginning of buffer
18665 while point is at beginning of buffer. Does not highlight spaces
18666 at end of buffer while point is at end of buffer. (Bug#4177)
18668 (whitespace-display-mappings): Adjust initialization.
18669 (whitespace-point, whitespace-font-lock-refontify): New vars.
18670 (whitespace-color-on, whitespace-color-off): Adjust code.
18671 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18672 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18673 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18675 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18677 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18679 * textmodes/sgml-mode.el: Remove xml-mode alias.
18681 * files.el (auto-mode-alist, conf-mode-maybe)
18682 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18684 2009-09-24 Alan Mackenzie <acm@muc.de>
18686 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18687 c-forward-conditionals, but it doesn't move point and doesn't set
18689 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18690 (c-down-conditional-with-else, c-backward-conditional)
18691 (c-forward-conditional): Refactor to use c-scan-conditionals.
18693 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18695 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18696 (help-default-arg-highlight): Remove.
18697 (help-highlight-arg): New function.
18698 (help-do-arg-highlight): Use it.
18699 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18701 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18703 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18704 Undo last change, which didn't fix the problem and introduced others.
18706 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18708 * progmodes/gdb-mi.el: Don't require speedbar.
18709 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18711 2009-09-24 Glenn Morris <rgm@gnu.org>
18713 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18715 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18717 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18718 there is no newline after the final mime boundary. (Bug#4539)
18719 Move markers on insertion so that any buttons inserted don't end up in
18720 the next part of a multipart message.
18721 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18722 (rmail-mime-bulk-handler): Optionally handle images.
18723 (rmail-mime-image): New button action.
18724 (rmail-mime-image-handler): New function.
18725 (rmail-mime-mode): New mode.
18726 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18728 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18730 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18731 than just dropping elements from it (bug#4504).
18733 * term.el (term-set-scroll-region): Don't move cursor any more.
18734 (term-handle-ansi-escape): Call term-goto here instead.
18735 Suggested by Ivan Kanis <apple@kanis.eu>.
18737 * term.el: Require CL.
18738 (term-ansi-reset): New function.
18739 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18740 (term-handle-colors-array): Simplify.
18742 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18744 * allout.el (allout-overlay-interior-modification-handler)
18745 (allout-obtain-passphrase):
18746 * epa-file.el (epa-file-write-region):
18747 * ps-print.el (ps-begin-job):
18748 * vc-hooks.el (vc-toggle-read-only):
18749 * vc-rcs.el (vc-rcs-rollback):
18750 * vc-sccs.el (vc-sccs-rollback):
18751 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18752 (vc-version-diff, vc-revert, vc-rollback):
18753 * wdired.el (wdired-check-kill-buffer):
18754 * emacs-lisp/authors.el (authors):
18755 * net/socks.el (socks-open-connection):
18756 * net/zeroconf.el (zeroconf-service-add-hook):
18757 * obsolete/vc-mcvs.el (vc-mcvs-register):
18758 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18759 (gdb-select-frame):
18760 * progmodes/grep.el (lgrep, rgrep):
18761 * progmodes/idlw-help.el (idlwave-help-check-locations)
18762 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18763 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18764 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18765 (reftex-toc-rename-label): Fix typos in error messages.
18767 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18768 (dired-copy-how-to-fn): Doc fix.
18769 (dired-files-attributes, dired-read-shell-command):
18770 Fix typos in docstrings.
18772 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18773 (dired-x-find-file-other-window): Reflow docstrings.
18774 (dired-omit-marker-char, dired-read-shell-command)
18775 (dired-x-submit-report): Fix typos in docstrings.
18777 * shell.el (shell-mode-hook):
18778 * view.el (View-scroll-line-forward):
18779 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18780 Fix typos in docstrings.
18782 * net/dig.el (dig-invoke): Fix typo in docstring.
18783 (query-dig): Reflow docstring.
18785 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18786 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18787 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18788 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18789 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18790 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18791 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18792 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18793 (idlwave-completion-map, idlwave-current-indent)
18794 (idlwave-custom-ampersand-surround, idlwave-customize)
18795 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18796 (idlwave-define-abbrev, idlwave-determine-class-special)
18797 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18798 (idlwave-end-block-reg, idlwave-end-of-statement)
18799 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18800 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18801 (idlwave-explicit-class-listed, idlwave-file-header)
18802 (idlwave-fill-paragraph, idlwave-find-class-definition)
18803 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18804 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18805 (idlwave-in-quote, idlwave-indent-action-table)
18806 (idlwave-indent-expand-table, idlwave-indent-line)
18807 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18808 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18809 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18810 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18811 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18812 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18813 (idlwave-outlawed-buffers, idlwave-popup-select)
18814 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18815 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18816 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18817 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18818 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18819 (idlwave-statement-type, idlwave-struct-skip)
18820 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18821 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18822 (idlwave-what-module-find-class): Fix typos in docstrings.
18823 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18824 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18825 (idlwave-find-module, idlwave-find-structure-definition)
18826 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18827 (idlwave-list-load-path-shadows, idlwave-next-statement)
18828 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18829 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18830 (idlwave-template): Reflow docstrings.
18832 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18833 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18834 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18835 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18836 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18837 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18838 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18839 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18840 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18841 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18842 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18843 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18844 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18845 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18846 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18847 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18848 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18849 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18850 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18851 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18852 Fix typos in docstrings.
18853 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18854 (idlwave-shell-hide-output, idlwave-shell-mode)
18855 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18858 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18860 2009-09-24 Ivan Kanis <apple@kanis.eu>
18862 * term.el (term-bold-attribute): New var.
18863 (term-handle-colors-array): Use it.
18865 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18867 * progmodes/gdb-mi.el (gdb-version): New variable.
18868 (gdb-non-stop-handler): Set gdb-version.
18869 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18870 Condition "--thread" option on gdb-version.
18871 (gdb-invalidate-threads): Remove unused argument.
18873 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18875 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18876 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18878 2009-09-23 Glenn Morris <rgm@gnu.org>
18880 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18881 replying to mail without References or Message-Id. (Bug#4525)
18883 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18885 * term/ns-win.el (ns-reg-to-script): New variable.
18887 2009-09-23 Daiki Ueno <ueno@unixuser.org>
18889 * epg.el (epg-wait-for-status): Preserve existing 'error results.
18891 2009-09-22 Sam Steingold <sds@gnu.org>
18893 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18894 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18895 to 1 because hg returns status 1 when nothing is found.
18896 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18898 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18900 * textmodes/fill.el: Convert to utf-8 encoding.
18901 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18904 * add-log.el (change-log-fill-forward-paragraph): New function.
18905 (change-log-mode): Use it so fill-region DTRT.
18906 Set fill-indent-according-to-mode here rather than in
18907 change-log-fill-paragraph.
18908 (change-log-fill-paragraph): Remove.
18910 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18912 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18913 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18915 2009-09-22 Glenn Morris <rgm@gnu.org>
18917 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18918 the scroll-bar scroll the calendar window rather than the buffer.
18920 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18921 commands that move point (as opposed to scrolling).
18923 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18925 * emacs-lisp/elint.el (elint): New custom group.
18926 (elint-log-buffer): Make it a defcustom.
18927 (elint-scan-preloaded, elint-ignored-warnings)
18928 (elint-directory-skip-re): New options.
18929 (elint-builtin-variables): Doc fix.
18930 (elint-preloaded-env): New variable.
18931 (elint-unknown-builtin-args): Add an entry for encode-time.
18932 (elint-extra-errors): Make it a variable rather than a constant.
18933 (elint-preloaded-skip-re): New constant.
18934 (elint-directory): Skip files matching elint-directory-skip-re.
18935 (elint-features): New variable, local to linted buffers.
18936 (elint-update-env): Initialize elint-features. Possibly add
18937 elint-preloaded-env to the buffer's environment.
18938 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18940 (elint-init-form): New function, extracted from elint-init-env.
18941 Make non-list forms a warning rather than an error.
18942 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18943 easy-menu-define, put that adds an error-condition, and provide.
18944 When requiring cl, also require cl-macs. Really require cl, to handle
18945 some cl macros. Store required libraries in the list elint-features,
18946 so as not to re-load them. Treat cc-require like require.
18947 (elint-init-env): Call elint-init-form to do the work.
18948 Handle eval-and-compile and such like.
18949 (elint-add-required-env): Do not clear messages.
18950 (elint-special-forms): Add handlers for function, defalias, if, when,
18952 (elint-form): Add optional argument to ignore elint-special-forms,
18953 useful to prevent recursive calls from handlers. Doc fix.
18954 Respect elint-ignored-warnings.
18955 (elint-form): Respect elint-ignored-warnings.
18956 (elint-bound-variable, elint-bound-function): New variables.
18957 (elint-unbound-variable): Respect elint-bound-variable.
18958 (elint-get-args): Respect elint-bound-function.
18959 (elint-check-cond-form): Add some simple handling for (f)boundp and
18961 (elint-check-defalias-form): New handler.
18962 (elint-check-let-form): Make an empty let a warning rather than an
18964 (elint-check-setq-form): Make an empty setq a warning rather than an
18965 error. Respect elint-ignored-warnings.
18966 (elint-check-defvar-form): Accept null doc-strings.
18967 (elint-check-conditional-form): New handler. Does some simple-minded
18968 checking of featurep and (f)boundp tests.
18969 (elint-put-function-args): New function.
18970 (elint-initialize): Use elint-scan-doc-file rather than
18971 elint-find-builtin-variables. Use elint-put-function-args.
18972 Possibly scan preloaded-file-list.
18973 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18974 extend to handle functions as well.
18976 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18978 * linum.el (linum-delete-overlays, linum-update-window):
18979 Do not modify the right margin. (Bug#3971)
18981 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18983 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18984 Use nxml-mode instead of xml-mode.
18986 2009-09-21 Kevin Ryde <user42@zip.com.au>
18988 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18990 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18992 * net/dig.el (dig-mode): Use define-derived-mode.
18994 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18996 * vc-dispatcher.el (vc-do-command): Return the process object in
18997 the asynchronous case. Use when instead of if. Do not run
18998 vc-exec-after to display a message if not enabled. (Bug#4463)
19000 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19001 properties to the stash strings.
19002 (vc-git-stash-list): Return a list of strings.
19003 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19004 (vc-git-stash-show-at-point): New functions.
19005 (vc-git-stash-map): New keymap.
19007 * register.el (ctl-x-r-map): Define the keys here instead of
19010 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19012 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19013 list, to workaround performance problem (bug#4485).
19015 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19017 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19019 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19021 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19022 Document that this option is not recommended to use.
19024 2009-09-19 Glenn Morris <rgm@gnu.org>
19026 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19029 * calc/calc-alg.el (var):
19030 * calc/calcalg2.el (var): Define for compiler.
19032 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19034 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19035 Doc fix (Bug#3932).
19037 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19039 * time-stamp.el (time-stamp-month-dd-yyyy)
19040 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19041 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19042 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19043 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19044 Remove functions that have been obsolete since 1995 (Bug#4436).
19046 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19047 indent buffer only if called interactively (Bug#4452).
19049 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19050 Eli Zaretskii <eliz@gnu.org>
19052 This fixes bug#4197 (merged to bug#865, though not identical).
19053 * server.el (server-auth-dir): Add docstring note about FAT32.
19054 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19055 but warn against using them.
19057 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19059 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19060 older GDB where there is no has_more field.
19062 2009-09-19 Glenn Morris <rgm@gnu.org>
19064 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19066 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19068 * files.el (auto-mode-alist): Change default for XML files to nXML
19071 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19073 * server.el (server-ensure-safe-dir): Pass 'integer
19074 to `file-attributes', as suggested.
19076 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19078 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19079 (dired-query): Use read-key.
19081 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19083 * cus-start.el (ns-use-qd-smoothing): Remove.
19085 2009-09-18 Glenn Morris <rgm@gnu.org>
19087 * allout.el (top-level): Remove unnecessary progn.
19089 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19091 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19092 definition of abbrev table.
19094 * speedbar.el (speedbar-track-mouse):
19095 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19096 * net/eudc.el (eudc-expand-inline):
19097 * net/newst-backend.el (newsticker--cache-read-feed):
19098 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19099 condition-case handlers.
19101 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19103 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19104 (gdb-var-list): Add an element for has_more field.
19105 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19106 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19107 (gdb-var-update-handler-1): Parse output of dynamic variable
19108 objects (STL containers).
19109 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19110 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19112 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19114 (gud-speedbar-buttons): Make node expandable if expression "has more"
19117 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19119 * startup.el (emacs-quick-startup): Remove variable and all uses.
19120 (command-line): Set `inhibit-x-resources' instead.
19121 (command-line-1): Use `inhibit-x-resources' instead.
19123 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19125 * subr.el: Fix last change to avoid using the `unless' macro,
19126 which breaks bootstrapping.
19128 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19130 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19131 extended definitions, in case we reload subr.el after having
19133 (eval-next-after-load): Mark as obsolete.
19135 2009-09-17 Juri Linkov <juri@jurta.org>
19137 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19138 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19139 (menu-bar-showhide-menu, menu-bar-tools-menu)
19140 (menu-bar-describe-menu, menu-bar-help-menu)
19141 (minibuffer-local-completion-map, minibuffer-local-map):
19144 2009-09-17 Glenn Morris <rgm@gnu.org>
19146 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19147 arguments, whether or not it has a handler.
19149 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19151 * simple.el (hard-newline): Give it a doc-string.
19153 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19154 (lisp-mode-syntax-table): Give them doc-strings.
19156 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19158 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19159 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19160 (menu-bar-options-menu, menu-bar-showhide-menu)
19161 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19162 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19163 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19164 (menu-bar-options-menu, menu-bar-tools-menu)
19165 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19166 (menu-bar-help-menu):
19167 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19170 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19171 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19172 calls for the menu names and :help.
19174 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19176 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19177 to :minor-mode-function (bug#4455).
19179 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19181 * startup.el (command-line): Initialize the window-system after
19182 processing the command-line.
19184 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19185 page-delimiter matches the empty string.
19187 2009-09-16 Glenn Morris <rgm@gnu.org>
19189 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19190 byte-compile-not-obsolete-var. It's a list now.
19191 (byte-compile-not-obsolete-funcs): New variable.
19192 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19193 byte-compile-not-obsolete-funcs.
19194 (byte-compile-variable-ref, byte-compile-defvar): Update for
19195 byte-compile-not-obsolete-vars name-change and list nature.
19196 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19197 and variables behind (f)boundp tests.
19198 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19200 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19202 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19204 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19206 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19207 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19210 2009-09-15 Stephen Eglen <stephen@gnu.org>
19212 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19213 the virtual-buffers, use the name of the buffer specified by
19214 find-file-noselect, as the match may be a symlink. (This was a
19215 problem if the target and the symlink had different names.)
19217 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19219 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19221 * desktop.el (desktop-path): Check user-emacs-directory.
19223 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19225 * loadup.el: Use after-load-functions to GC after loading each file.
19226 Remove the explicit GC calls that used to be sprinkled around.
19228 * subr.el (after-load-functions): New hook.
19229 (do-after-load-evaluation): Run it. Use string-match-p to detect
19230 `obsolete' packages, rather than painfully extracting the relevant
19233 2009-09-15 Glenn Morris <rgm@gnu.org>
19235 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19236 free variable `doc'.
19238 * dired.el (dired-mode-map): Add menu entry for async shell command.
19240 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19241 variables, also consider the .elc files, since the .el files are
19242 normally gzipped (subsequent code locates the .el.gz from the .elc).
19244 * calc/calc-prog.el (arglist): Define for compiler.
19246 * calendar/diary-lib.el (diary-display-function): Change the default to
19248 (body): Define for compiler.
19250 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19251 (byte-compile-file-form, byte-compile-lambda)
19252 (byte-compile-top-level-body, byte-compile-form)
19253 (byte-compile-variable-ref, byte-compile-setq)
19254 (byte-compile-setq-default, byte-compile-body)
19255 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19256 (batch-byte-compile): Give some more local variables with common names
19257 a "bytecomp-" prefix to avoid masking warnings about free variables.
19259 * startup.el (command-line-1): Give local variables with common names a
19260 distinguishing prefix, so as not to hide free variable warnings during
19263 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19264 clever and add a suffix to make a unique name, just let the user decide
19265 whether or not to overwrite it. If the input is a directory, write the
19266 default filename to that directory. (Bug#4388)
19267 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19268 is a filename-as-a-directory.
19270 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19272 * textmodes/page.el (what-page): Don't move to beginning of line.
19273 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19275 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19277 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19279 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19281 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19282 * help.el (help-for-help-internal): Add purecopy calls for text.
19284 * vc.el (top): print-log method now takes an optional SHORTLOG
19285 argument. Add a new method: root.
19286 (vc-root-diff, vc-print-root-log): New functions.
19287 (vc-log-short-style): New variable.
19288 (vc-print-log-internal): Add support for showing short logs.
19290 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19291 vc-print-root-log and vc-print-root-diff.
19293 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19294 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19295 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19298 * vc-cvs.el (vc-cvs-print-log):
19299 * vc-mtn.el (vc-mtn-print-log):
19300 * vc-rcs.el (vc-rcs-print-log):
19301 * vc-sccs.el (vc-sccs-print-log):
19302 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19303 that is ignored for now.
19305 * vc-mtn.el (vc-mtn-annotate-command):
19306 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19308 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19310 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19311 to function-key-map, and give them ascii-character property.
19312 * term/x-win.el (x-alternatives-map):
19313 * term/ns-win.el (ns-alternatives-map):
19314 * term/internal.el (msdos-key-remapping-map):
19315 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19317 2009-09-14 Glenn Morris <rgm@gnu.org>
19319 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19320 temp-buffers (2009-09-12).
19322 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19324 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19325 the new read-key function.
19327 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19329 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19330 is defined (Bug#4405).
19332 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19334 * recentf.el (recentf-cleanup): Use a hash table to find
19335 duplicates (Bug#4407).
19337 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19339 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19340 kp-0 to ascii equivalents (Bug#4325).
19342 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19344 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19346 * eshell/em-hist.el:
19347 * eshell/em-dirs.el (eshell-complete-user-reference):
19348 Declare pcomplete functions and variables to avoid compiler warnings.
19350 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19352 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19353 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19354 * eshell/em-alias.el (eshell-aliases-file):
19355 * eshell/em-hist.el (eshell-history-file-name):
19356 Use expand-file-name instead of concat to make file names (Bug#4308).
19358 2009-09-13 Glenn Morris <rgm@gnu.org>
19360 * ediff-merg.el (ediff-do-merge):
19361 * filesets.el (filesets-run-cmd):
19362 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19363 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19364 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19365 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19366 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19367 Replace empty `let's with `progn'.
19369 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19371 * mail/sendmail.el (send-mail-function):
19372 * tooltip.el (tooltip-mode):
19373 * simple.el (transient-mark-mode):
19374 * rfn-eshadow.el (file-name-shadow-mode):
19375 * frame.el (blink-cursor-mode):
19376 * font-core.el (global-font-lock-mode):
19377 * files.el (temporary-file-directory)
19378 (small-temporary-file-directory, auto-save-file-name-transforms):
19379 * epa-hook.el (auto-encryption-mode):
19380 * composite.el (global-auto-composition-mode):
19381 Use custom-initialize-delay.
19382 * startup.el (command-line): Don't explicitly call
19383 custom-reevaluate-setting for all the above vars.
19384 * custom.el (custom-initialize-safe-set)
19385 (custom-initialize-safe-default): Delete.
19387 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19389 * term/x-win.el (x-initialize-window-system):
19390 * term/w32-win.el (w32-initialize-window-system):
19391 * term/ns-win.el (ns-initialize-window-system): Don't call
19392 mouse-wheel-mode since it's enabled globally by default already.
19394 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19395 actually define the variable, but only silences the byte-compiler.
19396 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19397 before looking it up.
19398 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19401 2009-09-12 Glenn Morris <rgm@gnu.org>
19403 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19405 (elint-add-required-env): Don't beep on error.
19406 (elint-forms): In case of error, return ENV unchanged.
19407 (elint-init-env): Skip non-list forms.
19408 (elint-log): Handle unknown file positions.
19410 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19412 * epg.el (epg-make-context): Add autoload cookie.
19413 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19414 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19415 (epg-verify-string, epg-start-sign, epg-sign-file)
19416 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19417 (epg-encrypt-string, epg-start-export-keys)
19418 (epg-export-keys-to-file, epg-export-keys-to-string)
19419 (epg-start-import-keys, epg-import-keys-from-file)
19420 (epg-import-keys-from-string, epg-start-receive-keys)
19421 (epg-receive-keys, epg-import-keys-from-server)
19422 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19423 (epg-sign-keys, epg-start-generate-key)
19424 (epg-generate-key-from-file, epg-generate-key-from-string):
19425 Remove autoload cookie.
19427 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19429 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19430 reevaluation of trash-directory.
19432 * mwheel.el: Fix last change.
19433 (mouse-wheel-mode): New defvar.
19434 (mouse-wheel-mode): Remove autoload cookie.
19436 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19438 * mwheel.el (mwheel-installed-bindings): New var.
19439 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19440 the bindings we set last time. Use custom-initialize-delay.
19441 * loadup.el: Load mwheel after term/*-win.el.
19442 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19443 and mouse-wheel-up-event now that their first evaluation is done
19444 sufficiently late to be correct.
19446 * startup.el (tutorial-directory): Make it a defcustom.
19447 Use custom-initialize-delay rather than eval-at-startup to set it.
19448 * image.el (image-load-path): Make it a defcustom.
19449 Use custom-initialize-delay rather than eval-at-startup to set it.
19450 * subr.el (eval-at-startup): Remove.
19451 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19453 * subr.el (do-after-load-evaluation): Warn the user after loading an
19456 2009-09-12 Glenn Morris <rgm@gnu.org>
19458 * proced.el (proced-mark-alt): Remove alias.
19459 (proced-mode-map): Remove proced-mark-alt.
19461 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19462 Elint file and directory. Remove initialization entry.
19464 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19466 (elint-current-buffer): Set mode-line-process.
19467 (elint-init-env): Handle define-derived-mode.
19468 Fix declare-function with unspecified arglist. Guard against odd
19469 defalias statements (eg iso-insert's 8859-1-map).
19470 (elint-add-required-env): Use a temp buffer.
19471 (elint-form): Just print the function/macro name, not the whole form.
19472 Return env unchanged if we fail to parse a macro.
19473 (elint-forms): Guard against parse errors.
19474 (elint-output): New function, to handle batch mode.
19475 (elint-log-message): Add optional argument. Use elint-output.
19476 (elint-set-mode-line): New function.
19478 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19480 * emacs-lisp/elp.el (elp-not-profilable): Add more
19481 functions (Bug#4233).
19483 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19485 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19486 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19488 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19490 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19491 (gdb-var-list-children): Use json parsing.
19493 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19495 * progmodes/js.el (js--proper-indentation): Handle the case where
19496 char-before is null. Reported by Deniz Dogan.
19498 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19500 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19502 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19504 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19505 (epg-digest-algorithm-alist): Add SHA224.
19506 (epg-context-set-passphrase-callback)
19507 (epg-context-set-progress-callback): Add description about
19510 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19512 * custom.el (custom-delayed-init-variables): New var.
19513 (custom-initialize-delay): New function.
19514 * startup.el (command-line): "Re"evaluate all vars in
19515 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19516 explicitly any more.
19517 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19518 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19520 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19522 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19524 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19525 (gdb-var-update-handler): Use json parsing.
19527 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19529 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19530 decode annotated text, regardless of language environment. (Bug#2741)
19532 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19534 * Makefile.in (autoloads): Make rmail.el writable as well.
19536 2009-09-11 Glenn Morris <rgm@gnu.org>
19538 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19540 * dired.el: Regenerate with extracted autoloads.
19541 * Makefile.in (autoloads): Make dired.el writable.
19543 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19544 * ibuffer.el: Regenerate with extracted autoloads.
19545 * Makefile.in (autoloads): Make ibuffer.el writable.
19547 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19548 * version.el (emacs-copyright, emacs-major-version)
19549 (emacs-minor-version): Reformat doc-strings for make-docfile.
19551 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19552 functions and variables, since they must be stuff specific to some other
19554 (apropos-print): Make mouse-click message less specific about button.
19556 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19557 that records where a macro was defined.
19558 * help-fns.el (describe-function-1): Mention if a function has a
19560 * help-mode.el (help-function-cmacro): New button.
19562 * locate.el (top-level): Always require dired.
19563 (locate-mode-map): Initialize inside the defvar.
19565 * net/ange-ftp.el (dired-compress-file): Declare.
19566 (ange-ftp-dired-compress-file): Add doc string.
19568 * term/ns-win.el (x-display-name, x-setup-function-keys):
19569 Unify doc-strings with X versions.
19571 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19573 * emulation/crisp.el (crisp-mode-map): Move initialization
19575 (crisp-mode): Use define-minor-mode.
19577 * progmodes/xscheme.el (xscheme-evaluation-commands):
19578 Put a :advertised-binding property rather than using
19579 advertised-xscheme-send-previous-expression.
19580 (advertised-xscheme-send-previous-expression): Declare obsolete.
19581 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19583 (crisp-mode): Add corresponding bindings to
19584 undo's :advertised-binding instead.
19585 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19586 than using dired-advertised-find-file.
19587 (dired-advertised-find-file):
19588 * simple.el (advertised-undo):
19589 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19590 (widget-keymap): Put a :advertised-binding property rather
19591 than using advertised-widget-backward.
19592 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19593 than using advertised-undo.
19594 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19596 2009-09-10 Simon South <ssouth@slowcomputing.org>
19598 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19599 Mark mode is enabled and region is active; otherwise indent or
19600 insert TAB as usual.
19601 (delphi-mode): Update description of TAB-key binding.
19603 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19605 * subr.el (define-key-rebound-commands): Mark obsolete.
19606 * startup.el (precompute-menubar-bindings): Remove.
19607 (normal-top-level): Remove obsolete code that tried to precompute
19609 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19610 define-key-rebound-commands and precompute-menubar-bindings.
19612 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19614 * net/imap.el (imap-interactive-login): Better messages.
19615 (imap-open): Fix bug with renamed buffer on reconnect.
19616 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19617 for easier debugging and cleaner code. On successful (guessed based on
19618 server capabilities) secondary authentication, set imap-state
19620 (imap-last-authenticator): Define imap-last-authenticator as a variable
19623 2009-09-10 Glenn Morris <rgm@gnu.org>
19625 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19627 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19628 (byte-compile-file-form-autoload): Don't warn about unknown functions
19629 where the autoload statement comes after the use.
19630 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19631 that any handlers inside the body (eg require) are in turn respected.
19633 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19636 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19637 and syntax and abbrev tables basic docs, if they don't have any.
19639 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19641 * international/mule-cmds.el (top-level): Require cl when compiling.
19642 (view-hello-file): Use default-value rather than
19643 default-enable-multibyte-characters.
19645 * progmodes/fortran.el: Move all safe and risky properties into the
19648 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19649 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19650 * mail/undigest.el:
19651 Put autoloads in rmail.el rather than loaddefs.el.
19652 * mail/rmail.el: Regenerate with extracted autoloads.
19654 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19655 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19657 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19659 Reported in thread for Bug#4375.
19660 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19661 "-data-evaluate-expression" instead of print.
19662 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19663 (gdb-tooltip-print): Parse output from above MI command.
19664 (gdb): Revert 2009-08-11 change. User should detach inferior
19667 Remove the word "separate" from IO functions as inferior
19668 output is now never displayed in the GUD buffer.
19670 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19672 * startup.el (command-line-normalize-file-name): On Windows and
19673 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19675 2009-09-10 Juri Linkov <juri@jurta.org>
19677 * isearch.el (isearch-text-char-description): Propertize escape
19678 character sequences with the `escape-glyph' face. (Bug#4344)
19680 * simple.el (shell-command): Set asynchronous process filter to
19681 `comint-output-filter'. (Bug#4343)
19683 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19684 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19685 the list. Move "asm" to the bottom.
19686 (grep-find-ignored-directories): Add `choice' with nil value
19687 to empty the list easily.
19688 (grep-find-ignored-files): New option.
19689 (grep-files-history): Set to nil by default instead of '("ch" "el").
19690 (grep-compute-defaults): Add "<X>" to `grep-template'.
19691 (grep-read-files): Bind new local variables `default-alias' and
19692 `default-extension'. Use a list of default values for the file prompt.
19693 (lgrep): Add `--exclude=' command line options composed from
19694 `grep-find-ignored-files'.
19695 (rgrep): Add `-name' command line options composed from
19696 `grep-find-ignored-files'. (Bug#4301)
19698 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19700 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19703 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19705 * calendar/time-date.el (autoload):
19706 Expand define-obsolete-function-alias into defalias and make-obsolete
19707 for old Emacsen that Gnus supports.
19708 (with-no-warnings): Define it for old Emacsen.
19709 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19711 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19712 float-time is available; suppress compile warning for time-to-seconds.
19714 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19716 * net/imap.el (imap-message-map): Docstring fix.
19718 2009-09-09 Glenn Morris <rgm@gnu.org>
19720 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19721 line numbers too. (Bug#4374)
19723 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19725 * smerge-mode.el (smerge-remove-props, smerge-refine):
19726 Use with-silent-modifications (bug#4342).
19728 * subr.el (with-silent-modifications): New macro.
19730 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19732 * files.el (top-level): Require `cl' when compiling.
19734 2009-09-07 Glenn Morris <rgm@gnu.org>
19736 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19738 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19739 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19741 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19743 * vc-git.el (vc-git-annotate-command): Use separator to parse
19744 arguments correctly.
19746 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19748 * proced.el (proced-mode): Doc fix.
19750 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19752 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19754 (tramp-do-file-attributes-with-ls): Check for file existence at
19756 (tramp-do-file-attributes-with-stat): Likewise.
19757 (tramp-convert-file-attributes): Return nil when attr is nil.
19759 2009-09-05 Glenn Morris <rgm@gnu.org>
19761 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19762 properties to this button.
19763 (diary-fancy-display): Don't extend the button to the final newline.
19764 (diary-fancy-display-mode): Continue to define "q" as a local key.
19766 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19769 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19771 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19772 (byte-compile-dest-file-function): New option.
19773 (byte-compile-dest-file): Doc fix.
19774 Obey byte-compile-dest-file-function.
19775 (byte-compile-cl-file-p): New function.
19776 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19777 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19778 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19779 than for file being previously loaded.
19780 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19781 (byte-compile-file-form-require): Handle the case where requiring a file
19782 indirectly causes CL to be loaded.
19784 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19786 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19787 before killing the old buffer, since by the time `kill-buffer' is
19788 run so many buffer variables have been set to nil that it may not
19789 behave as expected. (Bug#4061)
19791 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19793 * files.el (find-alternate-file): If the old buffer is modified
19794 and visiting a file, behave similarly to `kill-buffer' when
19795 killing it, thus reverting to the pre-1.878 behavior; see
19796 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19797 for discussion. Also, consult `buffer-file-name' as a variable
19798 not as a function, for consistency with the rest of the code.
19800 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19802 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19803 also when adding a new directory.
19805 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19808 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19810 * files.el (locate-file-completion-table): Make it provide boundary
19811 information, so partial-completion works better.
19813 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19815 * mail/footnote.el (Footnote-text-under-cursor):
19816 Check footnote-text-marker-alist before using it (bug#4324).
19818 2009-09-04 Glenn Morris <rgm@gnu.org>
19820 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19821 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19822 * play/solitaire.el, play/tetris.el:
19823 Remove leading * from defcustom and defface docs.
19825 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19827 (diary-fancy-overriding-map): New variable.
19828 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19831 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19834 2009-09-03 Glenn Morris <rgm@gnu.org>
19836 * arc-mode.el (archive-mode):
19837 * dos-fns.el (set-default-process-coding-system):
19838 * man.el (Man-getpage-in-background):
19839 * menu-bar.el (menu-bar-describe-menu):
19840 * server.el (server-process-filter):
19841 * startup.el (command-line):
19842 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19843 * w32-fns.el (set-default-process-coding-system):
19844 * x-dnd.el (x-dnd-handle-file-name):
19845 * international/mule-cmds.el (mule-menu-keymap)
19846 (set-default-coding-systems, language-info-alist, set-language-info)
19847 (set-language-environment, standard-display-european-internal)
19848 (set-locale-environment):
19849 * international/mule-diag.el (mule-diag):
19850 * mail/emacsbug.el (report-emacs-bug):
19851 * mail/rmail.el (rmail-mode):
19852 * mail/sendmail.el (mail-setup):
19853 Use default-value rather than default-enable-multibyte-characters.
19855 * progmodes/f90.el: Move all safe properties into the defcustoms.
19856 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19858 * calendar/appt.el (appt-check):
19859 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19860 (diary-check-diary-file, diary-list-entries)
19861 (diary-include-other-diary-files, diary-simple-display)
19862 (diary-fancy-display, diary-print-entries)
19863 (diary-mark-included-diary-files, diary-make-entry):
19864 Don't call substitute-in-file-name on diary-file.
19866 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19867 Stefan Monnier <monnier@iro.umontreal.ca>
19869 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19870 (footnote-mode-map): Move initialization into the declaration.
19871 (footnote-minor-mode-map): Define it rather than changing global-map.
19872 (footnote-mode): Use define-minor-mode.
19874 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19876 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19877 (tramp-do-file-attributes-with-perl)
19878 (tramp-do-file-attributes-with-stat): Rename from
19879 `tramp-handle-file-attributes-with-*'.
19880 (tramp-handle-file-attributes): Use them.
19881 (tramp-do-directory-files-and-attributes-with-perl)
19882 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19883 `tramp-handle-directory-files-and-attributes-with-*'.
19884 (tramp-handle-directory-files-and-attributes): Use them.
19885 (tramp-method-out-of-band-p): Additional parameter SIZE.
19886 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19887 (tramp-handle-write-region): Use it.
19888 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19889 (tramp-handle-vc-registered): Check, whether the first run did
19890 return files to be tested.
19891 (tramp-advice-make-auto-save-file-name): Do not call directly
19892 `tramp-handle-make-auto-save-file-name', because this would bypass
19893 the locking mechanism.
19895 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19896 (file-remote-p, process-file, start-file-process, set-file-times)
19897 (tramp-compat-file-attributes): Compatibility functions shall not
19898 call directly `tramp-handle-*', because this would bypass the
19900 (tramp-compat-number-sequence): New defun.
19902 2009-09-02 Glenn Morris <rgm@gnu.org>
19904 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19905 alias for float-time.
19906 (time-to-number-of-days): In Emacs, use float-time.
19907 * net/newst-backend.el (time-add): Suppress warnings from compat
19909 * time.el (emacs-uptime, emacs-init-time):
19910 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19911 Use float-time rather than time-to-seconds.
19913 * minibuffer.el (completion-initials-expand): Fix typo.
19915 * faces.el (modeline, modeline-inactive, modeline-highlight)
19916 (modeline-buffer-id):
19917 * info.el (info-menu-5): Mark these face aliases as obsolete.
19919 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19921 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19923 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19924 no "--thread" option.
19925 (gdb-stopped): Don't print "Switched to thread" message when it is
19928 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19930 * minibuffer.el (completion-try-completion)
19931 (completion-all-completions): Remove ill-defined (and
19932 mistakenly installed and luckily never used nor documented)
19933 `completion-styles' property.
19934 (completion-initials-expand, completion-initials-all-completions)
19935 (completion-initials-try-completion): New functions.
19936 (completion-styles-alist): Add doc to each entry.
19937 Add new `initials' entry.
19939 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19941 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19942 MI command -var-evaluate-expression.
19943 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19944 and tweak for case of string child.
19945 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19947 2009-09-01 Glenn Morris <rgm@gnu.org>
19949 * add-log.el (change-log-date-face, change-log-name-face)
19950 (change-log-email-face, change-log-file-face, change-log-list-face)
19951 (change-log-conditionals-face, change-log-function-face)
19952 (change-log-acknowledgement-face):
19953 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19954 (custom-modified-face, custom-set-face, custom-changed-face)
19955 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19956 (custom-documentation-face, custom-state-face, custom-comment-face)
19957 (custom-comment-tag-face, custom-variable-tag-face)
19958 (custom-variable-button-face, custom-face-tag-face)
19959 (custom-group-tag-face-1, custom-group-tag-face):
19960 * diff-mode.el (diff-header-face, diff-file-header-face)
19961 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19962 (diff-added-face, diff-changed-face, diff-function-face)
19963 (diff-context-face, diff-nonexistent-face):
19964 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19965 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19966 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19967 (Info-title-4-face):
19968 * isearch.el (isearch-lazy-highlight-face):
19969 * log-view.el (log-view-file-face, log-view-message-face):
19970 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19971 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19972 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19974 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19975 (smerge-base-face, smerge-markers-face):
19976 * wid-edit.el (widget-documentation-face, widget-button-face)
19977 (widget-field-face, widget-single-line-field-face)
19978 (widget-inactive-face, widget-button-pressed-face):
19979 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19980 (woman-addition-face):
19981 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19982 (eshell-ls-executable-face, eshell-ls-readonly-face)
19983 (eshell-ls-unreadable-face, eshell-ls-special-face)
19984 (eshell-ls-missing-face, eshell-ls-archive-face)
19985 (eshell-ls-backup-face, eshell-ls-product-face)
19986 (eshell-ls-clutter-face):
19987 * eshell/em-prompt.el (eshell-prompt-face):
19988 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19989 * obsolete/old-whitespace.el (whitespace-highlight-face):
19990 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19991 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19992 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19993 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19994 (antlr-font-lock-literal-face):
19995 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19996 (ebrowse-root-class-face, ebrowse-file-name-face)
19997 (ebrowse-default-face, ebrowse-member-attribute-face)
19998 (ebrowse-member-class-face, ebrowse-progress-face):
19999 * progmodes/make-mode.el (makefile-space-face):
20000 * progmodes/sh-script.el (sh-heredoc-face):
20001 * textmodes/flyspell.el (flyspell-incorrect-face)
20002 (flyspell-duplicate-face):
20003 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20004 * textmodes/texinfo.el (texinfo-heading-face):
20005 Mark face aliases with "-face" suffix as obsolete.
20007 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20010 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20011 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20012 easy-menu-define wants to modify these.
20014 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20016 * net/browse-url.el (browse-url-file-url):
20017 * term/internal.el (dos-codepage-setup):
20018 Use default-value rather than default-enable-multibyte-characters.
20020 * progmodes/etags.el (etags-goto-tag-location):
20021 * progmodes/flymake.el (flymake-highlight-line)
20022 (flymake-goto-file-and-line, flymake-goto-line):
20023 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20024 (gdb-goto-breakpoint):
20025 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20026 * progmodes/python.el (python-find-function)
20027 (python-pdbtrack-track-stack-file):
20028 * progmodes/verilog-mode.el (verilog-surelint-off):
20029 * term/ns-win.el (ns-open-file-select-line):
20030 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20031 Use forward-line rather than goto-line.
20033 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20034 * textmodes/reftex-index.el (reftex-display-index):
20035 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20036 * textmodes/reftex-toc.el (reftex-toc):
20037 Remove unnecessary bindings of default-major-mode (all are followed by
20038 major-mode check and possible mode switch).
20040 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20042 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20043 Handle watchpoints (bug#4282).
20044 (def-gdb-thread-buffer-command): Enable thread to be selected by
20045 clicking without selecting threads buffer first.
20046 (gdb-current-context-command): Use selected frame so that "up",
20047 "down" etc work in the GUD buffer.
20048 (gdb-update): Find selected frame before rendering stack buffer.
20049 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20051 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20053 * progmodes/sym-comp.el (displayed-completions): Remove.
20054 (symbol-complete): Use minibuffer-complete.
20056 2009-08-31 Glenn Morris <rgm@gnu.org>
20058 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20060 * apropos.el (apropos-symbols-internal):
20061 Handle (obsolete) face aliases.
20063 * faces.el (describe-face): Adjust the output format to be more like
20064 describe-variable, and to mention (obsolete) face aliases.
20065 Adjust the whitespace so that help-setup-xref works.
20067 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20068 * calendar/diary-lib.el (diary-button-face):
20069 Mark these face aliases as obsolete.
20071 * calendar/calendar.el (calendar-today): Doc fix.
20073 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20075 * progmodes/gdb-mi.el (gdb-control-all-threads)
20076 (gdb-control-current-thread): Force tool bar update.
20077 (gdb-non-stop-handler): New function.
20078 (gdb-init-1): Use it to test if non-stop mode is supported.
20079 Remove unused gdbmi buffer type.
20081 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20083 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20084 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20086 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20088 * comint.el (comint-exec-1): Check command is non-null first.
20089 Part of gdb-mi.el change (2009-08-28).
20091 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20093 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20095 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20097 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20098 instead of `dolist' to avoid a recursive require when bootstrapping.
20100 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20102 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20104 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20106 * net/imap.el (imap-send-command): Simplify.
20107 (imap-wait-for-tag): point-max -> buffer-size.
20109 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20111 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20112 with constant argument.
20114 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20116 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20118 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20119 Change default, since most of our files don't have a history.
20120 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20126 * calc/calc.el: Improve commenting convention.
20127 (calc-digit-map, toplevel): Simplify.
20129 * comint.el (comint-insert-input): Be careful to only set point if we
20130 don't delegate to some other command.
20132 * proced.el (proced-signal-list): Make it an alist.
20133 (proced-grammar-alist): Capitalize names.
20134 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20135 Disable undo manually and make it read-only.
20136 Use completion-annotate-function.
20138 * minibuffer.el (minibuffer-message): If the current buffer is not
20139 a minibuffer, insert the message in the echo area rather than at the
20141 (completion-annotate-function): New variable.
20142 (minibuffer-completion-help): Use it.
20143 (completion--embedded-envvar-table): Environment vars are
20144 always case-sensitive.
20146 2009-08-30 Glenn Morris <rgm@gnu.org>
20148 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20149 from fortran-current-defun.
20150 (fortran-beginning-of-subprogram): Be more precise about finding the
20151 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20152 (fortran-end-of-subprogram): Simplify.
20153 (fortran-current-defun): Use fortran-start-prog-re.
20155 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20157 * subr.el (do-after-load-evaluation): Simplify.
20159 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20161 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20163 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20164 (vc-rcs-print-log): Use it.
20166 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20168 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20170 * paths.el (abbrev-file-name): Move to abbrev.el.
20171 * abbrev.el (abbrev-file-name): Move from paths.el.
20172 Obey user-emacs-directory.
20173 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20174 user-emacs-directory.
20175 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20176 abbrev-file-name and calc-settings-file any more.
20177 * startup.el (command-line): Recompute abbrev-file-name and
20178 abbreviated-home-dir.
20179 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20180 of the special code for when C-h bindings haven't been changed.
20181 (display-startup-echo-area-message): Use with-current-buffer.
20182 (command-line-1): Use a list of strings, rather than a list of lists
20183 of strings for longopts.
20185 * files.el (get-free-disk-space): Use / for default-directory.
20187 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20188 Use with-current-buffer.
20190 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20191 Recognize immutable variables like most-positive-fixnum.
20192 (byte-compile-setq-default): Check and warn if trying to assign
20193 to an immutable variable, or a non-variable.
20195 * progmodes/cc-vars.el (c-comment-continuation-stars):
20196 * progmodes/cc-engine.el (c-looking-at-bos):
20197 * progmodes/cc-cmds.el (c-toggle-auto-state)
20198 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20199 (c-comment-line-break-function): Add version of obsolescence.
20201 2009-08-28 Juri Linkov <juri@jurta.org>
20203 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20204 associated with `archive-mode'.
20206 * image.el (image-type-header-regexps): Use only JPEG magic number
20207 to determine JPEG images, and don't use `image-jpeg-p' because
20208 Emacs can display non-JFIF non-Exif JPEG images.
20210 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20212 * arc-mode.el (archive-mode):
20213 * emacs-lisp/re-builder.el (re-builder-unload-function):
20214 Protect against the default value of `major-mode' being nil.
20216 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20218 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20219 Fix typos in docstrings.
20221 * progmodes/js.el (js--macro-decl-re): Doc fix.
20222 (js--plain-method-re, js--split-name): Refloc docstring.
20223 (js--class-styles, js--make-merged-item, js--splice-into-items):
20224 Fix typos in docstrings; reflow docstrings.
20225 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20226 (js--variable-decl-matcher, js--inside-pitem-p)
20227 (js--parse-state-at-point, js--get-all-known-symbols)
20228 (js--symbol-history, js-find-symbol, js--js-references)
20229 (js--moz-interactor, js--js-encode-value, js--read-tab):
20230 Fix typos in docstrings.
20232 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20234 * textmodes/reftex.el (reftex-get-file-buffer-force):
20235 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20236 * emulation/viper.el (viper-go-away, viper-set-hooks):
20237 * emacs-lisp/re-builder.el (re-builder-unload-function):
20238 * emacs-lisp/bytecomp.el (byte-compile-file):
20239 * ses.el (ses-unload-function):
20240 * hexl.el (hexl-find-file):
20241 * files.el (normal-mode):
20242 * ehelp.el (with-electric-help):
20243 * autoinsert.el (auto-insert-alist):
20244 * arc-mode.el (archive-mode):
20245 Use (default-value 'major-mode) instead of default-major-mode.
20247 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20248 * international/mule.el (load-with-code-conversion):
20249 * emacs-lisp/debug.el (debug):
20250 * ediff-vers.el (ediff-rcs-get-output-buffer):
20251 * dired.el (dired-internal-noselect): Don't let-bind
20252 default-major-mode around code that doesn't use it.
20253 E.g. buffer creation via get-buffer-create doesn't use it.
20255 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20257 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20258 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20259 when writing the temp file. Otherwise, epa-file gets confused.
20260 (tramp-register-file-name-handlers): Make it a defun. Move also
20261 `epa-file-handler' to the front of `file-name-handler-alist'.
20263 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20265 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20266 start right after a ^M.
20267 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20268 (tramp-completion-file-name-regexp-separate)
20269 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20270 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20271 Don't modify last-coding-system-used by accident.
20272 (tramp-completion-file-name-handler): Apply the checks here,
20273 instead during registration.
20274 (tramp-register-file-name-handlers): Rename from
20275 `tramp-register-file-name-handler'. Register both
20276 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20277 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20279 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20281 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20282 Remove variable ...
20283 (gdb-init-1, gdb-display-separate-io-buffer)
20284 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20286 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20287 (gdb-inferior-filter): Use comint-output-filter to stop
20288 echoing and remove ^M characters.
20290 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20292 * emulation/viper-init.el (viper-restore-cursor-type):
20293 * emulation/cua-base.el (cua--update-indications):
20294 Replace default-cursor-type with (default-value 'cursor-type).
20296 * mail/sendmail.el (mail-recover-1):
20297 * international/mule-diag.el (describe-current-coding-system-briefly)
20298 (describe-current-coding-system):
20299 * international/mule-cmds.el (select-safe-coding-system)
20300 (select-message-coding-system)
20301 (set-language-environment-coding-systems, set-locale-environment):
20302 * hexl.el (hexl-insert-multibyte-char):
20303 * dos-w32.el (find-buffer-file-type-coding-system):
20304 * simple.el (what-cursor-position):
20305 Replace uses of default-buffer-file-coding-system
20306 with (default-value 'buffer-file-coding-system).
20308 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20309 Replace uses of default-cursor-in-non-selected-windows
20310 with (default-value 'cursor-in-non-selected-windows).
20311 Use with-current-buffer.
20313 * mail/feedmail.el: Use CL macros.
20314 (feedmail-run-the-queue, feedmail-send-it-immediately):
20315 * dos-w32.el (find-buffer-file-type): Replace uses of
20316 default-buffer-file-type with (default-value 'buffer-file-type).
20318 2009-08-28 Glenn Morris <rgm@gnu.org>
20320 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20321 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20322 Use default-value of major-mode rather than default-major-mode.
20324 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20326 * Makefile.in (update-elcfiles): Report left over elc files.
20328 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20329 expand-file-name and with-current-buffer.
20330 (mail-get-names, mail-directory): Use with-current-buffer.
20332 * vc.el (vc-read-revision): New function.
20333 (vc-version-diff, vc-merge): Use it.
20335 2009-08-27 Sam Steingold <sds@gnu.org>
20337 * simple.el (kill-do-not-save-duplicates): New user option.
20338 (kill-new): When it is non-nil, and the new string is the same as
20339 the latest kill, set replace to t to avoid duplicates in kill-ring.
20341 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20343 * net/tramp.el (tramp-handle-process-file): Do not flush all
20344 caches when `process-file-side-effects' is set.
20345 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20346 instead of `tramp-find-file-exists-command'.
20347 Unset `process-file-side-effects'.
20349 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20351 * net/tramp.el (tramp-methods): New method "rsyncc".
20352 (top): Add completion function for "rsyncc".
20353 (tramp-message-show-message): New defvar.
20354 (tramp-message, tramp-error): Use it.
20355 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20357 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20358 `tramp-methods' entry `copy-env' of "rsyncc".
20359 (tramp-vc-registered-read-file-names): New defconst.
20360 (tramp-vc-registered-file-names): New defvar.
20361 (tramp-handle-vc-registered): Implement optimization strategy.
20362 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20363 (tramp-vc-file-name-handler): New defun.
20364 (tramp-get-ls-command, tramp-get-test-command)
20365 (tramp-get-file-exists-command, tramp-get-remote-ln)
20366 (tramp-get-remote-perl, tramp-get-remote-stat)
20367 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20369 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20370 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20372 (tramp-get-file-property): Check for timestamps in
20373 `tramp-cache-inhibit-cache'.
20374 (tramp-set-file-property): Write timestamp.
20376 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20378 * language/japan-util.el (japanese-symbol-table): Add entries for
20381 * international/characters.el: Add category `j' to cp932-2-byte.
20383 2009-08-27 Kenichi Handa <handa@m17n.org>
20385 * international/fontset.el (build-default-fontset-data): New macro.
20386 (setup-default-fontset): Use build-default-fontset-data for CJK,
20387 tibetan, ethiopic, and ipa.
20389 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20391 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20392 (enable-multibyte-characters): Not customizable any more.
20394 * subr.el (default-mode-line-format, default-header-line-format)
20395 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20396 (default-direction-reversed, default-truncate-lines)
20397 (default-left-margin, default-tab-width, default-case-fold-search)
20398 (default-left-margin-width, default-right-margin-width)
20399 (default-left-fringe-width, default-right-fringe-width)
20400 (default-fringes-outside-margins, default-scroll-bar-width)
20401 (default-vertical-scroll-bar, default-indicate-empty-lines)
20402 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20403 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20404 (default-scroll-down-aggressively, default-fill-column)
20405 (default-cursor-type, default-buffer-file-type)
20406 (default-cursor-in-non-selected-windows)
20407 (default-buffer-file-coding-system, default-major-mode)
20408 (default-enable-multibyte-characters): Mark as obsolete.
20410 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20412 * vc-dir.el (vc-dir-update): Remove debug helper.
20414 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20416 2009-08-26 Sam Steingold <sds@gnu.org>
20418 * simple.el (save-interprogram-paste-before-kill): New user option.
20419 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20420 save the interprogram-paste into kill-ring before overriding it
20421 with the Emacs kill.
20423 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20425 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20426 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20427 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20428 and move to vc-rcs.el.
20429 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20431 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20432 (vc-rcs-update-changelog): Remove.
20433 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20434 and move to vc-rcs.el.
20436 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20437 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20439 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20440 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20441 vc.el, renamed to be RCS specific.
20443 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20445 (vc-cvs-update-changelog): Move here from vc.el.
20447 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20450 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20452 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20454 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20456 * vc-git.el (vc-git-register): Use "git add" for directories.
20457 (vc-git-stash, vc-git-stash-show): New functions.
20458 (vc-git-extra-menu-map): Bind them.
20460 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20461 directory correctly in case the item is a directory itself.
20463 * vc.el: Document the desired behavior for reverted files in the
20465 (vc-default-prettify-state-info): Remove function, unused.
20467 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20469 2009-08-26 Glenn Morris <rgm@gnu.org>
20471 * bindings.el (standard-mode-line-format): Reposition dashes in
20472 which-func entry. (Bug#4217)
20474 * files.el (enable-local-variables, enable-local-eval)
20475 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20477 (auto-mode-alist, ignored-local-variables)
20478 (save-some-buffers-action-alist): Move risky declarations to the
20480 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20481 (font-lock-defaults, format-alist, imenu--index-alist)
20482 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20483 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20484 (mode-line-modified, mode-line-mule-info, mode-line-position)
20485 (mode-line-process, mode-line-remote, outline-level)
20486 (parse-time-rules, rmail-output-file-alist)
20487 (special-display-buffer-names, vc-mode):
20488 Move risky declarations to the relevant files.
20489 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20490 (mode-line-modified, mode-line-process, mode-line-position)
20491 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20492 * font-core.el (font-lock-defaults):
20493 * format.el (format-alist):
20494 * vc-hooks.el (vc-mode):
20495 * window.el (special-display-buffer-names):
20496 * international/mule-cmds.el (input-method-alist):
20497 Define riskiness here (dumped file) rather than in files.el.
20498 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20499 * imenu.el (imenu-generic-expression, imenu--index-alist):
20500 * outline.el (outline-level):
20501 * time.el (display-time-string):
20502 * calendar/parse-time.el (parse-time-rules):
20503 * mail/rmailout.el (rmail-output-file-alist):
20504 Autoload riskiness here, rather than placing in files.el.
20506 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20508 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20510 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20512 * simple.el (process-file-side-effects): New defvar.
20514 * dired-aux.el (dired-show-file-type):
20515 * vc.el (vc-diff-internal):
20516 * vc-arch.el (vc-arch-diff):
20517 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20518 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20519 * vc-git.el (vc-git-registered, vc-git-working-revision)
20520 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20521 (vc-git--empty-db-p):
20522 * vc-hooks.el (vc-user-login-name):
20523 * vc-svn.el (vc-svn-registered, vc-svn-state)
20524 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20525 * progmodes/grep.el (grep-probe): Let-bind
20526 `process-file-side-effects' with nil.
20528 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20530 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20531 daemon. Replace ping by checking for running service for bluez
20532 and zeroconf. (Bug#4239)
20534 2009-08-25 Kevin Ryde <user42@zip.com.au>
20536 * net/dig.el (dig): Add autoload cookie.
20538 2009-08-25 Glenn Morris <rgm@gnu.org>
20540 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20541 load-history for absolute file-names.
20542 (byte-compile-file-form-require): Warn about use of the cl package.
20544 * format.el (format-alist): Doc fix.
20546 * play/bubbles.el (top-level): Don't require cl at run-time.
20548 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20551 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20553 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20555 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20557 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20559 * calc/calc-alg.el (math-trig-rewrite)
20560 (math-hyperbolic-trig-rewrite): New functions.
20561 (calc-simplify): Simplify trig functions when asked.
20563 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20565 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20567 2009-08-24 Kenichi Handa <handa@m17n.org>
20569 * language/ind-util.el (mapthread): Delete it.
20570 (combinatorial): New function.
20571 (indian--puthash-cv): Use combinatorial instead of mapthread.
20573 2009-08-22 Kevin Ryde <user42@zip.com.au>
20575 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20576 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20577 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20578 Clarify docstring that the value is strings not symbols.
20579 (checkdoc-list-of-strings-p): New function.
20581 2009-08-22 Glenn Morris <rgm@gnu.org>
20583 * files.el (auto-mode-alist):
20584 * hippie-exp.el (he-concat-directory-file-name):
20585 * lpr.el (lpr-windows-system, printer-name):
20586 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20587 * ps-print.el (ps-windows-system):
20588 * startup.el (command-line):
20589 * emulation/viper-ex.el (viper-glob-function):
20590 * international/mule-cmds.el (set-language-environment-coding-systems):
20591 * net/ange-ftp.el (ange-ftp-write-region):
20592 * obsolete/fast-lock.el (fast-lock-cache-name):
20593 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20594 unisoft-unix, vax-vms, win32, w32.
20596 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20597 given name if the pattern is not more specific.
20599 * calendar/lunar.el (lunar-phase-names): New option.
20600 (lunar-phase): Doc fix.
20601 (lunar-cycles-per-year): New constant.
20602 (lunar-index): New function.
20603 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20604 (lunar-phase-name): Use lunar-phase-names.
20605 (calendar-lunar-phases): Use format.
20606 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20608 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20609 Copy imenu-example--name-and-position function here for own use.
20610 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20612 * bs.el (bs--redisplay):
20613 * cus-edit.el (custom-redraw):
20614 * ibuffer.el (ibuffer-bury-buffer):
20615 * server.el (server-goto-line-column):
20616 * startup.el (command-line-1):
20617 * strokes.el (strokes-xpm-for-stroke):
20618 * term.el (term-display-buffer-line):
20619 * view.el (View-goto-line):
20620 * calc/calc.el (calc-do, calc-trail-buffer):
20621 * play/gamegrid.el (gamegrid-add-score-insecure):
20622 * progmodes/ada-mode.el (ada-compile-goto-error):
20623 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20624 (ebrowse-select-1st-to-9nth):
20625 * progmodes/cperl-mode.el (cperl-time-fontification):
20626 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20627 * progmodes/gud.el (gud-display-line):
20628 (idlwave-shell-display-line):
20629 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20630 * progmodes/make-mode.el (makefile-browser-toggle):
20631 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20632 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20633 * textmodes/picture.el (picture-draw-rectangle):
20634 * textmodes/reftex-index.el (reftex-index-goto-letter):
20635 (reftex-select-jump-to-previous):
20636 * textmodes/reftex-sel.el (reftex-find-start-point)
20637 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20638 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20639 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20640 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20641 * textmodes/two-column.el (2C-associated-buffer):
20642 Use forward-line rather than goto-line.
20644 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20647 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20648 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20649 (quick-check-list-to-regexp): Declare.
20651 * progmodes/make-mode.el (makefile-browser-insert-selection):
20652 Use goto-char rather than goto-line.
20654 * progmodes/prolog.el (compilation-error-regexp-alist)
20655 (compilation-forget-errors): Declare.
20657 2009-08-22 Juri Linkov <juri@jurta.org>
20659 * progmodes/grep.el (lgrep, rgrep): At the beginning
20660 set `dir' to `default-directory' unless `dir' is a non-nil
20661 readable directory. (Bug#4052)
20662 (lgrep, rgrep): Change a weird way to report an error
20663 from using `read-string' to using `error'.
20664 Instead of using interactive arguments in the function body,
20665 add new argument `confirm'.
20667 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20669 * textmodes/remember.el (remember-buffer):
20670 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20671 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20672 (icalendar-extract-ical-from-buffer):
20673 * net/newst-treeview.el (newsticker-groups-filename):
20674 * net/newst-backend.el (newsticker-cache-filename):
20675 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20676 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20677 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20678 (speedbar-buffers-line-path, speedbar-path-line)
20679 (speedbar-buffers-line-path):
20680 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20682 * epa.el (epa-display-verify-result):
20683 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20685 2009-08-21 Glenn Morris <rgm@gnu.org>
20687 * progmodes/js.el (inferior-moz-process): Fix declaration.
20689 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20691 * obsolete/rnewspost.el (news-mail-reply):
20692 Use goto-char rather than goto-line.
20694 * term/ns-win.el (ns-open-file-select-line):
20695 Use line-beginning-position rather than goto-line.
20697 * apropos.el (apropos-command):
20698 * ehelp.el (electric-helpify):
20699 * printing.el (pr-show-setup):
20700 * strokes.el (strokes-help):
20701 * tutorial.el (tutorial--describe-nonstandard-key)
20702 (tutorial--detailed-help):
20703 * woman.el (woman-mini-help, woman-display-extended-fonts):
20704 * calc/calc-help.el (calc-describe-key):
20705 * emulation/edt.el (edt-electric-helpify):
20706 * international/mule-diag.el (mule-diag):
20707 * play/yow.el (apropos-zippy):
20708 * progmodes/python.el (python-describe-symbol):
20709 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20710 * textmodes/table.el (*table--cell-describe-mode)
20711 (*table--cell-describe-bindings):
20712 Use help-print-return-message rather than the now obsolete alias.
20714 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20715 (calendar-cursor-to-visible-date):
20716 * play/5x5.el (5x5-position-cursor):
20717 * play/decipher.el (decipher):
20718 * play/gomoku.el (gomoku-goto-xy):
20719 * play/landmark.el (lm-goto-xy):
20720 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20721 (mpuz-paint-digit):
20722 Use forward-line, not goto-line.
20724 * mail/rmail.el (rmail-obsolete): Delete custom group.
20725 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20726 (rmail-remote-password, rmail-remote-password-required):
20727 Remove unneeded :set-after and :set properties.
20729 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20731 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20733 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20735 * loadup.el: Remove leftover macos code.
20737 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20738 Explicitly pass the date format to git blame so that user local
20739 so that the output format can be parsed.
20741 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20743 * net/dbus.el (top): Don't check for (getenv
20744 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20746 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20748 * log-edit.el (log-edit-strip-single-file-name): New var.
20749 (log-edit-insert-changelog): Use it. Bug#3571.
20751 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20753 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20756 * help.el (help-print-return-message): Rename from
20757 print-help-return-message.
20759 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20760 cvs-mode-map parent hack.
20761 (log-view-mode): Derive from special-mode.
20763 * linum.el (linum-mode): window-size-change-functions is redundant.
20764 Adapt to new window-configuration-change-hook behavior.
20765 (linum-after-size, linum-after-config): Remove.
20767 * imenu.el (imenu-example--name-and-position)
20768 (imenu-example--lisp-extract-index-name)
20769 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20772 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20773 (inferior-prolog-mode): Use it.
20774 (inferior-prolog-load-file): Reset list of errors.
20776 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20778 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20780 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20782 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20784 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20785 is running already.
20787 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20789 * subr.el (listify-key-sequence-1): Use normal syntax since those
20790 integers are nowadays always represented by the same (positive) number
20792 (read-key-empty-map): New const.
20793 (read-key-delay): New var.
20794 (read-key): New function.
20795 (force-mode-line-update): Use with-current-buffer.
20796 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20797 (start-process-shell-command, start-file-process-shell-command):
20798 Discourage the use of command-args.
20800 2009-08-19 Glenn Morris <rgm@gnu.org>
20802 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20804 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20806 * simple.el (choose-completion-string): Don't rely on
20807 minibuffer-completing-file-name and ad-hoc checks to decide whether
20808 to continue completion or not.
20810 * minibuffer.el (minibuffer-hide-completions): New function.
20811 (completion--do-completion): Use it.
20812 (completions-annotations): New face.
20813 (completion--insert-strings): Use it.
20814 (completion-pcm--delim-wild-regex): Add docstring.
20815 (completion-pcm--string->pattern): Add support for 0-width delimiters
20816 in completion-pcm--delim-wild-regex.
20818 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20820 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20821 Remove unused var `buffer-modified-p'.
20823 * minibuffer.el (completion--do-completion): Move point for the #b001
20824 case as well (bug#4176).
20825 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20827 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20829 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20830 and :session buses.
20832 2009-08-18 Kenichi Handa <handa@m17n.org>
20834 * international/ucs-normalize.el (ucs-normalize-version):
20836 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20837 (utf-8-hfs): Make it perform normalization on encoding too.
20839 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20840 (sentence-end-without-space): Delete duplicated chars.
20841 (sentence-end-base): Likewise.
20843 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20844 (html-mode): Delete duplicated chars from sentence-end-base.
20846 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20847 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20849 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20851 * files.el (hack-one-local-variable): If the mode function is for
20852 a minor mode, pass it an argument (Bug#4148).
20854 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20856 * net/tramp.el (tramp-register-completion-file-name-handler):
20857 Check also for (member 'partial-completion completion-styles).
20859 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20861 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20864 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20866 * progmodes/cperl-mode.el: Merge upstream 6.2.
20867 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20868 (cperl-forward-re): Check cperl-brace-recursing.
20869 (cperl-highlight-charclass): New function.
20870 (cperl-find-pods-heres): Use it.
20871 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20872 (cperl-beautify-regexp-piece): Fix column calculation.
20873 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20874 (cperl-beautify-level): Don't process entire regexp.
20875 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20877 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20878 (cperl-init-faces): Build a list in the normal way.
20880 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20882 * calendar/parse-time.el (parse-time-string-chars): Save match
20885 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20887 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20888 (sql-product): Use it.
20889 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20890 (sql-set-product): Add completion.
20891 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20892 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20893 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20894 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20895 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20896 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20897 (sql-highlight-db2-keywords): Remove.
20898 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20899 (sql-highlight-product): Use derived-mode-p.
20900 (sql-set-sqli-buffer): Use with-current-buffer.
20901 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20904 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20906 * term.el: Fix commenting convention, turn comments into docstrings.
20908 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20910 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20912 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20914 * calendar/parse-time.el (parse-time-string-chars): Compute using
20915 character classes, to handle non-ascii characters (Bug#3190).
20917 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20919 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20920 another heredoc if the user adds another < (Bug#3226).
20922 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20923 Don't initialize based on window-system (Bug#4124).
20925 * facemenu.el (facemenu-read-color): Use a completion function
20926 that accepts any defined color, such as RGB triplets (Bug#3677).
20928 * files.el (get-free-disk-space): Change fallback default
20929 directory to /. Expand DIR argument before switching to fallback.
20930 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20932 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20934 * files.el (load-library): Doc fix.
20936 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20938 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20939 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20940 incremental search string.
20942 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20945 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20946 (ediff-merge-region-is-non-clash)
20947 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20948 Also check if the job is really a merge job.
20950 * ediff.el (ediff-current-file): New function.
20952 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20954 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20956 (js-insert-and-indent): Delete function.
20957 (js-mode-map): Don't bind keys to js-insert-and-indent.
20958 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20959 (js-end-of-defun): Rename from js--end-of-defun.
20960 (js-auto-indent-flag): Delete variable.
20962 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20964 * progmodes/js.el: Remove proclaim statement.
20965 Defvar which-func-imenu-joiner-function to silence compiler.
20967 * files.el (auto-mode-alist): Use js-mode for .js files.
20969 * progmodes/js2-mode.el: Remove file.
20971 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20973 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20975 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20977 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20978 Karl Landstrom <karl.landstrom@brgeight.se>
20980 * progmodes/js.el: New file.
20982 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20984 * timezone.el (timezone-parse-date): Add ability to understand ISO
20985 basic format (minimal separators) dates in addition to the
20986 already-supported extended format dates.
20988 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20990 * international/ucs-normalize.el: Add a `coding' file variable.
20992 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20994 2009-08-14 Sam Steingold <sds@gnu.org>
20996 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20998 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21000 * faces.el (help-argument-name): Define it here instead of
21001 help-fns.el, because in daemon mode help-fns.el may be loaded when
21002 faces are still uninitialized (Bug#1078).
21004 * help-fns.el (help-argument-name): Move defface to faces.el.
21006 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21008 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21009 create buffer with a pty but no process so that GDB can make the
21010 inferior the controlling process.
21012 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21014 * international/ucs-normalize.el: New file.
21016 2009-08-13 Richard Stallman <rms@gnu.org>
21018 * mail/rmail.el (rmail-get-attr-names):
21019 Accept an attribute header that is too short.
21021 * mail/rmail.el (rmail-forget-messages):
21022 Ignore nil elt in rmail-message-vector. Use dotimes.
21024 * progmodes/compile.el (compilation-goto-locus):
21025 Use next-error-move-function.
21027 * simple.el (next-error-move-function): New variable.
21029 2009-08-12 Juri Linkov <juri@jurta.org>
21031 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21032 always non-nil. (Bug#4052)
21034 * replace.el (read-regexp): Return empty string when
21035 `default-value' is nil.
21036 (keep-lines-read-args): Don't use empty string as the
21037 default value for `read-regexp'. (Bug#2495)
21039 2009-08-12 Juri Linkov <juri@jurta.org>
21041 * international/mule-cmds.el (ucs-insert): Change arguments
21042 from `arg' to `character', `count', `inherit' to be the same
21043 as in `insert-char'. Doc fix. (Bug#4039)
21045 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21047 2009-08-12 Juri Linkov <juri@jurta.org>
21049 * files-x.el: New file.
21051 * files.el: Move code that deals with adding/deleting
21052 file/directory-local variables to files-x.el.
21054 * Makefile.in (ELCFILES): Add files-x.elc.
21056 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21058 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21059 to use `goto-line'.
21060 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21062 (gdb-invalidate-disassembly): Do not refresh upon receiving
21063 'update signal. Instead, update all disassembly buffers only after
21065 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21066 (gdb-starting): Move -data-list-register-names...
21067 (gdb-stopped): ...here so it's sent when first thread stops.
21068 (gdb-registers-handler-custom): Do nothing if register names are
21071 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21072 from `gdb-mi.el' to avoid extra tangling.
21074 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21075 change which breaks `gud-def' definitions used in `gdb'.
21076 (gdb-update-gud-running): No extra fuss for updating frame number.
21078 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21080 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21081 (describe-language-environment-map, setup-language-environment-map)
21082 (set-coding-system-map): Move initialization into declaration.
21083 (set-language-info-alist): Last arg to define-key-after can be skipped.
21085 * international/quail.el (quail-completion-1): Simplify.
21086 (quail-define-rules): Use slightly more compact code.
21087 (quail-insert-decode-map): Propertize keys, compact columns.
21089 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21092 2009-08-10 Miles Bader <miles@gnu.org>
21094 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21095 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21096 (js2-instance-member, js2-private-member, js2-private-function-call)
21097 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21098 (js2-magic-paren, js2-external-variable):
21099 Remove "-face" suffix from face names.
21100 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21101 (js2-highlight-undeclared-vars, js2-peek-token)
21102 (js2-parse-function-params, js2-mode-show-errors)
21103 (js2-mode-show-warnings, js2-make-magic-delimiter)
21104 (js2-mode-highlight-magic-parens): Update to use new face names.
21106 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21108 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21109 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21111 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21113 * subr.el: Provide hashtable-print-readable.
21115 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21116 hs-c-like-adjust-block-beginning.
21117 (hs-hide-block-at-point): Stop hiding at the beginning of
21118 hs-block-end-regexp (Bug#700).
21120 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21122 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21124 (gdb-registers-handler-custom): Do not fail when register names
21127 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21129 * progmodes/gdb-mi.el (gdb-control-all-threads)
21130 (gdb-control-current-thread): Interactive setters for
21131 `gdb-gud-control-all-threads' to use in menu.
21132 (gdb-show-run-p): Show «Go» when process is not active.
21133 (gud-tool-bar-map): Add non-stop/A,T indicator.
21134 Uses gud/thread.xpm and gud/all.xpm.
21136 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21138 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21139 (nslookup-font-lock-keywords): Make it a variable.
21140 (net-utils-mode): New mode for viewing diagnostic network output.
21141 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21142 (net-utils-run-simple): New function.
21143 (ifconfig, iwconfig, netstat, arp, route): Use it.
21145 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21147 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21148 (gdb-memory-set-address, def-gdb-set-positive-number)
21149 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21150 after changing settings.
21151 (gdb-invalidate-disassembly): Update when first shown.
21152 (gdb-edit-locals-value): Fix.
21153 (gdb-registers-handler-custom): Print registers in right order and
21154 allow changing register values (only for current thread yet).
21155 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21156 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21157 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21158 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21159 Thread info in mode name.
21160 (gdb-registers-mode-map): TAB to switch to locals.
21162 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21164 * mail/rmail.el (rmail-add-mbox-headers)
21165 (rmail-set-message-counters-counter): Search for
21166 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21168 2009-08-08 Glenn Morris <rgm@gnu.org>
21170 * Makefile.in (ELCFILES): Update.
21172 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21174 * mail/sendmail.el (mail-yank-original):
21175 Set buffer-file-coding-system from the one used by the message whose
21178 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21179 to "windows" when "pgnuplot" is used.
21180 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21181 Don't call accept-process-output if "pgnuplot" is used.
21182 (calc-graph-init): Don't send -display and -geometry to
21183 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21184 running "pgnuplot -V" with shell-command-to-string.
21186 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21189 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21191 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21194 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21196 * vc-dispatcher.el (vc-resynch-window): Update comment.
21198 * term.el (term-handle-ansi-escape): Add comments with the
21199 terminfo capabilities implemented.
21201 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21203 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21204 (gdb-var-create-handler): Rewritten using JSON parser.
21205 (gdb-propertize-header): Move earlier.
21206 (gdb-set-header): Remove to avoid duplication.
21207 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21208 Refresh disassembly buffers only after threads list have been
21210 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21213 2009-08-04 Juri Linkov <juri@jurta.org>
21215 * files.el: Commands to add/delete file/directory-local variables.
21216 (read-file-local-variable, read-file-local-variable-value)
21217 (read-file-local-variable-mode, modify-file-local-variable)
21218 (modify-file-local-variable-prop-line)
21219 (modify-dir-local-variable): New functions.
21220 (add-file-local-variable, delete-file-local-variable)
21221 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21222 (add-dir-local-variable, delete-dir-local-variable)
21223 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21224 (copy-dir-locals-to-file-locals-prop-line): New commands.
21226 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21228 * abbrev.el (insert-abbrev-table-description): Prettify output.
21229 Suggested by Karl Chen.
21231 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21233 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21234 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21235 (gdb-overlay-arrow-position, gdb-thread-position)
21236 (gdb-disassembly-position): Declare variables.
21237 (gdb-wait-for-pending): Function now.
21238 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21239 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21240 compilation goes smoothly.
21241 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21242 (gdb-non-stop-setting): New customization setting which replaces
21243 `gdb-non-stop' so changing it doesn't break active GDB session.
21244 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21245 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21246 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21247 (gdb-show-threads-by-default): New customization options.
21248 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21250 (gdb-get-buffer-create): Send buffers update signal when they are
21252 (gdb-invalidate-locals, gdb-invalidate-registers)
21253 (gdb-invalidate-breakpoints)
21254 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21255 (gdb-invalidate-memory): Accept update signal.
21256 (gdb-current-context-command): Use --frame option.
21257 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21258 Implement `gdb-frame-number' selection logic.
21259 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21260 whether to show GUD toolbar buttons.
21261 (gdb-thread-exited): Unselect current thread when it exits.
21262 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21263 (gdb-mark-line): Routine which sets overlay arrow or inverses
21264 video on fringeless displays.
21265 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21266 to build aligned columns of data in GDB buffers and set text
21267 properties line-by-line.
21268 (gdb-invalidate-breakpoints)
21269 (gdb-breakpoints-list-handler-custom)
21270 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21271 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21272 (gdb-registers-handler-custom): Align data columns.
21273 (gdb-locals-handler-custom): Now prints data like in variable
21275 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21276 Remove confusing buttons.
21277 (gdb-invalidate-threads): Append --frame.
21278 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21279 between breakpoints/threads buffers.
21280 (gdb-set-window-buffer): Now can ignore dedicated windows.
21281 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21282 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21283 (def-gdb-thread-buffer-gud-command): Replaces
21284 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21285 for fine thread control.
21286 (gdb-preempt-existing-or-display-buffer): New function used to
21287 display bound buffers without breaking window layout.
21288 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21289 (gdb-select-frame): New version of `gdb-frames-select' which now
21290 sets `gdb-frame-number' so commands may use --frame option instead
21291 of inner debugger state.
21292 (gdb-frame-handler): Do not set `gdb-frame-number'.
21293 (gdb-threads-mode-map): Select threads with mouse.
21295 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21296 avoid compilation warning.
21297 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21300 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21301 Argument `key' renamed to `buffer-type'.
21302 (gdb-current-context-buffer-name): Do not add thread info to
21303 buffer name when no thread is selected.
21304 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21305 command (bug 3794).
21306 (gdb-thread-selected): Handle `=thread-selected' notification.
21307 (gdb-wait-for-pending): New macro to deal with congestion problems.
21308 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21310 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21311 This fixes problem similar to one described in bug 3947.
21312 (gud-menu-map): More menu items.
21313 (gdb-init-1): Reset `gdb-thread-number' to nil.
21315 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21318 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21319 (gdb-current-context-command): Do not append --thread if
21320 `gdb-thread-number' is nil.
21321 (gdb-running-threads-count, gdb-stopped-threads-count):
21323 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21324 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21325 New customization options.
21326 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21328 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21329 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21330 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21331 set `gdb-thread-number' and update `gud-running' properly.
21332 (gdb-running): Update threads list when new threads appear.
21333 (gdb-stopped): Support non-stop operation and new thread switching
21335 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21336 (gdb-json-partial-output): New set of JSON routines.
21337 (def-gdb-auto-update-trigger): New `signal-list' optional
21339 (gdb-thread-list-handler-custom): Update `gud-running',
21340 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21341 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21342 (gdb-continue-thread, gdb-step-thread): New commands for fine
21343 thread execution control.
21344 (gud-menu-map): New menu items to switch non-stop options.
21345 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21346 (gdb-send): Mimic RET properly (bug 3794).
21348 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21349 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21351 (def-gdb-auto-update-handler): New nopreserve optional argument.
21352 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21354 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21355 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21356 (gdb-parent-mode): New mode to derive other GDB modes from.
21357 (gdb-display-disassembly-for-thread)
21358 (gdb-frame-disassembly-for-thread): New commands for threads
21361 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21362 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21363 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21364 (gdb-update): We now store all GDB buffers in a list so that they
21365 can be updated by traversing a list instead of calling invalidate
21366 triggers explicitly.
21367 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21368 pair for GDB buffer.
21369 (gdb-stack-buffer-name): Add thread information.
21370 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21371 handle pending triggers.
21372 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21373 (def-gdb-thread-buffer-simple-command)
21374 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21375 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21376 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21377 New commands which show buffers bound to thread.
21378 (gdb-stack-list-locals-regexp): Remove unused regexp.
21380 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21381 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21382 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21383 to (gud-comint-buffer) in *-buffer-name functions
21384 because (gdb-get-target-string) already does that.
21385 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21386 (gdb-changed-registers-handler): Rewritten without regexps.
21388 * progmodes/gdb-mi.el: Basic thread selection support.
21389 (gdb-thread-number): New variable.
21390 (gdb-current-context-command): New macro which adds --thread
21392 (gdb-threads-mode-map): Select thread with SPC.
21393 (gdb-thread-list-handler-custom): Mark current thread with overlay
21394 arrow. Synchronize GDB thread and Emacs thread.
21395 (gdb-select-thread): New command which selects current thread.
21396 (gdb-invalidate-frames, gdb-invalidate-locals)
21397 (gdb-invalidate-registers): Use --thread option.
21399 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21401 * net/tramp.el (top): Make check for tramp-gvfs loading more
21403 (tramp-handle-insert-file-contents): `unwind-protect' must be
21404 inside `with-parsed-tramp-file-name'.
21406 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21409 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21411 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21412 directory if CLASSPATH is not set.
21414 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21416 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21418 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21420 2009-08-02 Kevin Ryde <user42@zip.com.au>
21422 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21423 Update freshmeat link. Delete newsforge.com as it seems gone.
21425 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21427 * select.el (x-set-selection): Doc fix (Bug#4021).
21429 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21431 * help-fns.el (describe-variable): Treat list return values from
21432 dir-locals-find-file properly (Bug#4005).
21434 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21436 * net/tramp.el (tramp-debug-message): Print also microseconds.
21438 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21440 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21442 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21443 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21446 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21447 (tramp-get-file-property): Use it.
21449 * autorevert.el (auto-revert-handler):
21450 Allow `auto-revert-tail-mode' for remote files.
21452 2009-08-02 Jason Rumney <jasonr@gnu.org>
21454 * minibuffer.el (read-file-name): Treat confirm options to
21455 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21457 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21459 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21460 (font-lock-variable-name-face, font-lock-constant-face):
21461 Darken the colors for light backgrounds.
21463 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21465 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21466 month names. (Bug#3987)
21468 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21470 * simple.el (line-move-finish): Pass whole number to
21471 line-move-to-column.
21472 (line-move-visual): Perform hscroll to the recorded position.
21474 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21476 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21478 2009-07-29 Alan Mackenzie <acm@muc.de>
21480 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21482 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21484 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21485 (gdb-place-breakpoints): Use full path when setting breakpoints.
21487 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21489 * calc/calc.el (calc-mode-map): Add keybinding for
21490 `calc-transpose-lines'.
21492 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21494 * calc/calc-misc.el (calc-transpose-lines): New function.
21496 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21498 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21499 Simplify check for out-of-band methods.
21500 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21501 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21503 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21505 * vc-git.el (vc-git-checkin): Fix typo.
21507 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21509 * progmodes/js2-mode.el: New file.
21511 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21513 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21514 (gud-menu-map): Adjust tooltip accordingly.
21516 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21518 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21519 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21521 * add-log.el (change-log-mode-map): Add a menu.
21523 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21525 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21526 function returns nil.
21527 (dbus-handle-event): Handle special return value :ignore.
21528 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21530 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21532 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21535 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21539 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21541 * term/pc-win.el (x-display-name, x-colors)
21542 (x-select-enable-clipboard, x-select-text): Doc fix.
21544 * term/common-win.el (x-display-name, x-colors): Doc fix.
21546 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21547 (xw-defined-colors): Doc fix.
21549 * w32-fns.el (x-select-text, x-setup-function-keys)
21550 (x-get-selection, x-set-selection): Doc fix.
21552 * term/x-win.el (x-select-text, x-setup-function-keys)
21553 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21555 * select.el (x-set-selection): Doc fix.
21557 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21559 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21560 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21561 "IsNSSSupportAvailable" method is not available.
21562 Reported by Steve Youngs <steve@sxemacs.org>.
21564 2009-07-24 Kenichi Handa <handa@m17n.org>
21566 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21567 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21568 (build-unicode-category-table): Fix range checks.
21570 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21572 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21573 the buffer we try to sync is current when calling
21576 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21577 not show up to date files.
21579 2009-07-24 Glenn Morris <rgm@gnu.org>
21581 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21582 Add autoload cookies. If necessary, initialize.
21583 (elint-log): Handle non-file buffers.
21584 (elint-initialize): Add optional argument to reinitialize.
21585 (elint-find-builtin-variables): Save excursion.
21587 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21589 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21592 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21594 * vc.el (vc-print-log-internal): New function, split out from ...
21595 (vc-print-log): ... here.
21596 (vc-dir-move-to-goal-column): Declare.
21598 * vc-git.el (vc-git-add-signoff): New variable.
21599 (vc-git-checkin): Use it.
21600 (vc-git-toggle-signoff): New function.
21601 (vc-git-extra-menu-map): Bind it to menu.
21602 (vc-git--run-command-string): Accept a nil FILE argument.
21603 (vc-git-stash-list): New function.
21604 (vc-git-dir-extra-headers): Use it.
21606 2009-07-23 Glenn Morris <rgm@gnu.org>
21608 * help-fns.el (describe-variable): Describe ignored and risky local
21609 variables in a similar way to that in which we describe safe ones.
21611 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21612 (byte-compile-output-file-form, byte-compile-output-docform)
21613 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21614 Give some more local variables with common names a "bytecomp-" prefix,
21615 so as not to shadow things during compilation.
21616 * emacs-lisp/cl-macs.el (load-time-value)
21617 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21618 `outbuffer' to `bytecomp-outbuffer'.
21620 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21621 since the next two variables cover them automatically now.
21622 (elint-builtin-variables, elint-autoloaded-variables): New.
21623 (elint-unknown-builtin-args): Remove all members, since they can be
21624 parsed automatically now.
21625 (elint-extra-errors): New.
21626 (elint-env-add-env, elint-env-add-macro): Use cadr.
21627 (elint-current-buffer): Use or. Change final message.
21628 (elint-get-top-forms): Use line-end-position.
21629 (elint-init-env): Use cadr. Handle autoload, declare-function,
21631 (elint-add-required-env): Doc fix. Use or. Standardize error.
21632 (regexp-assoc): Remove unused function.
21633 (elint-top-form): Set elint-current-pos, to record the start of the
21634 top-level form, for compilation-mode.
21635 (elint-form): Trap errors in macro expansion. Use dolist.
21636 (elint-unbound-variable): Use elint-builtin-variables and
21637 elint-autoloaded-variables.
21638 (elint-get-args): Use cadr, or.
21639 (elint-check-cond-form): Use dolist, cadr.
21640 (elint-check-condition-case-form): Doc fix. Use cadr.
21641 Use elint-extra-errors.
21642 (elint-log): New function.
21643 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21644 Distinguish errors and warnings.
21645 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21646 Use a bytecomp-style format.
21647 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21648 (elint-get-log-buffer): Use compilation mode. Disable undo.
21649 Don't truncate lines.
21650 (elint-initialize): Set builtin and autoloaded variable lists.
21651 Only process elint-unknown-builtin-args if non-nil.
21652 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21654 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21656 2009-07-22 Kevin Ryde <user42@zip.com.au>
21658 * net/newst-backend.el (newsticker--parse-atom-1.0)
21659 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21660 (newsticker--parse-rss-1.0):
21661 * progmodes/idlwave.el (idlwave-mode):
21662 * progmodes/idlw-shell.el (idlwave-shell-mode):
21663 * progmodes/vera-mode.el (vera-mode):
21664 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21665 * progmodes/vhdl-mode.el (vhdl-mode):
21666 * textmodes/table.el (table-generate-source)
21667 (table--warn-incompatibility):
21668 Hyperlink urls in docstrings with URL `...'.
21670 2009-07-22 Glenn Morris <rgm@gnu.org>
21672 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21673 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21674 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21675 Remove leading * from defcustom docs.
21677 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21679 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21681 (list-load-path-shadows): Optionally, just return shadows as a string.
21683 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21685 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21687 * mail/rmailedit.el (rmail-edit-mode):
21688 Use auto-save-include-big-deletions.
21690 * mail/rmail.el (rmail-variables):
21691 Use auto-save-include-big-deletions.
21693 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21696 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21698 * calc/calc.el (calc-undo-length): New variable.
21699 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21701 2009-07-21 Richard Stallman <rms@gnu.org>
21703 * files.el (auto-save-mode): Handle buffer-save-size = -2
21706 2009-07-21 Glenn Morris <rgm@gnu.org>
21708 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21710 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21712 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21713 silence compiler. Instead...
21714 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21715 (ps-print-ensure-fontified): Update for above function name changes.
21717 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21718 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21719 silence compiler. Instead...
21720 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21721 (mh-show-buffer): Only define for compiler.
21722 (pr-mh-current-message): Update for above function name changes.
21724 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21726 (find-file-noselect, insert-file-1): Update for above change.
21728 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21730 * mail/mailclient.el (mailclient-send-it): Fix message.
21732 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21733 (edebug-eval): Check cl-debug-env is bound.
21734 (print-level, print-circle): Don't redefine built-in variables.
21736 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21737 (custom-print-vectors): Remove old comments from doc.
21739 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21740 (emerge-version): Make the variable an obsolete alias for the
21741 emacs-version variable. Make the function obsolete.
21742 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21743 Emerge options, rather than merging in into the main Options menu.
21744 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21745 and auto advance modes. Disable edit/fast items when not relevant.
21747 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21749 * term/vt420.el (terminal-init-vt420): Fix typo.
21751 2009-07-20 Sam Steingold <sds@gnu.org>
21753 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21754 variable (removed from compile.el on 2004-03-11).
21756 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21758 * files.el (hack-local-variables-filter): Fix last change.
21760 2009-07-19 Juri Linkov <juri@jurta.org>
21762 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21763 (dir-local-variables-alist): New buffer-local variable.
21764 (hack-local-variables-filter): If variable is not dir-local,
21765 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21766 because file-local overrides dir-local.
21767 (c-postprocess-file-styles) <declare-function>:
21768 Remove obsolete declaration.
21769 (hack-dir-local-variables): Add dir-local variable/value pair to
21770 `dir-local-variables-alist' and remove duplicates. Doc fix.
21772 * help-fns.el (describe-variable): Add information about
21773 file-local and dir-local variables.
21775 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21777 * files.el (hack-local-variables-filter): Rewrite.
21779 2009-07-19 Glenn Morris <rgm@gnu.org>
21781 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21782 Silence compiler by only defining on XEmacs.
21784 * international/mule.el (auto-coding-regexp-alist): Only match
21785 BABYL... at the start of buffer, not of lines. (Bug#3790)
21787 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21788 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21789 (cal-menu-context-mouse-menu): Doc fix.
21791 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21793 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21795 2009-07-18 Juri Linkov <juri@jurta.org>
21797 * info.el: Virtual Info keyword finder.
21798 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21799 (Info-finder-file): New variable.
21800 (Info-finder-find-file): New function.
21801 (finder-known-keywords, finder-package-info)
21802 (find-library-name, lm-commentary): Use defvar and
21803 declare-function to silence compiler warnings.
21804 (Info-finder-find-node): New function.
21805 (info-finder): New command.
21807 * subr.el (process-kill-buffer-query-function): New function.
21808 (add-hook)<kill-buffer-query-functions>: Add hook
21809 `process-kill-buffer-query-function'.
21811 2009-07-18 Alan Mackenzie <acm@muc.de>
21813 * progmodes/cc-mode.el (c-before-hack-hook)
21814 (c-postprocess-file-styles): Give invocation of `c-set-style'
21815 DONT-OVERRIDE parameter of t. Already set style variables will
21816 thus not be overridden by style settings given by `c-file-syle'.
21818 * files.el (hack-local-variables-filter): Remove entries with
21819 duplicate keys from `file-local-variables-alist'.
21821 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21823 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21824 x-set-selection if display-selections-p returns nil for the
21827 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21829 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21831 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21833 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21834 Accept nil in addition to a regexp.
21835 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21836 Accept nil in addition to a regexp.
21837 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21838 buffers that have an associated file. Handle nil values of
21839 desktop-buffers-not-to-save and desktop-files-not-to-save.
21842 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21843 (x-disown-selection-internal): New functions.
21845 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21847 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21849 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21850 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21852 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21854 * simple.el (set-mark): Revert last change.
21856 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21858 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21859 rendering of pngs is not possible instead of messaging a long
21862 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21864 * w32-fns.el (x-selection-owner-p): New function.
21866 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21867 (mouse-yank-at-click, mouse-yank-primary):
21868 If select-active-regions is non-nil, deactivate the mark before
21871 * simple.el (deactivate-mark, set-mark): Only save selection if we
21874 2009-07-17 Kenichi Handa <handa@m17n.org>
21876 * case-table.el (describe-buffer-case-table): Fix for the case
21877 that KEY is a cons.
21879 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21881 * vc-rcs.el (vc-rcs-find-file-hook):
21882 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21884 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21886 * net/tramp.el (tramp-wait-for-output): Handle the case when
21887 commands do not return a newline but a null byte before the shell
21890 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21892 * term/ns-win.el (ns-set-alpha): Don't declare.
21893 (ns-set-background-alpha): Remove function.
21895 2009-07-16 Kevin Ryde <user42@zip.com.au>
21897 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21898 y-or-n-p, for safety.
21900 2009-07-16 Richard Stallman <rms@gnu.org>
21902 * files.el (auto-save-mode): If buffer-saved-size is -2,
21905 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21906 (rmail-retry-ignored-headers): Add more uninteresting fields.
21908 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21910 * net/rcirc.el (rcirc): Use history variables.
21911 (rcirc-server-name-history, rcirc-nick-name-history)
21912 (rcirc-server-port-history): New variables.
21914 2009-07-15 Kenichi Handa <handa@m17n.org>
21916 * international/mule-cmds.el (set-language-environment-charset):
21917 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21920 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21921 Delete unibyte-display.
21923 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21925 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21927 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21929 * simple.el (deactivate-mark): Optional argument FORCE.
21930 (set-mark): Use deactivate-mark.
21932 * info.el (Info-search): No need to check transient-mark-mode
21933 before calling deactivate-mark.
21935 * select.el (x-set-selection): Doc fix.
21936 (x-valid-simple-selection-p): Allow buffer values.
21937 (xselect--selection-bounds): Handle buffer values.
21938 Suggested by David De La Harpe Golden.
21940 * mouse.el (mouse-set-region, mouse-drag-track):
21941 Call copy-region-as-kill before setting the mark, to let
21942 select-active-regions work.
21944 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21946 * simple.el (deactivate-mark): If select-active-regions is
21947 non-nil, copy the selection data into a string.
21948 (activate-mark): If select-active-regions is non-nil, set the
21949 selection to the current buffer.
21950 (set-mark): Update selection if select-active-regions is non-nil.
21952 * select.el (x-valid-simple-selection-p): Allow buffer values.
21954 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21956 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21957 and more featureful message-mode.
21959 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21961 * select.el (x-set-selection): Doc fix.
21962 (x-valid-simple-selection-p): Disallow selection data consisting
21963 of a list or cons of integers, since that is not used.
21964 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21965 (xselect-convert-to-string, xselect-convert-to-length)
21966 (xselect-convert-to-filename, xselect-convert-to-charpos)
21967 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21969 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21971 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21972 output in -break-info command (Emacs bug #3794).
21974 2009-07-14 Glenn Morris <rgm@gnu.org>
21976 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21977 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21978 (edebug-print-length, edebug-print-level, edebug-print-circle)
21979 (edebug-sit-for-seconds, edebug-view-outside)
21980 (edebug-bounce-point, edebug-set-global-break-condition)
21981 (edebug-Go-nonstop-mode, edebug-trace-mode)
21982 (edebug-Trace-fast-mode, edebug-continue-mode)
21983 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21984 (edebug-visit-eval-list): Doc fixes.
21986 * subr.el (def-edebug-spec): Doc fix.
21988 2009-07-14 Kenichi Handa <handa@m17n.org>
21990 * international/characters.el: Fix setting of category ?C.
21992 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21994 * term/ns-win.el (x-select-font): defalias x-select-font to
21995 ns-popup-font-panel instead of generate-fontset-menu.
21997 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21999 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22001 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22003 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22004 the PK\003\004 header (Bug#3770).
22006 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22008 * pcomplete.el (pcomplete-comint-setup): Check for
22009 shell-dynamic-complete-filename too.
22011 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22013 * simple.el (temporary-goal-column): Change the value for
22014 line-move-visual to a cons cell.
22015 (line-move-visual): Record or set the window hscroll, if
22016 necessary (Bug#3494).
22017 (line-move-1): Handle cons value of temporary-goal-column.
22019 2009-07-11 Kenichi Handa <handa@m17n.org>
22021 * international/mule-diag.el (describe-character-set): Don't show
22024 2009-07-10 Sam Steingold <sds@gnu.org>
22026 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22027 Omake sometimes indents the errors it prints, so allow all
22028 regexps to start with spaces.
22030 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22032 * cus-edit.el (customize-changed-options-previous-release):
22033 Bump value to 22.1. (Bug#3804)
22035 2009-07-08 Sam Steingold <sds@gnu.org>
22037 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22038 to be a cons cell (test . ignored-directory) to selectively ignore
22039 some directories depending on the location of the search.
22041 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22043 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22044 remote user is root, on the local host.
22045 (tramp-local-host-p): Either the local user or the remote user
22046 must be root. (Bug#3771)
22048 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22050 * progmodes/gdb-mi.el (gdb): Remove description of
22051 gdb-use-separate-io-buffer.
22052 (menu): Don't allow toggling of or enable
22053 gdb-use-separate-io-buffer from menubar.
22055 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22057 * mail/unrmail.el (unrmail): Make sure the message ends with two
22058 newlines (Bug#3769).
22060 2009-07-08 Glenn Morris <rgm@gnu.org>
22062 * calendar/calendar.el (calendar-current-date): Rework previous change.
22064 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22066 * calendar/calendar.el (calendar-current-date):
22067 Add an optional argument giving an offset from today.
22069 2009-07-08 Glenn Morris <rgm@gnu.org>
22071 * tutorial.el (tutorial--describe-nonstandard-key):
22072 Adjust the message for when a key has been unbound.
22073 (help-with-tutorial): Hide the arch-tag.
22075 2009-07-08 Kenichi Handa <handa@m17n.org>
22077 * international/fontset.el (setup-default-fontset): For each
22078 script, append (not set) font-specs.
22080 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22083 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22085 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22086 -data-list-register-names to ...
22087 (gdb-starting): ... here because GDB 7.0 requires execution to
22088 have started when using this MI command.
22089 (gdb-set-header): New function to distinguish select and
22090 unselected tabs in gdb buffers.
22091 (gdb-propertize-header): New macro that uses gdb-set-header.
22092 (gdb-breakpoints-header, gdb-locals-header): Use it.
22093 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22095 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22097 * Makefile.in (ELCFILES): Remove fadr.elc.
22099 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22101 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22102 may contain frame information, so `string-match' should be used.
22103 (gdb-update): Disassembly is invalidated through
22104 `gdb-get-selected-frame'.
22105 (gdb-pad-string): New function to pad string with spaces.
22106 (gdb-invalidate-disassembly): Invalidate only if the buffer
22108 (gdb-disassembly-handler-custom): Column alignment.
22109 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22111 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22113 (gdb-frame-handler): Match convention to for disassembly buffer
22115 (gdb-stack-list-frames-handler): Rewritten without regexps.
22116 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22117 not highlight breakpoints without line information.
22118 (gdb-input): Add trailing newline to command.
22120 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22122 (gdb-breakpoints-list-handler-custom): Replacement for
22123 `gdb-break-list-handler'. Using real parser instead of regexps
22125 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22126 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22127 to place breakpoints.
22128 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22130 (gdb-disassembly-handler-custom): Show overlay arrow.
22131 (gdb-disassembly-place-breakpoints): Show breakpoints in
22132 disassembly buffer.
22133 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22134 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22135 instead of parsing breakpoints buffer. Fixed old menu references
22140 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22141 (gdb-memory-address): New variable which holds top address of
22142 memory page shown in memory buffer.
22143 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22144 New customization variables.
22146 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22147 display the memory buffer.
22148 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22149 buffer display parameters.
22150 (def-gdb-memory-format, gdb-memory-format-binary)
22151 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22152 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22153 Functions for setting memory buffer format.
22154 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22155 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22156 unit size used in memory buffer.
22157 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22158 Switch to next/previous page of memory buffer.
22159 Now using (bindat-get-field) instead of fadr functions.
22161 2009-07-07 Sam Steingold <sds@gnu.org>
22163 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22164 non-top-level files.
22166 2009-07-07 Kenichi Handa <handa@m17n.org>
22168 * international/mule-cmds.el (reset-language-environment):
22169 Put the highset priority to the charset iso-8859-1.
22171 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22173 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22174 to the end of the line when locating the block (Bug#700).
22176 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22178 * net/tramp.el (tramp-handle-write-region): Flush file properties
22179 in case of short track.
22181 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22183 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22184 Coded custom representation of verilog error regular expressions
22185 to work with Emacs-22's new format.
22186 (verilog-error-regexp-xemacs-alist): Coded custom representation
22187 of verilog error regular expressions to work with XEmacs format.
22188 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22189 error recognition into XEmacs.
22190 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22191 error recognition into Emacs-22.
22193 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22195 * woman.el: Remove stand-alone closing parentheses.
22196 (woman-file-name, woman2-format-paragraphs)
22197 (woman-leave-blank-lines): Code cleanup.
22198 (woman-use-own-frame): Change default to nil.
22199 (woman-italic, woman-bold, woman-unknown, woman-addition):
22200 Change defaults to inherit from default faces.
22201 (woman2-process-escapes): Consume the newline after a stand-alone
22202 filler character (Bug#3651).
22204 2009-07-06 Glenn Morris <rgm@gnu.org>
22206 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22207 (top-level): Move provide to the end.
22208 (ffap): Remove defunct URL from custom group.
22210 * subr.el (eval-after-load): Doc fix.
22212 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22214 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22215 `calc-embedded-word' is called twice.
22217 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22219 * files.el (find-alternate-file-other-window, find-alternate-file):
22220 Obey confirm-nonexistent-file-or-buffer.
22222 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22224 * dired-aux.el (dired-show-file-type): Handle remote files.
22226 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22228 * desktop.el (desktop-globals-to-save):
22229 Add file-name-history (Bug#2750).
22231 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22233 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22235 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22237 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22238 property on entire argument since this is what eshell-lisp-command
22241 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22243 * net/tramp-gvfs.el (tramp-gvfs-methods)
22244 (tramp-gvfs-zeroconf-domain)
22245 (tramp-bluez-discover-devices-timeout): Add version flag.
22246 (tramp-gvfs-handler-mounted-unmounted)
22247 (tramp-gvfs-connection-mounted-p): Polish handling of
22248 incompatibilities between GVFS 0.2 and 1.0.
22250 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22252 * cus-start.el (all): Add make-pointer-invisible.
22254 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22256 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22257 formatted correctly.
22259 2009-07-02 Juri Linkov <juri@jurta.org>
22261 * info.el: Virtual Info files and nodes.
22262 (Info-virtual-files, Info-virtual-nodes): New variables.
22263 (Info-current-node-virtual): New variable.
22264 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22266 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22267 to check for a virtual file instead of checking a fixed list
22269 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22270 instead of ad-hoc processing of "dir" and (apropos history toc).
22271 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22272 instead of ad-hoc processing of "dir" and (apropos history toc).
22273 Reread a file when moving from a virtual node.
22274 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22275 (Info-directory-toc-nodes, Info-directory-find-file)
22276 (Info-directory-find-node): New functions.
22277 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22278 (Info-history): Move part of code to
22279 `Info-history-find-node'.
22280 (Info-history-toc-nodes, Info-history-find-file)
22281 (Info-history-find-node): New functions.
22282 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22283 (Info-toc): Move part of code to `Info-toc-find-node'.
22284 (Info-toc-find-node): New function.
22285 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22286 the current Info file name to references because now the node
22287 "*TOC*" belongs to the same Info manual.
22288 (Info-toc-build): Rename from `Info-build-toc'.
22289 (Info-toc-nodes): Rename input argument `file' to `filename'.
22290 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22291 instead of ad-hoc processing of ("dir" apropos history toc).
22292 (Info-index-nodes): Use Info-virtual-file-p
22293 to check for a virtual file instead of checking a fixed list
22295 (Info-index-node): Add check for `Info-current-node-virtual'.
22296 Raise `save-match-data' higher up the tree to contain
22297 `search-forward' too (bug fix).
22298 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22299 (Info-virtual-index-nodes): New variable.
22300 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22301 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22302 (Info-apropos-file, Info-apropos-nodes): New variables.
22303 (Info-apropos-toc-nodes, Info-apropos-find-file)
22304 (Info-apropos-find-node, Info-apropos-matches): New functions.
22305 (info-apropos): Move part of code to `Info-apropos-find-node' and
22306 `Info-apropos-matches'.
22307 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22308 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22309 for a virtual file instead of checking a fixed list of node names.
22311 * simple.el (async-shell-command): New command.
22313 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22315 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22316 instead of `mount-info'.
22318 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22320 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22321 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22323 2009-07-02 Kenichi Handa <handa@m17n.org>
22325 * international/mule.el (set-keyboard-coding-system): Force *-unix
22326 coding-system to avoid eol conversion.
22328 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22331 Add handler for `process-file', `shell-command' and
22332 `start-file-process'.
22333 (tramp-gvfs-handle-shell-command)
22334 (tramp-gvfs-handle-start-file-process)
22335 (tramp-gvfs-handle-process-file): New defuns.
22336 (tramp-synce-list-devices): Simplify check for existence of property.
22338 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22340 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22342 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22344 * language/korean.el (set-language-info-alist): Add korean-cp949,
22347 2009-07-01 Kenichi Handa <handa@m17n.org>
22349 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22351 * international/encoded-kb.el: Deleted.
22353 * international/mule.el (set-keyboard-coding-system): Perform the
22354 necessary setup here instead of calling encoded-kbd-setup-display.
22356 2009-07-01 Glenn Morris <rgm@gnu.org>
22358 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22360 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22362 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22364 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22366 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22367 Handle also the 'rename case, when setting file modes. (Bug#3712)
22368 (tramp-default-file-modes): Remove execute permissions.
22370 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22371 (top): Add a default for "synce" in `tramp-default-user-alist'.
22372 Add completion function for "synce" method.
22373 (tramp-hal-service, tramp-hal-path-manager)
22374 (tramp-hal-interface-manager, tramp-hal-interface-device):
22376 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22377 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22380 * net/trampver.el: Update release number.
22382 2009-06-30 Kenichi Handa <handa@m17n.org>
22384 * international/fontset.el (setup-default-fontset): Add CJK fonts
22385 for symbols and the other miscellaneous characters.
22387 * language/korea-util.el (setup-korean-environment-internal):
22388 Make char-width-table suitable for Korean environments.
22389 (exit-korean-environment): Cancel above.
22391 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22392 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22393 setup-function to make char-width-table suitable for respective
22394 environments, and an exit-function to cancel that.
22396 * language/japan-util.el (setup-japanese-environment-internal):
22397 Call use-cjk-char-width-table with arg `ja_JP'.
22399 * international/characters.el (cjk-char-width-table): Delete it.
22400 (cjk-char-width-table-list): New variable.
22401 (use-cjk-char-width-table): New arg local-name.
22402 (use-default-char-width-table): Fix for the case that Emacs is
22403 already using the default char-width-table.
22405 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22407 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22408 modes mandatory. (Bug#3712)
22410 2009-06-29 Alan Mackenzie <acm@muc.de>
22412 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22413 correction between the visible width of TABs and their number of bytes.
22415 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22417 * server.el (server-buffer-done): Prevent kill-buffer from
22418 prompting by clearing the buffer modification flag (Bug#3696).
22420 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22422 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22423 (verilog-endcomment-reason-re): Support unique case and priority case.
22424 (verilog-basic-complete-re): Support localparam lineup.
22425 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22426 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22428 (verilog-leap-to-case-head): Now support *nested* unique &
22429 priority case statements.
22430 (verilog-auto-lineup): Make just declarations the default (as it
22432 (verilog-leap-to-case-head): Support priority/unique case statements.
22433 (verilog-auto-lineup): Rework to give users radio buttons to
22434 select the various styles of automatic lineup.
22435 (verilog-error-regexp-alist): Rework to support the XEmacs style
22436 of error regular expressions from compilers, lint tools &
22437 simulators. Note that GNU Emacs has made it impossible for a mode
22438 to load such things.
22439 (electric-verilog-terminate-line, verilog-indent-declaration)
22440 (verilog-auto-wiure): Rework for radio button selection of
22441 auto-lineup selection of specification of auto lineup.
22442 (verilog-beg-of-statement-1): Redesign to support proper operation
22443 in additional code, based on testing with auto-lineup.
22444 (verilog-calculate-indent, assignments & declarations)
22445 (verilog-backward-token): Enhance to support auto-lineup of
22446 assignments & declarations.
22447 (verilog-in-directive-p, verilog-at-struct-p): New function for
22448 easy test of whether we are.
22449 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22450 to support safe execution at almost anyline.
22451 (verilog-calc-1): Properly support indenting deep inside generate
22453 (verilog-init-font): Remove definition & use of verilog-init-font,
22454 as it is redundant with font-lock-defaults.
22455 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22456 to avoid circular calls if syntax-ppss is a function (as is the
22457 case now in 22.x GNU Emacs) as that function would sometimes call
22458 itself, leading to (nearly) infinite recursion.
22459 (verilog-ovm-begin-re, verilog-ovm-end-re)
22460 (verilog-ovm-statement-re, verilog-leap-to-head)
22461 (verilog-backward-token): Add support for OVM macros. Some are
22462 complete statements, and others open and close scopes like begin
22464 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22465 (verilog-defun-level-generate-only-re): Really fix the defun-list
22467 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22468 coverpoint, constraint and cross statements.
22469 (verilog-defun-level-list, verilog-generate-defun-level-list)
22470 (verilog-all-defun-level-list): Redo these specifications - it is
22471 too hard to support eval-when compile aggregation of lists also
22472 built at when-compile time.
22473 (verilog-defun-level-list): Place defconsts of variables used in
22474 building regular expressions which are built in eval-when-compile
22475 bodies in the same eval-when-compile body to facilitate compile
22477 (verilog-beg-block-re-ordered): Support indenting
22478 virtual/protected tasks and functions.
22479 (verilog-defun-level-list, verilog-in-generate-region-p)
22480 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22481 indentation of some module items (generate items).
22482 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22483 across virtual/protected tasks and functions.
22485 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22487 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22488 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22489 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22490 in concatenations. Reported by Yishay Belkind.
22491 (verilog-auto-ascii-enum): Support one-hot state machines in
22492 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22493 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22494 modport in AUTOINST and add vl-modport for users.
22495 Reported by David Rogoff.
22496 (verilog-auto-inout-module, verilog-auto-inst)
22497 (verilog-decls-get-interfaces, verilog-insert-definition)
22498 (verilog-insert-one-definition, verilog-read-decls)
22499 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22500 (verilog-sig-modport, verilog-signals-combine-bus)
22501 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22502 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22503 Suggested by David Rogoff.
22504 (verilog-repair-open-comma): Fix non-insertion of comma when
22505 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22506 (verilog-make-width-expression): Simplify [A-1:0] expression
22507 widths to just {A{1'b0}}.
22508 (verilog-mode): Cleanup checkdoc warnings.
22509 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22510 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22511 inputs/outputs or data type. Suggested by Vasu Kandadi.
22512 (next-error-last-buffer): Fix byte-compiler warning.
22513 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22514 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22515 or shell command text during AUTO expansion. Suggested by Tad Truex.
22516 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22517 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22518 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22519 in AUTOINOUT. Reported by Matthew Lovell.
22520 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22521 causing use of <= assignments. Reported by Alex Reed.
22522 (verilog-read-decls): Fix triand, trior, wand, wor to be
22523 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22524 (verilog-extended-complete-re): Support import "DPI-C" functions.
22525 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22526 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22527 (verilog-insert-date, verilog-insert-year)
22528 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22529 Windows systems. Reported by Michael Potts.
22530 (verilog-read-module-name): Fix AUTOINST when the child module
22531 declaration's name is a tick define. Reported by Elliot Mednick.
22532 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22533 passed to next parameter's definition. Reported by Bruce T.
22534 (verilog-read-decls): Fix detecting "parameter int" when using
22535 AUTOINSTPARAM. Reported by Bruce T.
22536 (verilog-goto-defun): Fix goto not finding modules unless first
22537 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22538 (verilog-mode): Expand -f flag arguments on entry to mode so
22539 verilog-goto-defun will work. Reported by Lawrence Butcher.
22540 (verilog-getopt): Expand environment variables in -f file
22541 arguments. Suggested by Lawrence Butcher.
22542 (verilog-set-define): Fix "Symbol's value as variable is void"
22543 when reading enumerations.
22544 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22545 Suggested by Stephen Peltan.
22546 (verilog-read-defines): Fix reading of enumerations in include
22547 files. Reported by Steve Peltan.
22549 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22551 * files.el (trash-directory): Fix defcustom type.
22553 2009-06-28 Juri Linkov <juri@jurta.org>
22555 * help-fns.el (describe-function-1): Correctly locate adviced
22556 functions in hyperlink (Bug#2438).
22558 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22560 * files.el (trash-directory): Change default to nil.
22561 (move-file-to-trash): If trash-directory is nil and
22562 system-move-file-to-trash is unbound, perform freedesktop-style
22565 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22567 * files.el (move-file-to-trash): Add freedesktop trash
22570 2009-06-28 Glenn Morris <rgm@gnu.org>
22572 * autorevert.el (global-auto-revert-non-file-buffers)
22573 (global-auto-revert-mode): Doc fixes.
22575 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22577 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22579 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22581 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22582 opened an X connection before calling x-get-resource (Bug#3194).
22584 * play/doctor.el: Remove reference to obsolete website.
22585 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22587 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22589 Remove find-file-not-found-hook VC method. (Bug#2757)
22590 * vc-hooks.el (vc-file-not-found-hook)
22591 (vc-default-find-file-not-found-hook): Remove functions.
22592 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22593 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22596 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22598 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22600 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22601 compatibility function for `looking-back'.
22603 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22604 Use `ispell-looking-back'.
22606 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22608 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22609 rather than `filename'.
22611 2009-06-23 Miles Bader <miles@gnu.org>
22613 * face-remap.el (text-scale-set): New function.
22615 2009-06-23 Glenn Morris <rgm@gnu.org>
22617 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22619 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22621 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22623 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22625 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22626 Simplify Persian conditionals.
22628 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22629 variable `filename'.
22631 * comint.el (comint-insert-input): Doc fix.
22633 * Makefile.in (ELCFILES): Fix typo in previous change.
22635 2009-06-23 Miles Bader <miles@gnu.org>
22637 * cus-start.el: Add entry for `recenter-redisplay'.
22639 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22641 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22642 Add an optional argument for the backend, use it instead of
22643 calling vc-backend.
22644 (vc-mode-line): Add an optional argument for the backend.
22645 Pass the backend to vc-state and vc-working-revision. Move code for
22646 special handling for vc-state being a buffer to ...
22648 * vc-rcs.el (vc-rcs-find-file-hook):
22649 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22651 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22652 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22653 vc-stay-local-p and vc-mode-line calls.
22655 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22656 (vc-cvs-diff, vc-cvs-annotate-command)
22657 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22658 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22659 vc-mode-line calls.
22661 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22663 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22664 backend when calling vc-mode-line.
22665 (vc-register): Do not create a closure for calling the vc register
22666 function, call it directly.
22668 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22670 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22671 to make it obvious item can be clicked.
22673 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22675 2009-06-23 Kenichi Handa <handa@m17n.org>
22677 * language/korea-util.el (korean-key-bindings): Change the binding
22678 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22681 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22683 Sync with Tramp 2.1.16.
22685 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22687 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22688 when a loading of a package fails. Completion function for rsync
22689 is `tramp-completion-function-alist-ssh'.
22690 (all): Replace all calls of `split-string' and
22691 `tramp-split-string' by `tramp-compat-split-string'.
22692 (tramp-default-method): Use `tramp-compat-process-running-p'.
22693 (tramp-default-proxies-alist): Allow also Lisp forms.
22694 (tramp-remote-path): Add choice "Private Directories".
22695 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22696 (tramp-domain-regexp): Allow also "-", "_" and ".".
22697 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22698 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22699 (tramp-debug-message): Insert header line in debug buffer.
22700 (tramp-handle-directory-files-and-attributes-with-stat):
22701 Care about filenames with spaces, or starting with "-".
22702 (tramp-handle-dired-uncache): New defun.
22703 (tramp-handle-insert-directory): Don't flush the directory from
22704 cache, this is handled by `dired-uncache' now.
22705 (tramp-handle-insert-file-contents): Improve error handling.
22706 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22707 Quote `tramp-end-of-output'.
22708 (tramp-action-password): Improve trace message.
22709 (tramp-check-for-regexp): Both echoes must be present, before removing.
22710 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22711 (tramp-compute-multi-hops): Eval cons cells of
22712 `tramp-default-proxies-alist'.
22713 (tramp-maybe-open-connection): Use the same command pattern for
22714 first hop and further hops.
22715 (tramp-wait-for-output): Remove handling of newlines.
22716 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22717 (tramp-split-string): Remove function. It is handled in
22720 * net/tramp-cmds.el (tramp-bug):
22721 Recommend `tramp-cleanup-all-connections' in the bug mail.
22723 * net/tramp-compat.el (tramp-compat-split-string)
22724 (tramp-compat-process-running-p): New defuns.
22726 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22727 for `dired-uncache'.
22729 * net/tramp-gvfs.el: New package.
22731 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22732 Add handler for `dired-uncache'.
22733 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22735 * net/trampver.el: Update release number. Make version check fit
22738 2009-06-22 Jim Meyering <meyering@redhat.com>
22740 Automatically handle .xz suffix (XZ-compressed files), too.
22741 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22742 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22744 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22745 Nick Roberts <nickrob@snap.net.nz>
22747 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22748 repository (http://sphinx.net.ru/hg/gdb-mi/).
22750 2009-06-22 Glenn Morris <rgm@gnu.org>
22752 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22753 `mode' and `eval' entries. (Bug#3430)
22755 * Makefile.in (ELCFILES): Add fadr.elc.
22757 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22758 differing behavior of \n and ^ in strings. (Bug#3385)
22760 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22762 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22764 (lisp-indent-function): Make it a defcustom.
22766 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22768 * progmodes/gdb-ui.el: Replace with ...
22769 * progmodes/gdb-mi.el: ... this file.
22770 * progmodes/gud.el: Modify for gdb-mi.el.
22772 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22774 * fadr.el: New file.
22776 See ChangeLog.14 for earlier changes.
22778 ;; Local Variables:
22782 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22784 This file is part of GNU Emacs.
22786 GNU Emacs is free software: you can redistribute it and/or modify
22787 it under the terms of the GNU General Public License as published by
22788 the Free Software Foundation, either version 3 of the License, or
22789 (at your option) any later version.
22791 GNU Emacs is distributed in the hope that it will be useful,
22792 but WITHOUT ANY WARRANTY; without even the implied warranty of
22793 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22794 GNU General Public License for more details.
22796 You should have received a copy of the GNU General Public License
22797 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.