1 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3 * emacs-lisp/package.el (package-version-join): Impose a standard
4 string representation for pre/alpha/beta version lists.
5 (package-unpack-single): Standardize the directory name by passing
6 it through package-version-join.
7 (package-strip-rcs-id): Accept any version string that does not
8 signal an error in version-to-list.
10 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
12 * simple.el (delete-trailing-whitespace): Return nil for the
13 benefit of `write-file-functions'.
15 2011-03-10 Glenn Morris <rgm@gnu.org>
17 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19 * vc/vc-git.el (vc-git-program): New option.
20 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21 (vc-git--call): Use it.
23 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25 * cus-edit.el (Custom-newline): If no button at point, look
26 for a subgroup button at start-of-line. (Bug#2298)
28 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
30 2011-03-10 Julien Danjou <julien@danjou.info>
32 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
35 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
37 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
39 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
41 * allout.el Summary: Change so yank of distinctive-bullet items
42 preserves the existing header prefix, rebulleting it if necessary,
43 rather than replacing it. This is necessary for proper operation
44 of cooperative addons like allout-widgets.
45 (allout-make-topic-prefix) (allout-rebullet-heading): Change
46 SOLICIT arg to INSTEAD, and interpret additionally a string value
47 as alternate bullet to be used, instead of prompting the user for
50 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
52 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
53 not use `tramp-file-name-port', because this returns also
56 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
58 * net/rcirc.el (rcirc-handler-001): Remove useless
59 with-rcirc-process-buffer.
60 (rcirc-check-auth-status): Swap arguments to string-match.
62 2011-03-09 Glenn Morris <rgm@gnu.org>
64 * shell.el (shell-mode):
65 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
67 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
68 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
70 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
72 * emacs-lisp/package.el (package-refresh-contents)
73 (package-menu-execute): Use condition-case-no-debug.
75 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
77 * simple.el (shell-command-to-string): Use `process-file'.
79 * emacs-lisp/package.el (package-tar-file-info): Handle also
82 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
83 `equal' for upload base check.
85 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
87 * textmodes/texinfo.el (texinfo-environments):
88 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
90 2011-03-08 Glenn Morris <rgm@gnu.org>
92 * cus-start.el (cursor-in-non-selected-windows):
93 Fix :set quoting oddness. (Bug#8192)
95 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
96 in some setf expressions. (Bug#2159)
98 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
100 * custom.el (custom-available-themes): Return themes in
103 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
105 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
106 application of patch from Alan Mackenzie (Bug#7595).
108 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
110 * net/rcirc.el (rcirc-connect): Fix PASS bug.
112 2011-03-07 Glenn Morris <rgm@gnu.org>
114 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
115 Give an explicit error if failed to make writable. (Bug#6146)
117 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
119 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
120 Add optional `after-sunset' argument. (Bug#8190)
122 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
124 * play/morse.el (nato-alphabet, nato-region, denato-region):
125 New variable and functions. (Bug#2288)
126 (morse-region, unmorse-region): Barf if read-only.
128 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
130 * progmodes/gud.el (gdb-script-syntax-propertize-function):
131 Don't change the syntax of a \n that closes a comment (bug#8169).
133 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
135 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
137 (package--update-file): Doc fix. Accept relative file names.
138 (package--archive-contents-from-file): Remove the argument, since
139 it's necessarily always "archive-contents".
140 (package-maint-add-news-item): Pass relative file name args to
141 package--update-file.
142 (package-upload-buffer-internal): Prompt for a destination if
143 package-archive-upload-base is invalid. Create the directory if
145 (package-upload-buffer, package-upload-file): Doc fix.
147 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
149 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
150 and move isearch-yank-line to M-s C-e (Bug#8183).
152 2011-03-06 Alan Mackenzie <acm@muc.de>
154 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
155 (c-guess-basic-syntax): Move CASE 19 to a different place,
156 correctly to process template-args-cont lines.
158 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
160 * calc/calc-ext.el (calc-init-extensions):
161 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
162 and calc-nplevel, respectively. Add keybindings for calc-spn,
163 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
164 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
166 * calc/calc-units.el (calc-dblevel): Rename from
167 calc-logunits-dblevel.
168 (calc-nplevel): Rename from calc-logunits-nplevel.
169 (math-midi-round, math-freqp, math-midip, math-spnp)
170 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
171 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
172 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
173 (math-notes): New variable.
175 * calc/calc.el (calc-note-threshold): New variable.
177 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
179 * emacs-lisp/package.el (package-archives): Accept either ordinary
180 directory names, in addition to HTTP URLs.
181 (package--with-work-buffer): New macro. Handle normal directories.
182 (package-handle-response): Don't display the failing buffer.
183 (package-download-single, package-download-tar)
184 (package--download-one-archive): Use package--with-work-buffer.
185 (package-archive-base): Rename from package-archive-url.
187 2011-03-06 Glenn Morris <rgm@gnu.org>
189 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
190 (xmodmap-generic-mode): Respect generic-extras-enable-list.
192 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
194 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
196 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
198 * allout.el (allout-init, allout-prefixed-keybindings)
199 (allout-unprefixed-keybindings):
200 * progmodes/prolog.el (prolog-find-term):
201 Fix typos in docstrings.
203 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
205 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
207 2011-03-06 Kevin Ryde <user42@zip.com.au>
209 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
211 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
213 * window.el (one-window-p, walk-windows, display-buffer):
214 Doc fixes. (Bug#5567)
216 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
218 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
219 of the variable if it exists.
221 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
228 * net/tramp-cache.el:
229 * obsolete/fast-lock.el:
230 * textmodes/reftex.el:
231 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
233 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
235 * files.el (delete-directory, copy-directory, list-directory):
236 Use read-directory-name.
238 * find-file.el (ff-find-the-other-file):
239 * net/ange-ftp.el (ange-ftp-make-directory):
240 * printing.el (pr-interactive-dir):
241 * progmodes/ada-prj.el (ada-prj-load-directory):
242 * progmodes/ebnf2ps.el (ebnf-print-directory)
243 (ebnf-spool-directory, ebnf-eps-directory)
244 (ebnf-syntax-directory):
246 * speedbar.el (speedbar-create-directory):
247 * vc/emerge.el (emerge-merge-directories):
248 * vc/vc-dir.el (vc-dir):
249 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
251 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
253 * help-mode.el (help-buffer): If we are to return the current
254 buffer, signal an error if it's not in Help mode (Bug#8147).
256 2011-03-05 Reuben Thomas <rrt@sc3d.org>
258 * files.el (file-name-version-regexp): Handle backup files of the
259 form `foo.js.~HEAD~1~' (Bug#8159).
261 2011-03-05 Glenn Morris <rgm@gnu.org>
263 * eshell/esh-var.el: Don't require esh-test when compiling.
264 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
265 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
266 * eshell/esh-test.el: Move to ../../test/eshell.el.
268 2011-03-05 David Engster <deng@randomsample.de>
270 * files.el (save-some-buffers): Report the names of buffers saved
271 automatically due to buffer-save-without-query (Bug#8134).
273 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
275 * net/rcirc.el: Add QuakeNet authentication support.
276 (rcirc-authinfo, rcirc-check-auth-status)
277 (rcirc-authenticate): Support QuakeNet.
279 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
281 * net/rcirc.el: Add functionality to authenticate before
282 autojoining channels.
283 (rcirc-authenticate-before-join): New option.
284 (rcirc-authenticated-hook): New variable.
285 (rcirc-connect): Make local variable rcirc-user-authenticated.
286 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
287 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
289 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
290 Call rcirc-check-auth-status.
292 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
294 * net/soap-client.el (soap-namespace-put-link): Check if the target
295 name is fully qualified -- use only the name part.
296 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
297 types, treated the same as xsd:sequence. (Bug#8166)
299 2011-03-05 Eli Zaretskii <eliz@gnu.org>
301 * files.el (find-file-noselect): Don't ask about re-visiting
302 non-literally if the file is already visited in image-mode.
305 2011-03-05 Glenn Morris <rgm@gnu.org>
307 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
308 (eshell-mode): Use eshell-kill-buffer-function.
309 Run the -initialize functions independently of the -load-hooks.
310 * eshell/esh-proc.el (eshell-kill-process-function): New function.
311 (eshell-gather-process-output, eshell-sentinel)
312 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
313 Use eshell-kill-process-function.
314 * eshell/em-alias.el (eshell-alias-load-hook):
315 * eshell/em-banner.el (eshell-banner-load-hook):
316 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
317 * eshell/em-dirs.el (eshell-dirs-load-hook):
318 * eshell/em-glob.el (eshell-glob-load-hook):
319 * eshell/em-hist.el (eshell-hist-load-hook):
320 * eshell/em-pred.el (eshell-pred-load-hook):
321 * eshell/em-prompt.el (eshell-prompt-load-hook):
322 * eshell/em-rebind.el (eshell-rebind-load-hook):
323 * eshell/em-script.el (eshell-script-load-hook):
324 * eshell/em-smart.el (eshell-smart-load-hook):
325 * eshell/em-term.el (eshell-term-load-hook):
326 * eshell/em-unix.el (eshell-unix-load-hook):
327 * eshell/esh-arg.el (eshell-arg-load-hook):
328 * eshell/esh-cmd.el (eshell-cmd-load-hook):
329 * eshell/esh-ext.el (eshell-ext-load-hook):
330 * eshell/esh-io.el (eshell-io-load-hook):
331 * eshell/esh-mode.el (eshell-exit-hook):
332 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
333 * eshell/esh-var.el (eshell-var-load-hook):
334 Set default hook values to nil. (Bug#5375)
336 * eshell/esh-module.el (eshell-module-unload-hook)
337 (eshell-modules-list): Remove leading * from defcustom docs.
339 * eshell/esh-util.el (eshell-for): Make it obsolete.
340 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
341 * eshell/em-dirs.el (eshell-save-some-last-dir):
342 * eshell/em-hist.el (eshell-save-some-history)
343 (eshell-hist-parse-modifier):
344 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
346 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
347 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
349 * eshell/esh-ext.el (eshell-find-interpreter):
350 * eshell/esh-mode.el (eshell-mode):
351 * eshell/esh-module.el (eshell-unload-extension-modules):
352 * eshell/esh-proc.el (eshell-process-interact):
353 * eshell/esh-test.el (eshell-test):
354 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
355 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
356 (eshell-variables-list):
357 * eshell/eshell.el (eshell-unload-all-modules):
358 Replace eshell-for with dolist.
360 2011-03-04 Glenn Morris <rgm@gnu.org>
362 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
364 2011-03-04 Tom Tromey <tromey@redhat.com>
366 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
368 2011-03-04 Glenn Morris <rgm@gnu.org>
370 * outline.el (outline-regexp): No longer allow nil.
371 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
373 * net/browse-url.el (browse-url):
374 Handle deleted default-directory. (Bug#6077)
376 * recentf.el (recentf-include-p): In case of a buggy predicate,
377 err on the side of including, not excluding. (Bug#5843)
379 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
381 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
384 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
386 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
387 if there is no node. (Bug#3261)
389 2011-03-04 Leo <sdl.web@gmail.com>
391 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
393 * time.el (display-time-world-list): Fix typo. (Bug#7571)
395 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
397 * cus-edit.el (custom-buffer-create-internal):
398 Split search string before passing it to `customize-apropos' (bug#8136).
400 2011-03-04 Drew Adams <drew.adams@oracle.com>
402 * image-dired.el (image-dired-cmd-read-exif-data-options):
403 Fix typo in docstring (bug#8156).
405 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
407 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
409 2011-03-03 Christian Ohler <ohler@gnu.org>
411 * emacs-lisp/ert.el (ert--explain-equal): New function.
412 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
414 (ert--explain-equal-including-properties): Renamed from
415 `ert--explain-not-equal-including-properties'. All callers
418 2011-03-03 Christian Ohler <ohler@gnu.org>
420 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
421 (ert-char-for-test-result, ert-string-for-test-result)
422 (ert-run-tests-batch, ert--print-test-for-ewoc):
423 Handle `ert-test-quit'.
425 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
427 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
428 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
430 2011-03-03 Glenn Morris <rgm@gnu.org>
432 * files.el (file-truename): Doc fix. (Bug#2341)
434 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
436 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
438 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
440 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
441 programs output backslashes. (Bug#7663)
443 2011-03-03 Glenn Morris <rgm@gnu.org>
445 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
446 (mail-mode): Remove mail-sent-via from the doc.
447 (mail-sent-via): Make it obsolete. (Bug#1776)
449 * progmodes/grep.el (grep-highlight-matches): Doc fix.
450 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
452 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
453 with no parents. (Bug#8025)
455 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
457 * password-cache.el (password-in-cache-p): Add autoload.
459 2011-03-02 Glenn Morris <rgm@gnu.org>
461 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
462 * dired-x.el (Man-support-local-filenames): Autoload it.
463 (dired-guess-shell-alist-default): Also handle Red Hat's man.
465 * dired-x.el (dired-default-directory-alist, dired-default-directory):
467 (dired-smart-shell-command): Just call dired-current-directory.
469 * dired-x.el (dired-jump-other-window): Add autoload.
470 (dired-default-directory-alist, dired-default-directory): Doc fixes.
471 (dired-default-directory-alist): Mark as risky.
473 * dired-x.el (dired-omit-here-always): Make it obsolete.
475 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
477 * textmodes/artist.el (artist-curr-go): Default to pen-line.
478 (artist-select-op-pen-line): New function.
479 (artist-menu-map): New variable.
480 (artist-mode-map): Add a menu to the menu-bar.
482 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
484 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
487 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
489 (math-logunits-add, math-logunits-mul, math-logunits-divide):
490 (math-logunits-quant, math-logunits-level):
491 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
493 (math-logunits-level): Extract units from ratio.
495 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
497 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
499 2011-03-01 Glenn Morris <rgm@gnu.org>
501 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
502 (diary-hebrew-birthday): Rename and rework functions added
505 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
507 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
508 (diary-hebrew-birthday): New functions.
510 2011-03-01 Glenn Morris <rgm@gnu.org>
512 * dired.el (dired-safe-switches-p): Beef it up.
513 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
515 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
517 * dired.el (dired-safe-switches-p): New function.
519 2011-03-01 Glenn Morris <rgm@gnu.org>
521 * files.el (dir-locals-collect-variables):
522 Add the ability to exclude subdirectories. (Bug#8100)
524 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
526 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
528 * ido.el (ido-everywhere): Doc fix.
531 2011-02-28 Glenn Morris <rgm@gnu.org>
533 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
535 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
537 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
540 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
542 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
544 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
546 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
547 Fix typos in docstrings.
549 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
551 * dired-aux.el (dired-update-file-line):
552 Fix 2010-11-09 change. (Bug#8131)
554 2011-02-28 Eli Zaretskii <eliz@gnu.org>
556 * international/mule-cmds.el (set-default-coding-systems): Use the
557 -unix variant of encoding in default-keyboard-coding-system.
560 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
562 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
564 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
566 * term/screen.el: New file (Bug#2650).
568 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
570 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
571 (pcase-mutually-exclusive-predicates): New var.
572 (pcase--split-consp, pcase--split-pred): Use it.
573 (pcase--split-equal, pcase--split-member): When splitting against
574 a pure predicate, run it to know the outcome.
575 (pcase--u1): Mark vars that are actually used.
576 (pcase--q1): Avoid introducing unused vars.
578 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
580 * calc/calc-ext.el (calc-init-extensions):
581 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
583 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
586 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
587 argument is a variable.
589 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
591 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
592 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
593 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
595 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
597 * password-cache.el (password-in-cache-p): Convenience function to
598 check if a key is in the cache, even if the value is nil.
600 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
602 * emacs-lisp/package-x.el (package--archive-contents-from-url)
603 (package--archive-contents-from-file): New functions.
604 (package-update-news-on-upload): New var.
605 (package-upload-buffer-internal): Extract archive-contents from
606 package-archive-upload-base if it is not found at archive-url.
607 Obey package-update-news-on-upload.
608 (package-upload-buffer, package-upload-file): Doc fix.
610 2011-02-24 Glenn Morris <rgm@gnu.org>
612 * files-x.el (modify-dir-local-variable): Handle dir-locals from
613 the cache, and from non-file sources.
615 * help-fns.el (describe-variable): Return consistent results when a
616 dir-local from a file came from the cache or did not. (Bug#8095)
617 If a dir-local has no associated file, say it came from a "directory".
619 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
620 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
622 * files.el (dir-locals-find-file): Doc fix.
623 Fix the check for cache elements that have no associated file,
624 and the mtime check for those that do. (Bug#8095)
626 * dired-x.el (dired-hack-local-variables):
627 Handle interrupts during hacking local variables. (Bug#5216)
629 * emacs-lisp/autoload.el (autoload-save-buffers)
630 (autoload-find-destination, update-directory-autoloads):
631 Avoid prompts when updating autoloads.
633 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
635 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
637 2011-02-23 Kenichi Handa <handa@m17n.org>
639 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
640 error when a multipart boundary in the nested multipart is found.
642 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
645 2011-02-23 Glenn Morris <rgm@gnu.org>
647 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
648 * dired-x.el (dired-omit-mode): Safe if boolean.
649 (dired-enable-local-variables): Fix doc and custom type.
650 (dired-enable-local-variables, dired-local-variables-file)
651 (dired-hack-local-variables): Make obsolete.
652 (dired-omit-here-always): Use dir-locals.el instead.
654 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
656 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
658 * help-fns.el (describe-function-1): Don't signal an error just because
659 the DOC file disappeared.
661 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
663 * eshell/esh-ext.el (eshell-external-command): Do not restrict
664 remote check to "ftp". (Bug#8089)
666 2011-02-21 Alan Mackenzie <acm@muc.de>
669 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
670 in macros finding their way into c-state-nonlit-pos-cache.
671 Strengthen the comments.
672 (c-state-dump): New commented out diagnostic routine.
674 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
676 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
677 `field' property of `rfn-eshadow-overlay'.
679 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
681 * net/netrc.el (netrc-parse): Comment fix.
683 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
685 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
686 Autoload. Add optional arg FRAME, and pass it to color-values.
687 (color-complement): Caller changed. Doc fix.
688 (color-gradient): Rewrite for better clarity and efficiency.
690 * faces.el (color-values): Use cond for clarity. Doc fix.
692 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
694 (list-colors-sort-key, list-colors-print):
695 Use color-normalized-values.
697 2011-02-20 Drew Adams <drew.adams@oracle.com>
699 * color.el: First part of merge from hexrgb.el.
700 (color-rgb-to-hex): Rename from color-rgb->hex.
701 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
702 saturation to zero if the value is too small.
703 (color-rgb-to-hsl): Rename from color-rgb->hsl.
704 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
705 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
706 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
707 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
708 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
709 (color-cie-de2000): Doc fix.
711 2011-02-20 Alan Mackenzie <acm@muc.de>
713 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
714 locating the beginning of a macro. (Bug#7595)
716 2011-02-20 Glenn Morris <rgm@gnu.org>
718 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
721 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
722 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
724 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
725 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
727 * progmodes/hideshow.el (hs-find-block-beginning)
728 (hs-hide-level-recursive): Ignore comments when parsing braces
731 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
733 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
734 (vc-bzr-pull): Use it.
736 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
738 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
739 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
740 but returning an alist. Ignore comments in bzr conffile.
741 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
742 (vc-bzr-error-regex-alist): New var.
743 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
745 * vc/vc-dispatcher.el (vc-do-async-command):
746 Bind inhibit-read-only to t.
748 * progmodes/compile.el (compilation--flush-directory-cache):
749 Handle the case where cdr of compilation--flush-directory-cache
750 points to no buffer, which can occur if we previously switched to
751 compilation-mode in a pregenerated buffer.
753 2011-02-19 Kenichi Handa <handa@m17n.org>
755 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
756 get the header copy into the temporary buffer.
757 (rmail-mime-insert-decoded-text): Ignore us-ascii.
758 (rmail-show-mime): When rmail-mime-coding-system is nil, set
759 buffer-file-coding-system to undecided.
761 2011-02-19 Eli Zaretskii <eliz@gnu.org>
763 * international/mule-cmds.el (read-char-by-name, ucs-insert):
764 Document completion with asterisk and a substring.
766 2011-02-19 Glenn Morris <rgm@gnu.org>
768 * files.el (find-file-literally): Doc fix.
770 * simple.el (rfc822-goto-eoh): Give it a doc-string.
772 * log-edit.el (log-edit-insert-changelog):
773 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
775 2011-02-19 Glenn Morris <rgm@gnu.org>
777 * dired-x.el: Don't require dired-aux.
778 (dired-do-create-files, dired-mark-read-regexp)
779 (dired-do-create-files-regexp): Autoload from dired-aux.
781 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
782 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
784 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
785 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
787 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
788 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
789 (dired-clean-up-buffers-too): Declare.
791 * dired-x.el (dired-initial-position): Merge into dired.el's version.
792 * dired.el (dired-initial-position): Merge dired-x's version here.
793 (dired-find-subdir): Declare.
795 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
796 * dired-aux.el (dired-add-entry): Give it a doc-string.
797 Merge dired-x's dired-omit handling here.
798 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
800 * international/mule-diag.el (list-input-methods-1):
801 Indent all lines of multi-line doc-strings. (Bug#8066)
803 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
805 Fix 2011-02-02 changes.
807 * apropos.el (apropos-print): Call apropos-mode before setting up
808 buffer variables. Use inhibit-read-only.
810 * emacs-lisp/package.el (package--list-packages):
811 Call package-menu-mode before setting up buffer variables.
813 * play/solitaire.el (solitaire): Call solitaire-mode before
814 setting up buffer variables. Use inhibit-read-only.
816 2011-02-18 Lawrence Mitchell <wence@gmx.li>
818 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
819 Bind case-fold-search to nil when looking for end of here-doc.
821 2011-02-18 Eli Zaretskii <eliz@gnu.org>
823 * image-mode.el (image-toggle-display-image):
824 Set find-file-literally non-nil in buffers visiting binary image
827 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
829 * files.el (cd): Make completion obey cd-path (bug#7924).
831 2011-02-18 Glenn Morris <rgm@gnu.org>
833 * progmodes/prolog.el: Don't require compile when compiling.
834 (compilation-shell-minor-mode, compilation-error-regexp-alist)
835 (compilation-forget-errors, compilation-fake-loc)
836 (compilation-parse-errors-function, compilation-error-list): Declare.
837 (prolog-inferior-mode): Require 'compile.
839 * emulation/cua-base.el (pc-selection-mode): Declare.
841 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
842 (customize-object): Add autoload cookie.
843 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
844 (eieio-browse, describe-class, eieio-describe-class)
845 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
846 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
847 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
848 * Makefile.in (autoloads): Make eieio.el writable.
850 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
851 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
852 (dired-hack-local-variables): Use inhibit-read-only.
853 (dired-guess-default): Simplify.
854 (dired-make-relative-symlink): Use dotimes.
855 (dired-simultaneous-find-file): Use dolist.
856 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
857 (dired-x-hands-off-my-keys): Doc fix.
858 (dired-x-bind-find-file): Doc fix. Use remapping.
859 (after-init-hook): No need to add dired-x-bind-find-file.
860 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
861 No need to call expand-file-name.
862 (dired-filename-at-point): Remove unused locals `end', `filename'.
864 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
866 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
868 2011-02-18 Christian Ohler <ohler@gnu.org>
870 * emacs-lisp/ert.el (ert--setup-results-buffer)
871 (ert-results-pop-to-backtrace-for-test-at-point)
872 (ert-results-pop-to-messages-for-test-at-point)
873 (ert-results-pop-to-should-forms-for-test-at-point)
874 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
875 were incorrect and unnecessary. This should make `make check'
878 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
880 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
881 (allout-widgets-icons-dark-subdir): Track relocations of icons
882 * lisp/allout.el: Remove commentary about remove encryption
883 passphrase mnemonic support and verification.
884 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
885 armored text using gpg1, and indicate that the gpg version *might*
886 be the problem in the error message.
888 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
890 * net/rcirc.el (rcirc-float-time): New function.
891 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
892 (rcirc-ctcp-sender-PING): Use it.
894 2011-02-17 Glenn Morris <rgm@gnu.org>
896 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
897 (speedbar-update-flag, speedbar-fetch-etags-command)
898 (speedbar-fetch-etags-arguments):
899 * term.el (term-buffer-maximum-size, term-input-chunk-size)
900 (term-completion-autolist, term-completion-addsuffix)
901 (term-completion-recexact, term-completion-fignore):
902 * term/sup-mouse.el (sup-mouse-fast-select-window):
903 * term/x-win.el (x-select-request-type):
904 Convert some defvars with "*" to defcustoms.
906 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
908 * vc/vc.el (vc-default-previous-version):
909 Remove alias that points nowhere. (Bug#4496)
911 * dired-x.el (dired-clean-up-after-deletion):
912 kill-buffer does not need save-excursion.
913 (dired-do-run-mail): Doc fix.
914 (dired-filename-at-point): Doc fix.
915 Use looking-at, and skip-chars rather than re search.
917 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
919 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
921 * allout-widgets.el: New allout extension that shows allout
922 outline structure with graphical widgets. 'allout-widgets'
923 customize group is an 'allout' subgroup, for easy discovery.
925 * allout.el: Include PGP and GnuPG in Keywords, and other
926 commentary refinements.
927 (allout-abbreviate-flattened-numbering): Rename to
928 allout-flattened-numbering-abbreviation, and
929 define-obsolete-variable-alias the old name.
930 (allout-flattened-numbering-abbreviation): Rename from
931 allout-abbreviate-flattened-numbering.
932 (allout-mode-p): Include among autoloads, for use by other modes
934 (allout-listify-exposed):
935 Use allout-flattened-numbering-abbreviation.
936 (allout-encrypt-string): Use set-buffer-multibyte directly.
937 (allout-set-buffer-multibyte): Remove.
939 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
941 * simple.el (just-one-space): Remove useless `or' call.
943 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
945 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
946 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
947 (soap-decoded-multi-refs, soap-current-wsdl)
948 (soap-encoded-namespaces): Rename CL-style *...* variables.
950 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
952 * net/soap-client.el: Add "comm" and "hypermedia" to the
953 keywords. Reflow too long lines.
955 * net/soap-inspect.el: Ditto. Require 'cl.
957 2011-02-16 Bastien Guerry <bzg@altern.org>
959 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
960 in a `doctor-type' argument.
962 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
964 * net/soap-client.el:
965 * net/soap-inspect.el: New files.
967 2011-02-16 Leo <sdl.web@gmail.com>
969 * dired-x.el (dired-mode-map, dired-extra-startup):
970 Remove dired-copy-filename-as-kill since it's already in dired.el.
972 2011-02-16 Glenn Morris <rgm@gnu.org>
974 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
975 Doc fixes. Add :set property, replacing top-level calls.
976 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
977 (dired-guess-shell-gnutar): Test tar version rather than system-type.
978 (dired-extra-startup, dired-man, dired-info): Doc fixes.
979 (dired-clean-up-after-deletion): Use when and dolist.
980 (dired-jump): Use unless and when.
981 (dired-virtual): Use line-end-position.
982 (dired-default-directory-alist): Rename from default-directory-alist.
983 (dired-default-directory): Update for above name change.
984 (dired-vm): Drop VM < 5 and simplify.
985 (dired-buffer-more-recently-used-p): Rewrite.
986 (dired-filename-at-point): Use when and or.
987 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
990 2011-02-15 Glenn Morris <rgm@gnu.org>
992 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
994 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
996 * vc/vc-git.el (vc-git-root-log-format): New option for
997 customizing log format.
998 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
999 (vc-git-log-view-mode): Use it.
1000 (vc-git-expanded-log-entry): New function.
1001 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1003 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1004 customizing log format.
1005 (vc-hg-print-log): Use it.
1006 (vc-hg-expanded-log-entry): New function.
1007 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1008 vc-hg-expanded-log-entry. Truncate lines in root log.
1010 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1012 * vc/log-view.el (log-view-mode-menu):
1013 Add log-view-toggle-entry-display.
1015 2011-02-14 Glenn Morris <rgm@gnu.org>
1017 * dired-x.el: Don't require man when compiling.
1018 (dired-omit-extensions, dired-local-variables-file)
1019 (dired-x-hands-off-my-keys): Make them defcustoms.
1020 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1021 (vm-visit-folder): Declare rather than defining.
1022 (dired-x-help-address, dired-x-variable-list): Remove.
1023 (dired-x-submit-report): Make it an obsolete alias.
1025 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1027 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1029 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1031 * net/imap.el: Bring it back.
1033 2011-02-13 Alan Mackenzie <acm@muc.de>
1035 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1036 narrow-to-region call that cuts context off the end (Bug#7722).
1038 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1039 Refactor nested if-forms with a simple cond.
1040 (c-forward-<>-arglist): Revert 2011-01-31 change.
1042 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1044 * vc/log-view.el: New command log-view-toggle-entry-display for
1045 toggling log entries between concise and detailed forms.
1046 (log-view-toggle-entry-display): New command.
1047 (log-view-mode-map): Bind RET to it.
1048 (log-view-expanded-log-entry-function): New variable.
1049 (log-view-current-entry, log-view-inside-comment-p)
1050 (log-view-current-tag): New functions.
1051 (log-view-toggle-mark-entry): Use log-view-current-entry and
1052 log-view-end-of-defun instead of searching directly with
1053 log-view-message-re.
1054 (log-view-end-of-defun): Likewise. Add optional ARG for
1055 compatibility with end-of-defun.
1056 (log-view-end-of-defun): Ignore comments and VC buttons.
1058 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1059 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1061 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1063 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1065 * net/imap-hash.el: Remove file.
1067 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1069 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1071 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1074 * net/tramp-imap.el: Remove file.
1076 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1078 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1079 widget library for buttons, just use button.el.
1081 * vc/log-view.el (log-view-mode-map): Don't inherit from
1084 2011-02-12 Glenn Morris <rgm@gnu.org>
1086 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1087 (nintersection, set-difference, nset-difference)
1088 (set-exclusive-or, nset-exclusive-or): Doc fix.
1090 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1092 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1093 :italic props, so that frame-set-background-mode works. (Bug#7966)
1095 * simple.el (next-error): Doc fix.
1097 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1099 * dired-aux.el (dired-create-files): Adapt destination name to
1100 match the new behavior of copy-directory.
1102 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1104 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1105 from rmail-dont-reply-to-names. Callers changed.
1106 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1107 (rmail-dont-reply-to): Make it an obsolete alias.
1109 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1110 nil, and make obsolete (Bug#7888).
1111 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1113 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1115 * mail/rmailsort.el (rmail-sort-by-correspondent)
1116 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1118 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1120 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1122 * files.el (copy-directory): New argument COPY-CONTENTS for
1123 copying directory contents into another existing directory.
1125 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1127 * minibuffer.el (completion-table-case-fold): New function for
1128 creating a case-insensitive completion table.
1130 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1132 * net/tramp.el (tramp-default-method): Also check if
1133 `auth-source-search' is bound.
1134 (tramp-read-passwd): Use `auth-source-search' instead of
1135 `auto-source-user-or-password'.
1137 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1138 `auto-source-user-or-password.
1139 (tramp-imap-passphrase-callback-function): Use it.
1141 * net/imap-hash.el: Autoload `auto-source-search' instead of
1142 `auto-source-user-or-password.
1143 (imap-hash-open-connection): Use it.
1145 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1146 `auto-source-user-or-password.
1147 (smtpmail-try-auth-methods): Use it.
1149 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1151 * emacs-lisp/package.el: Allow packages to be reinstalled.
1152 (package--write-file-no-coding): Remove EXCL arg.
1153 (package-unpack-single): Don't use it.
1155 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1157 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1158 in each sub directory.
1159 (vc-svn-registered): Use vc-svn-root.
1160 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1161 (vc-svn-repository-hostname): Use "svn info".
1163 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1165 * simple.el (delete-trailing-whitespace): New optional buffer
1168 2011-02-11 Bastien Guerry <bzg@altern.org>
1170 * files.el (basic-save-buffer): save unmodified buffers when
1171 the file pointed by buffer-file-name doesn't exist.
1173 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1175 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1177 2011-02-11 Glenn Morris <rgm@gnu.org>
1179 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1181 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1183 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1185 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1187 * server.el (server-process-filter): Use pcase.
1189 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1191 (smie-indent--parent): Extend to "parent of arg".
1192 (smie-indent-inside-string): New function.
1193 (smie-indent-functions): Use it.
1195 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1196 bzr locking race condition.
1198 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1199 still valid before using it.
1201 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1202 `message' -> `compilation-message' rename (bug#8004).
1204 Move keymap initialization into declaration.
1205 * textmodes/enriched.el (enriched-mode-map):
1206 * textmodes/bib-mode.el (bib-mode-map):
1207 * term/lk201.el (lk201-function-map):
1208 * tar-mode.el (tar-mode-map):
1209 * replace.el (occur-mode-map):
1210 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1211 * progmodes/idlw-help.el (idlwave-help-mode-map):
1212 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1213 * play/solitaire.el (solitaire-mode-map):
1214 * play/snake.el (snake-mode-map, snake-null-map):
1215 * play/pong.el (pong-mode-map):
1216 * play/handwrite.el (menu-bar-handwrite-map):
1217 * play/gametree.el (gametree-mode-map):
1218 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1219 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1220 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1221 (newsticker--url-keymap):
1222 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1223 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1224 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1225 (menu-bar-edit-menu, menu-bar-custom-menu)
1226 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1227 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1228 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1229 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1230 (menu-bar-tools-menu, menu-bar-describe-menu)
1231 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1232 (menu-bar-help-menu):
1233 * mail/rmailsum.el (rmail-summary-mode-map):
1234 * kmacro.el (kmacro-step-edit-map):
1235 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1236 (ibuffer-mode-operate-map):
1237 * hi-lock.el (hi-lock-menu, hi-lock-map):
1238 * emulation/vip.el (vip-mode-map):
1239 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1240 * bookmark.el (bookmark-bmenu-mode-map):
1241 * help-mode.el (help-mode-map): Move initialization into declaration.
1243 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1245 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1246 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1247 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1248 (rcirc-cmd-me, rcirc-authenticate): Use them.
1250 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1252 * allout.el: Synopsis: Change allout user configuration so
1253 auto-activation is controlled solely by customization
1254 `allout-auto-activation'.
1256 (allout-auto-activation-helper, allout-setup): New autoloads
1257 implement new custom set procedure for allout-auto-activation.
1258 Also, explicitly invoke
1259 (allout-setup) after allout-auto-activation is custom-defined, to
1260 effect the settings in emacs sessions besides the few where
1261 allout-auto-activation customization is donea.
1262 (allout-auto-activation): Use allout-auto-activation-helper to
1263 :set. Revise the docstring.
1264 (allout-init): Reduce functionality to just customizing
1265 allout-auto-activation, and mark obsolete.
1266 (allout-mode): Respect string values for allout-auto-activation.
1267 Run allout-after-copy-or-kill-hook without any args.
1268 (allout-mode, allout-layout, allout-default-layout)
1269 (outlineify-sticky): Adjust docstring for new scheme.
1270 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1271 should concentrate on the kill ring.
1273 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1275 * password-cache.el (password-cache-remove): Accept secrets that are
1278 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1280 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1281 of here-doc that immediately follows a comment.
1283 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1285 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1287 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1289 (rcirc-ctcp-sender-PING): New function.
1291 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1293 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1294 Remove the mark/nomark handling, and activate shift-select-mode instead.
1296 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1298 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1300 * calc/calc-units.el (math-logunits-quant): Add support for
1301 non-logarithmic units.
1303 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1305 * allout.el (allout-after-copy-or-kill-hook): New hook for
1306 extension-specific processing of killed text.
1307 (allout-mode): Include new allout-after-copy-or-kill-hook among
1309 (allout-kill-line, allout-kill-topic): Ensure that processing
1310 after kill happens even if barf-if-buffer-read-only is raised.
1311 Include new allout-after-copy-or-kill-hook among that subsequent
1313 (allout-deannotate-hidden): Actually remove the annotation text
1316 * allout.el (allout-listify-exposed): Copy text sans text properties.
1318 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1320 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1322 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1324 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1326 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1328 * calc/calc.el (calc-logunits-field-reference): Rename from
1329 `calc-default-field-reference-level'.
1330 (calc-logunits-power-reference): Rename from
1331 `calc-default-power-reference-level'.
1333 * calc/calc-units.el (math-logunits-quant): Rename from
1334 `math-logunits-level'
1335 (math-logunits-plus): Rename from math-logcombine.
1336 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1337 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1338 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1340 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1341 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1342 (calc-logunits-quantity): Rename from `calc-level'.
1343 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1344 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1345 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1346 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1347 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1350 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1351 (calc-ul-prefix-help): Remove.
1352 (calc-l-prefix-help): New function.
1353 (calc-full-help): Add reference to `calc-l-prefix-help'.
1355 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1357 * calc/README: Mention logarithmic units.
1359 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1361 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1362 non-ASCII characters (Bug#7925).
1364 2011-02-05 Glenn Morris <rgm@gnu.org>
1366 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1368 * calendar/diary-lib.el (diary-font-lock-keywords):
1369 Tweak diary-time-regexp match. (Bug#7891)
1371 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1372 (f90-mode): Use it for mode's `find-tag-default-function' property.
1374 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1376 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1378 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1380 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1383 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1386 font-lock-syntax-table remappings.
1387 (sh-here-doc-markers, sh-here-doc-re): Remove.
1388 (sh-font-lock-close-heredoc): Remove.
1389 (sh-syntax-propertize-here-doc): New function.
1390 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1391 instead of the sh-here-doc-re.
1392 (sh-font-lock-paren): Don't do anything in comments or strings.
1393 Handle line continuations. Accept a few more chars.
1394 Don't rely on the font-lock-syntax-table remappings.
1395 `esac' is not a valid pattern.
1396 (sh-syntax-propertize-function): Handle here-docs differently, so we
1397 don't bother syntax-propertizing the insides.
1399 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1400 Handle new bashisms ";&" and ";;&" (bug#7947).
1402 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1404 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1405 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1407 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1409 * net/tramp.el (tramp-postfix-method-format)
1410 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1411 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1412 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1413 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1414 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1417 2011-02-04 Sam Steingold <sds@gnu.org>
1419 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1421 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1423 * international/mule-util.el (with-coding-priority): Doc fix.
1425 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1427 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1429 2011-02-03 Sam Steingold <sds@gnu.org>
1431 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1432 Do not error out when `func' is nil.
1434 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1436 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1437 `tramp-default-remote-path' to the docstring.
1438 (tramp-get-remote-path): Suppress error message when `getconf
1441 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1443 2011-02-03 Glenn Morris <rgm@gnu.org>
1445 * vc/vc-hg.el (vc-hg-command): Doc fix.
1447 * term/w32-win.el (libpng-version): Declare for compiler.
1449 * msb.el: No need to load dired while compiling.
1451 * emacs-lisp/elint.el (elint-standard-variables):
1452 Remove a couple of built-ins that now have doc-strings.
1454 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1455 `require' is automatically `eval-and-compile'd.
1457 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1458 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1460 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1461 Move definition before use.
1462 (strokes-report-bug): Make it obsolete.
1464 2011-02-02 Sam Steingold <sds@gnu.org>
1466 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1467 from `special-mode', entering it makes the buffer read-only, so
1468 call it only when everything has been already inserted.
1469 * emacs-lisp/ert.el (ert--setup-results-buffer)
1470 (ert-results-pop-to-backtrace-for-test-at-point)
1471 (ert-results-pop-to-messages-for-test-at-point)
1472 (ert-results-pop-to-timings): Ditto.
1473 * emacs-lisp/package.el (package--list-packages): Ditto.
1474 * play/solitaire.el (solitaire): Ditto.
1476 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1478 * progmodes/compile.el: Make all faces inherit.
1479 (compilation-warning): Inherit from font-lock-variable-name-face.
1480 (compilation-info): Inherit from font-lock-type-face.
1481 (compilation-line-number): Reassign to font-lock-keyword-face.
1482 (compilation-column-number): Reassign to font-lock-doc-face.
1483 (compilation-leave-directory-face): Reassign to
1484 font-lock-builtin-face.
1486 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1488 * dired.el (dired-insert-directory): Don't invoke `ls' when
1489 ls-lisp.el is used to emulate it.
1491 2011-02-01 Julien Danjou <julien@danjou.info>
1493 * color.el (color-gradient): Add a color-gradient function.
1495 2011-02-01 Sam Steingold <sds@gnu.org>
1497 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1498 bind "z" to `kill-this-buffer'.
1499 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1500 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1501 (apropos-mode): Inherit from `special-mode'.
1502 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1503 * bookmark.el (bookmark-bmenu-mode): Define using
1504 `define-derived-mode' inheriting from `special-mode'.
1505 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1506 * image-mode.el (image-mode-map): Ditto.
1507 * replace.el (occur-mode): Define using
1508 `define-derived-mode' inheriting from `special-mode'.
1509 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1510 * calendar/diary-lib.el (diary-fancy-display-mode):
1511 Inherit from `special-mode-map'.
1512 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1513 Inherit from `special-mode'.
1514 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1516 (package-menu-mode): Define using `define-derived-mode'
1517 inheriting from `special-mode'.
1518 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1519 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1520 (xesam-mode-map): Define separately.
1521 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1522 * progmodes/compile.el (compilation-minor-mode-map)
1523 (compilation-mode-map): Inherit from `special-mode-map'.
1524 * vc/diff-mode.el (diff-mode-shared-map):
1525 Inherit from `special-mode-map'.
1526 * vc/log-view.el (log-view-mode-map): Add a comment.
1528 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1530 * custom.el (load-theme): Define return value. Drop use of
1531 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1532 (custom-theme-load-confirm): Scroll in the correct window.
1533 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1535 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1536 checkbox if load-theme fails.
1538 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * progmodes/compile.el (compilation-next-error): Check there's
1541 a message before using it (bug#7941).
1543 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1545 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1546 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1547 of potential pivots.
1549 2011-01-31 Alan Mackenzie <acm@muc.de>
1551 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1552 Continue parsing if we encounter a naked # (Bug#7595).
1553 (c-beginning-of-statement): Avoid loop in locating the beginning
1554 of a macro. (Not actually committed until 2011-02-20, see above).
1556 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1558 * files.el (copy-directory): Fix arguments to recursive call.
1560 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1562 * files.el (copy-directory): If destination is an existing
1563 directory, copy into a subdirectory there.
1565 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1567 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1570 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1572 * image-dired.el (image-dired-mouse-display-image): No-op if no
1573 file is found (Bug#7817).
1575 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1577 2011-01-31 Kenichi Handa <handa@m17n.org>
1579 * international/quail.el (quail-keyboard-layout-alist):
1580 Remove superfluous SPC for "pc105-uk" (bug#7927).
1582 2011-01-31 Glenn Morris <rgm@gnu.org>
1584 * msb.el (msb-menu-bar-update-buffers): Update for changed
1585 argument handling of menu-bar-select-frame. (Bug#7902)
1587 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1589 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1590 to the recursion depth (Bug#7722).
1592 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1594 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1595 command-line-default-directory (Bug#7872).
1597 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * progmodes/compile.el (compilation--flush-directory-cache):
1600 New function, extracted from compilation--remove-properties.
1601 (compilation--remove-properties, compilation--parse-region): Use it.
1602 (compilation--previous-directory): Handle one more case.
1603 (compilation-enable-debug-messages): Remove.
1604 (compilation-parse-errors, compilation--flush-parse): Just remove the
1605 left over debug messages.
1607 2011-01-31 Sam Steingold <sds@gnu.org>
1609 * progmodes/compile.el (compilation-enable-debug-messages):
1610 Add a variable to make the parsing messages introduced in
1611 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1612 (compilation-parse-errors, compilation--flush-parse): Use it.
1614 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1616 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1617 (rcirc-nick-completion-format): New defcustom.
1618 (rcirc-complete): Use it.
1620 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1622 * net/rcirc.el: Clean log filenames (Bug#7933).
1623 (rcirc-log-write): Use convert-standard-filename.
1624 (rcirc-log-filename-function): Documentation updates.
1626 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1628 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1629 Check report-emacs-bug-can-use-osx-open and use that if t.
1630 (report-emacs-bug-can-use-osx-open): New function.
1631 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1632 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1634 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1636 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1637 updating Dired or VC-dir buffers after async command completes.
1639 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1640 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1642 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1643 completions if it exists. Use vc-set-async-update.
1644 (vc-git-pull): Use vc-set-async-update.
1646 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1647 read-shell-command. Use vc-set-async-update.
1648 (vc-hg-merge-branch): Use vc-set-async-update.
1650 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1652 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1653 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1656 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1658 * progmodes/compile.el: Avoid an N² behavior in grep.
1659 (compilation--previous-directory): New fun.
1660 (compilation--previous-directory-cache): New var.
1661 (compilation--remove-properties): Flush it.
1662 (compilation-directory-properties, compilation-error-properties):
1663 Use the new fun to speed up looking for the current directory.
1665 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1667 * vc/vc-hg.el (vc-hg-history): New var.
1668 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1669 (vc-hg-merge-branch): New function.
1671 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1672 the other way around.
1674 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1675 (vc-git-merge-branch): New functions.
1676 (vc-git-history): New var.
1678 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1680 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1682 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1683 vc-do-async-command.
1685 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1688 2011-01-28 Leo <sdl.web@gmail.com>
1690 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1691 highlighting to the "this function is advised" message.
1693 * help-mode.el (help-mode-finish): Apply highlighting here, to
1694 avoid clobbering by substitute-command-keys (Bug#6304).
1696 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1698 * woman.el (woman0-roff-buffer): Process roff escape sequences
1699 occurring prior to the first request (Bug#7843).
1701 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * progmodes/compile.el: Don't use font-lock any more.
1704 (compilation-error-regexp-alist-alist): Change handling of makepp
1705 so it preserves the warning/error distinction on subsequent files.
1706 Simplify various rules.
1707 (compilation-directory-properties): Use font-lock-face.
1708 Add a compilation-message property.
1709 (compilation-internal-error-properties): Use font-lock-face.
1710 Don't set the compilation-debug property here.
1711 (compilation--put-prop, compilation--remove-properties)
1712 (compilation--parse-region, compilation--ensure-parse)
1713 (compilation--ensure-parse): New functions.
1714 (compilation-parse-errors): New function, largely inspired of
1715 compilation-mode-font-lock-keywords. Set compilation-debug here.
1716 (compilation--parsed): New var.
1717 (compilation--flush-parse): Use compilation--ensure-parse.
1718 (compilation-start): Don't call font-lock.
1719 (compilation-turn-on-font-lock): Remove.
1720 (compilation-setup): Don't set font-lock-extra-managed-props not change
1721 other font-lock settings, other than keywords.
1722 Don't activate font-lock-mode.
1723 Set change-major-mode-hook and before-change-functions.
1724 (compilation--unsetup): Remove properties and hooks.
1725 (compilation-next-single-property-change): New function.
1726 (compilation-next-error): Use it to parse when needed.
1727 (compile-goto-error): Parse buffer as needed.
1728 (compilation--compat-error-properties): Don't need a dummy `face'
1731 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1734 (compilation-process-setup-function): Fix docstring's false promises.
1735 (compilation-error-regexp-alist-alist): Catch omake's continuous
1736 recompilation message and avoid reuse of old markers.
1737 (compilation-parse-errors-function): Declare obsolete.
1738 (compilation-buffer-modtime): Remove.
1739 (compilation--make-cdrloc, compilation--loc->col)
1740 (compilation--loc->line, compilation--loc->file-struct)
1741 (compilation--loc->marker, compilation--loc->visited)
1742 (compilation--make-file-struct, compilation--file-struct->file-spec)
1743 (compilation--file-struct->formats)
1744 (compilation--file-struct->loc-tree): New macros. Use them.
1745 (compilation--message): New defstruct. Use them.
1746 (compilation-next-error-function): Don't mess with timestamps to try
1747 and guess when to reparse.
1749 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1752 (tex-old-error-file-name): New function,
1753 extracted from tex-compilation-parse-errors.
1754 (tex-compilation-parse-errors): Remove.
1755 (tex-error-regexp-alist): New var.
1756 (tex-shell): Use it to avoid compilation-parse-errors-function.
1758 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1759 (grep-mode-font-lock-keywords): Remove regexp that seems like
1760 a left-over from before we used compile.el.
1761 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1762 modifying the buffer within with-silent-modifications.
1764 * progmodes/compile.el: Cleanup text-properties namespace by using
1765 `compilation-message' instead of `message', `compilation-directory'
1766 instead of `directory', and `compilation-debug' instead of `debug'.
1767 (compilation-last-buffer, compilation-parsing-end)
1768 (compilation-error-list, compilation-old-error-list): Move to the
1769 compatibility part of the code.
1770 (compilation-error-properties): If `file' is a function, let it return
1772 (compilation-mode-font-lock-keywords): Be more conservative with the
1773 omake "^ *" pattern prefix, to try and minimize the risk of
1774 pathologically slow regexp matching.
1775 (compilation-start): Use inhibit-read-only.
1776 (compilation--unsetup): New function.
1777 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1778 (compilation-filter): Minor tweaks.
1779 (compilation-next-error-function): Try and avoid abusing variables.
1780 (compilation--flush-file-structure): New fun.
1781 (compilation-fake-loc): Use it to improve behavior when file is reused.
1782 (debug-ignored-errors): Add "Moved past last ...".
1783 (compilation--compat-error-properties)
1784 (compilation--compat-parse-errors): Rename by doubling the "-".
1786 Port features from the previous prolog.el to the new one.
1787 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1788 (prolog-program-name, prolog-program-switches, prolog-consult-string)
1789 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1790 variable and use a function to compute the value dynamically.
1791 (prolog-prompt-regexp): Add regexp for GNU Prolog.
1792 (prolog-continued-prompt-regexp): Remove, unused.
1793 (prolog-find-value-by-system): Try and use the value of prolog-system
1794 in the *prolog* buffer if it helps.
1795 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1796 (prolog-zip-on): ..and check prolog-system and version here instead.
1797 (prolog-inferior-self-insert-command): New command.
1798 (prolog-inferior-mode-map): Use it.
1799 (prolog-inferior-error-regexp-alist): New var.
1800 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1801 (prolog-input-filter): Use derived-mode-p.
1802 (prolog-inferior-guess-flavor): New function.
1803 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
1804 make-comint to avoid running comint-mode twice.
1805 (prolog-inferior-buffer): New fun.
1806 (prolog-old-process-region, prolog-old-process-file):
1807 Don't call prolog-bsts here...
1808 (prolog-build-prolog-command): ...do it here instead.
1809 (prolog-old-process-region, prolog-old-process-file):
1810 Use compilation-fake-loc and compilation-forget-errors.
1811 (prolog-consult-compile-region): Use bolp.
1813 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1815 * image-mode.el (image-display-size): Doc fix (Bug#7820).
1817 2011-01-27 Sam Steingold <sds@gnu.org>
1819 * midnight.el (clean-buffer-list-kill-never-buffer-names):
1820 Remove "*server*" which is never created by emacs server.
1822 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1824 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1825 there are some diff switches.
1827 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1830 Copy change made to ruby-font-lock-syntactic-keywords.
1832 * htmlfontify.el: Make it obey the font-lock-face text property.
1833 Miscellaneous cleanup such as:
1834 - Don't hide expressions after a closing paren.
1835 - Move initial setq into let.
1836 - Hoist common parts out of ifs.
1837 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1838 (hfy-face-at): Use get-text-property instead.
1839 (hfy-prop-invisible-p): Use invisible-p if available.
1840 (htmlfontify-manual): Use \\[...].
1841 (hfy-html-quote-regex): Use [...].
1842 (hfy-combined-face-spec): Simplify.
1843 (hfy-compile-face-map): Don't presume point-min==1.
1844 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1845 match end of string.
1846 (hfy-text-p): η-reduce.
1847 (hfy-tags-for-file): Receive cache-hash directly.
1848 (hfy-mark-tag-names): Adjust call.
1850 2011-01-27 Glenn Morris <rgm@gnu.org>
1852 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1853 (msb-after-load-hook): Remove eval-after-load wackiness.
1855 2011-01-25 Sam Steingold <sds@gnu.org>
1857 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1858 literal "diff" (important for windows-nt).
1860 2011-01-25 Glenn Morris <rgm@gnu.org>
1862 * emacs-lisp/copyright.el (copyright-at-end-flag)
1863 (copyright-names-regexp): Add safety properties.
1864 (copyright-year-ranges): New option.
1865 (copyright-find-end): New function, split from copyright-update-year.
1866 (copyright-update-year): Use copyright-find-end.
1867 (copyright-fix-years): Optionally, convert years to ranges.
1868 Handle years continued over comment lines.
1869 Do not mess with the fill-prefix.
1870 Do not call copyright-update.
1871 (copyright-update-directory): Optionally, fix years rather than update.
1872 Skip directories. Find files with only safe local vars.
1874 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * files.el (file-name-non-special): Only change buffer-file-name after
1877 insert-file-contents if it's `visit'ing the file (bug#7854).
1879 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
1881 * dired.el (dired-revert): Doc fix (Bug#7758).
1883 * simple.el (line-move-visual): Doc fix (Bug#7594).
1885 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
1887 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1888 here-doc which ends with an underscore.
1889 (ruby-mode-set-encoding): Skip shebang line always.
1890 (ruby-mode-map): Bind C-c C-c to comment-region.
1891 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1892 (ruby-forward-sexp): Stop after literal hash key labels.
1893 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1896 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
1898 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1899 the correct buffer (Bug#7650).
1901 2011-01-25 Glenn Morris <rgm@gnu.org>
1903 * comint.el (comint-mode): Doc fix. (Bug#7897)
1905 * simple.el (do-auto-fill): Give it a doc string.
1907 * button.el (make-text-button): Doc fix. (See bug#7881)
1909 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1912 Don't move backward, so as not to fall in an inf-loop (bug#7736).
1914 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1915 Handle ?" and friends differently (e.g. don't use backrefs).
1917 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
1919 * calc/calc.el (calc-default-power-reference-level)
1920 (calc-default-field-reference-level): New variables.
1921 * calc/calc-units.el (math-standard-units): Add dB and Np.
1922 (math-logunits): New variable.
1923 (math-extract-logunits, math-logcombine, calcFunc-luplus)
1924 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1925 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1927 (math-find-base-units-rec): Add entry for ln(10).
1928 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1929 (calc-ul-prefix-help): New function.
1930 * calc/calc-ext.el (calc-init-extensions): Autoload new units
1931 functions. Add keybindings for new units functions.
1933 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
1935 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1936 rcirc buffers. (Bug#4940)
1938 2011-01-22 Glenn Morris <rgm@gnu.org>
1940 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1941 split out from copyright-update-year.
1942 (copyright-update): Don't mess with the GPL version if we don't own the
1943 copyright. Update license regexp, and remove no longer needed
1945 (copyright-fix-years): Use copyright-find-copyright.
1947 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1949 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1951 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1953 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1954 (lm): Rename to landmark.
1955 (lm-test-run): Rename to landmark-test-run.
1957 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1959 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1960 "Case sensitive" menu item.
1962 2011-01-22 Roland McGrath <roland@frob.com>
1964 * comint.el (comint-replace-by-expanded-history-before-point): Fix
1965 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1967 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1971 2011-01-22 Jari Aalto <jari.aalto@cante.net>
1973 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1974 Assume foo(bar) is a manpage reference rather than some unquoted
1977 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1979 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1980 Suggested by Flo <sensorflo@gmail.com>.
1982 2011-01-22 Glenn Morris <rgm@gnu.org>
1984 * progmodes/compile.el (compilation-error-regexp-alist):
1985 Fix custom type. (Bug#7812)
1987 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
1989 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1990 allout-number-siblings, in keeping with what obtained due to
1991 (now-defunct) allout-keybindings-list. Ditch repeat binding to
1993 (allout-before-change-handler): Better expose spots affected by
1996 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
1998 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2000 2011-01-22 Phil Hagelberg <phil@evri.com>
2002 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2003 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2004 (pcmpl-ssh-config-hosts): New function.
2005 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2006 pcmpl-ssh-known-hosts.
2008 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2010 * calc/calc-undo.el (calc-undo): Autoload it.
2011 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2012 and autoload for `calc-undo'.
2013 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2014 * calc/calc-prog.el:
2015 * calc/calc-graph.el:
2016 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2018 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2020 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2021 keybindings to `calc-undo'.
2023 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2025 Don't mess with *temp*.
2026 * obsolete/spell.el: Move from textmodes/spell.el.
2028 * term.el (term-read-input-ring):
2029 * startup.el (display-startup-echo-area-message):
2030 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2031 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2032 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2035 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2037 * allout.el (allout-institute-keymap): Use fset instead of
2038 reapplying defalias.
2040 (allout-hotspot-key-handler): Check for non-control-modified
2041 bindings for hotspot characters if there are no control-modified
2044 * allout.el: Summary - migrate to defining allout mode using
2045 define-minor-mode instead of defun. Significantly clean-up
2046 internal keymap provisions, refactoring and, in the process,
2047 removing a lot of accumulated cruft.
2049 allout-mode-map is now a keymap by virtue of being a defalias to
2050 allout-mode-map-value, which contains the actual keymap structure.
2052 (allout-mode): Use define-minor-mode rather than defun.
2053 Remove now-unnecessary minor-mode setup activities from the body.
2054 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2055 entry will be '(allout-mode . allout-mode-map) - see
2056 allout-mode-map-value, below. Adjust docstring to track changes.
2057 (allout-minor-mode): Remove this defalias, now that we're using
2059 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2060 keymap is allout-mode-map-value, via defalias.
2061 (allout-mode-map-value): The variable holding the actual mode
2062 keymap structure, by virtue of defalias from allout-mode-map.
2063 (allout-compose-and-institute-keymap): Rename from
2064 allout-bind-keys, and including the binding-composition
2065 functionality of the former produce-allout-mode-map and
2066 allout-setup-mode-map.
2067 (allout-institute-keymap): Take over the "setup" part of the former
2068 allout-setup-mode-map. Reassign allout-mode-map-value value and
2069 update the defalias.
2070 (allout-command-prefix, allout-prefixed-keybindings)
2071 (allout-unprefixed-keybindings):
2072 Use allout-compose-and-institute-keymap to process the bindings.
2073 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2074 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2075 user can customize if they want to use that binding.
2076 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2077 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2078 elided that, previously, instead of the one for \C-h.)
2079 (allout-hotspot-key-handler): Remove attempt to resolve the key
2080 through the literal key-string lookup on allout-keybindings-list.
2081 That probably hasn't worked for a Long Time, and removal of
2082 allout-keybindings-list further simplifies the keybindings situation.
2083 (allout-pre-command-business): Use allout-mode-map-value instead
2085 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2086 the bindings if they want to use a keybinding having a trailing
2087 \C-h. No deprecation needed since this feature was never in a release.
2088 (allout-keybindings-list): Remove. It's not been useful for a
2089 while. (See allout-hotspot-key-handler changes, above.)
2090 (produce-allout-mode-map): Remove. Consolidate into
2091 allout-compose-and-institute-keymap.
2092 (allout-mode-map-adjustments): Remove. No longer necessary with
2093 removal of allout-preempt-trailing-ctrl-h.
2094 (allout-setup-mode-map): Remove. Consolidate into
2095 allout-compose-and-institute-keymap and allout-institute-keymap.
2097 2011-01-20 Glenn Morris <rgm@gnu.org>
2099 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2101 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2103 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2105 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2107 * files.el (find-alternate-file, basic-save-buffer)
2108 (basic-save-buffer-2, revert-buffer, recover-file)
2109 (kill-buffer-ask, abort-if-file-too-large)
2110 (set-visited-file-name, write-file, backup-buffer)
2111 (basic-save-buffer, save-some-buffers):
2112 * dired-aux.el (dired-compress-file): Callers changed.
2114 2011-01-19 Glenn Morris <rgm@gnu.org>
2116 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2117 Also check the property status. (Bug#7861)
2119 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2121 * net/tramp.el (tramp-debug-message): Extend function exclude
2122 list. Use `regexp-opt'.
2124 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2126 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2127 highlighting doesn't spill over subsequent lines.
2129 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2130 keymap expression. Improve docstring.
2132 * electric.el (electric-indent-post-self-insert-function):
2133 Don't auto-indent for indent-to-left-margin, it's too often
2136 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2138 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2139 spaces if the frame was resized, so that the full visible buffer
2140 serves as canvas for strokes.
2142 2011-01-16 Glenn Morris <rgm@gnu.org>
2144 * info-xref.el (info-xref-docstrings): Replace cl function.
2145 Also skip directories.
2147 2011-01-16 Kevin Ryde <user42@zip.com.au>
2149 * info-xref.el: Version 3.
2150 (info-xref-check, info-xref-check-all): Move commentary details
2151 into docstrings for better visibility.
2152 Use compilation-mode for the results buffer.
2153 (info-xref-output, info-xref-output-error, info-xref-with-output)
2154 (info-xref-filename, info-xref-in-progress):
2155 New internals for this.
2156 (info-xref-check-list, info-xref-check-buffer)
2157 (info-xref-check-all-custom): Use those.
2158 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2159 (info-xref-output-heading): Rename from info-xref-filename-heading.
2160 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2161 (info-xref-filename-heading): Move to output managing section.
2162 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2163 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2164 (info-xref-subfile-p): Move to generic section with those two.
2165 (info-xref-check-node): New function split from
2166 info-xref-check-buffer, shared by info-xref-docstrings.
2167 (info-xref-goto-node-p): Move to a checking section with that func.
2168 (info-xref-unavail): New counter.
2169 (info-xref-check-node): Use it.
2170 (info-xref-with-output): Show count of unavailables at end of output.
2171 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2172 symlinks. Exclude .texi files. Exclude Emacs backup files.
2173 (info-xref-check-all-custom): Fix quietening viper-mode and
2174 gnus-registry-install -- use setq not let so as not to unbind
2177 2011-01-16 Juri Linkov <juri@jurta.org>
2179 * isearch.el (isearch-abort): Don't quit if search has
2180 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2182 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2184 * files.el (backup-buffer): Make last-resort backup file in
2185 .emacs.d (Bug#6953).
2187 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2188 make it with permission 700.
2190 2011-01-15 Kenichi Handa <handa@m17n.org>
2192 * mail/rmailmm.el (rmail-mime-insert-header):
2193 Set rmail-mime-coding-system to a cons whose car is the last coding
2194 system used to decode the header.
2195 (rmail-mime-find-header-encoding): New function.
2196 (rmail-mime-insert-decoded-text):
2197 Override rmail-mime-coding-system if it is a cons.
2198 (rmail-show-mime): If only a header part was decoded, find the
2199 coding system while ignoring mm-charset-override-alist.
2201 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2203 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2205 2011-01-15 Kenichi Handa <handa@m17n.org>
2207 * mail/rmailmm.el (rmail-mime-next-item)
2208 (rmail-mime-previous-item): Delete them.
2209 (rmail-mime-shown-mode): Recursively call for children.
2210 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2212 (rmail-mime-raw-mode): Recursively call for children.
2213 (rmail-mode-map): Change mapping of tab and backtab to
2214 forward-button and backward-button respectively.
2215 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2217 (rmail-mime-update-tagline): New function.
2218 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2219 body display is changed.
2220 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2221 (rmail-mime-image): Delete this button type.
2222 (rmail-mime-toggle): New button type.
2223 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2224 body display is changed. Change the save button label to "Save".
2225 Don't process show/hide button here.
2226 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2227 the body display is changed. Unconditionally call
2228 rmail-mime-insert for children.
2229 (rmail-mime-handle): Update `display' vector of the just inserted
2231 (rmail-mime-process): If mail-header-parse-content-type returns
2232 nil, use "text/plain" as the fallback type.
2233 (rmail-mime-insert): For raw-mode, recursively call
2234 rmail-mim-insert for children.
2235 (rmail-mime): Handle the case that the current buffer is not rmail
2236 buffer (e.g. in summary buffer).
2238 2011-01-15 Kenichi Handa <handa@m17n.org>
2240 * mail/rmailmm.el (rmail-mime-next-item)
2241 (rmail-mime-previous-item): Skip the body of a non-multipart
2242 entity if a tagline is shown.
2244 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2246 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2247 (tmm-prompt): Simplify.
2248 (tmm-add-prompt): Remove unused var `win'.
2250 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2251 to minor mode which used nil accidentally to mean "turn off".
2253 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2255 * net/tramp-sh.el (tramp-find-inline-compress)
2256 (tramp-get-inline-coding): Quote command after pipe symbol for
2257 local calls under W32. (Bug#6784)
2259 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2261 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2262 only when running under W32.
2264 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2266 * progmodes/grep.el (grep-compute-defaults): Quote the program
2267 file name after the pipe symbol in Grep templates. (Bug#6784)
2268 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2270 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2272 * buff-menu.el (Buffer-menu-buffer-list): New var.
2273 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2274 restricted buffer list is not lost on revert (Bug#7749).
2276 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2278 * net/ldap.el (ldap-search-internal): Discard stderr output.
2280 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2282 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2284 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2288 2011-01-15 Kenichi Handa <handa@m17n.org>
2290 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2291 part as a plain text.
2292 (rmail-mime-process-multipart): Set the default content-type to
2293 nil for unknown multipart subtypes (bug#7651).
2295 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2297 * hexl.el (hexl-mode-old-*): Remove.
2298 (hexl-mode--old-var-vals): New var to replace them.
2299 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2300 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2301 Use them to set local vars (bug#7846).
2302 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2303 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2304 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2306 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2307 (smerge-resolve--normalize-re): New var.
2308 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2309 (smerge-resolve): Use them.
2310 * newcomment.el (comment-only-p): New function.
2311 (comment-or-uncomment-region): Use it.
2313 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2315 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2316 table, get the value before switching to the output buffer. (Bug#7733)
2318 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2322 2011-01-14 Kim F. Storm <storm@cua.dk>
2324 * emulation/cua-base.el (cua--init-keymaps):
2325 Remap exchange-point-and-mark in cua-global-keymap.
2327 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2329 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2332 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2334 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2336 (easy-menu-create-menu, easy-menu-convert-item-1):
2337 Use :label rather than nil for labels. Use `case'.
2338 Add :enable as alias for :active.
2339 (easy-menu-binding): Obey :label.
2341 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2343 Use run-mode-hooks for major mode hooks (bug#513).
2344 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2345 Rename from reftex-toc-map.
2346 (reftex-toc-mode): Use define-derived-mode.
2347 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2348 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2349 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2350 (reftex-select-label-mode, reftex-select-bib-mode):
2351 Use define-derived-mode.
2352 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2353 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2354 Move init into delcaration.
2355 (reftex-index-mode, reftex-index-phrases-mode):
2356 Use define-derived-mode.
2357 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2358 speedbar-syntax-table. Move init into declaration.
2359 (speedbar-mode-map): Rename from speedbar-key-map.
2360 Move init into declaration.
2361 (speedbar-file-key-map): Move init into declaration.
2362 (speedbar-mode): Use define-derived-mode.
2363 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2364 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2365 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2366 (chart-face-list): Move initialization into declaration.
2367 (chart-mode): Use define-derived-mode.
2368 * calculator.el (calculator-mode-map): Move init into declaration.
2369 (calculator-mode): Use define-derived-mode.
2371 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2372 work for nested comments.
2374 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2375 (prolog-use-prolog-tokenizer-flag): Change default when
2376 syntax-propertize can be used.
2377 (prolog-syntax-propertize-function): New var.
2378 (prolog-mode-variables): Move make-local-variable into `set'.
2379 Don't make comment-column local since we don't set it.
2380 Set comment-add (as it was in previous prolog.el). Use dolist.
2381 Set syntax-propertize-function.
2382 (prolog-mode, prolog-inferior-mode):
2383 Call prolog(-inferior)-menu directly, not through the mode-hook.
2384 (prolog-buffer-module, prolog-indent-level)
2385 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2386 (prolog-comment-limits, prolog-goto-comment-column):
2387 Use line-(end|beginning)-position.
2388 (prolog-build-prolog-command): Tighten up regexp.
2389 (prolog-consult-compile): Move make-local-variable into `set'.
2390 (prolog-consult-compile-filter, prolog-goto-next-paren)
2391 (prolog-help-on-predicate, prolog-clause-info)
2392 (prolog-mark-predicate): Don't let+setq.
2393 (prolog-indent-line): Use indent-line-to.
2394 Only call prolog-goto-comment-column if necessary.
2395 (prolog-indent-level): Use bobp.
2396 (prolog-first-pos-on-line): Remove, not used any more.
2397 (prolog-in-string-or-comment): Use syntax-ppss if available.
2398 (prolog-help-on-predicate): Use read-string.
2399 (prolog-goto-predicate-info): Simplify.
2400 (prolog-read-predicate): Use `default' rather than `initial'.
2401 (prolog-temporary-file): Use make-temp-file to close a security hole.
2402 (prolog-toggle-sicstus-sd): New command.
2403 (prolog-electric-underscore, prolog-variables-to-anonymous):
2404 Use dynamic-scoping as it was meant.
2405 (prolog-menu): Move menu definitions to top-level.
2406 Use a toggle-button for Sicstus's source debugger.
2407 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2409 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2410 Move other menu definition to top-level.
2412 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2414 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2415 name. Keep original document's directory as default-directory
2417 (doc-view-initiate-display): Fall back to normal mode when
2418 doc-view-mode cannot be enabled, also when extracting the document
2419 text into a separate buffer (bug#6446).
2421 * simple.el (shell-command): Don't error out if shell command
2422 buffer contains text with non-nil read-only property when erasing
2425 2011-01-13 Kim F. Storm <storm@cua.dk>
2427 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2428 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2429 items when cycling through the matches.
2431 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2433 * dired-x.el (dired-omit-verbose): New defcustom that allows
2434 disabling the omit messages.
2435 (dired-omit-expunge): Use it.
2437 2011-01-13 Christian Ohler <ohler@gnu.org>
2439 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2441 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2443 * font-lock.el (font-lock-verbose): Default to nil.
2445 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2447 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2448 (compose-mail): New arg RETURN-ACTION.
2449 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2451 * mail/sendmail.el (mail-return-action): New var.
2452 (mail-mode): Make it buffer-local.
2453 (mail-bury): Obey it. Move special Rmail window handling to
2455 (mail, mail-setup): New arg RETURN-ACTION.
2456 (sendmail-user-agent-compose): Move from simple.el.
2458 * mail/rmail.el (rmail-mail-return): New function.
2459 (rmail-start-mail): Pass it to compose-mail.
2461 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2463 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2464 menus. Add menu item for customize-themes.
2466 * cus-theme.el (customize-themes):
2467 * emacs-lisp/package.el (package--list-packages):
2468 Use switch-to-buffer.
2470 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2472 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2474 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * progmodes/prolog.el: Fix up coding convention and such.
2477 (prolog-indent-width): Use the same default as in
2478 previous prolog.el rather than tab-width which depends on which buffer
2479 is current when the file is loaded.
2480 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2482 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2483 (prolog-known-systems): Remove.
2484 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2485 Move initialization into declaration.
2486 (prolog-mode-map): Move initialization into declaration.
2487 Remove system-specific mode-map vars, since they referred to the same
2489 (prolog-mode-variables): Obey the user's preference w.r.t
2490 adaptive-fill-mode. Prefer symbol-value to `eval'.
2491 (prolog-mode-keybindings-edit): Add compatibility bindings.
2492 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2493 (mercury-mode-map): New var.
2494 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2495 (prolog-ensure-process, prolog-process-insert-string)
2496 (prolog-consult-compile): Use with-current-buffer.
2497 (prolog-guess-fill-prefix): Simplify data flow.
2498 (prolog-replace-in-string): New function to use instead of
2500 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2501 (prolog-uncomment-region): Use `uncomment-region' when available.
2502 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2503 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2504 of int-to-char and char-to-int.
2505 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2507 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2509 * progmodes/prolog.el: Replace by a whole new file.
2511 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2514 (declare-function, undefined, insert-for-yank)
2515 (replace-regexp-in-string): Follow checkdoc's recommendations.
2517 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2520 refreshing the diary buffer.
2522 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2524 * allout.el: Add 2011 to the file copyright.
2525 (allout-encrypt-string): Prevent encryption from adding an extra
2526 newline at the end of the topic body.
2527 (allout-version): Increment to 2.3.
2529 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2531 * net/dbus.el (dbus-unregister-service): Complete doc.
2532 Fix call of dbus-error signal.
2533 (dbus-register-property): Use `dont-register' keyword.
2535 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2537 * net/dbus.el (dbus-unregister-service): Translate returned
2538 integer into a symbol.
2539 (dbus-register-property): Use `dbus-register-service' to do the
2542 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2544 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2545 Suggested by Joakim Verona.
2547 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2549 * wid-edit.el (visibility): Replace :on-image and :off-image
2550 widget properties with :on-glyph and :off-glyph, for consistency
2551 with the `visibility' widget.
2552 (widget-toggle-value-create, widget-visibility-value-create):
2553 Merge into a single function `widget-toggle-value-create'.
2555 * cus-edit.el (custom-variable-value-create, custom-visibility)
2556 (custom-face-edit-value-create, custom-face-value-create):
2557 Replace :on-image and :off-image widget properties with :on-glyph and
2558 :off-glyph, for consistency with the `visibility' widget.
2560 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2562 * net/ldap.el (ldap-search-internal): Don't use eval.
2564 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2566 * subr.el (read-char-choice): Use read-key.
2568 * custom.el (custom-safe-themes): Rename from
2569 custom-safe-theme-files. Add :risky tag.
2570 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2571 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2573 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2575 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2576 from Search and add a label to Undo.
2578 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2579 inappropriate buttons and adding :vert-only tags.
2581 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2582 removal of Help tool-bar button. Remove Undo button for space.
2584 * info.el (info-tool-bar-map): Add :vert-only tags.
2586 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2588 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2589 image backend support. Either of them is fine.
2591 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2593 * subr.el (y-or-n-p): Doc fix.
2595 * custom.el (custom-safe-theme-files): New defcustom.
2596 (custom-theme-load-confirm): New function.
2597 (load-theme): Load theme using `load', confirming with
2598 custom-theme-load-confirm if necessary.
2600 * subr.el (read-char-choice): New function, factored out from
2601 dired-query and hack-local-variables-confirm.
2603 * dired-aux.el (dired-query):
2604 * files.el (hack-local-variables-confirm): Use it.
2606 * dired-aux.el (dired-compress-file):
2607 * files.el (abort-if-file-too-large, find-alternate-file)
2608 (set-visited-file-name, write-file, backup-buffer)
2609 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2610 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2611 Use new format string args for y-or-n-p and yes-or-no-p.
2613 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2615 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2616 [gcc-include]: Tighten file name match, add match for column
2618 [gnu]: Remove unused group.
2620 2011-01-08 Glenn Morris <rgm@gnu.org>
2622 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2624 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2626 2011-01-07 Sam Steingold <sds@gnu.org>
2628 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2629 the `explicit-shell-file-name' because that is the
2630 non-interactive shell.
2632 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2634 * subr.el (y-or-n-p): Accept format string args.
2636 2011-01-07 Glenn Morris <rgm@gnu.org>
2638 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2640 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2642 * allout.el (allout-back-to-current-heading): Ensure return to
2643 the visible containing topic, rather than a collapsed one.
2644 (allout-view-change-hook): Remove hook that was deprecated long ago.
2645 (allout-exposure-change-hook): Remove documentation remarks
2646 concerning removed allout-view-change-hook.
2647 (allout-flag-region): Remove invocation of and documentation
2648 remarks concerning allout-view-change-hook.
2650 2011-01-06 Glenn Morris <rgm@gnu.org>
2652 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2653 (vc-bzr-annotate-extract-revision-at-line):
2654 Handle authors with embedded spaces. (Bug#7792)
2656 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2658 * doc-view.el (doc-view-image-width): New variable.
2659 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2660 backend for PNG images, and do dynamic rescaling instead of
2661 reconverting the whole doc.
2663 2011-01-05 Glenn Morris <rgm@gnu.org>
2665 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2667 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2669 * allout.el: Reconcile with changes in line movement behavior for
2670 long text lines that cross more than a single physical window
2671 line, ie when truncate-lines is nil.
2672 (allout-next-visible-heading): Provide for change in line-move
2673 behavior on long lines when truncate-lines is nil. In that case,
2674 line-move can wind up on the same textual line when it moves to
2675 the next window line, and moving to the bullet position after the
2676 move yields zero advancement. Add logic to detect and compensate
2677 for the lack of progress.
2678 (allout-current-topic-collapsed-p): move-end-of-line respect for
2679 field boundaries is different when operating with body lines
2680 shorter than window width versus ones greater than window width,
2681 which can yield false negatives in this function. Avoid
2682 difference by applying move-end-of-line while field-text-motion is
2685 2011-01-04 Glenn Morris <rgm@gnu.org>
2687 * textmodes/rst.el (rst-compile-toolsets):
2688 Add pdf and s5 to option alist.
2690 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2692 * net/dbus.el (dbus-register-property): Add optional parameter
2693 dont-register-service. Updated docstring accordingly.
2695 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2697 * textmodes/rst.el (rst-compile-pdf-preview)
2698 (rst-compile-slides-preview): Remove extra line.
2700 2011-01-04 Glenn Morris <rgm@gnu.org>
2702 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2703 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2704 default to `prog' without a .py extension.
2705 (rst-compile-pdf-preview, rst-compile-slides-preview):
2706 Use program names from rst-compile-toolsets, rather than hard-coding.
2707 (rst-portable-mark-active-p): Fix presumed typo.
2709 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2711 * term/w32-win.el (dynamic-library-alist): Set up correctly for
2712 libpng versions both before and after 1.4.0. (Bug#7716)
2714 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2716 * time.el (display-time-mode): Mention display-time-interval in
2717 the doc string. (Bug#7713)
2719 2011-01-02 Kenichi Handa <handa@m17n.org>
2721 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2722 condition-case and return an error message string if something
2724 (rmail-show-mime): Adjust for the above change. Insert the
2725 header by rmail-mime-insert-header.
2727 2011-01-02 Kenichi Handa <handa@m17n.org>
2729 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2730 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2731 (rmail-mime-mbox-buffer)
2732 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2733 (rmail-mime-entity): Argument changed. All codes handling an
2734 entity object are changed.
2735 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2737 (rmail-mime-entity-children, rmail-mime-entity-handler)
2738 (rmail-mime-entity-tagline): New functions.
2739 (rmail-mime-message-p): New function.
2740 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2741 (rmail-mime-entity-segment, rmail-mime-next-item)
2742 (rmail-mime-previous-item, rmail-mime-shown-mode)
2743 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2744 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2745 (rmail-mime-insert-tagline, rmail-mime-insert-header):
2747 (rmail-mime-text-handler): Call rmail-mime-insert-text.
2748 (rmail-mime-insert-decoded-text): New function.
2749 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2750 (rmail-mime-insert-image): Argument changed. Caller changed.
2751 (rmail-mime-image): Call rmail-mime-toggle-hidden.
2752 (rmail-mime-set-bulk-data): New function.
2753 (rmail-mime-insert-bulk): Argument changed.
2754 (rmail-mime-multipart-handler): Return t.
2755 (rmail-mime-process-multipart): Argument changed.
2756 Handle "multipart/alternative" here.
2757 (rmail-mime-process): Argument changed.
2758 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2759 (rmail-mime-insert): Argument changed. Handle raw display mode.
2760 (rmail-mime): Argument changed. Handle toggling of raw display
2762 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2763 rmail-mime-view-buffer.
2764 (rmail-insert-mime-forwarded-message): Likewise.
2765 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
2767 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2768 non-nil, handle the header in rmail-show-mime-function.
2770 2011-01-02 Leo <sdl.web@gmail.com>
2772 * help-fns.el (describe-variable): Fix previous change.
2774 2011-01-02 Juri Linkov <juri@jurta.org>
2776 * isearch.el (isearch-lazy-highlight-error): New variable.
2777 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2778 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
2779 to the current value of `isearch-error' (Bug#7468).
2781 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2783 * help-fns.el (describe-variable): Don't emit trailing whitespace
2786 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
2788 * textmodes/rst.el (rst-compile-pdf-preview)
2789 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2791 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2793 * emulation/edt-mapper.el: Override mapping of function keys so
2794 that the later call to read-key-sequence works.
2796 2011-01-02 Eli Zaretskii <eliz@gnu.org>
2798 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2799 Unix EOLs. (Bug#7589)
2801 2011-01-02 Leo <sdl.web@gmail.com>
2803 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2804 if point is not behind eshell-last-output-end (Bug#7585).
2806 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * files.el (file-local-variables-alist):
2809 Make permanent-local (bug#7767).
2811 2011-01-02 Glenn Morris <rgm@gnu.org>
2813 * version.el (emacs-copyright): Set short copyright year to 2011.
2815 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2817 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2818 an existing temp buffer. (Bug#7746)
2820 2011-01-02 Glenn Morris <rgm@gnu.org>
2822 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2823 multiple addresses. (Bug#7760)
2825 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
2827 * allout.el (allout-auto-fill): Do not infinitely recurse - use
2828 do-auto-fill if everything points back to allout-auto-fill.
2829 (allout-mode-deactivate-hook): Declare obsolete, in favor of
2830 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2832 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
2834 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2837 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2839 * doc-view.el (doc-view-set-doc-type): New function refactored
2841 (doc-view-fallback-mode): New function.
2842 (doc-view-mode): Use it.
2843 (doc-view-mode-maybe): New function that checks if doc-view-mode
2844 can be used and falls back to the next best mode otherwise.
2846 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2847 DVI, OpenDocument, and MS Office files.
2849 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
2851 * emacs-lisp/rx.el (rx-syntax): Fix typo.
2853 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2855 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2856 on a copy of auto-mode-alist, because that deletes with side
2859 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2861 * doc-view.el (doc-view-mode, doc-view-toggle-display):
2862 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2863 fallback instead of hard coding fundamental mode.
2865 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2867 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2868 Office) files also for searching.
2870 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
2872 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2873 Office) files. Not yet enabled via auto-mode-list.
2874 (doc-view-unoconv-program): New custom variable.
2875 (doc-view-mode-p): Handle new odf document type.
2876 (doc-view-odf->pdf): New conversion function.
2877 (doc-view-convert-current-doc): Call it for odf files.
2878 (doc-view-mode): Recognize newly supported file extensions.
2880 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
2882 * net/tramp.el (tramp-default-method-alist)
2883 (tramp-default-user-alist)
2884 (tramp-local-host-regexp, tramp-prefix-domain-format)
2885 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2888 * net/tramp-gvfs.el:
2890 * net/tramp-imap.el:
2892 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2893 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2895 2010-12-29 Karl Fogel <kfogel@red-bean.com>
2897 * saveplace.el (save-place-alist-to-file): Save list sorted and
2898 pretty-printed, so that it is mergeable by line-based text merging,
2899 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2901 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
2903 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2904 (allout-mode): Argument "toggle" => "force".
2905 Refine the docstring.
2906 Remove special provisions for reactivation, besides the 'force'
2908 Consolidate layout provisions coce directly into the activation
2909 condition branch, now that we've removed those provisions.
2910 (allout-unload-function): Explicitly activate the mode before
2911 deactivating, if it's initially deactivated.
2912 (allout-set-buffer-multibyte): Properly prevent byte-compiler
2913 warnings for version of function used only where
2914 set-buffer-multibyte is unavailable.
2916 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
2918 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2919 are handled by the menu-bar entries. As before, don't use
2920 :visibile to avoid changing the tool-bar.
2922 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2924 * net/secrets.el (secrets-delete-alias): New defun.
2926 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
2928 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2929 methods, otherwise ~/.ssh/config would be ignored.
2931 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * emacs-lisp/rx.el: Make it a superset of sregex.
2934 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2935 of args, add `regex' alias.
2936 (rx-info): Add arg to distinguish head and standalone forms.
2937 (rx-check, rx-form): Pass the corresponding arg.
2939 (rx-repeat): Make it work for any number of args.
2940 (rx-syntax): Make it accept syntax chars as is.
2941 * obsolete/sregex.el: Move from emacs-lisp/.
2942 * emacs-lisp/re-builder.el: Remove sregex support.
2943 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2945 2010-12-25 Eli Zaretskii <eliz@gnu.org>
2947 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2948 PRIMARY first, then the clipboard. (Bug#7699)
2950 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2955 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
2957 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2958 .emacs.elc (Bug#7530).
2960 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2961 image spec (Bug#7480).
2963 2010-12-21 Daiki Ueno <ueno@unixuser.org>
2965 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2966 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2969 2010-12-20 Leo <sdl.web@gmail.com>
2971 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2972 always be performed (Bug#7680).
2974 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
2976 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2977 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
2980 * color.el: Move from gnus/.
2982 * vc/diff.el (diff-better-file-name): Function deleted.
2983 abbreviating file names causes problems with shell-quote-argument.
2984 (diff-no-select): Just use expand-file-name.
2986 * tool-bar.el (tool-bar--image-expression): New function.
2987 (tool-bar-local-item, tool-bar--image-exp): Use it.
2988 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2989 Use :enable instead of :visible to avoid changing the tool-bar
2990 configuration unnecessarily.
2992 * info.el (info-tool-bar-map): Add separators.
2994 2010-12-17 Ken Brown <kbrown@cornell.edu>
2996 * loadup.el: Use version numbers in Cygwin build.
2998 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3000 * ido.el (ido-file-internal): Ask for confirmation before
3001 overwriting an existing file (Bug#1238).
3003 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3005 * tool-bar.el (tool-bar-setup): Add separators.
3007 * menu-bar.el (featurep): Use menu-bar-separator.
3009 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3011 Migrate allout encryption provisions from pgg to epg.
3013 * allout.el (allout-toggle-current-subtree-encryption)
3014 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3015 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3016 for simpler universal argument interpretation.
3017 (allout-toggle-subtree-encryption): Adjust docstring to describe
3018 changed encryption provisions. Change fetch-pass to keymode-cue, for
3019 simpler universal argument interpretation. Remove provisions for
3020 handling key type and identity - they'll all be within
3021 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3022 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3023 for keypair recipients (universal argument > 1) and, in addition,
3024 associating the specified recipients with the outline (universal
3025 argument > 4) using a file local variable setting for
3026 'epa-file-encrypt-to'.
3027 Require epa, for recipients handling.
3028 Change how regexp filtering elements are named.
3029 Describe the problem with caching of incorrect symmetric-decryption
3031 Use the epa-passphrase-callback-function, in case the user is using
3033 Support saving of the selected keypair recipients when invoked with a
3035 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3037 Establish epg-context with armoring and default epg-protocol.
3038 Remove all passphrase cache, verification, and hinting code.
3039 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3040 No longer used, delete.
3041 (allout-mode): Adjust docstring to describe changed encryption
3042 provisions. Describe the problem with caching of incorrect
3043 symmetric-decryption keys.
3044 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3045 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3046 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3047 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3050 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3052 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3053 key selection prompt; make 'silent as default (Bug#7487).
3055 2010-12-16 Leo <sdl.web@gmail.com>
3057 * eshell/eshell.el (eshell-directory-name):
3058 Use locate-user-emacs-file (Bug#7578).
3060 2010-12-15 Glenn Morris <rgm@gnu.org>
3062 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3064 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3065 Scott Evans <gse@antisleep.com>
3067 * rect.el (rectange--default-line-number-format)
3068 (rectangle-number-line-callback): New functions.
3069 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3071 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3073 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3074 Delete unused variables.
3075 (move-to-column-force): Remove function obsolete since 21.2.
3077 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3079 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3080 (tramp-handle-insert-file-contents): Do not set permanent-local
3083 * net/tramp-cache.el (tramp-persistency-file-name):
3084 Use `locate-user-emacs-file' if fboundp.
3086 * net/tramp-sh.el (tramp-methods): Add "ksu".
3087 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3090 2010-12-14 Glenn Morris <rgm@gnu.org>
3092 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3093 (find-tag-marker-ring): Declare.
3094 (js-find-symbol): Require etags.
3096 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3098 (mail-alias-file): Don't autoload. Doc fix.
3099 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3100 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3101 Mark as obsolete, and risky.
3102 (mail-setup): Simplify.
3104 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3105 * mail/sendmail.el (build-mail-aliases): Update autoload.
3107 * dired.el (dired-trivial-filenames, dired-chown-program)
3108 (dired-auto-revert-buffer): Remove autoload cookies.
3109 * mail/sendmail.el (mail-recover-1): Require 'dired.
3111 * dired.el (dired-subdir-switches, dired-chown-program)
3112 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3113 Make into defcustoms.
3114 (dired-chown-program): Simplify initialization.
3116 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3118 2010-12-13 Romain Francoise <romain@orebokech.com>
3120 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3122 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3124 * net/netrc.el (netrc-point-at-eol): Remove the unused
3125 netrc-point-at-old and netrc-bound-and-true-p bindings.
3126 (netrc-parse): Cache the netrc contents.
3128 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3130 * subr.el (posn-col-row): Evaluate header-line-format in the
3131 context of the POSITION window's buffer.
3133 2010-12-13 Glenn Morris <rgm@gnu.org>
3135 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3136 (with-silent-modifications): Doc fixes.
3138 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3140 * net/tramp.el (tramp-action-password, tramp-process-actions):
3141 Revert previous from. Use `save-restriction'.
3143 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3145 * calendar/diary-lib.el (diary-list-sexp-entries):
3146 Handle case of no newline at end of file. (Bug#7536)
3148 2010-12-13 Glenn Morris <rgm@gnu.org>
3150 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3152 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3154 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3155 (tramp-process-actions): Do not widen.
3157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3158 Protect buffer-modified value. (Bug#7557)
3160 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3162 * log-edit.el (log-edit-changelog-entries):
3163 Regexp quote filename. (Bug#7505)
3165 2010-12-13 Tom Breton <tehom@panix.com>
3167 * cus-edit.el (custom-save-all):
3168 Bind print-length and print-level to nil. (Bug#7581)
3170 2010-12-13 Glenn Morris <rgm@gnu.org>
3172 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3173 Run hooks to update menu contents. (Bug#7586)
3175 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3176 file names, for the sake of MS Windows. (Bug#7588)
3178 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3181 empty lines without a leading space.
3183 2010-12-13 Leo <sdl.web@gmail.com>
3185 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3186 while mapping over marks (Bug#6810).
3188 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3190 * image-dired.el (image-dired-db-file)
3191 (image-dired-temp-image-file, image-dired-gallery-dir)
3192 (image-dired-temp-rotate-image-file): Set default values relative
3193 to image-dired-dir (Bug#7518).
3195 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3197 * format.el (format-decode-run-method): Pass args FROM and TO, not
3198 point-min and point-max, to shell-command-on-region (Bug#7488).
3200 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3202 * frame.el (blink-cursor-mode): Make default t for ns.
3204 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3206 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3208 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3210 * comint.el (comint-dynamic-list-input-ring)
3211 (comint-dynamic-complete-filename)
3212 (comint-replace-by-expanded-filename)
3213 (comint-dynamic-simple-complete)
3214 (comint-dynamic-list-filename-completions)
3215 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3217 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3220 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3222 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3225 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3227 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3230 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3232 * files.el (file-relative-name): Handle UNC file names on
3233 DOS/Windows. (Bug#4674)
3235 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3237 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3238 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3239 (epg-context-set-passphrase-callback): Mention that the callback
3240 is not called when used with GnuPG 2.x.
3242 2010-12-13 Glenn Morris <rgm@gnu.org>
3244 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3245 Ensure ps-footer-font-size-internal is initialized.
3246 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3248 2010-12-13 Kenichi Handa <handa@m17n.org>
3250 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3251 within condition-case.
3252 (rmail-show-mime): Don't use condition-case.
3253 (rmail-search-mime-message): New function.
3254 (rmail-search-mime-message-function): Set to
3255 rmail-search-mime-message.
3257 2010-12-13 Leo <sdl.web@gmail.com>
3259 * ido.el (ido-common-initialization): New function. (bug#3274)
3261 (ido-completing-read): Call it.
3263 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3265 * bookmark.el (bookmark-name-from-full-record): Rename back to
3266 this original name from `bookmark-name-from-record' reverting part
3267 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3268 As Drew Adams pointed out, there was no reason to cause churn for
3269 third-party callers. (Bug#7609)
3271 2010-12-12 Alan Mackenzie <acm@muc.de>
3273 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3274 template arglist, check that the current language supports this.
3276 2010-12-11 Glenn Morris <rgm@gnu.org>
3278 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3279 state of the file matches. (Bug#7544)
3280 (vc-bzr-register, vc-bzr-checkin)
3281 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3282 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3284 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3286 2010-12-11 Karel Klíč <kklic@redhat.com>
3288 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3290 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3292 Derive from prog-mode, use derived-mode-p, and fix up various
3293 minor style issues in lisp/progmodes.
3295 * progmodes/vhdl-mode.el (vhdl-mode):
3296 * progmodes/verilog-mode.el (verilog-mode):
3297 * progmodes/vera-mode.el (vera-mode):
3298 * progmodes/sql.el (sql-mode):
3299 * progmodes/scheme.el (scheme-mode):
3300 * progmodes/perl-mode.el (perl-mode):
3301 * progmodes/octave-inf.el (inferior-octave-mode):
3302 * progmodes/autoconf.el (autoconf-mode):
3303 * progmodes/m4-mode.el (m4-mode):
3304 * progmodes/inf-lisp.el (inferior-lisp-mode):
3305 * progmodes/idlwave.el (idlwave-mode):
3306 * progmodes/icon.el (icon-mode):
3307 * progmodes/idlw-help.el (idlwave-help-mode):
3308 * progmodes/dcl-mode.el (dcl-mode):
3309 * progmodes/idlw-shell.el (idlwave-shell-mode):
3310 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3311 (ebrowse-member-mode, ebrowse-electric-position-mode):
3312 Use define-derived-mode.
3314 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3315 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3316 (xscheme-debugger-mode-p, xscheme-send-string-1):
3317 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3318 (tcl-load-file, tcl-restart-with-file):
3319 * progmodes/ps-mode.el (ps-run-running):
3320 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3321 * progmodes/js.el (js--get-all-known-symbols):
3322 * progmodes/inf-lisp.el (inferior-lisp-proc):
3323 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3324 (idlwave-template, idlwave-update-buffer-routine-info)
3325 (idlwave-update-current-buffer-info)
3326 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3327 (idlwave-scan-class-info, idlwave-fix-keywords)
3328 (idlwave-list-buffer-load-path-shadows):
3329 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3330 (idlwave-toolbar-remove):
3331 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3332 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3333 (idlwave-shell-menu-def):
3334 * progmodes/idlw-complete-structtag.el
3335 (idlwave-prepare-structure-tag-completion):
3336 * progmodes/gud.el (gud-set-buffer):
3337 * progmodes/f90.el (f90-backslash-not-special):
3338 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3340 * progmodes/xscheme.el (xscheme-start)
3341 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3342 * progmodes/which-func.el (which-function):
3343 * progmodes/vhdl-mode.el (vhdl-set-style):
3344 * progmodes/verilog-mode.el (verilog-set-compile-command)
3345 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3346 (verilog-set-define, verilog-auto-reeval-locals):
3347 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3348 * progmodes/simula.el (simula-mode):
3349 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3350 * progmodes/python.el (python-check, python-mode):
3351 * progmodes/prolog.el (prolog-mode-variables):
3352 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3353 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3354 * progmodes/delphi.el (delphi-mode):
3355 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3356 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3357 (c-font-lock-init): Move make-local-variable to their setq.
3359 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3360 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3362 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3363 (sh-set-shell): Don't set require-final-newline since it's already done
3365 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3366 since we never set it.
3367 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3368 Use read-string and standard prompt.
3369 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3370 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3371 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3372 (meta-common-mode-map): Rename from meta-mode-map.
3373 Remove C-m binding, which is a user preference, not mode specific.
3374 (meta-common-mode): New major mode; replace meta-common-initialization.
3375 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3376 around with font-lock.
3377 * progmodes/etags.el (select-tags-table-mode):
3378 Derive from special-mode.
3379 * progmodes/octave-mod.el (octave-mode):
3380 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3381 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3382 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3383 Let define-derived-mode do its job.
3384 * progmodes/cpp.el (cpp-edit-mode-map):
3385 Move initialization into declaration.
3386 (cpp-edit-mode): Use define-derived-mode.
3387 (cpp-edit-load): Use derived-mode-p.
3388 * progmodes/mixal-mode.el (mixal-mode):
3389 * progmodes/f90.el (f90-mode):
3390 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3391 require-final-newline since prog-mode does it already.
3392 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3393 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3394 * progmodes/antlr-mode.el: Require cc-mode upfront.
3395 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3397 (antlr-directory-dependencies, antlr-show-makefile-rules):
3399 (antlr-language-option): Don't assume point-min==1.
3400 (antlr-mode): Use define-derived-mode.
3401 * progmodes/ada-mode.el: Use derived-mode-p.
3402 (ada-mode): Use define-derived-mode.
3403 Use hack-local-variables-hook.
3405 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3408 (texinfo-mode): Don't disable adaptive-fill-mode.
3409 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3410 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3411 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3412 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3413 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3414 (texinfo-insert-@quotation, texinfo-insert-@samp)
3415 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3416 (texinfo-insert-@uref): Use define-skeleton.
3417 (texinfo-insert-@-with-arg): Delete.
3419 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3421 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3422 nil, do quote archive member names. (Bug#6144)
3424 2010-12-10 Glenn Morris <rgm@gnu.org>
3426 * files.el (diff-no-select): Declare.
3428 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3429 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3431 * comint.el (comint-input-ring-file-name): Doc fix.
3433 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3435 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3437 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3438 Use them instead of `nil' and `>', respectively.
3439 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3441 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3442 and menu-bar-positive-p instead of `nil' and `>', respectively.
3445 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3447 * whitespace.el (whitespace-newline-mode): Code fix.
3449 2010-12-09 Glenn Morris <rgm@gnu.org>
3451 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3452 Rename functions without commas, update callers.
3454 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3456 * whitespace.el (whitespace-cleanup-region):
3457 Clean up spaces before tabs. (Bug#7582)
3459 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3461 * bookmark.el: Adjust parameter names and doc strings to resolve
3462 confusion over whether "bookmark" meant a bookmark name or a
3463 bookmark record. Along the way, shorten one function's name for
3464 similar reasons. (Issue #7548)
3465 (bookmark-name-from-record): New name for
3466 `bookmark-name-from-full-record'. All callers changed.
3467 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3468 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3469 (bookmark-get-annotation, bookmark-set-annotation)
3470 (bookmark-get-filename, bookmark-set-filename)
3471 (bookmark-get-position, bookmark-set-position)
3472 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3473 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3474 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3475 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3476 Rename `bookmark' parameter to `bookmark-name-or-record', to
3477 clearly show its role, and shorten or adjust doc strings accordingly.
3478 (bookmark-set-name): Same, and pass the parameter directly to
3479 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3480 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3481 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3482 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3483 and in some cases shorten doc string accordingly.
3484 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3485 and `new-name', and adjust an internal variable to avoid confusion.
3486 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3487 parameter in doc string.
3489 2010-12-08 Glenn Morris <rgm@gnu.org>
3491 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3492 from gdb's history file. (Bug#7575)
3494 * mail/emacsbug.el (report-emacs-bug):
3495 Try to handle some other mail clients.
3497 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3499 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3500 Use string-prefix-p.
3501 (file-name-version-regexp): New var.
3502 (file-name-sans-versions):
3503 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3504 (jka-compr-get-compression-info): Use dolist.
3505 (jka-compr-compression-info-list): Don't bother specifying
3506 version/backup regexps.
3508 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3510 * simple.el (just-one-space): Make argument n default to 1 if
3513 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3515 * electric.el (electric-indent-post-self-insert-function):
3516 Delete trailing newlines even if we don't reindent.
3518 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3520 * minibuffer.el (completion-at-point): Remove the `arg'.
3521 * bindings.el (complete-symbol): Move back from minibuffer.el.
3523 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3525 * simple.el (just-one-space): Delete newlines for negative arg.
3527 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3530 (ansi-color-filter-apply): Simplify.
3531 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3533 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3535 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3537 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3539 * dired.el (dired-use-ls-dired): Set default to a special
3540 "unspecified" value.
3541 (dired-insert-directory): When called the first time, check
3542 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3544 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3546 * replace.el: Add "collect" feature to occur.
3547 (occur-collect-regexp-history): New var.
3548 (occur-read-primary-args): Return a replace string for nlines,
3550 (occur): Extend the meaning of nlines.
3552 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3554 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3555 (which-func-update-1): Distinguish symbols from strings.
3556 (which-function): Stay within 80 columns.
3558 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3562 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3564 (comment-style): Use comment-styles's docs to describe values.
3566 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3568 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3569 and ns-show-prefs (Bug#7535).
3571 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3572 bindings (Bug#7535).
3574 2010-12-03 Glenn Morris <rgm@gnu.org>
3576 * nxml/nxml-mode.el: Require rng-nxml.
3577 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3578 Remove declarations.
3580 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3581 * nxml/rng-nxml.el, nxml/rng-valid.el:
3582 Remove leading `*' from defcustom docs.
3584 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3585 (normal-top-level-add-to-load-path, tty-handle-args):
3586 Convert comments to basic doc-strings.
3588 * net/browse-url.el (browse-url-url-at-point)
3589 (browse-url-default-browser): Remove autoload cookies.
3591 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3592 Remove more undefined cl functions.
3594 * vc/diff.el (diff-sentinel): Make new arguments optional.
3595 * ibuf-ext.el (diff-sentinel): Update declaration.
3597 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3599 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3600 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3601 (epg-context-set-passphrase-callback): Mention that the callback
3602 is not called when used with GnuPG 2.x.
3604 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3606 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3607 (tramp-file-name-port): Check also for `tramp-default-port'.
3608 (tramp-get-connection-name): New defun.
3609 (tramp-get-connection-process): Use it.
3610 (tramp-debug-message): Extend function exclude list.
3611 (tramp-drop-volume-letter): Fix doc string.
3613 * net/tramp-cmds.el: Remove solved todo item.
3616 * net/tramp-gvfs.el:
3618 * net/tramp-imap.el:
3619 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3620 and `tramp-default-user-alist', respectively.
3622 * net/tramp-gw.el (tramp-gw-open-connection):
3623 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3625 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3626 `tramp-file-name-port'.
3628 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3629 and "psftp". Exchange "%k" marker with options.
3630 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3631 Compute size of link target.
3632 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3633 `tramp-current-*' up due to gateway methods. Optimize computing of
3634 copy arguments. Use `tramp-get-connection-name' and
3635 `tramp-get-connection-buffer'. Improve debug messages.
3636 (tramp-compute-multi-hops): Remove port determination.
3637 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3639 * net/trampver.el: Update release number.
3641 2010-12-02 Glenn Morris <rgm@gnu.org>
3643 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3644 Avoid infinite loop over windows. (Bug#7492)
3646 * progmodes/flymake.el (flymake-check-file-limit):
3647 Allow nil to mean "no limit".
3648 (flymake-check-patch-master-file-buffer): Update for above change.
3649 Allow a .tex file-name extension to be optional.
3650 (flymake-master-tex-init): Also match \include statements.
3652 2010-11-30 Sam Steingold <sds@gnu.org>
3654 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3655 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3656 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3657 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3658 define-derived-mode').
3659 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3660 users who want to call `nxml-parent-document-set'.
3662 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3664 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3665 stand-alone lines, since that is handled by log-edit-match-to-eoh
3668 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3670 * dired.el (dired-get-filename): Replace backslashes with slashes
3671 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3672 * locate.el (locate-default-make-command-line): Don't consider
3673 drive letter and root directory part of
3674 `directory-listing-before-filename-regexp'. (Bug#7308)
3675 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3677 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3680 of :smie-open/close-alist.
3681 (smie-next-sexp): Make it accept a "start token" as argument.
3682 (smie-indent-keyword): Be careful not to misidentify tokens that span
3683 more than one line, as empty lines. Add argument `token'.
3685 2010-11-27 Kenichi Handa <handa@m17n.org>
3687 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3688 multipart subtypes, insert all as usual.
3690 * mail/rmail.el: Require rfc2047.
3692 2010-11-27 Kenichi Handa <handa@m17n.org>
3694 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3695 (rmail-mime-entity-disposition)
3696 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3697 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3698 (rmail-mime-save): Handle the case that the button's `data' is a
3700 (rmail-mime-insert-text): New function.
3701 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3702 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3703 (rmail-mime-insert-bulk): New function mostly copied from the old
3704 rmail-mime-bulk-handler.
3705 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3706 (rmail-mime-process-multipart): New function mostly copied from
3707 the old rmail-mime-multipart-handler.
3708 (rmail-mime-show): Just call rmail-mime-process.
3709 (rmail-mime-process): New function mostly copied from the old
3711 (rmail-mime-insert-multipart, rmail-mime-parse)
3712 (rmail-mime-insert, rmail-show-mime)
3713 (rmail-insert-mime-forwarded-message)
3714 (rmail-insert-mime-resent-message): New functions.
3715 (rmail-insert-mime-forwarded-message-function): Set to
3716 rmail-insert-mime-forwarded-message.
3717 (rmail-insert-mime-resent-message-function): Set to
3718 rmail-insert-mime-resent-message.
3720 * mail/rmailsum.el: Require rfc2047.
3721 (rmail-header-summary): Handle multiline Subject: field.
3722 (rmail-summary-line-decoder): Change the default to
3723 rfc2047-decode-string.
3725 * mail/rmail.el (rmail-enable-mime): Change the default to t.
3726 (rmail-mime-feature): Change the default to `rmailmm'.
3727 (rmail-quit): Delete the specifal code for rmail-enable-mime.
3728 (rmail-display-labels): Likewise.
3729 (rmail-show-message-1): Check rmail-enable-mime, and use
3730 rmail-show-mime-function for a MIME message. Decode the headers
3731 according to RFC2047.
3733 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * progmodes/which-func.el (which-func-imenu-joiner-function):
3736 Return a string, as expected.
3737 (which-function-mode): Make sure we stop any previous timer before
3740 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
3742 * net/tramp.el (tramp-default-method-alist)
3743 (tramp-default-user-alist, tramp-default-proxies-alist):
3744 Adapt custom options type. (Bug#7445)
3746 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3748 * progmodes/python.el: Add Ipython support (Bug#5390).
3749 (python-shell-prompt-alist)
3750 (python-shell-continuation-prompt-alist): New options.
3751 (python--set-prompt-regexp): New function.
3752 (inferior-python-mode, run-python, python-shell):
3753 Require ansi-color. Use python--set-prompt-regexp to set the comint
3754 prompt based on the Python interpreter.
3755 (python--prompt-regexp): New var.
3756 (python-check-comint-prompt)
3757 (python-comint-output-filter-function): Use it.
3758 (run-python): Use a pipe (Bug#5694).
3760 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3762 * progmodes/python.el (run-python): Doc fix.
3763 (python-keep-current-directory-in-path): New var (Bug#7454).
3765 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3767 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3768 Prompt user before actually printing.
3770 2010-11-27 Glenn Morris <rgm@gnu.org>
3772 * startup.el (package-enable-at-startup, package-initialize):
3773 Remove unnecessary declarations.
3775 2010-11-27 Eli Zaretskii <eliz@gnu.org>
3777 * international/characters.el (glyphless-char-display-control):
3778 Exclude newline and TAB from the c0-control group.
3780 2010-11-27 Glenn Morris <rgm@gnu.org>
3782 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3783 (expand-mail-aliases): Remove unnecessary autoload.
3785 * allout.el (allout-command-prefix, allout-mode-map): Declare.
3787 * shell.el (shell-dir-cookie-re): Move definition before use.
3789 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3790 Replace undefined CL functions.
3792 2010-11-26 Eli Zaretskii <eliz@gnu.org>
3794 * simple.el (prog-mode): Set bidi-paragraph-direction to
3797 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3799 2010-11-26 Glenn Morris <rgm@gnu.org>
3801 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3802 diary-outlook-formats can be sensitive to calendar-date-style.
3803 (diary-outlook-formats): Simplify the default setting.
3804 (diary-from-outlook-internal): Pass subject and body as arguments.
3805 Use dolist rather than dotimes. Don't save the diary buffer.
3806 (diary-from-outlook-gnus, diary-from-outlook-rmail):
3807 Pass subject and body as explicit arguments to the -internal function.
3809 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3811 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3812 parsing them. This makes mailto:...?subject=foo\nbar work.
3814 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * vc/diff.el (diff): Fix last change.
3818 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3820 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
3821 (pcase--dontcare-upats): New var.
3822 (pcase-let, pcase-let*): Generate better code.
3823 Accept the same bodies as `let'.
3824 (pcase-dolist): New macro.
3825 (pcase--trivial-upat-p): New helper function.
3826 (pcase--expand): Strip leading "(let nil" if any.
3828 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3830 * mail/mailclient.el (browse-url): Require.
3831 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3832 use the external browser function to send the mail (bug#7469).
3834 * net/browse-url.el (browse-url-browser-function): Revert the
3835 default back to the previous value, since the new value broke
3837 (browse-url-mailto-function): New variable for mailto: URLs.
3838 (browse-url): Use the new variable for mailto: URLs.
3840 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3842 * eshell/esh-cmd.el (eshell-parse-command):
3843 * eshell/esh-arg.el (eshell-parse-arguments):
3844 * eshell/em-script.el (eshell-source-file):
3845 Use with-silent-modifications.
3847 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3849 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
3850 for a merge location.
3852 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3853 (vc-bzr-merge-branch): Always prompt.
3854 (vc-bzr-async-command): Use the full branch filename.
3856 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * shell.el (shell): Use current-buffer by default if it's already
3859 a shell mode buffer and its process is dead.
3860 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3862 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
3864 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3865 Mention that the keywords should be comma separated.
3867 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
3869 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3870 Accept optional prefix arg meaning to prompt for a command.
3871 (vc-update): Use vc-BACKEND-pull if available. Accept optional
3872 prefix arg meaning to prompt for a command.
3873 (vc-pull): Alias for vc-update.
3875 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3876 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3877 (vc-bzr-merge-branch): New functions, implementing merge-branch
3878 and pull operations.
3880 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3882 * Makefile.in: Fix up last merge.
3884 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3885 (diff-sentinel): Get them as arguments instead.
3886 (diff-old-file, diff-new-file, diff-extra-args): Remove.
3887 (diff-file-local-copy, diff-better-file-name): New funs.
3888 (diff-no-select): Rename from diff-into-buffer.
3889 Support buffers additionally to files. Move `buf' arg. Don't display buf.
3890 Prefer closures to buffer-local variables.
3891 (diff): Adjust accordingly.
3892 (diff-buffer-with-file): Move from files.el.
3893 * files.el (diff-buffer-with-file): Move to vc/diff.el.
3894 (diff-buffer-internal): Remove.
3895 (diff-buffer-buffer): Remove.
3896 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3897 the buffer name used, and so as not to mess up windows and frames.
3899 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3901 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3902 (diff-buffer-internal): New function extracted from diff-buffer-with-file
3903 (diff-buffer-with-file): Use it.
3904 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3907 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
3909 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3910 \ref's or \pageref's value as default instead of initial input.
3912 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
3914 * files.el (backup-by-copying-when-mismatch): The default value is
3917 * startup.el (normal-top-level):
3918 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3919 `backup-by-copying-when-mismatch'.
3921 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3923 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3925 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3927 * progmodes/python.el (python-font-lock-keywords):
3928 Highlight top-level augmented assignments (Bug#6445).
3930 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
3932 * term/ns-win.el (ns-right-control-modifier)
3933 (ns-right-command-modifier): Defvar them.
3935 * cus-start.el (all): Add ns-right-control-modifier and
3936 ns-right-command-modifier (Bug#7458).
3938 2010-11-20 Glenn Morris <rgm@gnu.org>
3940 * emacs-lisp/authors.el (authors-ignored-files)
3941 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3943 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3945 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3946 (report-emacs-bug-parse-query-results)
3947 (report-emacs-bug-create-existing-bugs-buffer): Pass through
3948 keywords used for querying the bug database to show them in the
3949 existing bugs buffer.
3951 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
3953 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3955 * info.el (info-tool-bar-map): Add some :vert-only keywords.
3957 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3959 * international/characters.el (glyphless-char-display-control):
3960 Make it a defcustom, with update-glyphless-char-display as its
3962 (top level): Don't call update-glyphless-char-display.
3964 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
3966 Sync with Tramp 2.2.0.
3968 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3969 `file-remote-p' (due to compatibility).
3971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3972 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3974 * net/trampver.el: Update release number.
3976 2010-11-20 Eli Zaretskii <eliz@gnu.org>
3978 * faces.el (glyphless-char): Define value for `pc'.
3980 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
3982 Implemented a bug querying mechanism.
3983 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3984 (report-emacs-bug-create-existing-bugs-buffer)
3985 (report-emacs-bug-parse-query-results)
3986 (report-emacs-bug-query-existing-bugs): New functions.
3988 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
3990 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3991 a \ref{} or \pageref{} macro, then use its value as initial input.
3993 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3995 * calc/calc-units.el (math-build-units-table-buffer):
3996 calc/README: Mention that the TeX specific units won't use the
3997 `tex' prefix in TeX mode.
3998 calc/calc-lang.el (math-variable-table): Don't use the `tex'
3999 prefix for units in TeX mode.
4001 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4003 * simple.el (kill-new, kill-append, kill-region):
4004 * comint.el (comint-kill-region): Make the yank-handler argument
4007 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4010 that are both openers (resp. closers) and something else.
4011 (smie-grammar): Loosen definition of valid values.
4012 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4013 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4014 (smie-indent-after-keyword): Adjust users.
4015 (smie-indent-keyword): Don't indent empty lines.
4017 * vc-hg.el (vc-hg-program): New var.
4018 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4019 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4021 2010-11-18 Glenn Morris <rgm@gnu.org>
4023 * emacs-lisp/autoload.el (autoload-find-destination): The function
4024 coding-system-eol-type may return non-numeric values. (Bug#7414)
4026 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4028 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4030 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4032 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4034 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4036 * textmodes/picture.el (picture-mouse-set-point): Don't use
4037 posn-col-row; explicitly compute the motion based on the posn at
4038 the window-start (Bug#7390).
4040 2010-11-18 Glenn Morris <rgm@gnu.org>
4042 * novice.el (disabled-command-function):
4043 Fix 2009-11-15 change. (Bug#7384)
4045 2010-11-18 Glenn Morris <rgm@gnu.org>
4047 * calendar/calendar.el (diary-iso-date-forms): Make elements
4048 mutually exclusive. (Bug#7377)
4050 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4052 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4053 when filling the remaining "unconstrained" values.
4055 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4057 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4060 * files.el (safe-local-variable-p): Gracefully handle errors.
4062 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4063 Use smie-indent-virtual when indenting relative to an opener.
4064 (smie-rule-separator): Use smie-rule-parent.
4065 (smie-indent-keyword): Consult rules, even for openers at bol.
4066 (smie-indent-comment-close): Try to align closer's content.
4068 2010-11-18 Glenn Morris <rgm@gnu.org>
4070 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4072 2010-11-18 Glenn Morris <rgm@gnu.org>
4074 * printing.el (pr-menu-bind): Doc fix.
4076 * speedbar.el (speedbar-toggle-images): Doc fix.
4078 * progmodes/python.el (python-shell): Doc fix.
4080 * wid-edit.el (widget-field-use-before-change)
4081 (widget-use-overlay-change): Doc fixes.
4083 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4085 Minor cleanup to improve style.
4086 * textmodes/rst.el (rst-update-section): Use point-marker.
4087 (rst-get-decoration): Eliminate unneeded assignment.
4088 (rst-promote-region, rst-straighten-decorations)
4089 (rst-section-tree, rst-adjust): Use point-marker.
4090 (rst-toc-mode-mouse-goto): Avoid setq.
4091 (rst-shift-region-guts, rst-shift-region-left)
4092 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4093 (rst-convert-bullets-to-enumeration): Use copy-marker.
4095 * minibuffer.el (completion-fail-discreetly): New var.
4096 (completion--do-completion): Use it.
4098 * electric.el (electric-pair-pairs): New var.
4099 (electric-pair-post-self-insert-function): Use it.
4100 (electric-layout-post-self-insert-function): Don't insert a before
4101 newline unless it's actually needed.
4103 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * progmodes/python.el (run-python): Explain why we remove the current
4106 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4108 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4110 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4112 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4113 (octave-mode-map): Don't bind ;, SPC, and LF.
4114 (octave-auto-indent, octave-auto-newline): Remove.
4115 (electric-layout-rules): Declare.
4116 (octave-mode): Set electric-layout-rules.
4117 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4118 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4119 (octave-electric-space): Remove.
4121 * electric.el (electric-layout-mode): New minor mode.
4122 (electric--after-char-pos): New function.
4123 (electric-indent-post-self-insert-function): Use it.
4124 (electric-layout-rules): New var.
4125 (electric-layout-post-self-insert-function): New function.
4126 (electric-indent-mode): Make them interact better.
4128 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4131 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4132 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4134 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4136 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4137 Make sure to check inside the word (Bug#6761).
4139 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4141 * startup.el (command-line): If the cursorColor resource is set,
4142 change the cursor face-spec (Bug#7392).
4144 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4146 The main features of the following allout.el changes are:
4147 - implement user customization for the allout key bindings
4148 - add a customization control by which the user can inhibit use of
4149 a trailing Ctrl-H, so by default it's reserved for use with
4150 describe-prefix-bindings
4151 - adapt to new version of called-interactively-p, while
4152 maintaining backwards compatibility with old version
4153 - fix hotspot navigation so i works properly with meta-modified keys.
4155 * allout.el (allout-keybindings, allout-bind-keys)
4156 (allout-keybindings-binding, allout-prefixed-keybindings)
4157 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4158 (allout-keybindings-list, allout-mode-map-adjustments)
4159 (allout-setup-mode-map): Establish allout-mode keymaps as user
4160 customizable settings, and also establish a customizable setting which
4161 regulates whether or not a trailing control-h is reserved for use with
4162 describe-prefix-bindings - and inhibit it by default, so that control-h
4163 *is* reserved for describe-prefix-bindings unless the user changes it.
4165 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4166 and accurately between modified and unmodified events, and handle
4167 modified events more comprehensively.
4169 * allout.el (allout-substring-no-properties):
4170 Alias to use or provide version of `substring-no-properties'.
4171 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4173 * allout.el (allout-next-single-char-property-change):
4174 Alias to use or provide version of `next-single-char-property-change'.
4175 (allout-annotate-hidden, allout-hide-by-annotation):
4176 Use `allout-next-single-char-property-change'.
4178 * allout.el (allout-select-safe-coding-system):
4179 Alias to use or provide version of `select-safe-coding-system'.
4180 (allout-toggle-subtree-encryption):
4181 Use `allout-select-safe-coding-system'.
4183 * allout.el (allout-set-buffer-multibyte):
4184 Alias to use or provide version of `set-buffer-multibyte'.
4185 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4187 * allout.el (allout-called-interactively-p): Macro for using the
4188 different versions of called-interactively-p identically, depending on
4189 the subroutine's argument signature.
4190 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4191 Use `(interactive "p")' instead of `(called-interactively-p)'.
4193 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4194 (allout-previous-visible-heading, allout-forward-current-level)
4195 (allout-backward-current-level, allout-show-children):
4196 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4198 * allout.el (allout-before-change-handler):
4199 Exempt edits to the (overlaid) character after the allout outline
4200 bullet from edit confirmation prompt.
4202 * allout.el (allout-add-resumptions):
4203 Ensure that it respects correct buffer for keybindings.
4205 * allout.el (allout-beginning-of-line):
4206 Use `allout-previous-single-char-property-change' alias for the sake of
4207 diverse compatibility.
4209 * allout.el (allout-end-of-line):
4210 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4212 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4214 * frame.el (frame-notice-user-settings): Don't clobber other
4215 user-set parameters when calling face-set-after-frame-default in
4216 response to background-color parameter (Bug#7373).
4218 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4220 * international/characters.el (glyphless-char-display-control):
4221 Rename from glyphless-char-control; all users changed. Doc fix.
4222 Signal an error if display method is not one of the recognized
4225 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4227 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4228 (tramp-compat-line-end-position): Remove them.
4230 * net/tramp.el (tramp-parse-rhosts-group)
4231 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4232 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4233 (tramp-parse-netrc-group, tramp-parse-putty-group)
4234 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4235 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4236 (tramp-sh-handle-file-selinux-context)
4237 (tramp-sh-handle-file-name-all-completions)
4238 (tramp-sh-handle-insert-directory)
4239 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4240 (tramp-wait-for-output, tramp-send-command-and-read)
4241 * net/tramp-smb.el (tramp-smb-read-file-entry)
4242 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4244 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4246 (tramp-remote-coding-commands): Add an alternative using "base64
4247 -d -i". This is needed for older base64 versions from GNU
4248 coreutils. Reported by Klaus Reichl
4249 <Klaus.Reichl@thalesgroup.com>.
4251 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4253 * simple.el (count-words-region): New function.
4255 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * shell.el (shell-dir-cookie-re): New custom variable.
4258 (shell-dir-cookie-watcher): New function.
4260 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4261 and compilation-mode (bug#7350).
4263 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4264 highlight when one of them is empty.
4266 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4268 (skeleton-newline): New function.
4269 (skeleton-internal-1): Use it.
4271 * simple.el (open-line): `newline' may strip trailing space.
4273 2010-11-12 Kevin Ryde <user42@zip.com.au>
4275 * international/mule-cmds.el (princ-list): Use mapc.
4277 2010-11-12 Glenn Morris <rgm@gnu.org>
4279 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4280 Use it to replace all instances of "*Compile-Log*".
4282 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4287 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * progmodes/modula2.el: Use SMIE and skeleton.
4290 (m2-mode-syntax-table): (*..*) can be nested.
4291 Add //...\n. Fix paren syntax.
4292 (m2-mode-map): Remove LF and TAB bindings.
4293 (m2-indent): Add safety property.
4294 (m2-smie-grammar): New var.
4295 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4296 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4297 (m2-mode): Use define-derived-mode.
4298 (m2-newline, m2-tab): Remove.
4299 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4300 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4301 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4302 (m2-import): Use define-skeleton.
4304 2010-11-11 Glenn Morris <rgm@gnu.org>
4306 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4308 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4309 (ls-lisp-verbosity): Add custom :set-after property.
4310 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4311 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4312 (ls-lisp-insert-directory): Update caller.
4313 (ls-lisp-set-options): New function.
4314 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4317 * play/landmark.el (lm-prompt-for-move):
4318 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4320 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4322 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4323 (idlwave-study-twins): Prefix dynamic local variable `name'.
4324 (idlwave-routine-twin-compare): Update for above change.
4326 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4327 Prefix dynamic local variables `name', `kwd', and `link'.
4328 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4329 * progmodes/idlw-complete-structtag.el
4330 (idlwave-complete-structure-tag-help):
4331 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4332 (idlwave-complete-sysvar-tag-help)
4333 (idlwave-complete-class-structure-tag-help):
4334 Update for above name changes.
4336 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4338 * net/browse-url.el (browse-url-browser-function): Change the
4339 default to use `browse-url-mail' on mailto: URLs.
4341 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4343 * emacs-lisp/package.el (package-read-all-archive-contents):
4344 Reset package-archive-contents to nil before re-reading.
4346 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4348 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4349 already found as misspellings by (flyspell-large-region), just
4350 do highlighting (bug#7322).
4352 2010-11-10 Glenn Morris <rgm@gnu.org>
4354 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4356 * emulation/edt.el (edt-with-position): New macro.
4357 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4358 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4359 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4361 * emulation/tpu-extras.el (tpu-with-position): New macro.
4362 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4364 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4366 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4367 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4368 (texinfo-master-menu, texinfo-insert-node-lines)
4369 (texinfo-multiple-files-update):
4370 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4371 Use line-beginning-position.
4373 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4374 No recent Emacs supports system-type `emx'.
4376 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4377 (ada-command-separator, ada-default-prj-properties)
4378 (ada-find-any-references): Update for above name change.
4380 * dirtrack.el (dirtrack-directory-function)
4381 (dirtrack-canonicalize-function):
4382 * filecache.el (file-cache-completion-ignore-case)
4383 (file-cache-case-fold-search, file-cache-ignore-case):
4384 * term.el (serial-port-is-file-p): Cosmetic change.
4386 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4387 Remove non-existent `windows-95' system-type.
4388 * dired.el (dired-chown-program): Remove non-existent `linux'
4391 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4392 (ping-program-options): Remove non-existent `linux' system-type.
4394 * startup.el (package-initialize): Update declaration.
4396 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4397 (ls-lisp-handle-switches): Use time-less-p.
4398 (ls-lisp-format-time): Use float-time.
4400 * textmodes/remember.el (remember-time-to-seconds): Remove.
4401 (remember-store-in-mailbox): Use float-time.
4403 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4405 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4406 never a real function.
4407 (with-no-warnings): Remove compat stub, now unused.
4408 (time-less-p): Doc fix.
4409 (time-to-number-of-days): Simplify.
4411 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4413 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4414 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4415 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4416 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4417 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4419 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4420 (eshell-shuffle-files, eshell-shorthand-tar-command)
4421 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4422 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4423 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4424 Prefix dynamic local variable `matches'.
4426 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4427 Prefix dynamic local variable `skeleton'.
4429 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4431 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4432 in mail buffer; make yank-action always a command that yanks original
4435 2010-11-09 Glenn Morris <rgm@gnu.org>
4437 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4439 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4442 completion field (bug#7211).
4444 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4445 Fix handling of backslash escapes.
4446 (python-quote-syntax): Adjust accordingly.
4448 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4450 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4451 (vc-mtn-workfile-branch): Adjust to new output format.
4453 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4455 * international/mule-cmds.el (princ-list): Mark as obsolete.
4457 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4459 * emacs-lisp/smie.el: New package.
4461 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4463 * files.el (backup-by-copying-when-mismatch):
4464 Set `permanent-local' property.
4466 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4467 `permanent-local' property for `backup-by-copying-when-mismatch'.
4469 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4471 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4473 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4475 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4476 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4477 AUTOINOUT for SV style multidimensional arrays, bug294.
4478 Reported by Eric Mastromarchi.
4479 (verilog-preprocess): Use with-current-buffer and
4480 font-lock-fontify-buffer to cleanup style issues.
4482 2010-11-09 Glenn Morris <rgm@gnu.org>
4484 * locate.el (locate, locate-mode): Doc fixes.
4486 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4488 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4489 user for confirmation.
4490 (server-force-stop): Use it.
4491 (server-start): Use server-force-stop for kill-emacs-hook, to
4492 avoid user interaction while killing Emacs.
4494 2010-11-09 Glenn Morris <rgm@gnu.org>
4496 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4497 (meta-indent-line): Simplify.
4499 * vc/emerge.el (emerge-line-number-in-buf):
4500 * textmodes/ispell.el (ispell-region):
4501 * textmodes/fill.el (current-fill-column):
4502 * progmodes/xscheme.el (xscheme-send-current-line):
4503 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4504 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4505 * progmodes/sh-script.el (sh-handle-prev-do):
4506 * progmodes/meta-mode.el (meta-indent-line):
4507 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4509 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4510 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4511 * progmodes/fortran.el (fortran-looking-at-if-then):
4512 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4513 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4514 (cperl-find-pods-heres):
4515 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4516 * net/quickurl.el (quickurl-list-insert):
4517 * net/ldap.el (ldap-search-internal):
4518 * net/eudc.el (eudc-expand-inline):
4519 * mail/sendmail.el (sendmail-send-it):
4520 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4521 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4522 (viper-brac-function):
4523 * calc/calc-yank.el (calc-do-grab-region):
4524 * calc/calc-keypd.el (calc-keypad-press):
4525 * term.el (term-move-columns, term-insert-spaces):
4526 * speedbar.el (speedbar-highlight-one-tag-line):
4527 * simple.el (current-word):
4528 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4529 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4531 * hippie-exp.el (he-line-beg):
4532 * epa.el (epa--marked-keys):
4533 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4534 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4535 (dired-relist-entry):
4536 * buff-menu.el (Buffer-menu-buffer):
4537 * array.el (current-line):
4538 * allout.el (allout-resolve-xref)
4539 (allout-latex-verbatim-quote-curr-line):
4540 Replace yet more uses of end-of-line etc with line-end-position, etc.
4542 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4544 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4545 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4546 (checkdoc-syntax-table): Initialize in the declaration.
4547 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4548 the mode on unconditionally.
4550 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4551 (extent-end-position, extent-start-position): Remove setf method for
4552 non-existing functions (bug#7319).
4554 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4557 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4558 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4559 (smie-prec2->grammar): Rename from smie-prec2-levels.
4560 (smie-grammar): Rename from smie-op-levels.
4561 (smie-indent--hanging-p): Rename from smie-hanging-p.
4562 (smie-rule-hanging-p): New alias.
4563 (smie-indent--bolp): Rename from smie-bolp.
4564 (smie-indent--hanging-p): New alias.
4565 (smie--token): New dynamically bound variable.
4566 (smie-indent--parent): New function.
4567 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4568 (smie-rule-next-p): Rename from smie-next-p.
4569 (smie-rule-prev-p): Rename from smie-prev-p.
4570 (smie-rule-sibling-p, smie-rule-parent)
4571 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4572 (smie-rule-separator-outdent): New var.
4573 (smie-indent--rule): Merge with smie-indent--column.
4574 (smie-indent-forward-token, smie-indent-backward-token):
4575 Also recognize close parens.
4576 (smie-indent-keyword): Don't use smie-indent--column any more.
4577 (smie-indent-after-keyword): Ignore closers by default.
4578 (smie-indent-line): Use with-demoted-errors.
4579 * progmodes/octave-mod.el (octave-smie-grammar):
4580 Rename from octave-smie-op-levels.
4581 (octave-smie-rules): Adjust to new behavior.
4582 * progmodes/prolog.el (prolog-smie-grammar):
4583 Rename from prolog-smie-op-levels.
4585 2010-11-07 Glenn Morris <rgm@gnu.org>
4587 * eshell/esh-util.el (subst-char-in-string)
4588 (directory-files-and-attributes): These compatibility definitions are
4589 not needed on any version of Emacs since at least 21.4.
4591 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4592 (verilog-get-end-of-line): Remove.
4593 (verilog-within-string, verilog-re-search-forward-substr)
4594 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4595 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4596 Use point-at-bol, point-at-eol.
4597 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4599 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4600 (electric-pascal-terminate-line, pascal-set-auto-comments)
4601 (pascal-indent-paramlist, pascal-indent-declaration)
4602 (pascal-get-lineup-indent, pascal-func-completion)
4603 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4604 Use point-at-bol, point-at-eol.
4605 * progmodes/flymake.el (flymake-line-beginning-position)
4606 (flymake-line-end-position): Remove.
4607 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4608 * eshell/esh-util.el (line-end-position, line-beginning-position):
4609 Remove compat definitions.
4611 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4613 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4614 Use line-end-position.
4616 * emacs-lisp/chart.el (chart-zap-chars):
4617 * play/decipher.el (decipher-set-map):
4618 * progmodes/ada-mode.el (ada-get-current-indent)
4619 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4620 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4621 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4622 (ada-get-all-references):
4623 * progmodes/cperl-mode.el (cperl-electric-paren)
4624 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4625 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4626 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4627 (cperl-word-at-point-hard):
4628 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4629 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4630 (idlwave-shell-display-line):
4631 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4632 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4633 * progmodes/js.el (js--re-search-forward-inner)
4634 (js--re-search-backward-inner):
4635 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4636 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4637 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4638 * textmodes/flyspell.el (flyspell-process-localwords):
4639 * textmodes/ispell.el (ispell-buffer-local-parsing)
4640 (ispell-buffer-local-dict, ispell-buffer-local-words):
4641 Use point-at-bol and point-at-eol.
4643 * speedbar.el (speedbar-generic-item-info)
4644 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4645 (speedbar-add-indicator, speedbar-check-vc-this-line)
4646 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4647 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4648 Replace more uses of end-of-line etc with line-end-position.
4650 2010-11-06 Glenn Morris <rgm@gnu.org>
4652 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4653 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4654 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4655 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4656 (texinfo-multiple-files-update):
4657 * textmodes/table.el (table--probe-cell-left-up)
4658 (table--probe-cell-right-bottom):
4659 * textmodes/picture.el (picture-tab-search):
4660 * textmodes/page-ext.el (pages-copy-header-and-position)
4661 (pages-directory-for-addresses):
4662 * progmodes/vera-mode.el (vera-get-offset):
4663 * progmodes/simula.el (simula-calculate-indent):
4664 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4665 * progmodes/prolog.el (end-of-prolog-clause):
4666 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4667 * progmodes/icon.el (indent-icon-exp):
4668 * progmodes/etags.el (tag-re-match-p):
4669 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4670 * progmodes/ebnf2ps.el (ebnf-begin-file):
4671 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4672 (dcl-save-local-variable):
4673 * play/life.el (life-setup):
4674 * play/gametree.el (gametree-looking-at-ply):
4675 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4676 * mail/sendmail.el (mail-mode-auto-fill):
4677 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4678 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4679 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4680 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4681 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4682 * type-break.el (type-break-file-keystroke-count):
4683 * term.el (term-replace-by-expanded-history-before-point)
4684 (term-skip-prompt, term-extract-string):
4685 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4686 (speedbar-contract-line, speedbar-toggle-line-expansion)
4687 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4688 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4689 * sort.el (sort-skip-fields):
4690 * skeleton.el (skeleton-internal-list):
4691 * simple.el (line-move-finish, line-move-to-column):
4692 * shell.el (shell-forward-command):
4693 * misc.el (copy-from-above-command):
4694 * makesum.el (double-column):
4695 * ebuff-menu.el (electric-buffer-update-highlight):
4696 * dired.el (dired-move-to-end-of-filename):
4697 * dframe.el (dframe-popup-kludge):
4698 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4699 * arc-mode.el (archive-get-lineno):
4700 Use line-end-position and line-beginning-position.
4702 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4703 (idlwave-study-twins): Prefix dynamic local `class'.
4704 (idlwave-routine-twin-compare): Update for above name change.
4706 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4707 Use boundp tests to silence compiler. Update for changed name of
4708 bytecomp-filename variable.
4710 * emulation/viper-cmd.el (viper-read-string-with-history):
4711 Prefix dynamic local `initial'.
4712 (viper-minibuffer-standard-hook): Update for above name change.
4714 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4715 (elint-init-form): Update for above name change.
4717 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4718 local variables `cbeg' and `cend' a prefix.
4719 (mail-extr-voodoo): Update for above name change.
4721 * textmodes/reftex-toc.el (reftex-toc-do-promote)
4722 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4723 (reftex-toc-promote-action): Doc fix.
4725 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4726 `prompt', `data' a prefix.
4727 (reftex-select-post-command-hook, reftex-select-callback)
4728 (reftex-select-mouse-accept, reftex-select-read-cite):
4729 Update for above name changes.
4731 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4732 `refstyle' to reftex-refstyle.
4733 (reftex-offer-label-menu): Update for above name change.
4734 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4735 `refstyle' name change.
4737 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4738 with with-current-buffer.
4739 (diff, template): Give dynamic local variables a prefix.
4740 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4741 (emerge-line-number-in-buf): Update for above name change.
4742 (emerge-combine-versions-internal): Rename local `template' to
4743 emerge-combine-template.
4744 (emerge-combine-versions-edit): Update for above name change.
4746 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
4748 * textmodes/reftex-cite.el
4749 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4750 entries with whitespace after \bibitem.
4751 (reftex-create-bibtex-file): Match entries containing numbers and
4752 symbol constituents. Make sure that entries with whitespace at
4753 various places are found.
4755 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
4757 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4759 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
4761 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4763 2010-11-05 Glenn Morris <rgm@gnu.org>
4765 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4766 (woman2-roff-buffer): Give local variable `request' a prefix.
4767 (woman0-macro): Rename argument `request' in the same way.
4768 (woman-request): New name for `request' dynamic variable.
4769 (woman-unquote, woman-forward-arg): Update for above name change.
4770 (woman1-roff-buffer): Give local variable `unquote' a prefix.
4771 (woman1-unquote): New name for `unquote' dynamic variable.
4772 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4773 (woman-translations): Rename from `translations'. No longer global.
4774 (woman2-tr, woman-translate): Update for above name change.
4775 (woman-translate): Check for bound variable.
4776 (woman2-roff-buffer): Give local variable `translations' a prefix.
4778 * play/doctor.el: Give all local variables a prefix. Update callers.
4779 (doc$, doctor-put-meaning): Use backquote.
4781 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4782 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4784 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4785 variables bytes, ptr, op a prefix.
4786 (disassemble-offset): Update for above change.
4788 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4790 * emacs-lisp/package.el (package-unpack): Remove no-op.
4791 (package--builtins, package--dir): Doc fix.
4792 (package-activate-1, package-activate, package-install)
4793 (package-compute-transaction): Fix error message.
4794 (package-delete): Use delete-directory. Omit system packages.
4795 (package-initialize): Set package-alist to nil first.
4796 (package-menu-mark-delete, package-menu-mark-install): Don't add
4797 symbols that are inconsistent with the package state.
4798 (package-menu-execute): Perform deletions and installations as
4799 single batch operations.
4801 2010-11-03 Glenn Morris <rgm@gnu.org>
4803 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4804 (props): Remove unnecessary declaration.
4806 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4807 set-process-query-on-exit-flag.
4809 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4810 (reftex-toc-do-promote): Remove unused local `mpos'.
4811 (reftex-toc-restore-region): Make `mpos' local to this function.
4813 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4815 * play/landmark.el (lm-losing-threshold): Correct spelling.
4816 (lm-human-plays): Use new name.
4818 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4819 (gomoku-human-plays): Use new name.
4821 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4822 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4823 (gomoku-score-trans-table, gomoku-winning-threshold)
4824 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4826 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
4828 * emacs-lisp/package.el: Don't put built-in packages in
4829 package-alist, to avoid loading inefficiencies.
4830 (package-built-in-p): Make VERSION optional, and treat it as a
4831 minimum acceptable version.
4832 (package-activate): Search separately for built-in packages.
4833 Emit a warning if a dependency fails.
4834 (define-package): Handle most common case, where there is no
4835 obsolete package, first.
4836 (package-compute-transaction): Print required version in error.
4837 (package--initialized): New variable.
4838 (list-packages): Use it.
4839 (package-initialize): Optional arg NO-ACTIVATE. Don't put
4840 built-in packages in packages-alist; keep it separate.
4841 Set package--initialized.
4842 (describe-package): Avoid activating packages as a side-effect.
4843 Search separately for built-in packages.
4844 (describe-package-1): Handle the case where an elpa package is
4845 simultaneously built-in and available/installed.
4846 (package-installed-p, package--generate-package-list):
4847 Search separately for built-in packages.
4848 (package-load-descriptor): Doc fix.
4850 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4853 Handle __DATA__ and __END__.
4855 2010-11-02 Noah Friedman <friedman@splode.com>
4857 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4858 nil, do not ask to recompile files that are not already compiled,
4859 and do not recompile them.
4861 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
4863 * emacs-lisp/package.el (package-initialize): Ensure that
4864 obsoleted built-in packages are not in package-activated-list
4866 (describe-package-1): Make the "installed" status override
4869 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4871 * subr.el (version-separator, version-regexp-alist): Remove '*'
4873 (version-list-<=, version<=, version=): Doc fix.
4875 2010-11-01 Kenichi Handa <handa@m17n.org>
4877 * faces.el (glyphless-char): Inherit underline for tty.
4879 2010-11-01 Kenichi Handa <handa@m17n.org>
4881 Implement various display methods for glyphless characters.
4883 * international/characters.el (char-acronym-table): New variable.
4884 (glyphless-char-control): New variable.
4885 (update-glyphless-char-display): New function.
4887 * faces.el (glyphless-char): New face.
4889 2010-11-01 Glenn Morris <rgm@gnu.org>
4891 * calendar/holidays.el (general-holidays, oriental-holidays)
4892 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4893 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4894 the definitions of their targets.
4896 * emacs-lisp/smie.el (smie): New custom group.
4897 (smie-blink-matching-inners, smie-indent-basic): Add :group.
4899 * faces.el (xw-defined-colors, x-setup-function-keys):
4900 * mouse-sel.el (x-select-text):
4901 * term/w32console.el (x-setup-function-keys): Update declarations.
4903 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4905 * textmodes/ispell.el (comment-add): Declare.
4907 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4910 * info.el (finder-keywords-hash, package-alist): Declare.
4912 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4914 * finder.el (finder-compile-keywords): Don't use intern-soft,
4915 since package names may not yet exist in the obarray.
4917 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
4919 * vc/vc-arch.el (vc-arch-checkin):
4920 * vc/vc-cvs.el (vc-cvs-checkin):
4921 * vc/vc-mtn.el (vc-mtn-checkin):
4922 * vc/vc-rcs.el (vc-rcs-checkin):
4923 * vc/vc-sccs.el (vc-sccs-checkin):
4924 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4925 since 2010-04-21 commit by Stefan Monnier.
4927 2010-11-01 Glenn Morris <rgm@gnu.org>
4929 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4931 * startup.el (package-enable-at-startup, package-initialize):
4934 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4937 2010-10-31 Julien Danjou <julien@danjou.info>
4939 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4940 (byte-recompile-directory):
4941 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4942 Use `byte-recompile-file'.
4944 2010-10-31 Glenn Morris <rgm@gnu.org>
4946 * cus-start.el: Handle standard values via a keyword.
4947 Only set version property if specified.
4948 (cursor-in-non-selected-windows, menu-bar-mode)
4949 (tool-bar-mode, show-trailing-whitespace):
4950 Do not specify standard values.
4951 (transient-mark-mode, temporary-file-directory): Use :standard.
4953 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
4955 * term/x-win.el (x-get-selection-value): New function that gets
4956 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
4958 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
4960 * net/tramp.el (tramp-handle-insert-file-contents): For root,
4961 preserve owner and group when editing files. (Bug#7289)
4963 2010-10-31 Glenn Morris <rgm@gnu.org>
4965 * speedbar.el (speedbar-mode):
4966 * play/fortune.el (fortune-in-buffer, fortune):
4967 * play/gomoku.el (gomoku-mode):
4968 * play/landmark.el (lm-mode):
4969 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4970 Replace inappropriate uses of toggle-read-only. (Bug#7292)
4972 * select.el (x-selection): Mark it as an obsolete alias.
4974 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4976 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4977 major-mode (bug#7284).
4979 2010-10-31 Glenn Morris <rgm@gnu.org>
4981 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4982 rather than just an unused variable that inherits from the real one.
4984 2010-10-31 Alan Mackenzie <acm@muc.de>
4986 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4987 This fixes bug #7185.
4989 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
4991 * startup.el (command-line): Search for package directories, and
4992 don't load package.el if none are found.
4994 * emacs-lisp/package.el (describe-package, list-packages):
4995 Call package-initialize if it has not been called yet.
4997 2010-10-30 Alan Mackenzie <acm@muc.de>
4999 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5000 which fontifies the tail of an enum.
5001 (c-basic-matchers-after): Insert a call to the above new function.
5002 This fixes bug #7264.
5004 2010-10-30 Glenn Morris <rgm@gnu.org>
5006 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5007 tool-bar-mode, transient-mark-mode. (Bug#7306)
5008 Include the :set property in the dumped Emacs.
5010 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5012 SMIE: change indent rules format, improve smie-setup.
5013 * emacs-lisp/smie.el (smie-precs-precedence-table)
5014 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5015 Mark them pure so the tables gets built at compile time.
5016 (smie-bnf-precedence-table): Store the closer-alist in the table.
5017 (smie-prec2-levels): Preserve the closer-alist.
5018 (smie-blink-matching-open): Be more forgiving in case of indentation.
5019 (smie-hanging-p): Rename from smie-indent--hanging-p.
5020 (smie-bolp): Rename from smie-indent--bolp.
5021 (smie--parent, smie--after): New dynamic vars.
5022 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5023 (smie-indent-rules): Remove.
5024 (smie-indent--offset-rule): Remove fun.
5025 (smie-rules-function): New var.
5026 (smie-indent--rule): New fun.
5027 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5028 (smie-indent-exps): Use it.
5029 (smie-setup): Setup paren blinking; add keyword args for token
5030 functions; extract closer-alist from op-levels.
5031 (smie-indent-debug-log): Remove var.
5032 (smie-indent-debug): Remove fun.
5033 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5034 (prolog-smie-rules): New fun to replace it.
5035 (prolog-mode-variables): Simplify.
5036 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5037 it's setup automatically.
5038 (octave-smie-indent-rules): Remove.
5039 (octave-smie-rules): New fun to replace it.
5040 (octave-mode): Simplify.
5042 2010-10-29 Glenn Morris <rgm@gnu.org>
5044 * files.el (temporary-file-directory): Remove (already defined in C).
5045 * cus-start.el: Add temporary-file-directory.
5047 * abbrev.el (abbrev-mode):
5048 * composite.el (auto-composition-mode):
5049 * menu-bar.el (menu-bar-mode):
5050 * simple.el (transient-mark-mode):
5051 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5052 that they do not define the associated variables twice.
5053 * simple.el (transient-mark-mode): Remove defvar.
5054 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5055 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5056 Handle multiple groups, and also custom-delayed-init-variables.
5057 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5059 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5062 (pcase-if): Add one minor optimization.
5063 (pcase-split-equal): Rename from pcase-split-eq.
5064 (pcase-split-member): Rename from pcase-split-memq.
5065 (pcase-u1): Add strings to the member optimization.
5066 Add `guard' variant of predicates.
5067 (pcase-q1): Add string patterns.
5069 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5073 2010-10-28 Glenn Morris <rgm@gnu.org>
5075 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5076 Move menu-bar related settings to ../menu-bar.el.
5077 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5078 Move ns-specific settings here from term/ns-win.el.
5080 * simple.el (x-selection-owner-p): Remove unused declaration.
5082 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5084 * minibuffer.el (completion-cycling): New var (bug#7266).
5085 (minibuffer-complete, completion--do-completion):
5086 Use completion--flush-all-sorted-completions.
5087 (minibuffer-complete): Only cycle if completion-cycling is set.
5088 (completion--flush-all-sorted-completions): Unset completion-cycling.
5089 (minibuffer-force-complete): Set completion-cycling.
5090 (completion-all-sorted-completions): Move declaration before first use.
5092 2010-10-28 Leo <sdl.web@gmail.com>
5094 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5095 which changes the order of matches seen by users (bug#7231).
5097 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5099 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5100 Don't confuse -omega as "-o mega".
5102 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5104 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5105 (log-edit-author): New dynamic var.
5106 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5107 to return the author if different from committer.
5108 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5110 * play/landmark.el: Adjust commenting convention.
5111 (lm-nil-score): Rename from nil-score.
5112 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5113 (OOOOscore): Move into a let in lm-score-trans-table.
5114 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5116 * electric.el (electric-indent-chars): Autoload.
5117 * progmodes/octave-mod.el (octave-mode):
5118 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5119 (ruby-mode-abbrev-table): Merge initialization and declaration.
5121 2010-10-27 Glenn Morris <rgm@gnu.org>
5123 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5126 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5128 * term/ns-win.el: Restore require of cl when compiling.
5129 (menu-bar-final-items): Remove non-existent `windows' menu.
5130 (ns-handle-nxopen): Optionally handle the temp-case.
5131 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5132 (ns-insert-file, ns-find-file): Use `pop'.
5134 2010-10-26 Glenn Morris <rgm@gnu.org>
5136 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5138 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5140 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5142 * term/common-win.el (x-setup-function-keys): Remove most of the
5143 keymappings. Comment on the remaining ones.
5145 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5147 * server.el (server-port): New option. (Bug#854)
5148 (server-start): Use server-port.
5150 2010-10-26 Glenn Morris <rgm@gnu.org>
5152 * term/ns-win.el (ns-version-string): Remove unused declaration.
5153 (ns-invocation-args): Change to x-invocation-args.
5154 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5155 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5156 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5157 Use x-invocation-args instead of ns-invocation-args.
5158 (ns-initialize-window-system, handle-args-function-alist):
5159 Use x-handle-args instead of ns-handle-args.
5160 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5161 * startup.el (command-line-ns-option-alist): Replace
5162 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5163 ns-handle-iconic with the x- equivalents.
5165 * term/common-win.el (x-select-enable-clipboard):
5166 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5168 * term/ns-win.el: No need to require cl when compiling.
5169 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5170 (xw-defined-colors): Use the common-win definitions.
5171 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5172 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5173 * term/common-win.el (x-select-text, x-alternatives-map)
5174 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5175 * loadup.el [ns]: Load common-win.
5177 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5179 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5180 recipients; expand mail aliases (Bug#7280).
5182 2010-10-25 Glenn Morris <rgm@gnu.org>
5184 * term/common-win.el (x-handle-switch): Simplify with pop.
5185 Optionally handle numeric switches.
5186 (x-handle-numeric-switch): Just call x-handle-switch.
5187 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5188 (x-handle-name-switch, x-handle-display, x-handle-args):
5191 * term/ns-win.el: Do not require easymenu.
5192 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5193 <spell>: Move adjustments to menu-bar.el.
5194 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5195 <separator-undo, spell>: Move ns-win's adjustments here.
5196 * loadup.el [ns]: Do not load easymenu.
5198 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5200 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5203 * startup.el (fancy-startup-tail): Instead of using inline images,
5204 refer to image files from etc/.
5206 * wid-edit.el (checkbox): Likewise.
5207 (widget-image-find): Center image specs.
5209 2010-10-24 Glenn Morris <rgm@gnu.org>
5211 * term/ns-win.el (x-select-text): Doc fix.
5212 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5213 (x-select-text): Move to term/common-win.
5214 * term/w32-win.el (xw-defined-colors): Move to common-win.
5215 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5216 (x-setup-function-keys, x-select-text): Move to common-win.
5217 * term/common-win.el (x-select-text, x-alternatives-map)
5218 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5221 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5223 * net/mairix.el (mairix-searches-mode-map):
5224 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5226 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5228 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5229 auto-built for efficiency of execution and updating.
5230 (verilog-extended-complete-re): Support 'pure' fucntion & task
5231 declarations (these have no bodies).
5232 (verilog-beg-of-statement): General cleanup to enable support of
5233 'pure' fucntion & task declarations (these have no bodies).
5234 These efforts together fix Verilog bug210 from veripool; which was also
5235 noticed by Steve Pearlmutter.
5236 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5237 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5238 Support `elsif. Reported by Shankar Giri.
5239 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5240 attribute handling for lining up declarations and assignments.
5241 (verilog-beg-of-statement-1): Fix issue where continued declaration
5242 is indented differently if it is after a begin..end clock.
5243 (verilog-in-attribute-p, verilog-skip-backward-comments)
5244 (verilog-skip-forward-comment-p): Support proper treatment of
5245 attributes by indent code. Reported by Jeff Steele.
5246 (verilog-in-directive-p): Fix comment to correctly describe function.
5247 (verilog-backward-up-list, verilog-in-struct-region-p)
5248 (verilog-backward-token, verilog-in-struct-p)
5249 (verilog-in-coverage-p, verilog-do-indent)
5250 (verilog-pretty-declarations): Use verilog-backward-up-list as
5251 wrapper around backward-up-list inorder to properly skip comments.
5252 Reported by David Rogoff.
5253 (verilog-property-re, verilog-endcomment-reason-re)
5254 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5255 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5256 of if). Reported by Max Bjurling and
5257 (verilog-calc-1): Fix for clocking block in modport
5258 declaration. Reported by Brian Hunter.
5260 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5262 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5263 (verilog-gate-keywords, verilog-read-sub-decls)
5264 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5265 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5266 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5267 (verilog-read-decls): Fix spaces in V2K module parameters causing
5268 mis-identification as interfaces, bug287.
5269 (verilog-read-decls): Fix not treating "parameter string" as a
5270 parameter in AUTOINSTPARAM.
5271 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5272 treating `elsif similar to `endif inside AUTOSENSE.
5273 (verilog-do-indent): Implement correct automatic or static task or
5274 function end comment highlight. Reported by Steve Pearlmutter.
5275 (verilog-font-lock-keywords-2): Fix highlighting of single
5276 character pins, bug264. Reported by Michael Laajanen.
5277 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5278 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5279 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5280 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5281 (verilog-pretty-expr): Fix interactive arguments, bug272.
5282 Reported by Mark Johnson.
5283 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5284 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5285 bug269. Suggested by Gary Delp.
5286 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5287 (verilog-preprocessor, verilog-set-compile-command):
5288 Create verilog-preprocess and verilog-preprocessor to show
5289 preprocessed output.
5290 (verilog-get-beg-of-line, verilog-get-end-of-line)
5291 (verilog-modi-file-or-buffer, verilog-modi-name)
5292 (verilog-modi-point, verilog-within-string): Move defmacro's
5293 before first use to avoid warning. Reported by Steve Pearlmutter.
5294 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5295 (verilog-colorize-region, verilog-highlight-buffer)
5296 (verilog-highlight-includes, verilog-highlight-modules)
5297 (verilog-highlight-region, verilog-mode): Rename colorize to
5298 highlight to match other packages. Disable module highlighting,
5299 as received speed complaints, reenable for experimentation only
5300 using new verilog-highlight-modules.
5301 (verilog-read-decls): Fix regexp stack overflow in very large
5302 AUTO_TEMPLATEs, bug250.
5303 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5304 (verilog-scan): Create verilog-save-buffer-state to standardize
5305 making insignificant changes that shouldn't call hooks.
5306 (verilog-save-no-change-functions, verilog-save-scan-cache)
5307 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5308 Create verilog-save-no-change-functions to wrap verilog-scan
5309 preservation, and fix to work with nested preserved calls.
5310 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5311 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5312 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5313 (verilog-submit-bug-report): Update variable list to be complete.
5314 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5315 breaking on-the-fly font-locking.
5316 (verilog-colorize-buffer, verilog-colorize-include-files)
5317 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5318 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5319 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5320 AUTOINST cell instance name, middle mouse button now finds-file on
5321 it. Suggested by Brad Dobbie.
5322 (verilog-alw-get-temps, verilog-auto-reset)
5323 (verilog-auto-sense-sigs, verilog-read-always-signals)
5324 (verilog-read-always-signals-recurse): Fix loop indexes being
5325 AUTORESET. AUTORESET now assumes any variables in the
5326 initialization section of a for() should be ignored.
5327 Reported by Dan Dever.
5328 (verilog-error-font-lock-keywords)
5329 (verilog-error-regexp-emacs-alist)
5330 (verilog-error-regexp-xemacs-alist): Fix error detection of
5331 Cadence HAL, reported by David Asher. Repair drift between the
5332 three similar error variables.
5333 (verilog-modi-lookup, verilog-modi-lookup-cache)
5334 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5335 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5336 Fix slow verilog-auto expansion on very large files.
5337 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5338 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5339 "{1*2{...". Broke in last revision.
5340 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5341 submodule connections with replications "{#{a},#{b}}".
5343 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5345 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5346 Fix typo in docstring.
5348 2010-10-24 Kenichi Handa <handa@m17n.org>
5350 * face-remap.el (text-scale-adjust): Call read-event with a proper
5353 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5355 * emacs-lisp/unsafep.el: Don't mark functions that display
5356 messages as safe. Suggested by Johan Bockgård.
5358 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5360 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5361 Turn comments into docstrings.
5363 * minibuffer.el (completion--replace): Move point where it belongs
5364 when there's a common suffix (bug#7215).
5366 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5368 Merge read-color and facemenu-read-color (Bug#7242).
5370 * faces.el (read-color): Use the completion code from
5371 facemenu-read-color. Require match in completion. Doc fix.
5373 * facemenu.el (facemenu-read-color): Alias for read-color.
5374 (facemenu-set-foreground, facemenu-set-background):
5377 * frame.el (set-background-color, set-foreground-color)
5378 (set-cursor-color, set-mouse-color, set-border-color):
5381 2010-10-24 Leo <sdl.web@gmail.com>
5383 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5384 argument of delete-file and delete-directory (Bug#7011).
5386 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5388 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5391 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5393 * emacs-lisp/package.el (package--generate-package-list): Make the
5394 *Packages* buffer read-only.
5396 2010-10-24 Alan Mackenzie <acm@muc.de>
5398 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5399 result of `c-beginning-of-decl-1' between invocations of a lambda
5400 function (Bug #7265).
5402 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5404 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5405 executable is not available on the system (Bug#7268).
5407 2010-10-24 Glenn Morris <rgm@gnu.org>
5409 * select.el (selection-coding-system, next-selection-coding-system):
5410 Sync doc with C versions.
5412 * w32-vars.el (x-select-enable-clipboard):
5413 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5414 * term/common-win.el (x-select-enable-clipboard): Move here.
5416 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5417 definition of C variable.
5419 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5420 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5421 Don't redefine things that are defined in C.
5422 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5423 (show-trailing-whitespace, auto-hscroll-mode)
5424 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5425 Set up the appropriate custom properties.
5427 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5430 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5431 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5432 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5433 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5435 2010-10-23 Glenn Morris <rgm@gnu.org>
5437 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5440 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5441 Sync docs with C version.
5443 * term/ns-win.el (xw-defined-colors):
5444 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5446 * term/pc-win.el (x-select-enable-clipboard):
5447 * term/x-win.el (x-select-enable-clipboard):
5448 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5450 * comint.el (comint-password-prompt-regexp): Make it less vague.
5453 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5455 * help.el (finder-by-keyword): Remove unnecessary autoload.
5457 2010-10-22 Glenn Morris <rgm@gnu.org>
5459 * loadup.el: Unconditionally load float-sup.
5460 * paren.el (show-paren-delay):
5461 * emacs-lisp/float-sup.el:
5462 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5463 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5464 (lazy-lock-stealth-verbose): Assume float support.
5465 * ps-print.el: Assume float support on Emacs.
5466 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5467 Remove non-float branch.
5469 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5470 src/Makefile no longer being pre-processed.
5472 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * emacs-lisp/find-func.el (find-library): Use test-completion.
5476 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5480 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5482 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5483 space in stat format string.
5484 (tramp-send-command): Unset $PS1 when using here documents, in
5485 order not to get several prompts.
5486 (tramp-get-inline-coding): Return `nil' in case of errors.
5488 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5490 * hexl.el (hexl-mode, hexl-mode-exit):
5491 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5492 (hexl-revert-buffer-function): New function.
5493 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5495 2010-10-19 Alan Mackenzie <acm@muc.de>
5497 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5498 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5499 that these keywords aren't wrongly matched as identifiers.
5501 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5502 setting of c-new-BEG and c-new-END from c-before-change to
5503 c-after-change. (Bug#7181)
5505 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5507 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5510 * custom.el (custom-theme-set-variables): Likewise.
5511 (load-theme): Add custom-theme-set-faces and
5512 custom-theme-set-variables to safe-functions while loading.
5513 (custom-enabled-themes): Mark as risky.
5515 2010-10-18 Julien Danjou <julien@danjou.info>
5517 * bindings.el: Remove end dashes in default mode-line-format.
5519 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5521 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5522 to delete-forward-char.
5524 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5525 deletechar, and hence delete-forward-char.
5527 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5529 * repeat.el (repeat): Use read-key (bug#6256).
5531 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5533 * emacs-lisp/unsafep.el: Don't mark functions that display
5534 messages as safe. Suggested by Johan Bockgård.
5536 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5538 * minibuffer.el (completion--replace): Move point where it belongs
5539 when there's a common suffix (bug#7215).
5541 2010-10-19 Kenichi Handa <handa@m17n.org>
5543 * international/characters.el: Add category '|' (word breakable)
5544 to fullwidth characters.
5546 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5548 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5549 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5550 order to make stat results a float. Patch by Andreas Schwab
5551 <schwab@linux-m68k.org>.
5553 2010-10-18 Julien Danjou <julien@danjou.info>
5555 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5556 hidden by `make-pointer-invisible'.
5558 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5560 * files.el (locate-file-completion-table): Strip non-matching elements
5561 before checking length of list (bug#7238).
5563 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5565 * custom.el (custom-theme-set-variables): Mark as a safe function.
5566 (load-theme): Check forms using unsafep.
5568 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5570 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5572 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5573 Fix aspell data file searching (bug#7230).
5575 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5577 * cus-theme.el (custom-theme--migrate-settings): New var.
5578 (customize-create-theme): Allow editing the `user' theme.
5579 (custom-theme-add-variable, custom-theme-add-var-1)
5580 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5581 to the front of each variable or face widget.
5582 (custom-theme-write): Save theme settings in the correct order.
5583 Optionally, remove saved settings from user customizations.
5584 (custom-theme-write-variables, custom-theme-write-faces):
5585 Save only the checked widgets.
5586 (customize-themes): Add a link for migrating custom settings.
5588 * custom.el (custom-declare-theme, provide-theme):
5589 Use custom-theme-name-valid-p.
5590 (custom-theme-name-valid-p): Remove checks that are now
5591 unnecessary since themes no longer obey load-path.
5593 * cus-edit.el (custom-variable-value-create): For the simple
5594 style, hide documentation string when hidden.
5596 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5598 * cus-edit.el (custom-variable, custom-face): Combine the
5599 :inhibit-magic and :display-style properties into a single
5600 :custom-style property.
5601 (custom-toggle-hide-variable, custom-toggle-hide-face):
5602 New functions. If hiding an edited value, save it to :shown-value.
5603 (custom-variable-value-create, custom-face-value-create): Use them.
5604 (custom-magic-reset): Allow magic property to be unset.
5606 * custom.el: Custom themes no longer use load-path.
5607 (custom-theme-load-path): New option. Change built-in theme
5609 (custom-enabled-themes): Add custom-theme-load-path dependency.
5610 (custom-theme--load-path): New function.
5611 (load-theme, custom-available-themes): Use it.
5613 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5614 (customize-themes): Link to custom-theme-load-path variable.
5615 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5616 :custom-style property.
5618 * themes/*.el: Moved to etc/.
5620 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5622 * textmodes/reftex-cite.el
5623 (reftex-extract-bib-entries-from-thebibliography): Do not move
5624 point when searching for \bibitem entries. Match entries with
5625 spaces or tabs in front of arguments.
5627 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5629 * cus-theme.el (customize-create-theme): Delete overlays after
5630 erasing. If given a THEME arg, display only the faces of that arg
5631 instead of custom-theme--listed-faces.
5632 (custom-theme-variable-menu, custom-theme-variable-action)
5633 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5634 (custom-theme-add-variable, custom-theme-add-face): Apply value
5635 from the theme settings, instead of the current value.
5636 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5637 (custom-theme-visit-theme): Allow calling outside theme buffers.
5638 (custom-theme-merge-theme): Don't enable the theme when merging.
5639 (custom-theme-write-variables, custom-theme-write-faces): Use the
5640 :shown-value properties to save buffer values, not global ones.
5641 (customize-themes): Display a warning about user customizations.
5643 * cus-edit.el (custom-variable-value-create)
5644 (custom-face-value-create): Obey new special properties
5645 :shown-value and :inhibit-magic.
5647 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5649 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5650 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5653 2010-10-14 Kenichi Handa <handa@m17n.org>
5655 * mail/rmail.el (rmail-show-message-1): Catch an error of
5656 base64-decode-region and just show an error message (bug#7165).
5658 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5659 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5660 a font-spec (bug#7197).
5662 2010-10-14 Glenn Morris <rgm@gnu.org>
5664 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5666 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5668 * international/mule.el (define-coding-system):
5669 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5670 * composite.el (compose-region): Fix typo in docstring.
5672 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5674 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5675 only after checking the theme-face property.
5677 * faces.el (face-spec-reset-face): Reset all attributes in one
5678 single call to set-face-attribute.
5679 (face-spec-match-p): Make it a defsubst.
5680 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5681 (x-create-frame-with-faces, tty-create-frame-with-faces)
5682 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5683 frame-set-background-mode, since they are recomputed immediately
5684 afterwards in face-set-after-frame-default.
5685 (face-set-after-frame-default): Minor optimization.
5686 (cursor): Provide non-trivial defface spec.
5688 * custom.el (custom-theme-recalc-face): Simplify.
5690 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5692 * calc/calc-alg.el (math-var): Rename from `var'.
5693 (math-is-polynomial, math-is-poly-rec): Replace `var'
5696 * calc/calcalg2.el (math-var): Rename from `var'.
5697 (calcFunc-table, math-scan-for-limits): Replace `var'
5700 2010-10-13 Glenn Morris <rgm@gnu.org>
5702 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5704 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5706 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5708 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5710 * net/tls.el (tls-program): Remove spurious %s from openssl.
5711 (tls-starttls-switches): Remove starttls hack.
5712 (open-tls-stream): Ditto.
5713 (tls-find-starttls-argument): Ditto.
5715 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
5717 * image.el (image-library-alist): Declare as obsolete alias.
5718 (image-type-available-p): Use `dynamic-library-alist'.
5720 * term/w32-win.el (dynamic-library-alist):
5721 Use instead of `image-library-alist'.
5723 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
5725 * subr.el (last): Make it faster. (Bug#7174)
5727 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
5729 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
5731 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5733 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5734 (describe-theme-1): Extract doc from unloaded themes.
5736 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5738 * themes/tango-theme.el:
5739 * themes/tango-dark-theme.el:
5740 * themes/wheatgrass-theme.el: New files.
5742 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
5744 * cus-theme.el (describe-theme, customize-themes)
5745 (custom-theme-save): New commands.
5746 (custom-new-theme-mode-map): Bind C-x C-s.
5747 (custom-new-theme-mode): Use custom--initialize-widget-variables.
5748 (customize-create-theme): New optional arg THEME.
5749 (custom-theme-revert): Use it.
5750 (custom-theme-visit-theme): Remove dead code.
5751 (custom-theme-merge-theme): Use custom-available-themes.
5752 (custom-theme-write): Make interactive.
5753 (custom-theme-write): Use custom-theme-name-valid-p.
5754 (describe-theme-1, custom-theme-choose-revert)
5755 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5757 (custom-theme-allow-multiple-selections): New option.
5758 (custom-theme-choose-mode): New major mode.
5760 * custom.el (custom-theme-set-variables): Remove dead code.
5761 Obey custom--inhibit-theme-enable.
5762 (custom--inhibit-theme-enable): New var.
5763 (provide-theme): Obey it.
5764 (load-theme): Replace load with manual read/eval, in order to
5765 check for correctness. Use custom-theme-name-valid-p.
5766 (custom-theme-name-valid-p): New function.
5767 (custom-available-themes): Use it.
5769 * cus-edit.el (custom--initialize-widget-variables): New function.
5770 (Custom-mode): Use it.
5772 * cus-face.el (custom-theme-set-faces): Remove dead code.
5773 Obey custom--inhibit-theme-enable.
5775 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5777 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
5779 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5781 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
5783 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5784 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5785 (mac-right-option-modifier): New alias for ns-right-option-modifier.
5787 * cus-start.el (all): ns-right-alternate-modifier is new.
5789 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * emacs-lisp/lisp.el (lisp-completion-at-point):
5792 Use emacs-lisp-mode-syntax-table for the whole function.
5794 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
5796 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5797 instead of font-lock-mode before adding keywords.
5798 Remove hi-lock-mode off code. Remove inhibit hack.
5799 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5800 non-nil; removed hook inhibit hack.
5802 2010-10-12 Glenn Morris <rgm@gnu.org>
5804 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5805 (load-path-shadows-find): ... to this.
5806 (list-load-path-shadows): Update for above change.
5808 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5810 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
5812 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5813 Fix comment for declare-function.
5815 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
5817 * custom.el (custom-fix-face-spec): New function; code moved from
5818 custom-face-edit-fix-value.
5819 (custom-push-theme): Use it when checking if a face has been
5820 changed outside customize.
5821 (custom-available-themes): New function.
5822 (load-theme): Use it.
5824 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5826 * custom.el (custom-push-theme): Cleanup (use cond).
5827 (disable-theme): Recompute the saved-face property.
5828 (custom-theme-recalc-face): Follow face alias before setting prop.
5830 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5831 New variables, containing checkbox images.
5833 * startup.el (fancy-startup-tail):
5834 * wid-edit.el (checkbox): Use them.
5836 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
5838 * shell.el (shell-mode-map):
5839 * progmodes/modula2.el (m2-mode-map):
5840 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5841 * play/mpuz.el (mpuz-mode-map):
5842 * play/landmark.el (lm-mode-map):
5843 * play/decipher.el (decipher-mode-map):
5844 * play/5x5.el (5x5-mode-map):
5845 * net/telnet.el (telnet-mode-map):
5846 * net/quickurl.el (quickurl-list-mode-map):
5847 * net/mairix.el (mairix-searches-mode-map):
5848 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5849 * net/dig.el (dig-mode-map):
5850 * mail/mspools.el (mspools-mode-map):
5851 * hexl.el (hexl-mode-map):
5852 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5853 (wordstar-C-o-map, wordstar-C-q-map):
5854 * emacs-lisp/edebug.el (edebug-eval-mode-map):
5855 * emacs-lisp/chart.el (chart-map):
5856 * edmacro.el (edmacro-mode-map):
5857 * erc/erc-list.el (erc-list-menu-mode-map):
5858 * array.el (array-mode-map): Declare and define in one step.
5860 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5862 2010-10-10 Daiki Ueno <ueno@unixuser.org>
5864 * epa.el (epa-passphrase-callback-function): Display filename
5865 passed as the 3rd arg.
5866 * epa-file.el (epa-file-passphrase-callback-function):
5867 Pass filename to epa-passphrase-callback-function.
5869 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
5871 * cus-edit.el (custom-face-widget-to-spec)
5872 (custom-face-get-current-spec, custom-face-state): New functions.
5873 (custom-face-set, custom-face-mark-to-save)
5874 (custom-face-value-create, custom-face-state-set): Use them.
5876 * cus-theme.el (custom-theme--listed-faces): New var.
5877 (customize-create-theme): Use *Custom Theme* as the buffer name.
5878 Set revert-buffer-function. Optional arg BUFFER. Insert all
5879 faces listed in custom-theme--listed-faces.
5880 (custom-theme-revert): New function.
5881 (custom-theme-add-variable, custom-theme-add-face): Insert at the
5883 (custom-theme-write): Prompt for theme name if empty.
5884 (custom-theme-write-variables): Use dolist.
5885 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5887 2010-10-09 Alan Mackenzie <acm@muc.de>
5889 Enhance fontification of declarators to take account of the
5890 presence/absence of "typedef".
5892 * cc-engine.el (c-forward-type): New &optional param
5894 (c-forward-decl-or-cast-1): cdr of return value now indicates the
5895 presence of either or both of a "struct"-like keyword and "typedef".
5897 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5898 fontification of declarators which follow a "}".
5899 (c-font-lock-declarations): Fontify declarators according to the
5900 presence/absence of "typedef".
5902 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5904 (c-typedef-decl-key): New lang variable built from
5905 c-typedef-decl-kwds.
5907 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5910 since that's too annoying. Move the filter groups commands to
5913 * epa.el (epa-passphrase-callback-function): Say what we're
5914 querying the password for.
5916 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5917 behaviour, don't bury the ibuffer buffer when visiting other buffers.
5919 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5921 * cus-edit.el (custom-commands, custom-buffer-create-internal)
5922 (custom-magic-value-create): Pad button tags with spaces.
5923 (custom-face-edit): New variable.
5924 (custom-face-value-create): Determine whether to use the usual
5925 face editor here, instead of using custom-face-selected.
5926 Pass face defaults to custom-face-edit widget.
5927 (custom-face-selected, custom-display-unselected): Delete widgets.
5928 (custom-display-unselected-match): Function removed.
5929 (custom-face-set, custom-face-mark-to-save):
5930 Accept custom-face-edit widgets as the direct widget child.
5932 * wid-edit.el (widget--completing-widget): New var.
5933 (widget-default-complete): Bind it when doing completion.
5934 (widget-string-complete, widget-file-complete): Use it.
5936 2010-10-09 Glenn Morris <rgm@gnu.org>
5938 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5939 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5940 (holiday-hebrew-misc): Small simplifications.
5942 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5944 * net/browse-url.el: Don't require thingatpt, term, dired,
5945 executable, or w3-auto when compiling.
5946 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5948 (browse-url-text-emacs): Require term.
5950 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
5952 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5954 2010-10-08 Glenn Morris <rgm@gnu.org>
5956 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5958 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5959 (shadows-compare-text-p): Make it an obsolete alias for...
5960 (load-path-shadows-compare-text): ... new name.
5961 (find-emacs-lisp-shadows): Update for above name change.
5962 (load-path-shadows-same-file-or-nonexistent): New name for the old
5963 shadow-same-file-or-nonexistent.
5965 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
5967 * minibuffer.el (completion--some, completion--do-completion)
5968 (minibuffer-complete-and-exit, minibuffer-completion-help)
5969 (completion-basic-try-completion)
5970 (completion-basic-all-completions)
5971 (completion-pcm--find-all-completions): Use lexical-let to
5972 avoid some false matches in variable completion (Bug#7056)
5974 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
5976 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
5978 2010-10-08 Leo <sdl.web@gmail.com>
5980 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5981 return non-nil if the file exists (Bug#7090).
5983 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * minibuffer.el (completion--replace):
5986 Better preserve markers (bug#7138).
5988 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
5990 * server.el (server-process-filter): Doc fix.
5992 2010-10-08 Drew Adams <drew.adams@oracle.com>
5994 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
5996 2010-10-08 Glenn Morris <rgm@gnu.org>
5998 * vc/ediff-wind.el (ediff-setup-control-frame):
5999 * vc/ediff-ptch.el (ediff-default-backup-extension):
6000 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6001 (ediff-exec-process): Remove system-types emx, windows-95.
6003 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6005 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6007 * cus-edit.el (custom-variable, custom-face): Doc fix.
6008 (custom-face-edit): Add value-create attribute.
6009 (custom-face-edit-value-create)
6010 (custom-face-edit-value-visibility-action): New functions.
6011 Hide unused face attributes by default, and add a visibility toggle.
6012 (custom-face-edit-deactivate): Show empty values with shadow face.
6013 (custom-face-selected): Only use this for face specs with default
6015 (custom-face-value-create): Cleanup.
6017 * wid-edit.el (widget-checklist-value-create): Use dolist.
6018 (widget-checklist-match-find): Make second arg optional.
6020 2010-10-07 Glenn Morris <rgm@gnu.org>
6022 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6025 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6026 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6027 load-path-shadows-mode, update references.
6028 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6029 Rename variable and button.
6030 (list-load-path-shadows): Update button caller.
6032 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6034 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6035 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6036 (smie-merge-prec2s): Handle those new entries.
6037 (smie-prec2-levels): Only set precedence to nil for actual
6039 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6040 that is now unnecessary.
6042 2010-10-07 Miles Bader <miles@gnu.org>
6044 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6046 2010-10-07 Glenn Morris <rgm@gnu.org>
6048 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6049 (mail-position-on-field): Remove declarations.
6050 (mail-position-on-field): Autoload it.
6051 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6052 and mail-header-end. Don't require sendmail.
6054 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6055 (shadow-mode): New mode.
6056 (shadow-find-file): New button.
6057 (list-load-path-shadows): Use shadow-mode and buttons.
6059 * iimage.el (iimage-version): Remove.
6060 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6061 Turn into defcustoms.
6062 (iimage-mode-map): Give it a doc string.
6064 * calendar/appt.el (appt-activate): Give a warning rather than an error
6065 if there is no diary-file.
6067 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6069 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6070 Use `tramp-handle-find-backup-file-name'.
6072 2010-10-06 Glenn Morris <rgm@gnu.org>
6074 * font-core.el (font-lock-defaults-alist): Remove variable.
6075 (font-lock-mode): Doc fix.
6076 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6077 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6078 (font-lock-set-defaults): Doc fix.
6079 Do not consult font-lock-defaults-alist.
6081 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6083 * emacs-lisp/cl.el: No longer provide cl-19.
6085 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6087 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6088 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6089 New defuns, taken from tramp-smb.el.
6090 (tramp-coding-system-change-eol-conversion)
6091 (tramp-set-process-query-on-exit-flag): Remove.
6093 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6094 (tramp-compat-coding-system-change-eol-conversion)
6095 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6098 * net/tramp-gvfs.el:
6099 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6100 by `tramp-compat-set-process-query-on-exit-flag'.
6102 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6103 Use `tramp-handle-directory-files-and-attributes',
6104 `tramp-handle-file-exists-p' and
6105 `tramp-handle-file-newer-than-file-p'.
6106 (tramp-imap-handle-file-exists-p)
6107 (tramp-imap-handle-file-executable-p)
6108 (tramp-imap-handle-file-readable-p)
6109 (tramp-imap-handle-directory-files-and-attributes)
6110 (tramp-imap-handle-file-newer-than-file-p): Remove.
6112 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6113 by `tramp-compat-set-process-query-on-exit-flag' and
6114 `tramp-coding-system-change-eol-conversion' by
6115 `tramp-compat-coding-system-change-eol-conversion'.
6117 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6118 Use `tramp-handle-directory-files-and-attributes',
6119 `tramp-handle-file-exists-p' and
6120 `tramp-handle-file-newer-than-file-p'.
6121 (tramp-smb-handle-directory-files-and-attributes)
6122 (tramp-smb-handle-file-exists-p)
6123 (tramp-smb-handle-file-newer-than-file-p): Remove.
6124 (tramp-smb-maybe-open-connection):
6125 Replace `tramp-set-process-query-on-exit-flag' by
6126 `tramp-compat-set-process-query-on-exit-flag'.
6128 2010-10-05 Glenn Morris <rgm@gnu.org>
6130 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6132 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6134 Continue reorganization of load dependencies. (Bug#7156)
6136 * net/tramp.el (tramp-handle-file-local-copy-hook)
6137 (tramp-delete-temp-file-function): Move down.
6138 (tramp-exists-file-name-handler): Move up.
6139 (tramp-register-file-name-handlers): Simplify autoload.
6140 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6141 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6142 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6143 (tramp-handle-file-name-completion)
6144 (tramp-handle-file-name-directory)
6145 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6146 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6147 (tramp-handle-find-backup-file-name)
6148 (tramp-handle-insert-file-contents, tramp-handle-load)
6149 (tramp-handle-substitute-in-file-name)
6150 (tramp-handle-unhandled-file-name-directory)
6151 (tramp-mode-string-to-int, tramp-local-host-p)
6152 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6154 * net/tramp-gvfs.el (top):
6155 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6157 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6158 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6160 2010-10-04 Glenn Morris <rgm@gnu.org>
6162 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6163 (appt-activate): Give status messages.
6165 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6167 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6168 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6169 `gnutls-negotiate' (formerly `starttls-negotiate').
6170 Remove trivial wrapper `starttls-open-stream'.
6172 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6174 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6175 log-outgoing commands.
6176 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6177 to create a buffer local revert-buffer-function variable.
6178 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6179 revert-buffer-function lambda.
6181 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6183 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6184 `gnutls-boot'. Make TYPE the only required parameter.
6185 Allow TRUSTFILES and KEYFILES to be lists.
6186 (open-ssl-stream): Use it.
6188 2010-10-03 Glenn Morris <rgm@gnu.org>
6190 * subr.el (directory-sep-char): Remove obsolete variable.
6191 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6194 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6195 * vc/vc.el (vc-static-header-alist): Doc fix.
6196 * vc/vc-cvs.el (vc-cvs-header):
6197 * vc/vc-rcs.el (vc-rcs-header):
6198 * vc/vc-sccs.el (vc-sccs-header):
6199 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6200 * obsolete/vc-mcvs.el (vc-mcvs-header):
6201 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6204 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6206 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6207 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6209 2010-10-03 Glenn Morris <rgm@gnu.org>
6211 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6213 * textmodes/rst.el (rst-font-lock-keywords-function):
6216 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6218 * printing.el: Drop Emacs 20 code.
6220 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6221 without having used appt.el already).
6223 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6224 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6225 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6227 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6228 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6230 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6231 (charset-width, find-charset-region, chars-in-region, forward-point)
6232 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6233 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6234 Remove compatibility cruft (none of these are used by ps*.el).
6236 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6238 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6240 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6242 * server.el (server-process-filter, server-return-error):
6243 Give emacsclient time to shut down after receiving an error string.
6245 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6247 * files.el (remote-file-name-inhibit-cache): New defcustom.
6249 * time.el (display-time-file-nonempty-p):
6250 Use `remote-file-name-inhibit-cache'.
6252 * net/tramp.el (tramp-completion-reread-directory-timeout):
6255 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6256 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6257 `remote-file-name-inhibit-cache'. Check also for an integer
6258 value. Add/increase counter when `tramp-verbose' >= 10.
6259 (tramp-set-file-property): Add/increase counter when
6260 `tramp-verbose' >= 10.
6262 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6263 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6264 (tramp-bug): Set tramp-autoload cookie. Report all interned
6265 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6266 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6267 characters only in strings.
6269 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6270 to backward compatibility.
6272 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6273 (tramp-handle-file-name-all-completions)
6274 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6275 (tramp-open-connection-setup-interactive-shell):
6276 Call `tramp-cleanup-connection' directly.
6278 2010-10-02 Glenn Morris <rgm@gnu.org>
6280 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6282 * subr.el (char-bytes): Remove obsolete function.
6284 * isearch.el (isearch-return-char): Remove obsolete function.
6286 * mouse.el: No longer provide mldrag.
6287 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6288 Remove obsolete aliases.
6290 * comint.el (comint-kill-output): Remove obsolete alias.
6292 * composite.el (decompose-composite-char): Remove obsolete function.
6293 * ps-def.el (decompose-composite-char): Remove unused function.
6295 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6297 * outline.el (outline-visible): Remove obsolete function.
6299 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6300 * faces.el (internal-find-face, internal-get-face)
6301 (frame-update-faces, frame-update-face-colors)
6302 (x-frob-font-weight, x-frob-font-slant)
6303 (internal-frob-font-weight, internal-frob-font-slant)
6304 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6305 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6306 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6308 * emulation/viper-util.el (viper-get-face):
6309 * obsolete/lucid.el (find-face, get-face): Use facep.
6310 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6311 Remove unused functions.
6312 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6314 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6315 delete tempfile if interrupted during compilation.
6317 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6319 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6321 (tls-program): Add --insecure to be consistent with the defaults from
6322 openssl s_client. Now all three commands are insecure.
6324 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6326 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6327 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6328 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6330 2010-10-01 Glenn Morris <rgm@gnu.org>
6332 * obsolete/sc.el: Remove file.
6334 * files.el (temporary-file-directory): On darwin, also try
6335 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6337 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6339 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6340 Let's not break compatibility gratuitously, shall we?
6342 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6344 * net/tls.el (tls-starttls-switches): New variable.
6345 (tls-find-starttls-argument): Use it.
6346 (open-tls-stream): Ditto.
6348 * net/netrc.el (netrc-credentials): Return the value of the "default"
6350 (netrc-machine): Ditto.
6352 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6354 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6356 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6358 * server.el (server-start): Don't write pid to the authentication file.
6359 (server-create-tty-frame): Don't send pid.
6360 (server-process-filter): Send pid at the start of every connection.
6362 2010-09-30 Glenn Morris <rgm@gnu.org>
6364 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6365 (show-all-diary-entries): Remove obsolete function aliases.
6367 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6368 Remove options, obsolete since 22.1.
6369 (appt-display-format, appt-display-message):
6370 Remove backwards-compatibility code.
6371 (appt-check): No longer check appt-issue-message.
6372 (appt-make-list): No longer autoload it. Doc fix. No longer
6373 activate the package.
6375 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6377 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6378 (starttls-negotiate): Just call boot, and let the handshake be
6379 triggered from the read loop.
6381 2010-09-29 Glenn Morris <rgm@gnu.org>
6383 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6384 not displaying the diary.
6385 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6386 * calendar/appt.el (appt-check): No longer need to kill diary.
6388 * calendar/diary-lib.el (diary-list-entries): Move the
6389 "Preparing..." message entirely here.
6390 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6391 messages to diary-list-entries.
6392 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6393 diary-display-function.
6395 * calendar/diary-lib.el (diary-include-other-diary-files):
6396 Trap some recursive includes.
6398 * calendar/appt.el (appt-activate): Check diary file.
6400 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6402 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6405 * calendar/time-date.el: No need to require cl for Emacs 21.
6407 2010-09-28 Glenn Morris <rgm@gnu.org>
6409 * calendar/appt.el (appt-check): Minor simplification.
6411 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6413 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6416 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6418 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6419 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6421 2010-09-27 Kenichi Handa <handa@m17n.org>
6423 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6426 2010-09-27 Kenichi Handa <handa@m17n.org>
6428 * international/mule.el (define-coding-system): Docstring fixed.
6430 * international/mule-diag.el (describe-character-set): Use princ
6431 with proper print-length and print-level instead of insert.
6433 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6435 * window.el (walk-windows): Doc fix (bug#7105).
6437 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * emacs-lisp/float-sup.el (e): Remove.
6441 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6443 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6445 (starttls-negotiate): Use it.
6447 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6449 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6452 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6454 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6456 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6458 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6460 * net/netrc.el (netrc-store-data): New function.
6462 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6464 * net/gnutls.el: GnuTLS glue code to set up a connection.
6466 2010-09-25 Julien Danjou <julien@danjou.info>
6468 * notifications.el: Call dbus-register-signal only if it is bound.
6470 2010-09-25 Glenn Morris <rgm@gnu.org>
6472 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6473 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6474 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6475 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6476 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6477 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6478 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6479 * eshell/esh-util.el, eshell/esh-var.el:
6480 Remove leading `*' from docs of faces and defcustoms.
6482 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6484 * eshell/em-ls.el (eshell-ls-archive-regexp):
6485 * eshell/esh-util.el (eshell-tar-regexp):
6486 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6487 * info.el (Info-suffix-list):
6488 * international/mule.el (auto-coding-alist):
6489 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6490 * progmodes/etags.el (tags-compression-info-list):
6491 Support xz compression.
6493 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6495 * files.el (get-free-disk-space): Don't assume the "df" output
6496 columns line up (Bug#6995).
6498 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6500 * finder.el (finder-unknown-keywords):
6501 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6502 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6504 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6506 * server.el (server-start): Revert part of 2010-08-08 change. Using
6507 address 127.0.0.1 for local host is now done in Fmake_network_process.
6509 2010-09-24 Glenn Morris <rgm@gnu.org>
6511 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6512 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6513 * textmodes/css-mode.el, textmodes/dns-mode.el:
6514 Move autoloaded auto-mode-alist entries to files.el.
6515 * files.el (auto-mode-alist): Move entries here.
6517 2010-09-23 Glenn Morris <rgm@gnu.org>
6519 * isearch.el (isearch-lazy-highlight-cleanup)
6520 (isearch-lazy-highlight-initial-delay)
6521 (isearch-lazy-highlight-interval)
6522 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6523 * net/net-utils.el (ipconfig-program-options):
6524 Move aliases to options before the associated definitions.
6526 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * newcomment.el (comment-normalize-vars): Better test validity of
6531 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6533 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6534 (float-e): New name for `e'.
6535 (degrees-to-radians, radians-to-degrees):
6536 * calendar/solar.el (solar-longitude):
6537 * calculator.el (calculator-registers, calculator-funcall):
6538 * textmodes/artist.el (artist-spray-random-points):
6539 * play/bubbles.el (bubbles--initialize-images): Use new names.
6541 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6543 Update to CEDET 1.0's version of EIEIO.
6545 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6547 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6548 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6549 (class-precedence-list): If class is nil, return nil.
6550 (eieio-generic-call): If class of first input arg is nil, don't
6551 look up static methods, and do check for primary methods.
6552 (initialize-instance): See if the default needs to be evaluated
6553 during the constructor.
6554 (eieio-perform-slot-validation-for-default): Don't do the check
6555 for values that will eventually be evaluated.
6556 (eieio-eval-default-p): New function.
6557 (eieio-default-eval-maybe): Use it.
6559 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6561 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6562 method-invocation-order.
6563 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6564 (eieio-class-precedence-dfs): Compute class precedence list using
6566 (eieio-class-precedence-bfs): Compute class precedence list using
6568 (eieio-class-precedence-c3): Compute class precedence list using
6570 (class-precedence-list): New function.
6571 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6572 (inconsistent-class-hierarchy): New error symbol.
6573 (call-next-method): Stow the replacement argument list for future
6574 call-next-method invocations.
6576 2010-09-23 Glenn Morris <rgm@gnu.org>
6578 * calendar/appt.el (appt-check): If not displaying the diary,
6579 use (diary 1) to only get the entries we need.
6580 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6581 that it is in day order. (Bug#7019)
6583 * calendar/appt.el (appt-check): Rather than showing the diary,
6584 just turn off invisible display, and only if needed.
6586 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6588 2010-09-23 Glenn Morris <rgm@gnu.org>
6590 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6591 (byte-compile-defvar, byte-compile-cl-warn):
6592 Start warnings with lower-case, like the majority.
6594 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6596 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6598 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6599 * files.el (auto-mode-alist): Move ld-script entries here, further down
6602 * vc/add-log.el: Don't require timezone when compiling.
6603 (timezone-make-date-sortable): Autoload it.
6604 (change-log-sortable-date-at): Don't require timezone.
6605 Use `ignore-errors'.
6607 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6608 Move alias before definition, so it does not need autoloading.
6610 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6611 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6612 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6613 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6614 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6615 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6616 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6617 * textmodes/tex-mode.el, textmodes/two-column.el:
6618 Remove leading `*' from docs of defcustoms etc.
6620 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6622 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6624 2010-09-22 Dan Christensen <jdc@uwo.ca>
6626 * calendar/time-date.el (date-to-time): Try using parse-time-string
6627 first before using the slower timezone-make-date-arpa-standard.
6629 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6631 * calendar/time-date.el (format-seconds): Comment fix.
6633 2010-09-22 Glenn Morris <rgm@gnu.org>
6635 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6636 is not automatically buffer-local.
6638 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6640 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6641 (smie-indent-comment): Be more careful with comment-start-skip.
6642 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6643 (smie-indent-functions): Use them.
6645 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6647 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6649 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6651 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6652 tool-bar-position. Don't modify frame parameters here.
6653 (menu-bar-options-save): Add tool-bar-position.
6655 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6657 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6659 * textmodes/reftex-parse.el (reftex-what-macro)
6660 (reftex-context-substring): Let-bind forward-sexp-function to nil
6661 since we don't need/want to treat \begin...\end as a block (bug#7053).
6663 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6665 * simple.el (blink-matching-open): Use syntax-class.
6667 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6668 Set invisibility spec for pascal's outline mode.
6669 (pascal-outline-change): Clean up calling convention.
6670 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6672 * progmodes/prolog.el (prolog-smie-forward-token)
6673 (prolog-smie-backward-token): New functions.
6674 (prolog-mode-variables): Use them to parse "!," correctly.
6675 Set up smie-blink-matching for ".".
6677 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6679 (ispell-region, ispell-process-line): Update users.
6681 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6684 * textmodes/ispell.el: Fix commenting convention.
6685 (ispell-parse-output): Simplify, use push.
6686 (ispell-region): Use match-string-no-properties.
6687 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6688 (ispell-minor-mode): Use define-minor-mode.
6689 (ispell-message): Remove unused var `skip-regexp'.
6690 (ispell-add-per-file-word-list): Use dynamic let-binding.
6691 Try and use the proper comment marker.
6693 * mail/sendmail.el: Fix commenting convention.
6694 (sendmail-send-it): Use line-beginning-position.
6696 * help-fns.el (describe-variable): Add original value, if applicable.
6698 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6700 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6702 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6704 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6706 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6707 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6708 (smie-prec2-levels): Use them to better diagnose precedence cycles.
6709 (smie-blink-matching-check): Don't signal a mismatch if car is t.
6710 (smie-blink-matching-open): Rewrite to remove assumptions, so that
6711 something like "." can also be a closer.
6712 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6713 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6714 Rename internal functions to use "--". Update callers.
6716 * frame.el (make-frame-names-alist): Don't list frames on other displays.
6718 * fringe.el (fringe-styles): New var.
6719 (fringe-mode, fringe-query-style): Use it.
6721 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
6723 * progmodes/sql.el: Version 2.8
6724 (sql-login-params): Update widget structure; changes still needed.
6725 (sql-product-alist): Add :list-all and :list-table features for
6726 SQLite, Postgres and MySQL products.
6727 (sql-redirect): Handle default value.
6728 (sql-execute, sql-execute-feature): New functions.
6729 (sql-read-table-name): New function.
6730 (sql-list-all, sql-list-table): New functions. User API.
6731 (sql-mode-map, sql-interactive-mode-map): Add key definitions
6732 for above functions.
6733 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6734 for above functions.
6735 (sql-postgres-login-params): Add user and database defaults.
6736 (sql-buffer-live-p): Bug fix.
6737 (sql-product-history): New variable.
6738 (sql-read-product): New function. Use it.
6739 (sql-set-product, sql-product-interactive): Use it.
6740 (sql-connection-history): New variable.
6741 (sql-read-connection): New function. Use it.
6742 (sql-connect): New function.
6743 (sql-for-each-login): Redesign function interface.
6744 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6745 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
6746 (sql-comint): Check for program. Existing live buffer.
6747 (sql-comint-postgres): Add port parameter.
6749 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * emacs-lisp/warnings.el: Fix commenting convention.
6752 (display-warning): Use special mode and make the buffer read-only.
6754 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
6756 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6757 empty string when it follows a repeated or optional pattern.
6759 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6761 * indent.el (indent-according-to-mode): Apply syntax-propertize.
6762 (indent-region): Use indent-according-to-mode.
6764 2010-09-18 Eli Zaretskii <eliz@gnu.org>
6766 * fringe.el (fringe-mode): Doc fix.
6768 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
6770 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6771 refreshing the preview buffer.
6773 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6776 (latex-syntax-propertize-rules): New consts; replace
6777 tex-font-lock-syntactic-keywords.
6778 (tex-env-mark, latex-env-before-change): New functions.
6779 (latex-electric-env-pair-mode): New minor mode.
6780 (tex-font-lock-verb): Change arguments; do move point.
6781 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6782 representation as a form of comment.
6783 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6784 (doctex-syntax-propertize-rules): New const; replaces
6785 doctex-font-lock-syntactic-keywords.
6786 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6788 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6789 (fortran-make-syntax-propertize-function): New function; replaces
6790 fortran-font-lock-syntactic-keywords.
6791 (fortran-mode): Use it.
6792 (fortran-line-length): Use it. Improve interactive spec.
6794 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6795 (syntax-propertize-rules): Add var-ref case. Fix offset computation
6796 when adding surrounding \(..\).
6798 * progmodes/js.el (js-mode): Fix last change (bug#7054).
6800 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6803 Use with-current-buffer.
6805 * isearch.el (isearch-face): Rename from `isearch'.
6806 (isearch-highlight): Use new name.
6808 2010-09-17 Eli Zaretskii <eliz@gnu.org>
6810 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6811 5, for `half' width fringes. (Bug#6933)
6813 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6815 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6816 (byte-compile-defvar): "foo/bar" does not lack a prefix.
6818 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6820 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
6822 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6823 in calculating new frame position. Add more space between new and
6824 parent on the left (Bug#7048).
6826 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
6828 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6831 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
6833 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6835 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6836 obsolete alias for x-selection-value.
6838 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6840 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
6842 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6845 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
6847 * net/tramp-compat.el (tramp-compat-with-temp-message)
6848 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6849 (tramp-compat-process-put): New defuns.
6851 * net/tramp.el (top):
6852 * net/tramp-gvfs.el (top):
6853 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6855 * net/tramp.el (tramp-progress-reporter-update):
6856 Use `tramp-compat-funcall'.
6858 * net/tramp.el (tramp-process-actions):
6859 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6860 * net/tramp-sh.el (tramp-handle-vc-registered)
6861 (tramp-get-remote-stat, tramp-get-remote-readlink):
6862 Use `tramp-compat-with-temp-message'.
6864 * net/tramp-sh.el (top): Require 'cl.
6865 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6866 (tramp-open-connection-setup-interactive-shell):
6867 Use `tramp-compat-process-put'.
6869 2010-09-15 Alan Mackenzie <acm@muc.de>
6871 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6873 (c-forward-<>-arglist-recur): Fix an infinite recursion.
6875 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6878 `lexical' for warnings related to lexical scoping.
6879 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6880 global vars which don't have a prefix and could hence affect lexical
6881 scoping in unrelated files.
6883 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6885 * net/imap.el: Revert back to version
6886 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6889 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
6891 * obsolete/old-whitespace.el (whitespace-unload-function):
6892 Explicitly pass `obarray' to `unintern' to avoid a warning.
6894 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6896 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6897 Add `when' argument. Update callers.
6899 * subr.el (unintern): Declare the obarray arg mandatory.
6901 2010-09-14 Glenn Morris <rgm@gnu.org>
6903 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6906 * calendar/diary-lib.el (diary-included-files): New variable.
6907 (diary-list-entries): Maybe initialize diary-included-files.
6908 (diary-include-other-diary-files): Append to diary-included-files.
6909 * calendar/appt.el (appt-update-list): Also check the members of
6910 diary-included-files. (Bug#6999)
6911 (appt-check): Doc fix.
6913 2010-09-14 David Reitter <david.reitter@gmail.com>
6915 * simple.el (line-move-visual): Do not truncate goal column to
6916 integer size. (Bug#7020)
6918 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * repeat.el (repeat): Allow repeating when the last event is a click.
6921 Suggested by Drew Adams (bug#6256).
6923 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
6925 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
6926 Replace setting HGRCPATH to "" by some less invasive --config options.
6928 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6930 * font-lock.el (font-lock-beginning-of-syntax-function):
6933 2010-09-14 Glenn Morris <rgm@gnu.org>
6935 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6936 and tool-bar modes. (Bug#6211)
6937 (menu-bar-mode): Move setting of standard-value after the
6938 minor-mode definition, otherwise it seems to have no effect.
6940 2010-09-14 Masatake YAMATO <yamato@redhat.com>
6942 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6943 Fix typo. (Bug#6976)
6945 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6947 * whitespace.el: Allow cleaning up blanks without blank
6948 visualization (Bug#6651). Adjust help window for
6949 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6950 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
6951 (whitespace-style): Add new value 'face. Adjust docstring.
6952 (whitespace-space, whitespace-hspace, whitespace-tab):
6953 Adjust foreground property face.
6954 (whitespace-line-column): Adjust docstring and type declaration.
6955 (whitespace-style-value-list, whitespace-toggle-option-alist)
6956 (whitespace-help-text): Adjust const initialization.
6957 (whitespace-toggle-options, global-whitespace-toggle-options):
6959 (whitespace-display-window, whitespace-interactive-char)
6960 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6961 (whitespace-help-scroll): New fun.
6963 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6965 * calendar/time-date.el (format-seconds): Comment fix.
6967 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
6969 * progmodes/sql.el: Version 2.7.
6970 (sql-buffer-live-p): Improve detection.
6971 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6972 (sql-set-sqli-buffer): Use it.
6973 (sql-product-interactive): Run `sql-set-sqli-hook'.
6974 (sql-rename-buffer): Code cleanup.
6975 (sql-redirect, sql-redirect-value): New functions. More to come.
6977 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
6979 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.
6980 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6981 (TRAMP_SRC): New macro.
6982 ($(lisp)/net/tramp-loaddefs.el): New target.
6984 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
6986 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
6988 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
6990 * net/tramp.el (top): Don't show loading message. Require just
6991 'tramp-compat, everything else is required there.
6992 Use `ignore-errors' where appropriate.
6993 (tramp-inline-compress-start-size, tramp-copy-size-limit)
6994 (tramp-terminal-type, tramp-end-of-output)
6995 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6996 (tramp-completion-function-alist-ssh)
6997 (tramp-completion-function-alist-telnet)
6998 (tramp-completion-function-alist-su)
6999 (tramp-completion-function-alist-putty, tramp-remote-path)
7000 (tramp-remote-process-environment, tramp-sh-extra-args)
7001 (tramp-actions-before-shell, tramp-uudecode)
7002 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7003 (tramp-perl-file-attributes)
7004 (tramp-perl-directory-files-and-attributes)
7005 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7006 (tramp-perl-encode, tramp-perl-decode)
7007 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7008 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7009 (tramp-handle-make-symbolic-link, tramp-handle-load)
7010 (tramp-handle-file-name-as-directory)
7011 (tramp-handle-file-name-directory)
7012 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7013 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7014 (tramp-do-file-attributes-with-ls)
7015 (tramp-do-file-attributes-with-perl)
7016 (tramp-do-file-attributes-with-stat)
7017 (tramp-handle-set-visited-file-modtime)
7018 (tramp-handle-verify-visited-file-modtime)
7019 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7020 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7021 (tramp-handle-file-selinux-context)
7022 (tramp-handle-set-file-selinux-context)
7023 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7024 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7025 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7026 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7027 (tramp-handle-file-ownership-preserved-p)
7028 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7029 (tramp-handle-directory-files-and-attributes)
7030 (tramp-do-directory-files-and-attributes-with-perl)
7031 (tramp-do-directory-files-and-attributes-with-stat)
7032 (tramp-handle-file-name-all-completions)
7033 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7034 (tramp-handle-copy-file, tramp-handle-copy-directory)
7035 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7036 (tramp-do-copy-or-rename-file-via-buffer)
7037 (tramp-do-copy-or-rename-file-directly)
7038 (tramp-do-copy-or-rename-file-out-of-band)
7039 (tramp-handle-make-directory, tramp-handle-delete-directory)
7040 (tramp-handle-delete-file)
7041 (tramp-handle-dired-recursive-delete-directory)
7042 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7043 (tramp-handle-insert-directory)
7044 (tramp-handle-unhandled-file-name-directory)
7045 (tramp-handle-expand-file-name)
7046 (tramp-handle-substitute-in-file-name)
7047 (tramp-handle-executable-find, tramp-process-sentinel)
7048 (tramp-handle-start-file-process, tramp-handle-process-file)
7049 (tramp-handle-call-process-region, tramp-handle-shell-command)
7050 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7051 (tramp-handle-insert-file-contents)
7052 (tramp-handle-insert-file-contents-literally)
7053 (tramp-handle-find-backup-file-name)
7054 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7055 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7056 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7057 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7058 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7059 (tramp-find-file-exists-command, tramp-open-shell)
7060 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7061 (tramp-open-connection-setup-interactive-shell)
7062 (tramp-local-coding-commands, tramp-remote-coding-commands)
7063 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7064 (tramp-inline-compress-commands, tramp-find-inline-compress)
7065 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7066 (tramp-send-command, tramp-wait-for-output)
7067 (tramp-send-command-and-check, tramp-barf-unless-okay)
7068 (tramp-send-command-and-read, tramp-mode-string-to-int)
7069 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7070 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7071 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7072 (tramp-method-out-of-band-p, tramp-local-host-p)
7073 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7074 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7075 (tramp-get-test-command, tramp-get-test-nt-command)
7076 (tramp-get-file-exists-command, tramp-get-remote-ln)
7077 (tramp-get-remote-perl, tramp-get-remote-stat)
7078 (tramp-get-remote-readlink, tramp-get-remote-trash)
7079 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7080 (tramp-get-local-uid, tramp-get-local-gid)
7081 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7083 (tramp-methods, tramp-default-method-alist)
7084 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7085 Move initialization to tramp-sh.el.
7086 (tramp-temp-name-prefix): Make it a defconst.
7087 (tramp-dissect-file-name): Don't check anymore for multi-hop
7089 (tramp-debug-outline-regexp): Add a docstring.
7090 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7091 (tramp-get-debug-buffer): Use it.
7093 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7094 initialization forms.
7095 (tramp-set-connection-property): Don't protect `tramp-message'
7096 call, it isn't necessary any longer.
7097 (tramp-dump-connection-properties): Use `ignore-errors'.
7099 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7100 'password-cache and 'auth-source.
7102 * net/tramp-gvfs.el (top):
7103 * net/tramp-smb.el (top): Require 'tramp-sh.
7105 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7107 * net/tramp-sh.el: New file, derived from tramp.el.
7108 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7109 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7110 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7111 Use `ignore-errors' where appropriate.
7112 (tramp-sh-file-name-handler-alist): Rename from
7113 `tramp-file-name-handler-alist'.
7114 (tramp-send-command-and-check): Return t or nil. Remove all
7115 `zerop' checks, where called.
7116 (tramp-handle-set-file-modes)
7117 (tramp-do-copy-or-rename-file-directly)
7118 (tramp-handle-delete-directory, tramp-handle-delete-file)
7119 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7120 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7121 (tramp-get-remote-ln): Set tramp-autoload cookie.
7123 * net/tramp-fish.el: Remove file.
7125 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7127 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7128 buffer-file-name to avoid file-locking. (Bug#7026)
7130 2010-09-13 Julien Danjou <julien@danjou.info>
7132 * notifications.el (notifications-notify): Add support for
7133 image-path and sound-name.
7134 (notifications-specification-version): Add this variable.
7136 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7138 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7140 2010-09-12 Leo <sdl.web@gmail.com>
7142 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7143 (rcirc-completion-start): New variables.
7144 (rcirc-nick-completions): Rename to rcirc-completions.
7145 (rcirc-nick-completion-start-offset): Delete.
7146 (rcirc-completion-at-point): New function for constructing
7147 completion data for both nicks and irc commands. Add to
7148 completion-at-point-functions in rcirc mode.
7149 (rcirc-complete): Rename from rcirc-nick-complete; use
7150 rcirc-completion-at-point.
7151 (defun-rcirc-command): Update rcirc-client-commands.
7153 2010-09-11 Glenn Morris <rgm@gnu.org>
7155 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7156 atomically, to avoid parallel build errors. (Bug#4196)
7158 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7160 * progmodes/sql.el: Version 2.6
7161 (sql-dialect): Synonym for "sql-product".
7162 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7163 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7164 Set "sql-buffer" to buffer name not buffer object so multiple sql
7165 interactive buffers work properly. Reverts misguided changes in
7167 (sql-comint): Make sure different buffer name is used if "*SQL*"
7168 buffer is for a different product.
7169 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7171 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7172 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7173 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7174 Accept new buffer name or prompt for one.
7175 (sql-port): Default to zero.
7176 (sql-comint-mysql): Handle "sql-port" as a numeric.
7177 (sql-port-history): Delete unused variable.
7178 (sql-get-login): Default "sql-port" to a number.
7179 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7180 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7181 "sqlite3" executables.
7182 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7183 (sql-buffer-live-p): New function.
7184 (sql-mode-menu, sql-send-string): Use it.
7185 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7187 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7188 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7190 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7192 * net/netrc.el (netrc-credentials): New convenience function.
7194 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7197 to replace texinfo-font-lock-syntactic-keywords.
7198 (texinfo-mode): Use it.
7200 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7201 Use syntax-propertize-function.
7203 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7204 replace sgml-font-lock-syntactic-keywords.
7205 (sgml-mode): Use it.
7207 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7208 since we don't use it.
7210 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7212 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7214 (vhdl-fontify-buffer): Adjust.
7216 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7217 replace tcl-font-lock-syntactic-keywords.
7220 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7221 replace simula-font-lock-syntactic-keywords.
7222 (simula-mode): Use it.
7224 * progmodes/sh-script.el (sh-st-symbol): Remove.
7225 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7226 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7227 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7228 (sh-font-lock-paren): Set syntax-multiline.
7229 (sh-font-lock-syntactic-keywords): Remove.
7230 (sh-syntax-propertize-function): New function to replace it.
7233 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7234 Define while compiling.
7235 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7236 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7237 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7238 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7239 (ruby-here-doc-end-syntax): Only define when
7240 syntax-propertize is not available.
7241 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7243 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7244 (electric-indent-chars): Silence bytecompiler.
7245 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7246 electric-indent-chars.
7248 * progmodes/python.el (python-syntax-propertize-function): New var to
7249 replace python-font-lock-syntactic-keywords.
7250 (python-mode): Use it.
7251 (python-quote-syntax): Simplify and adjust to new use.
7253 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7254 replace perl-font-lock-syntactic-keywords.
7255 (perl-syntax-propertize-special-constructs): New fun to replace
7256 perl-font-lock-special-syntactic-constructs.
7257 (perl-font-lock-syntactic-face-function): New fun.
7258 (perl-mode): Use it.
7260 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7261 to replace octave-font-lock-close-quotes.
7262 (octave-syntax-propertize-function): New function to replace
7263 octave-font-lock-syntactic-keywords.
7264 (octave-mode): Use it.
7266 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7267 replaces mixal-font-lock-syntactic-keywords.
7268 (mixal-mode): Use it.
7270 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7271 New var; replaces makefile-font-lock-syntactic-keywords.
7272 (makefile-mode): Use it.
7273 (makefile-imake-mode): Adjust.
7275 * progmodes/js.el (js--regexp-literal): Define while compiling.
7276 (js-syntax-propertize-function): New var; replaces
7277 js-font-lock-syntactic-keywords.
7280 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7281 replaces gdb-script-font-lock-syntactic-keywords.
7282 (gdb-script-mode): Use it.
7284 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7285 (fortran--font-lock-syntactic-keywords): New var.
7286 (fortran-line-length): Update syntax-propertize-function and
7287 fortran--font-lock-syntactic-keywords.
7289 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7291 * progmodes/cfengine.el (cfengine-mode):
7292 Use syntax-propertize-function.
7293 (cfengine-font-lock-syntactic-keywords): Remove.
7295 * progmodes/autoconf.el (autoconf-mode):
7296 Use syntax-propertize-function.
7297 (autoconf-font-lock-syntactic-keywords): Remove.
7299 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7300 (ada-after-change-function, ada-initialize-syntax-table-properties)
7301 (ada-handle-syntax-table-properties): Only define when
7302 syntax-propertize is not available.
7303 (ada-mode): Use syntax-propertize-function.
7305 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7306 (font-lock-fontify-syntactic-keywords-region): Move handling of
7307 font-lock-syntactically-fontified to...
7308 (font-lock-default-fontify-region): ...here.
7309 Let syntax-propertize-function take precedence.
7310 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7312 * emacs-lisp/syntax.el (syntax-propertize-function)
7313 (syntax-propertize-chunk-size, syntax-propertize--done)
7314 (syntax-propertize-extend-region-functions): New vars.
7315 (syntax-propertize-wholelines, syntax-propertize-multiline)
7316 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7317 (syntax-propertize): New functions.
7318 (syntax-propertize-rules): New macro.
7319 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7320 (syntax-ppss): Call syntax-propertize.
7322 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7324 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7326 * textmodes/ispell.el (ispell-init-process): Improve comments.
7327 XEmacs compatibility changes regarding (add-hook) 'local option
7328 and (set-process-query-on-exit-flag).
7330 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7332 * net/tramp-cache.el (tramp-parse-connection-properties):
7333 Set tramp-autoload cookie.
7335 2010-09-09 Glenn Morris <rgm@gnu.org>
7337 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7338 (imagemagick-register-types): Doc fix.
7340 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7342 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7344 * progmodes/js.el (require): Require is already "eval-and-compile".
7345 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7346 (js--re-search-backward): Use js--re-search-forward.
7348 * progmodes/fortran.el (fortran-line-length): Don't recompute
7349 syntactic keywords redundantly a second time.
7351 * progmodes/ada-mode.el: Replace "(set '" with setq.
7352 (ada-mode): Simplify.
7353 (ada-create-case-exception, ada-adjust-case-interactive)
7354 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7355 (ada-search-ignore-string-comment, ada-move-to-start)
7356 (ada-move-to-end): Use with-syntax-table.
7358 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7359 (font-lock-unfontify-region, font-lock-default-fontify-region):
7360 Update usage correspondingly.
7361 (font-lock-fontify-syntactic-keywords-region):
7362 Set parse-sexp-lookup-properties buffer-locally here.
7363 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7365 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7367 2010-09-08 Glenn Morris <rgm@gnu.org>
7369 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7370 Error if not compiled with -DBYTE_CODE_METER.
7372 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7373 Ignore dir-locals-file.
7375 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7377 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7379 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7380 for the `gnu' messages.
7381 (compilation-set-skip-threshold): New command.
7382 (compilation-start): Use \' rather than $.
7383 (compilation-forget-errors): Use clrhash.
7385 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7387 * textmodes/ispell.el (ispell-valid-dictionary-list):
7390 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7392 Migrate to Tramp 2.2. Rearrange load dependencies.
7393 (Bug#1529, Bug#5448, Bug#5705)
7395 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7396 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7397 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7399 * net/tramp.el (top): Remove all other tramp-* loads except
7400 tramp-compat.el. Remove all changes to tramp-unload-hook for
7401 other tramp-* packages. Rearrange defun order. Change calls of
7402 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7403 `tramp-compat-octal-to-decimal' to new function names.
7404 (tramp-terminal-type, tramp-initial-end-of-output)
7405 (tramp-methods, tramp-foreign-file-name-handler-alist)
7406 (tramp-tramp-file-p, tramp-completion-mode-p)
7407 (tramp-send-command-and-check, tramp-get-remote-path)
7408 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7409 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7410 (with-file-property, with-connection-property): Move to
7412 (tramp-local-call-process, tramp-decimal-to-octal)
7413 (tramp-octal-to-decimal): Move to tramp-compat.el.
7414 (tramp-handle-shell-command): Do not require 'shell.
7415 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7417 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7419 * net/tramp-cache.el (top): Require 'tramp. Add to
7420 `tramp-unload-hook'.
7421 (tramp-cache-data, tramp-get-file-property)
7422 (tramp-set-file-property, tramp-flush-file-property)
7423 (tramp-flush-directory-property, tramp-get-connection-property)
7424 (tramp-set-connection-property, tramp-flush-connection-property)
7425 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7427 (with-file-property, with-connection-property): New defuns, moved
7429 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7432 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7433 (tramp-version): Set tramp-autoload cookie.
7435 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7436 changes to tramp-unload-hook for other tramp-* packages. Add to
7437 `tramp-unload-hook'.
7438 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7439 (tramp-compat-call-process): New defuns, moved from tramp.el.
7441 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7442 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7443 Add to `tramp-unload-hook'. Change call of
7444 `tramp-compat-decimal-to-octal' to new function name.
7445 (tramp-fish-method): Make it a defconst.
7446 (tramp-fish-file-name-p): Make it a defsubst.
7447 (tramp-fish-method, tramp-fish-file-name-handler)
7448 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7450 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7451 `tramp-foreign-file-name-handler-alist'. Add to
7452 `tramp-unload-hook'.
7453 (tramp-ftp-method): Make it a defconst.
7454 (tramp-ftp-file-name-p): Make it a defsubst.
7455 (tramp-ftp-method, tramp-ftp-file-name-handler)
7456 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7458 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7459 `tramp-foreign-file-name-handler-alist'. Add to
7460 `tramp-unload-hook'. Change checks, whether package can be
7462 (tramp-gvfs-file-name-p): Make it a defsubst.
7463 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7464 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7465 (tramp-gvfs-handle-file-directory-p): New defun.
7466 (tramp-gvfs-file-name-handler-alist): Use it.
7468 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7469 `tramp-foreign-file-name-handler-alist'. Add to
7470 `tramp-unload-hook'.
7471 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7472 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7474 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7475 (tramp-gw-open-connection): Set tramp-autoload cookie.
7477 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7478 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7479 Add to `tramp-unload-hook'. Change checks, whether package can be
7481 (tramp-imap-file-name-p): Make it a defsubst.
7482 (tramp-imap-method, tramp-imaps-method)
7483 (tramp-imap-file-name-handler)
7484 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7486 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7487 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7488 Add to `tramp-unload-hook'. Change checks, whether package can be
7489 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7491 (tramp-smb-tunnel-method): Make it a defconst.
7492 (tramp-smb-file-name-p): Make it a defsubst.
7493 (tramp-smb-method, tramp-smb-file-name-handler)
7494 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7496 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7497 (tramp-uuencode-region): Set tramp-autoload cookie.
7499 * net/trampver.el (top) Add to `tramp-unload-hook'.
7500 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7501 cookie. Update release number.
7503 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7505 * textmodes/ispell.el (ispell-start-process): Make sure original
7506 arg list is properly initialized (Bug#6993, Bug#6994).
7508 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7510 * files.el (directory-abbrev-alist): Use \` as default regexp.
7512 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7513 chars like - or ] (bug#6984).
7514 (rx-any-condense-range): Explode 2-char ranges.
7516 2010-09-06 Glenn Morris <rgm@gnu.org>
7518 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7520 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * textmodes/bibtex.el:
7523 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7525 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7527 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7528 since no callers use it.
7529 (imap-message-get): Ditto.
7530 (imap-message-put): Ditto.
7531 (imap-mailbox-map): Ditto.
7532 (imap-mailbox-put): Ditto.
7533 (imap-mailbox-get): Ditto.
7534 (imap-mailbox-get): Revert last change for this function.
7536 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7538 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7539 callers to use `imap-fetch' instead. According to the comments, this
7540 should be safe, since all other IMAP clients use the 1:* syntax.
7541 (imap-enable-exchange-bug-workaround): Remove.
7542 (imap-debug): Remove -- doesn't seem very useful.
7544 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7546 * net/imap.el (imap-log): New convenience function used throughout
7547 instead of repeating the same code all over the place.
7549 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7551 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7552 when mouse-drag-copy-region is non-nil (Bug#6956).
7554 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7556 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7557 Improve regexps (Bug#6987).
7558 (dired-sort-toggle): Search more robustly for -t flag.
7560 * files.el (get-free-disk-space): Search more robustly for
7561 "available" column. Suggested by Ehud Karni
7562 <ehud@unix.mvs.co.il>.
7564 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7566 * international/uni-bidi.el:
7567 * international/uni-category.el:
7568 * international/uni-combining.el:
7569 * international/uni-decimal.el:
7570 * international/uni-mirrored.el:
7571 * international/uni-name.el: Regenerate.
7573 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7575 * electric.el (electric-indent-post-self-insert-function):
7576 Don't reindent with a sloppy indentation function.
7578 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7579 border case in change-log-mode.
7581 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7583 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7584 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7585 Recognize leading tab in gcc-include regexp. Ignore names with
7586 leading "from" or "in" in gnu regexp (Bug#6937).
7588 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7590 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7591 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7592 (ispell-start-process): Avoid setq and simplify logic.
7593 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7594 (kill-buffer-hook): Don't use it globally with code that uses
7595 expand-file-name since that may call kill-buffer via
7596 code_conversion_restore.
7598 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7600 * emacs-lisp/package.el (package-directory-list): Only call
7601 file-name-nondirectory on a string.
7603 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7605 * emacs-lisp/package.el (package--download-one-archive):
7606 Ensure that archive-contents is valid before saving it.
7607 (package-activate-1, package-mark-obsolete, define-package)
7608 (package-compute-transaction, package-list-maybe-add): Use push.
7610 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7612 Use SMIE's blink-paren for octave-mode.
7613 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7614 Backslashes do not escape single-quotes, single-quotes do.
7615 (octave-block-else-regexp, octave-block-end-regexp)
7616 (octave-block-match-alist): Remove.
7617 (octave-smie-bnf-table): New var, with old content.
7618 (octave-smie-op-levels): Use it.
7619 (octave-smie-closer-alist): New var.
7620 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7621 (octave-blink-matching-block-open): Remove.
7622 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7623 (octave-electric-space): Let self-insert-command run expand-abbrev and
7626 * electric.el (electricity): New group.
7627 (electric-indent-chars): New var.
7628 (electric-indent-post-self-insert-function): New fun.
7629 (electric-indent-mode): New minor mode.
7630 (electric-pair-skip-self): New custom.
7631 (electric-pair-post-self-insert-function): New function.
7632 (electric-pair-mode): New minor mode.
7634 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7635 calcAlg-blink-matching-open.
7636 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7637 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7638 Use the new blink-matching-check-function.
7640 Provide blink-matching support to SMIE.
7641 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7642 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7643 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7645 * simple.el (newline): Fix last change to properly remove itself from
7648 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * simple.el (newline): Eliminate optimization.
7651 Use post-self-insert-hook to set hard-newline and things before
7652 running post-self-insert-hook.
7653 (blink-matching-check-mismatch): New function.
7654 (blink-matching-check-function): New variable.
7655 (blink-matching-open): Use them.
7656 Skip back forward over prefix chars skipped by forward-sexp.
7657 Don't check if the parens are backslash escaped.
7658 (blink-paren-post-self-insert-function): Check backslash escaping here.
7660 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7662 * emacs-lisp/package.el (package-menu-mode-map):
7663 Change package-menu-revert bindings to revert-buffer.
7664 (package-menu-mode): Set revert-buffer-function.
7665 (package-menu-revert): Doc fix.
7667 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7669 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7670 `default-directory' unless using Ispell per-directory personal
7671 dictionaries and not in a mini-buffer under XEmacs.
7672 (kill-buffer-hook): Do not kill ispell process on exit when
7673 `ispell-process-directory' is "~/". (Bug#6143)
7675 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7677 * simple.el (kill-new): Call interprogram-cut-function with only
7680 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7681 Remove cut buffer from error message.
7683 * term/x-win.el (x-select-text):
7684 * term/pc-win.el (x-selection-value):
7685 * term/ns-win.el (x-selection-value):
7686 * eshell/em-term.el:
7687 * w32-fns.el (x-get-selection-value):
7688 * mouse-sel.el (mouse-sel-set-selection-function):
7689 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7691 * term/x-win.el: Update documentation for x-last-selected-text-*.
7692 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7693 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7694 (x-select-text): Remove argument PUSH, update documentation.
7695 Remove cut-buffer code.
7696 (x-selection-value-internal): Was previously x-selection-value.
7697 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7698 Update documentation, remove cut-buffer code.
7699 Call x-selection-value-internal.
7700 (x-clipboard-yank): Call x-selection-value-internal.
7701 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7703 * term/pc-win.el (x-last-selected-text):
7704 x-cut-buffer-or-selection-value renamed to x-selection-value
7705 (x-select-text): Remove argument PUSH, update documentation.
7707 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7708 x-cut-buffer-or-selection-value renamed to x-selection-value
7709 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7710 (x-select-text): Remove argument PUSH, update documentation.
7712 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7714 * w32-fns.el (x-last-selected-text):
7715 x-cut-buffer-or-selection-value renamed to x-selection-value.
7716 (x-cut-buffer-max): Remove.
7717 (x-select-text): Remove argument PUSH, update documentation.
7719 * simple.el (interprogram-cut-function): Remove mention of PUSH.
7721 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7723 * mouse-sel.el (mouse-sel-get-selection-function):
7724 x-cut-buffer-or-selection-value renamed to x-selection-value.
7725 (x-select-text): Remove optional push.
7727 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7729 * simple.el (blink-paren-function): Move from C to here.
7730 (blink-paren-post-self-insert-function): New function.
7731 (post-self-insert-hook): Use it.
7733 * emacs-lisp/pcase.el (pcase-split-memq):
7734 Fix overenthusiastic optimisation.
7735 (pcase-u1): Handle the case of a lambda pred.
7737 2010-08-31 Kenichi Handa <handa@m17n.org>
7739 * international/mule-cmds.el (standard-display-european-internal):
7740 Setup standard-display-table for 8-bit characters by storing 8-bit
7741 characters in the element vector.
7743 * disp-table.el (standard-display-8bit):
7744 Setup standard-display-table for 8-bit characters by storing 8-bit
7745 characters in the element vector.
7746 (standard-display-european): Likewise.
7748 2010-08-31 Masatake YAMATO <yamato@redhat.com>
7750 * textmodes/nroff-mode.el (nroff-view): New command.
7751 (nroff-mode-map): Bind it to C-c C-c.
7753 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * emacs-lisp/smie.el (smie-down-list): New command.
7757 Remove old indentation and navigation code on octave-mode.
7758 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7759 smie-down-list rather than add a binding for octave-down-block.
7760 (octave-mark-block, octave-blink-matching-block-open):
7761 Rely on forward-sexp-function.
7762 (octave-fill-paragraph): Don't narrow, so you can use
7763 indent-according-to-mode.
7764 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7765 (octave-in-block-p, octave-re-search-forward-kw)
7766 (octave-re-search-backward-kw, octave-indent-calculate)
7767 (octave-end-as-array-index-p, octave-block-end-offset)
7768 (octave-scan-blocks, octave-forward-block, octave-backward-block)
7769 (octave-down-block, octave-backward-up-block, octave-up-block)
7770 (octave-before-magic-comment-p, octave-indent-line): Remove.
7772 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
7774 * emacs-lisp/package.el (package--read-archive-file): Just use
7775 `read', to avoid copying an additional string.
7776 (package-menu-mode): Set header-line-format here.
7777 (package-menu-refresh, package-menu-revert): Signal an error if
7778 not in the Package Menu.
7779 (package-menu-package-list): New var.
7780 (package--generate-package-list): Operate on the current buffer;
7781 don't assume that it is *Packages*, since the user may rename it.
7782 Allow persistent package listings and sort keys using
7783 package-menu-package-list and package-menu-package-sort-key.
7784 (package-menu--version-predicate): Fix version calculation.
7785 (package-menu-sort-by-column): Don't select the window.
7786 (package--list-packages): Create the *Packages* buffer.
7787 Set package-menu-package-list-key.
7788 (list-packages): Sorting by status is now the default.
7789 (package-buffer-info): Use match-string-no-properties.
7790 (define-package): Add a &rest argument for future proofing, but
7792 (package-install-from-buffer, package-install-buffer-internal):
7793 Merge into a single function, package-install-from-buffer.
7794 (package-install-file): Change caller.
7796 * finder.el: Load finder-inf using `require'.
7797 (finder-list-matches): Sorting by status is now the default.
7798 (finder-compile-keywords): Simpify printing.
7800 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7802 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7803 (octave-mode-map): Remove special bindings for forward/backward-block
7804 and octave-backward-up-block. Use smie-close-block.
7805 (octave-continuation-marker-regexp): New var.
7806 (octave-continuation-regexp): Use it.
7807 (octave-operator-table, octave-smie-op-levels)
7808 (octave-operator-regexp, octave-smie-indent-rules): New vars.
7809 (octave-smie-backward-token, octave-smie-forward-token): New funs.
7810 (octave-mode): Use SMIE.
7811 (octave-close-block): Delete.
7813 2010-08-30 Eli Zaretskii <eliz@gnu.org>
7815 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7816 CLIPBOARD, not in PRIMARY. (Bug#6944)
7818 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7820 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7822 (smie-indent-column): Allow indirection through variables.
7824 * composite.el (save-buffer-state): Delete, unused.
7825 * font-lock.el (save-buffer-state): Use with-silent-modifications.
7826 (font-lock-default-fontify-region): Use with-syntax-table.
7827 * jit-lock.el (with-buffer-unmodified): Remove.
7828 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7830 Use `declare' in defmacros.
7831 * window.el (save-selected-window):
7832 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7833 * progmodes/python.el (def-python-skeleton):
7834 * net/dbus.el (dbus-ignore-errors):
7835 * jka-cmpr-hook.el (with-auto-compression-mode):
7836 * international/mule.el (with-category-table):
7837 * emacs-lisp/timer.el (with-timeout):
7838 * emacs-lisp/lisp-mnt.el (lm-with-file):
7839 * emacs-lisp/eieio.el (with-slots):
7840 * emacs-lisp/easymenu.el (easy-menu-define):
7841 * emacs-lisp/debug.el (debugger-env-macro):
7842 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7843 (Multiple-value-call, Multiple-value-prog1):
7844 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7845 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7846 edebug rule to definition.
7847 * emacs-lisp/lisp-mode.el (save-selected-window)
7848 (with-current-buffer, combine-after-change-calls)
7849 (with-output-to-string, with-temp-file, with-temp-buffer)
7850 (with-temp-message, with-syntax-table, read-if, eval-after-load)
7851 (dolist, dotimes, when, unless):
7852 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7854 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7856 * finder.el: Require `package'.
7857 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
7858 (finder-package-info): Var deleted.
7859 (finder-keywords-hash, finder--builtins-alist): New vars.
7860 (finder-compile-keywords): Compute package--builtins and
7861 finder-keywords-hash instead of finder-keywords-hash, respecting
7862 the "Package" header.
7863 (finder-unknown-keywords, finder-list-matches):
7864 Use finder-keywords-hash and package--list-packages.
7865 (finder-mode): Don't set font-lock-defaults.
7866 (finder-exit): We don't use "*Finder-package*" and "*Finder
7867 Category*" buffers anymore.
7869 * emacs-lisp/package.el (package--builtins-base): Var deleted.
7870 (package--builtins): Set default value to nil.
7871 (package-initialize): Load precomputed value of package--builtins
7873 (package-alist, package-compute-transaction)
7874 (package-download-transaction): Improve docstring.
7875 (package-read-all-archive-contents): Do not change
7876 package--builtins here.
7877 (list-packages): Make package-list-packages an alias for this.
7878 Sort by status by default.
7879 (package--list-packages): Add optional PACKAGES arg.
7880 (describe-package-1): Use font-lock-face property. For built-in
7881 packages, insert file commentary.
7882 (package--generate-package-list): Rename from
7883 package-list-packages-internal; all callers changed. Add optional
7884 PACKAGES arg. Add alphabetical sort fallbacks.
7885 (package-menu--version-predicate, package-menu--status-predicate)
7886 (package-menu--description-predicate)
7887 (package-menu--name-predicate): New functions.
7889 * info.el (Info-finder-find-node): Search package-alist instead of
7890 finder-package-info.
7892 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
7894 * subr.el (version-regexp-alist): Don't use "a" and "b" for
7896 (version-to-list): Handle versions like "10.3d".
7898 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7900 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7901 (macroexp-accumulate): Use `declare'.
7903 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7905 * whitespace.el (whitespace-style): Adjust type declaration.
7907 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
7909 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7911 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7913 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7916 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
7918 * progmodes/js.el: Make indentation more customizable (Bug#6914).
7919 (js-paren-indent-offset, js-square-indent-offset)
7920 (js-curly-indent-offset): New options.
7921 (js--proper-indentation): Use them.
7923 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
7925 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7926 instead of inspecting font-lock properties (Bug#6916).
7928 2010-08-26 David Reitter <david.reitter@gmail.com>
7930 * server.el (server-visit-files): Run pre-command-hook and
7931 post-command-hook for each buffer while it is current (Bug#6910).
7932 (server-execute): Do not run hooks here.
7934 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
7936 Sync with Tramp 2.1.19.
7938 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
7940 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
7942 * net/tramp.el (tramp-handle-expand-file-name)
7943 (tramp-completion-handle-file-name-all-completions)
7944 (tramp-completion-handle-file-name-completion):
7945 Use `tramp-connectable-p'.
7947 * net/trampver.el: Update release number.
7949 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
7951 * help.el (help-map): Bind `C-h P' to describe-package.
7953 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7955 * emacs-lisp/package.el (package-refresh-contents): Catch errors
7956 when downloading archives.
7957 (describe-package-1): Add package commentary.
7958 (package-install-button-action): New function.
7959 (package-menu-mode-map): Bind ? to package-menu-describe-package.
7960 (package-menu-view-commentary): Function removed.
7961 (package-list-packages-internal): Hide the `package' package too.
7963 2010-08-25 Kenichi Handa <handa@m17n.org>
7965 * language/misc-lang.el ("Arabic"): New language environment.
7966 Setup composition-function-table for Arabic characters.
7968 * international/fontset.el (setup-default-fontset): Fix typo for
7969 arabic OTF spec (fini->fina).
7971 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
7973 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7976 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7978 * whitespace.el: Allow cleaning up blanks without blank
7979 visualization (Bug#6651). Adjust help window for
7980 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7981 instead of whitespace-line-column (from EmacsWiki). New version
7983 (whitespace-style): Add new value 'face. Adjust docstring.
7984 (whitespace-space, whitespace-hspace, whitespace-tab):
7985 Adjust foreground property face.
7986 (whitespace-line-column): Adjust docstring and type declaration.
7987 (whitespace-style-value-list, whitespace-toggle-option-alist)
7988 (whitespace-help-text): Adjust const initialization.
7989 (whitespace-toggle-options, global-whitespace-toggle-options):
7991 (whitespace-display-window, whitespace-interactive-char)
7992 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7993 (whitespace-help-scroll): New fun.
7995 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7997 * emacs-lisp/package.el (list-packages): Alias for
7998 package-list-packages.
8000 2010-08-24 Kevin Ryde <user42@zip.com.au>
8002 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8005 * progmodes/ruby-mode.el (ruby): Add defgroup.
8007 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8009 * progmodes/python.el: Add Ipython support (Bug#5390).
8010 (python-shell-prompt-alist)
8011 (python-shell-continuation-prompt-alist): New options.
8012 (python--set-prompt-regexp): New function.
8013 (inferior-python-mode, run-python, python-shell):
8014 Require ansi-color. Use python--set-prompt-regexp to set the comint
8015 prompt based on the Python interpreter.
8016 (python--prompt-regexp): New var.
8017 (python-check-comint-prompt)
8018 (python-comint-output-filter-function): Use it.
8019 (run-python): Use a pipe (Bug#5694).
8021 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8023 * progmodes/python.el (python-send-region): Send a different
8024 Python command if Ipython is in use.
8025 (python-check-version): Use a Python command to find the version.
8027 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8029 * mouse.el (mouse-yank-primary): Avoid setting primary when
8030 deactivating the mark (Bug#6872).
8032 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8034 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8035 with "else" (Bug#3991).
8037 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8039 * net/dbus.el: Accept UNIX domain sockets as bus address.
8040 (top): Don't initialize `dbus-registered-objects-table' anymore,
8041 this is done in dbusbind.c.
8042 (dbus-check-event): Adapt test for bus.
8043 (dbus-return-values-table, dbus-unregister-service)
8044 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8047 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8049 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8051 2010-08-22 Juri Linkov <juri@jurta.org>
8053 * simple.el (read-extended-command): New function with the logic
8054 for `completing-read' moved to Elisp from `execute-extended-command'.
8055 Use `function-called-at-point' in `minibuffer-default-add-function'
8056 to get a command name for M-n (bug#5364, bug#5214).
8058 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8060 * startup.el (command-line-1): Issue warning for ignored arguments
8061 --unibyte, etc (Bug#6886).
8063 2010-08-22 Leo <sdl.web@gmail.com>
8065 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8066 (ignore, bright, dim, keyword): Split list of nicknames before
8067 passing to rcirc-add-or-remove (Bug#6894).
8069 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8071 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8073 2010-08-22 Leo <sdl.web@gmail.com>
8075 Fix buffer-list rename&refresh after killing a buffer in ido.
8076 * ido.el: Revert Óscar's.
8077 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8078 Remember the buffers at head, rather than their name.
8079 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8081 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8082 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8085 extra backslash added to each line (bug#6890).
8087 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8089 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8091 2010-08-22 Glenn Morris <rgm@gnu.org>
8093 * menu-bar.el (menu-bar-games-menu): Add landmark.
8095 2010-08-22 Glenn Morris <rgm@gnu.org>
8097 * align.el (align-regexp): Make group and spacing arguments
8098 use the interactive defaults when non-interactive. (Bug#6698)
8100 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8101 expansion, so as not to need sendmail.
8102 (mail-text-start): Remove declaration.
8103 (rmail-retry-failure): Require sendmail.
8105 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8107 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8109 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8111 * progmodes/flymake.el (flymake-start-syntax-check-process):
8112 Use `start-file-process' in order to let it run also on remote hosts.
8114 2010-08-22 Kenichi Handa <handa@m17n.org>
8116 * files.el: Add `word-wrap' as safe local variable.
8118 2010-08-22 Glenn Morris <rgm@gnu.org>
8120 * woman.el (woman-translate): Case matters. (Bug#6849)
8122 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8124 * simple.el (kill-region): Doc fix (Bug#6787).
8126 2010-08-22 Glenn Morris <rgm@gnu.org>
8128 * calendar/diary-lib.el (diary-header-line-format):
8129 Fit it to the window, not the frame.
8131 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8133 * subr.el (ignore-errors): Add debug declaration.
8135 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8137 * whitespace.el (whitespace-color-off): Remove post-command-hook
8140 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8142 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8144 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8146 * cus-edit.el (custom-group-value-create): Add extra newline
8147 before end line (Bug#6876).
8149 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8151 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8152 when extending it. Before killing on the second click, check if
8153 the buffer is the correct one. Doc fix.
8154 (mouse-secondary-save-then-kill): Allow usage without first
8155 calling mouse-start-secondary, by defaulting to point. Don't save
8156 an empty secondary selection. Doc fix.
8158 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8160 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8161 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8163 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8164 Adjust initialization.
8165 (whitespace-bob-marker, whitespace-eob-marker)
8166 (whitespace-buffer-changed): New vars.
8167 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8168 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8169 (whitespace-post-command-hook, whitespace-display-char-on):
8171 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8172 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8174 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8176 * files.el (locate-file-completion-table): Only list the .el and .elc
8177 extensions if there's no other choice (bug#5955).
8179 * facemenu.el (facemenu-self-insert-data): New var.
8180 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8182 (facemenu-add-face): Use them.
8184 * simple.el (blink-matching-open): Obey forward-sexp-function.
8186 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8188 * simple.el (prog-mode-map): New var.
8189 (prog-indent-sexp): New command.
8191 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8193 * progmodes/prolog.el (smie): Require.
8195 * emacs-lisp/smie.el (smie-default-backward-token)
8196 (smie-default-forward-token): Strip properties.
8197 (smie-next-sexp): Be more careful with associative operators.
8198 (smie-forward-sexp-command): Generalize.
8199 (smie-backward-sexp-command): Simplify.
8200 (smie-closer-alist): New var.
8201 (smie-close-block): New command.
8202 (smie-indent-debug-log): New var.
8203 (smie-indent-offset-rule): Add a few more cases.
8204 (smie-indent-column): New function.
8205 (smie-indent-after-keyword): Use it.
8206 (smie-indent-keyword): Use it.
8207 Fix up the opener code's point position.
8208 (smie-indent-comment): Only applies at BOL.
8209 (smie-indent-debug): New command.
8211 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8212 declarations that are useful before running the macro.
8214 2010-08-18 Joakim Verona <joakim@verona.se>
8216 * image.el (imagemagick-types-inhibit): New variable.
8217 (imagemagick-register-types): New function.
8218 * image-mode.el (image-transform-properties): New function.
8219 (image-transform-set-scale, image-transform-fit-to-height)
8220 (image-transform-set-rotation, image-transform-set-resize)
8221 (image-transform-fit-to-width, image-transform-fit-to-height):
8223 (image-toggle-display-image): Support image transforms.
8225 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8227 * image.el (create-animated-image): Don't add heuristic mask to image
8230 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8232 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8233 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8235 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8239 Font-lock '...' strings, plus various simplifications and fixes.
8240 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8241 (octave-font-lock-close-quotes): New function.
8242 (octave-font-lock-syntactic-keywords): New var.
8243 (octave-mode): Use it. Set beginning-of-defun-function.
8244 (octave-mode-map): Don't override the <foo>-defun commands.
8245 (octave-mode-menu): Pass it directly to easy-menu-define;
8246 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8247 (octave-block-match-alist): Fix up last change so that
8248 octave-close-block uses the more specific keyword.
8249 (info-lookup-mode): Silence byte-compiler.
8250 (octave-beginning-of-defun): Not interactive any more.
8252 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8253 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8254 (octave-completion-at-point-function): Make sure point is within
8256 (octave-reindent-then-newline-and-indent):
8257 Use reindent-then-newline-and-indent.
8258 (octave-add-octave-menu): Remove.
8260 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8262 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8263 (report-emacs-bug-can-use-xdg-email): New functions.
8264 (report-emacs-bug): Set can-xdg-email to result of
8265 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8266 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8269 * net/browse-url.el (browse-url-default-browser): Add cond
8270 for browse-url-xdg-open.
8271 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8273 2010-08-17 Glenn Morris <rgm@gnu.org>
8275 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8276 (c-fontify-recorded-types-and-refs): Define for compiler.
8277 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8280 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8283 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8285 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8287 (tramp-handle-process-file): Call the program in a subshell, in
8288 order to preserve working directory.
8289 (tramp-action-password): Hide password prompt before next run.
8290 (tramp-process-actions): Widen connection buffer for the trace.
8292 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8294 * net/rcirc.el (rcirc-log-process-buffers): New option.
8295 (rcirc-print): Use it.
8296 (rcirc-generate-log-filename): New function.
8297 (rcirc-log-filename-function): Change default to
8298 rcirc-generate-log-filename (Bug#6828).
8300 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8302 * simple.el (deactivate-mark): If select-active-regions is `only',
8303 only set selection for temporarily active regions.
8305 * cus-start.el: Change defcustom for select-active-regions.
8307 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8309 * mouse.el (mouse--drag-set-mark-and-point): New function.
8310 (mouse-drag-track): Use LOCATION arg to push-mark.
8311 Use mouse--drag-set-mark-and-point to take click-count into
8312 consideration when updating point and mark (Bug#6840).
8314 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8316 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8317 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8319 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8321 * font-lock.el (lisp-font-lock-keywords-2):
8322 Add combine-after-change-calls, condition-case-no-debug,
8323 with-demoted-errors, and with-silent-modifications (Bug#6025).
8325 2010-08-14 Kevin Ryde <user42@zip.com.au>
8327 * emacs-lisp/copyright.el (copyright-update-year)
8328 (copyright-update): Temporary switch-to-buffer to ensure the
8329 buffer change being queried is visible (Bug#5394).
8331 2010-08-14 Tom Tromey <tromey@redhat.com>
8333 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8336 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8338 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8341 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8343 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8344 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8345 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8346 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8347 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8348 Call menu-bar-set-tool-bar-position.
8350 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8352 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8353 comment style (bug#6834).
8354 * progmodes/scheme.el (scheme-mode-syntax-table):
8355 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8356 "b" flag in "' 14b" syntax.
8358 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8359 for (un)commenting the region and performing completion.
8360 (octave-mode-menu): Use standard commands for help and completion.
8361 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8362 (octave-mode): Use define-derived-mode.
8363 Set completion-at-point-functions and don't set columns.
8364 Don't disable adaptive-fill-regexp.
8365 (octave-describe-major-mode, octave-comment-region)
8366 (octave-uncomment-region, octave-comment-indent)
8367 (octave-indent-for-comment): Remove.
8368 (octave-indent-calculate): Rename from calculate-octave-indent.
8369 (octave-indent-line, octave-fill-paragraph): Update caller.
8370 (octave-initialize-completions): No need to make an alist.
8371 (octave-completion-at-point-function): New function.
8372 (octave-complete-symbol): Use it.
8373 (octave-insert-defun): Use define-skeleton.
8375 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8376 (octave-mode-map): Use comment-dwim (bug#6829).
8378 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8380 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8381 indentation of inserted comment.
8383 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8385 * faces.el (region): Add type gtk that uses gtk colors.
8387 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8388 Handle theme-name change.
8390 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8392 * progmodes/sql.el: Version 2.5
8393 (sql-product-alist): Add :prompt-cont-regexp property for several
8395 (sql-prompt-cont-regexp): New variable.
8396 (sql-output-newline-count, sql-output-by-send):
8397 New variables. Record number of newlines in input text.
8398 (sql-send-string): Handle multiple filters and count newlines.
8399 (sql-send-magic-terminator): Count terminator newline.
8400 (sql-interactive-remove-continuation-prompt): Filters output to
8401 remove continuation prompts; one for each newline.
8402 (sql-interactive-mode): Set up new variables, prompt regexp and
8404 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8405 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8407 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8409 * emacs-lisp/pcase.el: New file.
8411 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8413 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8414 as here-document, otherwise the command could exceed maximum
8415 length of command line.
8416 (tramp-handle-vc-registered): Call script accordingly.
8417 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8419 2010-08-10 Kenichi Handa <handa@m17n.org>
8421 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8424 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8426 * emacs-lisp/package.el (package-version-split)
8427 (package--version-first-nonzero, package-version-compare):
8429 (package-directory-list, package-load-all-descriptors)
8430 (package--built-in, package-activate, define-package)
8431 (package-installed-p, package-compute-transaction)
8432 (package-read-all-archive-contents)
8433 (package--add-to-archive-contents, package-buffer-info)
8434 (package-tar-file-info, package-list-packages-internal):
8435 Use version-to-list and version-list-*.
8437 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8438 Use version-to-list.
8439 (package-upload-buffer-internal): Use version-list-<=.
8441 2010-08-09 Kenichi Handa <handa@m17n.org>
8443 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8446 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8448 * tutorial.el (tutorial--default-keys): C-d is now bound to
8449 delete-forward-char (Bug#6826).
8451 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8452 for `double' value of mouse-1-click-follows-link (Bug#6807).
8454 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8456 * replace.el (replace-highlight): Bind isearch-forward and
8457 isearch-error, ensuring that highlighting is updated if the user
8458 switches the search direction (Bug#6808).
8460 * isearch.el (isearch-lazy-highlight-forward): New var.
8461 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8462 (isearch-lazy-highlight-update): Use it.
8464 2010-08-08 Kenichi Handa <handa@m17n.org>
8466 * international/mule.el (define-charset): Store NAME as :base property.
8467 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8468 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8469 current priority. Force using the designation of the specific
8470 charset by adding `charset' text property. Improve the whole algorithm.
8472 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8474 * emulation/pc-select.el (pc-selection-mode-hook)
8475 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8476 (pc-selection-mode): Fix typos in docstrings.
8478 2010-08-08 Kenichi Handa <handa@m17n.org>
8480 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8481 ctext-non-standard-encodings-alist here.
8483 * international/mule.el (ctext-non-standard-encodings-alist):
8484 Add "koi8-r" and "microsoft-cp1251".
8485 (ctext-standard-encodings): New variable.
8486 (ctext-non-standard-encodings-table): List only elements for
8487 non-standard encodings.
8488 (ctext-pre-write-conversion): Adjust for the above change.
8489 Check ctext-standard-encodings.
8491 * international/mule-conf.el (compound-text): Doc fix.
8492 (ctext-no-compositions): Doc fix.
8493 (compound-text-with-extensions): Doc fix.
8495 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8497 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8499 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8501 * progmodes/which-func.el (which-func-format): Split help-echo text
8502 into lines, like other mode-line tooltips.
8504 * server.el (server-start): When using TCP sockets, force IPv4
8505 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8507 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8511 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8513 * term.el (term-delimiter-argument-list): Reflow docstring.
8514 (term-read-input-ring, term-write-input-ring, term-send-input)
8515 (term-bol, term-erase-in-display, serial-supported-or-barf):
8516 Fix typos in docstrings.
8518 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8520 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8522 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8524 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8526 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8528 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8529 Fix typo in docstring (bug#6747).
8531 2010-08-08 Leo <sdl.web@gmail.com>
8533 * eshell/esh-io.el (eshell-get-target): Better detection of
8534 read-only file (Bug#6762).
8536 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8538 * align.el (align-default-spacing): Doc fix.
8539 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8541 2010-08-08 Stephen Peters <speters@itasoftware.com>
8543 * calendar/icalendar.el
8544 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8545 (icalendar--get-weekday-numbers): New.
8546 (icalendar--convert-recurring-to-diary): Handle multiple byday
8547 values in weekly rules. (Bug#6766)
8549 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8551 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8552 (icalendar--create-uid, icalendar-export-region)
8553 (icalendar--parse-summary-and-rest): Code formatting.
8555 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8557 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8558 to italicize headers.
8559 (calc-highlight-selections-with-faces): New variable.
8560 (calc-selected-face, calc-nonselected-face): New faces.
8562 * calc/calccomp.el (math-comp-highlight-string): Use
8563 `calc-highlight-selections-with-faces' to determine how to highlight
8566 * calc/calc-sel.el (calc-show-selections): Change message to when
8567 using faces to highlight selections.
8569 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8571 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8572 Add SQLite 3 keywords, functions and datatypes.
8573 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8576 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8578 * simple.el (select-active-regions): Move to keyboard.c.
8579 (deactivate-mark): Used saved-region-selection.
8580 (select-active-region): Function removed.
8581 (activate-mark, set-mark, push-mark-command)
8582 (handle-shift-selection): Don't call it.
8583 (keyboard-quit): Avoid adding the region to the window selection.
8585 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8586 select-active-regions implementation.
8587 (mouse-yank-at-click): Doc fix.
8589 * cus-start.el: Add custom declaration for select-active-regions.
8591 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8593 * simple.el (delete-forward-char): Doc fix.
8595 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8596 after reading the tutorial.
8598 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8600 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8601 Fix for the case that a C style comment has its delimiters alone on
8602 their respective lines. (Bug#193)
8604 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8606 * net/tramp.el (tramp-handle-start-file-process): Set connection
8608 (tramp-process-sentinel): Use it for flushing the cache.
8609 We cannot do it via the process buffer, the buffer could be deleted
8610 already when running the sentinel.
8612 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8614 * comint.el (comint-mode): Make directory tracking functions
8615 functional on remote files. (Bug#6764)
8617 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8619 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8621 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8623 * emacs-lisp/find-gc.el (find-gc-source-files):
8624 Rename unexec.c => unexcoff.c.
8626 * emacs-lisp/authors.el (authors-fixed-entries):
8627 Rename unexec.c => unexcoff.c.
8629 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8631 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8632 cache, not only file cache.
8633 (tramp-process-sentinel): New defun.
8634 (tramp-handle-start-file-process): Use it, in order to invalidate
8637 2010-08-03 Leo <sdl.web@gmail.com>
8639 * server.el (server-start): Simplify loop.
8641 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8643 * frame.el (screen-height, screen-width, set-screen-width)
8644 (set-screen-height): Remove ancient compatibility aliases.
8646 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8647 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8649 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8650 that change current buffer.
8652 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8654 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8655 beginning of the string. Use `string-match-p'. (Bug#6765)
8657 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8659 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8661 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8663 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8664 (package--builtins): Tweak descriptions.
8665 (package-print-package): Upcase descriptions if necessary.
8666 Show all built-in packages in font-lock-builtin-face.
8667 (package-list-packages-internal): Omit "emacs" package.
8668 Show status of built-in packages as "built-in".
8670 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8672 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8673 before killing to preserve the primary selection (Bug#6701).
8675 * term/x-win.el (x-select-text): Doc fix.
8677 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8679 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8680 (objc-font-lock-extra-types):
8681 * progmodes/cc-mode.el (c-basic-common-init):
8682 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8683 (c++-make-template-syntax-table)
8684 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8685 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8686 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8687 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8688 * progmodes/cc-fonts.el (c-make-inverse-face)
8689 (c-basic-matchers-after):
8690 * progmodes/cc-engine.el (c-forward-keyword-clause)
8691 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8692 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8693 (c-guess-continued-construct, c-guess-basic-syntax):
8694 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8695 The above functions were modified or created.
8697 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8699 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8701 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8703 * files.el (bidi-paragraph-direction): Define safe local values.
8705 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8706 language-info-alist. Remove outdated FIXME in a comment.
8708 2010-07-31 Alan Mackenzie <acm@muc.de>
8710 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8711 Auto-fill broken in C/C++ modes.
8713 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
8715 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8716 (menu-bar-showhide-tool-bar-menu-customize-disable)
8717 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8718 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8719 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8720 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8721 make a menu for Options => toolbar that can move it.
8723 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
8725 * emacs-lisp/package-x.el (package--make-rss-entry):
8726 (package-maint-add-news-item, package--update-news)
8727 (package-upload-buffer-internal): New arg ARCHIVE-URL.
8729 * emacs-lisp/package.el (package-archive-url): Rename from
8731 (package-install): Doc fix.
8732 (package-download-single, package-download-tar, package-install)
8733 (package-menu-view-commentary): Callers changed.
8735 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
8737 * net/tramp.el (tramp-handle-start-file-process): Check only for
8738 `remote-tty' process property.
8739 (tramp-open-shell): Don't check for tty.
8740 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8743 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8746 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
8748 * emacs-lisp/package.el (package-load-list, package-archives)
8749 (package-archive-contents, package-user-dir)
8750 (package-directory-list, package--builtins, package-alist)
8751 (package-activated-list, package-obsolete-alist): Mark as risky.
8753 2010-07-28 Phil Hagelberg <phil@evri.com>
8755 Add support for non-default package repositories.
8756 * emacs-lisp/package.el (package-archive-base): Var deleted.
8757 (package-archives): New variable.
8758 (package-archive-contents): Doc fix.
8759 (package-load-descriptor): Do nothing if descriptor file is missing.
8760 (package--write-file-no-coding): New function.
8761 (package-unpack-single): Use it.
8762 (package-archive-id): New function.
8763 (package-download-single, package-download-tar)
8764 (package-menu-view-commentary): Use it.
8765 (package-installed-p): Make second argument optional.
8766 (package-read-all-archive-contents): New function.
8767 (package-initialize): Use it.
8768 (package-read-archive-contents): Add ARCHIVE argument.
8769 (package--add-to-archive-contents): New function.
8770 (package-install): Don't call package-read-archive-contents.
8771 (package--download-one-archive): Store archive file in a
8772 subdirectory of package-user-dir.
8773 (package-menu-execute): Remove spurious line movement.
8775 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
8777 * cus-start.el (tool-bar-style): Add text-image-horiz.
8779 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8781 * progmodes/gud.el (gud-common-init): Check for remoteness of
8782 `file', and not of `default-directory'.
8784 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
8786 * net/tramp.el (tramp-methods): Move hostname to the end in all
8787 ssh `tramp-login-args'.
8788 (tramp-verbose): Describe verbose level 9.
8789 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8790 (tramp-open-connection-setup-interactive-shell): Trace stty
8791 settings if `tramp-verbose' >= 9.
8792 (tramp-handle-start-file-process): Implement tty setting.
8793 (Bug#4604, Bug#6360)
8795 * net/tramp-cmds.el (tramp-bug): Recommend setting of
8796 `tramp-verbose' to 9.
8798 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
8800 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8801 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8802 Remove references to package `lisp-re' (bug#4369).
8804 2010-07-27 Tom Tromey <tromey@redhat.com>
8806 * progmodes/js.el (js-mode):
8807 * progmodes/make-mode.el (makefile-mode):
8808 * progmodes/simula.el (simula-mode):
8809 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8811 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
8813 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8815 * time.el (display-time-day-and-date): Remove spurious * in docstring.
8816 (display-time-world-buffer-name, display-time-world-mode-map):
8817 Fix typos in docstrings.
8819 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
8821 * image-mode.el (image-display-size): New function.
8822 (image-forward-hscroll, image-next-line, image-eol, image-eob)
8823 (image-mode-fit-frame): Use it (Bug#6639).
8825 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
8827 * dired.el (dired-buffers-for-dir): Handle list values of
8828 dired-directory (Bug#6636).
8830 2010-07-26 Sam Steingold <sds@gnu.org>
8832 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8833 Do not call `x-get-selection' the second time, reuse the value.
8835 2010-07-26 Daiki Ueno <ueno@unixuser.org>
8837 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8838 which consist of control chars only. Suggested by Richard Stallman.
8840 2010-07-25 Daiki Ueno <ueno@unixuser.org>
8842 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8843 exists before passing an error to find-file-not-found-functions
8846 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
8848 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8849 Remove leading nil element, adjust values.
8850 (tetris-shapes, tetris-shape-scores):
8851 Change representation of shapes and remove some redundancy.
8852 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8853 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8854 Adjust for working with new representation of shapes.
8855 (tetris-shape-rotations): New function.
8856 (tetris-move-bottom, tetris-move-left, tetris-move-right)
8857 (tetris-rotate-prev, tetris-rotate-next):
8858 Adjust for working with the new version of tetris-test-shape.
8860 2010-07-23 Markus Triska <markus.triska@gmx.at>
8862 * progmodes/ps-mode.el: Use comint (bug#5954).
8863 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8864 (ps-mode-other-newline): Simplify.
8865 (ps-run-mode): Derive from comint-mode instead of
8866 fundamental-mode, yielding input history etc.
8867 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8868 (ps-run-send-string): Adapt for comint-mode.
8869 (ps-run-newline): Remove now unneeded function.
8871 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8873 * net/tramp.el (tramp-methods): Move hostname to the end in all
8874 plink `tramp-login-args'.
8876 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8878 * net/tramp.el (tramp-open-shell): New defun.
8879 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8882 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
8884 * net/tramp.el (tramp-file-name-regexp-unified)
8885 (tramp-completion-file-name-regexp-unified): On W32 systems, do
8886 not regard the volume letter as remote filename. (Bug#5447)
8888 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
8890 * custom.el (custom-declare-variable): Give a clearer error message
8891 when the docstring is missing (bug#6476).
8893 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
8895 * progmodes/sql.el: Version 2.4. Improved Login prompting.
8896 (sql-login-params): New widget definition.
8897 (sql-oracle-login-params, sql-mysql-login-params)
8898 (sql-solid-login-params, sql-sybase-login-params)
8899 (sql-informix-login-params, sql-ingres-login-params)
8900 (sql-ms-login-params, sql-postgres-login-params)
8901 (sql-interbase-login-params, sql-db2-login-params)
8902 (sql-linter-login-params): Use it.
8903 (sql-sqlite-login-params): Use it; Define "database" parameter as
8905 (sql-sqlite-program): Change to "sqlite3".
8906 (sql-comint-sqlite): Make sure database name is complete.
8907 (sql-for-each-login): New function.
8908 (sql-connect, sql-save-connection): Use it.
8909 (sql-get-login-ext): New function.
8910 (sql-get-login): Use it.
8911 (sql-make-alternate-buffer-name): Handle :file parameters.
8913 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
8915 * dired.el (dired-no-confirm): Document value t and fix defcustom to
8916 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
8918 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
8920 * dired.el (dired-mode-map): Use command remapping (bug#6632).
8922 2010-07-22 Lawrence Mitchell <wence@gmx.li>
8924 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8926 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
8928 * net/tramp.el (tramp-get-ls-command)
8929 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8932 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
8934 * progmodes/sql.el: Version 2.3.
8935 (sql-connection-alist): Change keys from symbols to strings;
8936 enhanced the widget definition.
8937 (sql-mode-menu): Add submenu to select connections.
8938 (sql-interactive-mode-menu): Add "Save Connection" item.
8939 (sql-add-product): Fix menu item.
8940 (sql-get-product-feature): Improved error handling.
8941 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
8942 (sql-make-alternate-buffer-name): Simplified.
8943 (sql-product-interactive): Handle missing product.
8944 (sql-connect): Support string keys, minor improvements.
8945 (sql-save-connection): New function.
8946 (sql-connection-menu-filter): New function.
8948 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8950 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8951 (tramp-open-connection-setup-interactive-shell):
8952 Apply workaround for IRIX64 bug. Move argument of last
8953 `tramp-send-command' where it belongs to.
8955 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
8957 * net/tramp.el (tramp-perl-file-attributes)
8958 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8959 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8960 front of `login-args'.
8962 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
8964 * time.el (display-time-world-mode): Define with `define-derived-mode'.
8965 Set `show-trailing-whitespace' to nil.
8966 (display-time-world-display): Simplify.
8968 2010-07-18 Alan Mackenzie <acm@muc.de>
8970 Enhance `c-file-style' in file/directory local variables.
8971 * progmodes/cc-mode.el (c-count-cfss): New function.
8972 (c-before-hack-hook): Call `c-set-style' differently according to
8973 whether c-file-style was set in file or directory local
8976 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
8978 * progmodes/sql.el: Version 2.2.
8979 (sql-product, sql-user, sql-database, sql-server, sql-port):
8980 Use defcustom :safe keyword rather than putting safe-local-variable
8982 (sql-password): Use defcustom :risky keyword rather than putting
8983 risky-local-variable property.
8984 (sql-oracle-login-params, sql-sqlite-login-params)
8985 (sql-solid-login-params, sql-sybase-login-params)
8986 (sql-informix-login-params, sql-ingres-login-params)
8987 (sql-ms-login-params, sql-postgres-login-params)
8988 (sql-interbase-login-params, sql-db2-login-params)
8989 (sql-linter-login-params): Add `port' option.
8990 (sql-get-product-feature): Add NO-INDIRECT parameter.
8991 (sql-comint-oracle, sql-comint-sybase)
8992 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8993 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8994 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8995 (sql-comint-linter): Rename sql-connect-* functions to
8997 (sql-product-alist, sql-mode-menu): Rename as above and
8998 :sqli-connect-func to :sqli-comint-func.
8999 (sql-connection): New variable.
9000 (sql-interactive-mode): Set it.
9001 (sql-connection-alist): New variable.
9002 (sql-connect): New function.
9003 (sql--alt-buffer-part, sql--alt-if-not-empty)
9004 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9006 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9008 * image-mode.el (image-bookmark-make-record): Do not set context
9009 in an image (Bug#6650).
9011 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9013 * simple.el (select-active-region): New function.
9014 (push-mark-command, set-mark, activate-mark)
9015 (handle-shift-selection): Use it.
9016 (deactivate-mark): Don't check for size of region.
9018 * mouse.el (mouse-drag-track): Use select-active-region.
9020 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9022 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9025 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9027 * term/x-win.el (x-select-enable-primary): Change default to nil.
9028 (x-select-enable-clipboard): Add :version keyword.
9030 * mouse.el (mouse-drag-copy-region):
9031 * simple.el (select-active-regions): Likewise.
9033 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9035 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9036 (vc-coding-system-for-diff): Use it to decide whether to inherit
9037 from the file the EOL format for reading the diffs of that file.
9040 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9042 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9043 unibyte, so compressed attachments are not compressed again.
9045 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9047 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9048 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9049 (tramp-find-shell): Simplify setting connection property.
9050 (tramp-get-ls-command): Make test for "--color=never" stronger.
9052 2010-07-15 Simon South <ssouth@member.fsf.org>
9054 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9055 blocks within record declarations (i.e. variant parts) correctly.
9057 2010-07-15 Simon South <ssouth@member.fsf.org>
9059 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9060 over literal tokens when parsing so newlines aren't "absorbed" by
9061 single-line comments. Corrects the indentation of case blocks
9062 that have a comment on the first line.
9064 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9066 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9067 by Drew Adams (Bug#5504).
9069 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9071 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9072 now that Unicode is used (Bug#6594).
9074 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9076 * term/x-win.el (x-select-enable-clipboard): Default to t.
9077 (x-initialize-window-system): Don't overwrite Paste menu item.
9079 * simple.el (select-active-regions): Default to t.
9080 (push-mark-command): Don't overwrite primary with empty string.
9082 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9083 (mouse-drag-copy-region): Default to nil.
9085 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9086 Cut/Copy/Paste menu bar items.
9088 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9090 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9091 Patch applied by Karl Fogel.
9093 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9094 and `bookmark-current-buffer' if they have been already set in
9095 another buffer (e.g gnus-art).
9097 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9098 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9100 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9102 * bookmark.el (bookmark-make-record-default): Allow unneeded
9103 information to be omitted from the record.
9105 Adjust declarations and calls:
9107 * info.el (bookmark-make-record-default): Adjust declaration.
9108 (Info-bookmark-make-record): Adjust call.
9110 * woman.el (bookmark-make-record-default): Adjust declaration.
9111 (woman-bookmark-make-record): Adjust call.
9113 * man.el (bookmark-make-record-default): Adjust declaration.
9114 (Man-bookmark-make-record): Adjust call.
9116 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9118 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9120 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9122 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9123 This is also from Thierry Volpiatto's patch in bug #6444. However,
9124 because it was extraneous to the functional change in that patch,
9125 and causes a re-indendation, I am committing it separately.
9127 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9129 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9130 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9131 Patch applied by Karl Fogel (Bug#6444).
9133 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9135 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9137 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9139 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9140 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9141 (ns-alternatives-map): Change S-tab binding to backtab
9144 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9147 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9149 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9152 * language/tv-util.el (tai-viet-re): Remove format.
9154 2010-07-12 Kenichi Handa <handa@m17n.org>
9156 * language/hebrew.el: Remove no-byte-compile declaration.
9157 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9158 composition-function-table for 3-character looking back.
9159 (hebrew-font-get-precomposed): New function.
9160 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9162 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9164 * mouse.el (mouse-drag-track): Handle select-active-regions
9167 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9169 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9170 empty argument to gvfs-copy.
9172 2010-07-10 Glenn Morris <rgm@gnu.org>
9174 * calendar/calendar.el (calendar-week-end-day): New function.
9175 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9176 Respect calendar-week-start-day. (Bug#6606)
9177 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9178 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9179 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9180 respect calendar-week-start-day.
9182 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9184 * simple.el (use-region-p): Doc fix (Bug#6607).
9186 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9189 Add regexps for cucumber and ruby.
9191 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9193 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9194 (epa-file-insert-file-contents): Hack to prevent
9195 find-file from opening empty buffer when decryption failed
9198 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9200 * textmodes/ispell.el (ispell-alternate-dictionary):
9201 Use file-readable-p.
9202 Return nil if no word-list is found at default locations.
9203 (ispell-complete-word-dict): Default to nil.
9204 (ispell-command-loop): Use 'word-list' when using lookup-words.
9205 (lookup-words): Use ispell-complete-word-dict or
9206 ispell-alternate-dictionary. Check for word-list availability
9207 and handle errors if needed with better messages (Bug#6539).
9208 (ispell-complete-word): Use ispell-complete-word-dict or
9209 ispell-alternate-dictionary.
9211 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9213 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9214 builtins (BufferError, BytesWarning, WindowsError; callables
9215 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9217 2010-07-07 Glenn Morris <rgm@gnu.org>
9219 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9220 (zone-shift-left): Ignore intangibility, and any errors from
9222 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9223 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9224 deleting, and copying text properties.
9225 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9226 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9227 to point-max is hard.
9228 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9229 (zone-fill-out-screen): Ignore intangibility.
9231 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9233 * menu-bar.el (menu-bar-mode):
9234 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9237 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9238 word/line selection (Bug#6565).
9240 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9242 * net/dbus.el (dbus-send-signal): Declare function.
9244 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9246 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9247 (dbus-register-property): New optional argument EMITS-SIGNAL.
9248 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9250 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9252 * mouse.el (mouse-drag-overlay): Variable deleted.
9253 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9254 (mouse--remap-link-click-p): New function.
9255 (mouse-drag-track): Handle dragging by using temporary Transient
9256 Mark mode, instead of a special overlay.
9257 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9260 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9263 2010-07-02 Juri Linkov <juri@jurta.org>
9265 * autoinsert.el (auto-insert-alist): Fix readability
9266 by using dotted pair notation for lambda.
9268 2010-07-02 Juri Linkov <juri@jurta.org>
9270 * faces.el (read-face-name): Rename arg `string-describing-default'
9271 to `default'. Doc fix. Display the default value in quotes
9272 in the prompt. With empty input, return the `default' arg,
9273 unless the default value is a string (in which case return nil).
9274 (describe-face): Replace the string `default' arg of `read-face-name'
9275 with the symbol `default'.
9277 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9279 * emulation/viper-cmd.el (viper-delete-backward-char)
9280 (viper-del-backward-char-in-insert)
9281 (viper-del-backward-char-in-replace, viper-change)
9282 (viper-backward-indent): Replace delete-backward-char with
9283 delete-char (Bug#6552).
9285 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9287 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9289 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9291 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9292 argument passed to frame-creation-function (Bug#5378).
9294 * faces.el (x-handle-named-frame-geometry)
9295 (x-handle-reverse-video, x-create-frame-with-faces)
9296 (face-set-after-frame-default, tty-create-frame-with-faces):
9297 Don't separately consult default-frame-alist. It is now passed as the
9300 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9302 * startup.el (command-line): Don't call tool-bar-setup in a
9305 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9307 * ruler-mode.el (ruler--save-header-line-format): New fun.
9308 (ruler-mode): Use it as a setter function, so as not to overwrite
9309 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9311 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9313 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9314 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9315 (vc-log-outgoing): Use it.
9316 (vc-diff-internal): Set diff-vc-backend.
9318 * vc/diff-mode.el (diff-vc-backend): New var.
9320 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9322 * dynamic-setting.el (font-setting-change-default-font):
9323 Remove call to message.
9325 2010-06-28 Kenichi Handa <handa@m17n.org>
9327 * international/quail.el (quail-insert-kbd-layout): Fix the
9328 showing of untranslated characters.
9330 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9332 * simple.el (delete-active-region): New option.
9333 (delete-backward-char): Implement in Lisp.
9334 (delete-forward-char): New command.
9336 * mouse.el (mouse-region-delete-keys): Delete.
9337 (mouse-show-mark): Simplify.
9339 * bindings.el (global-map): Bind delete and DEL, the former to
9340 delete-forward-char.
9342 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9344 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9345 (ruby-mode): Bind indent-line-function (Bug#5119).
9347 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9349 * startup.el (command-line): Recognize "0" X resource value.
9351 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9353 * startup.el (command-line): Use X resources to set the value of
9354 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9356 * menu-bar.el (menu-bar-mode):
9357 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9358 Set init-value to t.
9360 * frame.el (frame-notice-user-settings): Don't change
9361 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9362 vice versa (Bug#2249).
9364 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9366 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9368 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9370 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9371 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9373 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9374 default directories are expanded (Bug#6143).
9376 2010-06-24 Juri Linkov <juri@jurta.org>
9378 * minibuffer.el (completions-format): Change default from nil to
9379 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9381 2010-06-24 Juri Linkov <juri@jurta.org>
9383 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9384 buffer-locally to lambda that re-runs the vc diff command.
9387 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9389 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9390 echo area is in use (Bug#3412).
9392 2010-06-22 Glenn Morris <rgm@gnu.org>
9394 * textmodes/texinfmt.el (texinfo-format-region)
9395 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9396 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9397 (texinfo-format-option, texinfo-noindent):
9398 Use line-beginning-position and line-end-position.
9400 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9401 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9402 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9405 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9407 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9408 forward-line fallout.
9410 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9412 * mouse.el (mouse-appearance-menu): Add docstring.
9414 * help.el (describe-key): Print up-event using key-description.
9416 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9418 * net/zeroconf.el (zeroconf-resolve-service)
9419 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9420 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9422 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9424 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9426 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9428 Avoid displaying files with a nil state in vc-dir.
9429 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9430 cases that cause insertion.
9431 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9434 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9436 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9438 2010-06-29 Leo <sdl.web@gmail.com>
9440 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9442 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9444 * generic-x.el (bat-generic-mode): Fix regexp for command line
9445 switches (Bug#5719).
9447 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9449 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9450 of nconc to avoid pure storage error (Bug#6239).
9452 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9454 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9455 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9456 bindings of bookmark-automatically-show-annotations (Bug#6515).
9458 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9460 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9461 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9463 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9465 * comint.el (make-comint, make-comint-in-buffer): Mention return
9466 value in the docstrings. (Bug#6498)
9468 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9470 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9471 since it is not present when using some non-default switches.
9473 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9475 * simple.el (compose-mail): Fix doc string to refer to
9476 `compose-mail-user-agent-warnings', instead of to the
9477 nonexistent `compose-mail-check-user-agent'.
9479 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9481 Fix an indentation bug:
9483 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9484 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9487 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9488 (c-clear->-pair-props-if-match-before): now return t when they've
9489 cleared properties, nil otherwise.
9490 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9491 by taking account of the existing value.
9493 * progmodes/cc-defs.el
9494 (c-clear-char-property-with-value-function): Fix this to clear the
9495 property rather than overwriting it with nil.
9497 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9499 * emacs-lisp/package.el (package-print-package): Add link to
9500 package description via describe-package.
9501 (describe-package-1): List package requirements. Add button to
9502 perform installation.
9503 (package-menu-describe-package): New command.
9505 * help-mode.el (help-package): New button type.
9507 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9509 * emacs-lisp/package.el: Move package-list-packages binding to
9511 (describe-package, describe-package-1, package--dir): New funs.
9512 (package-activate-1): Use package--dir.
9514 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9516 * help-mode.el (help-package-def): New button type.
9518 * menu-bar.el: Move package-list-packages binding here from
9521 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9523 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9525 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9527 * emacs-lisp/edebug.el (edebug-read-list):
9528 Phase out old-style backquotes.
9530 2010-06-17 Juri Linkov <juri@jurta.org>
9532 * help-mode.el (help-mode): Set buffer-local variable
9533 revert-buffer-function to help-mode-revert-buffer.
9534 (help-mode-revert-buffer): New function.
9536 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9537 before popping to "*info*" (like in other Info functions).
9538 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9539 old-history-forward. Pop to old-buffer-name or "*info*" to
9540 recreate the killed buffer. Set Info-history-forward from
9541 old-history-forward.
9542 (Info-breadcrumbs-depth): Add :group and :version.
9544 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9546 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9548 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9550 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9551 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9553 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9555 * emacs-lisp/package.el (package-menu-mode-map):
9556 Move initialization into declaration.
9558 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9560 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9562 * emacs-lisp/package.el (package-archive-base): Point to
9564 (package-enable, package-load-list): New defcustoms.
9565 (package-user-dir, package-directory-list): Turn into defcustoms.
9566 Don't include package-user-dir in package-directory-list.
9567 (package--builtins-base): Don't include Emacs as a "package".
9568 (package-subdirectory-regexp): New var.
9569 (package-load-all-descriptors, package-compute-transaction)
9570 (package-download-transaction): Obey package-load-list.
9571 (package-activate-1): Rename from package-do-activate.
9572 (package-list-packages-internal): Check package-load-list.
9573 (package-load-descriptor, package-generate-autoloads)
9574 (package-unpack, package-unpack-single)
9575 (package--read-archive-file, package-delete):
9576 Use expand-file-name.
9578 * emacs-lisp/package-x.el: New file. Package uploading
9579 functionality split out from package.el.
9581 * startup.el (command-line): Load packages after reading init file.
9583 2010-06-17 Tom Tromey <tromey@redhat.com>
9585 * emacs-lisp/package.el: New file.
9587 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9589 Fix vc-annotate for renamed files when using Git.
9590 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9591 ls-files. Doe not pass the object as a file name to cat-file, it
9593 (vc-git-annotate-command): Pass the file name using -- to avoid
9594 ambiguity with the revision.
9595 (vc-git-previous-revision): Pass a relative file name.
9597 2010-06-22 Glenn Morris <rgm@gnu.org>
9599 * progmodes/js.el (js-mode-map): Use standard capitalization and
9600 ellipses for menu entries.
9602 * wid-edit.el (widget-complete): Doc fix.
9604 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9606 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9608 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9610 Fix annotating other revisions for renamed files in vc-annotate.
9611 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9612 VC backend. Use it when non-nil.
9613 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9616 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9617 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9618 Do not pass the file name to the 'previous-revision call when we
9619 don't want a file diff. (Bug#6489)
9621 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9623 Fix finding revisions for renamed files in vc-annotate.
9624 * vc/vc.el (vc-find-revision): Add an optional argument for
9625 the VC backend. Use it when non-nil.
9626 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9627 backend to vc-find-revision. (Bug#6487)
9629 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9631 Fix reading file names in Git annotate buffers.
9632 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9633 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9635 2010-06-20 Alan Mackenzie <acm@muc.de>
9637 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9638 in file local variables, set it first.
9640 2010-06-19 Glenn Morris <rgm@gnu.org>
9642 * descr-text.el (describe-char-unicode-data): Insert separating
9643 space when needed. (Bug#6422)
9645 * progmodes/idlwave.el (idlwave-action-and-binding):
9646 Fix typo in 2009-12-03 change. (Bug#6450)
9648 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9650 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9651 handling for `lambda' (misunderstanding).
9653 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9655 * calc/calc-poly.el (math-accum-factors): Make sure that
9656 constants aren't distributed after they are factored out.
9658 2010-06-16 Juri Linkov <juri@jurta.org>
9660 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9661 `list-colors-print'. (Bug#6332)
9663 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9665 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9667 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9668 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9670 * font-lock.el (font-lock-major-mode): Rename from
9671 font-lock-mode-major-mode to distinguish it from
9672 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9673 (font-lock-set-defaults):
9674 * font-core.el (font-lock-default-function): Adjust users.
9675 (font-lock-mode): Don't set it at all.
9677 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9679 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9681 2010-06-16 Glenn Morris <rgm@gnu.org>
9683 * calendar/appt.el (appt-time-msg-list): Doc fix.
9684 (appt-check): Let-bind appt-warn-time.
9685 (appt-add): Make the 3rd argument optional.
9686 Simplify argument names. Doc fix. Check for integer WARNTIME.
9687 Only add WARNTIME to the output list if non-nil.
9689 2010-06-16 Ivan Kanis <apple@kanis.eu>
9691 * calendar/appt.el (appt-check): Let the 3rd element of
9692 appt-time-msg-list specify the warning time.
9693 (appt-add): Add new argument with the warning time. (Bug#5176)
9695 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9697 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9698 older than version 1.6. (Bug#6361)
9700 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9702 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9703 used by cl-do-arglist. (Bug#6408)
9705 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9707 * textmodes/ispell.el (ispell-dictionary-base-alist):
9708 Fix portuguese casechars/not-casechars for missing 'çÇ'.
9709 Suggested by Rolando Pereira (bug#6434).
9711 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
9713 * facemenu.el (list-colors-sort): Doc fix.
9715 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9717 * progmodes/sql.el (sql-connect-mysql): Fix typo.
9719 2010-06-14 Juri Linkov <juri@jurta.org>
9721 Add sort option `list-colors-sort'. (Bug#6332)
9722 * facemenu.el (color-rgb-to-hsv): New function.
9723 (list-colors-sort): New defcustom.
9724 (list-colors-sort-key): New function.
9725 (list-colors-display): Doc fix. Sort list according to the option
9727 (list-colors-print): Add HSV values to `help-echo' property of
9730 2010-06-14 Juri Linkov <juri@jurta.org>
9732 * compare-w.el: Move to the "vc" subdirectory.
9734 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9736 * image-mode.el (image-mode-map): Remap left-char and right-char.
9738 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9740 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
9742 * term/common-win.el (x-colors): Add all the color names defined
9743 in rgb.txt (Bug#6332).
9745 * facemenu.el (list-colors-print): Don't print extra names if it
9746 will overflow the window width.
9748 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9751 2010-06-12 Eli Zaretskii <eliz@gnu.org>
9753 * files.el (make-directory): Doc fix (bug#6396).
9755 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
9757 * net/tramp.el (tramp-remote-process-environment): Protect version
9758 string by apostroph.
9759 (tramp-shell-prompt-pattern): Do not use a shy group in case of
9761 (tramp-file-name-for-operation): Add `call-process-region'.
9762 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9764 * net/tramp-compat.el (top): Do not autoload
9765 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
9766 only when `start-file-process' is not bound.
9767 (tramp-advice-file-expand-wildcards): Do not use
9768 `tramp-handle-file-remote-p'.
9769 (tramp-compat-make-temp-file): Handle the case, that
9770 `make-temp-file' has no third argument EXTENSION.
9772 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
9774 * makefile.w32-in (WINS_BASIC): Include new directory vc.
9776 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9778 2010-06-11 Juri Linkov <juri@jurta.org>
9780 * finder.el (finder-known-keywords): Add keyword "vc"
9781 for version control.
9783 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9784 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9785 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9786 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9788 2010-06-11 Juri Linkov <juri@jurta.org>
9790 Move version control related files to the "vc" subdirectory.
9791 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9792 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9793 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9794 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9795 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9796 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9797 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9798 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9799 Move files to the "vc" subdirectory.
9801 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
9803 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9806 2010-06-11 Stephen Eglen <stephen@gnu.org>
9808 * shell.el: Bind `shell-resync-dirs' to M-RET.
9810 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
9812 * notifications.el: Move file from lisp/net, because it is
9813 supposed to talk locally to the user.
9815 2010-06-10 Julien Danjou <julien@danjou.info>
9817 * net/notifications.el (notifications-on-action-signal)
9818 (notifications-on-closed-signal): Pass notification id as first
9819 argument to the callback functions. Add docstrings.
9820 (notifications-notify): Fix docstring.
9822 2010-06-10 Glenn Morris <rgm@gnu.org>
9824 * emacs-lisp/authors.el (authors-ignored-files)
9825 (authors-valid-file-names): Add some files.
9827 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9829 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9830 merge conflict, giving preference to the emacs-23 version of the code.
9832 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9834 * emacs-lisp/advice.el (ad-compile-function):
9835 Define warning-suppress-types before we let-bind it (bug#6275).
9837 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9838 declare it, make it buffer-local and permanent-local (bug#6324).
9839 (vc-resynch-window): Adjust name.
9840 * vc-hooks.el (vc-find-file-hook): Adjust name.
9842 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
9844 * net/notifications.el (notifications-notify): Fix docstring.
9846 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9848 Update to Unicode 6.0.0 beta.
9849 * international/charprop.el: Update copyright.
9850 * international/mule-cmds.el (ucs-names): Update character ranges.
9851 * international/uni-bidi.el:
9852 * international/uni-category.el:
9853 * international/uni-combining.el:
9854 * international/uni-comment.el:
9855 * international/uni-decimal.el:
9856 * international/uni-decomposition.el:
9857 * international/uni-digit.el:
9858 * international/uni-lowercase.el:
9859 * international/uni-mirrored.el:
9860 * international/uni-name.el:
9861 * international/uni-numeric.el:
9862 * international/uni-old-name.el:
9863 * international/uni-titlecase.el:
9864 * international/uni-uppercase.el: Regenerate.
9866 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
9868 * emacs-lisp/smie.el (comment-string-strip): Declare function.
9869 (smie-precs-precedence-table): Fix typo in docstring.
9871 * vc-mtn.el (log-edit-extract-headers): Declare function.
9873 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9875 * net/notifications.el (dbus-register-signal): Declare function.
9876 (notifications-notify): Fix typos and reflow docstring.
9878 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9880 Improve VC create/retrieve tag/branch.
9881 * vc.el (vc-create-tag): Do not read the directory name for VCs
9882 with repository revision granularity. Adjust the tag/branch
9883 prompt. Reset VC properties.
9884 (vc-retrieve-tag): Do not read the directory name for VCs
9885 with repository revision granularity. Reset VC properties.
9887 2010-06-09 Julien Danjou <julien@danjou.info>
9889 * net/notifications.el: New file.
9891 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
9893 Add optional support for resetting VC properties.
9894 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9895 call vc-file-clearprops when true.
9896 (vc-resynch-buffer): Add new optional argument, pass it down.
9897 (vc-resynch-buffers-in-directory): Likewise.
9899 Improve support for special markup in the VC commit message.
9900 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9901 * vc-hg.el (vc-hg-checkin): Add support for Date:.
9902 * vc-git.el (vc-git-checkin):
9903 * vc-bzr.el (vc-bzr-checkin): Likewise.
9905 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9907 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9908 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9910 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
9912 * iimage.el: Remove images as soon as the underlying text is modified.
9913 (iimage-modification-hook): New function.
9914 (iimage-mode-buffer): Use it.
9916 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9918 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9919 smie-indent-offset-after. Add :prev case. Make a bit more generic.
9920 (smie-indent-virtual): Remove `virtual' arg. Update callers.
9921 (smie-indent-keyword): Add handling of open-paren keywords.
9922 (smie-indent-comment-continue): Don't assume comment-continue.
9924 2010-06-07 Martin Rudalics <rudalics@gmx.at>
9926 * window.el (pop-to-buffer): Remove the conditional that
9927 compares new-window and old-window, so it will reselect
9928 the selected window unconditionally.
9929 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9931 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9933 * emacs-lisp/smie.el (smie-indent-offset-after)
9934 (smie-indent-forward-token, smie-indent-backward-token): New functions.
9935 (smie-indent-after-keyword): Use them.
9936 (smie-indent-fixindent): Only applies to the indentation of the BOL.
9937 (smie-indent-keyword): Tweak the black magic.
9938 (smie-indent-comment-continue): Strip comment-continue before use.
9939 (smie-indent-functions): Indent comments before keywords.
9941 2010-06-06 Juri Linkov <juri@jurta.org>
9943 * isearch.el (isearch-lazy-highlight-search): Fix looping
9944 by checking for empty match. This syncs this loop with the
9945 similar loop in `isearch-search'. (Bug#6362)
9947 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
9949 * net/dbus.el (dbus-register-method): Declare function.
9950 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9951 (dbus-introspect): Doc fix.
9952 (dbus-event-bus-name, dbus-introspect-get-interface)
9953 (dbus-introspect-get-argument): Reflow docstrings.
9955 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
9957 vc-log-incoming/vc-log-outgoing fixes for Git.
9958 * vc-git.el (vc-git-log-view-mode): Fix font lock for
9959 incoming/outgoing logs.
9960 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9961 instead of vc-git-compute-remote.
9962 (vc-git-compute-remote): Remove.
9964 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
9966 * term/common-win.el (x-colors): Add "dark green" and "dark
9967 turquoise" (Bug#6332).
9969 2010-06-04 Juri Linkov <juri@jurta.org>
9971 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9972 Instead of setting `replace' to t and replacing the same string
9973 with itself, don't do certain actions when
9974 kill-do-not-save-duplicates is non-nil and string is equal to car
9975 of kill-ring: don't call menu-bar-update-yank-menu, don't push
9976 interprogram-paste strings to kill-ring, and don't push the input
9977 argument `string' to kill-ring.
9978 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9980 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9982 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9984 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
9986 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9987 (tramp-gvfs-handler-mounted-unmounted)
9988 (tramp-gvfs-connection-mounted-p): Handle default-location.
9990 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9991 move files to trash.
9993 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
9995 * international/mule-cmds.el (nonascii-insert-offset)
9996 (nonascii-translation-table): Add obsolescence information.
9998 * international/mule.el (make-translation-table-from-vector): Doc fix.
10000 2010-06-03 Glenn Morris <rgm@gnu.org>
10002 * desktop.el (desktop-clear-preserve-buffers):
10003 Add "*Warnings*" buffer. (Bug#6336)
10005 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10007 vc-log-incoming/vc-log-outgoing improvements for Git.
10008 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10010 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10012 Add bindings for vc-log-incoming and vc-log-outgoing.
10013 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10014 and vc-log-outgoing.
10015 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10016 and vc-log-outgoing.
10018 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10020 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10021 (rcirc-handler-366): Always sort nicknames.
10023 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10025 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10027 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10029 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10031 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10033 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10034 (rcirc-sort-nicknames-join): Avoid setq.
10036 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10038 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10039 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10040 (rcirc-handler-366): Use them.
10042 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10044 Split smie-indent-calculate into more manageable chunks.
10045 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10046 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10047 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10048 (smie-indent-exps): Extract from smie-indent-calculate.
10049 (smie-indent-functions): New var.
10050 (smie-indent-functions): Use them.
10052 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10054 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10055 (smie-indent-calculate): Simplify and cleanup.
10057 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10059 * net/tramp-gvfs.el (top): Require url-util.
10060 (tramp-gvfs-mount-point): Remove.
10061 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10063 (with-tramp-dbus-call-method): Format trace message.
10064 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10065 Implement backup call, when operation on local files fails.
10066 Use progress reporter. Flush properties of changed files.
10067 (tramp-gvfs-handle-make-directory): Make more traces.
10068 (tramp-gvfs-url-file-name): Hexify file name in url.
10069 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10070 into account for the resulting file name.
10071 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10072 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10073 (tramp-gvfs-handler-mounted-unmounted)
10074 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10075 attribute "default_location". Set "prefix" property.
10076 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10077 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10078 exists. Raise an error, if not (due to a corresponding answer
10079 "no" in interactive questions, for example).
10081 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10083 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10085 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10087 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10088 right-*. (Bug#6265)
10090 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10092 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10093 * vc-git.el (vc-git-compute-remote): New function.
10094 (vc-git-log-outgoing): Use it instead of hard coding a value.
10095 (vc-git-log-incoming): New function.
10097 Improve state updating for VC tag commands.
10098 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10099 to update the state of all buffers in the directory.
10101 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10103 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10105 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10106 `file-directory-p' to the filename part rather than to the whole text.
10108 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10112 2010-05-31 Drew Adams <drew.adams@oracle.com>
10114 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10116 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10118 * subr.el (momentary-string-display): Just use read-event to read
10119 the exit event (Bug#6238).
10121 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10123 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10125 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10127 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10128 Suggested by Eli Zaretskii <eliz@gnu.org>.
10130 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * minibuffer.el (completion-file-name-table): Don't return a boundary
10133 past the end of `string' (bug#6299).
10134 (completion--file-name-table): Delegate to completion-file-name-table
10135 for the `boundaries' case.
10137 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10139 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10142 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10143 `path-separator', but maintain compatibility with Emacs 20.2.
10145 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10147 * server.el (server-process-filter): Receive parent-id argument
10149 (server-create-window-system-frame): New arg. Pass parent-id as
10152 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10154 Bidi-sensitive word movement with arrow keys.
10155 * subr.el (right-arrow-command, left-arrow-command): Move to
10158 * bindings.el (right-char, left-char): Move from subr.el and
10159 rename from right-arrow-command and left-arrow-command.
10160 (right-word, left-word): New functions.
10161 (global-map) <right>: Bind to right-char.
10162 (global-map) <left>: Bind to left-char.
10163 (global-map) <C-right>: Bind to right-word.
10164 (global-map) <C-left>: Bind to left-word.
10166 * ls-lisp.el (ls-lisp-classify-file): New function.
10167 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10168 (ls-lisp-classify): Call ls-lisp-classify-file.
10169 (insert-directory): Remove blanks from switches.
10171 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10173 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10174 (ansi-color-drop-regexp): New constant.
10175 (ansi-color-apply, ansi-color-filter-region)
10176 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10177 (ansi-color-apply): Build string list before calling concat.
10179 2010-05-28 Juri Linkov <juri@jurta.org>
10181 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10182 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10185 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10187 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10188 to ignored backtrace functions.
10189 (with-progress-reporter): Expand docstring.
10190 (tramp-handle-delete-file): Implement TRASH argument.
10191 (tramp-get-remote-trash): New defun.
10193 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10195 * net/tramp-compat.el (tramp-compat-delete-file):
10196 Use `symbol-value' for backward compatibility.
10198 * net/tramp.el (tramp-handle-make-symbolic-link)
10199 (tramp-handle-load)
10200 (tramp-do-copy-or-rename-file-via-buffer)
10201 (tramp-do-copy-or-rename-file-directly)
10202 (tramp-do-copy-or-rename-file-out-of-band)
10203 (tramp-handle-process-file, tramp-handle-call-process-region)
10204 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10205 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10206 (tramp-delete-temp-file-function): Use `delete-file' instead
10207 of `tramp-compat-delete-file'.
10209 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10210 (tramp-fish-handle-make-symbolic-link)
10211 (tramp-fish-handle-process-file): Use `delete-file' instead
10212 of `tramp-compat-delete-file'.
10214 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10215 Use `delete-file' instead of `tramp-compat-delete-file'.
10217 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10218 `delete-file' instead of `tramp-compat-delete-file'.
10220 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10221 Use `delete-file' instead of `tramp-compat-delete-file'.
10223 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10224 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10225 (tramp-smb-handle-write-region): Use `delete-file' instead of
10226 `tramp-compat-delete-file'.
10227 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10229 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10231 * dired.el (dired-delete-file): New arg TRASH.
10232 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10233 (dired-do-flagged-delete, dired-do-delete): Use trash.
10235 * speedbar.el (speedbar-item-delete): Allow trashing.
10237 * files.el (delete-directory): New arg TRASH.
10239 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10240 (ange-ftp-rename-remote-to-remote)
10241 (ange-ftp-rename-local-to-remote)
10242 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10243 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10245 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10248 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10249 handle new TRASH arg of `delete-file'.
10251 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10252 (tramp-handle-make-symbolic-link, tramp-handle-load)
10253 (tramp-do-copy-or-rename-file-via-buffer)
10254 (tramp-do-copy-or-rename-file-directly)
10255 (tramp-do-copy-or-rename-file-out-of-band)
10256 (tramp-handle-process-file, tramp-handle-call-process-region)
10257 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10258 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10259 (tramp-delete-temp-file-function): Use null TRASH arg in
10260 tramp-compat-delete-file call.
10262 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10263 (tramp-fish-handle-delete-file)
10264 (tramp-fish-handle-make-symbolic-link)
10265 (tramp-fish-handle-process-file): Use null TRASH arg in
10266 `tramp-compat-delete-file' call.
10268 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10269 arg in `tramp-compat-delete-file' call.
10271 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10272 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10273 `tramp-compat-delete-file' call.
10275 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10276 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10277 `tramp-compat-delete-file' call.
10279 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10280 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10281 (tramp-smb-handle-write-region): Use null TRASH arg in
10282 tramp-compat-delete-file call.
10283 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10284 (tramp-smb-handle-delete-file): Rename arg.
10286 * diff.el (diff-sentinel):
10287 * epg.el (epg--make-temp-file, epg-decrypt-string)
10288 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10289 * jka-compr.el (jka-compr-partial-uncompress)
10290 (jka-compr-call-process, jka-compr-write-region):
10291 * server.el (server-sentinel): Remove optional arg from
10292 delete-file, reverting 2010-05-03 change.
10294 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10296 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10297 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10299 2010-05-27 Kenichi Handa <handa@m17n.org>
10301 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10302 element of GSTRING is nil.
10304 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/smie.el (smie-forward-token-function)
10307 (smie-backward-token-function): New vars.
10308 (smie-backward-sexp, smie-forward-sexp)
10309 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10310 (smie-default-backward-token): Rename from smie-backward-token and
10312 (smie-default-forward-token): Rename from smie-forward-token and
10314 (smie-next-sexp): Handle nil results from next-token.
10315 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10317 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10319 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10320 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10322 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10324 * htmlfontify.el (hfy-face-resolve-face): New function.
10325 (hfy-face-to-style): Use it (Bug#6279).
10327 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10330 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10332 2010-05-26 Glenn Morris <rgm@gnu.org>
10334 * emulation/edt.el (edt-load-keys): Use locate-library.
10336 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10338 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10339 (log-edit-changelog-entries): Doc fix.
10340 (log-edit-changelog-insert-entries): Args changed.
10341 Rename relative filenames in ChangeLog entries. Delete tabs.
10342 (log-edit-insert-changelog-entries): Reorganize return value of
10343 `log-edit-changelog-entries' to pass filenames to
10344 log-edit-changelog-insert-entries.
10346 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10348 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10349 `image-dired-dired-insert-marked-thumbs' to
10350 `image-dired-dired-toggle-marked-thumbs'.
10352 * image-dired.el: Require cl when compiling.
10353 (image-dired-dired-toggle-marked-thumbs): Rename from
10354 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10355 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10356 to 'no-dir. Skip files whose names don't match
10357 `image-file-name-regexp'. When file has a thumbnail overlay,
10358 delete it. (Bug#5270)
10360 2010-05-25 Juri Linkov <juri@jurta.org>
10362 * image-mode.el (image-mode): Add image-after-revert-hook to
10364 (image-after-revert-hook): New function. (Bug#5669)
10366 2010-05-25 Juri Linkov <juri@jurta.org>
10368 * image.el (image-animated-p): When delay between animated images
10369 is 0, set it to 10 (0.1 sec). (Bug#6258)
10371 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10373 * net/tramp.el (tramp-handle-insert-directory): Don't use
10374 `forward-word', its default syntax could be changed.
10376 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10378 * net/tramp.el (tramp-progress-reporter-update): New defun.
10379 (with-progress-reporter): Use it.
10380 (tramp-process-actions):
10381 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10382 Preserve current message, in order to let progress reporter continue
10383 afterwards. (Bug#6257)
10385 2010-05-25 Glenn Morris <rgm@gnu.org>
10387 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10390 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10392 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10393 (rcirc-default-full-name): Change to "unknown".
10394 (rcirc-user-name-history): Add variable.
10396 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10397 Jonathan Rockway <jon@jrock.us>
10399 * net/rcirc.el (rcirc-server-alist): Add :pass.
10400 (rcirc): When prompting for connection parameters, also prompt for
10401 username and password.
10402 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10403 value to server when connecting.
10405 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10408 (smie-merge-prec2s): Pass the tables as separate args.
10409 (smie-bnf-precedence-table): Adjust call accordingly.
10410 (smie-prec2-levels): Set levels at the end.
10412 Replace Lisp calls to delete-backward-char by delete-char.
10413 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10414 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10415 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10416 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10417 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10418 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10419 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10420 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10421 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10422 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10423 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10424 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10425 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10426 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10427 delete-backward-char by calls to delete-char.
10429 2010-05-25 Kenichi Handa <handa@m17n.org>
10431 * language/hebrew.el (hebrew-shape-gstring): New function.
10432 Register it in composition-function-table for all Hebrew combining
10435 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * epa.el (epa--select-keys): Don't explicitly delete the window since
10438 that can fail (e.g. sole window in frame). Use dedication instead.
10440 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10442 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10444 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10446 * image.el (image-refresh): Define as an alias for image-flush.
10448 * image-mode.el (image-toggle-display-image): Caller changed.
10450 2010-05-21 Juri Linkov <juri@jurta.org>
10452 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10453 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10454 whitespace, call wildcard-to-regexp on substrings and concat them
10455 with "\\|". (Bug#6114)
10457 2010-05-21 Alan Mackenzie <acm@muc.de>
10459 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10460 Replace parameter `here' with `here-' and `here-plus', which sandwich
10461 any pertinent CPP construct.
10462 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10463 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10464 CPP construct from taking part in the scanning.
10466 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10468 * net/tramp.el (tramp-do-copy-or-rename-file)
10469 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10470 Tune `with-progress-reporter' messages.
10471 (tramp-handle-vc-registered):
10472 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10473 (tramp-fish-handle-insert-file-contents)
10474 (tramp-fish-maybe-open-connection):
10475 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10476 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10477 (tramp-imap-handle-insert-file-contents)
10478 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10480 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10482 * add-log.el (change-log-font-lock-keywords):
10483 Highlight all authors in multi-author entries.
10485 * smerge-mode.el (smerge-refine-ignore-whitespace)
10486 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10487 Fix typos in docstrings.
10488 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10490 2010-05-21 Glenn Morris <rgm@gnu.org>
10492 * progmodes/fortran.el (fortran-mode):
10493 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10495 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10496 having a relative path in src/Makefile.in.
10498 2010-05-20 Kevin Ryde <user42@zip.com.au>
10500 * help-mode.el (help-make-xrefs): For Info node links turn
10501 newlines into spaces. Link node names with newlines are matched
10502 by help-xref-info-regexp and buttonized, this change ensures they
10503 can be followed successfully with RET. (Bug#6206)
10505 2010-05-20 Juri Linkov <juri@jurta.org>
10507 * locate.el (locate): Use pop-to-buffer instead of
10508 switch-to-buffer-other-window. (Bug#6204)
10510 2010-05-20 Juri Linkov <juri@jurta.org>
10512 * replace.el (replace-highlight): Fix lazy-highlighting
10513 for `M-s w str M-% str RET'.
10515 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10517 * isearch.el (isearch-yank-word-or-char): Pull next subword
10518 when `subword-mode' is activated. (Bug#6220)
10520 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10522 * isearch.el (isearch-update-post-hook): New hook.
10523 (isearch-update): Use the new hook. (Bug#6225)
10525 2010-05-20 Juri Linkov <juri@jurta.org>
10527 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10528 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10531 2010-05-20 Juri Linkov <juri@jurta.org>
10533 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10536 2010-05-20 Juri Linkov <juri@jurta.org>
10538 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10539 FILE-NAME to read from the minibuffer when called interactively
10540 with prefix argument instead of using buffer-file-name.
10541 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10543 * dired.el: Update autoloads.
10545 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10547 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10548 nxml-finish-element, for consistency with SGML mode.
10550 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10551 octave-close-block.
10553 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10555 * composite.el: Require cl when compiling.
10556 (reference-point-alist, compose-gstring-for-graphic)
10557 (compose-gstring-for-terminal): Fix typos in docstrings.
10559 2010-05-19 Juri Linkov <juri@jurta.org>
10561 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10562 set-window-parameter.
10564 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10566 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10568 (tramp-maybe-open-connection): Use it.
10570 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10572 * simple.el (move-end-of-line): Make sure we are at line beginning
10573 before backing up to end of previous line.
10575 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10577 * password-cache.el (password-cache-remove): Fix docstring.
10579 * net/secrets.el: Autoload the widget functions.
10580 (secrets-search-items, secrets-create-item)
10581 (secrets-get-attributes, secrets-expand-item): Attributes will be
10582 stored on the password database without leading ":", as all other
10583 clients do as well.
10584 (secrets-mode): Fix docstring.
10585 (secrets-show-secrets): Provide it as autoloaded command only when
10586 D-Bus support is available. Check existence of Secret Service API.
10588 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10590 * indent.el (indent-region): Deactivate region (bug#6200).
10592 2010-05-19 Glenn Morris <rgm@gnu.org>
10594 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10596 2010-05-19 Kenichi Handa <handa@m17n.org>
10598 * composite.el: Register compose-gstring-for-graphic in
10599 composition-function-table only for combining characters (Mn, Mc, Me).
10601 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10603 * calc/calc-trail.el (calc-trail-isearch-forward)
10604 (calc-trail-isearch-backward): Ensure that the new window
10605 point is set correctly.
10607 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * subr.el (read-quoted-char): Resolve modifiers after key
10610 remapping (bug#6212).
10612 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10614 Add visualization code for secrets.
10615 * net/secrets.el (secrets-mode): New major mode.
10616 (secrets-show-secrets, secrets-show-collections)
10617 (secrets-expand-collection, secrets-expand-item)
10618 (secrets-tree-widget-after-toggle-function)
10619 (secrets-tree-widget-show-password): New defuns.
10621 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10624 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10625 handled in smie-next-sexp.
10626 (smie-indent-calculate): Provide a starting indentation (so the
10627 recursion is well-founded ;-).
10629 Fix handling of non-associative equal levels.
10630 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10631 when it's not needed.
10632 (smie-op-left, smie-op-right): New functions.
10633 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10634 Better handle equal levels to distinguish the associative case from
10635 the "multi-keyword construct" case.
10636 (smie-backward-sexp, smie-forward-sexp): Use it.
10638 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10640 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10642 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10643 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10645 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10647 Provide a simple generic indentation engine and use it for Prolog.
10648 * emacs-lisp/smie.el: New file.
10649 * progmodes/prolog.el (prolog-smie-op-levels)
10650 (prolog-smie-indent-rules): New var.
10651 (prolog-mode-variables): Use them to configure SMIE.
10652 (prolog-indent-line, prolog-indent-level): Remove.
10654 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10656 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10657 order before computing the averages.
10659 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10661 * calc/calc-vec.el (calc-histogram):
10662 (calcFunc-histogram): Allow vectors as inputs.
10663 (math-vector-avg): New function.
10665 * calc/calc-ext.el (math-group-float): Have the number of digits
10666 being grouped depend on the radix (Bug#6189).
10668 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10670 * version.el (emacs-copyright, emacs-version): Don't define here,
10671 now that emacs.c defines it.
10673 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10675 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10676 "Describe Language Environment" menu item.
10678 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10680 Bidi-sensitive movement with arrow keys.
10681 * subr.el (right-arrow-command, left-arrow-command): New functions.
10683 * bindings.el (global-map): Bind them to right and left arrow keys.
10685 Don't override standard definition of convert-standard-filename.
10686 * files.el (convert-standard-filename):
10687 Call w32-convert-standard-filename and dos-convert-standard-filename on
10688 the corresponding systems.
10690 * w32-fns.el (w32-convert-standard-filename): Rename from
10691 convert-standard-filename. Doc fix.
10693 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10694 (convert-standard-filename): Don't defalias.
10695 (register-name-alist, make-register, register-value)
10696 (set-register-value, intdos): Obsolete aliases for the
10697 corresponding dos-* functions and variables.
10698 (dos-intdos): Add a doc string.
10700 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10702 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10703 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10704 (math-compose-tex-func):
10705 * calc/calccomp.el (math-compose-expr):
10706 * calc/calc-ext.el (math-format-flat-expr-fancy):
10707 * calc/calc-store.el (calc-read-var-name):
10708 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10710 * calc/calc.el (var-π, var-φ, var-γ): New variables.
10711 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10712 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10713 (math-standard-units): Add units.
10715 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10717 * progmodes/asm-mode.el (asm-mode):
10718 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10720 * pcomplete.el (pcomplete-completions-at-point): New function,
10721 extracted from pcomplete-std-complete.
10722 (pcomplete-std-complete): Use it.
10724 2010-05-15 Glenn Morris <rgm@gnu.org>
10726 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10727 Remove references to CVS, RCS and Old directories.
10729 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
10731 * calc/calc-bin.el (math-format-twos-complement): Group digits when
10734 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10736 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10737 (sh-mode-syntax-table): Give it a default value instead.
10738 (sh-header-marker): Make buffer-local.
10739 (sh-mode): Move make-local-variable to the corresponding setq.
10740 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10741 Use complete-with-action.
10743 * simple.el (prog-mode): New (abstract) major mode.
10744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10745 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10747 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
10749 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10750 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10751 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10752 (sql-make-alternate-buffer-name, sql-placeholders-filter)
10753 (sql-escape-newlines-filter, sql-input-sender)
10754 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10756 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
10758 Add TeX open-block and close-block keybindings to SGML, and vice versa.
10760 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10761 latex-open-block and C-c / to latex-close-block.
10763 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10764 and C-c C-e to sgml-close-tag.
10766 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
10768 * net/tramp.el (with-progress-reporter): Create reporter object
10769 only when the message would be displayed. Handle nested calls.
10770 (tramp-handle-load, tramp-handle-file-local-copy)
10771 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10772 (tramp-maybe-send-script, tramp-find-shell):
10773 Use `with-progress-reporter'.
10774 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10777 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10778 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10779 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10780 Use `with-progress-reporter'.
10782 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
10784 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10785 process everytime when spellchecking from the minibuffer (bug#6143).
10787 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10791 * dos-fns.el: Add "dos-" prefix for namespace control.
10792 (convert-standard-filename): Define as alias for
10793 dos-convert-standard-filename but only if applicable.
10795 2010-05-12 Alan Mackenzie <acm@muc.de>
10797 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10798 Push the mark at the start of these functions when appropriate.
10800 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * minibuffer.el (completion-cycle-threshold): New custom var.
10803 (completion--do-completion): Use it.
10804 (minibuffer-complete): Use cycling if appropriate.
10806 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
10808 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10809 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10811 2010-05-11 Juri Linkov <juri@jurta.org>
10813 * scroll-all.el (scroll-all-check-to-scroll):
10814 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10816 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10818 * iimage.el (iimage-mode-map): Move initialization into declaration.
10819 (iimage-mode-buffer): Use with-silent-modifications.
10820 Simplify calling convention. Adjust callers.
10821 (iimage-mode): Don't run hook redundantly.
10823 * minibuffer.el (completion-pcm--pattern->regex):
10824 Fix last change (bug#6160).
10826 2010-05-10 Juri Linkov <juri@jurta.org>
10828 Remove nodes visited during Isearch from the Info history.
10829 * info.el (Info-isearch-initial-history)
10830 (Info-isearch-initial-history-list): New variables.
10831 (Info-isearch-start): Record initial values of
10832 Info-isearch-initial-history and Info-isearch-initial-history-list.
10833 Add Info-isearch-end to isearch-mode-end-hook.
10834 (Info-isearch-end): New function.
10836 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
10838 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10839 format string, in order to work around a bug in pdksh.
10840 Reported by Gilles Pion <gpion@lfdj.com>.
10841 (tramp-handle-verify-visited-file-modtime): Do not send a command
10842 when the connection is not established.
10843 (tramp-handle-set-file-times): Simplify the check for utc.
10845 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
10847 Fix use of `filter-buffer-substring' (rework previous change).
10848 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10849 (cua-repeat-replace-region):
10850 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10851 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10852 (cua-cut-region-to-global-mark): Use it.
10854 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
10856 * progmodes/sql.el: Version 2.1.
10857 (sql-product-alist): Redesign structure of product info.
10858 (sql-product, sql-user, sql-server, sql-database): Safe variables.
10859 (sql-port, sql-port-history): New variables.
10860 (sql-interactive-product): New variable.
10861 (sql-send-terminator): New variable.
10862 (sql-imenu-generic-expression): Add "Types" imenu entry.
10863 (sql-oracle-login-params, sql-sqlite-login-params)
10864 (sql-mysql-login-params, sql-solid-login-params)
10865 (sql-sybase-login-params, sql-informix-login-params)
10866 (sql-ingres-login-params, sql-ms-login-params)
10867 (sql-postgres-login-params, sql-interbase-login-params)
10868 (sql-db2-login-params, sql-linter-login-params)
10869 (sql-oracle-scan-on): New variables.
10870 (sql-mode-map): Add C-c C-i to start interactive mode.
10871 (sql-mode-menu): Update existing menu entries.
10872 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10873 (sql-mode-oracle-font-lock-keywords)
10874 (sql-mode-postgres-font-lock-keywords)
10875 (sql-mode-ms-font-lock-keywords)
10876 (sql-mode-sybase-font-lock-keywords)
10877 (sql-mode-informix-font-lock-keywords)
10878 (sql-mode-interbase-font-lock-keywords)
10879 (sql-mode-ingres-font-lock-keywords)
10880 (sql-mode-solid-font-lock-keywords)
10881 (sql-mode-mysql-font-lock-keywords)
10882 (sql-mode-sqlite-font-lock-keywords)
10883 (sql-mode-db2-font-lock-keywords)
10884 (sql-mode-linter-font-lock-keywords): Update initialization to
10885 reduce run-time complexity.
10886 (sql-add-product, sql-del-product): New functions.
10887 (sql-set-product-feature, sql-get-product-feature): New functions.
10888 (sql-product-font-lock): Update product API.
10889 (sql-add-product-keywords): New function.
10890 (sql-highlight-product): Update product API.
10891 (sql-help-list-products): New function.
10892 (sql-help): Dynamically lists free and non-free products.
10893 (sql-get-login): Correct bug in handling history and added
10895 (sql-copy-column): Copy without properties.
10896 (sqli-input-sender): Apply filters to SQLi input.
10897 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10898 Implement as a filter.
10899 (sql-escape-newlines-filter): Implement as a filter.
10900 (sql-remove-tabs-filter): New function.
10901 (sql-send-magic-terminator): New function.
10902 (sql-send-string): Implement magic terminator.
10903 (sql-send-region): Use `sql-send-string'.
10904 (sql-interactive-mode): Use product API.
10905 (sql-product-interactive): Use product API.
10906 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10907 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10908 (sql-db2, sql-linter): Use `sql-product-interactive'.
10909 (sql-connect): New function.
10910 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10911 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10912 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10913 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10916 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10919 New custom variable.
10920 (completion-pcm--string->pattern): Use it.
10921 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10922 Make it handle any symbol as `any'.
10923 (completion-pcm--merge-completions): Extract common suffix for the new
10924 `prefix' symbol as well.
10925 (completion-substring--all-completions): Use the new `prefix' symbol.
10927 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
10929 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10931 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10932 (tramp-compat-funcall): New defmacro.
10933 (tramp-compat-line-beginning-position)
10934 (tramp-compat-line-end-position)
10935 (tramp-compat-temporary-file-directory)
10936 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10937 (tramp-compat-copy-file, tramp-compat-copy-directory)
10938 (tramp-compat-delete-file, tramp-compat-delete-directory)
10939 (tramp-compat-number-sequence, tramp-compat-process-running-p)
10940 * net/tramp.el (top, with-progress-reporter)
10941 (tramp-rfn-eshadow-setup-minibuffer)
10942 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10943 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10944 (tramp-completion-mode-p, tramp-check-for-regexp)
10945 (tramp-open-connection-setup-interactive-shell)
10946 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10947 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10948 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10949 * net/tramp-cmds.el (tramp-cleanup-all-connections)
10950 (tramp-reporter-dump-variable, tramp-load-report-modules)
10951 (tramp-append-tramp-buffers)
10952 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10954 * net/tramp-imap.el (top): Autoload `epg-make-context'.
10956 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10958 * progmodes/compile.el (compilation-buffer-modtime): Rename from
10959 buffer-modtime. Adjust users.
10961 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10963 * international/mule.el (auto-coding-alist): Only purecopy
10964 car of each item, not the whole list (Bug#6083).
10966 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10968 * progmodes/js.el (js-mode): Make paragraph variables local before
10969 calling c-setup-paragraph-variables (Bug#6071).
10971 2010-05-08 Eli Zaretskii <eliz@gnu.org>
10973 * composite.el (compose-region, reference-point-alist): Fix typos
10974 in the doc strings.
10976 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10978 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10979 gnuplot's "set" command.
10981 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10983 * abbrev.el (last-abbrev-text): Doc fix.
10984 (abbrev-prefix-mark): Don't escape parenthesis.
10986 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
10988 * composite.el (find-composition): Doc fix.
10990 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10992 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10993 (sql-oracle-program, sql-sqlite-options)
10994 (sql-query-placeholders-and-send): Doc fixes.
10995 (sql-set-product, sql-interactive-mode): Reflow docstrings.
10996 (sql-imenu-generic-expression, sql-buffer)
10997 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10998 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10999 (sql-mode-sybase-font-lock-keywords)
11000 (sql-mode-informix-font-lock-keywords)
11001 (sql-mode-interbase-font-lock-keywords)
11002 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11003 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11004 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11005 (sql-product-feature, sql-highlight-product)
11006 (comint-line-beginning-position, sql-rename-buffer)
11007 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11008 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11009 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11010 Fix typos in docstrings.
11012 2010-05-08 Juri Linkov <juri@jurta.org>
11014 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11015 property instead of `invisible' and `after-string' (bug#5998).
11017 2010-05-08 Juri Linkov <juri@jurta.org>
11019 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11021 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11023 * filecache.el (file-cache-add-directory-list)
11024 (file-cache-add-directory-recursively): Fix typos in docstrings.
11026 2010-05-08 Kenichi Handa <handa@m17n.org>
11028 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11029 (gujarati-composable-pattern): Fix typo.
11031 2010-05-08 Kenichi Handa <handa@m17n.org>
11033 * language/indian.el (oriya-composable-pattern)
11034 (tamil-composable-pattern, malayalam-composable-pattern):
11035 Add two-part vowels to "v" (vowel sign).
11037 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11039 * files.el (copy-directory): Handle symlinks (Bug#5982).
11041 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11043 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11044 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11047 2010-05-08 Glenn Morris <rgm@gnu.org>
11049 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11051 * minibuffer.el (completion-at-point): Doc fix.
11053 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11055 * electric.el (Electric-command-loop): Minor tweak.
11057 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11058 better with dedicated windows.
11060 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11062 * Version 23.2 released.
11064 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11065 Stefan Monnier <monnier@iro.umontreal.ca>
11067 Highlight vendor specific properties.
11068 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11069 (css-proprietary-property): New face.
11070 (css-font-lock-keywords): Use them.
11072 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11074 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11076 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11078 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11079 * files.el (auto-mode-alist): Remove redundant entries.
11081 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11082 * simple.el (auto-save-mode): Move from files.el.
11083 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11085 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11087 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11089 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11091 * mail/binhex.el (binhex-decode-region-internal)
11092 * mail/uudecode.el (uudecode-decode-region-internal)
11093 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11094 (dns-read-type, dns-query)
11095 * pgg-parse.el (pgg-parse-armor)
11096 * pgg.el (pgg-verify-region)
11097 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11100 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11102 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11104 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11106 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11107 * emulation/cua-base.el (cua-repeat-replace-region):
11108 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11109 (cua-cut-region-to-global-mark):
11110 Remove text properties with `set-text-properties'.
11112 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11114 * net/tramp.el (top, with-progress-reporter):
11115 Use `symbol-function' inside `funcall'.
11117 * net/tramp-compat.el (tramp-compat-file-attributes)
11118 (tramp-compat-delete-file, tramp-compat-delete-directory):
11119 Handle only `wrong-number-of-arguments' error.
11121 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11122 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11125 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11127 * minibuffer.el (completion--sreverse, completion--common-suffix):
11129 (completion-pcm--merge-completions): Extract common suffix when safe.
11131 * emacs-lisp/easy-mmode.el (define-minor-mode):
11132 Make :variable more flexible.
11133 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11135 2010-05-05 Juri Linkov <juri@jurta.org>
11137 Add `slow' and `history' tags to the desktop data.
11139 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11140 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11141 (Info-finder-find-node): Require `finder.el' to be able
11142 to restore node from the desktop.
11143 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11144 data `Info-history' and `slow' tag in the assoc list.
11145 (Info-restore-desktop-buffer): Don't restore nodes with the
11146 `slow' tag. Restore `Info-history'.
11148 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11150 Add FORCE argument to `delete-file'.
11152 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11153 forcing to delete the temporary file.
11154 (ange-ftp-delete-file): Add FORCE arg.
11155 (ange-ftp-rename-remote-to-remote)
11156 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11157 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11158 Force file deletion.
11160 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11162 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11163 (tramp-handle-make-symbolic-link, tramp-handle-load)
11164 (tramp-do-copy-or-rename-file-via-buffer)
11165 (tramp-do-copy-or-rename-file-directly)
11166 (tramp-do-copy-or-rename-file-out-of-band)
11167 (tramp-handle-process-file, tramp-handle-call-process-region)
11168 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11169 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11170 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11172 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11173 (tramp-fish-handle-make-symbolic-link)
11174 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11176 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11177 Use `tramp-compat-delete-file'.
11179 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11180 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11182 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11183 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11185 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11186 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11187 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11188 Use `tramp-compat-delete-file'.
11190 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11193 * subr.el (add-minor-mode): Use push.
11194 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11195 * emulation/edt.el (edt-select-mode): Simplify.
11197 Use define-minor-mode in more cases.
11198 * term/tvi970.el (tvi970-set-keypad-mode):
11199 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11200 (normal-erase-is-backspace-mode):
11201 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11202 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11203 (get-scroll-bar-mode): New function.
11204 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11206 Use define-minor-mode for less obvious cases.
11207 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11208 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11209 * international/iso-ascii.el (iso-ascii-mode):
11210 * frame.el (auto-raise-mode, auto-lower-mode):
11211 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11213 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11215 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11216 in order to see error messages for failed logins.
11218 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11220 * diff.el (diff-sentinel):
11222 * epg.el (epg--make-temp-file, epg-decrypt-string)
11223 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11225 * jka-compr.el (jka-compr-partial-uncompress)
11226 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11228 * server.el (server-sentinel): Use delete-file's new FORCE arg
11231 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11233 Use define-minor-mode where applicable.
11234 * view.el (view-mode):
11235 * type-break.el (type-break-query-mode)
11236 (type-break-mode-line-message-mode):
11237 * textmodes/reftex.el (reftex-mode):
11238 * term/vt100.el (vt100-wide-mode):
11239 * tar-mode.el (tar-subfile-mode):
11240 * savehist.el (savehist-mode):
11241 * ibuf-ext.el (ibuffer-auto-mode):
11242 * composite.el (auto-composition-mode):
11243 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11244 Use define-minor-mode.
11245 (vhdl-mode): Use static mode-line format.
11246 (vhdl-mode-line-update): Delete.
11247 (vhdl-create-mode-menu, vhdl-activate-customizations)
11248 (vhdl-hs-minor-mode): Don't bother calling it.
11250 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11252 * simple.el (with-wrapper-hook): Move.
11253 (buffer-substring-filters): Mark obsolete.
11254 (filter-buffer-substring-functions): New variable.
11255 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11257 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11258 Michael Albinus <michael.albinus@gmx.de>
11260 Implement compression for inline methods.
11262 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11263 (tramp-copy-size-limit): Allow also nil.
11264 (tramp-inline-compress-commands): New defconst.
11265 (tramp-find-inline-compress, tramp-get-inline-compress)
11266 (tramp-get-inline-coding): New defuns.
11267 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11268 replaced by `tramp-get-inline-coding'.
11269 (tramp-handle-file-local-copy, tramp-handle-write-region)
11270 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11272 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11274 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11275 Remove unused functions.
11277 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11278 Set find-tag-default-function as a variable rather than a property.
11280 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11281 * progmodes/etags.el (tags-completion-at-point-function):
11282 Remove left over interactive spec. Add autoloading stub.
11283 (complete-tag): Use tags-completion-at-point-function.
11285 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11287 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11289 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11291 * ido.el (ido-init-completion-maps): Remove C-v binding.
11292 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11294 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11296 * minibuffer.el (tags-completion-at-point-function): New function.
11297 (completion-at-point-functions): Use it.
11299 * progmodes/etags.el (complete-tag): Revert last change.
11301 2010-04-29 Alan Mackenzie <acm@muc.de>
11303 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11304 off-by-one error (in end of macro position).
11306 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11308 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11309 firefox is absent. Don't autoload.
11310 (browse-url-galeon-program): Don't autoload.
11312 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11314 * bindings.el (complete-symbol): Move into minibuffer.el.
11316 * minibuffer.el (complete-tag): Move from etags.el. If tags
11317 completion cannot be performed, return nil instead of signalling
11319 (completion-at-point): Make it an alias for complete-symbol.
11320 (complete-symbol): Move from bindings.el, and replace with the
11321 body of completion-at-point.
11323 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11325 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11327 * net/tramp.el (tramp-remote-selinux-p): New defun.
11328 (tramp-handle-file-selinux-context)
11329 (tramp-handle-set-file-selinux-context): Use it.
11331 2010-04-28 Sam Steingold <sds@gnu.org>
11333 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11334 `safe-local-variable' if the value is a string or a symbol with
11335 the property `bug-reference-url-format'.
11337 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11339 * progmodes/bug-reference.el (bug-reference-url-format):
11340 Revert 2010-04-27 change due to security risk.
11342 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11344 Make it possible to locally disable a globally enabled mode.
11345 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11346 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11347 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11348 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11349 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11350 that subsequent hooks get a chance to disable it.
11352 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11354 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11355 Avoid re-enabling a minor mode after the user turned the minor mode
11356 off if MODE-enable-in-buffers is run twice (typically once from
11357 fundamental-mode's after-change-major-mode-hook and a second time from
11358 run-mode-hook's own after-change-major-mode-hook).
11360 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11362 2010-04-27 Sam Steingold <sds@gnu.org>
11364 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11365 `safe-local-variable' if the value is a string or a function, as
11366 documented and implemented on 2010-04-02.
11368 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11370 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11371 when method is 'kill.
11373 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11375 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11376 condition in default directory check.
11377 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11378 Kill ispell process when killing its associated buffer.
11380 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11382 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11383 but we aren't using it.
11385 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11387 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11388 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11390 2010-04-24 Glenn Morris <rgm@gnu.org>
11392 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11393 Ignore VCS-ignore files, and deleted nextstep preferences files.
11394 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11395 (authors-ambiguous-files): New list.
11396 (authors-valid-file-names): Add some deleted files.
11397 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11398 (authors-disambiguate-file-name): New function. (Bug#5501)
11399 (authors-canonical-file-name): Doc fix.
11400 Don't warn about obsolete files.
11401 (authors-canonical-file-name, authors-scan-el):
11402 Use authors-disambiguate-file-name.
11404 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11405 Add autoload cookies.
11406 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11407 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11408 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11409 They have definitions / compiler macros in cl.el.
11410 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11411 Replace manual autoloads with generated ones.
11412 (htmlfontify-unload-rgb-file): Remove autoload.
11413 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11415 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11417 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11418 (byte-compile-setq-default): Optimize for the
11419 single-var case and don't call byte-compile-form in this case to avoid
11420 inf-loop with byte-compile-set-default.
11422 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11424 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11426 Implement SELINUX backends.
11428 * net/tramp.el (tramp-file-name-handler-alist):
11429 Add `file-selinux-context' and `set-file-selinux-context'.
11430 (tramp-handle-file-selinux-context)
11431 (tramp-handle-set-file-selinux-context): New defuns.
11432 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11433 Handle PRESERVE-SELINUX-CONTEXT.
11435 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11436 Add `file-selinux-context' and `set-file-selinux-context'.
11437 (tramp-gvfs-handle-file-selinux-context)
11438 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11439 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11441 * net/ange-ftp.el (ange-ftp-copy-file):
11442 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11443 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11444 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11445 Add PRESERVE-SELINUX-CONTEXT.
11447 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11449 Synchronize with Tramp repository.
11451 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11452 (tramp-action-process-alive, tramp-action-out-of-band)
11453 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11454 (tramp-exists-file-name-handler): Fix docstring.
11455 (with-progress-reporter): New defmacro.
11456 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11457 (tramp-maybe-open-connection): Use it.
11459 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11461 Detect ssh 'ControlMaster' argument automatically in some cases.
11463 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11464 (tramp-default-method): Use it.
11466 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11468 * net/tramp.el (tramp-handle-copy-file): Add new optional
11469 parameter `preserve-selinux-context'.
11470 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11472 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11474 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11475 Ensure, that non remote files are still checked. Oops.
11477 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11481 * icomplete.el (icomplete-completions): Use `non-essential'.
11483 * net/tramp.el (tramp-connectable-p): New defun.
11484 (tramp-handle-expand-file-name)
11485 (tramp-completion-handle-file-name-all-completions)
11486 (tramp-completion-handle-file-name-completion): Use it.
11488 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11490 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11492 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11494 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11496 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11498 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11501 * info.el (info-tool-bar-map): Add labels.
11503 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11505 * cus-edit.el (custom-commands): Add labels for tool bar.
11506 (custom-buffer-create-internal, Custom-mode): Adjust for
11507 labels in custom-commands.
11509 * dynamic-setting.el: Renamed from font-setting.el.
11511 2010-04-21 John Wiegley <jwiegley@gmail.com>
11513 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11514 toggles the use of virtual buffers.
11515 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11516 (ido-toggle-virtual-buffers): New function.
11518 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11520 Use `define-derived-mode'; fix window selection; doc fixes.
11521 * play/tetris.el (tetris, tetris-update-speed-function)
11522 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11523 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11524 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11525 (tetris-pause-game): Fix typos in docstrings.
11526 (tetris-mode-map, tetris-null-map):
11527 Move initialization into declaration.
11528 (tetris-mode): Define with `define-derived-mode';
11529 set show-trailing-whitespace to nil.
11530 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11532 2010-04-21 Karel Klíč <kklic@redhat.com>
11534 * files.el (backup-buffer): Handle SELinux context, and return it
11535 if a backup was made by renaming.
11536 (backup-buffer-copy): Set SELinux context to the target file.
11537 (basic-save-buffer): Set SELinux context of the newly written file.
11538 (basic-save-buffer-1): Now it also returns any SELinux context.
11539 (basic-save-buffer-2): Set SELinux context of the newly created file,
11541 * net/tramp.el (tramp-file-name-for-operation):
11542 Add file-selinux-context.
11544 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11546 Make the log-edit comments use RFC822 format throughout.
11548 * vc.el (vc-checkin, vc-modify-change-comment):
11549 Adjust to new vc-start/finish-logentry.
11550 (vc-find-conflicted-file): New command.
11551 (vc-transfer-file): Adjust to new vc-checkin.
11552 (vc-next-action): Improve scoping.
11554 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11555 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11557 * vc-git.el (vc-git-log-edit-mode): Remove.
11558 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11559 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11561 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11562 (vc-start-logentry): Remove argument `extra'.
11563 (vc-finish-logentry): Remove extra args.
11565 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11566 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11567 (vc-bzr-conflicted-files): New function.
11569 * log-edit.el (log-edit-extra-flags)
11570 (log-edit-before-checkin-process): Remove.
11571 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11572 (log-edit-headers-alist): New var.
11573 (log-edit-header-contents-regexp): New const.
11574 (log-edit-match-to-eoh): New function.
11575 (log-edit-font-lock-keywords): Use them.
11576 (log-edit): Insert a "Summary:" header as default.
11577 (log-edit-mode): Mark font-lock rules as case-insensitive.
11578 (log-edit-done): Cleanup headers.
11579 (log-view-process-buffer): Remove.
11580 (log-edit-extract-headers): New function to replace it.
11582 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11584 * subr.el (default-direction-reversed): Remove obsolescence info.
11586 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11588 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11591 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11592 I.e. include text after point in the completion region.
11593 Also, return nil when we're not after/in a symbol.
11595 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11596 default enable-multibyte-characters.
11598 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11600 * international/mule.el: Help the user choose a valid coding-system.
11601 (read-buffer-file-coding-system): New function.
11602 (set-buffer-file-coding-system): Use it. Prompt the user if the
11603 coding-system cannot encode all the chars.
11605 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11606 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11607 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11608 Don't use *vc-bzr-shelve*.
11610 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11612 Fix the version number for added files.
11613 * vc-hg.el (vc-hg-working-revision): Check if the file is
11614 registered after hg parent fails (Bug#5961).
11616 2010-04-19 Glenn Morris <rgm@gnu.org>
11618 * htmlfontify.el (htmlfontify-buffer)
11619 (htmlfontify-copy-and-link-dir): Autoload entry points.
11621 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11623 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11624 name relative to the project root (Bug#5960).
11626 2010-04-19 Glenn Morris <rgm@gnu.org>
11628 * vc-git.el (vc-git-print-log): Doc fix.
11630 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11632 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11634 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11636 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11637 default settings (Bug#5928).
11639 2010-04-19 Glenn Morris <rgm@gnu.org>
11641 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11643 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11645 2010-04-19 Kenichi Handa <handa@m17n.org>
11647 * language/indian.el (malayalam-composable-pattern): Fix previous
11648 change (add U+0D4D "SIGN VIRAMA").
11649 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11650 (tamil-composable-pattern): Fix typo in the regexp.
11651 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11652 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11653 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11655 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11657 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11658 paragraph-separate (Bug#5821).
11660 2010-04-19 Juri Linkov <juri@jurta.org>
11662 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11664 * info.el (Info-find-node-2): Comment out code that skips
11666 (Info-mouse-follow-link): New command.
11667 (Info-link-keymap): New keymap.
11668 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11669 Return a string with links instead of inserting breadcrumbs
11670 to the Info buffer.
11671 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11672 Instead of putting the `invisible' text property over the Info
11673 header, make an overlay over the Info header with the `invisible'
11674 property and `after-string' set to the string returned by
11675 `Info-breadcrumbs'.
11677 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11679 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11680 Reported by monkey@sandpframing.com.
11682 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11684 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11685 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11686 available in the "keyseq cache" any more.
11688 * custom.el (defcustom): Add edebug spec.
11690 2010-04-18 Juri Linkov <juri@jurta.org>
11692 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11694 * view.el (view-file, view-buffer): Move test for special mode-class
11695 from view-file to view-buffer.
11697 * tar-mode.el (tar-extract): Turn if's into one cond
11698 like in arc-mode.el.
11700 2010-04-18 Juri Linkov <juri@jurta.org>
11702 Add 7z archive format support (bug#5475).
11704 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11705 (archive-7z-extract): New defcustom.
11706 (archive-find-type): Add magic string for 7z.
11707 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11708 If `stderr-file' is non-nil, use `(t stderr-file)' for the
11709 `buffer' arg of `call-process'.
11710 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11711 call the function `archive-7z-extract' with the variable
11712 `archive-7z-extract' let-bound to `archive-zip-extract'.
11713 (archive-7z-summarize, archive-7z-extract): New functions.
11715 * international/mule.el (auto-coding-alist):
11716 * files.el (auto-mode-alist): Add 7z file extension.
11718 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11720 * loadup.el: Setup hash-cons for pure data.
11722 Fix duplicate entries in cedet's loaddefs.el files.
11723 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11724 Should make most file-local generated-autoload-file unnecessary.
11725 (print-readably): Silence warnings.
11726 (autoload-find-destination): Take load-name as an arg to make sure
11727 it's the same as the one that will be in the file.
11728 (autoload-generate-file-autoloads): Adjust to above changes.
11729 Try to make the dataflow a bit simpler.
11731 * cvs-status.el (cvs-refontify): Remove unused.
11733 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
11735 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11737 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11738 twos-complement mode.
11740 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
11742 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11743 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
11744 (calc-inverse): Add "Option" to message, as appropriate.
11745 (calc-hyperbolic): Add "Option" to message, as appropriate.
11746 (calc-option, calc-is-option): New functions.
11748 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11749 (calc-option-prefix-help): New function.
11751 * calc/calc-misc.el (calc-help): Add "Option" entry.
11753 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11754 (calc-option-flag): New variable.
11755 (calc-do): Set `calc-option-flag to nil.
11756 (calc-set-mode-line): Add "Opt " as appropriate.
11758 2010-04-16 Juri Linkov <juri@jurta.org>
11760 Move scrolling commands from simple.el to window.el
11761 because their primitives are implemented in window.c.
11763 * simple.el (scroll-error-top-bottom)
11764 (scroll-up-command, scroll-down-command, scroll-up-line)
11765 (scroll-down-line, scroll-other-window-down)
11766 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11767 * window.el (scroll-error-top-bottom)
11768 (scroll-up-command, scroll-down-command, scroll-up-line)
11769 (scroll-down-line, scroll-other-window-down)
11770 (beginning-of-buffer-other-window, end-of-buffer-other-window):
11771 Move from simple.el to window.el because their primitives are
11772 implemented in window.c.
11774 2010-04-16 Juri Linkov <juri@jurta.org>
11776 * isearch.el (isearch-lookup-scroll-key): Check both
11777 `isearch-scroll' and `scroll-command' properties.
11778 (scroll-up, scroll-down): Remove `isearch-scroll' property.
11780 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11782 * simple.el (scroll-up-command, scroll-down-command)
11783 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11785 2010-04-15 Juri Linkov <juri@jurta.org>
11787 * simple.el (scroll-up-command, scroll-down-command)
11788 (scroll-up-line, scroll-down-line): Put `scroll-command'
11789 property on the these symbols. Remove them from
11790 `scroll-preserve-screen-position-commands'.
11792 * mwheel.el (mwheel-scroll): Put `scroll-command' and
11793 `isearch-scroll' properties on the `mwheel-scroll' symbol.
11794 Remove it from `scroll-preserve-screen-position-commands'.
11796 * isearch.el (isearch-allow-scroll): Doc fix.
11798 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
11800 * net/tramp.el (tramp-error-with-buffer): Don't show the
11801 connection buffer when we are in completion mode.
11802 (tramp-file-name-handler): Catch the error for some operations
11803 when we are in completion mode. This gives the user the chance to
11804 correct the file name in the minibuffer.
11806 2010-04-15 Glenn Morris <rgm@gnu.org>
11808 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11810 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
11812 Simplify by using `define-derived-mode'.
11813 * info.el (Info-mode):
11814 * calendar/todo-mode.el (todo-mode):
11815 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11816 (gomoku-mode-map): Move initialization into declaration.
11818 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
11821 * ido.el (ido-file-name-all-completions-1):
11822 * minibuffer.el (minibuffer-completion-help):
11823 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11825 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11827 * simple.el (non-essential): New var.
11829 Add a new field `location' to bookmarks for non-file bookmarks.
11830 * bookmark.el (bookmark-location): Use the new field, if present.
11831 (bookmark-insert-location): Undo last change, not needed any more.
11832 * man.el (Man-bookmark-make-record):
11833 * woman.el (woman-bookmark-make-record): Add `location' field.
11835 2010-04-14 Juri Linkov <juri@jurta.org>
11837 * simple.el (scroll-error-top-bottom): New defcustom.
11838 (scroll-up-command, scroll-down-command): Use it. Doc fix.
11840 * emulation/pc-select.el (pc-select-override-scroll-error):
11841 Obsolete in favor of `scroll-error-top-bottom'.
11843 2010-04-14 Juri Linkov <juri@jurta.org>
11845 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11846 `scroll-up-command' and `M-v' to `scroll-down-command'.
11848 * emulation/cua-rect.el (cua--init-rectangles):
11849 * forms.el (forms--change-commands):
11850 * image-mode.el (image-mode-map):
11851 Remap scroll-down-command and scroll-up-command
11852 in addition to scroll-down and scroll-up.
11854 2010-04-14 Juri Linkov <juri@jurta.org>
11856 * mwheel.el (scroll-preserve-screen-position-commands):
11857 Add mwheel-scroll to this list of commands.
11859 * simple.el (scroll-preserve-screen-position-commands):
11860 Add scroll-up-command, scroll-down-command, scroll-up-line,
11861 scroll-down-line to this list of commands.
11863 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
11865 * obsolete/complete.el: Move from lisp/complete.el.
11867 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11869 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11870 to the minor mode function now turns the mode ON unconditionally.
11872 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11874 * vc-dir.el (vc-dir-kill-line): New command.
11875 (vc-dir-mode-map): Bind it to C-k.
11877 * bookmark.el (bookmark-insert-location): Handle a nil filename.
11879 * woman.el: Add bookmark declarations to silence the compiler.
11880 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11881 step to compatibility between man and woman bookmarks.
11882 Adjust for Man-default-bookmark-title renaming.
11883 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
11885 * man.el: Add bookmark declarations to silence the compiler.
11886 (Man-name-local-regexp): Make it match NAME as well.
11887 (Man-getpage-in-background): Return the buffer.
11888 (Man-notify-when-ready): Use `case'.
11889 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11890 Don't hardcode "NAME". Simplify.
11891 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11892 Rename from Man-bookmark-make-record.
11893 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
11894 we have the actual man-args. Use Man-getpage-in-background rather
11895 than `man' since the arg is already processed. Let bookmark.el do the
11896 window handling. Only wait for the relevant process.
11897 Don't forget to autoload.
11899 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11901 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11903 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11905 (woman-mode): Setup bookmark support.
11907 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11908 (man-bookmark-jump): New functions.
11909 (Man-mode): Setup bookmark support.
11911 2010-04-10 Jari Aalto <jari.aalto@cante.net>
11913 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11914 recognize ssh-keygen prompt (Bug#2817).
11916 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11918 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11920 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
11922 Synchronize with Tramp repository.
11924 * net/tramp.el (tramp-completion-function-alist)
11925 (tramp-file-name-regexp, tramp-chunksize)
11926 (tramp-local-coding-commands, tramp-remote-coding-commands):
11928 (tramp-remote-process-environment): Use `format' instead of `concat'.
11929 (tramp-handle-directory-files-and-attributes)
11930 (tramp-get-remote-path): Use `copy-tree'.
11931 (tramp-handle-file-name-all-completions): Backward/ XEmacs
11932 compatibility: Use `completion-ignore-case' if
11933 `read-file-name-completion-ignore-case' does not exist.
11934 (tramp-do-copy-or-rename-file-directly): Do not use
11935 `tramp-handle-file-remote-p'.
11936 (tramp-do-copy-or-rename-file-out-of-band):
11937 Use `tramp-compat-delete-directory'.
11938 (tramp-do-copy-or-rename-file-out-of-band)
11939 (tramp-compute-multi-hops, tramp-maybe-open-connection):
11940 Use `format-spec-make'.
11941 (tramp-find-foreign-file-name-handler)
11942 (tramp-advice-make-auto-save-file-name)
11943 (tramp-set-auto-save-file-modes): Remove superfluous check for
11944 `stringp'. This is done inside `tramp-tramp-file-p'.
11945 (tramp-debug-outline-regexp): New defconst.
11946 (tramp-get-debug-buffer): Use it.
11947 (tramp-check-for-regexp): Use (forward-line 1).
11948 (tramp-set-auto-save-file-modes): Adapt version check.
11950 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11951 Wrap call of `featurep' for 2nd argument.
11952 (tramp-compat-make-temp-file): Simplify fallback implementation.
11953 (tramp-compat-copy-tree): Remove function.
11954 (tramp-compat-delete-directory): Provide implementation for older
11957 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11958 Do not use `tramp-fish-handle-file-attributes.
11960 * net/trampver.el: Update release number.
11962 2010-04-10 Glenn Morris <rgm@gnu.org>
11964 * progmodes/compile.el (compilation-save-buffers-predicate):
11965 Add missing :version tag.
11967 2010-04-09 Sam Steingold <sds@gnu.org>
11969 * progmodes/compile.el (compilation-save-buffers-predicate):
11970 Remove the "autoload" cookie.
11972 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11973 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11974 and `bug-reference-prog-mode' can be used in hooks directly.
11976 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
11978 Add --author support to git commit.
11979 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11980 (vc-git-log-edit-mode): New minor mode.
11981 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11984 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
11986 * vc-hooks.el, vc-git.el: Improve documentation comments.
11988 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11990 Fix some of the problems in defsubst* (bug#5728).
11991 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11992 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11994 2010-04-07 Sam Steingold <sds@gnu.org>
11996 * progmodes/compile.el (compilation-save-buffers-predicate):
11997 New custom variable.
11998 (compile, recompile): Pass it to `save-some-buffers'.
12000 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12002 * wid-edit.el (widget-choose): Move cursor to the second line of
12003 the buffer (Bug#5695).
12005 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12007 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12008 * vc.el (vc-print-log-setup-buttons): New function split out from
12009 vc-print-log-internal.
12010 (vc-log-internal-common): New function, a parametrized version of
12011 vc-print-log-internal.
12012 (vc-print-log-internal): Just call vc-log-internal-common with the
12014 (vc-incoming-outgoing-internal):
12015 (vc-log-incoming, vc-log-outgoing): New functions.
12016 (vc-log-view-type): New permanent local variable.
12018 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12020 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12021 of the dynamic bound vc-short-log.
12022 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12024 * vc-git.el (vc-git-log-outgoing): New function.
12025 (vc-git-log-view-mode): Use vc-log-view-type instead
12026 of the dynamic bound vc-short-log.
12028 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12029 of the dynamic bound vc-short-log. Highlight the tag.
12030 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12031 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12032 (vc-hg-incoming-mode): Remove.
12033 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12035 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12037 Fix default-directory for vc-root-diff.
12038 * vc.el (vc-root-diff): Bind default-directory to the root
12039 directory for the diff command.
12041 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12043 * progmodes/verilog-mode.el (verilog-forward-sexp):
12044 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12045 word keywords, suggested by Steve Pearlmutter.
12046 (verilog-pretty-declarations): Support lineup of declarations in
12048 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12049 fix bug for /* / comments.
12050 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12051 Speed up and simplfy as this is never called with a bound.
12052 (verilog-pretty-declarations): Enhance to line up declarations
12053 inside a parameter list, suggested by Alan Morgan.
12054 (verilog-pretty-expr): Tune assignment regular expression match
12055 string for corner cases; also use markers instead of character
12056 number as indent changes the later.
12058 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12060 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12061 as missing keyword.
12062 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12063 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12064 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12065 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12067 (verilog-keywords):
12068 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12069 1800-2009 keywords, including "global.".
12071 2010-04-06 John Wiegley <jwiegley@gmail.com>
12073 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12074 appearing in buffer list (if a live buffer name matched a recentf
12075 file basename). Should use uniquify to offer a real solution.
12077 2010-04-06 John Wiegley <jwiegley@gmail.com>
12079 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12080 comment to code, and add a :version tag.
12081 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12083 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12085 Enable recentf-mode if using virtual buffers.
12086 * ido.el (recentf-list): Declare for byte-compiler.
12087 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12088 (ido-make-buffer-list): Simplify.
12089 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12091 2010-04-05 Juri Linkov <juri@jurta.org>
12093 Scrolling commands which scroll a line instead of full screen.
12094 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12096 * simple.el (scroll-up-line, scroll-down-line): New commands.
12097 Put property isearch-scroll=t on them.
12099 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12102 2010-04-05 Juri Linkov <juri@jurta.org>
12104 Scrolling commands which do not signal errors at top/bottom.
12105 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12107 * simple.el (scroll-up-command, scroll-down-command): New commands.
12108 Put property isearch-scroll=t on them.
12110 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12111 `scroll-down-command' and [next] from `scroll-up' to
12112 `scroll-up-command'.
12114 * emulation/cua-base.el: Put property CUA=move on
12115 `scroll-up-command' and `scroll-down-command'.
12116 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12117 and `scroll-down-command' to `cua-scroll-down'.
12119 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12121 * help.el (describe-mode): Return nil.
12123 2010-04-04 John Wiegley <jwiegley@gmail.com>
12125 * ido.el (ido-use-virtual-buffers): New variable to indicate
12126 whether "virtual buffer" support is enabled for IDO.
12127 (ido-virtual): Face used to indicate virtual buffers in the list.
12128 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12129 exists, but a virtual buffer of that name does (which would be why
12130 it was in the list), recreate the buffer by reopening the file.
12131 (ido-make-buffer-list): If virtual buffers are being used, call
12132 `ido-add-virtual-buffers-to-list' before the make list hook.
12133 (ido-virtual-buffers): New variable which contains a copy of the
12134 current contents of the `recentf-list', albeit pared down for the
12135 sake of speed, and with proper faces applied.
12136 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12137 create a list of "virtual buffers" to present to the user in
12138 addition to the currently open set. Note that this logic could
12139 get rather slow if that list is too large. With the default
12140 `recentf-max-saved-items' of 200, there is little speed penalty.
12142 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12144 * font-lock.el: Require CL when compiling.
12145 (font-lock-turn-on-thing-lock): Use `case'.
12147 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12149 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12152 2010-04-02 Juri Linkov <juri@jurta.org>
12154 * ehelp.el (electric-help-orig-major-mode):
12155 New buffer-local variable.
12156 (electric-help-mode): Set it to original major-mode. Doc fix.
12157 (with-electric-help): Use `electric-help-orig-major-mode' instead
12158 of (default-value 'major-mode). Doc fix.
12159 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12161 2010-04-02 Sam Steingold <sds@gnu.org>
12163 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12164 `vc-hg-command' with a list of flags.
12166 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12167 Also accept "patch" and "RFE".
12168 (bug-reference-fontify): `bug-reference-url-format' can also be a
12169 function to be able to handle the bug kind.
12170 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12172 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12174 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12175 value to fboundp, it may not be a symbol.
12177 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12179 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12181 2010-03-31 Juri Linkov <juri@jurta.org>
12183 * simple.el (next-line, previous-line): Re-throw a signal
12184 with `signal' instead of using `ding'.
12185 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12187 2010-03-31 Juri Linkov <juri@jurta.org>
12189 * simple.el (keyboard-escape-quit): Raise deselecting the active
12190 region higher than exiting the minibuffer.
12191 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12193 2010-03-31 Juri Linkov <juri@jurta.org>
12195 * image.el (image-animated-p): Use `image-metadata' instead of
12196 `image-extension-data'. Get GIF extenstion data from metadata
12197 property `extension-data'.
12199 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12201 * simple.el (append-to-buffer): Simplify.
12203 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12205 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12206 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12208 2010-03-31 Kenichi Handa <handa@m17n.org>
12210 * language/sinhala.el (composition-function-table): Fix regexp for
12211 the new Unicode specification.
12213 * language/indian.el (devanagari-composable-pattern)
12214 (tamil-composable-pattern, kannada-composable-pattern)
12215 (malayalam-composable-pattern): Adjust for the new Unicode
12217 (bengali-composable-pattern, gurmukhi-composable-pattern)
12218 (gujarati-composable-pattern, oriya-composable-pattern)
12219 (telugu-composable-pattern): New variables to cope with the new
12220 Unicode specification. Use them in composition-function-table.
12222 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12224 Make tmm-menubar work for the Buffers menu again (bug#5726).
12225 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12226 vectors rather than cons cells, as used in menu-bar-update-buffers.
12228 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12230 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12231 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12232 electric punctuation for "{}();,:" (Bug#5586).
12234 * mail/sendmail.el (mail-default-directory): Doc fix.
12236 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12238 * mail/sendmail.el (mail-default-directory): Doc fix.
12240 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12242 * subr.el (version-regexp-alist, version-to-list)
12243 (version-list-<, version-list-=, version-list-<=)
12244 (version-list-not-zero, version<, version<=, version=): Doc fix.
12247 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12249 * vc.el (vc-root-diff): Doc fix.
12251 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12253 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12255 * simple.el (append-to-buffer): Fix last change.
12257 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12259 * simple.el (append-to-buffer): Ensure that point is preserved if
12260 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12263 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12265 * files.el (auto-mode-case-fold): Change default to t.
12267 2010-03-30 Juri Linkov <juri@jurta.org>
12269 * dired-x.el (dired-omit-mode): Doc fix.
12271 2010-03-30 Juri Linkov <juri@jurta.org>
12273 * replace.el (occur-accumulate-lines): Move occur-engine related
12274 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12275 to be located after `occur-engine'.
12277 2010-03-30 Juri Linkov <juri@jurta.org>
12279 Make occur handle multi-line matches cleanly with context.
12280 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12282 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12283 (occur-engine): Add local variables `ret', `prev-after-lines',
12284 `prev-lines'. Use more arguments for `occur-context-lines'.
12285 Set first elem of its returned list to `data', and the second elem
12286 to `prev-after-lines'. Don't print the separator line.
12287 In the end, print remaining context after-lines.
12288 (occur-context-lines): Add new arguments `begpt', `endpt',
12289 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12290 after-lines of the previous match with before-lines of the
12291 current match and not overlap them. Return a list with two
12292 values: the output line and the list of context after-lines.
12294 2010-03-30 Juri Linkov <juri@jurta.org>
12296 * replace.el (occur-accumulate-lines): Fix a bug where the first
12297 context line at the beginning of the buffer was missing.
12299 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12301 * files.el: Make bidi-display-reordering safe variable for boolean
12304 2010-03-29 Phil Hagelberg <phil@evri.com>
12305 Chong Yidong <cyd@stupidchicken.com>
12307 * subr.el: Extend progress reporters to perform "spinning".
12308 (progress-reporter-update, progress-reporter-do-update):
12309 Handle non-numeric value arguments.
12310 (progress-reporter--pulse-characters): New var.
12312 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12314 * progmodes/compile.el (compilation-start): Fix regexp detection
12315 of initial cd command (Bug#5771).
12317 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12319 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12321 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12323 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12324 * progmodes/gdb-mi.el: Restore.
12325 * progmodes/gdb-ui.el: Remove.
12326 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12328 2010-03-25 Glenn Morris <rgm@gnu.org>
12330 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12331 all dired buffers, even tramp ones. (Bug#5755)
12333 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12335 Add "union tags" in mpc.el.
12336 * mpc.el: Remove backward compatibility code.
12337 (mpc-browser-tags): Change default.
12338 (mpc--find-memoize-union-tags): New var.
12339 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12340 (mpc-cmd-find): Handle the case where the playlist does not exist.
12342 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12343 (mpc-cmd-add): Use mpc-cmd-flush.
12344 (mpc-tagbrowser-tag-name): New fun.
12345 (mpc-tagbrowser-buf): Use it.
12346 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12348 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12351 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12352 Use replace-regexp-in-string.
12353 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12354 (makefile-imake-mode-syntax-table): Move init into defvar.
12355 (makefile-mode): Use define-derived-mode.
12357 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12358 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12359 not be present any more.
12361 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12363 * faces.el (set-face-attribute): Fix typo in docstring.
12364 (face-valid-attribute-values): Reflow docstring.
12366 2010-03-24 Glenn Morris <rgm@gnu.org>
12368 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12370 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12372 * indent.el (indent-for-tab-command): Doc fix.
12374 2010-03-24 Alan Mackenzie <acm@muc.de>
12376 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12377 Fix off-by-one error. Fixes bug #5747.
12379 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12381 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12382 (image-dired-read-comment): Doc fix.
12384 * json.el (json-object-type, json-array-type, json-key-type)
12385 (json-false, json-null, json-read-number):
12386 * minibuffer.el (completion-in-region-functions):
12387 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12388 (cal-tex-cursor-week):
12389 * emacs-lisp/trace.el (trace-function):
12390 * eshell/em-basic.el (eshell/printnl):
12391 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12392 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12393 * obsolete/levents.el (allocate-event, event-key, event-object)
12394 (event-point, event-process, event-timestamp, event-to-character)
12395 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12396 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12397 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12398 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12399 (reftex-highlight-selection): Fix typos in docstrings.
12401 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12403 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12405 2010-03-24 Glenn Morris <rgm@gnu.org>
12407 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12408 2008-02-13 without comment; mark it obsolete.
12409 (rmail-highlight-headers): Use rmail-highlight-face once more.
12411 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12413 * woman.el (woman2-process-escapes): Only consume the newline if
12414 the filler character is on a line by itself (Bug#5729).
12416 2010-03-24 Kenichi Handa <handa@m17n.org>
12418 * language/indian.el (devanagari-composable-pattern): Add more
12421 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12423 * net/trampver.el: Update release number.
12425 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12427 * net/tramp.el (tramp-find-executable):
12428 Use `tramp-get-connection-buffer'. Make the regexp for checking
12429 output of "wc -l" more robust.
12430 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12431 (tramp-open-connection-setup-interactive-shell): Remove workaround
12432 for OpenSolaris bug, it is not needed anymore.
12434 2010-03-24 Glenn Morris <rgm@gnu.org>
12436 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12438 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12440 * files.el (auto-mode-alist): Accept more verilog file patterns.
12442 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12444 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12446 2010-03-24 Glenn Morris <rgm@gnu.org>
12448 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12449 log-edit-before-checkin-process.
12451 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12453 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12455 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12456 (log-view-process-buffer, log-edit-extra-flags): Declare.
12458 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12460 2010-03-23 Sam Steingold <sds@gnu.org>
12462 Fix bug#5620: recalculate all markers on compilation buffer
12463 modifications, not on file modifications.
12464 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12465 variable: the buffer modification time, for buffers not associated with
12467 (compilation-mode): Create it.
12468 (compilation-filter): Update it.
12469 (compilation-next-error-function): Use it instead of
12470 `visited-file-modtime' for timestamp.
12472 2010-03-23 Juri Linkov <juri@jurta.org>
12474 Implement Occur multi-line matches.
12475 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12477 * replace.el (occur): Doc fix.
12478 (occur-engine): Set `begpt' to the beginning of the first line.
12479 Set `endpt' to the end of the last match line. At first, count
12480 line numbers between `origpt' and `begpt'. Split out code from
12481 `out-line' variable to new let-bindings `match-prefix' and
12482 `match-str'. In `out-line' add non-numeric prefix to all
12483 non-first lines of multi-line matches. Finally, count lines
12484 between `begpt' and `endpt' and add to `lines'.
12486 2010-03-23 Juri Linkov <juri@jurta.org>
12488 * replace.el (occur-accumulate-lines, occur-engine):
12489 Use `occur-engine-line' instead of duplicate code.
12490 (occur-engine-line): New function created from duplicate code
12491 in `occur-accumulate-lines' and `occur-engine'.
12493 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12494 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12496 2010-03-23 Juri Linkov <juri@jurta.org>
12498 * finder.el: Remove TODO tasks.
12500 * info.el (Info-finder-find-node): Add node "all"
12501 with all package info. Handle a list of multiple keywords
12502 separated by comma.
12503 (info-finder): In interactive use with a prefix argument,
12504 use `completing-read-multiple' to read a list of keywords
12505 separated by comma.
12507 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12509 Add a new completion style `substring'.
12510 * minibuffer.el (completion-basic--pattern): New function.
12511 (completion-basic-try-completion, completion-basic-all-completions):
12513 (completion-substring--all-completions)
12514 (completion-substring-try-completion)
12515 (completion-substring-all-completions): New functions.
12516 (completion-styles-alist): New style `substring'.
12518 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12520 Get rid of .elc files after removal of the corresponding .el.
12521 * Makefile.in (compile-clean): New target.
12522 (compile-main): Use it.
12524 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12526 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12527 don't do make there. When compiling with separate object dir, there
12528 is no Makefile there.
12530 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12532 Get rid of the ELCFILES abomination, again.
12533 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12534 (all, compile): Don't call compile-last.
12535 (compile-main): Build the "elcfiles" list dynamically.
12536 (compile-targets): New (internal) target.
12538 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12540 * Makefile.in (top_srcdir): Define.
12541 (abs_top_builddir): Define.
12542 (srcdir): Don't append `/..'.
12543 (EMACS): Use ${abs_top_builddir}.
12544 (all, compile, compile-always, compile-last): Don't set emacswd.
12545 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12547 (lisp): Use $(srcdir) instead of @srcdir@.
12549 2010-03-21 Juri Linkov <juri@jurta.org>
12551 Fix message of multi-line occur regexps and multi-buffer header lines.
12552 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12554 * replace.el (occur-1): Don't display regexp if it is longer
12555 than window-width. Use `query-replace-descr' to display regexp.
12556 (occur-engine): Don't display regexp in the buffer header for
12557 multi-buffer occur. Display a separate header line with total
12558 match count and regexp for multi-buffer occur.
12559 Use `query-replace-descr' to display regexp.
12561 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12563 * net/secrets.el: Fix parenthesis.
12564 (secrets-enabled): Fix parenthesis.
12566 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12568 Use more relative file and directory names.
12569 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12570 (setwins, setwins_almost, setwins_for_subdirs):
12571 Don't `cd'; output relative names.
12572 (all, compile, compile-always, compile-last): Set emacswd.
12573 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12574 Just cd to the lisp source dir so we can use relative file names.
12576 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12578 2010-03-20 Glenn Morris <rgm@gnu.org>
12580 * textmodes/rst.el: Use faces for font-lock customization, and make the
12581 old -face variables obsolete.
12582 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12583 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12584 (rst-block-face, rst-external-face, rst-definition-face)
12585 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12586 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12588 (rst-font-lock-keywords-function): Update for above changes.
12590 2010-03-20 Juri Linkov <juri@jurta.org>
12593 * obsolete/s-region.el: Move to obsolete.
12595 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12597 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12599 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12601 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12603 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12605 Add special markup processing for commit logs.
12606 * log-edit.el (log-edit-extra-flags): New variable.
12607 (log-edit): Add new argument MODE. Use that mode when non-nil
12608 instead of the log-view-mode.
12609 (log-view-process-buffer): New function.
12611 * vc.el: Document that the checkin method takes optional
12612 arguments. Document new backend specific method: log-view-mode.
12613 (vc-default-log-edit-mode): New function.
12614 (vc-checkin): Use a backend specific log-view-mode.
12615 Pass extra arguments to the checkin method.
12616 (vc-modify-change-comment): Pass a dummy extra argument.
12618 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12620 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12621 (vc-finish-logentry): Process the log buffer before passing it
12622 down. Pass log-edit-extra-flags.
12624 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12626 (log-edit-extra-flags, log-edit-before-checkin-process):
12629 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12631 (log-edit-extra-flags, log-edit-before-checkin-process):
12633 (vc-hg-log-edit-mode): New derived mode.
12635 * vc-arch.el (vc-arch-checkin):
12636 * vc-cvs.el (vc-cvs-checkin):
12637 * vc-git.el (vc-git-checkin):
12638 * vc-mtn.el (vc-mtn-checkin):
12639 * vc-rcs.el (vc-rcs-checkin):
12640 * vc-sccs.el (vc-sccs-checkin):
12641 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12643 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12645 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12648 2010-03-19 Glenn Morris <rgm@gnu.org>
12650 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12652 2010-03-18 Glenn Morris <rgm@gnu.org>
12654 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12656 * replace.el (query-replace-history): Give it a doc string.
12657 (map-query-replace-regexp): Use query-replace-from-history-variable
12658 and query-replace-to-history-variable.
12660 * mail/hashcash.el (declare-function): Remove duplicate definition.
12662 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12663 Make it an obsolete alias for report-emacs-bug-address.
12664 (message-strip-special-text-properties): Declare.
12665 (report-emacs-bug): Remove test for a pretest bug address.
12666 Combine message-mode-specific code.
12668 * mail/supercite.el: Don't require sendmail.
12669 (mh-in-header-p): Declare rather than using with-no-warnings.
12670 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12671 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12673 * calendar/cal-french.el: Convert to utf-8.
12675 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12678 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12680 * net/secrets.el (secrets-enabled): New variable. Use it instead
12683 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12685 * net/secrets.el (top): Register the D-Bus signals only when the
12686 service "org.freedesktop.secrets" can be pinged.
12687 Provide subfeature `enabled'.
12689 2010-03-14 Juri Linkov <juri@jurta.org>
12691 Add finder unknown keywords.
12693 * finder.el (finder-unknown-keywords): New function.
12695 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12696 to create a Finder node with unknown keywords.
12698 2010-03-14 Juri Linkov <juri@jurta.org>
12700 * finder.el (finder-compile-keywords): Replace `princ' with
12701 `prin1' on a list of symbols interned from keyword strings.
12703 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12704 a comma, then split keywords using a comma and optional whitespace.
12705 Otherwise, split by whitespace.
12713 * progmodes/mixal-mode.el: Fix keywords.
12715 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
12717 * Makefile.in (ELCFILES): Add net/secrets.elc.
12719 * net/secrets.el: New file.
12721 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12723 * facemenu.el (list-colors-display, list-colors-print): New arg
12724 callback. Use it to allow selecting colors.
12726 * wid-edit.el (widget-image-insert): Insert image prop even if the
12727 current display is non-graphic.
12728 (widget-field-value-set): New fun.
12729 (editable-field): Use it.
12730 (widget-field-value-get): Clean up unused var.
12731 (widget-color-value-create, widget-color--choose-action):
12732 New funs. Allow using list-colors-display to choose color.
12734 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12736 * cus-edit.el: Resort topmost custom groups.
12737 (custom-buffer-sort-alphabetically): Default to t.
12738 (customize-apropos): Use apropos-parse-pattern.
12739 (custom-search-field): New var.
12740 (custom-buffer-create-internal): Add custom-apropos search field.
12741 (custom-add-parent-links): Don't display parent doc.
12742 (custom-group-value-create): Don't sort top-level custom group.
12743 (custom-magic-value-create): Show visibility button before option name.
12745 (custom-variable-state): New fun, from custom-variable-state-set.
12746 (custom-variable-state-set): Use it.
12747 (custom-group-value-create): Hide options with standard values
12748 using the :hidden-states property. Use progress reporter.
12750 (custom-show): Simplify.
12751 (custom-visibility): Disable images by default.
12752 (custom-variable): New property :hidden-states.
12753 (custom-variable-value-create): Enable images for
12754 custom-visibility widgets. Use :hidden-states property to
12755 determine initial visibility.
12757 * wid-edit.el (widget-image-find): Give images center ascent.
12758 (visibility): Add :on-image and :off-image properties.
12759 (widget-visibility-value-create): Use them.
12761 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
12763 * cus-edit.el (processes): Remove from development group.
12764 (oop, hypermedia): Delete group.
12765 (comm): Promote to top-level group.
12767 * net/browse-url.el (browse-url):
12768 * net/xesam.el (xesam):
12769 * net/tramp.el (tramp):
12770 * net/goto-addr.el (goto-address):
12771 * net/ange-ftp.el (ange-ftp): Put in comm group.
12773 * view.el (view): Remove from editing group.
12775 * uniquify.el (uniquify): Put in files group.
12777 * net/browse-url.el (browse-url):
12778 * ps-print.el (postscript): Put in external group.
12780 * cus-edit.el (outlines):
12781 * textmodes/text-mode.el (text-mode-hook):
12782 * textmodes/table.el (table):
12783 * textmodes/picture.el (picture):
12784 * outline.el (outlines): Put in wp group.
12786 * nxml/nxml-mode.el (nxml): Remove from wp group.
12788 * net/tramp-imap.el (tramp-imap): Put in tramp group.
12790 * mail/metamail.el (metamail): Remove from hypermedia group.
12792 * cus-edit.el (abbrev):
12793 * whitespace.el (whitespace):
12794 * vcursor.el (vcursor):
12795 * reveal.el (reveal):
12796 * hl-line.el (hl-line): Put in convenience group.
12798 * epg-config.el (epg): Put in data group.
12800 * emulation/pc-select.el (pc-select): Put in emulations group.
12802 * calculator.el (calculator): Put in applications group.
12804 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12806 Add .dir-locals.el support for file-less buffers.
12807 * files.el (hack-local-variables): Split out code to apply local
12808 variable settings ...
12809 (hack-local-variables-apply): ... here. New function.
12810 (hack-dir-local-variables): Use the default directory for when the
12811 buffer does not have an associated file.
12812 (hack-dir-local-variables-non-file-buffer): New function.
12813 * diff-mode.el (diff-mode):
12814 * vc-annotate.el (vc-annotate-mode):
12815 * vc-dir.el (vc-dir-mode):
12816 * log-edit.el (log-edit-mode):
12817 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12819 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
12821 Add support for shelving snapshots and for showing shelves.
12822 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12823 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12825 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12826 (vc-bzr-extra-menu-map): Map them.
12828 2010-03-11 Glenn Morris <rgm@gnu.org>
12830 * cus-edit.el (customize-changed-options-previous-release):
12833 * image.el (image-animate-max-time): Fix :version tag.
12835 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
12839 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12841 * vc-git.el (vc-git-revision-table): Include remote branches.
12843 2010-03-10 Kim F. Storm <storm@cua.dk>
12845 Animated image API.
12846 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12848 * image.el (image-animate-max-time): New defcustom.
12849 (image-animated-types): New defconst.
12850 (create-animated-image, image-animate-timer)
12851 (image-animate-start, image-animate-stop, image-animate-timeout)
12852 (image-animated-p): New functions.
12854 * image-mode.el (image-toggle-display-image):
12855 Replace `create-image' with `create-animated-image'.
12857 2010-03-09 Miles Bader <miles@gnu.org>
12859 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12860 instead of "format:"; this ensures that the output is
12861 newline-terminated.
12863 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
12865 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12866 that all errors are caught, and that the return value is always a
12869 2010-03-08 Kenichi Handa <handa@m17n.org>
12871 * language/misc-lang.el (windows-1256): New coding system.
12872 (cp1256): New alias of windows-1256 (bug#5690).
12874 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
12876 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12877 call to rfc822-bad-address. (Bug#5692)
12879 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
12881 * vc-git.el (vc-git-annotate-extract-revision-at-line):
12882 Use vc-git-root as default directory for revision path (Bug#5657).
12884 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
12886 * calculator.el (calculator): Don't bind split-window-keep-point
12889 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
12891 * vc-git.el: Re-flow to fit into 80 columns.
12892 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12893 Remove spurious `quote' element in each case alternative.
12894 (vc-git-show-log-entry): Use prog1.
12895 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12897 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
12899 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12901 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
12903 * macros.el (insert-kbd-macro): Look up keyboard macro using the
12904 definition, not the name (Bug#5481).
12906 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
12908 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12909 argument with a local variable. (Bug#5670)
12911 2010-03-02 Juri Linkov <juri@jurta.org>
12913 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
12915 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
12917 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12918 error when FILENAME and NEWNAME are existing remote directories.
12920 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12921 parameter DIR-FLAG.
12923 2010-03-02 Glenn Morris <rgm@gnu.org>
12925 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12926 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12928 2010-03-01 Kenichi Handa <handa@m17n.org>
12930 * language/burmese.el (burmese-composable-pattern): Rename from
12931 myanmar-composable-pattern.
12933 * international/characters.el (script-list):
12934 * international/fontset.el (script-representative-chars):
12935 Change myanmar to burmese.
12936 (otf-script-alist): Likewise.
12937 (setup-default-fontset): Likewise. Re-fix :otf spec.
12939 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
12941 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12943 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
12945 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12947 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12949 * net/tramp.el (tramp-handle-write-region): START can be a string.
12950 Take care in the checks. Reported by Dan Davison
12951 <davison@stats.ox.ac.uk>.
12953 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
12955 * net/dbus.el (dbus-introspect, dbus-get-property)
12956 (dbus-set-property, dbus-get-all-properties):
12957 Use `dbus-call-method' when noninteractive. (Bug#5645)
12959 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
12961 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12962 * emacs-lisp/elint.el (elint-add-required-env):
12963 * calendar/icalendar.el (icalendar--add-diary-entry):
12964 * calc/calcalg2.el (math-tracing-integral):
12965 * files.el (recover-session-finish): Use with-current-buffer
12966 instead of save-excursion.
12968 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
12970 Fix in-buffer completion when after-change-functions modify the buffer.
12971 * minibuffer.el (completion--replace): New function.
12972 (completion--do-completion): Use it and use relative movement.
12974 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
12976 * international/fontset.el (setup-default-fontset): Fix :otf spec.
12978 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
12980 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12981 Allow the characters _<> in the stack entry (Bug#5653).
12983 2010-02-26 Kenichi Handa <handa@m17n.org>
12985 * language/burmese.el: Fix entries in composition-function-table.
12986 (myanmar-composable-pattern): New variable.
12988 * international/fontset.el (setup-default-fontset): Add an entry
12991 * international/characters.el (script-list): Add Myanmar
12994 2010-02-26 Glenn Morris <rgm@gnu.org>
12996 * custom.el (custom-initialize-delay): Doc fix.
12998 * mail/sendmail.el (send-mail-function): Autoload the call
12999 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13001 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13003 * files.el (hack-local-variables-filter): For eval forms, also
13004 check safe-local-variable-p (Bug#5636).
13006 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13008 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13009 setting the modes by `ignore-errors'. It might fail, for example
13010 if the file is not owned by the user but the group.
13011 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13013 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13015 * files.el (directory-listing-before-filename-regexp):
13016 Use stricter matching for iso-style dates, to avoid false matches with
13017 date-like filenames (Bug#5597).
13019 * htmlfontify.el (htmlfontify): Doc fix.
13021 * eshell/eshell.el (eshell): Doc fix.
13023 * startup.el (fancy-about-screen): In mode-line, apply
13024 mode-line-buffer-id face only to the buffer name (Bug#5613).
13026 2010-02-20 Kevin Ryde <user42@zip.com.au>
13028 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13029 In `watcom' anchor regexp to start of line, to avoid slowness
13032 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13034 * subr.el (remove-yank-excluded-properties): Explain in a comment
13035 why `category' property is removed.
13037 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13039 * isearch.el (isearch-update-post-hook, isearch-update):
13040 Revert 2010-02-17 change.
13042 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13044 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13045 (icalendar--convert-weekly-to-ical)
13046 (icalendar--convert-yearly-to-ical)
13047 (icalendar--convert-block-to-ical)
13048 (icalendar--convert-cyclic-to-ical)
13049 (icalendar--convert-anniversary-to-ical): Take care of time
13050 specifications where hour has 1-digit only (Bug#5549).
13052 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13054 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13055 of disassemble output in GDB 7.1.
13057 2010-02-19 Glenn Morris <rgm@gnu.org>
13059 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13060 property. (Bug#5593)
13062 2010-02-18 Sam Steingold <sds@gnu.org>
13064 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13066 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13068 Use abbreviated file names in bookmarks (bug#5591).
13069 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13070 calls to expand-file-name.
13071 (bookmark-relocate): Use abbreviated file names in bookmarks.
13072 (bookmark-load): Use abbreviated file names in messages.
13074 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13076 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13077 expand "." and "..". Reported by Thierry Volpiatto
13078 <thierry.volpiatto@gmail.com>.
13080 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13082 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13083 permissions of the temporary file to "0600". In case the remote
13084 file has no read permissions for the owner, there might be
13085 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13087 22010-02-18 Glenn Morris <rgm@gnu.org>
13089 * emacs-lisp/authors.el (authors-renamed-files-alist):
13090 Add entries for INSTALL.CVS.
13092 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13094 * vc-bzr.el: Fix typo in Known Bugs section.
13096 * isearch.el (isearch-update-post-hook): New hook.
13097 (isearch-update): Use the new hook.
13099 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13101 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13102 Fix errors in copying directories.
13103 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13104 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13105 (tramp-handle-delete-file)
13106 (tramp-handle-dired-recursive-delete-directory)
13107 (tramp-handle-write-region): Flush also the cache for the upper
13110 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13112 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13114 * cus-edit.el (hardware): Doc fix.
13116 * man.el (man): Add to external custom group.
13118 * delim-col.el (columns): Move to wp custom group.
13120 * doc-view.el (doc-view): Add to data custom group.
13122 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13124 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13125 by ispell-parse-output (Bug#5575).
13127 2010-02-16 Kenichi Handa <handa@m17n.org>
13129 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13130 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13131 (skkdic-convert): Use `euc-japan' coding system for writing.
13133 2010-02-16 Glenn Morris <rgm@gnu.org>
13135 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13136 tex-main-file before using it. (Bug#5562)
13138 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13140 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13141 warnings, since it is annoying for the user to see them each time he
13144 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13146 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13147 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13148 instead of PROC for caching "first-password-request". Otherwise,
13149 new processes would not profit from passwords already entered.
13151 * net/tramp-cache.el (tramp-dump-connection-properties):
13152 Don't save "first-password-request" property.
13154 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13156 * outline.el (outline-head-from-level):
13157 * simple.el (with-wrapper-hook):
13158 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13159 (elint-defun, elint-buffer-env, elint-top-form-logged)
13160 (elint-unbound-variable):
13161 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13162 Fix typos in docstrings.
13164 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13166 * files.el (insert-directory): When WILDCARD-REGEXP and
13167 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13168 whole directory. (Bug#5551)
13170 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13171 dired's alignment sanity. (Bug#5516)
13173 2010-02-14 Juri Linkov <juri@jurta.org>
13175 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13176 Remove remaining ^H with their preceding chars. (Bug#5566)
13178 2010-02-13 Glenn Morris <rgm@gnu.org>
13180 * simple.el (transpose-subr): Give it a doc-string.
13182 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13185 2010-02-12 Juri Linkov <juri@jurta.org>
13187 * arc-mode.el (archive-unique-fname): Make directories for nested
13188 archives. (Bug#5540)
13190 2010-02-12 Juri Linkov <juri@jurta.org>
13192 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13194 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * subr.el (copy-overlay): Handle deleted overlays.
13198 * man.el (Man-completion-table): Don't signal an error if we can't run
13199 manual-program (bug#4056).
13201 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13203 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13205 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13207 * info.el (Info-bookmark-jump): Simplify.
13209 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13210 (bookmark-default-handler): Accept new bookmark field `buffer'.
13212 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13214 * iswitchb.el (iswitchb-completions): Revert last change.
13216 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13218 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13219 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13220 This prevents file names like "~/" being listed literally.
13222 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13224 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13225 Remove dead code. (Bug#5546)
13227 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13229 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13230 correctly (Bug#5548).
13232 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13234 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13235 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13237 2010-02-08 Kenichi Handa <handa@m17n.org>
13239 * international/mule-util.el (with-coding-priority): Add autoload
13240 cookie for putting `lisp-indent-function'.
13242 2010-02-07 Glenn Morris <rgm@gnu.org>
13244 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13245 Move F2003 named interfaces from keywords-2 to keywords-1, and
13246 use function-name-face rather than constant-face.
13247 Simplify "abstract interface" regexp.
13249 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13251 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13252 ID-FORMAT. Pass it to `file-attributes'.
13254 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13256 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13258 * faces.el (set-face-attribute): Allow calling
13259 internal-set-lisp-face-attribute with 'unspecified family and
13260 foundry argument (Bug#5536).
13262 2010-02-07 Glenn Morris <rgm@gnu.org>
13264 * progmodes/f90.el (f90-font-lock-keywords-2)
13265 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13266 Handle F2003 named interfaces.
13268 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13270 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13271 beg and end before calling c-get-state-before-change-functions.
13273 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13275 * vc-bzr.el (vc-bzr-dir-extra-headers):
13276 Disable the pending merges header.
13278 2010-02-05 Juri Linkov <juri@jurta.org>
13280 * doc-view.el (doc-view-mode):
13281 * image-mode.el (image-mode): Put property mode-class=special.
13284 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13286 * vc-svn.el (vc-svn-revision-table): New function.
13288 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13290 * net/ange-ftp.el (ange-ftp-insert-directory):
13291 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13292 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13293 Handle also directories. (Bug#5478)
13295 2010-02-05 Glenn Morris <rgm@gnu.org>
13297 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13299 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13301 * startup.el (command-line-1): Convert options beginning with a
13302 single dash as well (Bug#5519).
13304 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13306 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13307 * minibuffer.el (completion-initials-expand): Only check the presence
13308 of delims *within* the boundaries, since otherwise the / delim is
13309 always found for files.
13311 Fix up various corner case problems.
13312 * doc-view.el (doc-view-last-page-number): New function.
13313 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13314 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13315 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13316 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13317 (doc-view-convert-current-doc): Don't create the resolution.el file
13319 (doc-view-pdf/ps->png): Do it here instead.
13320 (doc-view-already-converted-p): Check that resolution.el is present.
13321 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13322 windows that are not yet showing images.
13324 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13326 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13327 `dired-uncache' for every elemnt which is an absolute file name.
13329 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13330 directory, handle its directory component.
13331 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13332 function is called permanently and creates noise, otherwise.
13334 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13335 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13336 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13338 2010-02-04 David Burger <dburger@google.com> (tiny change)
13340 * macros.el (apply-macro-to-region-lines):
13341 Minor simplification. (Bug#5485)
13343 2010-02-04 Glenn Morris <rgm@gnu.org>
13345 * mail/rmail.el (rmail-show-message-1): Handle malformed
13346 quoted-printable text. (Bug#5441)
13348 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13350 * simple.el (visual-line-mode): Capitalize lighter.
13352 2010-02-03 John Wiegley <jwiegley@gmail.com>
13354 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13355 list of files considered for "virtual buffer" completions.
13357 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13359 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13360 also in case of (and (not full) (not wildcard)). This is needed
13361 when dired is called with a list of files, which are not in
13362 `default-directory'. (Bug#5478)
13364 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13366 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13368 2010-02-02 Juri Linkov <juri@jurta.org>
13370 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13371 from unidiff to allow function-line after @@.
13373 2010-02-02 Juri Linkov <juri@jurta.org>
13375 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13376 '(RCS SCCS) with inverted condition.
13378 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13380 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13383 2010-02-01 Juri Linkov <juri@jurta.org>
13385 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13386 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13387 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13388 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13390 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13392 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13393 (doc-view-revert-buffer): New command.
13394 (doc-view-mode-map): Use it.
13396 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13398 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13399 pending merge is detected.
13401 2010-01-31 Juri Linkov <juri@jurta.org>
13403 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13404 beginning of interactive spec like all other grep commands do.
13405 Put "all" in front of "gz". (Bug#5260)
13407 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13409 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13411 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13413 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13414 regexp is incorrect (Bug#5476).
13416 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13418 * net/tramp.el (tramp-handle-insert-directory): Handle also
13419 symlinks, when FILENAME is not in `default-directory'.
13421 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13423 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13424 FILE is not in `default-directory'. (Bug#5478)
13426 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13427 of SWITCHES. Handle the case, FILENAME is not in
13428 `default-directory'. (Bug#5478)
13429 (tramp-register-file-name-handlers): Add safe-magic property.
13431 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13433 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13436 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13438 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13439 (flymake-master-make-header-init): Add other C++ filename masks.
13440 (flymake-find-possible-master-files)
13441 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13443 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13445 Fix some busybox annoyances.
13447 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13448 not responding." string.
13449 (tramp-open-connection-setup-interactive-shell): Dump stty
13450 settings. Enable "neveropen" arg for all `tramp-send-command'
13451 calls. Handle "=" in variable values properly.
13452 (tramp-find-inline-encoding): Raise an error, when no encoding is
13454 (tramp-wait-for-output): Check, whether PROC buffer is available.
13455 Remove spurious " ^H" sequences, sent by busybox.
13456 (tramp-get-ls-command): Suppress coloring, if possible.
13458 2010-01-28 Glenn Morris <rgm@gnu.org>
13460 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13462 * log-edit.el (log-edit-strip-single-file-name): Add missing
13463 :safe, :group, and :version tags.
13465 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13467 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13468 buffers. (Bug#5477)
13470 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13472 * files.el (delete-directory): Handle moving to trash without
13473 first doing recursion (Bug#5436).
13475 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13477 * vc-hooks.el (vc-path): Mark as obsolete.
13479 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13481 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13484 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13486 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13488 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13490 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13492 * vc-bzr.el (vc-bzr-revision-table): New function.
13494 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13496 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13497 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13499 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13501 Remove support for adding --signoff on commit.
13502 Future support will use an incompatible generic mechanism.
13503 * vc-git.el (vc-git-add-signoff): Remove variable.
13504 (vc-git-toggle-signoff): Remove function.
13505 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13507 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13508 Rename from xterm-set-background-mode. Return t if the background mode
13510 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13511 earlier, call it again in case the background mode has changed.
13513 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13515 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13518 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13520 * emacs-lisp/assoc.el (aelement): Doc fix.
13521 (aput, adelete, amake): Use lexical-let (Bug#5450).
13523 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13525 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13526 is the same as subprogram call, not declaration. (Bug#5435).
13528 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13530 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13531 (tramp-smb-maybe-open-connection): Use it.
13533 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13535 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13537 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13539 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13540 just because we see "encoding: 8bit".
13541 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13543 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13545 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13547 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13549 * jka-compr.el (jka-compr-load): If load-file is not in
13550 load-history, try its file-truename version. (bug#5447)
13552 2010-01-21 Alan Mackenzie <acm@muc.de>
13554 Fix a situation where deletion of a cpp construct throws an error.
13555 * progmodes/cc-engine.el (c-invalidate-state-cache):
13556 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13557 special cpp construct is still in the buffer.
13558 (c-parse-state): Record the special cpp with markers, not numbers.
13560 2010-01-21 Kenichi Handa <handa@m17n.org>
13562 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13563 process last-command-event, as it is now decoded first (Bug#5380).
13565 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13567 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13569 2010-01-20 Glenn Morris <rgm@gnu.org>
13571 * indent.el (tab-always-indent): Fix custom-type.
13573 2010-01-19 Alan Mackenzie <acm@muc.de>
13575 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13576 buffer throws "args out of range".
13577 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13578 playing the role of delimiter.
13580 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13582 * progmodes/ada-mode.el: Fix bug#5400.
13583 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13584 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13585 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13586 Improve comments in "is" portion. Handle null procedure declaration.
13587 (ada-move-to-end): Improve doc string.
13589 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13591 * ido.el (ido-cur-list): Initialize to nil.
13592 Remove obsolete information from commentary.
13593 (ido-choice-list): Initialize to nil.
13594 (ido-get-bufname): Reject minibuffers.
13595 (ido-make-buffer-list): If "default" is a nonexistent
13596 buffer, ignore it, as per the function's comment.
13597 (ido-kill-buffer-internal): New function.
13598 (ido-kill-buffer-at-head): Use it.
13599 (ido-visit-buffer): Likewise.
13601 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13603 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13605 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13607 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13608 Fix typos in chart titles.
13610 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13611 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13612 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13613 (describe-class, eieio-describe-generic, describe-generic):
13614 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13615 (eieio-speedbar-expand):
13616 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13617 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13618 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13619 (viper-del-backward-char-in-replace, viper-backward-indent)
13620 (viper-brac-function, viper-register-to-point, viper-submit-report):
13621 * net/tramp.el (tramp-remote-coding-commands):
13622 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13623 Fix typos in docstrings.
13625 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13627 * mail/sendmail.el (mail-yank-original): Set the mark if the
13628 specified function for yanking does not do it.
13630 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13632 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13634 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13635 resyncing a directory.
13637 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13639 * progmodes/ada-mode.el: Fix bug#1920.
13640 (ada-ident-re): Delete ., allow multibyte characters.
13641 (ada-goto-label-re): New; matches goto labels.
13642 (ada-block-label-re): New; matches block labels.
13643 (ada-label-re): New; matches both.
13644 (ada-named-block-re): Delete; callers changed to use
13645 `ada-block-label-re' instead.
13646 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13647 Use `ada-block-label-re'.
13648 (ada-indent-on-previous-lines): Improve handling of goto labels.
13649 (ada-get-indent-block-start): Special-case block label.
13650 (ada-get-indent-label): Split into `ada-indent-block-label' and
13651 `ada-indent-goto-label'.
13652 (ada-goto-stmt-start, ada-goto-next-non-ws):
13653 Optionally ignore goto labels.
13654 (ada-goto-next-word): Simplify.
13655 (ada-indent-newline-indent-conditional): Insert newline before
13656 trying to fix indentation; doc fix.
13658 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13660 * calc/calc.el (calc-command-flags): Give it an initial value.
13662 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13664 * files.el (minibuffer-with-setup-hook):
13665 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13666 (artist-key-draw-continously, artist-key-do-continously-continously)
13667 (artist-key-set-point-continously, artist-mouse-draw-continously):
13668 Fix typos in docstrings.
13670 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13672 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13673 Never return t (Bug#3898).
13675 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13677 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13678 can parse the output of the external commands (Bug#5279).
13680 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13682 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13684 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13686 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13688 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13690 * startup.el (command-line): Remove unused --icon-type arg.
13691 Handle --display arg, passing it to command-line-1 (Bug#5392).
13693 2010-01-16 Mario Lang <mlang@delysid.org>
13695 * emacs-lisp/chart.el (chart-translate-namezone):
13696 * textmodes/artist.el (artist-compute-popup-menu-table):
13697 Remove duplicated words in doc-strings.
13699 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13701 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13702 to mairix-search to suppress threading (Bug#5342).
13704 2010-01-15 Kenichi Handa <handa@m17n.org>
13706 * international/mule-cmds.el (canonicalize-coding-system-name):
13707 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13709 2010-01-15 Glenn Morris <rgm@gnu.org>
13711 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
13713 * wid-edit.el (widget-keymap): Doc fix.
13715 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13716 former seems to be more widely accepted by various svn versions.
13718 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13720 * find-cmd.el (find-constituents):
13721 * vc-arch.el (vc-arch-root):
13722 * window.el (window-body-height, pop-up-frames):
13723 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13724 * progmodes/ada-stmt.el (ada-if):
13725 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13726 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13727 (ispell-encoding8-command, ispell-aspell-supports-utf8)
13728 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13730 * progmodes/flymake.el (flymake-post-syntax-check):
13731 Fix typo in error message.
13733 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13735 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13736 which is always a string. (Bug#5313)
13738 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
13740 * progmodes/ada-xref.el (ada-default-prj-properties):
13741 Simplify previous change.
13743 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13745 * progmodes/ada-xref.el (ada-default-prj-properties):
13746 Default ada_project_path to $ADA_PROJECT_PATH.
13748 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13750 * progmodes/ada-mode.el (ada-create-keymap):
13751 Override `narrow-to-defun' with `ada-narrow-to-defun'.
13753 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13755 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13756 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13757 (ada-get-current-indent, ada-imenu-generic-expression)
13758 (ada-which-function): Check for it.
13760 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
13762 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13763 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13765 2010-01-14 Glenn Morris <rgm@gnu.org>
13767 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
13769 2010-01-14 Kenichi Handa <handa@m17n.org>
13771 * composite.el (auto-composition-mode): Make it a buffer local
13772 variable (permanent-local).
13773 (auto-composition-function): Set the default value to
13774 auto-compose-chars.
13775 (auto-composition-mode): Make it a simple function, not a minor mode.
13776 (global-auto-composition-mode): Likewise.
13777 (turn-on-auto-composition-if-enabled): Delete it.
13779 2010-01-13 Karl Fogel <kfogel@red-bean.com>
13781 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13783 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
13785 * files.el (copy-directory): Compute target for recursive
13786 directories with identical names. (Bug#5343)
13788 2010-01-12 Glenn Morris <rgm@gnu.org>
13790 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13791 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13793 2010-01-11 Sam Steingold <sds@gnu.org>
13795 * imenu.el (imenu-default-create-index-function): Detect infinite
13796 loops caused by imenu-prev-index-position-function.
13798 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13800 * htmlfontify.el (htmlfontify-load-rgb-file)
13801 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13802 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13803 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13804 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13805 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13806 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13807 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13808 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13809 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13810 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13811 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13812 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13813 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13814 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13815 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13816 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13817 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13818 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13819 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13820 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13821 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13822 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13823 backslash-quoting from parentheses, etc.
13825 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
13827 * progmodes/js.el: Autoload javascript-mode alias.
13829 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
13831 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13832 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13833 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13834 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13835 Fix typos in docstrings.
13836 (ffap-url-regexp): Doc fix.
13837 (ffap-at-mouse): Fix typo in message.
13839 2010-01-11 Glenn Morris <rgm@gnu.org>
13841 * version.el (emacs-copyright): Set copyright year to 2010.
13843 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
13845 * format.el (format-annotate-function): Only set
13846 write-region-post-annotation-function after running to-fn so as not to
13847 affect nested write-region calls (bug#5273).
13849 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
13851 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13854 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13856 * man.el (Man-goto-section): Signal error if the section is not
13859 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
13861 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13862 URLs with a leading triple slash in the file: scheme. (Bug#5345)
13864 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
13866 * progmodes/compile.el: Don't treat compile-command as safe if
13867 compilation-read-command might be nil (Bug#4218).
13869 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
13871 * startup.el (command-line-1): Use orig-argi to check for ignored X and
13874 2010-01-08 Kenichi Handa <handa@m17n.org>
13876 * international/fontset.el (build-default-fontset-data):
13877 Exclude characters in scripts kana, hangul, han, or cjk-misc.
13879 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
13881 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13882 to `create-file-buffer' as it expects, not just a buffer name.
13883 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13884 to help uniquify. (Bug#3224)
13886 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
13888 * font-setting.el (font-setting-change-default-font): Use user-spec
13891 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
13893 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13895 2010-01-05 Tom Tromey <tromey@redhat.com>
13897 * progmodes/python.el (python-font-lock-keywords):
13898 Handle qualified decorators (Bug#881).
13900 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13902 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13903 in a lightweight checkout.
13905 2010-01-05 Kenichi Handa <handa@m17n.org>
13907 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13909 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13911 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13913 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
13915 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13916 checkouts. (Bug#618)
13917 (vc-bzr-log-view-mode): Also highlight the author.
13918 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13919 (vc-bzr-shelve-menu-map):
13920 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13921 (vc-bzr-shelve-apply): Make prompt more explicit.
13923 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13925 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13926 They are valid characters in URL paths (rfc3986), and at least
13927 Firefox does not understand the encoded version (Bug#3166).
13929 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
13931 * progmodes/octave-mod.el (octave-end-keywords)
13932 (octave-block-begin-or-end-regexp, octave-block-match-alist):
13933 Add "end" keyword (Bug#3061).
13934 (octave-end-as-array-index-p): New function.
13935 (calculate-octave-indent): Use it.
13937 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13939 * bookmark.el: Consistently put the text property on the bookmark name.
13940 (bookmark-bmenu-marks-width): Bump back to 2, to include
13942 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13943 property on the bookmark name, instead of not putting it at all.
13944 (bookmark-bmenu-list): Fix where we put the text property.
13946 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13948 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13949 for showing buffer modified state (as added in the previous change).
13951 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13953 * bookmark.el: Show modified state of bookmark buffer more accurately.
13954 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13955 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13956 (with-buffer-modified-unmodified): New macro.
13957 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13958 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13959 Use new macro to preserve the buffer modified state.
13961 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13963 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13964 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13965 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13966 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13967 (bookmark-bmenu-rename, bookmark-bmenu-locate)
13968 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13969 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13971 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13973 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13974 Make the lines in the generated doc string shorter. (Bug#4668)
13976 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
13978 * net/rcirc.el: Add follow-link binding (Bug#4738).
13980 2010-01-02 Eli Zaretskii <eliz@gnu.org>
13982 * Makefile.in (bzr-update): Rename from cvs-update.
13983 (cvs-update): New target for backward compatibility.
13985 * makefile.w32-in (bzr-update): Rename from cvs-update.
13986 (cvs-update): New target for backward compatibility.
13988 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13990 * bookmark.el: Remove gratuitous gratitude.
13992 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13994 * bookmark.el (bookmark-bmenu-any-marks): New function.
13995 (bookmark-bmenu-save): Clear buffer modification if no marks.
13997 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13999 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14000 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14001 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14002 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14004 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14005 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14006 To: emacs-devel {_AT_} gnu.org
14007 Subject: bookmark.el bug report
14008 Date: Mon, 28 Dec 2009 14:19:16 +0800
14009 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14011 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14013 * bookmark.el: Improvements suggested by Drew Adams:
14014 (bookmark-bmenu-ensure-position): New name for
14015 `bookmark-bmenu-check-position'. Just ensure the position,
14016 don't return any meaningful value.
14017 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14020 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14022 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14023 (bookmark-yank-point, bookmark-bmenu-check-position):
14024 Fix typos in docstrings.
14025 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14026 (bookmark-name-from-full-record, bookmark-get-position)
14027 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14028 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14029 Remove useless quoting of parenthesis, etc. in docstrings.
14031 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14032 (ediff-append-custom-diff): Fix typo in error message.
14033 (ediff-meta-mark-equal-files): Fix typos in messages.
14035 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14037 * net/imap-hash.el (imap-hash-make): Doc fix.
14038 (imap-hash-test): Fix typo in error message; reflow docstring.
14039 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14040 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14041 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14042 Fix typos in docstrings.
14043 (imap-hash-open-connection): Fix typo in error message.
14045 * play/gomoku.el (gomoku): Fix typos in docstring.
14047 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14048 (gdb-jsonify-buffer): Fix typos in docstring.
14049 (gdb-goto-breakpoint): Fix typo in error message.
14050 ("Display Other Windows"): Fix typo in help message.
14051 (gdb-speedbar-expand-node): Fix typo in question.
14053 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14054 (idlwave-html-system-help-location, idlwave-html-help-location)
14055 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14056 (idlwave-help-browser-generic-args, idlwave-help-directory)
14057 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14058 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14059 (idlwave-online-help, idlwave-help-html-link)
14060 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14061 Fix typos in docstrings.
14062 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14064 (idlwave-help-assistant-start): Fix typo in error message.
14066 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14067 (octave-electric-space): Fix typos in docstrings.
14069 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14071 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14073 2010-01-01 Juri Linkov <juri@jurta.org>
14075 * comint.el (comint-input-ring-size): Make it a defcustom and
14076 increase the default to 500 (Bug#5148).
14078 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14080 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14081 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14082 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14084 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14086 Show working revision correctly for mercurial.
14087 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14088 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14090 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14092 Declare some functions for the byte-compiler.
14093 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14094 (speedbar-timer-fn, speedbar-change-expand-button-char)
14095 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14097 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14099 This changeset reverts GDB Graphical Interface to use annotations.
14100 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14102 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14104 Make vc-dir work on subdirectories of the bzr root.
14105 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14106 Return file names relative to it.
14107 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14108 relative directory to vc-bzr-after-dir-status.
14110 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14112 * font-lock.el (font-lock-refresh-defaults): New function, which
14113 can be used to let font-lock react to external changes in
14114 variables like font-lock-defaults and keywords.
14115 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14117 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14119 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14121 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14123 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14125 Supersede color.diff settings in git log (bug#5211).
14127 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14128 escape chars in its output when the user has color.diff set to `always'.
14129 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14131 2009-12-26 Kevin Ryde <user42@zip.com.au>
14133 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14134 node. Keep previous "Index" name to work with past coreutils too.
14136 * man.el (man): Revise docstring a bit to show -a and -l as
14137 examples. Add -k description since support for it has otherwise
14138 been a secret. (Further to bug#3717.)
14139 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14140 "no matches" rather than "Can't find manpage", as the latter reads
14141 like -k was interpreted as a page name, which is not so. (Bug#5431)
14143 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14145 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14146 switches. Check also for //SUBDIRED// line.
14148 2009-12-25 Kenichi Handa <handa@m17n.org>
14150 * language/indian.el (devanagari-composable-pattern): Fix to
14151 handle ZWNJ and ZWJ. Use it in composition-function-table for
14153 (malayalam-composable-pattern): Fix previous change.
14155 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14157 * ps-print.el (ps-face-attributes): It was not returning the
14158 attribute face for faces specified as string. Reported by harven
14159 <harven@free.fr>. (Bug#5254)
14160 (ps-print-version): New version 7.3.5.
14162 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14164 * calendar/icalendar.el (icalendar--convert-tz-offset):
14165 Fix timezone names.
14166 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14167 (icalendar--add-diary-entry): Remove the trailing blank that
14168 diary-make-entry inserts.
14170 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14172 Make `file-expand-wildcards' work for remote files.
14174 * files.el (file-expand-wildcards): In case of remote files, check
14175 only local file name part for wildcards. Provide feature 'files
14176 and subfeature 'remote-wildcards. (Bug#5198)
14178 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14179 if there is already an established connection.
14180 (tramp-advice-file-expand-wildcards): Remove it.
14182 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14183 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14184 Activate advice for older GNU Emacs versions. (Bug#5237)
14186 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14188 Some doc fixes (more needed).
14190 * find-cmd.el (find-constituents): Reflow docstring.
14191 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14192 (find-generic): Doc fix.
14194 2009-12-17 Juri Linkov <juri@jurta.org>
14196 Fix regression from 23.1 to allow multiple modes in Local Variables.
14198 * files.el (hack-local-variables-filter): While ignoring duplicates,
14199 don't take `mode' into account.
14200 (hack-local-variables-filter, hack-dir-local-variables):
14201 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14203 2009-12-17 Juri Linkov <juri@jurta.org>
14205 Make `dired-diff' safer. (Bug#5225)
14207 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14208 `current' or when `file' is a directory of the `current' file.
14210 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14212 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14213 unconditionally preloaded files.
14215 2009-12-16 Juri Linkov <juri@jurta.org>
14217 Revert to old 23.1 logic of using the file at the mark as default.
14218 * dired-aux.el (dired-diff): Use the file at the mark as default
14219 if it's not the same as the current file, and the target dir is
14220 the current dir or the mark is active. Add the current file
14221 as the arg of `dired-dwim-target-defaults'. Use the default file
14222 in the prompt. (Bug#5225)
14224 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14226 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14227 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14228 (tramp-check-for-regexp): Check also, when an echoing shell stops
14229 to echo sent commands.
14231 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14233 * Makefile.in: Revert last change (Bug#5191).
14235 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14237 * vc-hg.el (vc-hg-print-log): Fix argument order.
14238 (vc-hg-working-revision): Make sure the command is executed in a
14239 known environment so that we can parse the output. (Bug#4417)
14241 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14243 * progmodes/python.el (python-symbol-completions): Remove text
14244 properties from symbol string before calling python-send-receive.
14246 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14248 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14249 when there are values for both file and line. (Bug#5060)
14251 2009-12-14 Juri Linkov <juri@jurta.org>
14253 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14254 whitespace after the file name of the first line of unified format,
14255 because git-diff doesn't output whitespace and file modification time
14256 after the file name.
14258 2009-12-14 David Kastrup <dak@gnu.org>
14260 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14261 check if it already has the `display' property added by
14262 `Info-display-images-node', and not put the `invisible' property
14265 2009-12-13 Glenn Morris <rgm@gnu.org>
14267 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14268 (report-emacs-bug): In message-mode, sort manually before storing
14269 original report text. (Bug#5178)
14270 Remove superfluous save-excursion.
14272 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14274 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14275 when responding to "GetAll" properties.
14277 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14279 * simple.el (compose-mail): Remove mail-setup-with-from from
14280 customization checks.
14282 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14284 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14285 RAR archives created on Unix systems.
14287 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14289 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14290 the varalias that was accidentally removed by the 2009-11-19 change
14293 2009-12-12 Kenichi Handa <handa@m17n.org>
14295 * language/indian.el (indian-compose-regexp): New function.
14296 (malayalam-composable-pattern): Fix the pattern.
14297 (composition-function-table): Set malayalam-composable-pattern for
14298 Malayalam characters.
14300 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14302 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14303 rather than down-mouse-1, based on follow-link conventions.
14305 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14308 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14310 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14311 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14312 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14313 (verilog-leap-to-head, verilog-backward-token):
14314 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14316 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14318 * progmodes/verilog-mode.el (verilog-auto-lineup)
14319 (verilog-nameable-item-re): Cleanup user-visible spelling and
14320 documentation errors. One reported by Gary Delp.
14321 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14322 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14323 package, bug195. Reported by Pierre-David Pfister.
14325 2009-12-11 Glenn Morris <rgm@gnu.org>
14327 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14329 * mail/emacsbug.el: No longer require sendmail.
14330 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14331 (report-emacs-bug-orig-text): Doc fix.
14332 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14333 New local variables, to adapt to different mail-user-agents.
14334 (report-emacs-bug): Fix test for a gnu.org address.
14335 Use overlays for emphasis, since font-lock defeats 'face property.
14336 Pretest bugs also end up at the newsgroup these days.
14337 Stop message-mode stripping text properties.
14338 Set and use the new buffer-local variables.
14339 (report-emacs-bug-hook): Add doc-string.
14340 Remove some unnecessary save-excursions and simplify.
14341 Use the appropriate hook and send-command.
14343 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14344 capitalization of some menu entries.
14346 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14348 * whitespace.el (whitespace-display-char-on):
14349 Ensure `buffer-display-table' is unique when two or more windows are
14350 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14353 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14355 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14356 characters in the Attribute field.
14358 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14360 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14362 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14364 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14365 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14366 Disregard autoload-excludes.
14367 (update-directory-autoloads): Obey autoload-excludes here instead.
14368 But don't store its contents in no-autoloads and remove entries that
14369 refer to excludes files.
14371 2009-12-10 Glenn Morris <rgm@gnu.org>
14373 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14374 (expand-mail-aliases): Define for compiler.
14376 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14377 Define for compiler.
14379 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14380 appropriate for the mail-user-agent in use.
14382 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14384 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14386 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14388 Fix short log parsing and fontification.
14389 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14390 Fix fontification for the [merge] label.
14392 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14394 Drop some properties to avoid surprises (bug#5002).
14395 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14396 (hfy-fontify-buffer): Use it.
14398 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14402 Adjust all callers.
14403 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14404 args compulsory. Adjust callers.
14405 (ffap-gopher-at-point): Remove unused var `name'.
14407 Get rid of the ELCFILES abomination.
14408 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14409 (compile-elcfiles): New phony target.
14410 (compile-main): Compute ELCFILES dynamically.
14411 (compile-clean): New target to remove left-over elc files.
14412 (compile, all): Use it.
14414 2009-12-09 Kenichi Handa <handa@etlken>
14416 * international/mule-diag.el: Require help-mode instead of help-fns.
14418 2009-12-09 Kenichi Handa <handa@m17n.org>
14420 * international/mule-cmds.el (ucs-names): Supply sufficiently
14421 fine ranges instead of pre-calculating accurate ranges.
14422 Iterate with bigger gc-cons-threshold.
14424 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14426 Add support for stashing a snapshot of the current tree.
14427 * vc-git.el (vc-git-stash-snapshot): New function.
14428 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14430 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14432 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14433 instead of `(beginning|end)-of-line'.
14435 2009-12-08 Glenn Morris <rgm@gnu.org>
14437 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14439 * Makefile.in (ELCFILES): Regenerate.
14441 2009-12-07 Juri Linkov <juri@jurta.org>
14443 Don't lazy-highlight the comint output in history Isearch mode.
14445 * comint.el (comint-history-isearch-search): Instead of
14446 `comint-line-beginning-position', use `comint-after-pmark-p'
14447 to check if point if before the process mark, and go to
14448 `process-mark' in this case.
14450 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14452 * textmodes/tex-mode.el (latex-complete)
14453 (latex-indent-or-complete): Remove.
14454 (latex-mode): Set completion-at-point-functions instead.
14456 Provide a standard completion command and hook it into TAB.
14457 * minibuffer.el (completion-at-point-functions): New var.
14458 (completion-at-point): New command.
14459 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14460 * progmodes/python.el (python-mode-map): Use completion-at-point.
14461 (python-completion-at-point): Rename from python-partial-symbol and
14462 adjust for use in completion-at-point-functions.
14463 (python-mode): Setup completion-at-point for Python completion.
14464 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14465 extracted from lisp-complete-symbol.
14466 (lisp-complete-symbol): Use it.
14467 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14468 setup completion-at-point for Elisp completion.
14469 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14470 Use completion-at-point.
14471 * ielm.el (ielm-map): Use completion-at-point.
14472 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14473 * progmodes/sym-comp.el: Move to...
14474 * obsolete/sym-comp.el: Move from progmodes.
14476 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14478 Prevent save-buffer in Rmail buffers from using the coding-system
14479 of the current message, and from clobbering the encoding mnemonics
14480 in the mode line (Bug#4623).
14482 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14484 (rmail-message-encoding): New variable.
14485 (rmail-write-region-annotate): Record the encoding of the current
14486 message in rmail-message-encoding.
14487 (rmail-after-save-hook): New function, restores the encoding of
14488 the current message after the message collection is saved.
14490 2009-12-07 Juri Linkov <juri@jurta.org>
14492 * progmodes/grep.el (grep-read-files): Use `completing-read'
14493 instead of `read-string'. Set its `collection' arg to
14494 `read-file-name-internal'. (Bug#4301)
14496 2009-12-07 Juri Linkov <juri@jurta.org>
14498 Correctly restore original Isearch point. (Bug#4994)
14500 * isearch.el (isearch-mode): Move `isearch-push-state' after
14501 `(run-hooks 'isearch-mode-hook)'.
14502 (isearch-cancel): When `isearch-push-state-function' is defined,
14503 let-bind `isearch-cmds' to the first state (the last element of
14504 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14505 function and restores the original point). Otherwise, move point
14506 to `isearch-opoint'.
14508 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14510 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14511 chars that don't have names, so the table can be built much faster at
14514 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14516 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14517 change. Suggested by David Kastrup.
14519 * simple.el (compose-mail): Check for incompatibilities and warn.
14520 (compose-mail-user-agent-warnings): New option.
14522 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14524 Support showing a single log entry from vc-annotate.
14525 * vc.el (print-log): Add a new argument: START-REVISION.
14526 (vc-print-log-internal): Add a new optional argument and
14527 pass it to the backend.
14528 (vc-print-log, vc-print-root-log): Adjust callers.
14529 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14530 buffer already displays the requested log entry, use it.
14531 Otherwise display only the log entry in question.
14532 * vc-svn.el (vc-svn-print-log):
14533 * vc-mtn.el (vc-mtn-print-log):
14534 * vc-hg.el (vc-hg-state):
14535 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14536 (vc-git-show-log-entry): Return t on success.
14537 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14538 (vc-bzr-show-log-entry): Return t on success.
14539 * vc-rcs.el (vc-rcs-print-log):
14540 * vc-sccs.el (vc-sccs-print-log):
14541 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14543 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14545 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14546 Add menus to the meta mode. (Bug#5043)
14548 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14550 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14553 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14555 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14557 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14558 Berbain <raphael.berbain@gmail.com>.
14560 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14562 (tramp-initial-end-of-output): New defconst.
14563 (tramp-methods, tramp-find-shell)
14564 (tramp-open-connection-setup-interactive-shell)
14565 (tramp-maybe-open-connection): Use it.
14566 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14567 Handle existence of `#' and `$'.
14569 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14570 Use `tramp-initial-end-of-output'.
14572 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14574 Get the background mode from the terminal for xterm, and set
14576 * term/xterm.el (xterm-set-background-mode): New function.
14577 (terminal-init-xterm): Use it in case xterm supports background
14578 color queries. Recompute faces after getting the background
14581 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14583 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14584 number comment back on its own line, for easier parsing.
14586 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14588 Make it work for non-file buffers (bug#5102).
14589 * doc-view.el (doc-view-current-cache-dir):
14590 Use doc-view-buffer-file-name rather than buffer-file-name.
14591 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14593 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14595 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14596 author field is too short.
14598 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14600 * vc-git.el (vc-git-print-log): Handle a limit argument.
14601 Display the short log in graph form and with labels.
14602 (vc-git-log-view-mode): Handle labels.
14604 Make vc-revert change VC state from 'added to 'unregistered.
14605 * vc-git.el (vc-git-revert): Call git reset first.
14607 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14609 * net/newst-backend.el, net/newst-plainview.el:
14610 * net/newst-reader.el, net/newst-ticker.el:
14611 * net/newst-treeview.el, net/newsticker.el:
14612 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14614 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14616 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14618 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14619 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14620 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14621 Update annotation regexp.
14623 * simple.el (beginning-of-visual-line): Constrain to field
14624 boundaries (Bug#5106).
14626 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14628 * xml.el (xml-substitute-numeric-entities):
14629 Move newsticker--decode-numeric-entities in newst-backend.el to
14630 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14631 * net/newst-backend.el (newsticker--parse-generic-feed)
14632 (newsticker--parse-generic-items)
14633 (newsticker--decode-numeric-entities):
14634 Move newsticker--decode-numeric-entities in newst-backend.el to
14635 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14637 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14639 * progmodes/js.el (js--js-not): Add null to the list of values.
14641 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14643 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14645 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14647 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14648 delimiter if it is at the end of the current line.
14649 (bibtex-generate-url-list): Fix docstring.
14651 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14653 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14654 minibuffer's content with itself.
14655 Fold the confirm-after-completion case into the `confirm' case.
14656 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14658 2009-12-06 Kevin Ryde <user42@zip.com.au>
14660 * ffap.el (ffap-rfc-path): Make this a defcustom since
14661 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14663 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14664 manuals, similar to existing setup for help-mode. (Bug#3913.)
14666 2009-12-05 Juri Linkov <juri@jurta.org>
14668 Save and restore dired buffer's point positions too. (Bug#4880)
14670 * dired.el (dired-save-positions): Return in the first element
14671 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14673 (dired-restore-positions): First restore buffer's position.
14674 While restoring window's positions, check if window still displays
14675 the original buffer.
14677 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14679 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14682 * shell.el (shell): Require ansi-color (Bug#5113).
14684 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14686 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14688 2009-12-05 Alan Mackenzie <acm@muc.de>
14690 * progmodes/cc-mode.el (c-before-hack-hook)
14691 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14692 `c-file-style' to work again. This reversion restores the current
14693 software to its state in Emacs 23.1. (Bug#4146)
14695 2009-12-05 Kevin Ryde <user42@zip.com.au>
14697 * textmodes/sgml-mode.el (sgml-lexical-context):
14698 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14700 2009-12-05 Juri Linkov <juri@jurta.org>
14702 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14703 for virtual nodes. (Bug#4147)
14704 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14705 when moving from a virtual node.
14706 (Info-mode-menu): Add `Info-virtual-index' to the menu.
14707 (Info-mode): Add `Info-virtual-index' to the docstring.
14709 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14711 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14712 track of the buffer position of the end of a BibTeX entry as this
14713 position may change during reformatting.
14714 (bibtex-format-entry): Remove whitespace before processing
14715 numerical fields so that we recognize the latter properly.
14716 (bibtex-reformat): Do not use push which changes the global value
14717 of bibtex-entry-format.
14718 (bibtex-field-braces-alist, bibtex-field-strings-alist)
14719 (bibtex-field-re-init): Replace only space characters by regexp
14721 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14722 (bibtex-initialize): Also update bibtex-strings.
14723 (bibtex-kill-field): Preserve white space at end of entry.
14724 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14725 Update bibtex-reference-keys.
14727 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
14729 * minibuffer.el (completion-pcm--merge-try): Also consider placing
14730 point after a star, if that's the only place where modifications can
14733 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
14735 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14738 2009-12-04 Juri Linkov <juri@jurta.org>
14740 * proced.el (proced): Call `(proced-update t)' to update process
14741 information instead of only running proced-post-display-hook.
14742 (proced-send-signal): Add a leading space to the buffer name
14743 " *Marked Processes*" to make this buffer ephemeral.
14745 2009-12-04 Juri Linkov <juri@jurta.org>
14747 * dired.el (dired-auto-revert-buffer): New defcustom.
14748 (dired-internal-noselect): Use it.
14750 2009-12-04 Juri Linkov <juri@jurta.org>
14752 Change roles of modes and functions in image-mode.el (Bug#5062).
14754 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14755 in `auto-mode-alist'.
14756 (image-mode-previous-major-mode): New variable.
14757 (image-minor-mode-map): Rename from `image-mode-text-map'.
14758 (image-mode): Move graceful error-handling code from
14759 `image-minor-mode' to here. On errors call `image-mode-as-text'.
14760 (image-minor-mode): Remove all image-handling code.
14761 Replace `image-mode-text-map' with `image-minor-mode-map'.
14762 Check for `image-type' in mode-line format string.
14763 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14764 (image-mode-as-text): New function with most code from
14765 `image-mode-maybe'.
14766 (image-toggle-display-text): Move code that removes image
14767 properties from `image-toggle-display' to here.
14768 (image-toggle-display-image): New function with code that adds
14769 image properties copied from `image-toggle-display'.
14770 (image-toggle-display): Remove most code with leaving only code
14771 that toggles between `image-mode-as-text' and `image-mode'.
14773 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
14775 * net/newst-treeview.el
14776 (newsticker--treeview-list-highlight-start): Restored call to
14777 save-excursion: Selected item was stuck.
14778 (newsticker--treeview-list-select): New.
14779 (newsticker--treeview-item-show-text)
14780 (newsticker--treeview-item-show)
14781 (newsticker--treeview-item-update): Use new
14782 newsticker-treeview-item-mode.
14783 (newsticker-treeview-update): Keep current item.
14784 (newsticker-treeview-next-new-or-immortal-item): Doc change.
14785 (newsticker--treeview-first-feed): Doc change.
14786 (newsticker-treeview-list-menu)
14787 (newsticker-treeview-item-menu): Add menu entries.
14788 (newsticker-treeview-item-mode): New.
14790 * net/newst-backend.el (newsticker-customize): Delete other
14793 2009-12-04 Sam Steingold <sds@gnu.org>
14795 * log-view.el (log-view-mode-map): "q" calls quit-window,
14796 like in all the other non-self-insert buffers.
14798 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
14801 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14802 key decoding rather than do it manually via last-input-event +
14804 (term-exec): Use delete-and-extract-region.
14805 (term-handle-ansi-terminal-messages): Remove unused var `end'.
14806 (term-process-pager): Remove unused var `i'.
14807 (term-dynamic-simple-complete): Make obsolete.
14808 (serial-update-config-menu): Remove unused vars `y' and `str'.
14809 (term-update-mode-line): Remove unused var `temp'.
14811 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14813 Limit the number of log entries displayed by default.
14814 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14815 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14816 using a prefix argument.
14818 2009-12-03 Glenn Morris <rgm@gnu.org>
14820 * progmodes/idlwave.el (class): Restore still useful declaration.
14822 2009-12-03 Alan Mackenzie <acm@muc.de>
14824 Enhance `c-parse-state' to run efficiently in "brace deserts".
14826 * progmodes/cc-mode.el (c-basic-common-init):
14827 Call c-state-cache-init.
14828 (c-neutralize-syntax-in-and-mark-CPP): Rename from
14829 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
14830 placing `category' properties value 'c-cpp-delimiter at its boundaries.
14832 * progmodes/cc-langs.el (c-before-font-lock-function):
14833 c-extend-and-neutralize-syntax-in-CPP has been renamed
14834 c-neutralize-syntax-in-and-mark-CPP.
14836 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14837 with `category' properties now, not `syntax-table' ones.
14839 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14840 enhanced (but slower) version of c-end-of-macro that won't land
14841 inside a literal or on another awkward character.
14842 (c-state-cache-too-far, c-state-cache-start)
14843 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14844 (c-state-nonlit-pos-cache-limit, c-state-point-min)
14845 (c-state-point-min-lit-type, c-state-point-min-lit-start)
14846 (c-state-min-scan-pos, c-state-brace-pair-desert)
14847 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14848 buffer local variables.
14849 (c-state-literal-at, c-state-lit-beg)
14850 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14851 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14852 (c-state-cache-top-paren, c-state-cache-after-top-paren)
14853 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14854 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14855 (c-renarrow-state-cache)
14856 (c-append-lower-brace-pair-to-state-cache)
14857 (c-state-push-any-brace-pair, c-append-to-state-cache)
14858 (c-remove-stale-state-cache)
14859 (c-remove-stale-state-cache-backwards, c-state-cache-init)
14860 (c-invalidate-state-cache-1, c-parse-state-1)
14861 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14862 (c-parse-state): Enhance and refactor.
14863 (c-debug-parse-state): Amend to deal with all the new variables.
14865 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14866 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14867 modify to use category text properties rather than syntax-table ones.
14868 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14869 to switch off/on the syntactic paren property of C++ template
14870 delimiters using the category property.
14871 (c-with-<->-as-parens-suppressed): Macro to invoke code with
14872 template delims suppressed.
14873 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14874 New constant/macros which apply category properties to the start
14875 and end of preprocessor constructs.
14876 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14877 "comment out" the syntactic value of characters in preprocessor
14879 (c-with-cpps-commented-out)
14880 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14881 with characters in all or all but one preprocessor constructs
14884 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14886 * proced.el (proced-filter-alist): Use regexp-quote.
14888 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
14891 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14892 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
14893 arguments. Expand `default-directory'.
14895 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14896 the benefit of returning an expanded localname.
14897 (tramp-tramp-file-p): Handle the case NAME is not a string.
14899 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14901 Add support for bzr shelve/unshelve.
14902 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14903 (vc-bzr-extra-menu-map): New variables.
14904 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14905 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14906 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14907 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14908 (vc-bzr-dir-extra-headers): Display shelves.
14910 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14912 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14914 * textmodes/bibtex.el (bibtex-complete-internal):
14915 Use completion-in-region.
14916 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14918 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
14920 Support applying stashes. Improve UI.
14921 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14922 (vc-git-stash-apply, vc-git-stash-pop)
14923 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14924 (vc-git-stash-menu): New functions.
14925 (vc-git-stash-menu-map): New variable.
14926 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14928 2009-12-03 Glenn Morris <rgm@gnu.org>
14930 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14931 (vc-print-log-internal): Fix previous change.
14932 (vc-revert): Correct pluralization.
14934 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14936 * progmodes/make-mode.el (makefile-special-targets-list): No need for
14937 it to be an alist any more.
14938 (makefile-complete): Use completion-in-region.
14940 * progmodes/octave-mod.el (octave-complete-symbol):
14941 Use completion-in-region.
14944 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14945 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14946 (idlwave-complete-class): Don't quote lambda.
14947 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14948 (idlwave-mode-map): Move initialization into declaration.
14949 (idlwave-action-and-binding): Use backquotes.
14950 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14952 (idlwave-is-pointer-dereference): Remove unused var `pos'.
14953 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14954 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14955 `parts', and `all-parts'.
14956 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14957 (idlwave-convert-xml-system-routine-info): Remove unused string
14959 (idlwave-display-user-catalog-widget): Use dolist.
14960 (idlwave-scanning-lib): Declare dynamically-scoped var.
14961 (idlwave-scan-library-catalogs): Remove unused var `flags'.
14962 (completion-highlight-first-word-only): Declare to silence bytecomp.
14963 (idlwave-popup-select): Tighten scope of `resp'.
14964 (idlwave-find-struct-tag): Remove unused var `beg'.
14965 (idlwave-after-load-rinfo-hook): Declare.
14966 (idlwave-sintern-class-info): Remove unused var `taglist'.
14967 (idlwave-find-class-definition): Remove unused var `list'.
14968 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14969 (idlwave-what-module-find-class): Remove unused var `classes'.
14971 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
14973 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14975 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
14977 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14978 buffers visited. Remove redundant current-buffer-saving.
14980 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14982 Use completion-in-buffer and remove uses of dynamic scoping.
14983 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14984 (pascal-buffer-to-use, pascal-flag): Don't declare.
14985 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14986 (pascal-get-completion-decl, pascal-keyword-completion):
14987 Add `pascal-str' argument, save-excursion,
14988 return the found completions, and don't filter with pascal-pred.
14989 (pascal-completion-cache): New var.
14990 (pascal-completion): Don't switch buffer any more (it was never
14991 necessary). Don't save-excursion any more (it's done by the called
14992 subroutines). Use a cache to avoid redundant computations.
14993 Use complete-with-action rather than pascal-completion-response and
14994 let it apply the predicate as well.
14995 (pascal-complete-word): Use completion-in-buffer when
14996 pascal-toggle-completions is nil.
14997 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14999 (pascal-comp-defun): Don't change buffer any more.
15000 Use complete-with-action rather than pascal-completion-response and
15001 let it apply the predicate as well.
15002 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15005 2009-12-02 Kenichi Handa <handa@m17n.org>
15007 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15008 shape for all Indic scripts.
15010 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15012 Use completion-in-buffer.
15013 * wid-edit.el (widget-field-text-end): New function.
15014 (widget-field-value-get): Use it.
15015 (widget-string-complete, widget-file-complete)
15016 (widget-color-complete): Use it and completion-in-region.
15017 (widget-complete): Don't narrow the buffer.
15019 2009-12-02 Glenn Morris <rgm@gnu.org>
15021 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15022 (rmail-select-summary): Use rmail-pop-to-buffer.
15023 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15024 rmail-pop-to-buffer, to prevent horizontal splits.
15026 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15027 save-excursion with save-current-buffer.
15028 Widen before searching. (Bug#5093)
15029 (diary-list-sexp-entries): Remove superfluous save-excursion.
15031 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15033 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15036 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15038 * ido.el (ido-file-internal): Handle filenames at point that do
15039 not have a directory part. (Bug#5049)
15041 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15043 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15044 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15046 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15048 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15049 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15052 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15054 * comint.el (comint-insert-input): Ignore clicks to the right of
15055 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15057 * vc.el (vc-print-log-internal): Don't wait for the process to
15058 terminate before setting up the major mode.
15060 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15063 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15066 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15068 2009-12-01 Glenn Morris <rgm@gnu.org>
15070 * window.el (window--display-buffer-2): Fix previous changes.
15072 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15074 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15076 2009-12-01 Glenn Morris <rgm@gnu.org>
15078 * Makefile.in (ELCFILES): Add mpc.elc.
15080 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15082 * mpc.el: New file.
15084 2009-12-01 Glenn Morris <rgm@gnu.org>
15086 * window.el (window-to-use): Define for compiler.
15088 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15089 consistent with others (no final period).
15091 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15092 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15094 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15096 Make vc-print-log buttons work.
15097 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15099 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15101 * savehist.el (savehist-autosave-interval): Allow setting to nil
15102 through customize. (Bug#5056)
15104 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15106 Fix references to jit-lock properties.
15107 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15108 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15109 (perl-font-lock-special-syntactic-constructs):
15110 Quote jit-lock-defer-multiline property.
15112 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15114 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15116 2009-11-30 Juri Linkov <juri@jurta.org>
15118 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15119 value `buffer' of `multi-isearch-next-buffer-current-function'.
15120 Use `(current-buffer)' when `buffer' is nil.
15121 (multi-isearch-next-buffer-from-list): Don't fallback to
15122 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15124 2009-11-30 Juri Linkov <juri@jurta.org>
15126 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15127 of buffers with `get-buffer' to `multi-isearch-buffers'.
15128 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15129 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15130 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15131 FILES with `expand-file-name' converting relative file names
15132 to absolute. Doc fix. (Bug#4727)
15134 2009-11-30 Juri Linkov <juri@jurta.org>
15136 * misearch.el (multi-isearch-read-buffers)
15137 (multi-isearch-read-matching-buffers): New functions.
15138 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15139 Use them in the `interactive' spec. Doc fix.
15140 (multi-isearch-read-files, multi-isearch-read-matching-files):
15142 (multi-isearch-files, multi-isearch-files-regexp):
15143 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15145 2009-11-30 Juri Linkov <juri@jurta.org>
15147 * doc-view.el (doc-view-continuous):
15148 Rename from `doc-view-continuous-mode'.
15149 (doc-view-menu): Move "Toggle display" to the top.
15150 Add submenu "Continuous" with radio buttons "Off"/"On"
15151 and "Save as Default".
15152 (doc-view-scroll-up-or-next-page)
15153 (doc-view-scroll-down-or-previous-page)
15154 (doc-view-next-line-or-next-page)
15155 (doc-view-previous-line-or-previous-page):
15156 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15158 2009-11-30 Juri Linkov <juri@jurta.org>
15160 * comint.el (comint-mode-map): Rebind `M-r' from
15161 `comint-previous-matching-input' to
15162 `comint-history-isearch-backward-regexp'.
15163 Unbind `M-s' to allow global key binding `M-s'.
15164 Add menu items for `comint-history-isearch-backward' and
15165 `comint-history-isearch-backward-regexp'. (Bug#3746)
15167 2009-11-30 Juri Linkov <juri@jurta.org>
15169 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15170 For def=recenter, replace `recenter' with `recenter-top-bottom'
15171 that is called with `this-command' and `last-command' let-bound
15172 to `recenter-top-bottom'. When the last `def' was not `recenter',
15173 set `recenter-last-op' to nil. (Bug#4981)
15175 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15177 Minor cleanup and simplification.
15178 * filecache.el (file-cache-add-directory)
15179 (file-cache-add-directory-recursively)
15180 (file-cache-add-from-file-cache-buffer)
15181 (file-cache-delete-file-regexp, file-cache-delete-directory)
15182 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15183 (file-cache-temp-minibuffer-message): Delete function.
15184 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15186 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15187 Don't signal an error when bumping into EOB in tr, s, or y.
15189 2009-11-29 Juri Linkov <juri@jurta.org>
15191 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15194 * descr-text.el (describe-char-unidata-list): Use lowercase name
15195 for "Unicode name" like in other tags.
15197 2009-11-29 Juri Linkov <juri@jurta.org>
15199 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15200 New compatibility macro.
15201 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15203 2009-11-29 Juri Linkov <juri@jurta.org>
15205 Add defcustom to define the cycling order of `recenter-top-bottom'.
15208 * window.el (recenter-last-op): Doc fix.
15209 (recenter-positions): New defcustom.
15210 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15211 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15213 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15215 Improve integration of Tramp and ange-ftp in eshell.
15217 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15218 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15219 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15221 * eshell/esh-util.el (top): Require also Tramp when compiling.
15222 (eshell-directory-files-and-attributes): Check for FTP remote
15224 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15225 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15226 (eshell-file-attributes): Handle ".". Return `entry'.
15228 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15229 (ange-ftp-directory-files-and-attributes)
15230 (ange-ftp-real-directory-files-and-attributes): New defuns.
15232 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15233 shell with "exec" when possible. This prevents trailing prompts
15234 in `start-file-process'.
15236 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15238 Try and remove assumptions about point-min==1.
15239 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15240 (rng-compute-mode-line-string): Show the validation percentage in
15241 terms of the narrowed text, not the widened text.
15242 (rng-do-some-validation): Don't catch internal errors when debugging.
15243 (rng-first-error): Simplify.
15244 (rng-after-change-function): Remove work around. AFAIK the bug has
15245 been fixed a while ago.
15247 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15248 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15250 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15252 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15253 `cd' doesn't always do it for us (bug#5067).
15255 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15256 on 2009-10-25 as part of some other change (bug#5067).
15258 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15260 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15262 (byte-compile-warnings): Use byte-compile-warning-types.
15263 (byte-compile-save-excursion): Warn about use of set-buffer right
15264 after save-excursion.
15266 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15267 the excursion as well.
15269 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15271 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15272 providing a Tramp related implementation of "su" and "sudo".
15273 (eshell-unix-initialize): Add "su" and "sudo".
15275 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15277 * net/socks.el (socks-send-command): Convert binary request to
15278 unibyte before sending. This fixes mishandling of some port
15279 numbers such as 129.
15281 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15283 * help.el (describe-bindings-internal): Remove `interactive'.
15285 * man.el (Man-completion-table): Trim a terminating "(".
15286 Remove the space between name page a section.
15287 Add the command's description on the `help-echo' property.
15288 Remove `process-connection-type' binding since it's unused by
15290 Provide completion for the "<section> <name>" format as well.
15291 (Man-default-man-entry): Remove spurious var shadowing the argument.
15293 2009-11-26 Kevin Ryde <user42@zip.com.au>
15295 * log-view.el: Add "Keywords: tools", since its other keywords
15296 aren't in finder-known-keywords, and following vc.el.
15298 * sha1.el (sha1-string-external): default-directory "/" in case
15299 otherwise non-existent. process-connection-type pipe for touch of
15300 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15302 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15304 Misc coding convention cleanups.
15305 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15306 hfy-init-kludge-hooks.
15307 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15308 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15309 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15311 (hfy-slant, hfy-weight): Use tables rather than code.
15312 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15313 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15314 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15315 (hfy-face-to-css): Remove `nconc' with single arg.
15316 (hfy-p-to-face-lennart): Use `or'.
15317 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15318 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15319 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15320 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15321 (hfy-force-fontification): Use run-hooks.
15323 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15325 Various minor fixes.
15326 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15327 Javascript belongs in the header, not the body.
15328 (hfy-javascript): Remove.
15329 (hfy-fontify-buffer): Don't insert it any more.
15330 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15331 Fix bug in invis handling when there were no invis props in a chunk.
15333 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15335 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15337 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15339 * finder.el (finder-mode-map): Add a menu.
15341 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15343 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15344 "unsigned" structs.
15346 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15347 fork" statement better.
15349 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15351 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15352 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15353 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15354 Reported by Clay Douglass.
15356 (verilog-auto-inst, verilog-auto-star-safe)
15357 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15358 Fix removing "// Interfaces" when saving .* expansions.
15359 Reported by Pierre-David Pfister.
15361 2009-11-26 Glenn Morris <rgm@gnu.org>
15363 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15366 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15368 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15369 Really use previous revision.
15371 2009-11-25 Kevin Ryde <user42@zip.com.au>
15373 * man.el (Man-completion-table): default-directory "/" in case
15374 doesn't otherwise exist. process-environment COLUMNS=999 so as
15375 not to truncate long names. process-connection-type pipe to avoid
15376 any chance of hitting the pseudo-tty TIOCGWINSZ.
15377 (man): completion-ignore-case t for friendliness and since man
15378 itself is case-insensitive on the command line.
15379 Further to Bug#3717.
15381 * arc-mode.el: Add "Keywords: files", so the details in its
15382 commentary can be reached from finder-by-keyword.
15383 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15384 editing mode, but it's comms related and sgml-mode.el has "comm"
15386 * textmodes/bibtex-style.el: Add "Keywords: tex".
15387 * international/isearch-x.el, international/ja-dic-cnv.el:
15388 * international/ja-dic-utl.el, international/kkc.el:
15389 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15391 2009-11-25 Juri Linkov <juri@jurta.org>
15393 * man.el (Man-completion-table): Modify regexp to include
15394 section names to completion strings. (Bug#3717)
15396 2009-11-25 Juri Linkov <juri@jurta.org>
15398 Search recursively in gzipped files. (Bug#4982)
15400 * progmodes/grep.el (grep-highlight-matches): Add new options
15401 `always' and `auto'. Doc fix.
15402 (grep-process-setup): Check `grep-highlight-matches' for
15403 `auto-detect' to determine the need to compute grep defaults.
15404 Move Windows/DOS specific --colors settings handling
15405 to `grep-compute-defaults'. Check `grep-highlight-matches'
15406 to get the value of "--color=".
15407 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15408 has the value `auto-detect'. Move Windows/DOS specific settings
15409 from `grep-process-setup'.
15410 (zrgrep): New command with alias `rzgrep'.
15412 2009-11-25 Juri Linkov <juri@jurta.org>
15414 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15415 to nil instead of switching off view-mode. (Bug#4896)
15417 2009-11-25 Juri Linkov <juri@jurta.org>
15419 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15421 * mwheel.el (mwheel-scroll-up-function)
15422 (mwheel-scroll-down-function): New defvars.
15423 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15424 `scroll-up', and `mwheel-scroll-down-function' instead of
15427 * doc-view.el (doc-view-scroll-up-or-next-page)
15428 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15429 Use this ARG in the call to image-scroll-up/image-scroll-down.
15430 Change `interactive' spec to "P". Goto next/previous page only
15431 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15432 SPC/DEL case). Doc fix.
15433 (doc-view-next-line-or-next-page)
15434 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15436 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15437 `doc-view-scroll-up-or-next-page', and buffer-local
15438 `mwheel-scroll-down-function' to
15439 `doc-view-scroll-down-or-previous-page'.
15441 2009-11-25 Juri Linkov <juri@jurta.org>
15443 Provide additional default values (directories at other Dired
15444 windows) via M-n in the minibuffer of some Dired commands.
15446 * dired-aux.el (dired-diff, dired-compare-directories)
15447 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15448 `minibuffer-default' in `minibuffer-with-setup-hook'.
15449 (dired-dwim-target-directory): Find a window that displays Dired
15450 buffer instead of failing when the next window is not Dired.
15451 Use `get-window-with-predicate' to find for the next Dired window.
15452 (dired-dwim-target-defaults): New function.
15454 * ediff-util.el (ediff-read-file-name):
15455 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15456 in `minibuffer-with-setup-hook'.
15458 2009-11-25 Juri Linkov <juri@jurta.org>
15460 Provide additional default values (file name at point or at the
15461 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15463 * minibuffer.el (read-file-name-defaults): New function.
15464 (read-file-name): Reset `minibuffer-default' to nil when
15465 it duplicates initial input `insdef'.
15466 Bind `minibuffer-default-add-function' to lambda that
15467 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15468 (minibuffer-insert-file-name-at-point): New command.
15470 * files.el (file-name-at-point-functions): New defcustom.
15471 (find-file-default): Remove defvar.
15472 (find-file-read-args): Don't use `find-file-default'.
15473 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15474 to `read-file-name'.
15475 (find-file-literally): Use `read-file-name' with
15476 `confirm-nonexistent-file-or-buffer'.
15478 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15480 * dired.el (dired-read-dir-and-switches):
15481 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15482 to `read-file-name'.
15483 (dired-file-name-at-point): New function.
15484 (dired-mode): Add hook `dired-file-name-at-point' to
15485 `file-name-at-point-functions'.
15487 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15489 Really make the *Completions* window soft-dedicated (bug#5030).
15490 * window.el (window--display-buffer-2): Add `dedicated' argument.
15491 (display-buffer): Pass it when needed so the dedicated flag is set
15492 after calling set-window-buffer, which would otherwise reset it.
15494 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15496 * progmodes/meta-mode.el (meta-complete-symbol):
15497 * progmodes/etags.el (complete-tag):
15498 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15499 Use completion-in-region.
15501 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15502 (dabbrev-completion): Use completion-in-region.
15503 (dabbrev--abbrev-at-point): Simplify regexp.
15505 * abbrev.el (abbrev--before-point): Use word-motion functions
15506 if :regexp is not specified (bug#5031).
15508 * subr.el (string-prefix-p): New function.
15510 * man.el (Man-completion-cache): New var.
15511 (Man-completion-table): Use it.
15513 * vc.el (vc-print-log-internal): Make `limit' optional for better
15514 compatibility (e.g. with vc-annotate.el).
15516 2009-11-24 Kevin Ryde <user42@zip.com.au>
15518 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15519 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15521 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15522 when .el source file not found or other error.
15524 2009-11-24 Markus Triska <markus.triska@gmx.at>
15526 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15528 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15530 Handle the [back] button properly (bug#4979).
15531 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15532 Use help-setup-xref, help-buffer, and with-help-window.
15533 (describe-char): Add `buffer' argument.
15534 Pass proper command to help-setup-xref. Don't meddle with
15535 help-xref-stack-item directly.
15536 (describe-text-category): Use with-help-window and help-buffer.
15538 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15539 for the displayed buffer (bug#4887).
15541 * man.el (Man-completion-table): New function.
15544 2009-11-24 David Reitter <david.reitter@gmail.com>
15546 * vc-git.el (vc-git-registered): Use checkout directory (where
15547 .git is) rather than the file's directory and a relative path spec
15548 to work around a bug in git.
15550 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15552 Improve handling of processes on remote hosts.
15554 * eshell/esh-util.el (eshell-path-env): New defvar.
15555 (eshell-parse-colon-path): New defun.
15556 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15558 * eshell/esh-ext.el (eshell-search-path):
15559 Use `eshell-parse-colon-path'.
15560 (eshell-remote-command): Remove argument HANDLER.
15561 (eshell-external-command): Check for FTP remote connection.
15563 * eshell/esh-proc.el (eshell-gather-process-output):
15564 Use `file-truename', in order to start also symlinked files.
15565 Apply `start-file-process' instead of `start-process'.
15566 Shorten `command' to the local file name part.
15568 * eshell/em-cmpl.el (eshell-complete-commands-list):
15569 Use `eshell-parse-colon-path'.
15571 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15573 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15574 to `eshell-directory-change-hook'.
15576 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15578 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15579 because it could be enabled automatically if view-read-only is non-nil.
15581 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15583 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15584 made on 2009-11-22.
15586 2009-11-24 Glenn Morris <rgm@gnu.org>
15588 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15589 deleted variable bookmark-bmenu-bookmark-column.
15591 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15593 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15595 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15597 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15598 two slashes to the "file:" prefix.
15599 (browse-url-file-url): De-munge Cygwin filenames before passing
15600 them to Windows browser.
15601 (browse-url-default-windows-browser): Use call-process.
15603 2009-11-23 Juri Linkov <juri@jurta.org>
15605 Implement DocView Continuous mode. (Bug#4896)
15606 * doc-view.el (doc-view-continuous-mode): New defcustom.
15607 (doc-view-mode-map): Bind C-n/<down> to
15608 `doc-view-next-line-or-next-page', C-p/<up> to
15609 `doc-view-previous-line-or-previous-page'.
15610 (doc-view-next-line-or-next-page)
15611 (doc-view-previous-line-or-previous-page): New commands.
15613 2009-11-23 Juri Linkov <juri@jurta.org>
15615 Implement Isearch in comint input history. (Bug#3746)
15616 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15617 `isearch-mode-hook'.
15618 (comint-history-isearch): New defcustom.
15619 (comint-history-isearch-backward)
15620 (comint-history-isearch-backward-regexp): New commands.
15621 (comint-history-isearch-message-overlay): New buffer-local variable.
15622 (comint-history-isearch-setup, comint-history-isearch-end)
15623 (comint-goto-input, comint-history-isearch-search)
15624 (comint-history-isearch-message, comint-history-isearch-wrap)
15625 (comint-history-isearch-push-state)
15626 (comint-history-isearch-pop-state): New functions.
15628 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15630 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15632 (tramp-handle-make-symbolic-link)
15633 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15635 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15636 (tramp-handle-process-file): Use it.
15638 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15640 * window.el (move-to-window-line-last-op): Remove.
15641 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15643 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15645 Make M-r mirror the new cycling behavior of C-l.
15646 * window.el (move-to-window-line-last-op): New var.
15647 (move-to-window-line-top-bottom): New command.
15648 (global-map): Bind M-r move-to-window-line-top-bottom.
15650 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15652 * dired-x.el (dired-guess-shell-alist-default):
15653 Support xz format. (Bug#4953)
15655 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15657 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15658 last-command-char/last-command-event.
15659 (viper-prefix-arg-value): Do correct conversion of event-char for
15662 * emulation/viper-util.el, emulation/viper.el:
15663 Use viper-last-command-char instead of
15664 last-command-char/last-command-event.
15666 * ediff-init.el, ediff-mult.el, ediff-util.el:
15667 Replace last-command-char and last-command-event
15668 with (ediff-last-command-char) everywhere.
15670 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15671 created in fundamental mode.
15673 * ediff.el (ediff-version): Revert the change of interactive-p to
15674 called-interactively-p.
15676 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15678 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15679 generation from word-movement command names.
15681 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15683 * cus-start.el (all): Add native condition for font-use-system-font.
15685 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15687 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15688 Correct the patch from 2009-11-18. (Bug#3910)
15690 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15692 * progmodes/subword.el: Rename from lisp/subword.el.
15694 * subword.el: Rename to progmodes/subword.el.
15696 * Makefile.in (ELCFILES): Adapt to subword.el move.
15698 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15699 Stefan Monnier <monnier@iro.umontreal.ca>
15701 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15702 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15703 (bookmark-bmenu-show-filenames): Use push.
15704 (bookmark-bmenu-hide-filenames): Use local var instead of
15705 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15706 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15707 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15708 filenames now that the bookmark names are always available.
15710 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15712 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15713 (bookmark-search-pattern): Move and leave unbound.
15714 (bookmark-bmenu-mode-map): Change binding.
15715 (bookmark-read-search-input): Simplify.
15716 Don't use text-char-description. Don't error on non-char events.
15717 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15718 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15719 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15720 Use a local var for the timer.
15721 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15722 (i.e. bookmark-bmenu-search).
15724 2009-11-21 Glenn Morris <rgm@gnu.org>
15726 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
15728 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
15730 * net/browse-url.el (browse-url-default-windows-browser):
15731 Use cygstart for cygwin.
15733 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
15735 * bookmark.el: Formatting and doc fixes only:
15736 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15737 (bookmark-bmenu-search): Wrap to fit within 80 columns.
15738 Minor grammar and punctuation fixes in doc string.
15739 (bookmark-read-search-input): Adjust to fit within 80 columns.
15741 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15743 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15744 (c-backward-into-nomenclature): Adapt to subword renaming.
15746 * subword.el (subword-forward, subword-backward, subword-mark)
15747 (subword-kill, subword-backward-kill, subword-transpose)
15748 (subword-downcase, subword-upcase, subword-capitalize)
15749 (subword-forward-internal, subword-backward-internal):
15750 Rename from forward-subword, backward-subword, mark-subword,
15751 kill-subword, backward-kill-subword, transpose-subwords,
15752 downcase-subword, upcase-subword, capitalize-subword,
15753 forward-subword-internal, backward-subword-internal.
15755 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15757 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15759 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15761 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15762 (bookmark-bmenu-filter-alist-by-regexp)
15763 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15764 (bookmark-bmenu-search): New command.
15765 (bookmark-bmenu-mode-map): Bind it.
15767 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
15769 * progmodes/cc-cmds.el: declare-functioned forward-subword and
15770 backward-subword to quit the byte-compiler.
15772 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15774 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15776 * progmodes/cc-cmds.el (c-update-modeline)
15777 (c-forward-into-nomenclature, c-backward-into-nomenclature):
15778 Refer to subword.el functions instead of cc-subword.el.
15780 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15781 subword.el functions instead of cc-subword.el.
15783 * progmodes/cc-subword.el: Rename to subword.el.
15784 * subword.el: Rename from progmodes/cc-subword.el.
15785 (subword-mode-map): Rename from c-subword-mode-map.
15786 (subword-mode): Rename from c-subword-mode.
15787 (global-subword-mode): New global minor mode.
15788 (forward-subword): Rename from c-forward-subword.
15789 (backward-subword): Rename from c-backward-subword.
15790 (mark-subword): Rename from c-mark-subword.
15791 (kill-subword): Rename from c-kill-subword.
15792 (backward-kill-subword): Rename from c-backward-kill-subword.
15793 (transpose-subwords): Rename from c-tranpose-subword.
15794 (downcase-subword): Rename from c-downcase-subword.
15795 (capitalize-subword): Rename from c-capitalize-subword.
15796 (forward-subword-internal): Rename from c-forward-subword-internal.
15797 (backward-subword-internal): Rename from c-backward-subword-internal.
15799 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
15801 * vc.el (vc-deduce-fileset): Allow non-state changing operations
15802 from a dired buffer.
15803 (vc-dired-deduce-fileset): New function.
15804 (vc-root-diff, vc-print-root-log): Use it.
15806 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15807 nil LIMIT argument to vc-print-log-internal.
15809 2009-11-20 Glenn Morris <rgm@gnu.org>
15811 * Makefile.in (ELCFILES): Regenerate.
15813 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
15815 * calc/calc.el (calc-set-mode-line):
15816 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15817 (math-format-number): Rename `math-format-complement-signed' to
15818 `math-format-twos-complement'.
15820 * calc/calc-bin.el (math-format-twos-complement): Rename from
15821 math-format-complement-signed.
15822 (calc-radix): Rename `calc-complement-signed-mode' to
15823 `calc-twos-complement-mode'.
15824 (calc-octal-radix, calc-hex-radix): Add an argument for
15827 * calc/calc-embed.el (calc-embedded-mode-vars):
15828 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15830 * calc/calc-ext.el (calc-init-extensions):
15831 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15832 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15834 * calc/calc-units.el (math-build-units-table-buffer):
15835 Let `calc-twos-complement-mode' be nil.
15837 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15840 * calc/calc-vec.el (calcFunc-vunpack):
15841 * calc/calc-aent.el (calc-do-calc-eval):
15842 * calc/calc-forms.el (math-format-date):
15843 * calc/calc-graph.el (calc-graph-plot):
15844 * calc/calc-math.el (math-use-emacs-fn):
15845 * calc/calccomp.el (math-compose-expr):
15846 Let `calc-twos-complement-mode' be nil.
15848 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15850 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15851 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
15852 * minibuffer.el (completion-in-region-functions): New hook.
15853 (completion-in-region): New function.
15854 * emacs-lisp/lisp.el (lisp-complete-symbol):
15855 * pcomplete.el (pcomplete-std-complete): Use it.
15857 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
15859 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15860 (latex-complete-alist): New vars.
15861 (latex-string-prefix-p, latex-complete-bibtex-keys)
15862 (latex-complete-envnames, latex-complete-refkeys)
15863 (latex-complete-data): New functions.
15864 (latex-complete, latex-indent-or-complete): New commands.
15866 * window.el (display-buffer-mark-dedicated): New var.
15867 (display-buffer): Obey it.
15868 * minibuffer.el (minibuffer-completion-help): Use it.
15870 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15872 * filecache.el (file-cache-add-file): Use push and cons.
15873 (file-cache-delete-file-regexp): Use push.
15874 (file-cache-complete): Use completion-in-region.
15876 * simple.el (with-wrapper-hook): Fix thinko.
15878 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15879 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15880 Use with-current-buffer and string-to-number.
15881 (hfy-fallback-colour-values): Use assoc-string.
15882 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15883 (hfy-face-at): Remove unused var `found-face'.
15884 (hfy-compile-stylesheet): Remove unused var `css'.
15885 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15887 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15888 Use with-current-buffer.
15889 (hfy-text-p): Use expand-file-name and fewer setq.
15891 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
15893 * htmlfontify.el, hfy-cmap.el: New files.
15895 2009-11-19 Juri Linkov <juri@jurta.org>
15897 * minibuffer.el (completions-format): New defcustom.
15898 (completion--insert-strings): Implement vertical format.
15900 * simple.el (switch-to-completions): Move point to the first
15901 completion when point was at the beginning of the buffer.
15903 2009-11-19 Juri Linkov <juri@jurta.org>
15905 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
15907 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15909 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
15911 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15912 (mail-signature): Change default to t.
15913 (mail-from-style): Deprecate `system-default' value.
15914 (mail-insert-from-field): For default value of mail-from-style,
15915 default to `angles' unless `angles' needs quoting and `parens'
15917 (mail-citation-prefix-regexp): Use citation regexp from
15920 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
15922 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15923 Set variables for computing the prompt for reading password.
15925 2009-11-19 Glenn Morris <rgm@gnu.org>
15927 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
15929 * textmodes/flyspell.el (sgml-lexical-context): Declare.
15931 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15932 (newsticker-treeview-listwindow-height): Fix custom type.
15934 2009-11-19 Kenichi Handa <handa@m17n.org>
15936 * descr-text.el (describe-char-padded-string): Compose with TAB
15937 only if there's a font for CH.
15938 (describe-char): Fix the condition for detecting a trivial composition.
15940 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
15942 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15943 more accurate version of the regexp. (Bug#3910)
15945 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15947 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15949 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
15951 * font-setting.el (font-use-system-font): Declare for byte-compiler.
15952 (font-setting-change-default-font): Fix typo in docstring.
15954 2009-11-18 Alan Mackenzie <acm@muc.de>
15956 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15958 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15960 * font-setting.el (font-use-system-font): Move ...
15962 * cus-start.el (all): ... to here.
15964 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
15966 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15967 Don't set `ad-return-value' if `ad-do-it' doesn't.
15969 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15972 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
15974 * menu-bar.el: Put "Use system font" in Option-menu.
15975 (menu-bar-options-save): Add font-use-system-font.
15977 * loadup.el: If feature system-font-setting or font-render-setting is
15978 there, load font-setting.
15980 * Makefile.in (ELCFILES): Add font-settings.el.
15981 * font-setting.el: New file.
15983 2009-11-17 Glenn Morris <rgm@gnu.org>
15985 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15987 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15988 Preserve point in the list buffer. (Bug#4939)
15990 (newsticker--treeview-list-update-highlight)
15991 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15993 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15995 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15998 * calc/calc-ext.el (calc-init-extensions): Remove references to
16001 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16003 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16004 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16007 2009-11-16 Kevin Ryde <user42@zip.com.au>
16009 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16010 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16012 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16013 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16014 Ignore trailing spaces by omit-nulls to split-string (fixing
16015 regression from Emacs 21 due to the incompatible split-string
16016 change). (Bug #4928.)
16018 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16020 * vc.el (vc-log-show-limit): Default to 2000.
16021 (vc-print-log-internal): Insert buttons to request more entries
16022 when limiting the output.
16024 * vc-sccs.el (vc-sccs-print-log):
16025 * vc-rcs.el (vc-rcs-print-log):
16026 * vc-cvs.el (vc-cvs-print-log):
16027 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16030 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16032 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16033 error when `tramp-gvfs-dbus-event-vector' is set.
16034 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16036 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16038 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16040 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16042 * net/dbus.el (dbus-unregister-service): New defun.
16043 (dbus-register-property): Register the handlers of
16044 "org.freedesktop.DBus.Properties" for SERVICE.
16045 (dbus-property-handler): Fix docstring.
16047 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16049 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16050 Quote doc string reference in defvaralias as it is not in special form.
16051 (byte-compile-output-docform): Doc fix.
16053 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16055 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16056 (calc-complement-signed-mode): New variables.
16057 (calc-set-mode-line): Add indicator for twos-complements.
16058 (math-format-number): Format twos-complement notation.
16060 * calc/calc-bin.el (calc-word-size): Reset the variables
16061 `math-2-word-size' and `math-half-2-word-size'.
16062 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16063 (calc-symclip): New functions.
16065 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16067 * calc/calc-embed.el (calc-embedded-mode-vars):
16068 Add `calc-complement-signed-mode' to the list of modes.
16070 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16071 (calc-b-oper-keys): Add `calc-symclip' to list.
16073 * calc/calc-ext.el (math-read-number-fancy): Read complement
16075 (calc-init-extensions): Add binding for `calc-symclip'.
16076 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16078 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16080 (calc-modes-menu): Add item for twos complement mode.
16082 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16084 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16086 * register.el (jump-to-register, insert-register): Handle Semantic
16087 tags. From commented-out advice in semantic/senator.el.
16089 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16091 * vc.el (vc-log-show-limit): New variable.
16092 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16093 when using a prefix argument.
16094 (vc-print-log-internal): Add new argument LIMIT.
16096 * vc-svn.el (vc-svn-print-log):
16097 * vc-mtn.el (vc-mtn-print-log):
16098 * vc-hg.el (vc-hg-print-log):
16099 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16100 pass it to the log command when set. Make the BUFFER argument
16103 * vc-sccs.el (vc-sccs-print-log):
16104 * vc-rcs.el (vc-rcs-print-log):
16105 * vc-git.el (vc-git-print-log):
16106 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16107 ignore it. Make the BUFFER argument non-optional.
16109 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16111 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16113 * dired.el (dired-mode-map): Move encryption items to "Operate"
16116 * strokes.el (strokes-update-window-configuration): Make strokes
16117 buffer current before erasing (Bug#4906).
16119 2009-11-15 Juri Linkov <juri@jurta.org>
16121 * simple.el (set-mark-default-inactive): Add :type, :group
16122 and :version. (Bug#4876)
16124 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16126 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16127 (archive-unique-fname): ... here. (Bug#4929)
16129 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16131 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16134 * novice.el (disabled-command-function): Add useful args.
16135 Setup the help buffer so that [back] works.
16136 Remove redundant call to help-mode.
16137 (disabled-command-function): Use `case'.
16138 (en/disable-command): New function extracted from enable-command.
16139 (enable-command, disable-command): Use it.
16141 2009-11-14 Glenn Morris <rgm@gnu.org>
16143 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16144 constants. (Bug#4913)
16146 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16148 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16150 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16151 defined in C that have no doc-strings. (Bug#1063)
16153 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16155 * cus-edit.el (data, files):
16156 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16158 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16160 * simple.el (shell-command): Doc fix (Bug#4891).
16162 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16164 2009-11-14 Glenn Morris <rgm@gnu.org>
16166 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16167 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16168 If they are already loaded, eval-after-load will do the right thing.
16170 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16173 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16175 * simple.el (x-selection-owner-p): Declare.
16176 (read-mail-command): Use custom radio type rather than choice.
16177 (completion-no-auto-exit): Doc fix.
16179 * custom.el (defgroup):
16180 * epg-config.el (epg): Doc fixes.
16182 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16184 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16185 * international/ccl.el (define-ccl-program): Do not purecopy the
16186 docstring, defconst does it anyway.
16188 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16190 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16193 * x-dnd.el (x-dnd-maybe-call-test-function):
16194 * window.el (split-window-vertically):
16195 * whitespace.el (whitespace-help-on):
16196 * vc-rcs.el (vc-rcs-consult-headers):
16197 * userlock.el (ask-user-about-lock-help)
16198 (ask-user-about-supersession-help):
16199 * type-break.el (type-break-force-mode-line-update):
16200 * time-stamp.el (time-stamp-conv-warn):
16201 * terminal.el (te-set-output-log, te-more-break, te-filter)
16202 (te-sentinel, terminal-emulator):
16203 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16204 (term-write-input-ring, term-check-source, term-start-output-log):
16205 (term-display-buffer-line, term-dynamic-list-completions):
16206 (term-ansi-make-term, serial-term):
16207 * subr.el (selective-display):
16208 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16209 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16210 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16211 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16212 (speedbar-remove-localized-speedbar-support)
16213 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16214 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16215 (speedbar-buffers-line-directory):
16216 * simple.el (shell-command-on-region, append-to-buffer)
16217 (prepend-to-buffer):
16218 * shadowfile.el (shadow-save-todo-file):
16219 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16220 (scroll-bar-maybe-set-window-start):
16221 * sb-image.el (speedbar-image-dump):
16222 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16223 (load-save-place-alist-from-file):
16224 * ps-samp.el (ps-print-message-from-summary):
16225 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16226 (ps-background-image, ps-begin-job, ps-do-despool):
16227 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16228 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16229 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16230 (pr-call-process, pr-file-list, pr-interface-save):
16231 * novice.el (disabled-command-function)
16232 (enable-command, disable-command):
16233 * mouse.el (mouse-buffer-menu-alist):
16234 * mouse-copy.el (mouse-kill-preserving-secondary):
16235 * macros.el (kbd-macro-query):
16236 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16237 * informat.el (batch-info-validate):
16238 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16239 * hippie-exp.el (try-expand-dabbrev-visible):
16240 * help-mode.el (help-make-xrefs):
16241 * help-fns.el (describe-variable):
16242 * generic-x.el (bat-generic-mode-run-as-comint):
16243 * finder.el (finder-mouse-select):
16244 * find-dired.el (find-dired-sentinel):
16245 * filesets.el (filesets-file-close):
16246 * files.el (list-directory):
16247 * faces.el (list-faces-display, describe-face):
16248 * facemenu.el (list-colors-display):
16249 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16250 * epg.el (epg--process-filter, epg-cancel):
16251 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16252 (epa--read-signature-type):
16253 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16254 (emerge-file-names):
16255 * ehelp.el (electric-helpify):
16256 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16257 * ediff-vers.el (rcs-ediff-view-revision):
16258 * ediff-util.el (ediff-setup):
16259 * ediff-mult.el (ediff-append-custom-diff):
16260 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16262 * echistory.el (Electric-command-history-redo-expression):
16263 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16264 * disp-table.el (describe-display-table):
16265 * dired.el (dired-find-buffer-nocreate):
16266 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16267 * dabbrev.el (dabbrev--same-major-mode-p):
16268 * chistory.el (list-command-history):
16269 * apropos.el (apropos-documentation):
16270 * allout.el (allout-obtain-passphrase):
16271 (allout-copy-exposed-to-buffer):
16272 (allout-verify-passphrase): Use with-current-buffer.
16274 2009-11-13 Glenn Morris <rgm@gnu.org>
16276 * Makefile.in (ELCFILES): Regenerate.
16278 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16280 * net/dbus.el (dbus-registered-objects-table): Rename from
16281 `dbus-registered-functions-table', because it contains also properties.
16282 (dbus-unregister-object): Unregister also properties.
16283 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16284 Use a timeout of 500 msec, in order to not block.
16285 (dbus-register-property, dbus-property-handler): New defuns.
16287 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16289 * simple.el (minibuffer-default-add-completions): Drop deprecated
16292 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16294 * textmodes/artist.el (artist-mouse-choose-operation):
16295 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16296 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16297 (artist-compute-up-event-key): New function.
16298 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16300 2009-11-13 Kenichi Handa <handa@m17n.org>
16302 * language/japan-util.el: Make sure that the value of jisx0208
16303 property is jisx0208 character.
16305 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16307 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16308 car or each item, not the whole list.
16310 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16312 * minibuffer.el (minibuffer-completion-help):
16313 Use minibuffer-hide-completions.
16315 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16317 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16318 (dired-revert): Use them (bug#4880).
16320 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16322 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16324 2009-11-12 Juri Linkov <juri@jurta.org>
16326 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16328 (find-file-literally-at-point): Alias of `ffap-literally'.
16330 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16332 * textmodes/ispell.el (ispell-skip-region-alist):
16333 * textmodes/css-mode.el (auto-mode-alist):
16334 * progmodes/compile.el (auto-mode-alist):
16335 * international/mule.el (ctext-non-standard-encodings-alist)
16336 (ctext-non-standard-encodings-regexp):
16337 * simple.el (shell-command-switch, text-read-only):
16338 * replace.el (occur-mode-map):
16339 * paths.el (rmail-file-name):
16340 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16341 * find-file.el (ff-special-constructs):
16342 * files.el (file-name-handler-alist):
16343 * composite.el: Purecopy strings.
16345 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16347 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16349 * widget.el (define-widget): Purecopy the docstring.
16350 * international/mule-cmds.el (charset): Do not purecopy the
16351 docstring here, define-widget does it.
16353 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16354 * textmodes/bibtex-style.el (auto-mode-alist):
16355 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16356 * progmodes/compile.el (compile-command):
16357 * language/korea-util.el (default-korean-keyboard):
16358 * international/mule-conf.el (file-coding-system-alist):
16359 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16360 * tooltip.el (tooltip-frame-parameters):
16361 * newcomment.el (comment-end, comment-padding):
16362 * dired.el (dired-trivial-filenames):
16363 * comint.el (comint-file-name-prefix): Purecopy initial values.
16365 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16367 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16368 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16370 (tramp-advice-make-auto-save-file-name)
16371 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16372 after removing the advice.
16374 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16376 * progmodes/grep.el (grep-regexp-alist):
16377 * international/mule-cmds.el (iso-2022-control-alist):
16378 * emacs-lisp/timer.el (timer-duration-words):
16379 * subr.el (version-separator, version-regexp-alist):
16380 * minibuffer.el (completion-styles-alist):
16381 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16382 Change defvars to defconsts.
16384 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16385 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16386 * international/mule-conf.el: Allow to be byte compiled.
16388 * international/mule.el (define-charset): Purecopy props.
16389 (load-with-code-conversion): Purecopy doc string and file name.
16390 (put-charset-property): Purecopy strings.
16391 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16393 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16394 (define-char-code-property): Correctly purecopy the table.
16396 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16398 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16400 * subr.el (add-hook): Purecopy strings.
16401 (eval-after-load): Purecopy load-history-regexp and the form.
16403 * custom.el (custom-declare-group): Purecopy load-file-name.
16405 * subr.el (menu-bar-separator): New defconst.
16406 * net/eudc.el (eudc-tools-menu):
16407 * international/mule-cmds.el (set-coding-system-map)
16408 (mule-menu-keymap):
16409 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16410 * vc-hooks.el (vc-menu-map):
16411 * replace.el (occur-mode-map):
16412 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16413 (menu-bar-edit-menu, menu-bar-goto-menu)
16414 (menu-bar-custom-menu, menu-bar-showhide-menu)
16415 (menu-bar-options-menu, menu-bar-tools-menu)
16416 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16417 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16418 (menu-bar-help-menu):
16419 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16420 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16422 * term/x-win.el (x-gtk-stock-map):
16423 * progmodes/vera-mode.el (auto-mode-alist):
16424 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16425 (inferior-lisp-program, inferior-lisp-load-command):
16426 * progmodes/hideshow.el (hs-special-modes-alist):
16427 * progmodes/gud.el (same-window-regexps):
16428 * progmodes/grep.el (grep-program, find-program, xargs-program):
16429 * net/telnet.el (same-window-regexps):
16430 * net/rlogin.el (same-window-regexps):
16431 * language/ethiopic.el (font-ccl-encoder-alist):
16432 * vc-sccs.el (vc-sccs-master-templates):
16433 * vc-rcs.el (vc-rcs-master-templates):
16434 * subr.el (cl-assertion-failed):
16435 * simple.el (next-error-overlay-arrow-position):
16436 * lpr.el (lpr-command):
16437 * locate.el (locate-ls-subdir-switches):
16438 * info.el (same-window-regexps, info)
16439 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16440 * image-mode.el (image-mode, auto-mode-alist):
16441 * hippie-exp.el (hippie-expand-ignore-buffers):
16442 * format.el (format-alist):
16443 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16445 * facemenu.el (facemenu-keybindings):
16446 * dired.el (dired-listing-switches, dired-chown-program):
16447 * diff.el (diff-switches, diff-command):
16448 * cus-edit.el (same-window-regexps):
16449 * bindings.el (mode-line-mule-info)
16450 (mode-line-buffer-identification): Purecopy strings.
16452 2009-11-11 Juri Linkov <juri@jurta.org>
16454 * simple.el (dired-get-filename) <declare-function>:
16455 Tell the byte-compiler about dired-get-filename.
16456 (shell-command): In Dired mode, get filename from the current line
16457 as the default value.
16459 2009-11-10 Glenn Morris <rgm@gnu.org>
16461 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16462 * calendar/holidays.el, progmodes/cperl-mode.el:
16463 Update x-popup-menu declarations.
16465 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16466 (list-load-path-shadows): Use dolist.
16467 (list-load-path-shadows): Use with-current-buffer.
16469 2009-11-10 Juri Linkov <juri@jurta.org>
16471 * minibuffer.el (read-file-name): Support a list of default values
16472 in `default-filename'. Use the first file name where only one
16473 element is required. Doc fix.
16475 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16477 * net/dbus.el (dbus-unregister-object): Release service, if no
16478 other method is registered for it.
16480 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16482 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16483 bookmark-sort-flag is non-nil (Bug#4653).
16485 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16487 * emulation/cua-base.el: Add CUA property to some CC mode commands
16490 2009-11-08 Kevin Ryde <user42@zip.com.au>
16492 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16493 at end of sentence (Bug#4818).
16495 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16497 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16498 Handle "see declaration of" MSFT statements (Bug#4100).
16500 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16502 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16503 (tramp-advice-file-expand-wildcards): Unload via
16504 `ad-remove-advice'.
16506 * net/trampver.el: Update release number.
16508 2009-11-08 Kevin Ryde <user42@zip.com.au>
16510 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16513 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16515 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16516 in order to keep context in SELinux.
16518 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16520 * dired-aux.el (dired-query): Place cursor in echo area and allow
16523 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16524 menu item if not on a directory (Bug#4701).
16526 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16528 Sync with Tramp 2.1.17.
16530 * net/tramp.el (tramp-handle-copy-directory): Don't use
16531 `file-remote-p' (due to compatibility).
16533 * net/tramp-compat.el (tramp-compat-copy-directory)
16534 (tramp-compat-delete-directory): New defuns.
16536 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16537 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16538 Use `tramp-compat-delete-directory'.
16540 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16541 (tramp-smb-handle-delete-directory):
16542 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16544 * net/trampver.el: Update release number.
16546 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16548 * tar-mode.el (tar-copy): Call write-region on the right buffer
16551 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16552 by hand, if necessary (Bug#4878).
16554 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16556 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16557 align size column (Bug#4839).
16559 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16562 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16564 * progmodes/ld-script.el (auto-mode-alist):
16565 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16567 * cus-face.el (custom-declare-face): Purecopy face spec.
16569 2009-11-06 Kenichi Handa <handa@m17n.org>
16571 * international/uni-bidi.el: Re-generated.
16572 * international/uni-category.el: Re-generated.
16573 * international/uni-combining.el: Re-generated.
16574 * international/uni-mirrored.el: Re-generated.
16576 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16578 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16579 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16580 (tex-start-options, slitex-run-command, latex-run-command)
16581 (tex-run-command, tex-directory):
16582 * textmodes/ispell.el (ispell-html-skip-alists)
16583 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16584 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16585 (adaptive-fill-regexp):
16586 * textmodes/dns-mode.el (auto-mode-alist):
16587 * progmodes/python.el (interpreter-mode-alist):
16588 * progmodes/etags.el (tags-compression-info-list):
16589 * progmodes/etags.el (tags-file-name):
16590 * net/browse-url.el (browse-url-galeon-program)
16591 (browse-url-firefox-program):
16592 * mail/sendmail.el (mail-signature-file)
16593 (mail-citation-prefix-regexp):
16594 * international/mule-conf.el (eight-bit):
16595 * international/latexenc.el (latex-inputenc-coding-alist):
16596 * international/fontset.el (x-pixel-size-width-font-regexp):
16597 * emacs-lisp/warnings.el (warning-type-format):
16598 * emacs-lisp/trace.el (trace-buffer):
16599 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16600 (emacs-lisp-mode-map):
16601 * calendar/holidays.el (holiday-solar-holidays)
16602 (holiday-bahai-holidays, holiday-islamic-holidays)
16603 (holiday-christian-holidays, holiday-hebrew-holidays)
16604 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16605 (hebrew-holidays-1, holiday-oriental-holidays)
16606 (holiday-general-holidays):
16607 * x-dnd.el (x-dnd-known-types):
16608 * tool-bar.el (tool-bar):
16609 * startup.el (site-run-file):
16610 * shell.el (shell-dumb-shell-regexp):
16611 * rfn-eshadow.el (file-name-shadow-tty-properties)
16612 (file-name-shadow-properties):
16613 * paths.el (remote-shell-program, news-directory):
16614 * mouse.el ([C-down-mouse-3]):
16615 * menu-bar.el (menu-bar-tools-menu):
16616 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16617 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16618 (jka-compr-compression-info-list):
16619 * isearch.el (search-whitespace-regexp):
16620 * image-file.el (image-file-name-extensions):
16621 * find-dired.el (find-ls-option):
16622 * files.el (directory-listing-before-filename-regexp)
16623 (directory-free-space-args, insert-directory-program)
16624 (list-directory-brief-switches, magic-fallback-mode-alist)
16625 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16626 (automount-dir-prefix):
16627 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16628 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16629 (face-font-registry-alternatives, face-font-registry-alternatives)
16630 (face-font-family-alternatives):
16631 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16632 (facemenu-foreground-menu, facemenu-face-menu):
16633 * epa-hook.el (epa-file-name-regexp):
16634 * dnd.el (dnd-protocol-alist):
16635 * textmodes/rst.el (auto-mode-alist):
16636 * button.el (default-button): Purecopy strings.
16638 2009-11-06 Glenn Morris <rgm@gnu.org>
16640 * Makefile.in (ELCFILES): Update.
16642 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16644 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16645 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16647 * nxml/xsd-regexp.el (xsdre-gen-categories):
16648 * nxml/xmltok.el (xmltok-parse-entity):
16649 * nxml/rng-parse.el (rng-parse-validate-file):
16650 * nxml/rng-maint.el (rng-format-manual)
16651 (rng-manual-output-force-new-line):
16652 * nxml/rng-loc.el (rng-save-schema-location-1):
16653 * nxml/rng-cmpct.el (rng-c-parse-file):
16654 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16655 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16657 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16659 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16660 Remove extra save-excursions and make-variable-buffer-local's.
16661 Suggested by Stefan Monnier.
16663 (verilog-getopt-file, verilog-module-inside-filename-p)
16664 (verilog-set-define): Merge GNU 1.35 and repair changes from
16665 switching to using with-current-buffer.
16667 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16668 being treated as a number and confusing AUTORESET.
16669 Reported by Dan Dever.
16671 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16672 Add verilog-auto-ignore-concat to fix backward compatibility with
16673 older verilog-modes. Reported by Dan Katz.
16675 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16676 containing closing anchors "...$".
16678 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16679 Reported by Wade Smith.
16681 (verilog-batch-execute-func): Comment on function usage.
16683 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16685 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16688 (verilog-label-re, verilog-calc-1): Support proper indent of named
16691 (verilog-backward-token, verilog-basic-complete-re)
16692 (verilog-beg-of-statement, verilog-indent-re): Support proper
16693 indent of the assert statement at the beginning of a block of text.
16695 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16696 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16699 2009-11-05 Glenn Morris <rgm@gnu.org>
16701 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16702 Emacs 19. (Bug#1531)
16703 (byte-compile-fix-header): Update for the above change.
16704 Drop test for epoch::version.
16706 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16707 * cus-dep.el (custom-make-dependencies):
16708 * finder.el (finder-compile-keywords):
16709 Use autoload-rubric's feature argument.
16711 * calendar/diary-lib.el (top-level): Make load behave more like require.
16713 * vc-git.el (vc-git-stash-map): Move definition before use.
16715 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
16717 * custom.el (custom-declare-group): Purecopy standard-value.
16718 (custom-declare-group): Purecopy custom-prefix.
16720 * international/mule.el (load-with-code-conversion):
16721 Call do-after-load-evaluation unconditionally.
16723 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16725 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16727 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16729 2009-11-04 Glenn Morris <rgm@gnu.org>
16731 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16732 (byte-compile-compatibility): Remove option.
16733 (byte-compile-close-variables, byte-compile-fix-header)
16734 (byte-compile-insert-header, byte-compile-output-docform)
16735 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16736 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16737 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16738 (byte-compile-insert, byte-compile-defun):
16739 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
16740 (byte-defop-compiler19): Remove.
16741 Without byte-compile-compatibility, the 'emacs19-opcode property is not
16742 used by anything. Replace all calls with byte-defop-compiler.
16744 2009-11-04 Juri Linkov <juri@jurta.org>
16746 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16747 (menu-bar-options-menu): Don't quote the `prop' arg of
16748 `menu-bar-make-mm-toggle'.
16750 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
16752 * calendar/calendar.el (cal-loaddefs):
16753 * calendar/diary-lib.el (diary-loaddefs):
16754 * calendar/holidays.el (hol-loaddefs):
16755 * eshell/esh-module.el (esh-groups): Load rather than require.
16757 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16759 * calendar/todo-mode.el (todo-add-category): Don't hardcode
16761 (todo-top-priorities): Only display-buffer when called interactively.
16762 (todo-item-start): Don't save excursion point.
16763 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
16764 (todo-insert-item-here, todo-file-item, todo-remove-item):
16765 Adjust uses of todo-item-start and todo-item-end.
16767 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16768 (autoload-rubric): Don't use any more.
16770 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16771 and only put a prop if it is non-nil.
16773 2009-11-03 Juri Linkov <juri@jurta.org>
16775 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16776 (menu-bar-options-menu): Fix list quoting (Bug#4429).
16778 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16779 and "Menu" to make top-level menu item visually one unit (like
16780 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16781 multi-word menu items). Fix :help string for quit-window.
16783 2009-11-03 Glenn Morris <rgm@gnu.org>
16785 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16786 (byte-compile-file-form-define-abbrev-table)
16787 (byte-compile-file-form-custom-declare-variable)
16788 (byte-compile-variable-ref, byte-compile-defvar):
16789 Whether or not a warning is enabled should only affect whether we issue
16790 the warning, not whether or not we collect the relevant data.
16791 Eg warnings can be turned on and off throughout the course of a file.
16793 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16794 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16796 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16798 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16799 * play/mpuz.el (mpuz-create-buffer):
16800 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16801 (lm-print-y,s,noise, lm-print-w0, lm-init):
16802 * play/gomoku.el (gomoku-prompt-for-move):
16803 * play/fortune.el (fortune-in-buffer):
16804 * play/dissociate.el (dissociated-press):
16805 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16806 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16807 * mail/supercite.el (sc-eref-show):
16808 * mail/smtpmail.el (smtpmail-send-it):
16809 * mail/rmailsum.el (rmail-summary-next-labeled-message)
16810 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16811 (rmail-summary-undelete-many, rmail-summary-rmail-update)
16812 (rmail-summary-goto-msg, rmail-summary-expunge)
16813 (rmail-summary-get-new-mail, rmail-summary-search-backward)
16814 (rmail-summary-add-label, rmail-summary-output-menu)
16815 (rmail-summary-output-body):
16816 * mail/rfc822.el (rfc822-addresses):
16817 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16818 * mail/mailpost.el (post-mail-send-it):
16819 * mail/hashcash.el (hashcash-generate-payment):
16820 * mail/feedmail.el (feedmail-run-the-queue)
16821 (feedmail-queue-send-edit-prompt-help-first)
16822 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16823 (feedmail-deduce-address-list):
16824 * eshell/esh-ext.el (eshell-remote-command):
16825 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16826 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16827 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16828 (viper-save-string-in-file, viper-valid-marker):
16829 * emulation/viper-keym.el (viper-toggle-key):
16830 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16831 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16832 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16833 * emulation/viper-cmd.el (viper-exec-form-in-vi)
16834 (viper-exec-form-in-emacs, viper-brac-function):
16835 * emulation/viper.el (viper-delocalize-var):
16836 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16837 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16838 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16839 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16840 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16841 * emulation/edt.el (edt-electric-helpify):
16842 * emulation/cua-rect.el (cua--rectangle-aux-replace):
16843 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16844 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16845 (cua-indent-to-global-mark-column):
16846 * calendar/diary-lib.el (calendar-mark-1):
16847 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16848 Use with-current-buffer.
16849 * emulation/viper.el (viper-delocalize-var): Use dolist.
16851 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
16853 * comint.el (comint-replace-by-expanded-history-before-point):
16854 Replace !! with the previous input string literally (Bug#1795).
16856 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
16858 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16859 to be made up of whitespace.
16861 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
16863 * minibuffer.el (read-file-name): Don't use file dialogs for
16864 remote directories (Bug#99).
16866 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
16868 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16870 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
16872 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16873 instead of deleting the window or frame.
16875 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16877 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16878 Support face colors.
16880 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16881 New function. Support face colors (Bug#1168).
16882 (tex-common-initialization): Use it.
16884 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16885 mode allows it (Bug#1168).
16887 2009-10-31 Juri Linkov <juri@jurta.org>
16889 * facemenu.el (list-colors-display): Don't mark buffer as
16890 modified (Bug#3948).
16892 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
16894 * international/mule-diag.el (list-character-sets-1):
16895 Minor message fix (Bug#3526).
16897 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16898 Fix face property (Bug#4834).
16899 (etags-list-tags, etags-tags-apropos-additional)
16900 (etags-tags-apropos, tags-select-tags-table): Add follow-link
16903 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16906 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
16908 * textmodes/two-column.el (2C-split):
16909 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16910 * textmodes/tex-mode.el (tex-set-buffer-directory):
16911 * textmodes/spell.el (spell-region, spell-string):
16912 * textmodes/reftex.el (reftex-erase-buffer):
16913 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16914 * textmodes/reftex-toc.el (reftex-toc-promote-action):
16915 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16916 (reftex-select-item):
16917 * textmodes/reftex-ref.el (reftex-label-info-update)
16918 (reftex-offer-label-menu):
16919 * textmodes/reftex-index.el (reftex-index-change-entry)
16920 (reftex-index-phrases-info):
16921 * textmodes/reftex-global.el (reftex-create-tags-file)
16922 (reftex-save-all-document-buffers, reftex-ensure-write-access):
16923 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16924 (reftex-view-crossref-from-bibtex):
16925 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16926 (reftex-extract-bib-entries-from-thebibliography)
16927 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16928 * textmodes/refbib.el (r2b-capitalize-title):
16929 (r2b-convert-buffer, r2b-help):
16930 * textmodes/page-ext.el (pages-directory)
16931 (pages-directory-goto-with-mouse):
16932 * textmodes/bibtex.el (bibtex-validate-globally):
16933 * textmodes/bib-mode.el (bib-capitalize-title):
16934 * textmodes/artist.el (artist-clear-buffer, artist-system):
16935 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16936 (local-set-scheme-interaction-buffer, xscheme-process-filter)
16937 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16938 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16939 (xscheme-send-control-g-interrupt, xscheme-start-process)
16940 (xscheme-process-sentinel, xscheme-cd):
16941 * progmodes/verilog-mode.el (verilog-read-always-signals)
16942 (verilog-set-define, verilog-getopt-file)
16943 (verilog-module-inside-filename-p):
16944 * progmodes/sh-script.el:
16945 * progmodes/python.el (python-pdbtrack-get-source-buffer)
16946 (python-pdbtrack-grub-for-buffer, python-execute-file):
16947 * progmodes/octave-inf.el (inferior-octave):
16948 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16949 (idlwave-shell-compile-helper-routines, idlwave-set-local)
16950 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16951 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16952 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16953 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16954 (idlwave-shell-filter, idlwave-shell-examine-highlight)
16955 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16956 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16957 (idlwave-shell-examine-display, idlwave-shell-run-region)
16958 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16959 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16960 * progmodes/idlw-help.el (idlwave-help-get-special-help)
16961 (idlwave-help-get-help-buffer):
16962 * progmodes/gud.el (gud-basic-call, gud-find-class)
16963 (gud-tooltip-activate-mouse-motions-if-enabled):
16964 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16965 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16966 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16967 (ebrowse-tags-next-file):
16968 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16969 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16970 (ebnf-eps-finish-and-write):
16971 * progmodes/cpp.el (cpp-edit-save):
16972 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16973 * progmodes/cc-defs.el (c-emacs-features):
16974 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16975 (antlr-directory-dependencies):
16976 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16977 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16978 (ada-find-any-references, ada-make-filename-from-adaname)
16979 (ada-make-body-gnatstub):
16980 * obsolete/rnews.el (news-list-news-groups):
16981 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16982 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16983 * net/rcirc.el (rcirc-debug):
16984 * net/newst-treeview.el (newsticker--treeview-list-add-item)
16985 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16986 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16987 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16988 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16989 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16990 (newsticker--treeview-list-clear-highlight)
16991 (newsticker--treeview-list-update-highlight)
16992 (newsticker--treeview-list-highlight-start)
16993 (newsticker--treeview-tree-update-highlight)
16994 (newsticker--treeview-get-selected-item)
16995 (newsticker-treeview-mark-list-items-old)
16996 (newsticker--treeview-set-current-node):
16997 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16998 * net/newst-backend.el (newsticker--get-news-by-funcall)
16999 (newsticker--get-news-by-wget, newsticker--image-get)
17000 (newsticker--image-sentinel):
17001 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17002 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17003 (eudc-ph-close-session):
17004 * net/eudc.el (eudc-save-options):
17005 * language/thai-word.el (thai-update-word-table):
17006 * language/japan-util.el (japanese-string-conversion):
17007 * international/titdic-cnv.el (tsang-quick-converter)
17008 (ziranma-converter, ctlau-converter):
17009 * international/mule-cmds.el (describe-language-environment):
17010 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17011 (skkdic-convert-postfix, skkdic-convert-prefix):
17012 (skkdic-convert-okuri-nasi, skkdic-convert):
17013 * emacs-lisp/re-builder.el (reb-update-overlays):
17014 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17015 * emacs-lisp/gulp.el (gulp-send-requests):
17016 * emacs-lisp/find-gc.el (trace-call-tree):
17017 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17018 (eieio-describe-generic):
17019 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17020 * emacs-lisp/edebug.el (edebug-outside-excursion):
17021 * emacs-lisp/debug.el (debugger-make-xrefs):
17022 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17023 * emacs-lisp/chart.el (chart-new-buffer):
17024 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17025 Use with-current-buffer.
17026 * textmodes/artist.el (artist-system): Don't call
17027 copy-sequence on a fresh string.
17028 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17030 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17032 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17033 is no item to edit. (Bug#4820)
17034 (todo-top-priorities): Restore point and restore narrowing in Todo
17037 2009-10-31 Glenn Morris <rgm@gnu.org>
17039 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17040 (comint-last-output-start, comint-last-input-start)
17041 (comint-last-input-end): Don't defvar when compiling.
17042 (ange-ftp-process-file): Use bound-and-true-p.
17044 * pcmpl-rpm.el (top-level): Move provide statement to end.
17045 (pcmpl-rpm): Remove unused custom group.
17047 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17049 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17051 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17052 (byte-compile-warnings): Add `constants' as an option.
17053 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17054 (display-call-tree): Update for byte-compile-fdefinition possibly
17055 returning `(macro lambda ...)'. (Bug#4778)
17056 (byte-compile-variable-ref, byte-compile-setq-default):
17057 Respect `constants' member of byte-compile-warnings.
17059 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17061 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17062 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17065 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17067 * textmodes/ispell.el (ispell-skip-region-alist):
17068 * international/mule-conf.el (eight-bit):
17069 * international/fontset.el (font-encoding-alist):
17070 * startup.el (pure-space-overflow-message):
17071 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17072 * paths.el (gnus-nntp-service, rmail-spool-directory)
17073 (term-file-prefix):
17074 * files.el (save-some-buffers-action-alist):
17075 * cmuscheme.el (same-window-buffer-names):
17076 * ielm.el (same-window-buffer-names):
17077 * shell.el (same-window-buffer-names):
17078 * mail/sendmail.el (same-window-buffer-names):
17079 * progmodes/inf-lisp.el (same-window-buffer-names):
17080 * bindings.el (mode-line-client)
17081 (mode-line-column-line-number-mode-map):
17082 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17083 (tibetan-precomposed-regexp): Purecopy string arguments.
17085 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17087 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17088 (calcDigit-nondigit):
17089 * calc/calc-yank.el (calc-copy-to-buffer):
17090 * calc/calc-units.el (calc-invalidate-units-table):
17091 * calc/calc-trail.el (calc-trail-yank):
17092 * calc/calc-store.el (calc-insert-variables):
17093 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17094 * calc/calc-prog.el (calc-read-parse-table):
17095 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17096 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17097 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17098 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17099 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17100 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17101 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17102 * calc/calc-ext.el (calc-realign):
17103 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17104 (calc-embedded-finish-edit, calc-embedded-make-info)
17105 (calc-embedded-finish-command, calc-embedded-stack-change):
17106 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17108 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17109 shell-dynamic-complete-filename in preference to
17110 comint-dynamic-complete-filename.
17112 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17113 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17114 Don't consider whether the display supports colors.
17115 (bookmark-import-new-list): Use dolist.
17116 (bookmark-bmenu-mode-map): Move initialization into declaration.
17117 (bookmark-bmenu-list): Use dolist, simplify.
17118 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17119 (menu-bar-final-items): Use push.
17121 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17123 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17124 it works on remote files.
17125 (vc-hg-diff): Don't pass any `--cwd' argument.
17127 2009-10-27 Kevin Ryde <user42@zip.com.au>
17129 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17130 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17131 (Further to Bug#3921).
17133 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17135 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17136 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17137 calling `tramp-imap-put-file'. Add file size to the call.
17138 (tramp-imap-get-file-entries): Compute also user name, file size,
17140 (tramp-imap-handle-insert-directory): Insert uid and gid.
17141 (tramp-imap-handle-file-attributes): Transform uid and gid
17142 according to `id-format'.
17143 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17144 size in header X-Size.
17146 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17148 * simple.el (transpose-subr): Give clearer error when the mark
17149 is not set. (Bug#4807)
17151 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17153 * net/tramp.el (tramp-perl-file-truename): New defconst.
17154 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17155 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17156 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17157 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17159 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17160 Ignore `dired-call-process'.
17161 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17163 2009-10-26 Julian Scheid <julians37@gmail.com>
17165 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17166 (tramp-get-remote-readlink): New defun.
17167 (tramp-handle-file-truename): Use it.
17168 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17169 file exists if cache value present.
17170 (tramp-check-cached-permissions): New defun.
17171 (tramp-handle-file-readable-p): Use it.
17172 (tramp-handle-file-writable-p): Likewise.
17173 (tramp-handle-file-executable-p): Likewise.
17174 (tramp-handle-file-name-all-completions): Try using Perl to get
17175 partial completions. When perl not available, combine `cd' and
17176 `ls' into single remote operation and use shell expansion to get
17177 partial remote directory contents. Set `file-exists-p' cache for
17178 directory and any files returned by ls. Change cache handling to
17179 support partial directory contents. Use error message emitted by
17180 remote `cd' or Perl code for local tramp-error.
17181 (tramp-do-copy-or-rename-file-directly): Avoid separate
17182 tramp-send-command-and-check call.
17183 (tramp-handle-process-file): Merge three remote ops into one.
17184 Do not flush all caches when `process-file-side-effects' is set.
17185 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17186 file-attributes shows uid/gid to be set already.
17188 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17190 * textmodes/tex-mode.el (tex-dvi-view-command)
17191 (tex-show-queue-command, tex-open-quote):
17192 * progmodes/ruby-mode.el (auto-mode-alist)
17193 (interpreter-mode-alist): Purecopy strings.
17195 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17197 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17198 string for the hook, keymap and abbrev table.
17200 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17202 * x-dnd.el (x-dnd-xdnd-to-action):
17203 * startup.el (fancy-startup-text, fancy-about-text): Change to
17204 defconst from defvar.
17206 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17208 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17209 Purecopy initialization strings.
17211 * mail/sendmail.el (mail-header-separator)
17212 (mail-personal-alias-file):
17213 * mail/rmail.el (rmail-default-dont-reply-to-names)
17214 (rmail-ignored-headers, rmail-retry-ignored-headers)
17215 (rmail-highlighted-headers, rmail-secondary-file-directory)
17216 (rmail-secondary-file-regexp):
17217 * files.el (null-device, file-name-invalid-regexp)
17218 (locate-dominating-stop-dir-regexp)
17219 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17220 (interpreter-mode-alist): Use mapcar instead of mapc.
17222 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17224 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17225 (completion-ignored-extensions):
17226 (debug-ignored-errors): Purecopy strings.
17228 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17230 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17231 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17232 (pcomplete--here): Use push.
17234 * subr.el (all-completions): Declare the 4th arg obsolete.
17236 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17238 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17239 (pcomplete-unquote-argument): New function.
17240 (pcomplete--common-suffix): Always pay attention to case.
17241 (pcomplete--table-subvert): Quote and unquote the text.
17242 (pcomplete--common-quoted-suffix): New function.
17243 (pcomplete-std-complete): Use it and pcomplete-begin.
17245 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17246 we're inside a dedicated or minibuffer window.
17248 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17250 * bookmark.el: Update documentation, especially documentation
17251 of `bookmark-alist' and of the bookmark file format.
17252 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17254 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17256 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17257 keybindings apply to the mail buffer (Bug#4003). Shrink help
17260 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17261 (global-whitespace-mode, global-whitespace-newline-mode)
17262 (whitespace-toggle-options, global-whitespace-toggle-options):
17263 Doc fix (Bug#3660).
17265 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17266 of xmltok-start before the end tag was inserted (Bug#2840).
17268 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17269 patterns that are preceded by an open-paren (Bug#1320).
17271 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17273 * files.el (delete-directory): Delete symlinks to directories with
17274 delete-file (Bug#4739).
17276 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17278 * vc.el (vc-backend-for-registration): Rename from
17279 vc-get-backend-for-registration. Update callers.
17281 * international/mule-cmds.el (set-language-info-alist):
17283 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17284 (charset): Purecopy the name.
17285 (define-char-code-property): Purecopy string arguments.
17287 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17288 Purecopy string arguments.
17290 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17291 * ediff-hook.el (menu-bar-ediff-menu):
17292 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17293 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17295 2009-10-24 Glenn Morris <rgm@gnu.org>
17297 * comint.el (comint-dynamic-list-completions):
17298 * term.el (term-dynamic-list-completions): Use choose-completion rather
17299 than obsolete alias mouse-choose-completion.
17301 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17302 file-cache-choose-completion.
17303 (file-cache-choose-completion): Handle an optional event argument.
17304 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17306 * progmodes/octave-mod.el (octave-complete-symbol):
17307 Use choose-completion if mouse-choose-completion is ever removed.
17309 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17312 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17315 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17317 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17319 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17320 Ignore `pred' now that we receive one.
17321 Handle test-completion specially.
17323 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17325 * vc.el (vc-responsible-backend): Throw an error if not backend is
17326 found. Remove the REGISTER argument. Move the code dealing with
17328 (vc-get-backend-for-registration): ... here. New function.
17329 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17330 of vc-responsible-backend, pass the file name instead of the
17333 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17335 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17337 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17338 (pcomplete-comint-setup): Don't modify a global var via
17339 accidental side-effects.
17340 (pcomplete-shell-setup): Adjust call accordingly.
17341 (pcomplete-parse-comint-arguments): Use push.
17343 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17345 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17346 Allow uncapitalized info node names (Bug#3921).
17348 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17349 to the DEBUG file (Bug#3781).
17351 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17353 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17354 dictionary entry (Bug#4579).
17356 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17358 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17359 from `rfn-eshadow-update-overlay-hook' when unloading.
17360 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17361 "rsyncc". Adjust doc string.
17362 (tramp-temp-buffer-file-name): New buffer-local defvar.
17363 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17364 Keep temporary file when indicated by method ("rsync" and
17366 (tramp-handle-write-region): Handle APPEND.
17367 (tramp-delete-temp-file-function): New defun. Added to
17368 `kill-buffer-hook'.
17370 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17372 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17374 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17376 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17377 (color-name-rgb-alist, tty-standard-colors)
17378 (tty-color-mode-alist): Change to defconst.
17380 * simple.el (mark-inactive): Purecopy message.
17382 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17383 (global-map, yank-menu):
17384 * textmodes/ispell.el (ispell-menu-map):
17385 * net/eudc.el (eudc-tools-menu):
17386 * international/mule-cmds.el (describe-language-environment-map)
17387 (setup-language-environment-map, set-coding-system-map)
17388 (mule-menu-keymap):
17389 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17390 * replace.el (occur-mode-map):
17391 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17393 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17395 * calc/calc.el (math-read-number, math-read-number-simple):
17396 Use `save-match-data'.
17398 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17400 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17401 rather than fiddling with global-map bindings, since it should only
17402 affect per-terminal settings.
17403 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17405 * minibuffer.el (completion-table-with-terminator): Allow to specify
17406 the terminator-regexp.
17408 * simple.el (switch-to-completions): Look for *Completions* in other
17411 * pcomplete.el: Allow the use of completion-tables.
17412 (pcomplete-std-complete): New command.
17413 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17414 (pcomplete--here): Use a function for `form' rather than an expression,
17415 so it can be byte-compiled.
17416 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17417 Add edebug declaration.
17418 (pcomplete-show-completions): Remove unused var `curbuf'.
17419 (pcomplete-do-complete, pcomplete-stub):
17420 Don't assume `completions' is a list of strings any more.
17422 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17424 * find-dired.el (find-name-arg): Fix typo in docstring.
17426 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17428 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17429 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17431 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17434 * comint.el (comint-read-input-ring, comint-write-input-ring)
17435 (comint-substitute-in-file-name)
17436 (comint-dynamic-complete-as-filename)
17437 (comint-dynamic-simple-complete)
17438 (comint-dynamic-list-filename-completions)
17439 (comint-dynamic-list-completions)
17440 (comint-redirect-results-list-from-process): Minor simplifications.
17442 2009-10-21 Kevin Ryde <user42@zip.com.au>
17444 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17445 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17446 the first form. And insert a blank line after ";;; Code" since
17447 that's usual style. (Bug#4612)
17449 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17451 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17453 * minibuffer.el (completion-table-with-terminator): Properly implement
17454 boundaries, in case `terminator' appears in the suffix.
17455 (completion--embedded-envvar-table): Don't return boundaries if
17456 there's no valid completion. Simplify.
17457 (completion-file-name-table): New completion table extracted from
17458 completion--file-name-table.
17459 (completion--file-name-table): Use it.
17460 (read-file-name-predicate): Declare obsolete.
17461 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17462 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17463 completion-file-name-table, and use the `pred' argument.
17464 * files.el (locate-file-completion-table): Use the `pred' arg rather
17465 than read-file-name-predicate.
17466 (abbreviate-file-name): Use \` rather than ^ for BOS.
17468 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17470 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17471 vc-responsible-backend to register, it causes problems.
17473 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17475 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17477 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17479 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17480 (tramp-smb-handle-file-attributes): Use it.
17481 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17482 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17483 `mapcar'. Use `tramp-smb-get-stat-capability'.
17484 Add `dired-filename' text properties.
17485 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17486 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17489 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17491 * subr.el (read-key-delay): Reduce to 0.01.
17492 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17495 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17497 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17499 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17500 (Info-menu): Remove unused vars `last' and `completions'.
17501 (Info-index-nodes): Remove unused var `node'.
17503 * info.el (Info-complete-menu-item): Use complete-with-action.
17505 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17507 Make vc-annotate work through copies and renames.
17508 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17509 Return the file name too.
17510 (vc-annotate-revision-at-line)
17511 (vc-annotate-find-revision-at-line)
17512 (vc-annotate-revision-previous-to-line)
17513 (vc-annotate-show-log-revision-at-line): Update to get the file
17514 name from vc-annotate-extract-revision-at-line.
17515 (vc-annotate-show-diff-revision-at-line-internal): Change the
17516 argument to mean whether to show a file diff or not. Get the file
17517 name from vc-annotate-extract-revision-at-line.
17518 (vc-annotate-show-diff-revision-at-line):
17519 Update vc-annotate-show-diff-revision-at-line call.
17520 (vc-annotate-warp-revision): Add an optional file argument.
17522 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17523 (vc-git-annotate-extract-revision-at-line): Also return the file
17526 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17527 command. Remove unused code.
17528 (vc-hg-annotate-re): Update to match --follow output.
17529 (vc-hg-annotate-extract-revision-at-line): Also return the file
17532 * vc.el: Update annotate-extract-revision-at-line documentation.
17534 2009-10-18 Kevin Ryde <user42@zip.com.au>
17536 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17537 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17539 * net/browse-url.el (browse-url): Identify alist with "consp and
17540 not functionp" and let all other things go down the `apply' leg,
17541 as suggested by Stefan. (Further to bug#4531.)
17543 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17545 * minibuffer.el (read-file-name): Check for repeat before putting
17546 a default argument in file-name-history (Bug#4657).
17548 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17549 read syntax (Bug#4737).
17551 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17553 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17555 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17556 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17557 entries and make note of obsolete tags.
17559 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17561 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17563 2009-10-18 Glenn Morris <rgm@gnu.org>
17565 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17566 grep, so that binary files (eg international/uni-bidi.el) can match.
17567 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17568 now, and in any case the file header format has changed.
17570 2009-10-17 Glenn Morris <rgm@gnu.org>
17572 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17573 (flyspell-get-word, flyspell-large-region)
17574 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17576 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17578 * Makefile.in (ELCFILES): Add ede/shell.
17580 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17582 * term/common-win.el (x-colors): Purecopy it.
17584 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17586 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17587 permissive for when the buffer is empty.
17588 (tar-header-block-tokenize): Decode the username and groupname.
17589 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17591 2009-10-17 Eric Ludlam <zappo@gnu.org>
17593 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17594 contains multibyte characters, choose first applicable coding
17595 system automatically.
17597 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17599 * international/mule-cmds.el (select-safe-coding-system): If the file
17600 has a coding cookie, use it regardless of any other setting (bug#4712).
17602 2009-10-17 Glenn Morris <rgm@gnu.org>
17604 * foldout.el (foldout-mouse-swallow-events):
17605 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17607 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17608 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17609 (dired-keep-marker-symlink, dired-dwim-target)
17610 (dired-copy-preserve-time): Do not autoload these defcustoms.
17612 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17613 messages from messing up the file coding. (Bug#4623)
17615 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17617 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17618 if no match is found for the current dictionary. (Bug#4578)
17620 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17621 optional, since that is how it is documented, and this is often called
17622 with a nil argument. (Bug#4577)
17623 (flyspell-external-point-words, flyspell-auto-correct-word)
17624 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17625 (flyspell-word-search-backward): Remove nil argument in calls to
17626 flyspell-get-word, since it is not needed now.
17628 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17630 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17632 2009-10-16 Glenn Morris <rgm@gnu.org>
17634 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17636 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17638 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17639 (ange-ftp-file-size): New function.
17640 (ange-ftp-file-attributes): Use it.
17642 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17644 * net/tramp-smb.el (tramp-smb-version): New defvar.
17645 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17648 2009-10-16 Glenn Morris <rgm@gnu.org>
17650 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17651 Maybe copy some custom properties from old to new name. (Bug#4706)
17653 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17655 * subr.el (error, sit-for, start-process-shell-command)
17656 (start-file-process-shell-command): Set the calling convention
17657 after the function definition.
17659 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17661 * subr.el (error, sit-for, start-process-shell-command)
17662 (start-file-process-shell-command): Use the new
17663 set-advertised-calling-convention feature.
17665 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17667 * international/ucs-normalize.el (ucs-normalize-version):
17669 (check-range): Adjust for Unicode 5.2.
17671 2009-10-15 Juri Linkov <juri@jurta.org>
17673 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17674 to the `menu-item' format.
17676 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17678 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17679 if the environment variable does not exist.
17681 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17682 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17684 (tramp-smb-handle-add-name-to-file)
17685 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17686 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17687 (tramp-smb-handle-file-attributes)
17688 (tramp-smb-do-file-attributes-with-stat)
17689 (tramp-smb-handle-file-local-copy)
17690 (tramp-smb-handle-insert-directory)
17691 (tramp-smb-handle-make-directory)
17692 (tramp-smb-handle-make-directory-internal)
17693 (tramp-smb-handle-make-symbolic-link)
17694 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17695 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17696 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17697 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17698 Handle long file names.
17699 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17700 process is running.
17701 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17702 Read share names with "-g" option.
17704 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17706 * net/rcirc.el (rcirc-view-log-file): New command.
17707 (rcirc-track-minor-mode-map): Remove C-c ` binding.
17708 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17711 2009-10-15 Glenn Morris <rgm@gnu.org>
17713 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17714 from the second command-line argument.
17715 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17716 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17717 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17718 w32-batch-update-autoloads.
17719 * emacs-lisp/autoload.el (autoload-make-program): New variable.
17720 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17722 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17723 the headers cannot be located. Simplify, subtracting superflous
17726 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
17728 Replace completion-base-size by completion-base-position to fix bugs
17729 such as (bug#4699).
17730 * simple.el (completion-base-position): New var.
17731 (completion-base-size): Mark as obsolete.
17732 (choose-completion): Make it work for mouse events as well.
17733 Pass the new base-position to choose-completion-string.
17734 (choose-completion-guess-base-position): New function, extracted from
17735 choose-completion-delete-max-match.
17736 (choose-completion-delete-max-match): Use it. Make obsolete.
17737 (choose-completion-string): Use the new base-position info.
17738 (completion-root-regexp): Delete.
17739 (completion-setup-function): Preserve completion-base-position.
17740 Eliminate obsolete base-size manipulation.
17741 * minibuffer.el (display-completion-list): Don't mess with base-size.
17742 (minibuffer-completion-help): Set completion-base-position instead.
17743 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17745 * textmodes/bibtex.el (bibtex-complete):
17746 * emacs-lisp/crm.el (crm--choose-completion-string):
17747 Adjust to new calling convention.
17748 * complete.el (partial-completion-mode): Use minibufferp to avoid
17749 bumping into incompatible change to choose-completion-string-functions.
17750 * ido.el (ido-choose-completion-string): Make its calling convention
17752 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17753 base-size manipulation.
17754 (comint-dynamic-list-input-ring): Use dotimes and push.
17755 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17756 fundamental-mode. Use `or'.
17758 2009-10-14 Juri Linkov <juri@jurta.org>
17760 * misearch.el (multi-isearch-next-buffer-from-list)
17761 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
17763 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17765 * Makefile.in (compile-onefile): Load `bytecomp' rather than
17768 * minibuffer.el (completion-pcm--merge-completions): Make sure the
17769 string we return is all made up of text from the completions rather
17770 than part from the completions and part from the input (bug#4219).
17772 * ido.el (ido-everywhere): Use define-minor-mode.
17774 * buff-menu.el (list-buffers, ctl-x-map):
17775 Mark the entry points with ;;;###autoload cookies.
17777 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
17779 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17780 correctly in the detached head case.
17781 (vc-git-print-log): Remove unused binding.
17783 * vc.el (vc-responsible-backend): When a directory is passed for
17784 for registration create a VC repository if no backend is
17785 responsible for the directory argument.
17786 (vc-deduce-fileset): Tell vc-responsible-backend to register.
17788 * vc.el: Move comments about RCS and SCCS ...
17790 * vc-sccs.el: ... here, respectively.
17792 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17794 * minibuffer.el (completion--file-name-table): Return nil if there's
17795 no file completion, even if substitute-in-file-name changed
17796 the string (bug#4708).
17798 2009-10-13 Juri Linkov <juri@jurta.org>
17800 * files-x.el (read-file-local-variable-value): Don't filter out
17801 minor modes from mode name completion (bug#4664).
17803 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17805 * international/mule-cmds.el (ucs-names): Remove exclusion of
17806 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17808 2009-10-13 Kenichi Handa <handa@m17n.org>
17810 * international/uni-name.el: Regenerated.
17812 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
17814 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
17815 should be automatically buffer-local, but isn't.)
17817 2009-10-12 Sam Steingold <sds@gnu.org>
17819 * progmodes/compile.el (compilation-next-error-function): Fix the
17820 timestamps if the buffer has been visited before.
17821 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17822 non-anchored patterns, like the perl one (bug#3928).
17824 2009-10-12 Glenn Morris <rgm@gnu.org>
17826 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17829 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
17831 * proced.el (proced-unload-function): New function.
17833 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17834 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17837 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17839 2009-10-11 Juri Linkov <juri@jurta.org>
17841 * files-x.el (read-file-local-variable-value):
17842 Provide default value only for bound variables (bug#4664).
17844 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
17846 * net/tramp.el (tramp-local-host-p): Function shall return nil for
17847 connection methods like smb.
17849 * net/tramp-cache.el (tramp-flush-connection-property): The hash
17852 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17853 (tramp-smb-file-name-handler-alist): Add handlers for
17854 `add-name-to-file', `make-symbolic-link'.
17855 (tramp-smb-handle-add-name-to-file)
17856 (tramp-smb-do-file-attributes-with-stat)
17857 (tramp-smb-handle-make-symbolic-link)
17858 (tramp-smb-get-cifs-capabilities): New defuns.
17859 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17860 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17861 (tramp-smb-handle-file-local-copy)
17862 (tramp-smb-handle-make-directory-internal)
17863 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17864 The file name syntax depends on cifs capabilities.
17865 (tramp-smb-handle-file-attributes):
17866 Call `tramp-smb-do-file-attributes-with-stat' if possible.
17867 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17868 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17870 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
17872 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17873 (eieio-defclass): Apply deftype handler and setf-method properties
17875 (eieio-add-new-slot): Avoid union function from cl library.
17876 (eieio--typep): New function.
17877 (eieio-perform-slot-validation): Use it.
17879 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17881 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17882 Update documentation to refer to the variables documented in r1.135.
17885 2009-10-10 Karl Fogel <kfogel@red-bean.com>
17887 * bookmark.el (Info-suffix-list): Remove this unused variable.
17888 (bookmark-current-point): Remove this obsolete variable.
17889 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17890 Adjust for removal of bookmark-current-point.
17892 (bookmarks-already-loaded, bookmark-current-buffer)
17893 (bookmark-yank-point): Document. (Bug#4188)
17895 2009-10-10 Glenn Morris <rgm@gnu.org>
17897 * frame.el (frame-height): Doc fix.
17899 * calendar/calendar.el (calendar-split-width-threshold): New option.
17900 (calendar-basic-setup): Use calendar-split-width-threshold.
17902 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
17904 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17905 Ideographic Supplement" range (U+1F200..U+1F2FF).
17907 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17909 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17910 since the list will have been rebuilt anyway. (Bug#4349)
17912 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17914 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17915 (bookmark-bmenu-execute-deletions): Don't save here, as
17916 bookmark-delete will now do so if necessary.
17917 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17920 2009-10-09 Glenn Morris <rgm@gnu.org>
17922 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17924 2009-10-09 Karl Fogel <kfogel@red-bean.com>
17926 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17927 (bookmark-jump-other-window): Just invoke bookmark-jump with new
17928 argument now, so the two function's behaviors will match. (Bug#3645)
17930 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
17932 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17933 (tramp-file-name-real-host, tramp-file-name-port):
17934 Apply `save-match-data'.
17936 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17937 case both directories are remote.
17938 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17939 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17941 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17943 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17945 2009-10-07 Glenn Morris <rgm@gnu.org>
17947 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17950 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17952 * files-x.el (read-file-local-variable): Include some
17953 non-user-variables in the completion table (bug#4664).
17955 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
17957 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17960 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17961 (tramp-smb-file-name-handler-alist): Add handler for
17962 `copy-directory', `expand-file-name', `set-file-modes'.
17963 (tramp-smb-handle-copy-directory)
17964 (tramp-smb-handle-expand-file-name)
17965 (tramp-smb-handle-set-file-modes): New defuns.
17966 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17967 (tramp-smb-handle-file-attributes): Simplify check for retrieving
17969 (tramp-smb-handle-insert-directory): Don't flush the cache.
17970 (tramp-smb-maybe-open-connection): Check for samba client and
17973 2009-10-07 Eli Zaretskii <eliz@gnu.org>
17975 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17976 to not error out of search for "^lisp=" fails.
17978 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
17980 * makefile.w32-in (WINS_UPDATES): New macro.
17981 (custom-deps, finder-data, autoloads): Use it.
17983 2009-10-07 Glenn Morris <rgm@gnu.org>
17985 * Makefile.in (autoloads): Revert previous change.
17986 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17987 the list of preloaded files passed on the command-line, get
17988 it from src/Makefile.
17990 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17991 show the original buffer rather than a random one.
17993 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
17995 * help.el (describe-no-warranty): Place point in a slightly better
17996 position in the GPLv3 text.
17998 2009-10-06 Sam Steingold <sds@gnu.org>
18000 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18001 the comm attribute is present before calling regexp-quote.
18003 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18005 * play/animate.el (animate-string): For good effect, make sure
18006 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18008 * play/animate.el (animate-sequence, animate-birthday-present):
18009 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18011 2009-10-06 Glenn Morris <rgm@gnu.org>
18013 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18015 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18016 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18017 (batch-update-autoloads): Process a string value of autoload-excludes,
18018 set during the build process.
18019 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18021 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18022 inside with-parsed... macro so that `v' is defined.
18024 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18025 * progmodes/fortran.el (fortran-end-of-block)
18026 (fortran-beginning-of-block):
18027 Also push mark in the macro case.
18029 * emerge.el (emerge-show-file-name):
18030 * calc/calc.el (calc-quit):
18031 * calc/calc-misc.el (calc-big-or-small):
18032 * calc/calc-graph.el (calc-graph-view):
18033 * calc/calc-ext.el (calc-reset):
18034 * calendar/calendar.el (calendar-basic-setup):
18035 Use window-full-height-p.
18037 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18038 header we don't understand, don't insert another. (Bug#4624)
18039 If changing mime charset, insert the new one in the right place.
18041 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18043 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18044 (cal-tex-cursor-month): Correctly increment the end date for diary and
18045 holiday listing. (Bug#4626)
18047 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * help-fns.el (describe-function-1): Don't burp if the function is not
18052 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18054 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18055 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18056 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18057 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18059 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18060 (eieio-default-superclass): Reflow docstrings.
18061 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18062 (eieio-unbind-method-implementations, defmethod)
18063 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18064 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18065 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18066 (eieio-slot-originating-class-p, eieio-slot-name-index)
18067 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18068 (constructor, initialize-instance, no-next-method, object-print)
18069 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18070 Fix typos in docstrings.
18071 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18072 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18073 (next-method-p): Doc fixes.
18074 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18075 Fix typos in error messages.
18076 (eieio-defmethod): Fix typo in description of generic method.
18078 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18079 (eieio-persistent-save-interactive, slot-missing):
18080 Fix typos in docstrings.
18081 (eieio-instance-inheritor-slot-boundp): Doc fix.
18083 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18084 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18086 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18087 (eieio-custom-object-apply-reset):
18088 Fix typos in docstrings and error messages.
18090 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18091 Fix typo in docstring.
18093 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18094 (eieio-browse-tree): Doc fix.
18095 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18096 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18097 Fix typos in docstrings.
18099 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18100 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18101 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18102 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18105 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18107 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18108 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18109 Set log-view-vc-backend so that diff can work.
18111 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18113 (vc-diff-internal): Autoload this instead of vc-version-diff.
18115 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18117 * simple.el (eval-expression): Doc fix.
18119 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18121 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18123 * files.el (directory-files-no-dot-files-regexp): New defconst.
18124 (delete-directory): Use it.
18125 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18127 * net/tramp.el (tramp-verbose): Fix docstring.
18128 (tramp-methods): Add recursive option to `tramp-copy-args'.
18129 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18130 "scp1_old", "scp2_old", "rsync", "rsyncc".
18131 (tramp-default-method): Check also for `auth-source-user-or-password'.
18132 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18133 Add handler for `copy-directory'.
18134 (tramp-handle-copy-directory): New defun.
18135 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18136 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18137 Optimize sent command.
18139 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18141 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18142 window if necessary.
18144 * calendar/calendar.el (calendar-basic-setup): Don't call
18145 switch-to-buffer in a dedicated window.
18147 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18149 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18150 don't do anything related to relocating, just return nil.
18151 (bookmark-error-no-filename): New error.
18152 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18153 bookmark has no file. Don't even attempt to handle things that
18154 are not files; the whole point of custom handlers is to keep that
18155 knowledge elsewhere anyway. Tighten some comments.
18156 (bookmark-file-or-variation-thereof): Remove now-unused function.
18157 (bookmark-location): Doc string fix.
18160 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18162 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18163 don't use a file dialog, because they usually don't know how to read
18164 a directory target from the user. (Bug#4230)
18165 Also, make sure the prompt can display directories as well as files.
18167 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18169 * bookmark.el (bookmark-set, bookmark-buffer-name):
18170 Improve doc strings. (Bug#1193)
18172 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18174 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18175 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18176 (bookmark-get-annotation, bookmark-set-annotation)
18177 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18178 (bookmark-set-position, bookmark-get-front-context-string)
18179 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18180 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18181 (bookmark-jump-other-window, bookmark-handle-bookmark)
18182 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18183 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18184 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18185 Improve doc strings to say whether bookmark can be a string or
18186 a record or both, and make other consistency and clarity fixes.
18187 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18188 (bookmark-default-annotation-text, bookmark-yank-word)
18189 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18190 (bookmark-import-new-list, bookmark-maybe-rename)
18191 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18192 (bookmark-bmenu-bookmark): Give these doc strings.
18193 (bookmark-bmenu-check-position): Give this a doc string, but also
18194 add a FIXME comment about how the function may be pointless.
18195 (bookmark-default-handler): Rework doc string and change a
18196 parameter name, to clarify that this takes a bookmark record
18197 not a bookmark name.
18198 (bookmark-set): Change a parameter name to indicate its meaning,
18199 and improve the doc string a bit.
18202 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18204 * bookmark.el (bookmark-alist): Document the new `handler' element
18205 in the param alist.
18206 (bookmark-make-record-function): Adjust documentation for above.
18209 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18211 * info.el (Info-bookmark-make-record): Document this function.
18212 (Info-bookmark-jump): Document with a doc string, not just a comment.
18215 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18217 * files.el (copy-directory): New defun.
18219 * dired-aux.el (dired-copy-file-recursive): Use it.
18221 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18223 * files-x.el (modify-dir-local-variable)
18224 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18227 * recentf.el (recentf-unload-function): New function.
18229 2009-10-04 Glenn Morris <rgm@gnu.org>
18231 * window.el (window-full-height-p): Add doc string.
18233 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18235 * window.el (window-full-height-p): New function. (Bug#4543)
18237 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18239 * vc.el: Remove commented out code.
18240 (vc-derived-from-dir-mode): Remove, unused.
18241 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18243 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18245 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18246 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18247 there could be recursive loading when `default-directory' is a
18248 remote file name. (Bug#4614)
18250 2009-10-03 Glenn Morris <rgm@gnu.org>
18252 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18254 (calendar-generate-window): Test for shrinkability rather than width.
18256 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18257 reusing existing buffers, in case we happen to visit two files with the
18258 same basename. (Bug#4593)
18260 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18262 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18263 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18264 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18265 subdirs of cedet as well.
18266 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18268 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18270 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18271 Obey advertised-signature-table.
18273 * help-fns.el (help-function-arglist): Don't check
18274 advertised-signature-table.
18275 (describe-function-1): Do it here instead so it also applies to subrs.
18277 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18279 * simple.el (start-file-process): Say in the doc-string, that file
18280 handlers might not support pty association, if PROGRAM is nil.
18282 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18283 HOST and USER are strings. They are nil, when there are
18284 incomplete entries in ~/.netrc, for example.
18285 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18286 root directory ("device busy" error otherwise).
18288 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18289 Flush file properties of created directory.
18291 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18293 * makefile.w32-in (WINS_BASIC): Remove cedet.
18294 (WINS_CEDET): Add cedet.
18295 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18297 2009-10-02 Kevin Ryde <user42@zip.com.au>
18299 * net/browse-url.el (browse-url): Pass any symbol in
18300 browse-url-browser-function to `apply', since if you've mistakenly put
18301 an unbound symbol then the error is clearer. (Bug#4531)
18303 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18305 * allout.el (allout-init, allout-back-to-current-heading)
18306 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18307 (allout-ascend, allout-up-current-level, allout-end-of-level)
18308 (allout-previous-visible-heading, allout-forward-current-level)
18309 (allout-backward-current-level, allout-show-children):
18310 * apropos.el (apropos-describe-plist):
18311 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18312 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18313 * completion.el (add-completion, add-permanent-completion):
18314 * descr-text.el (describe-text-category, describe-char):
18315 * desktop.el (desktop-lazy-abort):
18316 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18317 * dired.el (dired-build-subdir-alist):
18318 * ediff.el (ediff-version):
18319 * elide-head.el (elide-head, elide-head-show):
18320 * emerge.el (emerge-version):
18322 * face-remap.el (variable-pitch-mode):
18323 * faces.el (describe-face):
18324 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18326 * files.el (find-file-existing, auto-save-mode):
18327 * font-lock.el (font-lock-fontify-buffer):
18328 * help-fns.el (describe-function, describe-variable)
18329 (describe-syntax, describe-categories):
18330 * help.el (view-lossage, describe-bindings, describe-key)
18332 * hexl.el (hexl-current-address):
18333 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18334 * info.el (Info-goto-emacs-key-command-node):
18335 * log-edit.el (log-edit-insert-cvs-template)
18336 (log-edit-insert-cvs-rcstemplate):
18337 * menu-bar.el (menu-bar-mode):
18338 * mouse.el (mouse-appearance-menu):
18339 * newcomment.el (comment-indent-new-line):
18340 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18341 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18342 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18343 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18344 * recentf.el (recentf-mode):
18345 * savehist.el (savehist-mode, savehist-save):
18346 * shadowfile.el (shadow-copy-files):
18347 * simple.el (kill-ring-save, next-line, previous-line)
18348 (normal-erase-is-backspace-mode):
18349 * strokes.el (strokes-update-window-configuration)
18350 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18351 (strokes-xpm-for-stroke):
18352 * time.el (emacs-uptime, emacs-init-time):
18353 * tutorial.el (tutorial--describe-nonstandard-key)
18354 (tutorial--detailed-help):
18355 * type-break.el (type-break-mode)
18356 (type-break-mode-line-message-mode, type-break-query-mode)
18357 (type-break-guesstimate-keystroke-threshold):
18358 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18359 * version.el (emacs-version):
18360 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18361 * winner.el (winner-mode):
18362 * calendar/timeclock.el (timeclock-in, timeclock-out)
18363 (timeclock-status-string, timeclock-change)
18364 (timeclock-workday-remaining-string)
18365 (timeclock-workday-elapsed-string)
18366 (timeclock-when-to-leave-string):
18367 * calendar/todo-mode.el (todo-add-category):
18368 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18369 * emacs-lisp/autoload.el (update-file-autoloads):
18370 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18371 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18372 (checkdoc-message-text, checkdoc-defun):
18373 * emacs-lisp/debug.el (debugger-list-functions):
18374 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18375 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18376 (eieio-describe-generic):
18377 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18378 * emacs-lisp/shadow.el (list-load-path-shadows):
18379 * emulation/cua-base.el (cua-mode):
18380 * emulation/edt.el (edt-set-scroll-margins):
18381 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18382 (tpu-toggle-regexp, tpu-toggle-search-direction)
18383 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18384 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18385 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18386 (viper-set-parsing-style-toggling-macro)
18387 (viper-set-emacs-state-searchstyle-macros):
18388 * emulation/viper.el (viper-set-hooks):
18389 * eshell/esh-mode.el (eshell-truncate-buffer):
18390 * international/mule-cmds.el (prefer-coding-system)
18391 (describe-input-method, describe-language-environment):
18392 * international/mule-diag.el (list-character-sets)
18393 (describe-character-set, describe-coding-system)
18394 (describe-fontset, list-fontsets, list-input-methods):
18395 * mail/sendmail.el (mail-signature):
18396 * net/ange-ftp.el (ange-ftp-copy-file):
18397 * net/browse-url.el (browse-url):
18398 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18399 * net/quickurl.el (quickurl-add-url):
18400 * net/rcirc.el (names, topic):
18401 * net/xesam.el (xesam-mode):
18402 * play/5x5.el (5x5-new-game):
18403 * play/yow.el (apropos-zippy):
18404 * progmodes/ada-mode.el (ada-mode-version):
18405 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18407 (f90-beginning-of-block):
18408 * progmodes/fortran.el (fortran-end-of-block)
18409 (fortran-beginning-of-block):
18410 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18411 * progmodes/python.el (python-describe-symbol, python-shell):
18412 * term/ns-win.el (ns-print-buffer):
18413 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18414 * textmodes/flyspell.el (flyspell-mode-on):
18415 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18416 (pages-directory-for-addresses):
18417 * textmodes/table.el (table-recognize-cell)
18418 (table-query-dimension, table-generate-source)
18419 (table-insert-sequence, table--warn-incompatibility):
18420 * textmodes/tex-mode.el (tex-validate-buffer):
18421 * textmodes/texinfmt.el (texinfmt-version)
18422 (texinfo-format-buffer):
18423 Use `called-interactively-p' instead of `interactive-p'.
18425 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18427 * image-mode.el (image-toggle-display):
18428 * emacs-lisp/elp.el (elp-instrument-function):
18429 * emacs-lisp/advice.el (ad-make-advised-definition):
18430 * emacs-lisp/easy-mmode.el (define-minor-mode):
18431 * net/browse-url.el (browse-url-maybe-new-window):
18432 * progmodes/sh-script.el (sh-learn-buffer-indent):
18433 Pass new argument 'any to `called-interactively-p'.
18435 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18437 * international/uni-bidi.el:
18438 * international/uni-category.el:
18439 * international/uni-combining.el:
18440 * international/uni-comment.el:
18441 * international/uni-decimal.el:
18442 * international/uni-decomposition.el:
18443 * international/uni-digit.el:
18444 * international/uni-lowercase.el:
18445 * international/uni-mirrored.el:
18446 * international/uni-name.el:
18447 * international/uni-numeric.el:
18448 * international/uni-old-name.el:
18449 * international/uni-titlecase.el:
18450 * international/uni-uppercase.el:
18451 Regenerate from Unicode 5.2.0 data.
18453 2009-10-01 Glenn Morris <rgm@gnu.org>
18455 * Makefile.in (ELCFILES): Regenerate.
18457 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18459 * subr.el (interactive-p): Mark obsolete.
18460 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18461 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18462 advertised-signature-table for subroutines as well.
18464 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18465 (set-advertised-calling-convention): New function.
18466 (make-obsolete, define-obsolete-function-alias)
18467 (make-obsolete-variable, define-obsolete-variable-alias):
18468 Make the optional-ness of `when' obsolete.
18469 (define-obsolete-face-alias): Make `when' non-optional.
18470 * help-fns.el (help-function-arglist):
18471 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18472 Use advertised-signature-table.
18474 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18476 * files.el (delete-directory): New defun. The original function
18477 in fileio.c has been renamed to `delete-directory-internal'.
18479 * dired.el (dired-delete-file): Call `delete-directory' with
18480 RECURSIVE parameter.
18482 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18483 parameter RECURSIVE. Implementation is missing.
18485 * net/tramp.el (tramp-handle-make-directory): Flush upper
18486 directory's file properties.
18487 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18488 (tramp-handle-dired-recursive-delete-directory): Flush directory
18489 properties after the remove command only.
18491 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18492 Handle optional parameter RECURSIVE.
18494 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18495 Handle optional parameter RECURSIVE.
18497 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18498 connection timeout.
18499 (tramp-smb-handle-delete-directory): Handle optional parameter
18502 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18504 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18505 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18506 (byte-compile-defmacro): Use backquotes.
18508 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18510 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18511 has no associated file.
18512 (vc-resynch-buffer): Use vc-dir-buffers.
18514 2009-10-01 Glenn Morris <rgm@gnu.org>
18516 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18517 (chart-file-count):
18518 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18519 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18520 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18521 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18522 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18523 (eieio-copy-parents-into-subclass, make-instance, class-children)
18524 (eieio-generic-form):
18526 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18527 match-data. (Bug#4555).
18529 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18530 rather than parsing it as a regexp. This relaxes the layout
18531 requirements and makes errors easier to detect.
18532 (check-declare-verify): Check file is regular.
18533 (check-declare-directory): Doc fix.
18534 * subr.el (declare-function): Doc fix.
18536 * ibuffer.el (ibuffer-format-qualifier):
18537 * isearch.el (hi-lock-regexp-okay):
18538 * calc/calc.el (math-zerop):
18539 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18540 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18541 Remove unused declarations.
18543 2009-09-30 Eric Ludlam <zappo@gnu.org>
18545 * emacs-lisp/eieio.el (boolean-p): Delete.
18547 2009-09-30 Glenn Morris <rgm@gnu.org>
18549 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18551 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18552 filename is not a string.
18554 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18556 * files.el (safe-local-eval-forms): Fix typo.
18558 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18560 * vc-hooks.el (vc-dir-buffers): New var.
18561 (vc-state-refresh): New function.
18562 (vc-state): Use it.
18563 (vc-after-save): Always ask the backend to recompute the new state.
18564 Always call vc-dir if necessary, using vc-dir-buffers.
18565 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18566 Use vc-dir-buffers.
18567 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18568 (vc-dir-prepare-status-buffer, vc-dir-update)
18569 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18570 Don't call expand-file-name on default-directory.
18572 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18574 * speedbar.el (speedbar-item-delete):
18575 * calc/calc-prog.el (calc-kbd-if):
18576 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18578 * epa.el (epa-key-list-mode-map):
18579 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18581 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18582 (hs-show-hook): Fix typo in docstring.
18584 2009-09-29 Glenn Morris <rgm@gnu.org>
18586 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18587 file-name-nondirectory call preventing location of cedet files.
18588 (check-declare-verify): Use literal search rather than re-search.
18589 Add basic defmethod and defclass, and define-overloadable-function.
18591 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18592 Use tramp-compat-file-attributes rather than nonexistent
18593 tramp-compat-handle-file-attributes.
18595 * Makefile.in (lisptagsfiles4): New.
18596 (AUTOGENEL): Add cedet loaddefs files.
18597 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18598 (update-elclist, compile-always, backup-compiled-files)
18599 (bootstrap-clean): Add yet another directory level.
18600 (update-elclist): Use LC_COLLATE rather than COLLATE.
18601 (ELCFILES): Update, via `make update-elclist'.
18603 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18605 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18606 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18607 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18609 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18611 * Makefile.in (lisptagsfiles3): Define.
18612 (TAGS, TAGS-LISP): Use it.
18613 (update-elclist): Add third directory level to look for elc files.
18614 (compile-always): Likewise.
18615 (backup-compiled-files): Likewise.
18616 (bootstrap-clean): Likewise.
18617 (ELCFILES): Update.
18619 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18621 * Makefile.in (ELCFILES): Add CEDET files.
18623 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18625 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18627 * net/tramp.el (top): Require tramp-imap.
18629 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18630 Use `tramp-compat-handle-file-attributes'.
18632 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18634 * net/tramp-imap.el: New package.
18636 2009-09-28 Eric Ludlam <zappo@gnu.org>
18638 * emacs-lisp/chart.el:
18639 * emacs-lisp/eieio-base.el:
18640 * emacs-lisp/eieio-comp.el:
18641 * emacs-lisp/eieio-custom.el:
18642 * emacs-lisp/eieio-datadebug.el:
18643 * emacs-lisp/eieio-opt.el:
18644 * emacs-lisp/eieio-speedbar.el:
18645 * emacs-lisp/eieio.el: New files.
18647 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18649 * whitespace.el (whitespace-trailing-regexp)
18650 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18653 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18655 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18658 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18659 menu-bar-ediff-menu.
18661 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18662 define-overloadable-function.
18664 * progmodes/autoconf.el: Provide autoconf as well, so that this
18665 file can be `require'd.
18667 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18669 * emacs-lisp/autoload.el (generated-autoload-feature)
18670 (generated-autoload-load-name): New vars.
18671 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18672 (make-autoload): Recognize define-overloadable-function and
18673 defclass forms (for EIEIO).
18675 * Makefile.in (update-subdirs): Exclude cedet directory.
18677 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18679 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18681 * faces.el: Default light-background background for region face to
18682 ns_selection_color under NS.
18684 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18686 * net/imap-hash.el: New library, see NEWS.
18688 * Makefile.in (ELCFILES): Add imap-hash.el.
18690 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18692 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18693 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18694 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18695 definition where the docstring could be taken for the return value.
18697 2009-09-26 Glenn Morris <rgm@gnu.org>
18699 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18700 Add option to only show images below a certain size.
18701 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18702 save-excursion calls.
18704 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18706 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18707 subdirectories) and eieio.
18709 2009-09-26 Alan Mackenzie <acm@muc.de>
18711 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18712 Correct buggy bracketing. (Bug#4289)
18714 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18715 character constants (as case labels). (Bug#4289)
18717 2009-09-25 Juri Linkov <juri@jurta.org>
18719 * files.el (safe-local-eval-forms): Allow time-stamp in
18720 before-save-hook (Bug#4554).
18722 2009-09-25 Drew Adams <drew.adams@oracle.com>
18724 * menu-bar.el (list-buffers-directory): Doc fix.
18726 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
18728 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18729 Try and avoid copying twice the same paragraph.
18730 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18731 Remove save-excursion.
18732 (log-edit-changelog-entry): Do it here instead.
18734 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
18736 * bs.el (bs--get-file-name): Use `list-buffers-directory'
18737 when available, instead of hardcoding mode names. Doc fix.
18739 * menu-bar.el (list-buffers-directory): Add docstring.
18740 Make automatically buffer-local.
18742 * dired.el (dired-mode):
18743 * files.el (cd-absolute):
18744 * pcvs.el (cvs-temp-buffer):
18745 * pcvs-util.el (cvs-get-buffer-create):
18746 * shell.el (shell-mode):
18747 * vc-dir.el (vc-dir-mode):
18748 Don't make `list-buffers-directory' buffer local.
18750 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
18752 * comint.el (comint-exec, comint-run, make-comint):
18753 Doc fixes (Bug#4542).
18755 2009-09-25 Glenn Morris <rgm@gnu.org>
18757 * mail/rmailmm.el (rmail-mime): New custom group.
18758 Move all defcustoms in this file into this group.
18759 (rmail-mime-media-type-handlers-alist): Revert previous change.
18760 (rmail-mime-show-images): New option.
18761 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18762 references to it, since it wasn't actually used for anything.
18763 (rmail-mime-insert-image): New function.
18764 (rmail-mime-image): Use rmail-mime-insert-image.
18765 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18766 obey the value of `rmail-mime-show-images' option. Print the size of
18769 2009-09-25 David Engster <deng@randomsample.de>
18771 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
18773 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18775 * whitespace.el: Does not highlight trailing spaces While point is
18776 at end of line. Does not highligt spaces at beginning of buffer
18777 while point is at beginning of buffer. Does not highlight spaces
18778 at end of buffer while point is at end of buffer. (Bug#4177)
18780 (whitespace-display-mappings): Adjust initialization.
18781 (whitespace-point, whitespace-font-lock-refontify): New vars.
18782 (whitespace-color-on, whitespace-color-off): Adjust code.
18783 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18784 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18785 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18787 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
18789 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18791 * textmodes/sgml-mode.el: Remove xml-mode alias.
18793 * files.el (auto-mode-alist, conf-mode-maybe)
18794 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18796 2009-09-24 Alan Mackenzie <acm@muc.de>
18798 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18799 c-forward-conditionals, but it doesn't move point and doesn't set
18801 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18802 (c-down-conditional-with-else, c-backward-conditional)
18803 (c-forward-conditional): Refactor to use c-scan-conditionals.
18805 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18807 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18808 (help-default-arg-highlight): Remove.
18809 (help-highlight-arg): New function.
18810 (help-do-arg-highlight): Use it.
18811 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
18813 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18815 * term.el (term-set-scroll-region, term-handle-ansi-escape):
18816 Undo last change, which didn't fix the problem and introduced others.
18818 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
18820 * progmodes/gdb-mi.el: Don't require speedbar.
18821 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18823 2009-09-24 Glenn Morris <rgm@gnu.org>
18825 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18827 * term/ns-win.el (ns-reg-to-script): Define for compiler.
18829 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18830 there is no newline after the final mime boundary. (Bug#4539)
18831 Move markers on insertion so that any buttons inserted don't end up in
18832 the next part of a multipart message.
18833 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
18834 (rmail-mime-bulk-handler): Optionally handle images.
18835 (rmail-mime-image): New button action.
18836 (rmail-mime-image-handler): New function.
18837 (rmail-mime-mode): New mode.
18838 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
18840 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18842 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18843 than just dropping elements from it (bug#4504).
18845 * term.el (term-set-scroll-region): Don't move cursor any more.
18846 (term-handle-ansi-escape): Call term-goto here instead.
18847 Suggested by Ivan Kanis <apple@kanis.eu>.
18849 * term.el: Require CL.
18850 (term-ansi-reset): New function.
18851 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18852 (term-handle-colors-array): Simplify.
18854 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
18856 * allout.el (allout-overlay-interior-modification-handler)
18857 (allout-obtain-passphrase):
18858 * epa-file.el (epa-file-write-region):
18859 * ps-print.el (ps-begin-job):
18860 * vc-hooks.el (vc-toggle-read-only):
18861 * vc-rcs.el (vc-rcs-rollback):
18862 * vc-sccs.el (vc-sccs-rollback):
18863 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18864 (vc-version-diff, vc-revert, vc-rollback):
18865 * wdired.el (wdired-check-kill-buffer):
18866 * emacs-lisp/authors.el (authors):
18867 * net/socks.el (socks-open-connection):
18868 * net/zeroconf.el (zeroconf-service-add-hook):
18869 * obsolete/vc-mcvs.el (vc-mcvs-register):
18870 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18871 (gdb-select-frame):
18872 * progmodes/grep.el (lgrep, rgrep):
18873 * progmodes/idlw-help.el (idlwave-help-check-locations)
18874 (idlwave-help-html-link, idlwave-help-assistant-open-link):
18875 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18876 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18877 (reftex-toc-rename-label): Fix typos in error messages.
18879 * dired-aux.el (dired-do-shell-command): Reflow docstring.
18880 (dired-copy-how-to-fn): Doc fix.
18881 (dired-files-attributes, dired-read-shell-command):
18882 Fix typos in docstrings.
18884 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18885 (dired-x-find-file-other-window): Reflow docstrings.
18886 (dired-omit-marker-char, dired-read-shell-command)
18887 (dired-x-submit-report): Fix typos in docstrings.
18889 * shell.el (shell-mode-hook):
18890 * view.el (View-scroll-line-forward):
18891 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18892 Fix typos in docstrings.
18894 * net/dig.el (dig-invoke): Fix typo in docstring.
18895 (query-dig): Reflow docstring.
18897 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18898 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18899 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18900 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18901 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18902 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18903 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18904 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18905 (idlwave-completion-map, idlwave-current-indent)
18906 (idlwave-custom-ampersand-surround, idlwave-customize)
18907 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18908 (idlwave-define-abbrev, idlwave-determine-class-special)
18909 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18910 (idlwave-end-block-reg, idlwave-end-of-statement)
18911 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18912 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18913 (idlwave-explicit-class-listed, idlwave-file-header)
18914 (idlwave-fill-paragraph, idlwave-find-class-definition)
18915 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18916 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18917 (idlwave-in-quote, idlwave-indent-action-table)
18918 (idlwave-indent-expand-table, idlwave-indent-line)
18919 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18920 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18921 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18922 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18923 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18924 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18925 (idlwave-outlawed-buffers, idlwave-popup-select)
18926 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18927 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18928 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18929 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18930 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18931 (idlwave-statement-type, idlwave-struct-skip)
18932 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18933 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18934 (idlwave-what-module-find-class): Fix typos in docstrings.
18935 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18936 (idlwave-calculate-cont-indent, idlwave-expand-equal)
18937 (idlwave-find-module, idlwave-find-structure-definition)
18938 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18939 (idlwave-list-load-path-shadows, idlwave-next-statement)
18940 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18941 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18942 (idlwave-template): Reflow docstrings.
18944 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18945 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18946 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18947 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18948 (idlwave-shell-display-line, idlwave-shell-display-wframe)
18949 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18950 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18951 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18952 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18953 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18954 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18955 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18956 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18957 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18958 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18959 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18960 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18961 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18962 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18963 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18964 Fix typos in docstrings.
18965 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18966 (idlwave-shell-hide-output, idlwave-shell-mode)
18967 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18970 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18972 2009-09-24 Ivan Kanis <apple@kanis.eu>
18974 * term.el (term-bold-attribute): New var.
18975 (term-handle-colors-array): Use it.
18977 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
18979 * progmodes/gdb-mi.el (gdb-version): New variable.
18980 (gdb-non-stop-handler): Set gdb-version.
18981 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18982 Condition "--thread" option on gdb-version.
18983 (gdb-invalidate-threads): Remove unused argument.
18985 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18987 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18988 to looking-back to avoid ridiculous slow down in large files (bug#4511).
18990 2009-09-23 Glenn Morris <rgm@gnu.org>
18992 * mail/rmail.el (rmail-reply): Don't try to add a References header when
18993 replying to mail without References or Message-Id. (Bug#4525)
18995 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
18997 * term/ns-win.el (ns-reg-to-script): New variable.
18999 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19001 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19003 2009-09-22 Sam Steingold <sds@gnu.org>
19005 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19006 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19007 to 1 because hg returns status 1 when nothing is found.
19008 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19010 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19012 * textmodes/fill.el: Convert to utf-8 encoding.
19013 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19016 * add-log.el (change-log-fill-forward-paragraph): New function.
19017 (change-log-mode): Use it so fill-region DTRT.
19018 Set fill-indent-according-to-mode here rather than in
19019 change-log-fill-paragraph.
19020 (change-log-fill-paragraph): Remove.
19022 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19024 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19025 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19027 2009-09-22 Glenn Morris <rgm@gnu.org>
19029 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19030 the scroll-bar scroll the calendar window rather than the buffer.
19032 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19033 commands that move point (as opposed to scrolling).
19035 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19037 * emacs-lisp/elint.el (elint): New custom group.
19038 (elint-log-buffer): Make it a defcustom.
19039 (elint-scan-preloaded, elint-ignored-warnings)
19040 (elint-directory-skip-re): New options.
19041 (elint-builtin-variables): Doc fix.
19042 (elint-preloaded-env): New variable.
19043 (elint-unknown-builtin-args): Add an entry for encode-time.
19044 (elint-extra-errors): Make it a variable rather than a constant.
19045 (elint-preloaded-skip-re): New constant.
19046 (elint-directory): Skip files matching elint-directory-skip-re.
19047 (elint-features): New variable, local to linted buffers.
19048 (elint-update-env): Initialize elint-features. Possibly add
19049 elint-preloaded-env to the buffer's environment.
19050 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19052 (elint-init-form): New function, extracted from elint-init-env.
19053 Make non-list forms a warning rather than an error.
19054 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19055 easy-menu-define, put that adds an error-condition, and provide.
19056 When requiring cl, also require cl-macs. Really require cl, to handle
19057 some cl macros. Store required libraries in the list elint-features,
19058 so as not to re-load them. Treat cc-require like require.
19059 (elint-init-env): Call elint-init-form to do the work.
19060 Handle eval-and-compile and such like.
19061 (elint-add-required-env): Do not clear messages.
19062 (elint-special-forms): Add handlers for function, defalias, if, when,
19064 (elint-form): Add optional argument to ignore elint-special-forms,
19065 useful to prevent recursive calls from handlers. Doc fix.
19066 Respect elint-ignored-warnings.
19067 (elint-form): Respect elint-ignored-warnings.
19068 (elint-bound-variable, elint-bound-function): New variables.
19069 (elint-unbound-variable): Respect elint-bound-variable.
19070 (elint-get-args): Respect elint-bound-function.
19071 (elint-check-cond-form): Add some simple handling for (f)boundp and
19073 (elint-check-defalias-form): New handler.
19074 (elint-check-let-form): Make an empty let a warning rather than an
19076 (elint-check-setq-form): Make an empty setq a warning rather than an
19077 error. Respect elint-ignored-warnings.
19078 (elint-check-defvar-form): Accept null doc-strings.
19079 (elint-check-conditional-form): New handler. Does some simple-minded
19080 checking of featurep and (f)boundp tests.
19081 (elint-put-function-args): New function.
19082 (elint-initialize): Use elint-scan-doc-file rather than
19083 elint-find-builtin-variables. Use elint-put-function-args.
19084 Possibly scan preloaded-file-list.
19085 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19086 extend to handle functions as well.
19088 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19090 * linum.el (linum-delete-overlays, linum-update-window):
19091 Do not modify the right margin. (Bug#3971)
19093 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19095 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19096 Use nxml-mode instead of xml-mode.
19098 2009-09-21 Kevin Ryde <user42@zip.com.au>
19100 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19102 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19104 * net/dig.el (dig-mode): Use define-derived-mode.
19106 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19108 * vc-dispatcher.el (vc-do-command): Return the process object in
19109 the asynchronous case. Use when instead of if. Do not run
19110 vc-exec-after to display a message if not enabled. (Bug#4463)
19112 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19113 properties to the stash strings.
19114 (vc-git-stash-list): Return a list of strings.
19115 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19116 (vc-git-stash-show-at-point): New functions.
19117 (vc-git-stash-map): New keymap.
19119 * register.el (ctl-x-r-map): Define the keys here instead of
19122 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19124 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19125 list, to workaround performance problem (bug#4485).
19127 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19129 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19131 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19133 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19134 Document that this option is not recommended to use.
19136 2009-09-19 Glenn Morris <rgm@gnu.org>
19138 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19141 * calc/calc-alg.el (var):
19142 * calc/calcalg2.el (var): Define for compiler.
19144 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19146 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19147 Doc fix (Bug#3932).
19149 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19151 * time-stamp.el (time-stamp-month-dd-yyyy)
19152 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19153 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19154 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19155 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19156 Remove functions that have been obsolete since 1995 (Bug#4436).
19158 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19159 indent buffer only if called interactively (Bug#4452).
19161 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19162 Eli Zaretskii <eliz@gnu.org>
19164 This fixes bug#4197 (merged to bug#865, though not identical).
19165 * server.el (server-auth-dir): Add docstring note about FAT32.
19166 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19167 but warn against using them.
19169 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19171 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19172 older GDB where there is no has_more field.
19174 2009-09-19 Glenn Morris <rgm@gnu.org>
19176 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19178 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19180 * files.el (auto-mode-alist): Change default for XML files to nXML
19183 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19185 * server.el (server-ensure-safe-dir): Pass 'integer
19186 to `file-attributes', as suggested.
19188 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19190 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19191 (dired-query): Use read-key.
19193 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19195 * cus-start.el (ns-use-qd-smoothing): Remove.
19197 2009-09-18 Glenn Morris <rgm@gnu.org>
19199 * allout.el (top-level): Remove unnecessary progn.
19201 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19203 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19204 definition of abbrev table.
19206 * speedbar.el (speedbar-track-mouse):
19207 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19208 * net/eudc.el (eudc-expand-inline):
19209 * net/newst-backend.el (newsticker--cache-read-feed):
19210 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19211 condition-case handlers.
19213 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19215 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19216 (gdb-var-list): Add an element for has_more field.
19217 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19218 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19219 (gdb-var-update-handler-1): Parse output of dynamic variable
19220 objects (STL containers).
19221 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19222 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19224 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19226 (gud-speedbar-buttons): Make node expandable if expression "has more"
19229 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19231 * startup.el (emacs-quick-startup): Remove variable and all uses.
19232 (command-line): Set `inhibit-x-resources' instead.
19233 (command-line-1): Use `inhibit-x-resources' instead.
19235 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19237 * subr.el: Fix last change to avoid using the `unless' macro,
19238 which breaks bootstrapping.
19240 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19242 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19243 extended definitions, in case we reload subr.el after having
19245 (eval-next-after-load): Mark as obsolete.
19247 2009-09-17 Juri Linkov <juri@jurta.org>
19249 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19250 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19251 (menu-bar-showhide-menu, menu-bar-tools-menu)
19252 (menu-bar-describe-menu, menu-bar-help-menu)
19253 (minibuffer-local-completion-map, minibuffer-local-map):
19256 2009-09-17 Glenn Morris <rgm@gnu.org>
19258 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19259 arguments, whether or not it has a handler.
19261 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19263 * simple.el (hard-newline): Give it a doc-string.
19265 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19266 (lisp-mode-syntax-table): Give them doc-strings.
19268 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19270 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19271 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19272 (menu-bar-options-menu, menu-bar-showhide-menu)
19273 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19274 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19275 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19276 (menu-bar-options-menu, menu-bar-tools-menu)
19277 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19278 (menu-bar-help-menu):
19279 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19282 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19283 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19284 calls for the menu names and :help.
19286 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19288 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19289 to :minor-mode-function (bug#4455).
19291 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19293 * startup.el (command-line): Initialize the window-system after
19294 processing the command-line.
19296 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19297 page-delimiter matches the empty string.
19299 2009-09-16 Glenn Morris <rgm@gnu.org>
19301 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19302 byte-compile-not-obsolete-var. It's a list now.
19303 (byte-compile-not-obsolete-funcs): New variable.
19304 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19305 byte-compile-not-obsolete-funcs.
19306 (byte-compile-variable-ref, byte-compile-defvar): Update for
19307 byte-compile-not-obsolete-vars name-change and list nature.
19308 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19309 and variables behind (f)boundp tests.
19310 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19312 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19314 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19316 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19318 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19319 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19322 2009-09-15 Stephen Eglen <stephen@gnu.org>
19324 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19325 the virtual-buffers, use the name of the buffer specified by
19326 find-file-noselect, as the match may be a symlink. (This was a
19327 problem if the target and the symlink had different names.)
19329 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19331 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19333 * desktop.el (desktop-path): Check user-emacs-directory.
19335 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19337 * loadup.el: Use after-load-functions to GC after loading each file.
19338 Remove the explicit GC calls that used to be sprinkled around.
19340 * subr.el (after-load-functions): New hook.
19341 (do-after-load-evaluation): Run it. Use string-match-p to detect
19342 `obsolete' packages, rather than painfully extracting the relevant
19345 2009-09-15 Glenn Morris <rgm@gnu.org>
19347 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19348 free variable `doc'.
19350 * dired.el (dired-mode-map): Add menu entry for async shell command.
19352 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19353 variables, also consider the .elc files, since the .el files are
19354 normally gzipped (subsequent code locates the .el.gz from the .elc).
19356 * calc/calc-prog.el (arglist): Define for compiler.
19358 * calendar/diary-lib.el (diary-display-function): Change the default to
19360 (body): Define for compiler.
19362 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19363 (byte-compile-file-form, byte-compile-lambda)
19364 (byte-compile-top-level-body, byte-compile-form)
19365 (byte-compile-variable-ref, byte-compile-setq)
19366 (byte-compile-setq-default, byte-compile-body)
19367 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19368 (batch-byte-compile): Give some more local variables with common names
19369 a "bytecomp-" prefix to avoid masking warnings about free variables.
19371 * startup.el (command-line-1): Give local variables with common names a
19372 distinguishing prefix, so as not to hide free variable warnings during
19375 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19376 clever and add a suffix to make a unique name, just let the user decide
19377 whether or not to overwrite it. If the input is a directory, write the
19378 default filename to that directory. (Bug#4388)
19379 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19380 is a filename-as-a-directory.
19382 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19384 * textmodes/page.el (what-page): Don't move to beginning of line.
19385 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19387 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19389 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19391 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19393 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19394 * help.el (help-for-help-internal): Add purecopy calls for text.
19396 * vc.el (top): print-log method now takes an optional SHORTLOG
19397 argument. Add a new method: root.
19398 (vc-root-diff, vc-print-root-log): New functions.
19399 (vc-log-short-style): New variable.
19400 (vc-print-log-internal): Add support for showing short logs.
19402 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19403 vc-print-root-log and vc-print-root-diff.
19405 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19406 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19407 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19410 * vc-cvs.el (vc-cvs-print-log):
19411 * vc-mtn.el (vc-mtn-print-log):
19412 * vc-rcs.el (vc-rcs-print-log):
19413 * vc-sccs.el (vc-sccs-print-log):
19414 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19415 that is ignored for now.
19417 * vc-mtn.el (vc-mtn-annotate-command):
19418 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19420 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19422 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19423 to function-key-map, and give them ascii-character property.
19424 * term/x-win.el (x-alternatives-map):
19425 * term/ns-win.el (ns-alternatives-map):
19426 * term/internal.el (msdos-key-remapping-map):
19427 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19429 2009-09-14 Glenn Morris <rgm@gnu.org>
19431 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19432 temp-buffers (2009-09-12).
19434 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19436 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19437 the new read-key function.
19439 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19441 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19442 is defined (Bug#4405).
19444 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19446 * recentf.el (recentf-cleanup): Use a hash table to find
19447 duplicates (Bug#4407).
19449 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19451 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19452 kp-0 to ascii equivalents (Bug#4325).
19454 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19456 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19458 * eshell/em-hist.el:
19459 * eshell/em-dirs.el (eshell-complete-user-reference):
19460 Declare pcomplete functions and variables to avoid compiler warnings.
19462 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19464 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19465 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19466 * eshell/em-alias.el (eshell-aliases-file):
19467 * eshell/em-hist.el (eshell-history-file-name):
19468 Use expand-file-name instead of concat to make file names (Bug#4308).
19470 2009-09-13 Glenn Morris <rgm@gnu.org>
19472 * ediff-merg.el (ediff-do-merge):
19473 * filesets.el (filesets-run-cmd):
19474 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19475 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19476 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19477 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19478 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19479 Replace empty `let's with `progn'.
19481 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19483 * mail/sendmail.el (send-mail-function):
19484 * tooltip.el (tooltip-mode):
19485 * simple.el (transient-mark-mode):
19486 * rfn-eshadow.el (file-name-shadow-mode):
19487 * frame.el (blink-cursor-mode):
19488 * font-core.el (global-font-lock-mode):
19489 * files.el (temporary-file-directory)
19490 (small-temporary-file-directory, auto-save-file-name-transforms):
19491 * epa-hook.el (auto-encryption-mode):
19492 * composite.el (global-auto-composition-mode):
19493 Use custom-initialize-delay.
19494 * startup.el (command-line): Don't explicitly call
19495 custom-reevaluate-setting for all the above vars.
19496 * custom.el (custom-initialize-safe-set)
19497 (custom-initialize-safe-default): Delete.
19499 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19501 * term/x-win.el (x-initialize-window-system):
19502 * term/w32-win.el (w32-initialize-window-system):
19503 * term/ns-win.el (ns-initialize-window-system): Don't call
19504 mouse-wheel-mode since it's enabled globally by default already.
19506 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19507 actually define the variable, but only silences the byte-compiler.
19508 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19509 before looking it up.
19510 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19513 2009-09-12 Glenn Morris <rgm@gnu.org>
19515 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19517 (elint-add-required-env): Don't beep on error.
19518 (elint-forms): In case of error, return ENV unchanged.
19519 (elint-init-env): Skip non-list forms.
19520 (elint-log): Handle unknown file positions.
19522 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19524 * epg.el (epg-make-context): Add autoload cookie.
19525 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19526 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19527 (epg-verify-string, epg-start-sign, epg-sign-file)
19528 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19529 (epg-encrypt-string, epg-start-export-keys)
19530 (epg-export-keys-to-file, epg-export-keys-to-string)
19531 (epg-start-import-keys, epg-import-keys-from-file)
19532 (epg-import-keys-from-string, epg-start-receive-keys)
19533 (epg-receive-keys, epg-import-keys-from-server)
19534 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19535 (epg-sign-keys, epg-start-generate-key)
19536 (epg-generate-key-from-file, epg-generate-key-from-string):
19537 Remove autoload cookie.
19539 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19541 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19542 reevaluation of trash-directory.
19544 * mwheel.el: Fix last change.
19545 (mouse-wheel-mode): New defvar.
19546 (mouse-wheel-mode): Remove autoload cookie.
19548 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19550 * mwheel.el (mwheel-installed-bindings): New var.
19551 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19552 the bindings we set last time. Use custom-initialize-delay.
19553 * loadup.el: Load mwheel after term/*-win.el.
19554 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19555 and mouse-wheel-up-event now that their first evaluation is done
19556 sufficiently late to be correct.
19558 * startup.el (tutorial-directory): Make it a defcustom.
19559 Use custom-initialize-delay rather than eval-at-startup to set it.
19560 * image.el (image-load-path): Make it a defcustom.
19561 Use custom-initialize-delay rather than eval-at-startup to set it.
19562 * subr.el (eval-at-startup): Remove.
19563 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19565 * subr.el (do-after-load-evaluation): Warn the user after loading an
19568 2009-09-12 Glenn Morris <rgm@gnu.org>
19570 * proced.el (proced-mark-alt): Remove alias.
19571 (proced-mode-map): Remove proced-mark-alt.
19573 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19574 Elint file and directory. Remove initialization entry.
19576 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19578 (elint-current-buffer): Set mode-line-process.
19579 (elint-init-env): Handle define-derived-mode.
19580 Fix declare-function with unspecified arglist. Guard against odd
19581 defalias statements (eg iso-insert's 8859-1-map).
19582 (elint-add-required-env): Use a temp buffer.
19583 (elint-form): Just print the function/macro name, not the whole form.
19584 Return env unchanged if we fail to parse a macro.
19585 (elint-forms): Guard against parse errors.
19586 (elint-output): New function, to handle batch mode.
19587 (elint-log-message): Add optional argument. Use elint-output.
19588 (elint-set-mode-line): New function.
19590 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19592 * emacs-lisp/elp.el (elp-not-profilable): Add more
19593 functions (Bug#4233).
19595 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19597 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19598 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19600 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19602 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19603 (gdb-var-list-children): Use json parsing.
19605 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19607 * progmodes/js.el (js--proper-indentation): Handle the case where
19608 char-before is null. Reported by Deniz Dogan.
19610 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19612 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19614 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19616 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19617 (epg-digest-algorithm-alist): Add SHA224.
19618 (epg-context-set-passphrase-callback)
19619 (epg-context-set-progress-callback): Add description about
19622 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19624 * custom.el (custom-delayed-init-variables): New var.
19625 (custom-initialize-delay): New function.
19626 * startup.el (command-line): "Re"evaluate all vars in
19627 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19628 explicitly any more.
19629 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19630 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19632 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19634 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19636 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19637 (gdb-var-update-handler): Use json parsing.
19639 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19641 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19642 decode annotated text, regardless of language environment. (Bug#2741)
19644 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19646 * Makefile.in (autoloads): Make rmail.el writable as well.
19648 2009-09-11 Glenn Morris <rgm@gnu.org>
19650 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19652 * dired.el: Regenerate with extracted autoloads.
19653 * Makefile.in (autoloads): Make dired.el writable.
19655 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19656 * ibuffer.el: Regenerate with extracted autoloads.
19657 * Makefile.in (autoloads): Make ibuffer.el writable.
19659 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19660 * version.el (emacs-copyright, emacs-major-version)
19661 (emacs-minor-version): Reformat doc-strings for make-docfile.
19663 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19664 functions and variables, since they must be stuff specific to some other
19666 (apropos-print): Make mouse-click message less specific about button.
19668 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19669 that records where a macro was defined.
19670 * help-fns.el (describe-function-1): Mention if a function has a
19672 * help-mode.el (help-function-cmacro): New button.
19674 * locate.el (top-level): Always require dired.
19675 (locate-mode-map): Initialize inside the defvar.
19677 * net/ange-ftp.el (dired-compress-file): Declare.
19678 (ange-ftp-dired-compress-file): Add doc string.
19680 * term/ns-win.el (x-display-name, x-setup-function-keys):
19681 Unify doc-strings with X versions.
19683 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19685 * emulation/crisp.el (crisp-mode-map): Move initialization
19687 (crisp-mode): Use define-minor-mode.
19689 * progmodes/xscheme.el (xscheme-evaluation-commands):
19690 Put a :advertised-binding property rather than using
19691 advertised-xscheme-send-previous-expression.
19692 (advertised-xscheme-send-previous-expression): Declare obsolete.
19693 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19695 (crisp-mode): Add corresponding bindings to
19696 undo's :advertised-binding instead.
19697 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19698 than using dired-advertised-find-file.
19699 (dired-advertised-find-file):
19700 * simple.el (advertised-undo):
19701 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19702 (widget-keymap): Put a :advertised-binding property rather
19703 than using advertised-widget-backward.
19704 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19705 than using advertised-undo.
19706 * tutorial.el (tutorial--default-keys): Adjust accordingly.
19708 2009-09-10 Simon South <ssouth@slowcomputing.org>
19710 * progmodes/delphi.el (delphi-tab): Indent region when Transient
19711 Mark mode is enabled and region is active; otherwise indent or
19712 insert TAB as usual.
19713 (delphi-mode): Update description of TAB-key binding.
19715 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
19717 * subr.el (define-key-rebound-commands): Mark obsolete.
19718 * startup.el (precompute-menubar-bindings): Remove.
19719 (normal-top-level): Remove obsolete code that tried to precompute
19721 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19722 define-key-rebound-commands and precompute-menubar-bindings.
19724 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
19726 * net/imap.el (imap-interactive-login): Better messages.
19727 (imap-open): Fix bug with renamed buffer on reconnect.
19728 (imap-authenticate): Add buffer-local imap-last-authenticator variable
19729 for easier debugging and cleaner code. On successful (guessed based on
19730 server capabilities) secondary authentication, set imap-state
19732 (imap-last-authenticator): Define imap-last-authenticator as a variable
19735 2009-09-10 Glenn Morris <rgm@gnu.org>
19737 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19739 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19740 (byte-compile-file-form-autoload): Don't warn about unknown functions
19741 where the autoload statement comes after the use.
19742 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19743 that any handlers inside the body (eg require) are in turn respected.
19745 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19748 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19749 and syntax and abbrev tables basic docs, if they don't have any.
19751 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19753 * international/mule-cmds.el (top-level): Require cl when compiling.
19754 (view-hello-file): Use default-value rather than
19755 default-enable-multibyte-characters.
19757 * progmodes/fortran.el: Move all safe and risky properties into the
19760 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19761 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19762 * mail/undigest.el:
19763 Put autoloads in rmail.el rather than loaddefs.el.
19764 * mail/rmail.el: Regenerate with extracted autoloads.
19766 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19767 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19769 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
19771 Reported in thread for Bug#4375.
19772 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19773 "-data-evaluate-expression" instead of print.
19774 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19775 (gdb-tooltip-print): Parse output from above MI command.
19776 (gdb): Revert 2009-08-11 change. User should detach inferior
19779 Remove the word "separate" from IO functions as inferior
19780 output is now never displayed in the GUD buffer.
19782 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
19784 * startup.el (command-line-normalize-file-name): On Windows and
19785 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19787 2009-09-10 Juri Linkov <juri@jurta.org>
19789 * isearch.el (isearch-text-char-description): Propertize escape
19790 character sequences with the `escape-glyph' face. (Bug#4344)
19792 * simple.el (shell-command): Set asynchronous process filter to
19793 `comint-output-filter'. (Bug#4343)
19795 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19796 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
19797 the list. Move "asm" to the bottom.
19798 (grep-find-ignored-directories): Add `choice' with nil value
19799 to empty the list easily.
19800 (grep-find-ignored-files): New option.
19801 (grep-files-history): Set to nil by default instead of '("ch" "el").
19802 (grep-compute-defaults): Add "<X>" to `grep-template'.
19803 (grep-read-files): Bind new local variables `default-alias' and
19804 `default-extension'. Use a list of default values for the file prompt.
19805 (lgrep): Add `--exclude=' command line options composed from
19806 `grep-find-ignored-files'.
19807 (rgrep): Add `-name' command line options composed from
19808 `grep-find-ignored-files'. (Bug#4301)
19810 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19812 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19815 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
19817 * calendar/time-date.el (autoload):
19818 Expand define-obsolete-function-alias into defalias and make-obsolete
19819 for old Emacsen that Gnus supports.
19820 (with-no-warnings): Define it for old Emacsen.
19821 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19823 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19824 float-time is available; suppress compile warning for time-to-seconds.
19826 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
19828 * net/imap.el (imap-message-map): Docstring fix.
19830 2009-09-09 Glenn Morris <rgm@gnu.org>
19832 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19833 line numbers too. (Bug#4374)
19835 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19837 * smerge-mode.el (smerge-remove-props, smerge-refine):
19838 Use with-silent-modifications (bug#4342).
19840 * subr.el (with-silent-modifications): New macro.
19842 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
19844 * files.el (top-level): Require `cl' when compiling.
19846 2009-09-07 Glenn Morris <rgm@gnu.org>
19848 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19850 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19851 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
19853 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
19855 * vc-git.el (vc-git-annotate-command): Use separator to parse
19856 arguments correctly.
19858 2009-09-06 Eli Zaretskii <eliz@gnu.org>
19860 * proced.el (proced-mode): Doc fix.
19862 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
19864 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19866 (tramp-do-file-attributes-with-ls): Check for file existence at
19868 (tramp-do-file-attributes-with-stat): Likewise.
19869 (tramp-convert-file-attributes): Return nil when attr is nil.
19871 2009-09-05 Glenn Morris <rgm@gnu.org>
19873 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19874 properties to this button.
19875 (diary-fancy-display): Don't extend the button to the final newline.
19876 (diary-fancy-display-mode): Continue to define "q" as a local key.
19878 * calendar/cal-china.el (holiday-chinese): Make it slightly more
19881 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19883 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19884 (byte-compile-dest-file-function): New option.
19885 (byte-compile-dest-file): Doc fix.
19886 Obey byte-compile-dest-file-function.
19887 (byte-compile-cl-file-p): New function.
19888 (byte-compile-eval): Only suppress noruntime warnings about cl functions
19889 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
19890 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19891 than for file being previously loaded.
19892 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19893 (byte-compile-file-form-require): Handle the case where requiring a file
19894 indirectly causes CL to be loaded.
19896 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19898 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19899 before killing the old buffer, since by the time `kill-buffer' is
19900 run so many buffer variables have been set to nil that it may not
19901 behave as expected. (Bug#4061)
19903 2009-09-05 Karl Fogel <kfogel@red-bean.com>
19905 * files.el (find-alternate-file): If the old buffer is modified
19906 and visiting a file, behave similarly to `kill-buffer' when
19907 killing it, thus reverting to the pre-1.878 behavior; see
19908 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19909 for discussion. Also, consult `buffer-file-name' as a variable
19910 not as a function, for consistency with the rest of the code.
19912 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
19914 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19915 also when adding a new directory.
19917 * net/tramp-compat.el (tramp-compat-line-beginning-position):
19920 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19922 * files.el (locate-file-completion-table): Make it provide boundary
19923 information, so partial-completion works better.
19925 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
19927 * mail/footnote.el (Footnote-text-under-cursor):
19928 Check footnote-text-marker-alist before using it (bug#4324).
19930 2009-09-04 Glenn Morris <rgm@gnu.org>
19932 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19933 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19934 * play/solitaire.el, play/tetris.el:
19935 Remove leading * from defcustom and defface docs.
19937 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19939 (diary-fancy-overriding-map): New variable.
19940 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19943 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19946 2009-09-03 Glenn Morris <rgm@gnu.org>
19948 * arc-mode.el (archive-mode):
19949 * dos-fns.el (set-default-process-coding-system):
19950 * man.el (Man-getpage-in-background):
19951 * menu-bar.el (menu-bar-describe-menu):
19952 * server.el (server-process-filter):
19953 * startup.el (command-line):
19954 * tar-mode.el (tar-header-block-tokenize, tar-extract):
19955 * w32-fns.el (set-default-process-coding-system):
19956 * x-dnd.el (x-dnd-handle-file-name):
19957 * international/mule-cmds.el (mule-menu-keymap)
19958 (set-default-coding-systems, language-info-alist, set-language-info)
19959 (set-language-environment, standard-display-european-internal)
19960 (set-locale-environment):
19961 * international/mule-diag.el (mule-diag):
19962 * mail/emacsbug.el (report-emacs-bug):
19963 * mail/rmail.el (rmail-mode):
19964 * mail/sendmail.el (mail-setup):
19965 Use default-value rather than default-enable-multibyte-characters.
19967 * progmodes/f90.el: Move all safe properties into the defcustoms.
19968 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19970 * calendar/appt.el (appt-check):
19971 * calendar/diary-lib.el (diary-set-header, diary-live-p)
19972 (diary-check-diary-file, diary-list-entries)
19973 (diary-include-other-diary-files, diary-simple-display)
19974 (diary-fancy-display, diary-print-entries)
19975 (diary-mark-included-diary-files, diary-make-entry):
19976 Don't call substitute-in-file-name on diary-file.
19978 2009-09-03 Eduard Wiebe <usenet@pusto.de>
19979 Stefan Monnier <monnier@iro.umontreal.ca>
19981 * mail/footnote.el (footnote-prefix): Make it a defcustom.
19982 (footnote-mode-map): Move initialization into the declaration.
19983 (footnote-minor-mode-map): Define it rather than changing global-map.
19984 (footnote-mode): Use define-minor-mode.
19986 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
19988 * net/tramp.el (tramp-handle-file-attributes-with-ls)
19989 (tramp-do-file-attributes-with-perl)
19990 (tramp-do-file-attributes-with-stat): Rename from
19991 `tramp-handle-file-attributes-with-*'.
19992 (tramp-handle-file-attributes): Use them.
19993 (tramp-do-directory-files-and-attributes-with-perl)
19994 (tramp-do-directory-files-and-attributes-with-stat): Rename from
19995 `tramp-handle-directory-files-and-attributes-with-*'.
19996 (tramp-handle-directory-files-and-attributes): Use them.
19997 (tramp-method-out-of-band-p): Additional parameter SIZE.
19998 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19999 (tramp-handle-write-region): Use it.
20000 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20001 (tramp-handle-vc-registered): Check, whether the first run did
20002 return files to be tested.
20003 (tramp-advice-make-auto-save-file-name): Do not call directly
20004 `tramp-handle-make-auto-save-file-name', because this would bypass
20005 the locking mechanism.
20007 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20008 (file-remote-p, process-file, start-file-process, set-file-times)
20009 (tramp-compat-file-attributes): Compatibility functions shall not
20010 call directly `tramp-handle-*', because this would bypass the
20012 (tramp-compat-number-sequence): New defun.
20014 2009-09-02 Glenn Morris <rgm@gnu.org>
20016 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20017 alias for float-time.
20018 (time-to-number-of-days): In Emacs, use float-time.
20019 * net/newst-backend.el (time-add): Suppress warnings from compat
20021 * time.el (emacs-uptime, emacs-init-time):
20022 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20023 Use float-time rather than time-to-seconds.
20025 * minibuffer.el (completion-initials-expand): Fix typo.
20027 * faces.el (modeline, modeline-inactive, modeline-highlight)
20028 (modeline-buffer-id):
20029 * info.el (info-menu-5): Mark these face aliases as obsolete.
20031 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20033 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20035 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20036 no "--thread" option.
20037 (gdb-stopped): Don't print "Switched to thread" message when it is
20040 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20042 * minibuffer.el (completion-try-completion)
20043 (completion-all-completions): Remove ill-defined (and
20044 mistakenly installed and luckily never used nor documented)
20045 `completion-styles' property.
20046 (completion-initials-expand, completion-initials-all-completions)
20047 (completion-initials-try-completion): New functions.
20048 (completion-styles-alist): Add doc to each entry.
20049 Add new `initials' entry.
20051 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20053 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20054 MI command -var-evaluate-expression.
20055 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20056 and tweak for case of string child.
20057 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20059 2009-09-01 Glenn Morris <rgm@gnu.org>
20061 * add-log.el (change-log-date-face, change-log-name-face)
20062 (change-log-email-face, change-log-file-face, change-log-list-face)
20063 (change-log-conditionals-face, change-log-function-face)
20064 (change-log-acknowledgement-face):
20065 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20066 (custom-modified-face, custom-set-face, custom-changed-face)
20067 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20068 (custom-documentation-face, custom-state-face, custom-comment-face)
20069 (custom-comment-tag-face, custom-variable-tag-face)
20070 (custom-variable-button-face, custom-face-tag-face)
20071 (custom-group-tag-face-1, custom-group-tag-face):
20072 * diff-mode.el (diff-header-face, diff-file-header-face)
20073 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20074 (diff-added-face, diff-changed-face, diff-function-face)
20075 (diff-context-face, diff-nonexistent-face):
20076 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20077 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20078 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20079 (Info-title-4-face):
20080 * isearch.el (isearch-lazy-highlight-face):
20081 * log-view.el (log-view-file-face, log-view-message-face):
20082 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20083 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20084 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20086 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20087 (smerge-base-face, smerge-markers-face):
20088 * wid-edit.el (widget-documentation-face, widget-button-face)
20089 (widget-field-face, widget-single-line-field-face)
20090 (widget-inactive-face, widget-button-pressed-face):
20091 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20092 (woman-addition-face):
20093 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20094 (eshell-ls-executable-face, eshell-ls-readonly-face)
20095 (eshell-ls-unreadable-face, eshell-ls-special-face)
20096 (eshell-ls-missing-face, eshell-ls-archive-face)
20097 (eshell-ls-backup-face, eshell-ls-product-face)
20098 (eshell-ls-clutter-face):
20099 * eshell/em-prompt.el (eshell-prompt-face):
20100 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20101 * obsolete/old-whitespace.el (whitespace-highlight-face):
20102 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20103 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20104 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20105 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20106 (antlr-font-lock-literal-face):
20107 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20108 (ebrowse-root-class-face, ebrowse-file-name-face)
20109 (ebrowse-default-face, ebrowse-member-attribute-face)
20110 (ebrowse-member-class-face, ebrowse-progress-face):
20111 * progmodes/make-mode.el (makefile-space-face):
20112 * progmodes/sh-script.el (sh-heredoc-face):
20113 * textmodes/flyspell.el (flyspell-incorrect-face)
20114 (flyspell-duplicate-face):
20115 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20116 * textmodes/texinfo.el (texinfo-heading-face):
20117 Mark face aliases with "-face" suffix as obsolete.
20119 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20122 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20123 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20124 easy-menu-define wants to modify these.
20126 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20128 * net/browse-url.el (browse-url-file-url):
20129 * term/internal.el (dos-codepage-setup):
20130 Use default-value rather than default-enable-multibyte-characters.
20132 * progmodes/etags.el (etags-goto-tag-location):
20133 * progmodes/flymake.el (flymake-highlight-line)
20134 (flymake-goto-file-and-line, flymake-goto-line):
20135 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20136 (gdb-goto-breakpoint):
20137 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20138 * progmodes/python.el (python-find-function)
20139 (python-pdbtrack-track-stack-file):
20140 * progmodes/verilog-mode.el (verilog-surelint-off):
20141 * term/ns-win.el (ns-open-file-select-line):
20142 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20143 Use forward-line rather than goto-line.
20145 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20146 * textmodes/reftex-index.el (reftex-display-index):
20147 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20148 * textmodes/reftex-toc.el (reftex-toc):
20149 Remove unnecessary bindings of default-major-mode (all are followed by
20150 major-mode check and possible mode switch).
20152 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20154 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20155 Handle watchpoints (bug#4282).
20156 (def-gdb-thread-buffer-command): Enable thread to be selected by
20157 clicking without selecting threads buffer first.
20158 (gdb-current-context-command): Use selected frame so that "up",
20159 "down" etc work in the GUD buffer.
20160 (gdb-update): Find selected frame before rendering stack buffer.
20161 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20163 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20165 * progmodes/sym-comp.el (displayed-completions): Remove.
20166 (symbol-complete): Use minibuffer-complete.
20168 2009-08-31 Glenn Morris <rgm@gnu.org>
20170 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20172 * apropos.el (apropos-symbols-internal):
20173 Handle (obsolete) face aliases.
20175 * faces.el (describe-face): Adjust the output format to be more like
20176 describe-variable, and to mention (obsolete) face aliases.
20177 Adjust the whitespace so that help-setup-xref works.
20179 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20180 * calendar/diary-lib.el (diary-button-face):
20181 Mark these face aliases as obsolete.
20183 * calendar/calendar.el (calendar-today): Doc fix.
20185 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20187 * progmodes/gdb-mi.el (gdb-control-all-threads)
20188 (gdb-control-current-thread): Force tool bar update.
20189 (gdb-non-stop-handler): New function.
20190 (gdb-init-1): Use it to test if non-stop mode is supported.
20191 Remove unused gdbmi buffer type.
20193 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20195 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20196 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20198 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20200 * comint.el (comint-exec-1): Check command is non-null first.
20201 Part of gdb-mi.el change (2009-08-28).
20203 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20205 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20207 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20209 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20210 instead of `dolist' to avoid a recursive require when bootstrapping.
20212 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20214 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20216 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20218 * net/imap.el (imap-send-command): Simplify.
20219 (imap-wait-for-tag): point-max -> buffer-size.
20221 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20223 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20224 with constant argument.
20226 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20228 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20230 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20231 Change default, since most of our files don't have a history.
20232 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20235 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20238 * calc/calc.el: Improve commenting convention.
20239 (calc-digit-map, toplevel): Simplify.
20241 * comint.el (comint-insert-input): Be careful to only set point if we
20242 don't delegate to some other command.
20244 * proced.el (proced-signal-list): Make it an alist.
20245 (proced-grammar-alist): Capitalize names.
20246 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20247 Disable undo manually and make it read-only.
20248 Use completion-annotate-function.
20250 * minibuffer.el (minibuffer-message): If the current buffer is not
20251 a minibuffer, insert the message in the echo area rather than at the
20253 (completion-annotate-function): New variable.
20254 (minibuffer-completion-help): Use it.
20255 (completion--embedded-envvar-table): Environment vars are
20256 always case-sensitive.
20258 2009-08-30 Glenn Morris <rgm@gnu.org>
20260 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20261 from fortran-current-defun.
20262 (fortran-beginning-of-subprogram): Be more precise about finding the
20263 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20264 (fortran-end-of-subprogram): Simplify.
20265 (fortran-current-defun): Use fortran-start-prog-re.
20267 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20269 * subr.el (do-after-load-evaluation): Simplify.
20271 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20273 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20275 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20276 (vc-rcs-print-log): Use it.
20278 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20280 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20282 * paths.el (abbrev-file-name): Move to abbrev.el.
20283 * abbrev.el (abbrev-file-name): Move from paths.el.
20284 Obey user-emacs-directory.
20285 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20286 user-emacs-directory.
20287 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20288 abbrev-file-name and calc-settings-file any more.
20289 * startup.el (command-line): Recompute abbrev-file-name and
20290 abbreviated-home-dir.
20291 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20292 of the special code for when C-h bindings haven't been changed.
20293 (display-startup-echo-area-message): Use with-current-buffer.
20294 (command-line-1): Use a list of strings, rather than a list of lists
20295 of strings for longopts.
20297 * files.el (get-free-disk-space): Use / for default-directory.
20299 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20300 Use with-current-buffer.
20302 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20303 Recognize immutable variables like most-positive-fixnum.
20304 (byte-compile-setq-default): Check and warn if trying to assign
20305 to an immutable variable, or a non-variable.
20307 * progmodes/cc-vars.el (c-comment-continuation-stars):
20308 * progmodes/cc-engine.el (c-looking-at-bos):
20309 * progmodes/cc-cmds.el (c-toggle-auto-state)
20310 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20311 (c-comment-line-break-function): Add version of obsolescence.
20313 2009-08-28 Juri Linkov <juri@jurta.org>
20315 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20316 associated with `archive-mode'.
20318 * image.el (image-type-header-regexps): Use only JPEG magic number
20319 to determine JPEG images, and don't use `image-jpeg-p' because
20320 Emacs can display non-JFIF non-Exif JPEG images.
20322 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20324 * arc-mode.el (archive-mode):
20325 * emacs-lisp/re-builder.el (re-builder-unload-function):
20326 Protect against the default value of `major-mode' being nil.
20328 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20330 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20331 Fix typos in docstrings.
20333 * progmodes/js.el (js--macro-decl-re): Doc fix.
20334 (js--plain-method-re, js--split-name): Refloc docstring.
20335 (js--class-styles, js--make-merged-item, js--splice-into-items):
20336 Fix typos in docstrings; reflow docstrings.
20337 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20338 (js--variable-decl-matcher, js--inside-pitem-p)
20339 (js--parse-state-at-point, js--get-all-known-symbols)
20340 (js--symbol-history, js-find-symbol, js--js-references)
20341 (js--moz-interactor, js--js-encode-value, js--read-tab):
20342 Fix typos in docstrings.
20344 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20346 * textmodes/reftex.el (reftex-get-file-buffer-force):
20347 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20348 * emulation/viper.el (viper-go-away, viper-set-hooks):
20349 * emacs-lisp/re-builder.el (re-builder-unload-function):
20350 * emacs-lisp/bytecomp.el (byte-compile-file):
20351 * ses.el (ses-unload-function):
20352 * hexl.el (hexl-find-file):
20353 * files.el (normal-mode):
20354 * ehelp.el (with-electric-help):
20355 * autoinsert.el (auto-insert-alist):
20356 * arc-mode.el (archive-mode):
20357 Use (default-value 'major-mode) instead of default-major-mode.
20359 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20360 * international/mule.el (load-with-code-conversion):
20361 * emacs-lisp/debug.el (debug):
20362 * ediff-vers.el (ediff-rcs-get-output-buffer):
20363 * dired.el (dired-internal-noselect): Don't let-bind
20364 default-major-mode around code that doesn't use it.
20365 E.g. buffer creation via get-buffer-create doesn't use it.
20367 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20369 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20370 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20371 when writing the temp file. Otherwise, epa-file gets confused.
20372 (tramp-register-file-name-handlers): Make it a defun. Move also
20373 `epa-file-handler' to the front of `file-name-handler-alist'.
20375 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20377 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20378 start right after a ^M.
20379 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20380 (tramp-completion-file-name-regexp-separate)
20381 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20382 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20383 Don't modify last-coding-system-used by accident.
20384 (tramp-completion-file-name-handler): Apply the checks here,
20385 instead during registration.
20386 (tramp-register-file-name-handlers): Rename from
20387 `tramp-register-file-name-handler'. Register both
20388 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20389 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20391 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20393 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20394 Remove variable ...
20395 (gdb-init-1, gdb-display-separate-io-buffer)
20396 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20398 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20399 (gdb-inferior-filter): Use comint-output-filter to stop
20400 echoing and remove ^M characters.
20402 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20404 * emulation/viper-init.el (viper-restore-cursor-type):
20405 * emulation/cua-base.el (cua--update-indications):
20406 Replace default-cursor-type with (default-value 'cursor-type).
20408 * mail/sendmail.el (mail-recover-1):
20409 * international/mule-diag.el (describe-current-coding-system-briefly)
20410 (describe-current-coding-system):
20411 * international/mule-cmds.el (select-safe-coding-system)
20412 (select-message-coding-system)
20413 (set-language-environment-coding-systems, set-locale-environment):
20414 * hexl.el (hexl-insert-multibyte-char):
20415 * dos-w32.el (find-buffer-file-type-coding-system):
20416 * simple.el (what-cursor-position):
20417 Replace uses of default-buffer-file-coding-system
20418 with (default-value 'buffer-file-coding-system).
20420 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20421 Replace uses of default-cursor-in-non-selected-windows
20422 with (default-value 'cursor-in-non-selected-windows).
20423 Use with-current-buffer.
20425 * mail/feedmail.el: Use CL macros.
20426 (feedmail-run-the-queue, feedmail-send-it-immediately):
20427 * dos-w32.el (find-buffer-file-type): Replace uses of
20428 default-buffer-file-type with (default-value 'buffer-file-type).
20430 2009-08-28 Glenn Morris <rgm@gnu.org>
20432 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20433 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20434 Use default-value of major-mode rather than default-major-mode.
20436 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20438 * Makefile.in (update-elcfiles): Report left over elc files.
20440 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20441 expand-file-name and with-current-buffer.
20442 (mail-get-names, mail-directory): Use with-current-buffer.
20444 * vc.el (vc-read-revision): New function.
20445 (vc-version-diff, vc-merge): Use it.
20447 2009-08-27 Sam Steingold <sds@gnu.org>
20449 * simple.el (kill-do-not-save-duplicates): New user option.
20450 (kill-new): When it is non-nil, and the new string is the same as
20451 the latest kill, set replace to t to avoid duplicates in kill-ring.
20453 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20455 * net/tramp.el (tramp-handle-process-file): Do not flush all
20456 caches when `process-file-side-effects' is set.
20457 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20458 instead of `tramp-find-file-exists-command'.
20459 Unset `process-file-side-effects'.
20461 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20463 * net/tramp.el (tramp-methods): New method "rsyncc".
20464 (top): Add completion function for "rsyncc".
20465 (tramp-message-show-message): New defvar.
20466 (tramp-message, tramp-error): Use it.
20467 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20469 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20470 `tramp-methods' entry `copy-env' of "rsyncc".
20471 (tramp-vc-registered-read-file-names): New defconst.
20472 (tramp-vc-registered-file-names): New defvar.
20473 (tramp-handle-vc-registered): Implement optimization strategy.
20474 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20475 (tramp-vc-file-name-handler): New defun.
20476 (tramp-get-ls-command, tramp-get-test-command)
20477 (tramp-get-file-exists-command, tramp-get-remote-ln)
20478 (tramp-get-remote-perl, tramp-get-remote-stat)
20479 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20481 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20482 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20484 (tramp-get-file-property): Check for timestamps in
20485 `tramp-cache-inhibit-cache'.
20486 (tramp-set-file-property): Write timestamp.
20488 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20490 * language/japan-util.el (japanese-symbol-table): Add entries for
20493 * international/characters.el: Add category `j' to cp932-2-byte.
20495 2009-08-27 Kenichi Handa <handa@m17n.org>
20497 * international/fontset.el (build-default-fontset-data): New macro.
20498 (setup-default-fontset): Use build-default-fontset-data for CJK,
20499 tibetan, ethiopic, and ipa.
20501 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20503 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20504 (enable-multibyte-characters): Not customizable any more.
20506 * subr.el (default-mode-line-format, default-header-line-format)
20507 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20508 (default-direction-reversed, default-truncate-lines)
20509 (default-left-margin, default-tab-width, default-case-fold-search)
20510 (default-left-margin-width, default-right-margin-width)
20511 (default-left-fringe-width, default-right-fringe-width)
20512 (default-fringes-outside-margins, default-scroll-bar-width)
20513 (default-vertical-scroll-bar, default-indicate-empty-lines)
20514 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20515 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20516 (default-scroll-down-aggressively, default-fill-column)
20517 (default-cursor-type, default-buffer-file-type)
20518 (default-cursor-in-non-selected-windows)
20519 (default-buffer-file-coding-system, default-major-mode)
20520 (default-enable-multibyte-characters): Mark as obsolete.
20522 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20524 * vc-dir.el (vc-dir-update): Remove debug helper.
20526 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20528 2009-08-26 Sam Steingold <sds@gnu.org>
20530 * simple.el (save-interprogram-paste-before-kill): New user option.
20531 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20532 save the interprogram-paste into kill-ring before overriding it
20533 with the Emacs kill.
20535 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20537 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20538 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20539 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20540 and move to vc-rcs.el.
20541 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20543 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20544 (vc-rcs-update-changelog): Remove.
20545 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20546 and move to vc-rcs.el.
20548 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20549 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20551 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20552 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20553 vc.el, renamed to be RCS specific.
20555 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20557 (vc-cvs-update-changelog): Move here from vc.el.
20559 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20562 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20564 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20566 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20568 * vc-git.el (vc-git-register): Use "git add" for directories.
20569 (vc-git-stash, vc-git-stash-show): New functions.
20570 (vc-git-extra-menu-map): Bind them.
20572 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20573 directory correctly in case the item is a directory itself.
20575 * vc.el: Document the desired behavior for reverted files in the
20577 (vc-default-prettify-state-info): Remove function, unused.
20579 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20581 2009-08-26 Glenn Morris <rgm@gnu.org>
20583 * bindings.el (standard-mode-line-format): Reposition dashes in
20584 which-func entry. (Bug#4217)
20586 * files.el (enable-local-variables, enable-local-eval)
20587 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20589 (auto-mode-alist, ignored-local-variables)
20590 (save-some-buffers-action-alist): Move risky declarations to the
20592 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20593 (font-lock-defaults, format-alist, imenu--index-alist)
20594 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20595 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20596 (mode-line-modified, mode-line-mule-info, mode-line-position)
20597 (mode-line-process, mode-line-remote, outline-level)
20598 (parse-time-rules, rmail-output-file-alist)
20599 (special-display-buffer-names, vc-mode):
20600 Move risky declarations to the relevant files.
20601 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20602 (mode-line-modified, mode-line-process, mode-line-position)
20603 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20604 * font-core.el (font-lock-defaults):
20605 * format.el (format-alist):
20606 * vc-hooks.el (vc-mode):
20607 * window.el (special-display-buffer-names):
20608 * international/mule-cmds.el (input-method-alist):
20609 Define riskiness here (dumped file) rather than in files.el.
20610 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20611 * imenu.el (imenu-generic-expression, imenu--index-alist):
20612 * outline.el (outline-level):
20613 * time.el (display-time-string):
20614 * calendar/parse-time.el (parse-time-rules):
20615 * mail/rmailout.el (rmail-output-file-alist):
20616 Autoload riskiness here, rather than placing in files.el.
20618 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20620 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20622 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20624 * simple.el (process-file-side-effects): New defvar.
20626 * dired-aux.el (dired-show-file-type):
20627 * vc.el (vc-diff-internal):
20628 * vc-arch.el (vc-arch-diff):
20629 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20630 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20631 * vc-git.el (vc-git-registered, vc-git-working-revision)
20632 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20633 (vc-git--empty-db-p):
20634 * vc-hooks.el (vc-user-login-name):
20635 * vc-svn.el (vc-svn-registered, vc-svn-state)
20636 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20637 * progmodes/grep.el (grep-probe): Let-bind
20638 `process-file-side-effects' with nil.
20640 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20642 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20643 daemon. Replace ping by checking for running service for bluez
20644 and zeroconf. (Bug#4239)
20646 2009-08-25 Kevin Ryde <user42@zip.com.au>
20648 * net/dig.el (dig): Add autoload cookie.
20650 2009-08-25 Glenn Morris <rgm@gnu.org>
20652 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20653 load-history for absolute file-names.
20654 (byte-compile-file-form-require): Warn about use of the cl package.
20656 * format.el (format-alist): Doc fix.
20658 * play/bubbles.el (top-level): Don't require cl at run-time.
20660 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20663 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20665 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20667 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20669 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20671 * calc/calc-alg.el (math-trig-rewrite)
20672 (math-hyperbolic-trig-rewrite): New functions.
20673 (calc-simplify): Simplify trig functions when asked.
20675 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20677 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20679 2009-08-24 Kenichi Handa <handa@m17n.org>
20681 * language/ind-util.el (mapthread): Delete it.
20682 (combinatorial): New function.
20683 (indian--puthash-cv): Use combinatorial instead of mapthread.
20685 2009-08-22 Kevin Ryde <user42@zip.com.au>
20687 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20688 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20689 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20690 Clarify docstring that the value is strings not symbols.
20691 (checkdoc-list-of-strings-p): New function.
20693 2009-08-22 Glenn Morris <rgm@gnu.org>
20695 * files.el (auto-mode-alist):
20696 * hippie-exp.el (he-concat-directory-file-name):
20697 * lpr.el (lpr-windows-system, printer-name):
20698 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20699 * ps-print.el (ps-windows-system):
20700 * startup.el (command-line):
20701 * emulation/viper-ex.el (viper-glob-function):
20702 * international/mule-cmds.el (set-language-environment-coding-systems):
20703 * net/ange-ftp.el (ange-ftp-write-region):
20704 * obsolete/fast-lock.el (fast-lock-cache-name):
20705 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20706 unisoft-unix, vax-vms, win32, w32.
20708 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20709 given name if the pattern is not more specific.
20711 * calendar/lunar.el (lunar-phase-names): New option.
20712 (lunar-phase): Doc fix.
20713 (lunar-cycles-per-year): New constant.
20714 (lunar-index): New function.
20715 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20716 (lunar-phase-name): Use lunar-phase-names.
20717 (calendar-lunar-phases): Use format.
20718 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20720 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20721 Copy imenu-example--name-and-position function here for own use.
20722 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20724 * bs.el (bs--redisplay):
20725 * cus-edit.el (custom-redraw):
20726 * ibuffer.el (ibuffer-bury-buffer):
20727 * server.el (server-goto-line-column):
20728 * startup.el (command-line-1):
20729 * strokes.el (strokes-xpm-for-stroke):
20730 * term.el (term-display-buffer-line):
20731 * view.el (View-goto-line):
20732 * calc/calc.el (calc-do, calc-trail-buffer):
20733 * play/gamegrid.el (gamegrid-add-score-insecure):
20734 * progmodes/ada-mode.el (ada-compile-goto-error):
20735 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20736 (ebrowse-select-1st-to-9nth):
20737 * progmodes/cperl-mode.el (cperl-time-fontification):
20738 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20739 * progmodes/gud.el (gud-display-line):
20740 (idlwave-shell-display-line):
20741 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20742 * progmodes/make-mode.el (makefile-browser-toggle):
20743 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20744 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20745 * textmodes/picture.el (picture-draw-rectangle):
20746 * textmodes/reftex-index.el (reftex-index-goto-letter):
20747 (reftex-select-jump-to-previous):
20748 * textmodes/reftex-sel.el (reftex-find-start-point)
20749 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20750 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20751 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20752 * textmodes/tex-mode.el (tex-compilation-parse-errors):
20753 * textmodes/two-column.el (2C-associated-buffer):
20754 Use forward-line rather than goto-line.
20756 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20759 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20760 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20761 (quick-check-list-to-regexp): Declare.
20763 * progmodes/make-mode.el (makefile-browser-insert-selection):
20764 Use goto-char rather than goto-line.
20766 * progmodes/prolog.el (compilation-error-regexp-alist)
20767 (compilation-forget-errors): Declare.
20769 2009-08-22 Juri Linkov <juri@jurta.org>
20771 * progmodes/grep.el (lgrep, rgrep): At the beginning
20772 set `dir' to `default-directory' unless `dir' is a non-nil
20773 readable directory. (Bug#4052)
20774 (lgrep, rgrep): Change a weird way to report an error
20775 from using `read-string' to using `error'.
20776 Instead of using interactive arguments in the function body,
20777 add new argument `confirm'.
20779 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
20781 * textmodes/remember.el (remember-buffer):
20782 * progmodes/cperl-mode.el (cperl-vc-header-alist):
20783 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20784 (icalendar-extract-ical-from-buffer):
20785 * net/newst-treeview.el (newsticker-groups-filename):
20786 * net/newst-backend.el (newsticker-cache-filename):
20787 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20788 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20789 (speedbar-add-ignored-path-regexp, speedbar-line-path)
20790 (speedbar-buffers-line-path, speedbar-path-line)
20791 (speedbar-buffers-line-path):
20792 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20794 * epa.el (epa-display-verify-result):
20795 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20797 2009-08-21 Glenn Morris <rgm@gnu.org>
20799 * progmodes/js.el (inferior-moz-process): Fix declaration.
20801 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20803 * obsolete/rnewspost.el (news-mail-reply):
20804 Use goto-char rather than goto-line.
20806 * term/ns-win.el (ns-open-file-select-line):
20807 Use line-beginning-position rather than goto-line.
20809 * apropos.el (apropos-command):
20810 * ehelp.el (electric-helpify):
20811 * printing.el (pr-show-setup):
20812 * strokes.el (strokes-help):
20813 * tutorial.el (tutorial--describe-nonstandard-key)
20814 (tutorial--detailed-help):
20815 * woman.el (woman-mini-help, woman-display-extended-fonts):
20816 * calc/calc-help.el (calc-describe-key):
20817 * emulation/edt.el (edt-electric-helpify):
20818 * international/mule-diag.el (mule-diag):
20819 * play/yow.el (apropos-zippy):
20820 * progmodes/python.el (python-describe-symbol):
20821 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20822 * textmodes/table.el (*table--cell-describe-mode)
20823 (*table--cell-describe-bindings):
20824 Use help-print-return-message rather than the now obsolete alias.
20826 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20827 (calendar-cursor-to-visible-date):
20828 * play/5x5.el (5x5-position-cursor):
20829 * play/decipher.el (decipher):
20830 * play/gomoku.el (gomoku-goto-xy):
20831 * play/landmark.el (lm-goto-xy):
20832 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20833 (mpuz-paint-digit):
20834 Use forward-line, not goto-line.
20836 * mail/rmail.el (rmail-obsolete): Delete custom group.
20837 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20838 (rmail-remote-password, rmail-remote-password-required):
20839 Remove unneeded :set-after and :set properties.
20841 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
20843 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20845 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
20847 * loadup.el: Remove leftover macos code.
20849 * vc-git.el (vc-git-annotate-command): Run asynchronously.
20850 Explicitly pass the date format to git blame so that user local
20851 so that the output format can be parsed.
20853 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
20855 * net/dbus.el (top): Don't check for (getenv
20856 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
20858 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
20860 * log-edit.el (log-edit-strip-single-file-name): New var.
20861 (log-edit-insert-changelog): Use it. Bug#3571.
20863 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20865 * subr.el (read-passwd): Use read-key so keypad keys work as well.
20868 * help.el (help-print-return-message): Rename from
20869 print-help-return-message.
20871 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20872 cvs-mode-map parent hack.
20873 (log-view-mode): Derive from special-mode.
20875 * linum.el (linum-mode): window-size-change-functions is redundant.
20876 Adapt to new window-configuration-change-hook behavior.
20877 (linum-after-size, linum-after-config): Remove.
20879 * imenu.el (imenu-example--name-and-position)
20880 (imenu-example--lisp-extract-index-name)
20881 (imenu-example--create-lisp-index, imenu-example--create-c-index):
20884 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20885 (inferior-prolog-mode): Use it.
20886 (inferior-prolog-load-file): Reset list of errors.
20888 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20890 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20892 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20894 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
20896 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20897 is running already.
20899 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20901 * subr.el (listify-key-sequence-1): Use normal syntax since those
20902 integers are nowadays always represented by the same (positive) number
20904 (read-key-empty-map): New const.
20905 (read-key-delay): New var.
20906 (read-key): New function.
20907 (force-mode-line-update): Use with-current-buffer.
20908 (locate-user-emacs-file): Don't forget to abbreviate the file name.
20909 (start-process-shell-command, start-file-process-shell-command):
20910 Discourage the use of command-args.
20912 2009-08-19 Glenn Morris <rgm@gnu.org>
20914 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20916 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
20918 * simple.el (choose-completion-string): Don't rely on
20919 minibuffer-completing-file-name and ad-hoc checks to decide whether
20920 to continue completion or not.
20922 * minibuffer.el (minibuffer-hide-completions): New function.
20923 (completion--do-completion): Use it.
20924 (completions-annotations): New face.
20925 (completion--insert-strings): Use it.
20926 (completion-pcm--delim-wild-regex): Add docstring.
20927 (completion-pcm--string->pattern): Add support for 0-width delimiters
20928 in completion-pcm--delim-wild-regex.
20930 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
20932 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20933 Remove unused var `buffer-modified-p'.
20935 * minibuffer.el (completion--do-completion): Move point for the #b001
20936 case as well (bug#4176).
20937 (minibuffer-complete, minibuffer-complete-word): Don't move point.
20939 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
20941 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
20942 and :session buses.
20944 2009-08-18 Kenichi Handa <handa@m17n.org>
20946 * international/ucs-normalize.el (ucs-normalize-version):
20948 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20949 (utf-8-hfs): Make it perform normalization on encoding too.
20951 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
20952 (sentence-end-without-space): Delete duplicated chars.
20953 (sentence-end-base): Likewise.
20955 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
20956 (html-mode): Delete duplicated chars from sentence-end-base.
20958 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
20959 (texinfo-mode): Delete duplicated chars from sentence-end-base.
20961 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
20963 * files.el (hack-one-local-variable): If the mode function is for
20964 a minor mode, pass it an argument (Bug#4148).
20966 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
20968 * net/tramp.el (tramp-register-completion-file-name-handler):
20969 Check also for (member 'partial-completion completion-styles).
20971 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20973 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20976 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
20978 * progmodes/cperl-mode.el: Merge upstream 6.2.
20979 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20980 (cperl-forward-re): Check cperl-brace-recursing.
20981 (cperl-highlight-charclass): New function.
20982 (cperl-find-pods-heres): Use it.
20983 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20984 (cperl-beautify-regexp-piece): Fix column calculation.
20985 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20986 (cperl-beautify-level): Don't process entire regexp.
20987 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20989 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20990 (cperl-init-faces): Build a list in the normal way.
20992 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20994 * calendar/parse-time.el (parse-time-string-chars): Save match
20997 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
20999 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21000 (sql-product): Use it.
21001 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21002 (sql-set-product): Add completion.
21003 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21004 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21005 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21006 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21007 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21008 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21009 (sql-highlight-db2-keywords): Remove.
21010 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21011 (sql-highlight-product): Use derived-mode-p.
21012 (sql-set-sqli-buffer): Use with-current-buffer.
21013 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21016 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21018 * term.el: Fix commenting convention, turn comments into docstrings.
21020 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21022 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21024 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21026 * calendar/parse-time.el (parse-time-string-chars): Compute using
21027 character classes, to handle non-ascii characters (Bug#3190).
21029 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21031 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21032 another heredoc if the user adds another < (Bug#3226).
21034 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21035 Don't initialize based on window-system (Bug#4124).
21037 * facemenu.el (facemenu-read-color): Use a completion function
21038 that accepts any defined color, such as RGB triplets (Bug#3677).
21040 * files.el (get-free-disk-space): Change fallback default
21041 directory to /. Expand DIR argument before switching to fallback.
21042 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21044 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21046 * files.el (load-library): Doc fix.
21048 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21050 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21051 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21052 incremental search string.
21054 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21057 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21058 (ediff-merge-region-is-non-clash)
21059 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21060 Also check if the job is really a merge job.
21062 * ediff.el (ediff-current-file): New function.
21064 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21066 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21068 (js-insert-and-indent): Delete function.
21069 (js-mode-map): Don't bind keys to js-insert-and-indent.
21070 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21071 (js-end-of-defun): Rename from js--end-of-defun.
21072 (js-auto-indent-flag): Delete variable.
21074 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21076 * progmodes/js.el: Remove proclaim statement.
21077 Defvar which-func-imenu-joiner-function to silence compiler.
21079 * files.el (auto-mode-alist): Use js-mode for .js files.
21081 * progmodes/js2-mode.el: Remove file.
21083 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21085 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21087 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21089 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21090 Karl Landstrom <karl.landstrom@brgeight.se>
21092 * progmodes/js.el: New file.
21094 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21096 * timezone.el (timezone-parse-date): Add ability to understand ISO
21097 basic format (minimal separators) dates in addition to the
21098 already-supported extended format dates.
21100 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21102 * international/ucs-normalize.el: Add a `coding' file variable.
21104 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21106 2009-08-14 Sam Steingold <sds@gnu.org>
21108 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21110 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21112 * faces.el (help-argument-name): Define it here instead of
21113 help-fns.el, because in daemon mode help-fns.el may be loaded when
21114 faces are still uninitialized (Bug#1078).
21116 * help-fns.el (help-argument-name): Move defface to faces.el.
21118 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21120 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21121 create buffer with a pty but no process so that GDB can make the
21122 inferior the controlling process.
21124 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21126 * international/ucs-normalize.el: New file.
21128 2009-08-13 Richard Stallman <rms@gnu.org>
21130 * mail/rmail.el (rmail-get-attr-names):
21131 Accept an attribute header that is too short.
21133 * mail/rmail.el (rmail-forget-messages):
21134 Ignore nil elt in rmail-message-vector. Use dotimes.
21136 * progmodes/compile.el (compilation-goto-locus):
21137 Use next-error-move-function.
21139 * simple.el (next-error-move-function): New variable.
21141 2009-08-12 Juri Linkov <juri@jurta.org>
21143 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21144 always non-nil. (Bug#4052)
21146 * replace.el (read-regexp): Return empty string when
21147 `default-value' is nil.
21148 (keep-lines-read-args): Don't use empty string as the
21149 default value for `read-regexp'. (Bug#2495)
21151 2009-08-12 Juri Linkov <juri@jurta.org>
21153 * international/mule-cmds.el (ucs-insert): Change arguments
21154 from `arg' to `character', `count', `inherit' to be the same
21155 as in `insert-char'. Doc fix. (Bug#4039)
21157 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21159 2009-08-12 Juri Linkov <juri@jurta.org>
21161 * files-x.el: New file.
21163 * files.el: Move code that deals with adding/deleting
21164 file/directory-local variables to files-x.el.
21166 * Makefile.in (ELCFILES): Add files-x.elc.
21168 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21170 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21171 to use `goto-line'.
21172 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21174 (gdb-invalidate-disassembly): Do not refresh upon receiving
21175 'update signal. Instead, update all disassembly buffers only after
21177 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21178 (gdb-starting): Move -data-list-register-names...
21179 (gdb-stopped): ...here so it's sent when first thread stops.
21180 (gdb-registers-handler-custom): Do nothing if register names are
21183 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21184 from `gdb-mi.el' to avoid extra tangling.
21186 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21187 change which breaks `gud-def' definitions used in `gdb'.
21188 (gdb-update-gud-running): No extra fuss for updating frame number.
21190 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21192 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21193 (describe-language-environment-map, setup-language-environment-map)
21194 (set-coding-system-map): Move initialization into declaration.
21195 (set-language-info-alist): Last arg to define-key-after can be skipped.
21197 * international/quail.el (quail-completion-1): Simplify.
21198 (quail-define-rules): Use slightly more compact code.
21199 (quail-insert-decode-map): Propertize keys, compact columns.
21201 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21204 2009-08-10 Miles Bader <miles@gnu.org>
21206 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21207 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21208 (js2-instance-member, js2-private-member, js2-private-function-call)
21209 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21210 (js2-magic-paren, js2-external-variable):
21211 Remove "-face" suffix from face names.
21212 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21213 (js2-highlight-undeclared-vars, js2-peek-token)
21214 (js2-parse-function-params, js2-mode-show-errors)
21215 (js2-mode-show-warnings, js2-make-magic-delimiter)
21216 (js2-mode-highlight-magic-parens): Update to use new face names.
21218 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21220 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21221 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21223 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21225 * subr.el: Provide hashtable-print-readable.
21227 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21228 hs-c-like-adjust-block-beginning.
21229 (hs-hide-block-at-point): Stop hiding at the beginning of
21230 hs-block-end-regexp (Bug#700).
21232 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21234 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21236 (gdb-registers-handler-custom): Do not fail when register names
21239 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21241 * progmodes/gdb-mi.el (gdb-control-all-threads)
21242 (gdb-control-current-thread): Interactive setters for
21243 `gdb-gud-control-all-threads' to use in menu.
21244 (gdb-show-run-p): Show «Go» when process is not active.
21245 (gud-tool-bar-map): Add non-stop/A,T indicator.
21246 Uses gud/thread.xpm and gud/all.xpm.
21248 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21250 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21251 (nslookup-font-lock-keywords): Make it a variable.
21252 (net-utils-mode): New mode for viewing diagnostic network output.
21253 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21254 (net-utils-run-simple): New function.
21255 (ifconfig, iwconfig, netstat, arp, route): Use it.
21257 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21259 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21260 (gdb-memory-set-address, def-gdb-set-positive-number)
21261 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21262 after changing settings.
21263 (gdb-invalidate-disassembly): Update when first shown.
21264 (gdb-edit-locals-value): Fix.
21265 (gdb-registers-handler-custom): Print registers in right order and
21266 allow changing register values (only for current thread yet).
21267 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21268 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21269 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21270 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21271 Thread info in mode name.
21272 (gdb-registers-mode-map): TAB to switch to locals.
21274 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21276 * mail/rmail.el (rmail-add-mbox-headers)
21277 (rmail-set-message-counters-counter): Search for
21278 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21280 2009-08-08 Glenn Morris <rgm@gnu.org>
21282 * Makefile.in (ELCFILES): Update.
21284 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21286 * mail/sendmail.el (mail-yank-original):
21287 Set buffer-file-coding-system from the one used by the message whose
21290 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21291 to "windows" when "pgnuplot" is used.
21292 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21293 Don't call accept-process-output if "pgnuplot" is used.
21294 (calc-graph-init): Don't send -display and -geometry to
21295 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21296 running "pgnuplot -V" with shell-command-to-string.
21298 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21301 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21303 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21306 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21308 * vc-dispatcher.el (vc-resynch-window): Update comment.
21310 * term.el (term-handle-ansi-escape): Add comments with the
21311 terminfo capabilities implemented.
21313 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21315 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21316 (gdb-var-create-handler): Rewritten using JSON parser.
21317 (gdb-propertize-header): Move earlier.
21318 (gdb-set-header): Remove to avoid duplication.
21319 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21320 Refresh disassembly buffers only after threads list have been
21322 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21325 2009-08-04 Juri Linkov <juri@jurta.org>
21327 * files.el: Commands to add/delete file/directory-local variables.
21328 (read-file-local-variable, read-file-local-variable-value)
21329 (read-file-local-variable-mode, modify-file-local-variable)
21330 (modify-file-local-variable-prop-line)
21331 (modify-dir-local-variable): New functions.
21332 (add-file-local-variable, delete-file-local-variable)
21333 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21334 (add-dir-local-variable, delete-dir-local-variable)
21335 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21336 (copy-dir-locals-to-file-locals-prop-line): New commands.
21338 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21340 * abbrev.el (insert-abbrev-table-description): Prettify output.
21341 Suggested by Karl Chen.
21343 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21345 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21346 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21347 (gdb-overlay-arrow-position, gdb-thread-position)
21348 (gdb-disassembly-position): Declare variables.
21349 (gdb-wait-for-pending): Function now.
21350 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21351 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21352 compilation goes smoothly.
21353 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21354 (gdb-non-stop-setting): New customization setting which replaces
21355 `gdb-non-stop' so changing it doesn't break active GDB session.
21356 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21357 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21358 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21359 (gdb-show-threads-by-default): New customization options.
21360 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21362 (gdb-get-buffer-create): Send buffers update signal when they are
21364 (gdb-invalidate-locals, gdb-invalidate-registers)
21365 (gdb-invalidate-breakpoints)
21366 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21367 (gdb-invalidate-memory): Accept update signal.
21368 (gdb-current-context-command): Use --frame option.
21369 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21370 Implement `gdb-frame-number' selection logic.
21371 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21372 whether to show GUD toolbar buttons.
21373 (gdb-thread-exited): Unselect current thread when it exits.
21374 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21375 (gdb-mark-line): Routine which sets overlay arrow or inverses
21376 video on fringeless displays.
21377 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21378 to build aligned columns of data in GDB buffers and set text
21379 properties line-by-line.
21380 (gdb-invalidate-breakpoints)
21381 (gdb-breakpoints-list-handler-custom)
21382 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21383 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21384 (gdb-registers-handler-custom): Align data columns.
21385 (gdb-locals-handler-custom): Now prints data like in variable
21387 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21388 Remove confusing buttons.
21389 (gdb-invalidate-threads): Append --frame.
21390 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21391 between breakpoints/threads buffers.
21392 (gdb-set-window-buffer): Now can ignore dedicated windows.
21393 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21394 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21395 (def-gdb-thread-buffer-gud-command): Replaces
21396 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21397 for fine thread control.
21398 (gdb-preempt-existing-or-display-buffer): New function used to
21399 display bound buffers without breaking window layout.
21400 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21401 (gdb-select-frame): New version of `gdb-frames-select' which now
21402 sets `gdb-frame-number' so commands may use --frame option instead
21403 of inner debugger state.
21404 (gdb-frame-handler): Do not set `gdb-frame-number'.
21405 (gdb-threads-mode-map): Select threads with mouse.
21407 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21408 avoid compilation warning.
21409 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21412 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21413 Argument `key' renamed to `buffer-type'.
21414 (gdb-current-context-buffer-name): Do not add thread info to
21415 buffer name when no thread is selected.
21416 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21417 command (bug 3794).
21418 (gdb-thread-selected): Handle `=thread-selected' notification.
21419 (gdb-wait-for-pending): New macro to deal with congestion problems.
21420 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21422 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21423 This fixes problem similar to one described in bug 3947.
21424 (gud-menu-map): More menu items.
21425 (gdb-init-1): Reset `gdb-thread-number' to nil.
21427 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21430 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21431 (gdb-current-context-command): Do not append --thread if
21432 `gdb-thread-number' is nil.
21433 (gdb-running-threads-count, gdb-stopped-threads-count):
21435 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21436 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21437 New customization options.
21438 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21440 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21441 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21442 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21443 set `gdb-thread-number' and update `gud-running' properly.
21444 (gdb-running): Update threads list when new threads appear.
21445 (gdb-stopped): Support non-stop operation and new thread switching
21447 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21448 (gdb-json-partial-output): New set of JSON routines.
21449 (def-gdb-auto-update-trigger): New `signal-list' optional
21451 (gdb-thread-list-handler-custom): Update `gud-running',
21452 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21453 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21454 (gdb-continue-thread, gdb-step-thread): New commands for fine
21455 thread execution control.
21456 (gud-menu-map): New menu items to switch non-stop options.
21457 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21458 (gdb-send): Mimic RET properly (bug 3794).
21460 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21461 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21463 (def-gdb-auto-update-handler): New nopreserve optional argument.
21464 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21466 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21467 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21468 (gdb-parent-mode): New mode to derive other GDB modes from.
21469 (gdb-display-disassembly-for-thread)
21470 (gdb-frame-disassembly-for-thread): New commands for threads
21473 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21474 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21475 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21476 (gdb-update): We now store all GDB buffers in a list so that they
21477 can be updated by traversing a list instead of calling invalidate
21478 triggers explicitly.
21479 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21480 pair for GDB buffer.
21481 (gdb-stack-buffer-name): Add thread information.
21482 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21483 handle pending triggers.
21484 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21485 (def-gdb-thread-buffer-simple-command)
21486 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21487 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21488 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21489 New commands which show buffers bound to thread.
21490 (gdb-stack-list-locals-regexp): Remove unused regexp.
21492 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21493 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21494 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21495 to (gud-comint-buffer) in *-buffer-name functions
21496 because (gdb-get-target-string) already does that.
21497 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21498 (gdb-changed-registers-handler): Rewritten without regexps.
21500 * progmodes/gdb-mi.el: Basic thread selection support.
21501 (gdb-thread-number): New variable.
21502 (gdb-current-context-command): New macro which adds --thread
21504 (gdb-threads-mode-map): Select thread with SPC.
21505 (gdb-thread-list-handler-custom): Mark current thread with overlay
21506 arrow. Synchronize GDB thread and Emacs thread.
21507 (gdb-select-thread): New command which selects current thread.
21508 (gdb-invalidate-frames, gdb-invalidate-locals)
21509 (gdb-invalidate-registers): Use --thread option.
21511 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21513 * net/tramp.el (top): Make check for tramp-gvfs loading more
21515 (tramp-handle-insert-file-contents): `unwind-protect' must be
21516 inside `with-parsed-tramp-file-name'.
21518 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21521 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21523 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21524 directory if CLASSPATH is not set.
21526 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21528 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21530 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21532 2009-08-02 Kevin Ryde <user42@zip.com.au>
21534 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21535 Update freshmeat link. Delete newsforge.com as it seems gone.
21537 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21539 * select.el (x-set-selection): Doc fix (Bug#4021).
21541 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21543 * help-fns.el (describe-variable): Treat list return values from
21544 dir-locals-find-file properly (Bug#4005).
21546 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21548 * net/tramp.el (tramp-debug-message): Print also microseconds.
21550 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21552 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21554 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21555 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21558 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21559 (tramp-get-file-property): Use it.
21561 * autorevert.el (auto-revert-handler):
21562 Allow `auto-revert-tail-mode' for remote files.
21564 2009-08-02 Jason Rumney <jasonr@gnu.org>
21566 * minibuffer.el (read-file-name): Treat confirm options to
21567 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21569 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21571 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21572 (font-lock-variable-name-face, font-lock-constant-face):
21573 Darken the colors for light backgrounds.
21575 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21577 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21578 month names. (Bug#3987)
21580 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21582 * simple.el (line-move-finish): Pass whole number to
21583 line-move-to-column.
21584 (line-move-visual): Perform hscroll to the recorded position.
21586 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21588 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21590 2009-07-29 Alan Mackenzie <acm@muc.de>
21592 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21594 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21596 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21597 (gdb-place-breakpoints): Use full path when setting breakpoints.
21599 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21601 * calc/calc.el (calc-mode-map): Add keybinding for
21602 `calc-transpose-lines'.
21604 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21606 * calc/calc-misc.el (calc-transpose-lines): New function.
21608 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21610 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21611 Simplify check for out-of-band methods.
21612 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21613 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21615 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21617 * vc-git.el (vc-git-checkin): Fix typo.
21619 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21621 * progmodes/js2-mode.el: New file.
21623 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21625 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21626 (gud-menu-map): Adjust tooltip accordingly.
21628 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21630 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21631 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21633 * add-log.el (change-log-mode-map): Add a menu.
21635 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21637 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21638 function returns nil.
21639 (dbus-handle-event): Handle special return value :ignore.
21640 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21642 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21644 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21647 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21651 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21653 * term/pc-win.el (x-display-name, x-colors)
21654 (x-select-enable-clipboard, x-select-text): Doc fix.
21656 * term/common-win.el (x-display-name, x-colors): Doc fix.
21658 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21659 (xw-defined-colors): Doc fix.
21661 * w32-fns.el (x-select-text, x-setup-function-keys)
21662 (x-get-selection, x-set-selection): Doc fix.
21664 * term/x-win.el (x-select-text, x-setup-function-keys)
21665 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21667 * select.el (x-set-selection): Doc fix.
21669 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21671 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21672 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21673 "IsNSSSupportAvailable" method is not available.
21674 Reported by Steve Youngs <steve@sxemacs.org>.
21676 2009-07-24 Kenichi Handa <handa@m17n.org>
21678 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21679 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21680 (build-unicode-category-table): Fix range checks.
21682 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21684 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21685 the buffer we try to sync is current when calling
21688 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21689 not show up to date files.
21691 2009-07-24 Glenn Morris <rgm@gnu.org>
21693 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21694 Add autoload cookies. If necessary, initialize.
21695 (elint-log): Handle non-file buffers.
21696 (elint-initialize): Add optional argument to reinitialize.
21697 (elint-find-builtin-variables): Save excursion.
21699 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21701 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21704 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21706 * vc.el (vc-print-log-internal): New function, split out from ...
21707 (vc-print-log): ... here.
21708 (vc-dir-move-to-goal-column): Declare.
21710 * vc-git.el (vc-git-add-signoff): New variable.
21711 (vc-git-checkin): Use it.
21712 (vc-git-toggle-signoff): New function.
21713 (vc-git-extra-menu-map): Bind it to menu.
21714 (vc-git--run-command-string): Accept a nil FILE argument.
21715 (vc-git-stash-list): New function.
21716 (vc-git-dir-extra-headers): Use it.
21718 2009-07-23 Glenn Morris <rgm@gnu.org>
21720 * help-fns.el (describe-variable): Describe ignored and risky local
21721 variables in a similar way to that in which we describe safe ones.
21723 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21724 (byte-compile-output-file-form, byte-compile-output-docform)
21725 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21726 Give some more local variables with common names a "bytecomp-" prefix,
21727 so as not to shadow things during compilation.
21728 * emacs-lisp/cl-macs.el (load-time-value)
21729 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21730 `outbuffer' to `bytecomp-outbuffer'.
21732 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21733 since the next two variables cover them automatically now.
21734 (elint-builtin-variables, elint-autoloaded-variables): New.
21735 (elint-unknown-builtin-args): Remove all members, since they can be
21736 parsed automatically now.
21737 (elint-extra-errors): New.
21738 (elint-env-add-env, elint-env-add-macro): Use cadr.
21739 (elint-current-buffer): Use or. Change final message.
21740 (elint-get-top-forms): Use line-end-position.
21741 (elint-init-env): Use cadr. Handle autoload, declare-function,
21743 (elint-add-required-env): Doc fix. Use or. Standardize error.
21744 (regexp-assoc): Remove unused function.
21745 (elint-top-form): Set elint-current-pos, to record the start of the
21746 top-level form, for compilation-mode.
21747 (elint-form): Trap errors in macro expansion. Use dolist.
21748 (elint-unbound-variable): Use elint-builtin-variables and
21749 elint-autoloaded-variables.
21750 (elint-get-args): Use cadr, or.
21751 (elint-check-cond-form): Use dolist, cadr.
21752 (elint-check-condition-case-form): Doc fix. Use cadr.
21753 Use elint-extra-errors.
21754 (elint-log): New function.
21755 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21756 Distinguish errors and warnings.
21757 (elint-log-message): Use with-current-buffer. Inhibit read-only.
21758 Use a bytecomp-style format.
21759 (elint-clear-log): Preserve default-directory. Inhibit read-only.
21760 (elint-get-log-buffer): Use compilation mode. Disable undo.
21761 Don't truncate lines.
21762 (elint-initialize): Set builtin and autoloaded variable lists.
21763 Only process elint-unknown-builtin-args if non-nil.
21764 (elint-find-builtin-variables, elint-find-autoloaded-variables):
21766 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
21768 2009-07-22 Kevin Ryde <user42@zip.com.au>
21770 * net/newst-backend.el (newsticker--parse-atom-1.0)
21771 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21772 (newsticker--parse-rss-1.0):
21773 * progmodes/idlwave.el (idlwave-mode):
21774 * progmodes/idlw-shell.el (idlwave-shell-mode):
21775 * progmodes/vera-mode.el (vera-mode):
21776 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21777 * progmodes/vhdl-mode.el (vhdl-mode):
21778 * textmodes/table.el (table-generate-source)
21779 (table--warn-incompatibility):
21780 Hyperlink urls in docstrings with URL `...'.
21782 2009-07-22 Glenn Morris <rgm@gnu.org>
21784 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21785 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21786 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21787 Remove leading * from defcustom docs.
21789 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
21791 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21793 (list-load-path-shadows): Optionally, just return shadows as a string.
21795 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21797 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
21799 * mail/rmailedit.el (rmail-edit-mode):
21800 Use auto-save-include-big-deletions.
21802 * mail/rmail.el (rmail-variables):
21803 Use auto-save-include-big-deletions.
21805 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21808 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
21810 * calc/calc.el (calc-undo-length): New variable.
21811 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21813 2009-07-21 Richard Stallman <rms@gnu.org>
21815 * files.el (auto-save-mode): Handle buffer-save-size = -2
21818 2009-07-21 Glenn Morris <rgm@gnu.org>
21820 * textmodes/ispell.el (ispell-looking-back): Update declaration.
21822 * calendar/todo-mode.el (calendar-current-date): Update declaration.
21824 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21825 silence compiler. Instead...
21826 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21827 (ps-print-ensure-fontified): Update for above function name changes.
21829 * printing.el (pr-mh-get-msg-num, pr-mh-show)
21830 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21831 silence compiler. Instead...
21832 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21833 (mh-show-buffer): Only define for compiler.
21834 (pr-mh-current-message): Update for above function name changes.
21836 * files.el (abort-if-file-too-large): Explicitly pass `filename'
21838 (find-file-noselect, insert-file-1): Update for above change.
21840 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21842 * mail/mailclient.el (mailclient-send-it): Fix message.
21844 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21845 (edebug-eval): Check cl-debug-env is bound.
21846 (print-level, print-circle): Don't redefine built-in variables.
21848 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21849 (custom-print-vectors): Remove old comments from doc.
21851 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21852 (emerge-version): Make the variable an obsolete alias for the
21853 emacs-version variable. Make the function obsolete.
21854 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21855 Emerge options, rather than merging in into the main Options menu.
21856 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
21857 and auto advance modes. Disable edit/fast items when not relevant.
21859 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
21861 * term/vt420.el (terminal-init-vt420): Fix typo.
21863 2009-07-20 Sam Steingold <sds@gnu.org>
21865 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21866 variable (removed from compile.el on 2004-03-11).
21868 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
21870 * files.el (hack-local-variables-filter): Fix last change.
21872 2009-07-19 Juri Linkov <juri@jurta.org>
21874 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21875 (dir-local-variables-alist): New buffer-local variable.
21876 (hack-local-variables-filter): If variable is not dir-local,
21877 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21878 because file-local overrides dir-local.
21879 (c-postprocess-file-styles) <declare-function>:
21880 Remove obsolete declaration.
21881 (hack-dir-local-variables): Add dir-local variable/value pair to
21882 `dir-local-variables-alist' and remove duplicates. Doc fix.
21884 * help-fns.el (describe-variable): Add information about
21885 file-local and dir-local variables.
21887 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
21889 * files.el (hack-local-variables-filter): Rewrite.
21891 2009-07-19 Glenn Morris <rgm@gnu.org>
21893 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21894 Silence compiler by only defining on XEmacs.
21896 * international/mule.el (auto-coding-regexp-alist): Only match
21897 BABYL... at the start of buffer, not of lines. (Bug#3790)
21899 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21900 non-calendar buffers (Bug#3862). Restore "not on a date" message.
21901 (cal-menu-context-mouse-menu): Doc fix.
21903 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21905 * simple.el (mail-user-agent): Doc fix. Set :version tag.
21907 2009-07-18 Juri Linkov <juri@jurta.org>
21909 * info.el: Virtual Info keyword finder.
21910 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21911 (Info-finder-file): New variable.
21912 (Info-finder-find-file): New function.
21913 (finder-known-keywords, finder-package-info)
21914 (find-library-name, lm-commentary): Use defvar and
21915 declare-function to silence compiler warnings.
21916 (Info-finder-find-node): New function.
21917 (info-finder): New command.
21919 * subr.el (process-kill-buffer-query-function): New function.
21920 (add-hook)<kill-buffer-query-functions>: Add hook
21921 `process-kill-buffer-query-function'.
21923 2009-07-18 Alan Mackenzie <acm@muc.de>
21925 * progmodes/cc-mode.el (c-before-hack-hook)
21926 (c-postprocess-file-styles): Give invocation of `c-set-style'
21927 DONT-OVERRIDE parameter of t. Already set style variables will
21928 thus not be overridden by style settings given by `c-file-syle'.
21930 * files.el (hack-local-variables-filter): Remove entries with
21931 duplicate keys from `file-local-variables-alist'.
21933 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21935 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21936 x-set-selection if display-selections-p returns nil for the
21939 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
21941 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21943 2009-07-18 Eli Zaretskii <eliz@gnu.org>
21945 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21946 Accept nil in addition to a regexp.
21947 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21948 Accept nil in addition to a regexp.
21949 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21950 buffers that have an associated file. Handle nil values of
21951 desktop-buffers-not-to-save and desktop-files-not-to-save.
21954 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21955 (x-disown-selection-internal): New functions.
21957 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
21959 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21961 (gdb-breakpoints-header): Move forward to avoid compiler warning.
21962 (gdb-make-header-line-mouse-map): Remove duplicate definition.
21964 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
21966 * simple.el (set-mark): Revert last change.
21968 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
21970 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21971 rendering of pngs is not possible instead of messaging a long
21974 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
21976 * w32-fns.el (x-selection-owner-p): New function.
21978 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21979 (mouse-yank-at-click, mouse-yank-primary):
21980 If select-active-regions is non-nil, deactivate the mark before
21983 * simple.el (deactivate-mark, set-mark): Only save selection if we
21986 2009-07-17 Kenichi Handa <handa@m17n.org>
21988 * case-table.el (describe-buffer-case-table): Fix for the case
21989 that KEY is a cons.
21991 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
21993 * vc-rcs.el (vc-rcs-find-file-hook):
21994 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21996 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
21998 * net/tramp.el (tramp-wait-for-output): Handle the case when
21999 commands do not return a newline but a null byte before the shell
22002 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22004 * term/ns-win.el (ns-set-alpha): Don't declare.
22005 (ns-set-background-alpha): Remove function.
22007 2009-07-16 Kevin Ryde <user42@zip.com.au>
22009 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22010 y-or-n-p, for safety.
22012 2009-07-16 Richard Stallman <rms@gnu.org>
22014 * files.el (auto-save-mode): If buffer-saved-size is -2,
22017 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22018 (rmail-retry-ignored-headers): Add more uninteresting fields.
22020 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22022 * net/rcirc.el (rcirc): Use history variables.
22023 (rcirc-server-name-history, rcirc-nick-name-history)
22024 (rcirc-server-port-history): New variables.
22026 2009-07-15 Kenichi Handa <handa@m17n.org>
22028 * international/mule-cmds.el (set-language-environment-charset):
22029 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22032 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22033 Delete unibyte-display.
22035 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22037 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22039 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22041 * simple.el (deactivate-mark): Optional argument FORCE.
22042 (set-mark): Use deactivate-mark.
22044 * info.el (Info-search): No need to check transient-mark-mode
22045 before calling deactivate-mark.
22047 * select.el (x-set-selection): Doc fix.
22048 (x-valid-simple-selection-p): Allow buffer values.
22049 (xselect--selection-bounds): Handle buffer values.
22050 Suggested by David De La Harpe Golden.
22052 * mouse.el (mouse-set-region, mouse-drag-track):
22053 Call copy-region-as-kill before setting the mark, to let
22054 select-active-regions work.
22056 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22058 * simple.el (deactivate-mark): If select-active-regions is
22059 non-nil, copy the selection data into a string.
22060 (activate-mark): If select-active-regions is non-nil, set the
22061 selection to the current buffer.
22062 (set-mark): Update selection if select-active-regions is non-nil.
22064 * select.el (x-valid-simple-selection-p): Allow buffer values.
22066 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22068 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22069 and more featureful message-mode.
22071 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22073 * select.el (x-set-selection): Doc fix.
22074 (x-valid-simple-selection-p): Disallow selection data consisting
22075 of a list or cons of integers, since that is not used.
22076 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22077 (xselect-convert-to-string, xselect-convert-to-length)
22078 (xselect-convert-to-filename, xselect-convert-to-charpos)
22079 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22081 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22083 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22084 output in -break-info command (Emacs bug #3794).
22086 2009-07-14 Glenn Morris <rgm@gnu.org>
22088 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22089 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22090 (edebug-print-length, edebug-print-level, edebug-print-circle)
22091 (edebug-sit-for-seconds, edebug-view-outside)
22092 (edebug-bounce-point, edebug-set-global-break-condition)
22093 (edebug-Go-nonstop-mode, edebug-trace-mode)
22094 (edebug-Trace-fast-mode, edebug-continue-mode)
22095 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22096 (edebug-visit-eval-list): Doc fixes.
22098 * subr.el (def-edebug-spec): Doc fix.
22100 2009-07-14 Kenichi Handa <handa@m17n.org>
22102 * international/characters.el: Fix setting of category ?C.
22104 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22106 * term/ns-win.el (x-select-font): defalias x-select-font to
22107 ns-popup-font-panel instead of generate-fontset-menu.
22109 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22111 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22113 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22115 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22116 the PK\003\004 header (Bug#3770).
22118 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22120 * pcomplete.el (pcomplete-comint-setup): Check for
22121 shell-dynamic-complete-filename too.
22123 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22125 * simple.el (temporary-goal-column): Change the value for
22126 line-move-visual to a cons cell.
22127 (line-move-visual): Record or set the window hscroll, if
22128 necessary (Bug#3494).
22129 (line-move-1): Handle cons value of temporary-goal-column.
22131 2009-07-11 Kenichi Handa <handa@m17n.org>
22133 * international/mule-diag.el (describe-character-set): Don't show
22136 2009-07-10 Sam Steingold <sds@gnu.org>
22138 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22139 Omake sometimes indents the errors it prints, so allow all
22140 regexps to start with spaces.
22142 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22144 * cus-edit.el (customize-changed-options-previous-release):
22145 Bump value to 22.1. (Bug#3804)
22147 2009-07-08 Sam Steingold <sds@gnu.org>
22149 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22150 to be a cons cell (test . ignored-directory) to selectively ignore
22151 some directories depending on the location of the search.
22153 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22155 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22156 remote user is root, on the local host.
22157 (tramp-local-host-p): Either the local user or the remote user
22158 must be root. (Bug#3771)
22160 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22162 * progmodes/gdb-mi.el (gdb): Remove description of
22163 gdb-use-separate-io-buffer.
22164 (menu): Don't allow toggling of or enable
22165 gdb-use-separate-io-buffer from menubar.
22167 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22169 * mail/unrmail.el (unrmail): Make sure the message ends with two
22170 newlines (Bug#3769).
22172 2009-07-08 Glenn Morris <rgm@gnu.org>
22174 * calendar/calendar.el (calendar-current-date): Rework previous change.
22176 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22178 * calendar/calendar.el (calendar-current-date):
22179 Add an optional argument giving an offset from today.
22181 2009-07-08 Glenn Morris <rgm@gnu.org>
22183 * tutorial.el (tutorial--describe-nonstandard-key):
22184 Adjust the message for when a key has been unbound.
22185 (help-with-tutorial): Hide the arch-tag.
22187 2009-07-08 Kenichi Handa <handa@m17n.org>
22189 * international/fontset.el (setup-default-fontset): For each
22190 script, append (not set) font-specs.
22192 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22195 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22197 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22198 -data-list-register-names to ...
22199 (gdb-starting): ... here because GDB 7.0 requires execution to
22200 have started when using this MI command.
22201 (gdb-set-header): New function to distinguish select and
22202 unselected tabs in gdb buffers.
22203 (gdb-propertize-header): New macro that uses gdb-set-header.
22204 (gdb-breakpoints-header, gdb-locals-header): Use it.
22205 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22207 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22209 * Makefile.in (ELCFILES): Remove fadr.elc.
22211 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22213 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22214 may contain frame information, so `string-match' should be used.
22215 (gdb-update): Disassembly is invalidated through
22216 `gdb-get-selected-frame'.
22217 (gdb-pad-string): New function to pad string with spaces.
22218 (gdb-invalidate-disassembly): Invalidate only if the buffer
22220 (gdb-disassembly-handler-custom): Column alignment.
22221 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22223 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22225 (gdb-frame-handler): Match convention to for disassembly buffer
22227 (gdb-stack-list-frames-handler): Rewritten without regexps.
22228 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22229 not highlight breakpoints without line information.
22230 (gdb-input): Add trailing newline to command.
22232 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22234 (gdb-breakpoints-list-handler-custom): Replacement for
22235 `gdb-break-list-handler'. Using real parser instead of regexps
22237 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22238 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22239 to place breakpoints.
22240 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22242 (gdb-disassembly-handler-custom): Show overlay arrow.
22243 (gdb-disassembly-place-breakpoints): Show breakpoints in
22244 disassembly buffer.
22245 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22246 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22247 instead of parsing breakpoints buffer. Fixed old menu references
22252 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22253 (gdb-memory-address): New variable which holds top address of
22254 memory page shown in memory buffer.
22255 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22256 New customization variables.
22258 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22259 display the memory buffer.
22260 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22261 buffer display parameters.
22262 (def-gdb-memory-format, gdb-memory-format-binary)
22263 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22264 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22265 Functions for setting memory buffer format.
22266 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22267 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22268 unit size used in memory buffer.
22269 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22270 Switch to next/previous page of memory buffer.
22271 Now using (bindat-get-field) instead of fadr functions.
22273 2009-07-07 Sam Steingold <sds@gnu.org>
22275 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22276 non-top-level files.
22278 2009-07-07 Kenichi Handa <handa@m17n.org>
22280 * international/mule-cmds.el (reset-language-environment):
22281 Put the highset priority to the charset iso-8859-1.
22283 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22285 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22286 to the end of the line when locating the block (Bug#700).
22288 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22290 * net/tramp.el (tramp-handle-write-region): Flush file properties
22291 in case of short track.
22293 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22295 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22296 Coded custom representation of verilog error regular expressions
22297 to work with Emacs-22's new format.
22298 (verilog-error-regexp-xemacs-alist): Coded custom representation
22299 of verilog error regular expressions to work with XEmacs format.
22300 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22301 error recognition into XEmacs.
22302 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22303 error recognition into Emacs-22.
22305 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22307 * woman.el: Remove stand-alone closing parentheses.
22308 (woman-file-name, woman2-format-paragraphs)
22309 (woman-leave-blank-lines): Code cleanup.
22310 (woman-use-own-frame): Change default to nil.
22311 (woman-italic, woman-bold, woman-unknown, woman-addition):
22312 Change defaults to inherit from default faces.
22313 (woman2-process-escapes): Consume the newline after a stand-alone
22314 filler character (Bug#3651).
22316 2009-07-06 Glenn Morris <rgm@gnu.org>
22318 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22319 (top-level): Move provide to the end.
22320 (ffap): Remove defunct URL from custom group.
22322 * subr.el (eval-after-load): Doc fix.
22324 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22326 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22327 `calc-embedded-word' is called twice.
22329 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22331 * files.el (find-alternate-file-other-window, find-alternate-file):
22332 Obey confirm-nonexistent-file-or-buffer.
22334 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22336 * dired-aux.el (dired-show-file-type): Handle remote files.
22338 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22340 * desktop.el (desktop-globals-to-save):
22341 Add file-name-history (Bug#2750).
22343 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22345 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22347 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22349 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22350 property on entire argument since this is what eshell-lisp-command
22353 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22355 * net/tramp-gvfs.el (tramp-gvfs-methods)
22356 (tramp-gvfs-zeroconf-domain)
22357 (tramp-bluez-discover-devices-timeout): Add version flag.
22358 (tramp-gvfs-handler-mounted-unmounted)
22359 (tramp-gvfs-connection-mounted-p): Polish handling of
22360 incompatibilities between GVFS 0.2 and 1.0.
22362 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22364 * cus-start.el (all): Add make-pointer-invisible.
22366 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22368 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22369 formatted correctly.
22371 2009-07-02 Juri Linkov <juri@jurta.org>
22373 * info.el: Virtual Info files and nodes.
22374 (Info-virtual-files, Info-virtual-nodes): New variables.
22375 (Info-current-node-virtual): New variable.
22376 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22378 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22379 to check for a virtual file instead of checking a fixed list
22381 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22382 instead of ad-hoc processing of "dir" and (apropos history toc).
22383 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22384 instead of ad-hoc processing of "dir" and (apropos history toc).
22385 Reread a file when moving from a virtual node.
22386 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22387 (Info-directory-toc-nodes, Info-directory-find-file)
22388 (Info-directory-find-node): New functions.
22389 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22390 (Info-history): Move part of code to
22391 `Info-history-find-node'.
22392 (Info-history-toc-nodes, Info-history-find-file)
22393 (Info-history-find-node): New functions.
22394 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22395 (Info-toc): Move part of code to `Info-toc-find-node'.
22396 (Info-toc-find-node): New function.
22397 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22398 the current Info file name to references because now the node
22399 "*TOC*" belongs to the same Info manual.
22400 (Info-toc-build): Rename from `Info-build-toc'.
22401 (Info-toc-nodes): Rename input argument `file' to `filename'.
22402 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22403 instead of ad-hoc processing of ("dir" apropos history toc).
22404 (Info-index-nodes): Use Info-virtual-file-p
22405 to check for a virtual file instead of checking a fixed list
22407 (Info-index-node): Add check for `Info-current-node-virtual'.
22408 Raise `save-match-data' higher up the tree to contain
22409 `search-forward' too (bug fix).
22410 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22411 (Info-virtual-index-nodes): New variable.
22412 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22413 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22414 (Info-apropos-file, Info-apropos-nodes): New variables.
22415 (Info-apropos-toc-nodes, Info-apropos-find-file)
22416 (Info-apropos-find-node, Info-apropos-matches): New functions.
22417 (info-apropos): Move part of code to `Info-apropos-find-node' and
22418 `Info-apropos-matches'.
22419 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22420 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22421 for a virtual file instead of checking a fixed list of node names.
22423 * simple.el (async-shell-command): New command.
22425 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22427 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22428 instead of `mount-info'.
22430 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22432 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22433 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22435 2009-07-02 Kenichi Handa <handa@m17n.org>
22437 * international/mule.el (set-keyboard-coding-system): Force *-unix
22438 coding-system to avoid eol conversion.
22440 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22442 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22443 Add handler for `process-file', `shell-command' and
22444 `start-file-process'.
22445 (tramp-gvfs-handle-shell-command)
22446 (tramp-gvfs-handle-start-file-process)
22447 (tramp-gvfs-handle-process-file): New defuns.
22448 (tramp-synce-list-devices): Simplify check for existence of property.
22450 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22452 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22454 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22456 * language/korean.el (set-language-info-alist): Add korean-cp949,
22459 2009-07-01 Kenichi Handa <handa@m17n.org>
22461 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22463 * international/encoded-kb.el: Deleted.
22465 * international/mule.el (set-keyboard-coding-system): Perform the
22466 necessary setup here instead of calling encoded-kbd-setup-display.
22468 2009-07-01 Glenn Morris <rgm@gnu.org>
22470 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22472 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22474 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22476 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22478 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22479 Handle also the 'rename case, when setting file modes. (Bug#3712)
22480 (tramp-default-file-modes): Remove execute permissions.
22482 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22483 (top): Add a default for "synce" in `tramp-default-user-alist'.
22484 Add completion function for "synce" method.
22485 (tramp-hal-service, tramp-hal-path-manager)
22486 (tramp-hal-interface-manager, tramp-hal-interface-device):
22488 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22489 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22492 * net/trampver.el: Update release number.
22494 2009-06-30 Kenichi Handa <handa@m17n.org>
22496 * international/fontset.el (setup-default-fontset): Add CJK fonts
22497 for symbols and the other miscellaneous characters.
22499 * language/korea-util.el (setup-korean-environment-internal):
22500 Make char-width-table suitable for Korean environments.
22501 (exit-korean-environment): Cancel above.
22503 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22504 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22505 setup-function to make char-width-table suitable for respective
22506 environments, and an exit-function to cancel that.
22508 * language/japan-util.el (setup-japanese-environment-internal):
22509 Call use-cjk-char-width-table with arg `ja_JP'.
22511 * international/characters.el (cjk-char-width-table): Delete it.
22512 (cjk-char-width-table-list): New variable.
22513 (use-cjk-char-width-table): New arg local-name.
22514 (use-default-char-width-table): Fix for the case that Emacs is
22515 already using the default char-width-table.
22517 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22519 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22520 modes mandatory. (Bug#3712)
22522 2009-06-29 Alan Mackenzie <acm@muc.de>
22524 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22525 correction between the visible width of TABs and their number of bytes.
22527 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22529 * server.el (server-buffer-done): Prevent kill-buffer from
22530 prompting by clearing the buffer modification flag (Bug#3696).
22532 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22534 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22535 (verilog-endcomment-reason-re): Support unique case and priority case.
22536 (verilog-basic-complete-re): Support localparam lineup.
22537 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22538 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22540 (verilog-leap-to-case-head): Now support *nested* unique &
22541 priority case statements.
22542 (verilog-auto-lineup): Make just declarations the default (as it
22544 (verilog-leap-to-case-head): Support priority/unique case statements.
22545 (verilog-auto-lineup): Rework to give users radio buttons to
22546 select the various styles of automatic lineup.
22547 (verilog-error-regexp-alist): Rework to support the XEmacs style
22548 of error regular expressions from compilers, lint tools &
22549 simulators. Note that GNU Emacs has made it impossible for a mode
22550 to load such things.
22551 (electric-verilog-terminate-line, verilog-indent-declaration)
22552 (verilog-auto-wiure): Rework for radio button selection of
22553 auto-lineup selection of specification of auto lineup.
22554 (verilog-beg-of-statement-1): Redesign to support proper operation
22555 in additional code, based on testing with auto-lineup.
22556 (verilog-calculate-indent, assignments & declarations)
22557 (verilog-backward-token): Enhance to support auto-lineup of
22558 assignments & declarations.
22559 (verilog-in-directive-p, verilog-at-struct-p): New function for
22560 easy test of whether we are.
22561 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22562 to support safe execution at almost anyline.
22563 (verilog-calc-1): Properly support indenting deep inside generate
22565 (verilog-init-font): Remove definition & use of verilog-init-font,
22566 as it is redundant with font-lock-defaults.
22567 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22568 to avoid circular calls if syntax-ppss is a function (as is the
22569 case now in 22.x GNU Emacs) as that function would sometimes call
22570 itself, leading to (nearly) infinite recursion.
22571 (verilog-ovm-begin-re, verilog-ovm-end-re)
22572 (verilog-ovm-statement-re, verilog-leap-to-head)
22573 (verilog-backward-token): Add support for OVM macros. Some are
22574 complete statements, and others open and close scopes like begin
22576 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22577 (verilog-defun-level-generate-only-re): Really fix the defun-list
22579 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22580 coverpoint, constraint and cross statements.
22581 (verilog-defun-level-list, verilog-generate-defun-level-list)
22582 (verilog-all-defun-level-list): Redo these specifications - it is
22583 too hard to support eval-when compile aggregation of lists also
22584 built at when-compile time.
22585 (verilog-defun-level-list): Place defconsts of variables used in
22586 building regular expressions which are built in eval-when-compile
22587 bodies in the same eval-when-compile body to facilitate compile
22589 (verilog-beg-block-re-ordered): Support indenting
22590 virtual/protected tasks and functions.
22591 (verilog-defun-level-list, verilog-in-generate-region-p)
22592 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22593 indentation of some module items (generate items).
22594 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22595 across virtual/protected tasks and functions.
22597 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22599 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22600 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22601 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22602 in concatenations. Reported by Yishay Belkind.
22603 (verilog-auto-ascii-enum): Support one-hot state machines in
22604 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22605 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22606 modport in AUTOINST and add vl-modport for users.
22607 Reported by David Rogoff.
22608 (verilog-auto-inout-module, verilog-auto-inst)
22609 (verilog-decls-get-interfaces, verilog-insert-definition)
22610 (verilog-insert-one-definition, verilog-read-decls)
22611 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22612 (verilog-sig-modport, verilog-signals-combine-bus)
22613 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22614 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22615 Suggested by David Rogoff.
22616 (verilog-repair-open-comma): Fix non-insertion of comma when
22617 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22618 (verilog-make-width-expression): Simplify [A-1:0] expression
22619 widths to just {A{1'b0}}.
22620 (verilog-mode): Cleanup checkdoc warnings.
22621 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22622 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22623 inputs/outputs or data type. Suggested by Vasu Kandadi.
22624 (next-error-last-buffer): Fix byte-compiler warning.
22625 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22626 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22627 or shell command text during AUTO expansion. Suggested by Tad Truex.
22628 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22629 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22630 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22631 in AUTOINOUT. Reported by Matthew Lovell.
22632 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22633 causing use of <= assignments. Reported by Alex Reed.
22634 (verilog-read-decls): Fix triand, trior, wand, wor to be
22635 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22636 (verilog-extended-complete-re): Support import "DPI-C" functions.
22637 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22638 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22639 (verilog-insert-date, verilog-insert-year)
22640 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22641 Windows systems. Reported by Michael Potts.
22642 (verilog-read-module-name): Fix AUTOINST when the child module
22643 declaration's name is a tick define. Reported by Elliot Mednick.
22644 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22645 passed to next parameter's definition. Reported by Bruce T.
22646 (verilog-read-decls): Fix detecting "parameter int" when using
22647 AUTOINSTPARAM. Reported by Bruce T.
22648 (verilog-goto-defun): Fix goto not finding modules unless first
22649 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22650 (verilog-mode): Expand -f flag arguments on entry to mode so
22651 verilog-goto-defun will work. Reported by Lawrence Butcher.
22652 (verilog-getopt): Expand environment variables in -f file
22653 arguments. Suggested by Lawrence Butcher.
22654 (verilog-set-define): Fix "Symbol's value as variable is void"
22655 when reading enumerations.
22656 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22657 Suggested by Stephen Peltan.
22658 (verilog-read-defines): Fix reading of enumerations in include
22659 files. Reported by Steve Peltan.
22661 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22663 * files.el (trash-directory): Fix defcustom type.
22665 2009-06-28 Juri Linkov <juri@jurta.org>
22667 * help-fns.el (describe-function-1): Correctly locate adviced
22668 functions in hyperlink (Bug#2438).
22670 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22672 * files.el (trash-directory): Change default to nil.
22673 (move-file-to-trash): If trash-directory is nil and
22674 system-move-file-to-trash is unbound, perform freedesktop-style
22677 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22679 * files.el (move-file-to-trash): Add freedesktop trash
22682 2009-06-28 Glenn Morris <rgm@gnu.org>
22684 * autorevert.el (global-auto-revert-non-file-buffers)
22685 (global-auto-revert-mode): Doc fixes.
22687 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22689 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22691 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22693 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22694 opened an X connection before calling x-get-resource (Bug#3194).
22696 * play/doctor.el: Remove reference to obsolete website.
22697 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22699 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22701 Remove find-file-not-found-hook VC method. (Bug#2757)
22702 * vc-hooks.el (vc-file-not-found-hook)
22703 (vc-default-find-file-not-found-hook): Remove functions.
22704 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22705 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22708 * vc-git.el: Do not mention find-file-not-found-hook VC method.
22710 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
22712 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22713 compatibility function for `looking-back'.
22715 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22716 Use `ispell-looking-back'.
22718 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
22720 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22721 rather than `filename'.
22723 2009-06-23 Miles Bader <miles@gnu.org>
22725 * face-remap.el (text-scale-set): New function.
22727 2009-06-23 Glenn Morris <rgm@gnu.org>
22729 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22731 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22733 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22735 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22737 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22738 Simplify Persian conditionals.
22740 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22741 variable `filename'.
22743 * comint.el (comint-insert-input): Doc fix.
22745 * Makefile.in (ELCFILES): Fix typo in previous change.
22747 2009-06-23 Miles Bader <miles@gnu.org>
22749 * cus-start.el: Add entry for `recenter-redisplay'.
22751 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22753 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22754 Add an optional argument for the backend, use it instead of
22755 calling vc-backend.
22756 (vc-mode-line): Add an optional argument for the backend.
22757 Pass the backend to vc-state and vc-working-revision. Move code for
22758 special handling for vc-state being a buffer to ...
22760 * vc-rcs.el (vc-rcs-find-file-hook):
22761 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
22763 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22764 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22765 vc-stay-local-p and vc-mode-line calls.
22767 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22768 (vc-cvs-diff, vc-cvs-annotate-command)
22769 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22770 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22771 vc-mode-line calls.
22773 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22775 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22776 backend when calling vc-mode-line.
22777 (vc-register): Do not create a closure for calling the vc register
22778 function, call it directly.
22780 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
22782 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22783 to make it obvious item can be clicked.
22785 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22787 2009-06-23 Kenichi Handa <handa@m17n.org>
22789 * language/korea-util.el (korean-key-bindings): Change the binding
22790 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
22793 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
22795 Sync with Tramp 2.1.16.
22797 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22799 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
22800 when a loading of a package fails. Completion function for rsync
22801 is `tramp-completion-function-alist-ssh'.
22802 (all): Replace all calls of `split-string' and
22803 `tramp-split-string' by `tramp-compat-split-string'.
22804 (tramp-default-method): Use `tramp-compat-process-running-p'.
22805 (tramp-default-proxies-alist): Allow also Lisp forms.
22806 (tramp-remote-path): Add choice "Private Directories".
22807 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22808 (tramp-domain-regexp): Allow also "-", "_" and ".".
22809 (tramp-end-of-output): Remove newlines, and add "$" at the end.
22810 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22811 (tramp-debug-message): Insert header line in debug buffer.
22812 (tramp-handle-directory-files-and-attributes-with-stat):
22813 Care about filenames with spaces, or starting with "-".
22814 (tramp-handle-dired-uncache): New defun.
22815 (tramp-handle-insert-directory): Don't flush the directory from
22816 cache, this is handled by `dired-uncache' now.
22817 (tramp-handle-insert-file-contents): Improve error handling.
22818 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22819 Quote `tramp-end-of-output'.
22820 (tramp-action-password): Improve trace message.
22821 (tramp-check-for-regexp): Both echoes must be present, before removing.
22822 (tramp-open-connection-setup-interactive-shell): Trace coding system.
22823 (tramp-compute-multi-hops): Eval cons cells of
22824 `tramp-default-proxies-alist'.
22825 (tramp-maybe-open-connection): Use the same command pattern for
22826 first hop and further hops.
22827 (tramp-wait-for-output): Remove handling of newlines.
22828 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22829 (tramp-split-string): Remove function. It is handled in
22832 * net/tramp-cmds.el (tramp-bug):
22833 Recommend `tramp-cleanup-all-connections' in the bug mail.
22835 * net/tramp-compat.el (tramp-compat-split-string)
22836 (tramp-compat-process-running-p): New defuns.
22838 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22839 for `dired-uncache'.
22841 * net/tramp-gvfs.el: New package.
22843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22844 Add handler for `dired-uncache'.
22845 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22847 * net/trampver.el: Update release number. Make version check fit
22850 2009-06-22 Jim Meyering <meyering@redhat.com>
22852 Automatically handle .xz suffix (XZ-compressed files), too.
22853 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22854 XZ is the successor to LZMA: <http://tukaani.org/xz/>
22856 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
22857 Nick Roberts <nickrob@snap.net.nz>
22859 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22860 repository (http://sphinx.net.ru/hg/gdb-mi/).
22862 2009-06-22 Glenn Morris <rgm@gnu.org>
22864 * files.el (dir-locals-collect-mode-variables): Allow for any number of
22865 `mode' and `eval' entries. (Bug#3430)
22867 * Makefile.in (ELCFILES): Add fadr.elc.
22869 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22870 differing behavior of \n and ^ in strings. (Bug#3385)
22872 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22874 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22876 (lisp-indent-function): Make it a defcustom.
22878 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
22880 * progmodes/gdb-ui.el: Replace with ...
22881 * progmodes/gdb-mi.el: ... this file.
22882 * progmodes/gud.el: Modify for gdb-mi.el.
22884 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
22886 * fadr.el: New file.
22888 See ChangeLog.14 for earlier changes.
22890 ;; Local Variables:
22894 Copyright (C) 2009-2011 Free Software Foundation, Inc.
22896 This file is part of GNU Emacs.
22898 GNU Emacs is free software: you can redistribute it and/or modify
22899 it under the terms of the GNU General Public License as published by
22900 the Free Software Foundation, either version 3 of the License, or
22901 (at your option) any later version.
22903 GNU Emacs is distributed in the hope that it will be useful,
22904 but WITHOUT ANY WARRANTY; without even the implied warranty of
22905 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22906 GNU General Public License for more details.
22908 You should have received a copy of the GNU General Public License
22909 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.